diff --git a/dist/apps/admin-gui/assets/config/version.json b/dist/apps/admin-gui/assets/config/version.json index 2211f3027..949e65028 100644 --- a/dist/apps/admin-gui/assets/config/version.json +++ b/dist/apps/admin-gui/assets/config/version.json @@ -1 +1 @@ -{"version":"6.0.0"} +{"version":"6.1.0"} diff --git a/dist/apps/admin-gui/index.html b/dist/apps/admin-gui/index.html index 597752e9e..065f0005d 100644 --- a/dist/apps/admin-gui/index.html +++ b/dist/apps/admin-gui/index.html @@ -14,5 +14,5 @@
- + diff --git a/dist/apps/admin-gui/main.704cd21fee64664f.js b/dist/apps/admin-gui/main.704cd21fee64664f.js deleted file mode 100644 index f810fa605..000000000 --- a/dist/apps/admin-gui/main.704cd21fee64664f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[179],{25828:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>E});var e=d(10036),f=d(64080),g=d(36908),T=d(5e3),m=d(64901),A=d(77446),s=d(88561),b=d(51062);const O=function(){return["user","id","name","email","logins","organization"]};let E=(()=>{class h{constructor(L){this.storeService=L,this.usersWithoutVo=!1,this.tableId=e.xx,this.attributes=[]}ngOnInit(){this.attributes=[f.r.USER_DEF_ORGANIZATION,f.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(L){this.searchString=L}findUsersWithoutVO(){this.usersWithoutVo=!this.usersWithoutVo}}return h.id="AdminUsersComponent",h.\u0275fac=function(L){return new(L||h)(T.Y36(g.d6))},h.\u0275cmp=T.Xpm({type:h,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(L,Y){2&L&&T.ekj("router-component",Y.true)},decls:8,vars:15,consts:[[1,"page-subtitle"],[1,"mt-2","search-field",3,"placeholder","filter"],["color","primary",3,"checked","change"],[3,"disableRouting","searchString","withoutVo","displayedColumns","tableId","attrNames"]],template:function(L,Y){1&L&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"perun-web-apps-debounce-filter",1),T.NdJ("filter",function(ue){return Y.onSearchByString(ue)}),T.qZA(),T.TgZ(4,"mat-checkbox",2),T.NdJ("change",function(){return Y.findUsersWithoutVO()}),T._uU(5),T.ALo(6,"translate"),T.qZA(),T._UZ(7,"perun-web-apps-users-dynamic-list",3)),2&L&&(T.xp6(1),T.Oqu(T.lcZ(2,10,"ADMIN.USERS.TITLE")),T.xp6(2),T.Q6J("placeholder","ADMIN.USERS.SEARCH_PLACEHOLDER"),T.xp6(1),T.Q6J("checked",Y.usersWithoutVo),T.xp6(1),T.hij(" ",T.lcZ(6,12,"ADMIN.USERS.USERS_WITHOUT_VO"),"\n"),T.xp6(2),T.Q6J("disableRouting",!1)("searchString",Y.searchString)("withoutVo",Y.usersWithoutVo)("displayedColumns",T.DdM(14,O))("tableId",Y.tableId)("attrNames",Y.attributes))},directives:[m.P,A.oG,s.M],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),h})()},72077:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>H});var e=d(36908),f=d(61715),g=d(40520),T=d(9244),m=d(5e3),A=d(48966),s=d(47423),b=d(51062);let O=(()=>{class X{constructor(oe){this.dialogRef=oe}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return X.\u0275fac=function(oe){return new(oe||X)(m.Y36(A.so))},X.\u0275cmp=m.Xpm({type:X,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(oe,ge){1&oe&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.TgZ(4,"div",2),m.TgZ(5,"p"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.qZA(),m.TgZ(8,"div",3),m.TgZ(9,"button",4),m.NdJ("click",function(){return ge.onClose()}),m._uU(10),m.ALo(11,"translate"),m.qZA(),m.TgZ(12,"button",5),m.NdJ("click",function(){return ge.onReload()}),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.qZA(),m.qZA()),2&oe&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),m.xp6(5),m.hij(" ",m.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),m.xp6(4),m.hij(" ",m.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),m.xp6(3),m.hij(" ",m.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[A.uh,A.xY,A.H8,s.lW],pipes:[b.X$],styles:[""]}),X})();var E=d(30325),h=d(92198);let k=(()=>{class X{constructor(oe,ge){this.router=oe,this.routeReuseStrategy=ge;const Ne=ge;oe.events.subscribe(Fe=>{Fe instanceof E.OD&&Ne.setLastNavigationType("popstate"===Fe.navigationTrigger?"back":"direct")})}init(){}}return X.\u0275fac=function(oe){return new(oe||X)(m.LFG(E.F0),m.LFG(E.wN))},X.\u0275prov=m.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();const L=["footer"];function Y(X,ie){if(1&X&&(m.TgZ(0,"div",3),m.TgZ(1,"mat-icon"),m._uU(2,"alert"),m.qZA(),m._uU(3),m.qZA()),2&X){const oe=m.oxw();m.xp6(3),m.hij(" ",oe.warningMessage,"\n")}}const J=function(X,ie){return{top:X,background:ie}},ue=function(X,ie){return{"margin-top":X,"min-height":ie}},ce=function(X){return{"border-color":X}},Le=function(X){return{background:X}},de=function(X){return{"background-color":X}},ke=function(X){return{"min-height":X}};function ae(X,ie){if(1&X&&(m._UZ(0,"app-perun-nav-menu",4),m.TgZ(1,"mat-sidenav-container",5),m.TgZ(2,"mat-sidenav",6,7),m.TgZ(4,"perfect-scrollbar",8),m._UZ(5,"app-side-menu",9),m.qZA(),m.qZA(),m.TgZ(6,"mat-sidenav-content",10),m.TgZ(7,"div",11),m._UZ(8,"router-outlet"),m.qZA(),m.TgZ(9,"div",null,12),m._UZ(11,"perun-web-apps-footer"),m.qZA(),m.qZA(),m.qZA()),2&X){const oe=m.MAs(3),ge=m.oxw();m.Q6J("ngStyle",m.WLB(14,J,ge.getNavMenuTop(),ge.navBackgroundColor))("sideNav",oe)("principal",ge.principal),m.xp6(1),m.Q6J("ngStyle",m.WLB(17,ue,ge.getSideNavMarginTop(),ge.getSideNavMinHeight())),m.xp6(1),m.Q6J("ngStyle",m.VKq(20,ce,ge.sideBarBorderColor))("mode",ge.sidebarMode)("opened",!ge.isMobile())("fixedInViewport",!0)("fixedTopGap",ge.getTopGap()),m.xp6(2),m.Q6J("ngStyle",m.VKq(22,Le,ge.sideMenubackgroundColor))("scrollIndicators",!0),m.xp6(1),m.Q6J("sideNav",oe),m.xp6(1),m.Q6J("ngStyle",m.VKq(24,de,ge.contentBackgroundColor)),m.xp6(1),m.Q6J("ngStyle",m.VKq(26,ke,ge.contentInnerMinHeight))}}function V(X,ie){1&X&&m._UZ(0,"perun-web-apps-login-screen-base",13),2&X&&m.Q6J("application","admin-gui")}let H=(()=>{class X{constructor(oe,ge,Ne,Fe,se,Me,ve){this.cache=oe,this.store=ge,this.http=Ne,this.dialog=Fe,this.router=se,this.initAuth=Me,this.cd=ve,this.sidebarMode="side",this.navBackgroundColor=this.store.get("theme","nav_bg_color"),this.sideBarBorderColor=this.store.get("theme","sidemenu_border_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.sideMenubackgroundColor=this.store.get("theme","sidemenu_bg_color"),this.displayWarning=this.store.get("display_warning"),this.warningMessage=this.store.get("warning_message"),this.version=d(4147).i8,this.contentInnerMinHeight=this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)",this.cache.init(),this.getScreenSize()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}isMobile(){return window.innerWidth<=X.minWidth}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),null===sessionStorage.getItem("initPage")&&(sessionStorage.setItem("initPage",location.pathname),sessionStorage.setItem("onInitPage","true")),this.store.setInitialPageId(1),this.principal=this.store.getPerunPrincipal(),this.loadAppVersion(),(0,f.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,h.h)(oe=>oe instanceof E.OD)).subscribe(oe=>{this.updateInitAccessedPage(oe)})}updateInitAccessedPage(oe){oe.url===sessionStorage.getItem("initPage")?("imperative"===oe.navigationTrigger&&oe.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===oe.navigationTrigger&&(oe.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(oe.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const oe=new g.WM({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"});this.http.get("/assets/config/version.json",{headers:oe}).subscribe(ge=>{const Ne=ge.version;if(Ne)if(this.version&&"SNAPSHOT"!==Ne&&this.version!==Ne){const Fe=(0,T.kZ)();this.dialog.open(O,Fe)}else this.version=Ne},()=>{})}getTopGap(){return this.displayWarning?112:64}getSideNavMarginTop(){return this.displayWarning?"112px":"64px"}getSideNavMinHeight(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}getNavMenuTop(){return this.displayWarning?"48px":"0"}ngAfterViewInit(){this.contentInnerMinHeight=this.displayWarning?"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 112px)":"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 64px)",this.cd.detectChanges()}}return X.minWidth=992,X.\u0275fac=function(oe){return new(oe||X)(m.Y36(k),m.Y36(e.d6),m.Y36(g.eN),m.Y36(A.uw),m.Y36(E.F0),m.Y36(e.v0),m.Y36(m.sBO))},X.\u0275cmp=m.Xpm({type:X,selectors:[["app-root"]],viewQuery:function(oe,ge){if(1&oe&&m.Gf(L,5),2&oe){let Ne;m.iGM(Ne=m.CRH())&&(ge.footer=Ne.first)}},hostBindings:function(oe,ge){1&oe&&m.NdJ("resize",function(Fe){return ge.getScreenSize(Fe)},!1,m.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application"]],template:function(oe,ge){1&oe&&(m.YNc(0,Y,4,1,"div",0),m._UZ(1,"perun-web-apps-notificator",1),m.YNc(2,ae,12,28,"ng-template",2),m.YNc(3,V,1,1,"ng-template",2)),2&oe&&(m.Q6J("ngIf",ge.displayWarning),m.xp6(1),m.Q6J("displayWarning",ge.displayWarning),m.xp6(1),m.Q6J("ngIf",!ge.isLoginScreenShow&&!ge.isServiceAccess&&!ge.isServiceLogin()),m.xp6(1),m.Q6J("ngIf",ge.isLoginScreenShow||ge.isServiceAccess||ge.isServiceLogin()))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px}.beta-warning[_ngcontent-%COMP%]{overflow:hidden;height:48px;position:fixed;z-index:999;top:0;background-color:#ffbfc5;width:100%;color:#d32f2f;text-align:center;font-weight:500;padding:6px;line-height:36px;font-size:1rem}"]}),X})()},77968:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>f});var e=d(5e3);let f=(()=>{class g{constructor(){this.accessItemsChange=new e.vpe,this.facilityItemsChange=new e.vpe,this.adminItemsChange=new e.vpe,this.userItemsChange=new e.vpe,this.resetChange=new e.vpe,this.homeItemsChange=new e.vpe}setHomeItems(m){this.homeItemsChange.emit(m)}setAccessMenuItems(m){this.accessItemsChange.emit(m)}setFacilityMenuItems(m){this.facilityItemsChange.emit(m)}setAdminItems(m){this.adminItemsChange.emit(m)}setUserItems(m){this.userItemsChange.emit(m)}reset(){this.resetChange.emit()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},37380:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>Le});var e=d(9315),f=d(10036),g=d(36908),T=d(5e3),m=d(96214),A=d(67322),s=d(74107),b=d(90508),O=d(69808),E=d(7434),h=d(20773),k=d(24179),L=d(51062);function Y(de,ke){if(1&de&&(T.TgZ(0,"mat-option",9),T._uU(1),T.qZA()),2&de){const ae=ke.$implicit;T.Q6J("value",ae.id),T.xp6(1),T.hij(" ",ae.name," ")}}function J(de,ke){1&de&&T._UZ(0,"mat-spinner",10)}const ue=function(){return["id","vo","name","description"]};function ce(de,ke){if(1&de&&T._UZ(0,"perun-web-apps-groups-list",11),2&de){const ae=T.oxw();T.Q6J("displayedColumns",T.DdM(6,ue))("groups",ae.groupsToShow)("tableId",ae.tableId)("groupsToDisableRouting",ae.groupsWithoutRouteAuth)("filter",ae.filterValue)("disableMembers",!1)}}let Le=(()=>{class de{constructor(ae,V,H){this.facilityManager=ae,this.authResolver=V,this.entityStorageService=H,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=f.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.facilityManager.getAllowedVos(this.facility.id).subscribe(ae=>{this.vos=ae,this.refreshTable()})}showGroup(){this.groupsToShow="all"!==this.selected?this.groups.filter(ae=>ae.voId===parseInt(this.selected,10)):this.groups}refreshTable(){this.loading=!0,this.groups=[],this.vos.forEach(ae=>{this.facilityManager.getAllowedGroups(this.facility.id,ae.id).subscribe(V=>{this.groups=this.groups.concat(V),this.groupsToShow=this.groups,this.setAuthRights(ae,V),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(ae,V){V.forEach(H=>{this.authResolver.isAuthorized("getGroupById_int_policy",[ae,H])||this.groupsWithoutRouteAuth.add(H.id)})}applyFilter(ae){this.filterValue=ae}}return de.id="FacilityAllowedGroupsComponent",de.\u0275fac=function(ae){return new(ae||de)(T.Y36(e.IQ),T.Y36(g.x4),T.Y36(g.fb))},de.\u0275cmp=T.Xpm({type:de,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(ae,V){2&ae&&T.ekj("router-component",V.true)},inputs:{groups:"groups"},decls:17,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],[1,"mr-2"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers"]],template:function(ae,V){1&ae&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"perun-web-apps-refresh-button",1),T.NdJ("refresh",function(){return V.refreshTable()}),T.qZA(),T.TgZ(5,"mat-form-field",2),T.TgZ(6,"mat-label"),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"mat-select",3),T.NdJ("valueChange",function(X){return V.selected=X})("selectionChange",function(){return V.showGroup()}),T.TgZ(10,"mat-option",4),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.YNc(13,Y,2,2,"mat-option",5),T.qZA(),T.qZA(),T.TgZ(14,"perun-web-apps-immediate-filter",6),T.NdJ("filter",function(X){return V.applyFilter(X)}),T.qZA(),T.YNc(15,J,1,0,"mat-spinner",7),T.YNc(16,ce,1,7,"perun-web-apps-groups-list",8),T.qZA()),2&ae&&(T.xp6(2),T.Oqu(T.lcZ(3,8,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),T.xp6(5),T.Oqu(T.lcZ(8,10,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),T.xp6(2),T.Q6J("value",V.selected),T.xp6(2),T.Oqu(T.lcZ(12,12,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),T.xp6(2),T.Q6J("ngForOf",V.vos),T.xp6(1),T.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),T.xp6(1),T.Q6J("ngIf",V.loading),T.xp6(1),T.Q6J("ngIf",!V.loading))},directives:[m.t,A.KE,A.hX,s.gD,b.ey,O.sg,E.L,O.O5,h.$g,k.W],pipes:[L.X$],styles:[""]}),de})()},34904:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>ge});var e=d(20449),f=d(533),g=d(9315),T=d(93075),m=d(48966),A=d(36908),s=d(5e3),b=d(51062),O=d(69808),E=d(20773),h=d(62707),k=d(67322),L=d(98833),Y=d(47423);function J(Ne,Fe){1&Ne&&s._UZ(0,"mat-spinner",5)}function ue(Ne,Fe){if(1&Ne){const se=s.EpF();s.TgZ(0,"div",6),s.TgZ(1,"perun-web-apps-vo-search-select",7),s.NdJ("voSelected",function(ve){return s.CHM(se),s.oxw().selectedVo=ve}),s.qZA(),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",8),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",9),s.ALo(10,"translate"),s.TgZ(11,"mat-error"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Ne){const se=s.oxw();s.xp6(1),s.Q6J("vos",se.vos),s.xp6(2),s.s9C("placeholder",s.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),s.Q6J("formControl",se.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),s.Q6J("formControl",se.descriptionCtrl),s.xp6(3),s.hij(" ",s.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let ce=(()=>{class Ne{constructor(se,Me,ve,me,Te,te){this.dialogRef=se,this.data=Me,this.notificator=ve,this.voService=me,this.translate=Te,this.resourcesManager=te,this.vos=[],this.selectedVo=null,Te.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(R=>this.successMessage=R)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(se=>{this.vos=se,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new T.NI(null,[T.kI.required,T.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new T.NI("")}onSubmit(){this.loading=!0,this.resourcesManager.createResource(this.selectedVo.id,this.data.facilityId,this.nameCtrl.value,this.descriptionCtrl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return Ne.\u0275fac=function(se){return new(se||Ne)(s.Y36(m.so),s.Y36(m.WI),s.Y36(A.V6),s.Y36(g.YF),s.Y36(b.sK),s.Y36(g.xk))},Ne.\u0275cmp=s.Xpm({type:Ne,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-resource-dialog-button","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["data-cy","create-resource-select-vo",1,"long-input",3,"vos","voSelected"],["matInput","","required","","data-cy","create-resource-name-input",3,"placeholder","formControl"],["matInput","",3,"placeholder","formControl"]],template:function(se,Me){1&se&&(s.TgZ(0,"div"),s.YNc(1,J,1,0,"mat-spinner",0),s.YNc(2,ue,14,15,"div",1),s.TgZ(3,"div",2),s.TgZ(4,"button",3),s.NdJ("click",function(){return Me.onCancel()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"button",4),s.NdJ("click",function(){return Me.onSubmit()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.qZA()),2&se&&(s.Tol(Me.theme),s.xp6(1),s.Q6J("ngIf",Me.loading),s.xp6(1),s.Q6J("ngIf",!Me.loading),s.xp6(3),s.hij(" ",s.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Me.nameCtrl.invalid||Me.descriptionCtrl.invalid||null===Me.selectedVo||Me.loading),s.xp6(1),s.hij(" ",s.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")," "))},directives:[O.O5,E.$g,m.xY,h.M,k.KE,L.Nt,T.Fj,T.Q7,T.JJ,T.oH,k.TO,m.H8,Y.lW],pipes:[b.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),Ne})();var Le=d(10036),de=d(9244),ke=d(96214),ae=d(7434),V=d(62109);function H(Ne,Fe){if(1&Ne){const se=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(se),s.oxw().createResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&Ne&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function X(Ne,Fe){if(1&Ne){const se=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(se),s.oxw().removeResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Ne){const se=s.oxw();s.Q6J("disabled",0===se.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function ie(Ne,Fe){1&Ne&&s._UZ(0,"mat-spinner",9)}function oe(Ne,Fe){if(1&Ne&&s._UZ(0,"perun-web-apps-resources-list",10),2&Ne){const se=s.oxw();s.Q6J("tableId",se.tableId)("filterValue",se.filterValue)("resources",se.resources)("selection",se.selected)("disableRouting",!se.routeAuth)("displayedColumns",se.displayedColumns)}}let ge=(()=>{class Ne{constructor(se,Me,ve,me){this.dialog=se,this.facilitiesManager=Me,this.authResolver=ve,this.entityStorageService=me,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=Le.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}removeResource(){const se=(0,de.kZ)();se.width="450px",se.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(f.f,se).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(se=>{this.resources=se,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("createResource_Resource_Vo_Facility_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","vo","description"]:["id","name","vo","description"],0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getRichResourceById_int_policy",[this.facility,this.resources[0]]))}applyFilter(se){this.filterValue=se}createResource(){const se=(0,de.kZ)();se.width="1350px",se.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(ce,se).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}}return Ne.id="FacilityResourcesComponent",Ne.\u0275fac=function(se){return new(se||Ne)(s.Y36(m.uw),s.Y36(g.IQ),s.Y36(A.x4),s.Y36(A.fb))},Ne.\u0275cmp=s.Xpm({type:Ne,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(se,Me){2&se&&s.ekj("router-component",Me.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","data-cy","create-resource-button","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-resource-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-resource-button",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-resource-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns"]],template:function(se,Me){1&se&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return Me.refreshTable()}),s.qZA(),s.YNc(5,H,3,3,"button",2),s.YNc(6,X,3,4,"button",3),s.TgZ(7,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(me){return Me.applyFilter(me)}),s.qZA(),s.YNc(8,ie,1,0,"mat-spinner",5),s.YNc(9,oe,1,6,"perun-web-apps-resources-list",6),s.qZA()),2&se&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",Me.addAuth),s.xp6(1),s.Q6J("ngIf",Me.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",Me.loading),s.xp6(1),s.Q6J("ngIf",!Me.loading))},directives:[ke.t,O.O5,Y.lW,ae.L,E.$g,V.C],pipes:[b.X$],styles:[""]}),Ne})()},86353:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>me});var e=d(9315),f=d(9244),g=d(10036),T=d(20449),m=d(48966),A=d(36908),s=d(93075),b=d(5e3),O=d(51062),E=d(30325),h=d(69808),k=d(20773),L=d(67322),Y=d(98833),J=d(74107),ue=d(90508),ce=d(98380),Le=d(47423);function de(Te,te){1&Te&&b._UZ(0,"mat-spinner",7)}function ke(Te,te){if(1&Te){const R=b.EpF();b.TgZ(0,"mat-option",16),b.NdJ("click",function(){const He=b.CHM(R).$implicit;return b.oxw(2).srcFacility=He}),b._uU(1),b.qZA()}if(2&Te){const R=te.$implicit;b.Q6J("value",R),b.xp6(1),b.hij(" ",R.name," ")}}function ae(Te,te){if(1&Te){const R=b.EpF();b.TgZ(0,"div",8),b.TgZ(1,"mat-form-field"),b._UZ(2,"input",9),b.ALo(3,"translate"),b.TgZ(4,"mat-error"),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA(),b.TgZ(7,"mat-form-field"),b._UZ(8,"input",10),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"mat-form-field"),b.TgZ(11,"mat-select",11),b.ALo(12,"translate"),b.TgZ(13,"mat-option",12),b.NdJ("click",function(){return b.CHM(R),b.oxw().srcFacility=null}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.YNc(16,ke,2,2,"mat-option",13),b.qZA(),b.qZA(),b.TgZ(17,"app-alert",14),b._UZ(18,"i",15),b.ALo(19,"translate"),b.qZA(),b.qZA()}if(2&Te){const R=b.oxw();b.xp6(2),b.s9C("placeholder",b.lcZ(3,9,"DIALOGS.CREATE_FACILITY.NAME")),b.Q6J("formControl",R.nameControl),b.xp6(3),b.Oqu(b.lcZ(6,11,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),b.xp6(3),b.s9C("placeholder",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),b.Q6J("formControl",R.descControl),b.xp6(3),b.s9C("placeholder",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.AS_COPY")),b.xp6(3),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),b.xp6(2),b.Q6J("ngForOf",R.facilities),b.xp6(2),b.Q6J("innerHTML",b.lcZ(19,19,"DIALOGS.CREATE_FACILITY.HINT"),b.oJD)}}let V=(()=>{class Te{constructor(R,Oe,Ie,He,fe,Ce,Ye){this.dialogRef=R,this.data=Oe,this.facilitiesManager=Ie,this.notificator=He,this.translate=fe,this.router=Ce,this.entityStorageService=Ye,this.nameControl=new s.NI("",[s.kI.required]),this.descControl=new s.NI(""),this.srcFacility=null,this.configure=!1,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(R=>{this.facilities=R,this.loading=!1},()=>this.loading=!1)}copyFacilitySettings(R){this.facilitiesManager.copyAttributes(this.srcFacility.id,R).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,R).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,R).subscribe(()=>{this.handleSuccess(R)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}onCreate(R){this.loading=!0,this.configure=R,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(Oe=>{this.entityStorageService.setEntity({id:Oe.id,beanName:Oe.beanName}),sessionStorage.setItem("newFacilityId",String(Oe.id)),null!==this.srcFacility?this.copyFacilitySettings(Oe.id):this.handleSuccess(Oe.id)})}handleSuccess(R){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.configure&&this.router.navigate(["facilities",R.toString(),"configuration"]),this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}}return Te.\u0275fac=function(R){return new(R||Te)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.IQ),b.Y36(A.V6),b.Y36(O.sK),b.Y36(E.F0),b.Y36(A.fb))},Te.\u0275cmp=b.Xpm({type:Te,selectors:[["app-create-facility-dialog"]],decls:16,vars:19,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-facility-button","color","accent",1,"ml2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","facility-name-input",3,"formControl","placeholder"],["matInput","","data-cy","facility-description-input",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],["alert_type","info"],[3,"innerHTML"],[3,"value","click"]],template:function(R,Oe){1&R&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,de,1,0,"mat-spinner",1),b.YNc(5,ae,20,21,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Oe.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Oe.onCreate(!1)}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"button",6),b.NdJ("click",function(){return Oe.onCreate(!0)}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.qZA(),b.qZA()),2&R&&(b.Tol(Oe.theme),b.xp6(2),b.Oqu(b.lcZ(3,11,"DIALOGS.CREATE_FACILITY.TITLE")),b.xp6(2),b.Q6J("ngIf",Oe.loading),b.xp6(1),b.Q6J("ngIf",!Oe.loading),b.xp6(3),b.hij(" ",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Oe.nameControl.value.trim().length||Oe.loading),b.xp6(1),b.hij(" ",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Oe.nameControl.value.trim().length||!!Oe.srcFacility||Oe.loading),b.xp6(1),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.CREATE_AND_CONFIGURE")," "))},directives:[h.O5,k.$g,m.xY,L.KE,Y.Nt,s.Fj,s.Q7,s.JJ,s.oH,L.TO,J.gD,ue.ey,h.sg,ce.w,m.H8,Le.lW],pipes:[O.X$],styles:[""]}),Te})();var H=d(54037),X=d(77968),ie=d(4235),oe=d(25245),ge=d(96214),Ne=d(7434),Fe=d(74010);function se(Te,te){1&Te&&b._UZ(0,"mat-spinner",9)}function Me(Te,te){if(1&Te&&b._UZ(0,"perun-web-apps-facilities-list",10),2&Te){const R=b.oxw();b.Q6J("tableId",R.tableId)("selection",R.selection)("filterValue",R.filterValue)("facilities",R.facilities)("recentIds",R.recentIds)}}const ve=function(){return{color:"black"}};let me=(()=>{class Te{constructor(R,Oe,Ie){this.facilityManager=R,this.sideMenuService=Oe,this.dialog=Ie,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=g.xt,this.selection=new T.Ov(!1,[])}ngOnInit(){this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(R=>{this.selection.clear(),this.facilities=R,this.recentIds=(0,f.vL)("facilities"),this.loading=!1})}onCreate(){const R=(0,f.kZ)();R.width="800px",R.data={theme:"facility-theme"},this.dialog.open(V,R).afterClosed().subscribe(Ie=>{Ie&&(this.loading=!0,this.refreshTable())})}onDelete(){const R=(0,f.kZ)();R.width="500px",R.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(H.Y,R).afterClosed().subscribe(Ie=>{Ie&&this.refreshTable()})}applyFilter(R){this.filterValue=R}}return Te.id="FacilitySelectPageComponent",Te.\u0275fac=function(R){return new(R||Te)(b.Y36(e.IQ),b.Y36(X.D),b.Y36(m.uw))},Te.\u0275cmp=b.Xpm({type:Te,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(R,Oe){2&R&&b.ekj("router-component",Oe.true)},decls:16,vars:16,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],[1,"page-title","d-flex"],["svgIcon","perun-facility-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","data-cy","new-facility-button","color","accent",1,"action-button","mr-2",3,"click"],["mat-flat-button","","data-cy","delete-facility-button","color","warn",1,"mr-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","selection","filterValue","facilities","recentIds",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","selection","filterValue","facilities","recentIds"]],template:function(R,Oe){1&R&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return Oe.refreshTable()}),b.qZA(),b.TgZ(7,"button",4),b.NdJ("click",function(){return Oe.onCreate()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Oe.onDelete()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(He){return Oe.applyFilter(He)}),b.qZA(),b.YNc(14,se,1,0,"mat-spinner",7),b.YNc(15,Me,1,5,"perun-web-apps-facilities-list",8),b.qZA()),2&R&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(15,ve)),b.xp6(1),b.hij(" ",b.lcZ(5,9,"FACILITY_MANAGEMENT.TITLE")," "),b.xp6(4),b.hij(" ",b.lcZ(9,11,"FACILITY_MANAGEMENT.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Oe.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(12,13,"FACILITY_MANAGEMENT.DELETE")," "),b.xp6(2),b.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",Oe.loading),b.xp6(1),b.Q6J("ngIf",!Oe.loading))},directives:[ie.W,oe.Hw,h.PC,ge.t,Le.lW,Ne.L,h.O5,k.$g,Fe.X],pipes:[O.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),Te})()},51076:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>Le});var e=d(48966),f=d(36908),g=d(9315),T=d(9244),m=d(93075),A=d(5e3),s=d(51062),b=d(67322),O=d(98833),E=d(74107),h=d(69808),k=d(90508),L=d(47423),Y=d(57706);let J=(()=>{class de{constructor(ae){this.translateService=ae,this.returnData=""}transform(ae){switch(ae){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(V=>{this.returnData=V});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(V=>{this.returnData=V});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(V=>{this.returnData=V});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(V=>{this.returnData=V});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(V=>{this.returnData=V});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(V=>{this.returnData=V});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(V=>{this.returnData=V});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(V=>{this.returnData=V});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(V=>{this.returnData=V});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(V=>{this.returnData=V});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(V=>{this.returnData=V});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(V=>{this.returnData=V});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(V=>{this.returnData=V});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(V=>{this.returnData=V});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(V=>{this.returnData=V});break;default:return ae}return this.returnData}}return de.\u0275fac=function(ae){return new(ae||de)(A.Y36(s.sK,16))},de.\u0275pipe=A.Yjl({name:"applicationFormWidgetDescription",type:de,pure:!0}),de})();function ue(de,ke){if(1&de&&(A.TgZ(0,"mat-option",9),A._uU(1),A.ALo(2,"applicationFormItemType"),A.qZA()),2&de){const ae=ke.$implicit;A.Q6J("value",ae),A.xp6(1),A.hij(" ",A.lcZ(2,2,ae)," ")}}function ce(de,ke){if(1&de&&(A.TgZ(0,"mat-option",9),A._uU(1),A.qZA()),2&de){const ae=ke.$implicit;A.Q6J("value",ae),A.xp6(1),A.hij(" ",ae," ")}}let Le=(()=>{class de{constructor(ae,V,H,X){this.dialogRef=ae,this.data=V,this.translateService=H,this.store=X,this.languages=this.store.get("supported_languages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","HTML_COMMENT","TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(ae=>{this.nameCtrl=new m.NI("",[m.kI.required,m.kI.pattern(".*[\\S]+.*"),m.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(ae);for(const V of this.data.applicationFormItems)this.items.push(V.shortname),V.type===g.Dy.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(H=>H!==g.Dy.EMBEDDEDGROUPAPPLICATION));this.selectedItem=ae})}cancel(){this.dialogRef.close(!1)}submit(){const ae=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,ae])}createApplicationItem(){const ae=(0,T.dv)(this.languages);ae.id=this.data.fakeId,ae.shortname=this.nameCtrl.value,ae.type=this.selectedWidget;for(let V=0;V{"use strict";d.d(be,{o:()=>c});var e=d(48966),f=d(36908),g=d(20449),T=d(9315),m=d(64080),A=d(9244),s=d(10036),b=d(84847),O=d(32075),E=d(5e3),h=d(18750),k=d(29772),L=d(77446),Y=d(69808),J=d(98380),ue=d(51062),ce=d(69773),Le=d(21757),de=d(31359),ke=d(9954);function ae(u,y){1&u&&E._UZ(0,"th",18)}function V(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"td",19),E.TgZ(1,"div",20),E.ALo(2,"translate"),E.TgZ(3,"mat-checkbox",21),E.NdJ("change",function(Ve){const Mt=E.CHM(M).$implicit,zt=E.oxw();return Ve?zt.itemSelectionToggle(Mt):null})("click",function(Ve){return Ve.stopPropagation()}),E.ALo(4,"lowercase"),E.ALo(5,"translate"),E.qZA(),E.qZA(),E.qZA()}if(2&u){const M=y.$implicit,j=E.oxw();E.xp6(1),E.Q6J("matTooltip",E.lcZ(2,5,j.getTooltip(M)))("matTooltipDisabled",!j.isCheckboxDisabled(M)),E.xp6(2),E.Q2q("data-cy","",E.lcZ(4,7,E.lcZ(5,9,M.richUser?M.richUser.firstName:M.candidate.firstName)),"-checkbox"),E.Q6J("checked",j.selection.isSelected(M))("disabled",j.isCheckboxDisabled(M))}}function H(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.STATUS")," "))}function X(u,y){if(1&u&&(E.TgZ(0,"i",25),E.ALo(1,"memberStatusIconColor"),E._uU(2),E.ALo(3,"memberStatusIcon"),E.qZA()),2&u){const M=E.oxw().$implicit;E.Gre("material-icons ",E.lcZ(1,5,M.member.status),""),E.s9C("matTooltip",M.member.status),E.xp6(2),E.hij(" ",E.lcZ(3,7,M.member.status)," ")}}function ie(u,y){if(1&u&&(E.TgZ(0,"td",23),E.YNc(1,X,4,9,"i",24),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.Q6J("ngIf",M.member)}}function oe(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.NAME")," "))}function ge(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userFullName"),E.ALo(3,"userFullName"),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.hij(" ",M.richUser?E.lcZ(2,1,M.richUser):E.lcZ(3,3,M.candidate)," ")}}function Ne(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ORGANIZATION")," "))}function Fe(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userVo"),E.qZA()),2&u){const M=y.$implicit,j=E.oxw();E.xp6(1),E.hij(" ",M.richUser?E.lcZ(2,1,M.richUser):j.getOrganization(M.candidate)," ")}}function se(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.EMAIL")," "))}function Me(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,j=E.oxw();E.xp6(1),E.hij(" ",j.getEmail(M)," ")}}function ve(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.LOGINS")," "))}function me(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,j=E.oxw();E.xp6(1),E.hij(" ",j.getLogins(M)," ")}}function Te(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER")," "))}function te(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,j=E.oxw();E.xp6(1),E.hij(" ",j.getAlreadyMember(M)," ")}}function R(u,y){1&u&&E._UZ(0,"th",22)}function Oe(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.hij(" ",M.richUser?"Local":"External identity"," ")}}function Ie(u,y){1&u&&E._UZ(0,"tr",26)}function He(u,y){1&u&&E._UZ(0,"tr",27)}function fe(u,y){1&u&&(E.TgZ(0,"app-alert",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND"),"\n"))}let Ce=(()=>{class u{constructor(M){this.guiAuthResolver=M,this.blockManualAdding=!1,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=A.f7,this.addAuth=!1}set matSort(M){this.sort=M,this.setDataSource()}getDataForColumn(M,j,Ve){var nt,Mt;switch(j){case"status":return M.member&&null!==(nt=M.member.status)&&void 0!==nt?nt:"";case"fullName":{const zt=M.richUser?M.richUser:M.candidate;return zt.lastName?zt.lastName:null!==(Mt=zt.firstName)&&void 0!==Mt?Mt:""}case"voExtSource":return M.richUser?(0,A.OV)(M.richUser):(0,A.v$)(M.candidate);case"email":return M.richUser||M.member?(0,A.kN)(M.richUser):Ve.getEmail(M);case"logins":return Ve.getLogins(M);case"alreadyMember":return Ve.getAlreadyMember(M);case"local":return M.richUser?"Local":"External identity";default:return M[j]}}getExportDataForColumn(M,j,Ve){var nt;switch(j){case"status":return M.member&&null!==(nt=M.member.status)&&void 0!==nt?nt:"";case"fullName":return(0,A.bD)(M.richUser?M.richUser:M.candidate);case"voExtSource":return M.richUser?(0,A.OV)(M.richUser):(0,A.v$)(M.candidate);case"email":return M.richUser||M.member?(0,A.kN)(M.richUser):Ve.getEmail(M);case"logins":return Ve.getLogins(M);case"alreadyMember":return Ve.getAlreadyMember(M);case"local":return M.richUser?"Local":"External identity";default:return M[j]}}exportData(M){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),M)}setDataSource(){null==this.child||!this.child.paginator||this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(M,j)=>(0,A.Sd)(M,j,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(M,j)=>(0,A.pR)(M,j,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.dataSource=new O.by(this.members),this.setDataSource()}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(M=>this.selection.select(M)),this.setAddAuth()}getEmail(M){let j;if(M.richUser){for(const Ve of M.richUser.userAttributes)if(Ve.namespace+":"+Ve.friendlyName=="urn:perun:user:attribute-def:def:preferredMail"){j=Ve;break}return null!=j&&null!=j.value&&"null"!==j.value.toString().toLowerCase()?j.value.toString().replace(","," "):""}return(0,A.Jc)(M.candidate)}getOrganization(M){return(0,A.v$)(M)}getLogins(M){if(M.richUser)return this.getLoginsForRichUser(M.richUser);{let j=this.getLoginsForCandidate(M.candidate);return(null==j||""===j)&&(j=M.candidate.userExtSource.login),j}}getLoginsForRichUser(M){let j="";for(const Ve of M.userAttributes)Ve.friendlyName.startsWith("login-namespace")&&null!=Ve.value&&(j.length>0&&(j+=", "),j+=Ve.friendlyName.substring(16)+": "+Ve.value);return j}getLoginsForCandidate(M){let Ve="";for(const nt in M.attributes)Object.prototype.hasOwnProperty.call(M.attributes,nt)&&-1!==nt.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=M.attributes[nt]&&(Ve.length>0&&(Ve+=", "),Ve+=nt.substring(49)+": "+M.attributes[nt]);return Ve}getAlreadyMember(M){if("vo"===this.type){if(null!=M.member)return"Member of VO"}else{if(null!=M.member&&0!==M.member.sourceGroupId&&"DIRECT"===M.member.membershipType)return"Member of Group";if(null!=M.member&&0!==M.member.sourceGroupId&&"INDIRECT"===M.member.membershipType)return"Indirect member of Group";if(null!=M.member)return"Member of VO"}return""}isCheckboxDisabled(M){return"vo"===this.type?null!=M.member:M.member?0!==M.member.sourceGroupId&&"DIRECT"===M.member.membershipType:this.blockManualAdding}setAddAuth(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}itemSelectionToggle(M){this.selection.toggle(M),this.setAddAuth()}getTooltip(M){return M.member?"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER":"MEMBERS_CANDIDATES_LIST.ADDING_BLOCKED"}}return u.\u0275fac=function(M){return new(M||u)(E.Y36(f.x4))},u.\u0275cmp=E.Xpm({type:u,selectors:[["app-members-candidates-list"]],viewQuery:function(M,j){if(1&M&&(E.Gf(b.YE,5),E.Gf(A.l9,7)),2&M){let Ve;E.iGM(Ve=E.CRH())&&(j.matSort=Ve.first),E.iGM(Ve=E.CRH())&&(j.child=Ve.first)}},inputs:{members:"members",selection:"selection",type:"type",tableId:"tableId",group:"group",blockManualAdding:"blockManualAdding"},features:[E.TTD],decls:30,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(M,j){1&M&&(E.TgZ(0,"div",0),E.TgZ(1,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(nt){return j.exportData(nt)}),E.TgZ(2,"table",2),E.ynx(3,3),E.YNc(4,ae,1,0,"th",4),E.YNc(5,V,6,11,"td",5),E.BQk(),E.ynx(6,6),E.YNc(7,H,3,3,"th",7),E.YNc(8,ie,2,1,"td",8),E.BQk(),E.ynx(9,9),E.YNc(10,oe,3,3,"th",7),E.YNc(11,ge,4,5,"td",8),E.BQk(),E.ynx(12,10),E.YNc(13,Ne,3,3,"th",7),E.YNc(14,Fe,3,3,"td",8),E.BQk(),E.ynx(15,11),E.YNc(16,se,3,3,"th",7),E.YNc(17,Me,2,1,"td",8),E.BQk(),E.ynx(18,12),E.YNc(19,ve,3,3,"th",7),E.YNc(20,me,2,1,"td",8),E.BQk(),E.ynx(21,13),E.YNc(22,Te,3,3,"th",7),E.YNc(23,te,2,1,"td",8),E.BQk(),E.ynx(24,14),E.YNc(25,R,1,0,"th",7),E.YNc(26,Oe,2,1,"td",8),E.BQk(),E.YNc(27,Ie,1,0,"tr",15),E.YNc(28,He,1,0,"tr",16),E.qZA(),E.qZA(),E.qZA(),E.YNc(29,fe,3,3,"app-alert",17)),2&M&&(E.Q6J("hidden",0===j.members.length),E.xp6(1),E.Q6J("tableId",j.tableId)("dataLength",j.dataSource.filteredData.length)("pageSizeOptions",j.pageSizeOptions),E.xp6(1),E.Q6J("dataSource",j.dataSource),E.xp6(25),E.Q6J("matHeaderRowDef",j.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",j.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===j.members.length))},directives:[h.l,O.BZ,b.YE,O.w1,O.fO,O.ge,O.Dz,O.ev,k.gM,L.oG,b.nU,Y.O5,O.as,O.XQ,O.nj,O.Gk,J.w],pipes:[ue.X$,Y.i8,ce.u,Le.f,de.d,ke.Z],styles:[""]}),u})();var Ye=d(93075),Xe=d(30325),tt=d(67322),at=d(98833),N=d(47423),he=d(20773),D=d(92181);const S=["list"];function I(u,y){1&u&&E._UZ(0,"mat-spinner",10)}function P(u,y){if(1&u&&E._UZ(0,"app-members-candidates-list",13,14),2&u){const M=E.oxw(3);E.Q6J("group",M.data.group)("tableId",M.tableId)("selection",M.selection)("members",M.members)("type",M.data.type)("blockManualAdding",M.manualAddingBlocked)}}function i(u,y){if(1&u&&(E.TgZ(0,"div",11),E.YNc(1,P,2,6,"app-members-candidates-list",12),E.qZA()),2&u){const M=E.oxw(2);E.xp6(1),E.Q6J("ngIf",M.firstSearchDone)}}function r(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"div",4),E.TgZ(1,"mat-form-field",5),E.TgZ(2,"label"),E.TgZ(3,"input",6),E.NdJ("keyup.enter",function(){return E.CHM(M),E.oxw().onSearchByString()}),E.ALo(4,"translate"),E.qZA(),E.qZA(),E.TgZ(5,"mat-error"),E._uU(6),E.ALo(7,"translate"),E.qZA(),E.qZA(),E.TgZ(8,"button",7),E.NdJ("click",function(){return E.CHM(M),E.oxw().onSearchByString()}),E._uU(9),E.ALo(10,"translate"),E.qZA(),E.TgZ(11,"div",8),E.YNc(12,I,1,0,"mat-spinner",2),E.qZA(),E.YNc(13,i,2,1,"div",9),E.qZA()}if(2&u){const M=E.oxw();E.xp6(3),E.s9C("placeholder",E.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),E.Q6J("formControl",M.searchCtrl),E.xp6(3),E.hij(" ",E.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),E.xp6(2),E.Q6J("disabled",M.loading),E.xp6(1),E.hij(" ",E.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),E.xp6(3),E.Q6J("ngIf",M.loading),E.xp6(1),E.Q6J("ngIf",!!M.members&&!M.loading)}}function p(u,y){1&u&&E._UZ(0,"mat-spinner",10)}function o(u,y){if(1&u&&(E.TgZ(0,"button",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u){E.oxw();const M=E.MAs(8),j=E.oxw();E.Q6J("disabled",0===j.selection.selected.length||j.loading)("matMenuTriggerFor",M),E.xp6(1),E.hij(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function t(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"button",23),E.NdJ("click",function(){const nt=E.CHM(M).$implicit;return E.oxw(2).onInvite(nt)}),E._uU(1),E.ALo(2,"translate"),E.ALo(3,"translate"),E.ALo(4,"uppercase"),E.ALo(5,"translate"),E.qZA()}if(2&u){const M=y.$implicit;E.xp6(1),E.lnq(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE_IN_LANGUAGE")," ",E.lcZ(3,5,E.lcZ(4,7,"SHARED_LIB.LANGUAGES."+M))," ",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.LANGUAGE")," ")}}function n(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"div",15),E.TgZ(1,"button",16),E.NdJ("click",function(){return E.CHM(M),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"span",17),E.ALo(5,"translate"),E.YNc(6,o,3,5,"button",18),E.TgZ(7,"mat-menu",null,19),E.YNc(9,t,6,11,"button",20),E.qZA(),E.qZA(),E.TgZ(10,"button",21),E.NdJ("click",function(){return E.CHM(M),E.oxw().onAdd()}),E._uU(11),E.ALo(12,"translate"),E.qZA(),E.qZA()}if(2&u){const M=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),E.xp6(2),E.s9C("matTooltip",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),E.Q6J("matTooltipDisabled",0===M.selection.selected.length||"group"!==M.data.type||void 0!==M.list&&M.list.addAuth),E.xp6(2),E.Q6J("ngIf","group"!==M.data.type||"group"===M.data.type&&M.inviteAuth),E.xp6(3),E.Q6J("ngForOf",M.languages),E.xp6(1),E.Q6J("disabled",0===M.selection.selected.length||M.loading||"group"===M.data.type&&void 0!==M.list&&!M.list.addAuth),E.xp6(1),E.hij(" ",E.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let c=(()=>{class u{constructor(M,j,Ve,nt,Mt,zt,Vt,Wt,At,Ht,bt,et){this.dialogRef=M,this.data=j,this.membersManagerService=Ve,this.groupService=nt,this.voService=Mt,this.registrarManager=zt,this.translate=Vt,this.notificator=Wt,this.route=At,this.router=Ht,this.guiAuthResolver=bt,this.store=et,this.languages=["en"],this.selection=new g.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=s.tY,this.inviteAuth=!1,this.manualAddingBlocked=!1,Vt.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(kt=>this.title=kt)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.processing=!0;const M=this.selection.selected[0];"vo"===this.data.type?M.richUser?this.addUserToVo(M):this.addCandidateToVo(M):"group"===this.data.type&&(M.member?this.addMemberToGroup(M):M.richUser?this.addUserToGroup(M):M.candidate&&this.addCandidateToGroup(M))}onInvite(M){this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"vo"===this.data.type?this.registrarManager.sendInvitation((0,A.Jc)(this.selection.selected[0].candidate),M,this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,A.Jc)(this.selection.selected[0].candidate),M,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError())}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(M=>{this.members=M,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(M=>{this.members=M,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme,this.manualAddingBlocked=this.data.manualAddingBlocked,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new Ye.NI("",[Ye.kI.required,Ye.kI.pattern(".*[\\S]+.*")])}addUserToVo(M){this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:M.richUser.id}).subscribe(j=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(j.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addCandidateToVo(M){this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(M.candidate)}).subscribe(j=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(j.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addUserToGroup(M){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:M.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(Ve=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(Ve.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addMemberToGroup(M){this.groupService.addMembers(this.data.entityId,[M.member.id]).subscribe(()=>{this.onAddSuccess()},()=>this.onError())}addCandidateToGroup(M){const j={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(M.candidate),groups:[j]}).subscribe(Ve=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(Ve.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}onAddSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(M=>{this.notificator.showSuccess(M),this.dialogRef.close(!0)})}onError(){this.selection.clear(),this.processing=!1}onInviteSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(M=>{this.notificator.showSuccess(M),this.dialogRef.close(!0)})}onValidateSuccess(){this.dialogRef.close(!0)}createCandidate(M){return{userExtSource:M.userExtSource,additionalUserExtSources:M.additionalUserExtSources,attributes:M.attributes,firstName:M.firstName,lastName:M.lastName,middleName:M.middleName,titleBefore:M.titleBefore,titleAfter:M.titleAfter,id:M.id}}}return u.\u0275fac=function(M){return new(M||u)(E.Y36(e.so),E.Y36(e.WI),E.Y36(T.uq),E.Y36(T.ff),E.Y36(T.YF),E.Y36(T.tk),E.Y36(ue.sK),E.Y36(f.V6),E.Y36(Xe.gz),E.Y36(Xe.F0),E.Y36(f.x4),E.Y36(f.d6))},u.\u0275cmp=E.Xpm({type:u,selectors:[["app-add-member-dialog"]],viewQuery:function(M,j){if(1&M&&E.Gf(S,5),2&M){let Ve;E.iGM(Ve=E.CRH())&&(j.list=Ve.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false","data-cy","search-members",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent","data-cy","search-button",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"group","tableId","selection","members","type","blockManualAdding",4,"ngIf"],[3,"group","tableId","selection","members","type","blockManualAdding"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent","data-cy","add-button",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(M,j){1&M&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,r,14,13,"div",1),E.YNc(5,p,1,0,"mat-spinner",2),E.YNc(6,n,13,13,"div",3),E.qZA()),2&M&&(E.Tol(j.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),E.xp6(2),E.Q6J("ngIf",!j.processing),E.xp6(1),E.Q6J("ngIf",j.processing),E.xp6(1),E.Q6J("ngIf",!j.processing))},directives:[e.uh,Y.O5,e.xY,tt.KE,at.Nt,Ye.Fj,Ye.JJ,Ye.oH,tt.TO,N.lW,he.$g,Ce,e.H8,k.gM,D.p6,D.VK,Y.sg,D.OP],pipes:[ue.X$,Y.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),u})()},95502:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>k});var e=d(48966),f=d(9315),g=d(36908),T=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(62707),O=d(82322),E=d(47423);function h(L,Y){1&L&&T._UZ(0,"mat-spinner",9)}let k=(()=>{class L{constructor(J,ue,ce,Le,de,ke,ae,V){this.dialogRef=J,this.voService=ue,this.groupService=ce,this.translateService=Le,this.registrarManager=de,this.notificatorService=ke,this.apiRequest=ae,this.data=V,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=H=>H.name,Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(H=>this.successMessage=H),Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(H=>this.privilegeMessage=H),Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(H=>this.noFormMessage=H)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.translateService.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_GROUP_SELECTED").subscribe(()=>{this.voService.getMyVos().subscribe(J=>{this.vos=J.sort((ue,ce)=>ue.name>ce.name?1:ue.namethis.loading=!1)},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.apiRequest.dontHandleErrorForNext(),this.loading=!0,this.data.groupId?null===this.selectedGroup?this.registrarManager.copyFormFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},J=>{"FormNotExistsException"===J.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===J.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},J=>{"FormNotExistsException"===J.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===J.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):null===this.selectedGroup?this.registrarManager.copyFormFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},J=>{"FormNotExistsException"===J.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===J.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},J=>{"FormNotExistsException"===J.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===J.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected(J){this.selectedVo=J,this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(J=>{this.groups=J}):this.groups=[],this.selectedGroup=null}}return L.\u0275fac=function(J){return new(J||L)(T.Y36(e.so),T.Y36(f.YF),T.Y36(f.ff),T.Y36(m.sK),T.Y36(f.tk),T.Y36(g.V6),T.Y36(g.F5),T.Y36(e.WI))},L.\u0275cmp=T.Xpm({type:L,selectors:[["app-application-form-copy-items-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(J,ue){1&J&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,h,1,0,"mat-spinner",1),T.TgZ(5,"div",2),T.TgZ(6,"div",3),T._uU(7),T.ALo(8,"translate"),T.qZA(),T._uU(9),T.ALo(10,"translate"),T.TgZ(11,"perun-web-apps-vo-search-select",4),T.NdJ("voSelected",function(Le){return ue.voSelected(Le)}),T.qZA(),T._uU(12),T.ALo(13,"translate"),T.TgZ(14,"perun-web-apps-group-search-select",5),T.NdJ("groupSelected",function(Le){return ue.selectedGroup=Le}),T.qZA(),T.qZA(),T.TgZ(15,"div",6),T.TgZ(16,"button",7),T.NdJ("click",function(){return ue.cancel()}),T._uU(17),T.ALo(18,"translate"),T.qZA(),T.TgZ(19,"button",8),T.NdJ("click",function(){return ue.submit()}),T._uU(20),T.ALo(21,"translate"),T.qZA(),T.qZA(),T.qZA()),2&J&&(T.Tol(ue.theme),T.xp6(2),T.Oqu(T.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),T.xp6(2),T.Q6J("ngIf",ue.loading),T.xp6(1),T.Q6J("hidden",ue.loading),T.xp6(2),T.hij(" ",T.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")," "),T.xp6(2),T.hij(" ",T.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),T.xp6(2),T.Q6J("vos",ue.vos),T.xp6(1),T.hij(" ",T.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),T.xp6(2),T.Q6J("groups",ue.groups)("disableAutoSelect",!0),T.xp6(3),T.hij(" ",T.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("disabled",!ue.selectedVo&&!ue.selectedGroup||ue.loading),T.xp6(1),T.hij(" ",T.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.M,O.h,e.H8,E.lW],pipes:[m.X$],styles:[""]}),L})()},81889:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Le});var e=d(48966),f=d(36908),g=d(9315),T=d(93075),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(67322),E=d(98833),h=d(77446),k=d(82322),L=d(47423);function Y(de,ke){1&de&&m._UZ(0,"mat-spinner",3)}function J(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"mat-checkbox",14),m.NdJ("click",function(){return m.CHM(ae),m.oxw(2).loadVoGroups()})("ngModelChange",function(H){return m.CHM(ae),m.oxw(2).asSubgroup=H}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&de){const ae=m.oxw(2);m.Q6J("labelPosition","before")("ngModel",ae.asSubgroup),m.xp6(1),m.hij(" ",m.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function ue(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"perun-web-apps-group-search-select",15),m.NdJ("groupSelected",function(H){return m.CHM(ae),m.oxw(2).selectedParent=H}),m.qZA()}if(2&de){const ae=m.oxw(2);m.Q6J("disableAutoSelect",!0)("groups",ae.voGroups)}}function ce(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"div",4),m.TgZ(2,"mat-form-field"),m.TgZ(3,"label",5),m._UZ(4,"input",6),m.ALo(5,"translate"),m.qZA(),m.TgZ(6,"mat-error"),m._uU(7),m.ALo(8,"translate"),m.qZA(),m.qZA(),m.TgZ(9,"mat-form-field",7),m.TgZ(10,"label",5),m.TgZ(11,"textarea",8),m.ALo(12,"translate"),m._uU(13," "),m.qZA(),m.qZA(),m.qZA(),m.YNc(14,J,3,5,"mat-checkbox",9),m.YNc(15,ue,1,2,"perun-web-apps-group-search-select",10),m.qZA(),m.TgZ(16,"div",11),m.TgZ(17,"button",12),m.NdJ("click",function(){return m.CHM(ae),m.oxw().onCancel()}),m._uU(18),m.ALo(19,"translate"),m.qZA(),m.TgZ(20,"button",13),m.NdJ("click",function(){return m.CHM(ae),m.oxw().onSubmit()}),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.qZA(),m.qZA()}if(2&de){const ae=m.oxw();m.xp6(4),m.s9C("placeholder",m.lcZ(5,10,"DIALOGS.CREATE_GROUP.NAME")),m.Q6J("formControl",ae.nameControl),m.xp6(3),m.hij(" ",ae.invalidNameMessage.length?ae.invalidNameMessage:m.lcZ(8,12,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),m.xp6(4),m.s9C("placeholder",m.lcZ(12,14,"DIALOGS.CREATE_GROUP.DESCRIPTION")),m.Q6J("formControl",ae.descriptionControl),m.xp6(3),m.Q6J("ngIf",ae.isNotSubGroup),m.xp6(1),m.Q6J("ngIf",ae.asSubgroup),m.xp6(3),m.hij(" ",m.lcZ(19,16,"DIALOGS.CREATE_GROUP.CANCEL")," "),m.xp6(2),m.Q6J("disabled",ae.nameControl.invalid||ae.descriptionControl.invalid||ae.asSubgroup&&null===ae.selectedParent||ae.loading),m.xp6(1),m.hij(" ",m.lcZ(22,18,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let Le=(()=>{class de{constructor(ae,V,H,X,ie,oe){this.dialogRef=ae,this.data=V,this.groupService=H,this.translate=X,this.notificator=ie,this.store=oe,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.voGroups=[],this.nameFunction=ge=>ge.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?X.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(ge=>this.title=ge):X.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(ge=>{this.title=ge+this.data.parentGroup.name}),X.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(ge=>this.successMessage=ge),X.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(ge=>this.successSubGroupMessage=ge)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new T.NI("",[T.kI.required,T.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),T.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new T.NI(""),this.selectedParent=null}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.isNotSubGroup&&!this.asSubgroup?this.groupService.createGroupWithVoNameDescription(this.data.voId,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1):this.groupService.createGroupWithParentGroupNameDescription(this.asSubgroup?this.selectedParent.id:this.data.parentGroup.id,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successSubGroupMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}loadVoGroups(){this.groupService.getAllGroups(this.data.voId).subscribe(ae=>{this.voGroups=ae.filter(V=>"members"!==V.name)})}}return de.\u0275fac=function(ae){return new(ae||de)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.ff),m.Y36(A.sK),m.Y36(f.V6),m.Y36(f.d6))},de.\u0275cmp=m.Xpm({type:de,selectors:[["app-create-group-dialog"]],decls:5,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","data-cy","group-name","required","",3,"formControl","placeholder"],[1,"mt-4"],["mat-autosize","","matInput","","data-cy","group-description",3,"formControl","placeholder"],[3,"labelPosition","ngModel","click","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","create-group-button-dialog","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"labelPosition","ngModel","click","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(ae,V){1&ae&&(m.TgZ(0,"h1",0),m._uU(1),m.qZA(),m.TgZ(2,"div"),m.YNc(3,Y,1,0,"mat-spinner",1),m.YNc(4,ce,23,20,"div",2),m.qZA()),2&ae&&(m.xp6(1),m.Oqu(V.title),m.xp6(1),m.Tol(V.theme),m.xp6(1),m.Q6J("ngIf",V.loading),m.xp6(1),m.Q6J("ngIf",!V.loading))},directives:[e.uh,s.O5,b.$g,e.xY,O.KE,E.Nt,T.Fj,T.Q7,T.JJ,T.oH,O.TO,h.oG,T.On,k.h,e.H8,L.lW],pipes:[A.X$],styles:[""]}),de})()},55663:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>Me});var e=d(5e3),f=d(93075),g=d(32075),T=d(69808),m=d(20773),A=d(48966),s=d(47423),b=d(25245),O=d(14623),E=d(98380),h=d(67322),k=d(98833),L=d(51062);function Y(ve,me){1&ve&&e._UZ(0,"mat-spinner",2)}function J(ve,me){if(1&ve&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.TgZ(4,"span",17),e._uU(5),e.ALo(6,"translate"),e.qZA(),e._uU(7),e.ALo(8,"translate"),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.lnq(" ",e.lcZ(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",e.lcZ(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",Te.entityType," "),e.xp6(4),e.Oqu(e.lcZ(6,10,"DIALOGS.DELETE_ENTITY.OR")),e.xp6(2),e.AsE(" ",Te.entityType," ",e.lcZ(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function ue(ve,me){if(1&ve&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.AsE(" ",e.lcZ(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",Te.entityType," ? ")}}function ce(ve,me){1&ve&&e._UZ(0,"th",18)}function Le(ve,me){if(1&ve&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(1),e.Oqu(Te.name)}}function de(ve,me){1&ve&&e._UZ(0,"tr",20)}function ke(ve,me){1&ve&&e._UZ(0,"tr",21)}function ae(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(Te),e.oxw(2).force=!0}),e.TgZ(1,"mat-icon"),e._uU(2,"warning"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.ALo(5,"translate"),e.qZA()}2&ve&&(e.xp6(3),e.AsE(" ",e.lcZ(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const V=function(){return["name"]};function H(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",4),e.YNc(5,J,9,14,"div",5),e.YNc(6,ue,3,4,"div",5),e.TgZ(7,"table",6),e.ynx(8,7),e.YNc(9,ce,1,0,"th",8),e.YNc(10,Le,2,1,"td",9),e.BQk(),e.YNc(11,de,1,0,"tr",10),e.YNc(12,ke,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(13,"div",12),e.TgZ(14,"button",13),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onDelete()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,ae,6,6,"button",15),e.qZA(),e.qZA()}if(2&ve){const Te=e.oxw();e.xp6(2),e.AsE("",e.lcZ(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",Te.entityType,""),e.xp6(3),e.Q6J("ngIf",!Te.disableForce),e.xp6(1),e.Q6J("ngIf",Te.disableForce),e.xp6(1),e.Q6J("dataSource",Te.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(16,V)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(17,V)),e.xp6(3),e.hij(" ",e.lcZ(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(3),e.hij(" ",e.lcZ(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),e.xp6(2),e.Q6J("ngIf",!Te.disableForce)}}function X(ve,me){if(1&ve&&(e.TgZ(0,"mat-list-item"),e.TgZ(1,"span"),e.TgZ(2,"mat-icon",27),e._uU(3,"fiber_manual_record"),e.qZA(),e._uU(4),e.qZA(),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(4),e.hij(" ",Te," ")}}function ie(ve,me){if(1&ve&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.hij(" ",Te.anotherMessage," ")}}function oe(ve,me){1&ve&&e._UZ(0,"th",18)}function ge(ve,me){if(1&ve&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(1),e.Oqu(Te.name)}}function Ne(ve,me){1&ve&&e._UZ(0,"tr",20)}function Fe(ve,me){1&ve&&e._UZ(0,"tr",21)}function se(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",16),e._uU(7),e.ALo(8,"translate"),e.TgZ(9,"mat-list"),e.YNc(10,X,5,1,"mat-list-item",23),e.qZA(),e.YNc(11,ie,2,1,"div",1),e.TgZ(12,"app-alert",24),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"table",6),e.ynx(16,7),e.YNc(17,oe,1,0,"th",8),e.YNc(18,ge,2,1,"td",9),e.BQk(),e.YNc(19,Ne,1,0,"tr",10),e.YNc(20,Fe,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field"),e._UZ(22,"input",25),e.ALo(23,"translate"),e.qZA(),e.qZA(),e.TgZ(24,"div",12),e.TgZ(25,"button",13),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onCancel()}),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"button",26),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onDelete()}),e.TgZ(29,"mat-icon"),e._uU(30,"warning"),e.qZA(),e._uU(31),e.ALo(32,"translate"),e.ALo(33,"translate"),e.qZA(),e.qZA(),e.qZA()}if(2&ve){const Te=e.oxw();e.xp6(2),e.lnq(" ",e.lcZ(3,17,"DIALOGS.DELETE_ENTITY.DELETE")," ",Te.entityType," ",e.lcZ(4,19,"DIALOGS.DELETE_ENTITY.RELATIONS")," "),e.xp6(5),e.hij(" ",e.lcZ(8,21,"DIALOGS.DELETE_ENTITY.WARN"),": "),e.xp6(3),e.Q6J("ngForOf",Te.relations),e.xp6(1),e.Q6J("ngIf",Te.anotherMessage),e.xp6(2),e.AsE(" ",e.lcZ(14,23,"DIALOGS.DELETE_ENTITY.ASK")," ",Te.entityType," ? "),e.xp6(2),e.Q6J("dataSource",Te.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(33,V)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(34,V)),e.xp6(2),e.s9C("placeholder",e.lcZ(23,25,"DIALOGS.DELETE_ENTITY.CONTROL")),e.Q6J("formControl",Te.deleteControl),e.xp6(4),e.hij(" ",e.lcZ(27,27,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(2),e.Q6J("disabled",Te.deleteControl.invalid),e.xp6(3),e.AsE(" ",e.lcZ(32,29,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(33,31,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let Me=(()=>{class ve{constructor(){this.entityNames=new g.by,this.relations=[],this.disableForce=!1,this.loading=!1,this.deleted=new e.vpe,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new f.NI("",[f.kI.required,f.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return ve.\u0275fac=function(Te){return new(Te||ve)},ve.\u0275cmp=e.Xpm({type:ve,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce",loading:"loading"},outputs:{deleted:"deleted"},decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["class","mb-4",4,"ngIf"],["mat-table","",1,"w-100","table-margin",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-button-dialog",1,"ml-2",3,"click"],["class","ml-2","mat-flat-button","","color","warn","data-cy","force-delete",3,"click",4,"ngIf"],[1,"mb-4"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-flat-button","","color","warn","data-cy","force-delete",1,"ml-2",3,"click"],[4,"ngFor","ngForOf"],["alert_type","warn"],["data-cy","force-delete-control","matInput","",3,"formControl","placeholder"],["mat-flat-button","","color","warn","data-cy","force-delete-button",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(Te,te){1&Te&&(e.YNc(0,Y,1,0,"mat-spinner",0),e.YNc(1,H,21,18,"div",1),e.YNc(2,se,34,35,"div",1)),2&Te&&(e.Q6J("ngIf",te.loading),e.xp6(1),e.Q6J("ngIf",!te.force&&!te.loading),e.xp6(1),e.Q6J("ngIf",te.force&&!te.loading))},directives:[T.O5,m.$g,A.uh,A.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,A.H8,s.lW,b.Hw,O.i$,T.sg,O.Tg,E.w,h.KE,k.Nt,f.Fj,f.JJ,f.oH],pipes:[L.X$],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),ve})()},54037:(Ke,be,d)=>{"use strict";d.d(be,{Y:()=>b});var e=d(9315),f=d(48966),g=d(36908),T=d(32075),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,Y,J){this.dialogRef=h,this.data=k,this.facilitiesManager=L,this.notificator=Y,this.translate=J,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new T.by([this.facility]),this.relations.push(this.translate.instant("DIALOGS.DELETE_FACILITY.RESOURCE_RELATION"))}onConfirm(){this.loading=!0,this.facilitiesManager.deleteFacility(this.facility.id,this.force).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_FACILITY.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(h){this.force=h.force,h.deleted?this.onConfirm():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(f.so),m.Y36(f.WI),m.Y36(e.IQ),m.Y36(g.V6),m.Y36(A.sK))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-delete-facility-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(Y){return k.onSubmit(Y)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","facilities")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},41656:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,Y,J){this.dialogRef=h,this.data=k,this.notificator=L,this.translate=Y,this.groupService=J,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.groups),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.SUBGROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.MEMBER_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0;const h=this.data.groups.map(k=>k.id);this.groupService.deleteGroups({groups:h,forceDelete:this.force}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(k=>{this.notificator.showSuccess(k),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(T.ff))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-delete-group-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(Y){return k.onSubmit(Y)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","groups")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},83491:(Ke,be,d)=>{"use strict";d.d(be,{_:()=>P});var e=d(48966),f=d(9315),g=d(9244),T=d(387),m=d(36908),A=d(5e3),s=d(51062),b=d(69808),O=d(20773),E=d(53251);const h=["*"];let k=(()=>{class i{constructor(){}}return i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=A.Xpm({type:i,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:h,decls:9,vars:2,consts:[[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"d-flex","mb-3"],[1,"w-25"],[1,"w-75","font-italic","text-muted"]],template:function(p,o){1&p&&(A.F$t(),A.TgZ(0,"div",0),A.TgZ(1,"span",1),A._uU(2),A.qZA(),A.TgZ(3,"div",2),A.Hsn(4),A.qZA(),A.qZA(),A.TgZ(5,"div",3),A._UZ(6,"span",4),A.TgZ(7,"div",5),A._uU(8),A.qZA(),A.qZA()),2&p&&(A.xp6(2),A.hij("",o.label,":"),A.xp6(6),A.hij(" ",o.description," "))},styles:[""]}),i})();var L=d(67322),Y=d(98833),J=d(93075),ue=d(77446),ce=d(52170),Le=d(74107),de=d(90508),ke=d(63312),ae=d(74533),V=d(47423),H=d(29772),X=d(25245),ie=d(57706);let oe=(()=>{class i{constructor(p){this.translateService=p}transform(p){switch(p){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+p);default:return p}}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(s.sK,16))},i.\u0275pipe=A.Yjl({name:"applicationFormItemDisabled",type:i,pure:!0}),i})(),ge=(()=>{class i{constructor(p){this.translateService=p}transform(p){switch(p){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+p);default:return p}}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(s.sK,16))},i.\u0275pipe=A.Yjl({name:"applicationFormItemHidden",type:i,pure:!0}),i})();function Ne(i,r){1&i&&A._UZ(0,"mat-spinner",8)}function Fe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(3).applicationFormItem.updatable=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(3);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.updatable)}}function se(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div",13),A.TgZ(1,"mat-form-field",13),A.TgZ(2,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(3).applicationFormItem.federationAttribute=t}),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(3);A.xp6(2),A.Q6J("ngModel",p.applicationFormItem.federationAttribute)}}function Me(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.required=t}),A.qZA(),A.qZA(),A.qZA(),A.YNc(6,Fe,6,7,"div",17),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.TgZ(11,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.perunSourceAttribute=t.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(12,"app-edit-application-form-item-line",12),A.ALo(13,"translate"),A.ALo(14,"translate"),A.TgZ(15,"div",13),A.TgZ(16,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.perunDestinationAttribute=t.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(17,"app-edit-application-form-item-line",12),A.ALo(18,"translate"),A.ALo(19,"translate"),A.TgZ(20,"div",13),A.TgZ(21,"perun-web-apps-selection-item-search-select",24),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).changeFederationAttribute(t)}),A.qZA(),A.qZA(),A.YNc(22,se,3,1,"div",25),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,22,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.required),A.xp6(1),A.Q6J("ngIf",p.typesWithUpdatable.indexOf(p.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(8,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",A.lcZ(9,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",p.attributeDefinitions)("selectedAttribute",p.applicationFormItem.perunSourceAttribute)("asGroup",!!p.data.group)("type",p.itemType.SOURCE),A.xp6(1),A.Q6J("label",A.lcZ(13,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",A.lcZ(14,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",p.attributeDefinitions)("selectedAttribute",p.applicationFormItem.perunDestinationAttribute)("asGroup",!!p.data.group)("type",p.itemType.DESTINATION),A.xp6(1),A.Q6J("label",A.lcZ(18,34,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",A.lcZ(19,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("selectedAttribute",p.applicationFormItem.federationAttribute)("asGroup",!!p.data.group)("type",p.itemType.FEDERATION),A.xp6(1),A.Q6J("ngIf"," -- custom value -- "===p.federationAttributeDN)}}function ve(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.regex=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.regex)}}function me(i,r){if(1&i&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemDisabled"),A.qZA()),2&i){const p=r.$implicit;A.Q6J("value",p),A.xp6(1),A.hij(" ",A.lcZ(2,2,p)," ")}}function Te(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(3).disabledDependencyItem=t}),A.qZA()}if(2&i){const p=A.oxw(3);A.Q6J("item",p.disabledDependencyItem)("items",p.possibleDependencyItems)}}function te(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"mat-select",18),A.NdJ("valueChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.disabled=t}),A.YNc(6,me,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.YNc(11,Te,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",A.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),A.xp6(4),A.Q6J("value",p.applicationFormItem.disabled),A.xp6(1),A.Q6J("ngForOf",p.disabledValues),A.xp6(1),A.Q6J("label",A.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",A.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==p.disabledDependencyItem)}}function R(i,r){if(1&i&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemHidden"),A.qZA()),2&i){const p=r.$implicit;A.Q6J("value",p),A.xp6(1),A.hij(" ",A.lcZ(2,2,p)," ")}}function Oe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).hiddenDependencyItem=t}),A.qZA()}if(2&i){const p=A.oxw(2);A.Q6J("item",p.hiddenDependencyItem)("items",p.possibleDependencyItems)}}function Ie(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",28),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),A.xp6(4),A.Q6J("cdkTextareaAutosize",!0)("ngModel",o.applicationFormItem.i18n[p].label)}}function He(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(6,"app-edit-application-form-item-line",12),A.ALo(7,"translate"),A.ALo(8,"translate"),A.TgZ(9,"mat-form-field",13),A.TgZ(10,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].help=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(11,"app-edit-application-form-item-line",12),A.ALo(12,"translate"),A.ALo(13,"translate"),A.TgZ(14,"mat-form-field",13),A.TgZ(15,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].errorMessage=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].label),A.xp6(1),A.Q6J("label",A.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",A.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].help),A.xp6(1),A.Q6J("label",A.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",A.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].errorMessage)}}function fe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].label)}}function Ce(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A._uU(1),A.ALo(2,"translate"),A.TgZ(3,"mat-form-field"),A.TgZ(4,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p).$implicit[0]=t}),A.qZA(),A.qZA(),A._uU(5),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field"),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p).$implicit[1]=t}),A.qZA(),A.qZA(),A.TgZ(9,"button",37),A.NdJ("click",function(){const n=A.CHM(p).$implicit,c=A.oxw(2).$implicit;return A.oxw(2).removeOption(n,c)}),A.ALo(10,"translate"),A.TgZ(11,"mat-icon"),A._uU(12,"clear"),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=r.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),A.xp6(3),A.Q6J("ngModel",p[0]),A.xp6(1),A.hij(" ",A.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),A.xp6(3),A.Q6J("ngModel",p[1]),A.xp6(1),A.s9C("matTooltip",A.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Ye(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"div",29),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",30),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.TgZ(7,"div",31),A.TgZ(8,"button",32),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).sortOptionsAZ(t)}),A.TgZ(9,"i",33),A._uU(10,"arrow_downward"),A.qZA(),A._uU(11),A.ALo(12,"translate"),A.qZA(),A.TgZ(13,"button",34),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).sortOptionsZA(t)}),A.TgZ(14,"i",33),A._uU(15,"arrow_upward"),A.qZA(),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.qZA(),A.YNc(18,Ce,13,11,"div",35),A.TgZ(19,"button",36),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).addOption(t)}),A._uU(20),A.ALo(21,"translate"),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(2),A.hij(" ",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),": "),A.xp6(3),A.hij(" ",A.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),A.xp6(6),A.hij(" ",A.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),A.xp6(5),A.hij(" ",A.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),A.xp6(2),A.Q6J("ngForOf",o.options[p]),A.xp6(2),A.hij(" ",A.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const Xe=function(){return["HEADING","HTML_COMMENT"]},tt=function(){return["TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},at=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},N=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function he(i,r){if(1&i&&(A.TgZ(0,"mat-tab",11),A.ALo(1,"translate"),A.ALo(2,"uppercase"),A.YNc(3,Ie,6,8,"div",17),A.YNc(4,He,16,21,"div",17),A.YNc(5,fe,6,7,"div",17),A.YNc(6,Ye,22,16,"div",17),A.qZA()),2&i){const p=r.$implicit,o=A.oxw(2);A.s9C("label",A.lcZ(1,5,A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+p))),A.xp6(3),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(9,Xe))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(10,tt))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(11,at))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(12,N)))}}const D=function(){return["TEXTFIELD","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},S=function(){return["TEXTFIELD","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function I(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div",9),A.TgZ(1,"mat-tab-group",10),A.TgZ(2,"mat-tab",11),A.ALo(3,"translate"),A.TgZ(4,"app-edit-application-form-item-line",12),A.ALo(5,"translate"),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field",13),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw().applicationFormItem.shortname=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(9,"app-edit-application-form-item-line",12),A.ALo(10,"translate"),A.ALo(11,"translate"),A._uU(12),A.ALo(13,"applicationFormItemType"),A.qZA(),A.TgZ(14,"app-edit-application-form-item-line",12),A.ALo(15,"translate"),A.ALo(16,"translate"),A.TgZ(17,"section"),A.TgZ(18,"mat-checkbox",15),A.NdJ("change",function(){return A.CHM(p),A.oxw().onChangingType("INITIAL")}),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-checkbox",16),A.NdJ("change",function(){return A.CHM(p),A.oxw().onChangingType("EXTENSION")}),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.qZA(),A.qZA(),A.YNc(24,Me,23,38,"div",17),A.YNc(25,ve,6,7,"div",17),A.YNc(26,te,12,15,"div",17),A.TgZ(27,"app-edit-application-form-item-line",12),A.ALo(28,"translate"),A.ALo(29,"translate"),A.TgZ(30,"mat-form-field",13),A.TgZ(31,"mat-select",18),A.NdJ("valueChange",function(t){return A.CHM(p),A.oxw().applicationFormItem.hidden=t}),A.YNc(32,R,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(33,"app-edit-application-form-item-line",12),A.ALo(34,"translate"),A.ALo(35,"translate"),A.TgZ(36,"div",13),A.YNc(37,Oe,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA(),A.YNc(38,he,7,13,"mat-tab",21),A.qZA(),A.qZA()}if(2&i){const p=A.oxw();A.xp6(2),A.s9C("label",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),A.xp6(2),A.Q6J("label",A.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",A.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.shortname),A.xp6(1),A.Q6J("label",A.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",A.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),A.xp6(3),A.hij(" ",A.lcZ(13,34,p.applicationFormItem.type)," "),A.xp6(2),A.Q6J("label",A.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",A.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.applicationTypes.includes("INITIAL")),A.xp6(1),A.hij(" ",A.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),A.xp6(2),A.Q6J("ngModel",p.applicationFormItem.applicationTypes.includes("EXTENSION")),A.xp6(1),A.hij(" ",A.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),A.xp6(2),A.Q6J("ngIf",p.isApplicationFormItemOfType(A.DdM(52,D))),A.xp6(1),A.Q6J("ngIf",p.isApplicationFormItemOfType(A.DdM(53,S))),A.xp6(1),A.Q6J("ngIf",p.typesWithDisabled.indexOf(p.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",A.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),A.xp6(4),A.Q6J("value",p.applicationFormItem.hidden),A.xp6(1),A.Q6J("ngForOf",p.hiddenValues),A.xp6(1),A.Q6J("label",A.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",A.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==p.hiddenDependencyItem),A.xp6(1),A.Q6J("ngForOf",p.languages)}}let P=(()=>{class i{constructor(p,o,t,n,c,u){this.dialogRef=p,this.data=o,this.attributesManager=t,this.translateService=n,this.store=c,this.cd=u,this.federationAttributeDN="",this.itemType=T.qG,this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(p=>p.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=T.Sx),this.disabledDependencyItem=this.data.allItems.find(p=>p.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=T.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,g.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(p=>{this.attributeDefinitions=p,this.loading=!1},()=>this.loading=!1),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}getPossibleDepItems(){return[T.Sx].concat(this.data.allItems.filter(p=>this.dependencyTypes.indexOf(p.type)>-1).filter(p=>p.id!==this.data.applicationFormItem.id))}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===T.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===T.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(p){if(this.applicationFormItem.applicationTypes.includes(p)){const o=this.applicationFormItem.applicationTypes.indexOf(p);this.applicationFormItem.applicationTypes.splice(o,1)}else this.applicationFormItem.applicationTypes.push(p)}addOption(p){this.options[p].push(["",""])}removeOption(p,o){this.options[o]=this.options[o].filter(t=>!(t[0]===p[0]&&t[1]===p[1]))}updateOption(p){let o="";if(this.options&&this.options[p])for(const t of this.options[p])""!==t[0]&&""!==t[1]&&(o=""===o?t[0]+"#"+t[1]:o+"|"+t[0]+"#"+t[1]);this.applicationFormItem.i18n[p].options=o}updateOptions(){for(const p of this.languages)this.updateOption(p)}changeFederationAttribute(p){this.applicationFormItem.federationAttribute=p.value,this.federationAttributeDN=p.displayName,this.cd.detectChanges()}copy(p,o){o.applicationTypes=p.applicationTypes,o.federationAttribute=p.federationAttribute,o.forDelete=p.forDelete;for(const t of this.languages)o.i18n[t].errorMessage=p.i18n[t].errorMessage,o.i18n[t].help=p.i18n[t].help,o.i18n[t].label=p.i18n[t].label,o.i18n[t].options=p.i18n[t].options;o.id=p.id,o.ordnum=p.ordnum,o.perunDestinationAttribute=p.perunDestinationAttribute,o.perunSourceAttribute=p.perunSourceAttribute,o.regex=p.regex,o.required=p.required,o.shortname=p.shortname,o.type=p.type,o.updatable=p.updatable,o.disabled=p.disabled,o.hidden=p.hidden,o.disabledDependencyItemId=p.disabledDependencyItemId,o.hiddenDependencyItemId=p.hiddenDependencyItemId}sortOptionsAZ(p){this.options[p]=this.options[p].sort((o,t)=>o[1]>t[1]?1:o[1]o[1]>t[1]?-1:o[1]-1}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(e.so),A.Y36(e.WI),A.Y36(f.H8),A.Y36(s.sK),A.Y36(m.d6),A.Y36(A.sBO))},i.\u0275cmp=A.Xpm({type:i,selectors:[["app-edit-application-form-item-dialog"]],decls:16,vars:20,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","accent","data-cy","edit-form-item-button-dialog",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"attributes","selectedAttribute","asGroup","type","itemSelected"],[3,"selectedAttribute","asGroup","type","itemSelected"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(p,o){1&p&&(A.TgZ(0,"div"),A.TgZ(1,"div",0),A.TgZ(2,"h1",1),A._uU(3),A.ALo(4,"translate"),A.qZA(),A.YNc(5,Ne,1,0,"mat-spinner",2),A.YNc(6,I,39,54,"div",3),A.TgZ(7,"div",4),A.TgZ(8,"button",5),A.NdJ("click",function(){return o.cancel()}),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"div",6),A.ALo(12,"translate"),A.TgZ(13,"button",7),A.NdJ("click",function(){return o.submit()}),A._uU(14),A.ALo(15,"translate"),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.qZA()),2&p&&(A.Gre("",o.theme," h-100"),A.xp6(3),A.AsE(" ",A.lcZ(4,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",o.applicationFormItem.shortname," "),A.xp6(2),A.Q6J("ngIf",o.loading),A.xp6(1),A.Q6J("ngIf",!o.loading),A.xp6(3),A.hij(" ",A.lcZ(10,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(12,16,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON_DISABLED_TOOLTIP")),A.Q6J("matTooltipDisabled",!o.applicationFormItem.required||""!==o.applicationFormItem.perunSourceAttribute||""!==o.applicationFormItem.federationAttribute||"ALWAYS"!==o.applicationFormItem.disabled&&"ALWAYS"!==o.applicationFormItem.hidden),A.xp6(2),A.Q6J("disabled",o.loading||o.applicationFormItem.required&&""===o.applicationFormItem.perunSourceAttribute&&""===o.applicationFormItem.federationAttribute&&("ALWAYS"===o.applicationFormItem.disabled||"ALWAYS"===o.applicationFormItem.hidden)),A.xp6(1),A.hij(" ",A.lcZ(15,18,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[e.uh,b.O5,O.$g,e.xY,E.SP,E.uX,k,L.KE,Y.Nt,J.Fj,J.JJ,J.On,ue.oG,ce.$x,Le.gD,b.sg,de.ey,ke.Y,ae.IC,V.lW,H.gM,X.Hw,e.H8],pipes:[s.X$,ie.c,oe,ge,b.gd],styles:[""]}),i})()},19352:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>se});var e=d(9315),f=d(48966),g=d(36908),T=d(32075),m=d(9244),A=d(84379),s=d(69808),b=d(5e3),O=d(51062),E=d(20773),h=d(47423),k=d(25245),L=d(29772),Y=d(31359);function J(Me,ve){1&Me&&b._UZ(0,"mat-spinner",6)}function ue(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")," "))}function ce(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b._uU(1),b.qZA()),2&Me){const me=ve.$implicit;b.xp6(1),b.Oqu(me.user.id)}}function Le(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")," "))}function de(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b._uU(1),b.ALo(2,"userFullName"),b.qZA()),2&Me){const me=ve.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,me.user))}}function ke(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")," "))}function ae(Me,ve){if(1&Me){const me=b.EpF();b.TgZ(0,"button",20),b.NdJ("click",function(){b.CHM(me);const te=b.oxw().$implicit;return b.oxw(2).changeExpiration(te)}),b.TgZ(1,"mat-icon"),b._uU(2," today "),b.qZA(),b.qZA()}}function V(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.YNc(3,ae,3,0,"button",19),b.qZA()),2&Me){const me=ve.$implicit,Te=b.oxw(2);b.xp6(2),b.Oqu(Te.parseDate(me.validityTo)),b.xp6(1),b.Q6J("ngIf",Te.isExpirationAuthorized(me))}}function H(Me,ve){1&Me&&b._UZ(0,"th",17)}function X(Me,ve){1&Me&&(b.TgZ(0,"mat-icon",25),b._uU(1,"clear"),b.qZA())}function ie(Me,ve){1&Me&&(b.TgZ(0,"mat-icon"),b._uU(1,"settings_backup_restore"),b.qZA())}function oe(Me,ve){if(1&Me){const me=b.EpF();b.TgZ(0,"td",18),b.TgZ(1,"div",21),b.ALo(2,"translate"),b.TgZ(3,"button",22),b.NdJ("click",function(){const R=b.CHM(me).$implicit;return b.oxw(2).markSponsor(R)}),b.YNc(4,X,2,0,"mat-icon",23),b.YNc(5,ie,2,0,"mat-icon",24),b.qZA(),b.qZA(),b.qZA()}if(2&Me){const me=ve.$implicit,Te=b.oxw(2);b.xp6(1),b.s9C("matTooltip",b.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",Te.isRemoveAuthorized(me)),b.xp6(2),b.Q6J("disabled",!Te.isRemoveAuthorized(me)),b.xp6(1),b.Q6J("ngIf",!Te.sponsorsToRemove.has(me.user.id)),b.xp6(1),b.Q6J("ngIf",Te.sponsorsToRemove.has(me.user.id))}}function ge(Me,ve){1&Me&&b._UZ(0,"tr",26)}function Ne(Me,ve){if(1&Me&&b._UZ(0,"tr",27),2&Me){const me=ve.$implicit,Te=b.oxw(2);b.ekj("make-red",Te.sponsorsToRemove.has(me.user.id))}}function Fe(Me,ve){if(1&Me&&(b.TgZ(0,"div",7),b.TgZ(1,"table",8),b.ynx(2,9),b.YNc(3,ue,3,3,"th",10),b.YNc(4,ce,2,1,"td",11),b.BQk(),b.ynx(5,12),b.YNc(6,Le,3,3,"th",10),b.YNc(7,de,3,3,"td",11),b.BQk(),b.ynx(8,13),b.YNc(9,ke,3,3,"th",10),b.YNc(10,V,4,2,"td",11),b.BQk(),b.ynx(11,14),b.YNc(12,H,1,0,"th",10),b.YNc(13,oe,6,8,"td",11),b.BQk(),b.YNc(14,ge,1,0,"tr",15),b.YNc(15,Ne,1,2,"tr",16),b.qZA(),b.qZA()),2&Me){const me=b.oxw();b.xp6(1),b.Q6J("dataSource",me.dataSource),b.xp6(13),b.Q6J("matHeaderRowDef",me.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",me.displayedColumns)}}let se=(()=>{class Me{constructor(me,Te,te,R,Oe,Ie,He,fe){this.dialogRef=me,this.data=Te,this.memberService=te,this.userService=R,this.notificator=Oe,this.authResolver=Ie,this.translate=He,this.dialog=fe,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new T.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(me){this.sponsorsToRemove.has(me.user.id)?this.sponsorsToRemove.delete(me.user.id):this.sponsorsToRemove.add(me.user.id)}removeSponsors(me){if(0===me.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Te=me.pop();this.memberService.removeSponsor(this.data.member.id,Te).subscribe(()=>{this.removeSponsors(me)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const me=Array.from(this.sponsorsToRemove);this.removeSponsors(me)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(me){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[me.user])}isExpirationAuthorized(me){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[me.user,this.vo])}parseDate(me){return null===me?"Never expire":(0,s.p6)(me,"d.M.y","en")}changeExpiration(me){const Te=(0,m.kZ)();Te.width="400px",Te.data={memberId:this.data.member.id,sponsor:me},this.dialog.open(A.hd,Te).afterClosed().subscribe(R=>{R&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(Oe=>{this.sponsors=Oe,this.dataSource=new T.by(this.sponsors),this.loading=!1}))})}}return Me.\u0275fac=function(me){return new(me||Me)(b.Y36(f.so),b.Y36(f.WI),b.Y36(e.uq),b.Y36(e.Fv),b.Y36(g.V6),b.Y36(g.x4),b.Y36(O.sK),b.Y36(f.uw))},Me.\u0275cmp=b.Xpm({type:Me,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(me,Te){1&me&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.YNc(4,J,1,0,"mat-spinner",1),b.YNc(5,Fe,16,3,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Te.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Te.onSubmit()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&me&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),b.xp6(2),b.Tol(Te.theme),b.xp6(1),b.Q6J("ngIf",Te.loading),b.xp6(1),b.Q6J("ngIf",!Te.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Te.loading||0===Te.sponsorsToRemove.size),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT")," "))},directives:[f.uh,s.O5,E.$g,f.xY,T.BZ,T.w1,T.fO,T.ge,T.Dz,T.ev,h.lW,k.Hw,L.gM,T.as,T.XQ,T.nj,T.Gk,f.H8],pipes:[O.X$,Y.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:gray}"]}),Me})()},74414:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>ae});var e=d(48966),f=d(93075),g=d(9315),T=d(36908),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(67322),E=d(98833),h=d(74107),k=d(90508),L=d(47423);function Y(V,H){1&V&&m._UZ(0,"mat-spinner",6)}function J(V,H){1&V&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function ue(V,H){1&V&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function ce(V,H){1&V&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function Le(V,H){1&V&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&V&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function de(V,H){if(1&V&&(m.TgZ(0,"mat-option",15),m._uU(1),m.ALo(2,"translate"),m.ALo(3,"uppercase"),m.qZA()),2&V){const X=H.$implicit;m.s9C("value",X),m.xp6(1),m.Oqu(m.lcZ(2,2,m.lcZ(3,4,"SHARED_LIB.LANGUAGES."+X)))}}function ke(V,H){if(1&V){const X=m.EpF();m.TgZ(0,"div",7),m.YNc(1,J,3,3,"div",8),m.YNc(2,ue,3,3,"div",8),m.TgZ(3,"mat-form-field",9),m._UZ(4,"input",10),m.ALo(5,"translate"),m.YNc(6,ce,3,3,"mat-error",11),m.qZA(),m.TgZ(7,"mat-form-field",9),m._UZ(8,"textarea",10),m.ALo(9,"translate"),m.YNc(10,Le,3,3,"mat-error",11),m.qZA(),m.TgZ(11,"mat-form-field",9),m.TgZ(12,"mat-label"),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.TgZ(15,"mat-select",12),m.NdJ("valueChange",function(oe){return m.CHM(X),m.oxw().currentLanguage=oe}),m.YNc(16,de,4,6,"mat-option",13),m.qZA(),m.qZA(),m.qZA()}if(2&V){const X=m.oxw();m.xp6(1),m.Q6J("ngIf",!X.data.groupId),m.xp6(1),m.Q6J("ngIf",X.data.groupId),m.xp6(2),m.s9C("placeholder",m.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),m.Q6J("formControl",X.name),m.xp6(2),m.Q6J("ngIf",X.name.invalid),m.xp6(2),m.s9C("placeholder",m.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),m.Q6J("formControl",X.emailForm),m.xp6(2),m.Q6J("ngIf",X.emailForm.invalid),m.xp6(3),m.Oqu(m.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),m.xp6(2),m.Q6J("value",X.currentLanguage),m.xp6(1),m.Q6J("ngForOf",X.languages)}}let ae=(()=>{class V{constructor(X,ie,oe,ge,Ne,Fe){this.dialogRef=X,this.data=ie,this.registrarManager=oe,this.notificator=ge,this.translate=Ne,this.store=Fe,this.emailForm=new f.NI("",[f.kI.required,f.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new f.NI("",f.kI.required),this.loading=!1}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.emailForm.invalid||this.name.invalid||(this.data.voId&&!this.data.groupId?(this.loading=!0,this.registrarManager.sendInvitation(this.emailForm.value,this.currentLanguage,this.data.voId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(X=>{this.notificator.showSuccess(X),this.dialogRef.close(!0)})},()=>this.loading=!1)):(this.loading=!0,this.registrarManager.sendInvitationForGroup(this.emailForm.value,this.currentLanguage,this.data.voId,this.data.groupId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(X=>{this.notificator.showSuccess(X),this.dialogRef.close(!0)})},()=>this.loading=!1)))}}return V.\u0275fac=function(X){return new(X||V)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.tk),m.Y36(T.V6),m.Y36(A.sK),m.Y36(T.d6))},V.\u0275cmp=m.Xpm({type:V,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(X,ie){1&X&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,Y,1,0,"mat-spinner",1),m.YNc(5,ke,17,17,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return ie.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return ie.onSubmit()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&X&&(m.Tol(ie.theme),m.xp6(2),m.Oqu(m.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),m.xp6(2),m.Q6J("ngIf",ie.loading),m.xp6(1),m.Q6J("ngIf",!ie.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",ie.emailForm.invalid||ie.name.invalid||ie.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[e.uh,s.O5,b.$g,e.xY,O.KE,E.Nt,f.Fj,f.Q7,f.JJ,f.oH,O.TO,O.hX,h.gD,s.sg,k.ey,e.H8,L.lW],pipes:[A.X$,s.gd],styles:[""]}),V})()},87842:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>oe});var e=d(48966),f=d(93075),g=d(1059),T=d(24850),m=d(36769),A=d(36908),s=d(9315),b=d(5e3),O=d(51062),E=d(79814),h=d(69808),k=d(98380),L=d(67322),Y=d(98833),J=d(91079),ue=d(90508),ce=d(20773),Le=d(47423),de=d(29772);function ke(ge,Ne){1&ge&&(b.TgZ(0,"mat-radio-button",12),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function ae(ge,Ne){1&ge&&(b.TgZ(0,"mat-radio-button",13),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function V(ge,Ne){1&ge&&(b.TgZ(0,"app-alert",14),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function H(ge,Ne){if(1&ge){const Fe=b.EpF();b.TgZ(0,"mat-option",20),b.NdJ("click",function(){const ve=b.CHM(Fe).$implicit;return b.oxw(2).selectedGroup=ve}),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.qZA()}if(2&ge){const Fe=Ne.$implicit;b.Q6J("value",Fe),b.xp6(2),b.Oqu(Fe.name)}}function X(ge,Ne){if(1&ge){const Fe=b.EpF();b.TgZ(0,"mat-form-field",15),b.TgZ(1,"input",16),b.NdJ("change",function(){return b.CHM(Fe),b.oxw().selectedGroup=null}),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"mat-autocomplete",17,18),b.YNc(5,H,3,2,"mat-option",19),b.ALo(6,"async"),b.qZA(),b.qZA()}if(2&ge){const Fe=b.MAs(4),se=b.oxw();b.Q6J("@openClose","toGroup"===se.moveOption?"open":"closed"),b.xp6(1),b.s9C("placeholder",b.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),b.Q6J("matAutocomplete",Fe)("formControl",se.otherGroupsCtrl),b.xp6(2),b.Q6J("displayWith",se.displayFn),b.xp6(2),b.Q6J("ngForOf",b.lcZ(6,8,se.filteredGroups))}}function ie(ge,Ne){1&ge&&b._UZ(0,"mat-spinner",21)}let oe=(()=>{class ge{constructor(Fe,se,Me,ve,me,Te,te){this.dialogRef=Fe,this.data=se,this.groupService=Me,this.notificator=ve,this.translate=me,this.apiRequest=Te,this.authResolver=te,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new f.NI(null,[f.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(R=>this.successMessage=R),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(R=>this.errorMessage=R)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(Fe=>{this.otherGroups=Fe.filter(se=>se.id!==this.data.group.id&&"members"!==se.name&&this.canMove(se)),0===this.otherGroups.length&&(this.toGroupOptionDisabled=!0),(null===this.data.group.parentGroupId||!this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.data.group]))&&(this.toRootOptionDisabled=!0,this.moveOption="toGroup"),this.filteredGroups=this.otherGroupsCtrl.valueChanges.pipe((0,g.O)(""),(0,T.U)(se=>se?this._filterGroups(se):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(Fe){return Fe&&Fe.name}_filterGroups(Fe){if("object"==typeof Fe)return[];const se=Fe.toLowerCase();return Fe?this.otherGroups.filter(Me=>Me.name.toLowerCase().indexOf(se)>-1):this.otherGroups}canMove(Fe){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[Fe,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,Fe])}close(){this.dialogRef.close()}confirm(){this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.groupService.moveGroupWithDestinationGroupMovingGroup(this.data.group.id,this.otherGroupsCtrl.value?this.otherGroupsCtrl.value.id:void 0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},Fe=>{this.notificator.showRPCError(Fe,this.errorMessage),this.dialogRef.close(!1)})}}return ge.\u0275fac=function(Fe){return new(Fe||ge)(b.Y36(e.so),b.Y36(e.WI),b.Y36(s.ff),b.Y36(A.V6),b.Y36(O.sK),b.Y36(A.F5),b.Y36(A.x4))},ge.\u0275cmp=b.Xpm({type:ge,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(Fe,se){1&Fe&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",1),b.TgZ(5,"p"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.TgZ(8,"mat-radio-group",2),b.NdJ("ngModelChange",function(ve){return se.moveOption=ve}),b.YNc(9,ke,3,3,"mat-radio-button",3),b.YNc(10,ae,3,3,"mat-radio-button",4),b.qZA(),b.YNc(11,V,3,3,"app-alert",5),b.YNc(12,X,7,10,"mat-form-field",6),b.qZA(),b.YNc(13,ie,1,0,"mat-spinner",7),b.TgZ(14,"div",8),b.TgZ(15,"button",9),b.NdJ("click",function(){return se.close()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"span",10),b.ALo(19,"translate"),b.TgZ(20,"button",11),b.NdJ("click",function(){return se.confirm()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()),2&Fe&&(b.Tol(se.data.theme),b.xp6(2),b.AsE("",b.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",se.data.group.name,""),b.xp6(4),b.hij(" ",b.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),b.xp6(2),b.Q6J("ngModel",se.moveOption),b.xp6(1),b.Q6J("ngIf",!se.toRootOptionDisabled),b.xp6(1),b.Q6J("ngIf",!se.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",se.toRootOptionDisabled&&se.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",!se.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",se.loading),b.xp6(3),b.hij(" ",b.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==se.selectedGroup||"toRoot"===se.moveOption),b.xp6(2),b.Q6J("disabled",(se.otherGroupsCtrl.invalid||null===se.selectedGroup)&&"toRoot"!==se.moveOption||se.loading),b.xp6(1),b.hij(" ",b.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[e.uh,e.xY,E.VQ,f.JJ,f.On,h.O5,E.U0,k.w,L.KE,Y.Nt,J.ZL,f.Fj,f.Q7,f.oH,J.XC,h.sg,ue.ey,ce.$g,e.H8,Le.lW,de.gM],pipes:[O.X$,h.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[m.BQ]}}),ge})()},58964:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>ce});var e=d(48966),f=d(9315),g=d(36908),T=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(67322),O=d(74107),E=d(90508),h=d(47423);function k(Le,de){1&Le&&T._UZ(0,"mat-spinner",7)}function L(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",ke.friendlyNameParameter," ")}}function Y(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"uppercase"),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",T.lcZ(2,2,T.lcZ(3,4,"SHARED_LIB.LANGUAGES."+ke))," ")}}function J(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",ke," ")}}function ue(Le,de){if(1&Le){const ke=T.EpF();T.TgZ(0,"div",8),T.TgZ(1,"mat-form-field"),T.TgZ(2,"mat-label"),T._uU(3),T.ALo(4,"translate"),T.qZA(),T.TgZ(5,"mat-select",9),T.NdJ("valueChange",function(V){return T.CHM(ke),T.oxw().selectedLogin=V}),T.YNc(6,L,2,2,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(7,"mat-form-field"),T.TgZ(8,"mat-label"),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.TgZ(11,"mat-select",9),T.NdJ("valueChange",function(V){return T.CHM(ke),T.oxw().selectedLang=V}),T.YNc(12,Y,4,6,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(13,"mat-form-field"),T.TgZ(14,"mat-label"),T._uU(15),T.ALo(16,"translate"),T.qZA(),T.TgZ(17,"mat-select",9),T.NdJ("valueChange",function(V){return T.CHM(ke),T.oxw().selectedMail=V}),T.YNc(18,J,2,2,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(19,"div",11),T.TgZ(20,"p",12),T._uU(21),T.ALo(22,"translate"),T.qZA(),T.TgZ(23,"p"),T._uU(24),T.qZA(),T.qZA(),T.qZA()}if(2&Le){const ke=T.oxw();T.xp6(3),T.Oqu(T.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),T.xp6(2),T.Q6J("value",ke.selectedLogin),T.xp6(1),T.Q6J("ngForOf",ke.logins),T.xp6(3),T.Oqu(T.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),T.xp6(2),T.Q6J("value",ke.selectedLang),T.xp6(1),T.Q6J("ngForOf",ke.languages),T.xp6(3),T.Oqu(T.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),T.xp6(2),T.Q6J("value",ke.selectedMail),T.xp6(1),T.Q6J("ngForOf",ke.mails),T.xp6(3),T.Oqu(T.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),T.xp6(3),T.Oqu(ke.selectedLogin.value)}}let ce=(()=>{class Le{constructor(ke,ae,V,H,X,ie,oe){this.dialogRef=ke,this.data=ae,this.membersManagerService=V,this.attributesManagerService=H,this.store=X,this.translate=ie,this.notificator=oe,this.languages=this.store.get("supported_languages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],ie.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(ge=>this.successMessage=ge)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}getMailAttributes(){this.pwdMails.set("user:preferredMail","urn:perun:user:attribute-def:def:preferredMail"),this.pwdMails.set("member:mail","urn:perun:member:attribute-def:def:mail"),this.mails=Array.from(this.pwdMails.keys()),this.selectedMail="user:preferredMail"}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0;const ke=this.selectedLogin.friendlyNameParameter,V=window.location.href.split("/"),H=V[0]+"//"+V[2];this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,ke,this.pwdMails.get(this.selectedMail),this.selectedLang,H).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}}return Le.\u0275fac=function(ke){return new(ke||Le)(T.Y36(e.so),T.Y36(e.WI),T.Y36(f.uq),T.Y36(f.H8),T.Y36(g.d6),T.Y36(m.sK),T.Y36(g.V6))},Le.\u0275cmp=T.Xpm({type:Le,selectors:[["app-password-reset-request-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],[1,"member-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container member-theme","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container","member-theme"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"row"],[1,"column-size","ml-3"],[3,"value"]],template:function(ke,ae){1&ke&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.YNc(4,k,1,0,"mat-spinner",2),T.qZA(),T.YNc(5,ue,25,19,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"button",5),T.NdJ("click",function(){return ae.onCancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",6),T.NdJ("click",function(){return ae.onSubmit()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA()),2&ke&&(T.xp6(1),T.Oqu(T.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),T.xp6(3),T.Q6J("ngIf",ae.loading),T.xp6(1),T.Q6J("ngIf",!ae.loading),T.xp6(3),T.hij(" ",T.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),T.xp6(2),T.Q6J("disabled",ae.loading),T.xp6(1),T.hij(" ",T.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.KE,b.hX,O.gD,A.sg,E.ey,e.H8,h.lW],pipes:[m.X$,A.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),Le})()},53455:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>ke});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(47423),E=d(31359);function h(ae,V){1&ae&&m._UZ(0,"th",13)}function k(ae,V){if(1&ae&&(m.TgZ(0,"td",14),m._uU(1),m.qZA()),2&ae){const H=V.$implicit;m.xp6(1),m.Oqu(H.id)}}function L(ae,V){1&ae&&m._UZ(0,"th",13)}function Y(ae,V){if(1&ae&&(m.TgZ(0,"td",14),m._uU(1),m.ALo(2,"userFullName"),m.qZA()),2&ae){const H=V.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,H.user))}}function J(ae,V){1&ae&&m._UZ(0,"tr",15)}function ue(ae,V){1&ae&&m._UZ(0,"tr",16)}function ce(ae,V){if(1&ae&&(m.TgZ(0,"div",4),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",5),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",6),m.ynx(8,7),m.YNc(9,h,1,0,"th",8),m.YNc(10,k,2,1,"td",9),m.BQk(),m.ynx(11,10),m.YNc(12,L,1,0,"th",8),m.YNc(13,Y,3,3,"td",9),m.BQk(),m.YNc(14,J,1,0,"tr",11),m.YNc(15,ue,1,0,"tr",12),m.qZA(),m.qZA()),2&ae){const H=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,5,H.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),m.xp6(2),m.Q6J("dataSource",H.dataSource),m.xp6(7),m.Q6J("matHeaderRowDef",H.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",H.displayedColumns)}}function Le(ae,V){1&ae&&m._UZ(0,"mat-spinner",17)}function de(ae,V){if(1&ae){const H=m.EpF();m.TgZ(0,"div",18),m.TgZ(1,"button",19),m.NdJ("click",function(){return m.CHM(H),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",20),m.NdJ("click",function(){return m.CHM(H),m.oxw().onSubmit()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&ae){const H=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(6,4,H.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let ke=(()=>{class ae{constructor(H,X,ie,oe,ge,Ne){this.dialogRef=H,this.data=X,this.membersService=ie,this.groupService=oe,this.notificator=ge,this.translate=Ne,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.members)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.groupId?this.groupService.removeMembers(this.data.groupId,this.data.members.map(H=>H.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(H=>H.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const H=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(H),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return ae.\u0275fac=function(H){return new(H||ae)(m.Y36(e.so),m.Y36(e.WI),m.Y36(T.uq),m.Y36(T.ff),m.Y36(g.V6),m.Y36(A.sK))},ae.\u0275cmp=m.Xpm({type:ae,selectors:[["app-remove-members-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members-dialog",1,"ml-2",3,"click"]],template:function(H,X){1&H&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,ce,16,9,"div",1),m.YNc(5,Le,1,0,"mat-spinner",2),m.YNc(6,de,7,6,"div",3),m.qZA()),2&H&&(m.Tol(X.theme),m.xp6(2),m.Oqu(m.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),m.xp6(2),m.Q6J("ngIf",!X.loading),m.xp6(1),m.Q6J("ngIf",X.loading),m.xp6(1),m.Q6J("ngIf",!X.loading))},directives:[e.uh,s.O5,e.xY,f.BZ,f.w1,f.fO,f.ge,f.Dz,f.ev,f.as,f.XQ,f.nj,f.Gk,b.$g,e.H8,O.lW],pipes:[A.X$,E.d],styles:[""]}),ae})()},533:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,Y,J){this.dialogRef=h,this.data=k,this.notificator=L,this.translate=Y,this.resourcesManager=J,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,0===this.data.resources.length?this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(h=>{this.loading=!1,this.notificator.showSuccess(h),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(h){h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(T.xk))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-remove-resource-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","disableForce","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(Y){return k.onSubmit(Y)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","resources")("disableForce",!0)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},11717:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,Y,J){this.dialogRef=h,this.data=k,this.notificator=L,this.voService=Y,this.translate=J,this.force=!1,this.displayedColumns=["name"],this.relations=[],J.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(ue=>this.successMessage=ue)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.vos),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.GROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.MEMBER_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.RESOURCE_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,this.voService.deleteVo(this.data.vos[0].id,this.force).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(T.YF),m.Y36(A.sK))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-remove-vo-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(Y){return k.onSubmit(Y)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","organizations")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),O})()},1186:(Ke,be,d)=>{"use strict";d.d(be,{E:()=>ue});var e=d(48966),f=d(9315),g=d(5e3),T=d(69808),m=d(20773),A=d(67322),s=d(98833),b=d(93075),O=d(74107),E=d(90508),h=d(47423),k=d(51062);function L(ce,Le){1&ce&&g._UZ(0,"mat-spinner",6)}function Y(ce,Le){if(1&ce){const de=g.EpF();g.TgZ(0,"div"),g.TgZ(1,"mat-form-field",9),g.TgZ(2,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw(2).embeddedState=ae}),g.ALo(3,"translate"),g.TgZ(4,"mat-option",11),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.TgZ(7,"mat-option",12),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&ce){const de=g.oxw(2);g.xp6(2),g.MGl("placeholder","",g.lcZ(3,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),":"),g.Q6J("value",de.embeddedState),g.xp6(3),g.Oqu(g.lcZ(6,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(9,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function J(ce,Le){if(1&ce){const de=g.EpF();g.TgZ(0,"div",7),g.TgZ(1,"mat-form-field"),g.TgZ(2,"input",8),g.NdJ("ngModelChange",function(ae){return g.CHM(de),g.oxw().moduleName=ae}),g.ALo(3,"translate"),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",9),g.TgZ(5,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw().initialState=ae}),g.ALo(6,"translate"),g.TgZ(7,"mat-option",11),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"mat-option",12),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(13,"mat-form-field",9),g.TgZ(14,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw().extensionState=ae}),g.ALo(15,"translate"),g.TgZ(16,"mat-option",11),g._uU(17),g.ALo(18,"translate"),g.qZA(),g.TgZ(19,"mat-option",12),g._uU(20),g.ALo(21,"translate"),g.qZA(),g.qZA(),g.qZA(),g.YNc(22,Y,10,10,"div",13),g.qZA()}if(2&ce){const de=g.oxw();g.xp6(2),g.s9C("placeholder",g.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),g.Q6J("ngModel",de.moduleName),g.xp6(3),g.MGl("placeholder","",g.lcZ(6,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),":"),g.Q6J("value",de.initialState),g.xp6(3),g.Oqu(g.lcZ(9,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(12,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(3),g.MGl("placeholder","",g.lcZ(15,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),":"),g.Q6J("value",de.extensionState),g.xp6(3),g.Oqu(g.lcZ(18,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(21,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(2),g.Q6J("ngIf","group"===de.entity&&de.autoRegistrationEnabled)}}let ue=(()=>{class ce{constructor(de,ke,ae){this.dialogRef=de,this.data=ke,this.registrarManager=ae,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.applicationForm=this.data.applicationForm,this.moduleName=this.applicationForm.moduleClassName,this.initialState=this.applicationForm.automaticApproval?"auto":"manual",this.extensionState=this.applicationForm.automaticApprovalExtension?"auto":"manual",this.embeddedState=this.applicationForm.automaticApprovalEmbedded?"auto":"manual",this.entity=this.data.entity,this.autoRegistrationEnabled=this.data.autoRegistrationEnabled}onCancel(){this.dialogRef.close()}submit(){this.loading=!0,this.applicationForm.moduleClassName=this.moduleName,this.applicationForm.automaticApproval="auto"===this.initialState,this.applicationForm.automaticApprovalExtension="auto"===this.extensionState,this.applicationForm.automaticApprovalEmbedded="auto"===this.embeddedState,this.registrarManager.updateForm({form:this.applicationForm}).subscribe(de=>{this.dialogRef.close(de)},()=>this.loading=!1)}}return ce.\u0275fac=function(de){return new(de||ce)(g.Y36(e.so),g.Y36(e.WI),g.Y36(f.tk))},ce.\u0275cmp=g.Xpm({type:ce,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","placeholder","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","placeholder","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(de,ke){1&de&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,L,1,0,"mat-spinner",1),g.YNc(5,J,23,25,"div",2),g.TgZ(6,"div",3),g.TgZ(7,"button",4),g.NdJ("click",function(){return ke.onCancel()}),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"button",5),g.NdJ("click",function(){return ke.submit()}),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA()),2&de&&(g.Tol(ke.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),g.xp6(2),g.Q6J("ngIf",ke.loading),g.xp6(1),g.Q6J("ngIf",!ke.loading),g.xp6(3),g.hij(" ",g.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),g.xp6(2),g.Q6J("disabled",ke.loading),g.xp6(1),g.hij(" ",g.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[e.uh,T.O5,m.$g,e.xY,A.KE,s.Nt,b.Fj,b.JJ,b.On,O.gD,E.ey,e.H8,h.lW],pipes:[k.X$],styles:[""]}),ce})()},57706:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class T{constructor(A){this.translateService=A,this.returnData=""}transform(A){switch(A){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(s=>{this.returnData=s});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(s=>{this.returnData=s});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(s=>{this.returnData=s});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(s=>{this.returnData=s});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(s=>{this.returnData=s});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(s=>{this.returnData=s});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(s=>{this.returnData=s});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(s=>{this.returnData=s});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(s=>{this.returnData=s});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(s=>{this.returnData=s});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(s=>{this.returnData=s});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(s=>{this.returnData=s});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(s=>{this.returnData=s});break;default:return A}return this.returnData}}return T.\u0275fac=function(A){return new(A||T)(e.Y36(f.sK,16))},T.\u0275pipe=e.Yjl({name:"applicationFormItemType",type:T,pure:!0}),T})()},43157:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class T{constructor(A){this.translate=A,this.returnData=""}transform(A){switch(A){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(s=>{this.returnData=`done${s}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(s=>{this.returnData=`clear${s}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(s=>{this.returnData=`contact_mail ${s}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(s=>{this.returnData=`gavel${s}`});break;default:this.returnData=A}return this.returnData}}return T.\u0275fac=function(A){return new(A||T)(e.Y36(f.sK,16))},T.\u0275pipe=e.Yjl({name:"applicationState",type:T,pure:!1}),T})()},37677:(Ke,be,d)=>{"use strict";d.d(be,{A:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.substring(40)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"extSourceType",type:g,pure:!0}),g})()},14264:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>Z});var e=d(69808),f=d(30325),g=d(91079),T=d(47423),m=d(77446),A=d(90508),s=d(86856),b=d(48966),O=d(4834),E=d(81125),h=d(67322),k=d(25245),L=d(98833),Y=d(86087),J=d(85899),ue=d(20773),ce=d(79814),Le=d(74107),de=d(2638),ke=d(32368),ae=d(57261),V=d(84847),H=d(32075),X=d(53251),ie=d(29772),oe=d(90149),ge=d(9224),Ne=d(27544),Fe=d(26688),se=d(92181),Me=d(92081),ve=d(93075),me=d(73228),Te=d(36769),te=d(36908),R=d(5e3),Oe=d(50301),Ie=d(51062);const He=["collapse"],fe=function(){return{color:"linkTextColor"}};function Ce(G,ee){1&G&&(R.TgZ(0,"mat-icon",14),R._uU(1,"keyboard_arrow_right"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,fe))}function Ye(G,ee){1&G&&(R.TgZ(0,"mat-icon",14),R._uU(1,"keyboard_arrow_down"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,fe))}function Xe(G,ee){if(1&G&&(R.TgZ(0,"span",12),R.YNc(1,Ce,2,2,"mat-icon",13),R.YNc(2,Ye,2,2,"mat-icon",13),R.qZA()),2&G){const _e=R.oxw().$implicit,Ue=R.oxw(2);R.xp6(1),R.Q6J("ngIf",!Ue.isActive(Ue.currentUrl,_e.showChildrenRegex)),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const tt=function(G,ee){return{color:G,"border-color":ee}};function at(G,ee){if(1&G){const _e=R.EpF();R.TgZ(0,"a",17),R.NdJ("click",function(){const Bt=R.CHM(_e).$implicit;return R.oxw(4).navigate(Bt.url)}),R._uU(1),R.ALo(2,"translate"),R.qZA()}if(2&G){const _e=ee.$implicit,Ue=R.oxw(4);R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:"")("ngStyle",R.WLB(9,tt,Ue.linkTextColor,Ue.linkTextColor)),R.xp6(1),R.hij(" ",R.lcZ(2,7,_e.label)," ")}}function N(G,ee){if(1&G&&(R.TgZ(0,"div",15),R.YNc(1,at,3,12,"a",16),R.qZA()),2&G){const _e=R.oxw().$implicit;R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",null==_e?null:_e.children)}}function he(G,ee){if(1&G){const _e=R.EpF();R.TgZ(0,"div"),R.TgZ(1,"a",9),R.NdJ("click",function(){const Bt=R.CHM(_e).$implicit;return R.oxw(2).navigate(Bt.url)}),R._uU(2),R.ALo(3,"translate"),R.YNc(4,Xe,3,2,"span",10),R.qZA(),R.YNc(5,N,2,2,"div",11),R.qZA()}if(2&G){const _e=ee.$implicit,Ue=R.oxw(2);R.xp6(1),R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:"")("ngStyle",R.WLB(11,tt,Ue.linkTextColor,Ue.linkTextColor)),R.xp6(1),R.hij(" ",R.lcZ(3,9,_e.label)," "),R.xp6(2),R.Q6J("ngIf",_e.children),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}function D(G,ee){if(1&G&&(R.TgZ(0,"div"),R.YNc(1,he,6,14,"div",8),R.qZA()),2&G){const _e=R.oxw();R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",_e.item.links)}}const S=function(G,ee){return{background:G,"border-top":ee}},I=function(G){return{color:G}},P=function(){return{color:"currentColor"}},i=function(G){return{background:G}};let r=(()=>{class G{constructor(_e,Ue){this.router=_e,this.store=Ue,this.expanded=!0,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=_e.url,_e.events.subscribe(Et=>{Et instanceof f.m2&&(this.currentUrl=Et.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(_e,Ue){return new RegExp(Ue).test(_e)}navigate(_e){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(_e)):this.router.navigate(_e)}}return G.\u0275fac=function(_e){return new(_e||G)(R.Y36(f.F0),R.Y36(te.d6))},G.\u0275cmp=R.Xpm({type:G,selectors:[["app-side-menu-item"]],viewQuery:function(_e,Ue){if(1&_e&&R.Gf(He,5),2&_e){let Et;R.iGM(Et=R.CRH())&&(Ue.collapseDiv=Et.first)}},inputs:{item:"item",index:"index",showLinks:"showLinks",sideNav:"sideNav"},decls:12,vars:26,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","click"],["matRipple","",3,"perunWebAppsMiddleClickRouterLink"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngIf"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"],["class","ml-auto",4,"ngIf"],["class","entity-menu-item-sub-menu",4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],[1,"entity-menu-item-sub-menu"],["class","entity-menu-item-sub-menu-item clickable","matRipple","",3,"perunWebAppsMiddleClickRouterLink","activated","matRippleColor","ngClass","ngStyle","click",4,"ngFor","ngForOf"],["matRipple","",1,"entity-menu-item-sub-menu-item","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"]],template:function(_e,Ue){1&_e&&(R.TgZ(0,"div",0),R.TgZ(1,"div",1),R.NdJ("click",function(){return Ue.toggle()}),R.TgZ(2,"div",2),R.TgZ(3,"a",3),R.TgZ(4,"div"),R._UZ(5,"mat-icon",4),R.qZA(),R.TgZ(6,"div",5),R._uU(7),R.ALo(8,"translate"),R.qZA(),R.qZA(),R.qZA(),R.qZA(),R.TgZ(9,"div"),R.TgZ(10,"div",6),R.YNc(11,D,2,2,"div",7),R.qZA(),R.qZA(),R.qZA()),2&_e&&(R.xp6(1),R.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(18,S,Ue.item.backgroundColorCss,Ue.index?Ue.dividerStyle:"none")),R.xp6(1),R.Gre("entity-menu-item-link ",Ue.item.labelClass,""),R.Q6J("perunWebAppsMiddleClickRouterLink",Ue.item.baseLink),R.xp6(1),R.Q6J("ngStyle",R.VKq(21,I,Ue.item.textColorCss)),R.xp6(2),R.Q6J("ngStyle",R.DdM(23,P))("svgIcon",Ue.item.icon),R.xp6(2),R.Oqu(R.lcZ(8,16,Ue.item.label)),R.xp6(2),R.Q6J("@openClose",Ue.expanded?"open":"closed"),R.xp6(1),R.Gre("side-entity-menu ",Ue.item.linksClass,""),R.Q6J("ngStyle",R.VKq(24,i,Ue.linkBgColor)),R.xp6(1),R.Q6J("ngIf",Ue.showLinks))},directives:[A.wG,e.PC,Oe.YH,k.Hw,e.O5,e.sg,e.mk],pipes:[Ie.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 40px;text-decoration:none;color:#fff;font-size:1rem;display:block}.activated[_ngcontent-%COMP%]{color:#313131!important;border-right:5px solid #313131}.entity-menu-item-header[_ngcontent-%COMP%]{padding:8px 5px 8px 25px;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;word-break:break-word}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}.entity-menu-item-sub-menu[_ngcontent-%COMP%]{overflow:hidden}.entity-menu-item-sub-menu-item[_ngcontent-%COMP%]{padding-left:4rem!important}"],data:{animation:[Te.BQ,Te.Ly]}}),G})(),p=(()=>{class G{transform(_e){if(void 0===_e.value)return"";switch(_e.type){case"java.lang.String":default:return _e.value;case"java.lang.Integer":case"java.lang.Boolean":return _e.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(_e.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(_e.value)}}whenValueIsArray(_e){let Ue="";return _e.forEach(function(Et){Ue=Ue.concat(Et+", ")}),Ue}whenValueIsMap(_e){let Ue="";return _e.forEach((Et,Bt)=>{Ue=Ue.concat(Bt+": "+Et+", ")}),Ue}}return G.\u0275fac=function(_e){return new(_e||G)},G.\u0275pipe=R.Yjl({name:"anyToString",type:G,pure:!0}),G})();const o=["collapse"],t=function(){return{color:"linkTextColor"}};function n(G,ee){1&G&&(R.TgZ(0,"mat-icon",12),R._uU(1,"keyboard_arrow_right"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,t))}function c(G,ee){1&G&&(R.TgZ(0,"mat-icon",12),R._uU(1,"keyboard_arrow_down"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,t))}function u(G,ee){if(1&G&&(R.TgZ(0,"span",10),R.YNc(1,n,2,2,"mat-icon",11),R.YNc(2,c,2,2,"mat-icon",11),R.qZA()),2&G){const _e=R.oxw().$implicit,Ue=R.oxw();R.xp6(1),R.Q6J("ngIf",!Ue.isActive(Ue.currentUrl,_e.showChildrenRegex)),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const y=function(G,ee){return{color:G,"border-color":ee}};function M(G,ee){if(1&G){const _e=R.EpF();R.TgZ(0,"a",14),R.NdJ("click",function(){const Bt=R.CHM(_e).$implicit;return R.oxw(3).navigate(Bt.url)}),R._uU(1),R.ALo(2,"translate"),R.qZA()}if(2&G){const _e=ee.$implicit,Ue=R.oxw(3);R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(9,y,Ue.linkTextColor,Ue.linkTextColor))("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:""),R.xp6(1),R.hij(" ",R.lcZ(2,7,_e.label)," ")}}function j(G,ee){if(1&G&&(R.TgZ(0,"div"),R.YNc(1,M,3,12,"a",13),R.qZA()),2&G){const _e=R.oxw().$implicit;R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",null==_e?null:_e.children)}}function Ve(G,ee){if(1&G){const _e=R.EpF();R.TgZ(0,"div"),R.TgZ(1,"a",7),R.NdJ("click",function(){const Bt=R.CHM(_e).$implicit;return R.oxw().navigate(Bt.url)}),R._uU(2),R.ALo(3,"translate"),R.YNc(4,u,3,2,"span",8),R.qZA(),R.YNc(5,j,2,2,"div",9),R.qZA()}if(2&G){const _e=ee.$implicit,Ue=R.oxw();R.xp6(1),R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(11,y,Ue.linkTextColor,Ue.linkTextColor))("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:""),R.xp6(1),R.hij(" ",R.lcZ(3,9,_e.label)," "),R.xp6(2),R.Q6J("ngIf",_e.children),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const nt=function(G){return{background:G}},Mt=function(G){return{color:G}},zt=function(){return{color:"currentColor"}};let Vt=(()=>{class G{constructor(_e,Ue){this.router=_e,this.store=Ue,this.id="",this.expanded=!1,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.currentUrl=_e.url,_e.events.subscribe(Et=>{Et instanceof f.m2&&(this.currentUrl=Et.url)})}ngOnInit(){this.expanded=this.showOpen}ngOnChanges(){this.expanded=this.showOpen}toggle(){void 0!==this.item.baseLink?this.navigate(this.item.baseLink):this.expanded=!this.expanded}isActive(_e,Ue){return new RegExp(Ue).test(_e)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(_e){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(_e)):this.router.navigate(_e)}}return G.\u0275fac=function(_e){return new(_e||G)(R.Y36(f.F0),R.Y36(te.d6))},G.\u0275cmp=R.Xpm({type:G,selectors:[["app-side-menu-root-item"]],viewQuery:function(_e,Ue){if(1&_e&&R.Gf(o,5),2&_e){let Et;R.iGM(Et=R.CRH())&&(Ue.collapseDiv=Et.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",id:"id",sideNav:"sideNav"},features:[R.TTD],decls:12,vars:28,consts:[[1,"entity-menu-item",3,"id"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(_e,Ue){1&_e&&(R.TgZ(0,"div",0),R.TgZ(1,"div",1),R.NdJ("click",function(){return Ue.toggle()}),R.TgZ(2,"div"),R.TgZ(3,"a",2),R.TgZ(4,"div"),R._UZ(5,"mat-icon",3),R.qZA(),R.TgZ(6,"div",4),R._uU(7),R.ALo(8,"translate"),R.qZA(),R.qZA(),R.qZA(),R.qZA(),R.TgZ(9,"div"),R.TgZ(10,"div",5),R.YNc(11,Ve,6,14,"div",6),R.qZA(),R.qZA(),R.qZA()),2&_e&&(R.s9C("id",Ue.id),R.xp6(1),R.ekj("root-header-activated",Ue.isActive(Ue.currentUrl,Ue.item.baseColorClassRegex)),R.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.VKq(21,nt,Ue.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",Ue.item.baseLink),R.xp6(1),R.Gre("entity-menu-item-link ",Ue.item.labelClass,""),R.xp6(1),R.Q6J("ngStyle",R.VKq(23,Mt,Ue.item.textColorCss)),R.xp6(2),R.Q6J("ngStyle",R.DdM(25,zt))("svgIcon",Ue.item.icon),R.xp6(2),R.Oqu(R.lcZ(8,19,Ue.item.label)),R.xp6(2),R.Q6J("@openClose",Ue.expanded?"open":"closed"),R.xp6(1),R.Gre("side-entity-menu ",Ue.item.linksClass,""),R.Q6J("ngStyle",R.VKq(26,nt,Ue.linkBgColor)),R.xp6(1),R.Q6J("ngForOf",Ue.item.links))},directives:[A.wG,e.PC,Oe.YH,k.Hw,e.sg,e.mk,e.O5],pipes:[Ie.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 32px;text-decoration:none;font-size:1rem;color:#fff;display:block}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.root-header-activated[_ngcontent-%COMP%]{background:var(--side-root-item-active)!important}.entity-menu-item-header[_ngcontent-%COMP%]{padding:.5rem .5rem .5rem 1rem;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-header[_ngcontent-%COMP%]:hover{background:var(--side-root-item-hover)!important}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;color:#fff}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}"],data:{animation:[Te.BQ,Te.Ly]}}),G})();var Wt=d(44409),At=d(53435),Ht=d(63189),bt=d(37677),et=d(387),kt=d(11243),pt=d(19516),It=d(43586),We=d(14623),qe=d(9244),re=d(28499);let Z=(()=>{class G{constructor(_e){this.translate=_e,_e.addLangs(["en","cs"])}}return G.\u0275fac=function(_e){return new(_e||G)(R.LFG(Ie.sK))},G.\u0275mod=R.oAB({type:G}),G.\u0275inj=R.cJS({providers:[p,bt.A],imports:[[e.ez,f.Bz,g.Bb,L.c,h.lN,ve.UX,ve.u5,k.Ps,de.SJ,E.To,Ie.aw.forChild({}),T.ot,V.JX,H.p0,X.Nh,oe.dp,T.ot,m.p9,b.Is,Le.LD,ae.ZX,ue.Cq,J.Cv,ie.AV,ke.rP,s.FA,A.XK,ce.Fk,O.t,A.si,Y.TU,ge.QW,Me.T5,Wt._t,ge.QW,Fe.Hi,se.Tx,At.Cl,Ht.r,Ne.g,et.ez,kt.r,pt.d4,It.Co,We.ie,qe.Je,re.E3],It.Co,g.Bb,L.c,f.Bz,ve.UX,ve.u5,k.Ps,de.SJ,Ie.aw,V.JX,H.p0,X.Nh,oe.dp,T.ot,m.p9,b.Is,Le.LD,ae.ZX,ue.Cq,J.Cv,ie.AV,ke.rP,s.FA,A.XK,ce.Fk,O.t,ge.QW,Me.T5,A.si,Y.TU,Wt._t,Fe.Hi,Fe.Hi,E.To,se.Tx,At.Cl,At.Cl,At.Cl,kt.r]}),G})();R.B6R(me.V,[Vt,e.sg,r,e.O5],[])},69024:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>b});var e=d(36908),f=d(9315),g=d(9244),T=d(19516),m=d(64080),A=d(5e3),s=d(51062);let b=(()=>{class O{constructor(h,k,L,Y,J,ue,ce){this.translate=h,this.authResolver=k,this.store=L,this.apiRequest=Y,this.attributesManager=J,this.notificator=ue,this.guiAuthResolver=ce,this.baseItemColor=this.store.get("theme","sidemenu_bg_color"),this.voBgColor=this.store.get("theme","sidemenu_vo_bg_color"),this.memberBgColor=this.store.get("theme","sidemenu_member_bg_color"),this.groupBgColor=this.store.get("theme","sidemenu_group_bg_color"),this.facilityBgColor=this.store.get("theme","sidemenu_facility_bg_color"),this.resourceBgColor=this.store.get("theme","sidemenu_resource_bg_color"),this.userBgColor=this.store.get("theme","sidemenu_user_bg_color"),this.serviceBgColor=this.store.get("theme","sidemenu_service_bg_color"),this.baseItemTextColor=this.store.get("theme","sidemenu_text_color"),this.voTextColor=this.store.get("theme","sidemenu_vo_text_color"),this.memberTextColor=this.store.get("theme","sidemenu_member_text_color"),this.groupTextColor=this.store.get("theme","sidemenu_group_text_color"),this.facilityTextColor=this.store.get("theme","sidemenu_facility_text_color"),this.resourceTextColor=this.store.get("theme","sidemenu_resource_text_color"),this.userTextColor=this.store.get("theme","sidemenu_user_text_color"),this.serviceTextColor=this.store.get("theme","sidemenu_service_text_color")}getFacilitiesManagementItem(){return{label:"MAIN_MENU.FACILITIES",colorClass:"base-item-color-activated",icon:"perun-facility-white",baseLink:["/facilities"],links:[],baseColorClass:"base-item-color",baseColorClassRegex:"^/facilities$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getAccessManagementItem(){return{label:"MAIN_MENU.ACCESS",colorClass:"base-item-color-activated",icon:"perun-vo",links:[],baseLink:["/organizations"],baseColorClass:"base-item-color",baseColorClassRegex:"^/organizations$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getHomeItem(){return{baseLink:["/home"],label:"MAIN_MENU.HOME",colorClass:"base-item-color-activated",icon:"perun-home-white",baseColorClass:"base-item-color",baseColorClassRegex:"^/home$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[]}}getUserItem(){return{baseLink:["/myProfile"],expandable:!1,label:"MAIN_MENU.MY_PROFILE",colorClass:"base-item-color-activated",icon:"perun-user",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:["/myProfile"],activatedRegex:"^/myProfile$"},{label:"MENU_ITEMS.USER.ORGANIZATIONS",url:["/myProfile/organizations"],activatedRegex:"^/myProfile/organizations$"},{label:"MENU_ITEMS.USER.GROUPS",url:["/myProfile/groups"],activatedRegex:"^/myProfile/groups$"},{label:"MENU_ITEMS.USER.ATTRIBUTES",url:["/myProfile/attributes"],activatedRegex:"^/myProfile/attributes$"},{label:"MENU_ITEMS.USER.ROLES",url:["/myProfile/roles"],activatedRegex:"/myProfile/roles"},{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:["/myProfile/service-identities"],activatedRegex:"^/myProfile/service-identities"},{label:"MENU_ITEMS.USER.SETTINGS",url:["/myProfile/settings"],activatedRegex:"^/myProfile/settings$",children:[{label:"MENU_ITEMS.USER.PASSWORD_RESET",url:["/myProfile/settings/passwordReset"],activatedRegex:"^/myProfile/settings/passwordReset"},{label:"MENU_ITEMS.USER.GUI_CONFIG",url:["/myProfile/settings/guiConfig"],activatedRegex:"/myProfile/settings/guiConfig"}],showChildrenRegex:"/myProfile/settings"}]}}getAdminItem(){return{baseLink:["/admin"],expandable:!1,label:"MAIN_MENU.ADMIN",colorClass:"base-item-color-activated",icon:"perun-perun-admin",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.ADMIN.OVERVIEW",url:["/admin"],activatedRegex:"^/admin$"},{label:"MENU_ITEMS.ADMIN.ATTRIBUTES",url:["/admin/attributes"],activatedRegex:"^/admin/attributes$"},{label:"MENU_ITEMS.ADMIN.USERS",url:["/admin/users"],activatedRegex:"^/admin/users$"},{label:"MENU_ITEMS.ADMIN.OWNERS",url:["/admin/owners"],activatedRegex:"^/admin/owners$"},{label:"MENU_ITEMS.ADMIN.SERVICES",url:["/admin/services"],activatedRegex:"^/admin/services$"},{label:"MENU_ITEMS.ADMIN.VISUALIZER",url:["/admin/visualizer"],activatedRegex:"^/admin/visualizer$",children:[{label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",url:["/admin/visualizer/attrDependencies"],activatedRegex:"^/admin/visualizer/attrDependencies"},{label:this.translate.instant("MENU_ITEMS.VISUALIZER.USER_DESTINATION"),url:["/admin/visualizer/userDestinationRelationship"],activatedRegex:"^/admin/visualizer/userDestinationRelationship"}],showChildrenRegex:"/admin/visualizer"},{label:"MENU_ITEMS.ADMIN.EXT_SOURCES",url:["/admin/ext_sources"],activatedRegex:"^/admin/ext_sources$"},{label:"MENU_ITEMS.ADMIN.AUDIT_LOG",url:["/admin/audit_log"],activatedRegex:"^/admin/audit_log$"}]}}parseFacility(h){return{label:h.name,baseLink:[`/facilities/${h.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(h),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(h,k){const L=(new T.r5).transform(h,k);return{label:h.name,baseLink:[L],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(L,k?"/organizations":"/facilities",h),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getResourceLinks(h,k,L){const Y=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[h],activatedRegex:`${k}/\\d+/resources/\\d+$`}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[L])&&Y.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[h,"groups"],activatedRegex:`${k}/\\d+/resources/\\d+/groups$`}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[L])&&Y.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[h,"services"],activatedRegex:`${k}/\\d+/resources/\\d+/services$`}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[L])&&Y.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[h,"members"],activatedRegex:`${k}/\\d+/resources/\\d+/members$`}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[L])&&Y.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[h,"tags"],activatedRegex:`${k}/\\d+/resources/\\d+/tags$`}),Y.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[h,"attributes"],activatedRegex:`${k}/\\d+/resources/\\d+/attributes$`}),this.authResolver.isManagerPagePrivileged(L)&&Y.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[h,"settings"],activatedRegex:`${k}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[h,"settings","managers"],activatedRegex:`${k}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${k}/\\d+/resources/\\d+/settings`}),Y}parseGroup(h){return{label:h.name,baseLink:[`/organizations/${h.voId}/groups/${h.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(h),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(h){return{label:h.name,baseLink:[`/organizations/${h.id}`],links:this.getVoLinks(h),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(h,k){return{label:(0,g.bD)(h.user),baseLink:[`/organizations/${h.voId}/members/${h.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(h,k),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(h,k,L){return{label:(0,g.bD)(h),baseLink:[k],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(h,k,L),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseServiceIdentity(h){return{label:(0,g.bD)(h),baseLink:[`/myProfile/service-identities/${h.id}`],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:[`/myProfile/service-identities/${h.id}`],activatedRegex:"/myProfile/service-identities/\\d+$"},{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`/myProfile/service-identities/${h.id}/associated-users`],activatedRegex:"/myProfile/service-identities/\\d+/associated-users"}],colorClass:"user-bg-color",icon:"perun-service-identity",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(h){return{label:h.name,baseLink:[`/admin/services/${h.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${h.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${h.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${h.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(h){const k=[];if(k.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${h.id}`],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${h.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${h.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[h])){const ue=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${h.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[h])&&ue.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${h.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[h])&&ue.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${h.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),k.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${h.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:ue,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[h])&&k.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${h.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[h])&&k.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${h.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${h.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),k.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[h])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[h])&&k.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"});const L=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[h]),Y=this.authResolver.isManagerPagePrivileged(h),J=this.authResolver.isThisVoAdminOrObserver(h.id);if(Y||L||J){const ue=[];J&&ue.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),Y&&ue.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),J&&ue.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),J&&ue.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),L&&ue.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),k.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${h.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:ue,showChildrenRegex:"/organizations/\\d+/settings"})}return k}getUserLinks(h,k,L){const Y=[];return Y.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[k],activatedRegex:`${L}$`}),Y.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${k}/organizations`],activatedRegex:`${L}/organizations`}),Y.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${k}/groups`],activatedRegex:`${L}/groups`}),Y.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${k}/accounts`],activatedRegex:`${L}/accounts`}),Y.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${k}/identities`],activatedRegex:`${L}/identities`}),Y.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${k}/facilities`],activatedRegex:`${L}/facilities`}),Y.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${k}/resources`],activatedRegex:`${L}/resources`}),Y.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${k}/attributes`],activatedRegex:`${L}/attributes`}),Y.push({label:"MENU_ITEMS.USER.ROLES",url:[`${k}/roles`],activatedRegex:`^${k}/roles`}),Y.push(h.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${k}/associated-users`],activatedRegex:`^${k}/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${k}/service-identities`],activatedRegex:`^${k}/service-identities`}),Y}getMemberLinks(h,k){const L=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${h.voId}/members/${h.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`//organizations/${h.voId}/members/${h.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`//organizations/${h.voId}/members/${h.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${h.voId}/members/${h.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),L.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${h.voId}/members/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),L}getFacilityLinks(h){const k=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${h.id}`],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${h.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${h.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${h.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${h.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${h.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&k.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${h.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),k.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",h.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});const L=this.authResolver.isAuthorized("getBansForFacility_int_policy",[h]),Y=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[h]),J=this.authResolver.isAuthorized("getOwners_Facility_policy",[h]),ue=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[h]);if(L||Y||J||ue){const ce=[];J&&ce.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",h.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),Y&&ce.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",h.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),ue&&ce.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${h.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),L&&ce.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",h.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),k.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",h.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:ce,showChildrenRegex:"/facilities/\\d+/settings"})}return k}getGroupLinks(h){const k=[],L=[];k.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${h.voId}/groups/${h.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${h.voId}/groups/${h.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[h])&&"members"!==h.name&&k.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${h.voId}/groups/${h.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),k.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${h.voId}/groups/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});const Y=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[h]),J=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[h]),ue=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[h]);return Y&&J&&ue&&k.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${h.voId}/groups/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(h.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{L.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${h.voId}/groups/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},ce=>{"HttpErrorResponse"!==ce.name&&this.notificator.showRPCError(ce)}),this.authResolver.isManagerPagePrivileged(h)&&L.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${h.voId}/groups/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==L.length&&k.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${h.voId}/groups/${h.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:L,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),k}}return O.\u0275fac=function(h){return new(h||O)(A.LFG(s.sK),A.LFG(e.x4),A.LFG(e.d6),A.LFG(e.F5),A.LFG(f.H8),A.LFG(e.V6),A.LFG(e.x4))},O.\u0275prov=A.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},73228:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>ue});var e=d(72077),f=d(69024),g=d(36908),T=d(36769),m=d(5e3),A=d(77968);function s(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",10),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)}}function b(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.accessItems.length-1)}}function O(ce,Le){if(1&ce&&m._UZ(0,"app-side-menu-root-item",2),2&ce){const de=m.oxw();m.Q6J("id","facilities-item-btn")("sideNav",de.sideNav)("item",de.facilityItem)}}function E(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.facilityItems.length-1)}}function h(ce,Le){if(1&ce&&(m.TgZ(0,"div"),m.YNc(1,E,2,5,"div",3),m.qZA()),2&ce){const de=m.oxw();m.xp6(1),m.Q6J("ngForOf",de.facilityItems)}}function k(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.userItems.length-1)}}function L(ce,Le){if(1&ce&&m._UZ(0,"app-side-menu-root-item",7),2&ce){const de=m.oxw();m.Q6J("id","admin-item-btn")("sideNav",de.sideNav)("showOpen",de.adminItemOpened)("item",de.adminItem)}}function Y(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",!0)}}function J(ce,Le){if(1&ce&&(m.TgZ(0,"div"),m.YNc(1,Y,2,5,"div",3),m.qZA()),2&ce){const de=m.oxw();m.xp6(1),m.Q6J("ngForOf",de.adminItems)}}let ue=(()=>{class ce{constructor(de,ke,ae){this.sideMenuService=de,this.sideMenuItemService=ke,this.authResolver=ae,this.accessItems=[],this.facilityItems=[],this.adminItems=[],this.homeItems=[],this.userItems=[],this.accessItem=this.sideMenuItemService.getAccessManagementItem(),this.adminItem=this.sideMenuItemService.getAdminItem(),this.facilityItem=this.sideMenuItemService.getFacilitiesManagementItem(),this.homeItem=this.sideMenuItemService.getHomeItem(),this.userItem=this.sideMenuItemService.getUserItem(),this.mobileView=!0,this.adminItemOpened=!1,this.userItemOpened=!1}ngOnInit(){this.mobileView=window.innerWidth<=e.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(de=>{this.setFacilityItems(de)}),this.sideMenuService.accessItemsChange.subscribe(de=>{this.setAccessItems(de)}),this.sideMenuService.adminItemsChange.subscribe(de=>{this.setAdminItems(de)}),this.sideMenuService.userItemsChange.subscribe(de=>{this.setUserItems(de)}),this.sideMenuService.homeItemsChange.subscribe(de=>{this.setHomeItems(de)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}setHomeItems(de){this.resetExceptHome(),this.setNewItems(this.homeItems,de)}setFacilityItems(de){this.resetExceptFacility(),this.setNewItems(this.facilityItems,de)}setAccessItems(de){this.resetExceptAccess(),this.setNewItems(this.accessItems,de)}setUserItems(de){this.userItemOpened=0===de.length,this.resetExceptUser(),this.setNewItems(this.userItems,de)}setAdminItems(de){this.adminItemOpened=0===de.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,de)}setNewItems(de,ke){const ae=de.length>ke.length?de.length:ke.length;for(let V=0;Vde.length-1)de.push(ke[V]);else{if(V>ke.length-1){const H=de.length;for(let X=0;X{"use strict";d.d(be,{b:()=>Wt});var e=d(5e3),f=d(44409),g=d(48966),T=d(47423),m=d(51062);let A=(()=>{class At{constructor(bt){this.dialogRef=bt}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return At.\u0275fac=function(bt){return new(bt||At)(e.Y36(g.so))},At.\u0275cmp=e.Xpm({type:At,selectors:[["app-delete-application-form-item-dialog"]],decls:20,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"pb-2","font-weight-bold"],[1,"pb-4","pt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-application-form-item-dialog",1,"ml-2",3,"click"]],template:function(bt,et){1&bt&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"div",1),e.TgZ(4,"div",2),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"div",3),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.TgZ(13,"div",4),e.TgZ(14,"button",5),e.NdJ("click",function(){return et.onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",6),e.NdJ("click",function(){return et.submit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.qZA()),2&bt&&(e.xp6(1),e.Oqu(e.lcZ(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),e.xp6(4),e.hij(" ",e.lcZ(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")," "),e.xp6(3),e.Oqu(e.lcZ(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),e.xp6(3),e.Oqu(e.lcZ(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),e.xp6(4),e.hij(" ",e.lcZ(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),e.xp6(3),e.hij(" ",e.lcZ(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[g.uh,g.xY,g.H8,T.lW],pipes:[m.X$],styles:[""]}),At})();var s=d(36908),b=d(83491),O=d(9244),E=d(30325),h=d(69808),k=d(20773),L=d(32075),Y=d(25245),J=d(29772),ue=d(93075),ce=d(98380),Le=d(57706),de=d(64597);const ke=["table"];function ae(At,Ht){1&At&&e._UZ(0,"mat-spinner",3)}function V(At,Ht){1&At&&e._UZ(0,"th",24)}function H(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("mousedown",function(){return e.CHM(bt),e.oxw(2).dragDisabled=!1}),e.TgZ(2,"mat-icon"),e._uU(3,"drag_indicator"),e.qZA(),e.qZA(),e.qZA()}}function X(At,Ht){1&At&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")," "))}function ie(At,Ht){if(1&At&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.AsE(" ",bt.shortname,"",bt.required?"*":""," ")}}function oe(At,Ht){1&At&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")," "))}function ge(At,Ht){if(1&At&&(e.TgZ(0,"td",25),e._uU(1),e.ALo(2,"applicationFormItemType"),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,bt.type)," ")}}function Ne(At,Ht){1&At&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")," "))}function Fe(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"lock "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",et.disabledTooltip(bt)),e.xp6(3),e.hij(" ",et.disabledHiddenDependency(bt,bt.disabled,bt.disabledDependencyItemId)," ")}}function se(At,Ht){if(1&At&&(e.TgZ(0,"td",28),e.YNc(1,Fe,5,2,"div",29),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==bt.disabled)}}function Me(At,Ht){1&At&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")," "))}function ve(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"visibility_off "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",et.hiddenTooltip(bt)),e.xp6(3),e.hij(" ",et.disabledHiddenDependency(bt,bt.hidden,bt.hiddenDependencyItemId)," ")}}function me(At,Ht){if(1&At&&(e.TgZ(0,"td",28),e.YNc(1,ve,5,2,"div",29),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==bt.hidden)}}function Te(At,Ht){1&At&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")," "))}function te(At,Ht){1&At&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function R(At,Ht){1&At&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",32),e._UZ(3,"br"),e._UZ(4,"input",31),e.qZA(),e.qZA())}function Oe(At,Ht){if(1&At&&(e.TgZ(0,"div"),e._UZ(1,"input",35),e._uU(2),e._UZ(3,"br"),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(2),e.hij(" ",bt,"")}}function Ie(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,Oe,4,1,"div",33),e._UZ(3,"input",34),e.ALo(4,"translate"),e.qZA(),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",et.getLocalizedOptions(bt)),e.xp6(1),e.s9C("value",e.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function He(At,Ht){if(1&At&&(e.TgZ(0,"div"),e._UZ(1,"span",36),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",et.getLocalizedLabel(bt),e.oJD)}}function fe(At,Ht){if(1&At&&(e.TgZ(0,"option"),e._uU(1),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.hij(" ",bt," ")}}function Ce(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"select"),e.YNc(2,fe,2,1,"option",33),e.qZA(),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",et.getLocalizedOptions(bt))}}function Ye(At,Ht){1&At&&(e.TgZ(0,"div"),e._UZ(1,"textarea"),e.qZA())}function Xe(At,Ht){if(1&At&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.hij(" ",bt," ")}}function tt(At,Ht){1&At&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function at(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"select",37),e.NdJ("ngModelChange",function(kt){e.CHM(bt);const pt=e.oxw().$implicit;return e.oxw(2).mapForCombobox[pt.id]=kt}),e.YNc(2,Xe,2,1,"option",38),e.TgZ(3,"option",39),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA(),e.YNc(6,tt,3,0,"div",29),e.qZA()}if(2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(1),e.Q6J("ngModel",et.mapForCombobox[bt.id]),e.xp6(1),e.Q6J("ngForOf",et.getLocalizedOptions(bt)),e.xp6(2),e.hij(" ",e.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),e.xp6(2),e.Q6J("ngIf","true"===et.mapForCombobox[bt.id])}}function N(At,Ht){if(1&At&&(e.TgZ(0,"div"),e._UZ(1,"input",41),e._uU(2),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(2),e.hij(" ",bt," ")}}function he(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,N,3,1,"div",33),e.qZA(),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",et.getLocalizedOptions(bt))}}function D(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(2),e.hij(" ",et.getLocalizedLabel(bt)," ")}}function S(At,Ht){1&At&&(e.TgZ(0,"div"),e.TgZ(1,"select",43),e.TgZ(2,"option",44),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"option",45),e._uU(6,"(GMT -12:00) Eniwetok, Kwajalein"),e.qZA(),e.TgZ(7,"option",46),e._uU(8,"(GMT -11:00) Midway Island, Samoa"),e.qZA(),e.TgZ(9,"option",47),e._uU(10,"(GMT -10:00) Hawaii"),e.qZA(),e.TgZ(11,"option",48),e._uU(12,"(GMT -9:30) Taiohae"),e.qZA(),e.TgZ(13,"option",49),e._uU(14,"(GMT -9:00) Alaska"),e.qZA(),e.TgZ(15,"option",50),e._uU(16,"(GMT -8:00) Pacific Time (US & Canada)"),e.qZA(),e.TgZ(17,"option",51),e._uU(18,"(GMT -7:00) Mountain Time (US & Canada)"),e.qZA(),e.TgZ(19,"option",52),e._uU(20," (GMT -6:00) Central Time (US & Canada), Mexico City "),e.qZA(),e.TgZ(21,"option",53),e._uU(22," (GMT -5:00) Eastern Time (US & Canada), Bogota, Lima "),e.qZA(),e.TgZ(23,"option",54),e._uU(24,"(GMT -4:30) Caracas"),e.qZA(),e.TgZ(25,"option",55),e._uU(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),e.qZA(),e.TgZ(27,"option",56),e._uU(28,"(GMT -3:30) Newfoundland"),e.qZA(),e.TgZ(29,"option",57),e._uU(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),e.qZA(),e.TgZ(31,"option",58),e._uU(32,"(GMT -2:00) Mid-Atlantic"),e.qZA(),e.TgZ(33,"option",59),e._uU(34,"(GMT -1:00) Azores, Cape Verde Islands"),e.qZA(),e.TgZ(35,"option",60),e._uU(36," (GMT) Western Europe Time, London, Lisbon, Casablanca "),e.qZA(),e.TgZ(37,"option",61),e._uU(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),e.qZA(),e.TgZ(39,"option",62),e._uU(40,"(GMT +2:00) Kaliningrad, South Africa"),e.qZA(),e.TgZ(41,"option",63),e._uU(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),e.qZA(),e.TgZ(43,"option",64),e._uU(44,"(GMT +3:30) Tehran"),e.qZA(),e.TgZ(45,"option",65),e._uU(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),e.qZA(),e.TgZ(47,"option",66),e._uU(48,"(GMT +4:30) Kabul"),e.qZA(),e.TgZ(49,"option",67),e._uU(50," (GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent "),e.qZA(),e.TgZ(51,"option",68),e._uU(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),e.qZA(),e.TgZ(53,"option",69),e._uU(54,"(GMT +5:45) Kathmandu, Pokhara"),e.qZA(),e.TgZ(55,"option",70),e._uU(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),e.qZA(),e.TgZ(57,"option",71),e._uU(58,"(GMT +6:30) Yangon, Mandalay"),e.qZA(),e.TgZ(59,"option",72),e._uU(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),e.qZA(),e.TgZ(61,"option",73),e._uU(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),e.qZA(),e.TgZ(63,"option",74),e._uU(64,"(GMT +8:45) Eucla"),e.qZA(),e.TgZ(65,"option",75),e._uU(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),e.qZA(),e.TgZ(67,"option",76),e._uU(68,"(GMT +9:30) Adelaide, Darwin"),e.qZA(),e.TgZ(69,"option",77),e._uU(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),e.qZA(),e.TgZ(71,"option",78),e._uU(72,"(GMT +10:30) Lord Howe Island"),e.qZA(),e.TgZ(73,"option",79),e._uU(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),e.qZA(),e.TgZ(75,"option",80),e._uU(76,"(GMT +11:30) Norfolk Island"),e.qZA(),e.TgZ(77,"option",81),e._uU(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),e.qZA(),e.TgZ(79,"option",82),e._uU(80,"(GMT +12:45) Chatham Islands"),e.qZA(),e.TgZ(81,"option",83),e._uU(82,"(GMT +13:00) Apia, Nukualofa"),e.qZA(),e.TgZ(83,"option",84),e._uU(84,"(GMT +14:00) Line Islands, Tokelau"),e.qZA(),e.qZA(),e.qZA()),2&At&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "))}function I(At,Ht){if(1&At&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&At){const bt=e.oxw().$implicit,et=e.oxw(2);e.xp6(2),e.hij(" ",et.getLocalizedLabel(bt)," ")}}function P(At,Ht){1&At&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",41),e._uU(3," example group1 "),e._UZ(4,"br"),e._UZ(5,"input",41),e._uU(6," example group2 "),e._UZ(7,"br"),e._UZ(8,"input",41),e._uU(9," example group3 "),e.qZA(),e.qZA())}function i(At,Ht){if(1&At&&(e.TgZ(0,"td",25),e.YNc(1,te,3,0,"div",29),e.YNc(2,R,5,0,"div",29),e.YNc(3,Ie,5,4,"div",29),e.YNc(4,He,2,1,"div",29),e.YNc(5,Ce,3,1,"div",29),e.YNc(6,Ye,2,0,"div",29),e.YNc(7,at,7,6,"div",29),e.YNc(8,he,3,1,"div",29),e.YNc(9,D,3,1,"div",29),e.YNc(10,S,85,3,"div",29),e.YNc(11,I,3,1,"div",29),e.YNc(12,P,10,0,"div",29),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","TEXTFIELD"===bt.type||"VALIDATED_EMAIL"===bt.type||"USERNAME"===bt.type),e.xp6(1),e.Q6J("ngIf","PASSWORD"===bt.type),e.xp6(1),e.Q6J("ngIf","RADIO"===bt.type),e.xp6(1),e.Q6J("ngIf","HEADING"===bt.type||"HTML_COMMENT"===bt.type),e.xp6(1),e.Q6J("ngIf","SELECTIONBOX"===bt.type),e.xp6(1),e.Q6J("ngIf","TEXTAREA"===bt.type),e.xp6(1),e.Q6J("ngIf","COMBOBOX"===bt.type),e.xp6(1),e.Q6J("ngIf","CHECKBOX"===bt.type),e.xp6(1),e.Q6J("ngIf","SUBMIT_BUTTON"===bt.type),e.xp6(1),e.Q6J("ngIf","TIMEZONE"===bt.type),e.xp6(1),e.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===bt.type),e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===bt.type)}}function r(At,Ht){1&At&&e._UZ(0,"th",24)}function p(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){return e.CHM(bt),e.oxw(3).openManagingGroups()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"supervised_user_circle"),e.qZA(),e.qZA()}2&At&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function o(At,Ht){if(1&At&&(e.TgZ(0,"td",25),e.YNc(1,p,4,3,"button",85),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===bt.type&&!bt.forDelete)}}function t(At,Ht){1&At&&e._UZ(0,"th",24)}function n(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"button",89),e.NdJ("click",function(){e.CHM(bt);const kt=e.oxw().$implicit;return e.oxw(2).edit(kt)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"edit"),e.qZA(),e.qZA()}2&At&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function c(At,Ht){1&At&&(e.TgZ(0,"div",90),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function u(At,Ht){if(1&At&&(e.TgZ(0,"td",25),e.YNc(1,n,4,3,"button",87),e.YNc(2,c,3,3,"div",88),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.Q6J("ngIf",!bt.forDelete),e.xp6(1),e.Q6J("ngIf",bt.forDelete)}}function y(At,Ht){1&At&&e._UZ(0,"th",24)}function M(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"button",92),e.NdJ("click",function(){e.CHM(bt);const kt=e.oxw().$implicit;return e.oxw(2).delete(kt)}),e.ALo(1,"multiWordDataCy"),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4,"delete"),e.qZA(),e.qZA()}if(2&At){const bt=e.oxw().$implicit;e.Q2q("data-cy","",e.lcZ(1,2,bt.shortname),"-delete"),e.s9C("matTooltip",e.lcZ(2,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}}function j(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){e.CHM(bt);const kt=e.oxw().$implicit;return e.oxw(2).restore(kt)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"settings_backup_restore"),e.qZA(),e.qZA()}2&At&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function Ve(At,Ht){if(1&At&&(e.TgZ(0,"td",25),e.YNc(1,M,5,6,"button",91),e.YNc(2,j,4,3,"button",85),e.qZA()),2&At){const bt=Ht.$implicit;e.xp6(1),e.Q6J("ngIf",!bt.forDelete),e.xp6(1),e.Q6J("ngIf",bt.forDelete)}}function nt(At,Ht){1&At&&e._UZ(0,"tr",93)}function Mt(At,Ht){if(1&At&&e._UZ(0,"tr",94),2&At){const bt=Ht.$implicit,et=e.oxw(2);e.ekj("make-green",bt.id<=0)("make-red",bt.forDelete)("make-yellow",-1!==et.itemsChanged.indexOf(bt.id)&&!bt.forDelete&&bt.id>0),e.Q6J("cdkDragData",bt)}}function zt(At,Ht){if(1&At){const bt=e.EpF();e.TgZ(0,"div",4),e.TgZ(1,"div",5),e.TgZ(2,"div",6),e.TgZ(3,"table",7,8),e.NdJ("cdkDropListDropped",function(kt){return e.CHM(bt),e.oxw().drop(kt)}),e.ynx(5,9),e.YNc(6,V,1,0,"th",10),e.YNc(7,H,4,0,"td",11),e.BQk(),e.ynx(8,12),e.YNc(9,X,3,3,"th",10),e.YNc(10,ie,2,2,"td",11),e.BQk(),e.ynx(11,13),e.YNc(12,oe,3,3,"th",10),e.YNc(13,ge,3,3,"td",11),e.BQk(),e.ynx(14,14),e.YNc(15,Ne,3,3,"th",15),e.YNc(16,se,2,1,"td",16),e.BQk(),e.ynx(17,17),e.YNc(18,Me,3,3,"th",15),e.YNc(19,me,2,1,"td",16),e.BQk(),e.ynx(20,18),e.YNc(21,Te,3,3,"th",10),e.YNc(22,i,13,12,"td",11),e.BQk(),e.ynx(23,19),e.YNc(24,r,1,0,"th",10),e.YNc(25,o,2,1,"td",11),e.BQk(),e.ynx(26,20),e.YNc(27,t,1,0,"th",10),e.YNc(28,u,3,2,"td",11),e.BQk(),e.ynx(29,21),e.YNc(30,y,1,0,"th",10),e.YNc(31,Ve,3,2,"td",11),e.BQk(),e.YNc(32,nt,1,0,"tr",22),e.YNc(33,Mt,1,7,"tr",23),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&At){const bt=e.oxw();e.xp6(3),e.Q6J("cdkDropListDisabled",bt.dragDisabled)("dataSource",bt.dataSource),e.xp6(29),e.Q6J("matHeaderRowDef",bt.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",bt.displayedColumns)}}function Vt(At,Ht){1&At&&(e.TgZ(0,"app-alert",95),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&At&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let Wt=(()=>{class At{constructor(bt,et,kt,pt){this.dialog=bt,this.notificator=et,this.router=kt,this.translate=pt,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new e.vpe,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}ngOnInit(){this.ifEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_EMPTY"),this.ifPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_PREFILLED"),this.alwaysDisabled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED_HINT"),this.alwaysHidden=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN_HINT"),this.isDisabledIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.DISABLED_IF_HINT"),this.isHiddenIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.HIDDEN_IF_HINT"),this.isEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_EMPTY_HINT"),this.isPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_PREFILLED_HINT")}ngOnChanges(){this.dataSource=this.applicationFormItems,this.refreshApplicationForm&&(this.itemsChanged=[])}disabledHiddenDependency(bt,et,kt){let pt="";if("IF_EMPTY"===et||"IF_PREFILLED"===et){const It=null===kt?"":this.applicationFormItems.find(We=>We.id===kt).shortname;pt="IF_EMPTY"===et?`(${this.ifEmpty} ${It})`:`(${this.ifPrefilled} ${It})`}return pt}disabledTooltip(bt){let et;switch(bt.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return et=null===bt.disabledDependencyItemId?"":this.applicationFormItems.find(kt=>kt.id===bt.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${et} ${this.isEmpty}`;case"IF_PREFILLED":return et=null===bt.disabledDependencyItemId?"":this.applicationFormItems.find(kt=>kt.id===bt.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${et} ${this.isPrefilled}`}}hiddenTooltip(bt){let et;switch(bt.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return et=null===bt.hiddenDependencyItemId?"":this.applicationFormItems.find(kt=>kt.id===bt.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${et} ${this.isEmpty}`;case"IF_PREFILLED":return et=null===bt.hiddenDependencyItemId?"":this.applicationFormItems.find(kt=>kt.id===bt.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${et} ${this.isPrefilled}`}}edit(bt){const et=(0,O.kZ)();et.width="600px",et.height="600px",et.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:bt,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(b._,et).afterClosed().subscribe(pt=>{pt&&(this.itemsChanged.push(bt.id),this.applicationFormItemsChange.emit())})}delete(bt){const et=(0,O.kZ)();et.width="500px",this.dialog.open(A,et).afterClosed().subscribe(pt=>{pt&&(bt.forDelete=!0,0===bt.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(bt),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(bt){this.dragDisabled=!0;const et=this.applicationFormItems.indexOf(bt.item.data);(0,f.bA)(this.applicationFormItems,et,bt.currentIndex),this.itemsChanged.push(this.applicationFormItems[bt.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(bt){if(bt.i18n[this.translate.getDefaultLang()]){const et=bt.i18n[this.translate.getDefaultLang()].options;if(null!==et&&""!==et){const kt=[];for(const pt of et.split("|"))kt.push(pt.split("#")[1]);return kt}}return[]}getLocalizedLabel(bt){return bt.i18n[this.translate.getDefaultLang()]?bt.i18n[this.translate.getDefaultLang()].label:bt.shortname}restore(bt){bt.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return At.\u0275fac=function(bt){return new(bt||At)(e.Y36(g.uw),e.Y36(s.V6),e.Y36(E.F0),e.Y36(m.sK))},At.\u0275cmp=e.Xpm({type:At,selectors:[["app-application-form-list"]],viewQuery:function(bt,et){if(1&bt&&e.Gf(ke,5),2&bt){let kt;e.iGM(kt=e.CRH())&&(et.table=kt.first)}},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns",refreshApplicationForm:"refreshApplicationForm"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[e.TTD],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"card","mt-2"],[1,"card-body","table-theme"],[1,"overflow-auto"],["cdkDropList","","cdkDropListData","dataSource","mat-table","",1,"w-100",3,"cdkDropListDisabled","dataSource","cdkDropListDropped"],["table",""],["matColumnDef","drag"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortname"],["matColumnDef","type"],["matColumnDef","disabled"],["class","center","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","hidden"],["matColumnDef","preview"],["matColumnDef","managegroups"],["matColumnDef","edit"],["matColumnDef","delete"],["mat-header-row","",4,"matHeaderRowDef"],["cdkDrag","","mat-row","",3,"cdkDragData","make-green","make-red","make-yellow",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"mousedown"],["mat-header-cell","",1,"center"],["mat-cell","",1,"center"],[4,"ngIf"],[1,"pointer",3,"matTooltip"],["type","text"],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(bt,et){1&bt&&(e.YNc(0,ae,1,0,"mat-spinner",0),e.YNc(1,zt,34,4,"div",1),e.YNc(2,Vt,3,3,"app-alert",2)),2&bt&&(e.Q6J("ngIf",et.loading),e.xp6(1),e.Q6J("ngIf",0!==et.applicationFormItems.length&&!et.loading),e.xp6(1),e.Q6J("ngIf",0===et.applicationFormItems.length&&!et.loading))},directives:[h.O5,k.$g,L.BZ,f.Wj,L.w1,L.fO,L.ge,L.Dz,L.ev,T.lW,Y.Hw,J.gM,ue._Y,ue.JL,ue.F,h.sg,ue.YN,ue.Kr,ue.EJ,ue.JJ,ue.On,L.as,L.XQ,L.nj,L.Gk,f.Zt,ce.w],pipes:[m.X$,Le.c,de.R],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drop-list-dragging[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.movable-row[_ngcontent-%COMP%]{cursor:move}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.make-green[_ngcontent-%COMP%]{background-color:#c8e6c9}.make-yellow[_ngcontent-%COMP%]{background-color:#fff9c4}.center[_ngcontent-%COMP%]{text-align:center}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),At})()},9146:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>M});var e=d(9315),f=d(9244),g=d(84847),T=d(36908),m=d(36787),A=d(22868),s=d(69808),b=d(5e3),O=d(10036),E=d(18750),h=d(20773),k=d(32075),L=d(25245),Y=d(29772);function J(j,Ve){1&j&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",1),b._uU(2,"arrow_right_alt"),b.qZA(),b.qZA())}function ue(j,Ve){1&j&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",2),b._uU(2,"restore"),b.qZA(),b.qZA())}function ce(j,Ve){1&j&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",3),b._uU(2,"nat"),b.qZA(),b.qZA())}let Le=(()=>{class j{constructor(){}}return j.\u0275fac=function(nt){return new(nt||j)},j.\u0275cmp=b.Xpm({type:j,selectors:[["app-application-type-icon"]],inputs:{applicationType:"applicationType"},decls:4,vars:3,consts:[[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"]],template:function(nt,Mt){1&nt&&(b.TgZ(0,"div"),b.YNc(1,J,3,0,"div",0),b.YNc(2,ue,3,0,"div",0),b.YNc(3,ce,3,0,"div",0),b.qZA()),2&nt&&(b.xp6(1),b.Q6J("ngIf","INITIAL"===Mt.applicationType),b.xp6(1),b.Q6J("ngIf","EXTENSION"===Mt.applicationType),b.xp6(1),b.Q6J("ngIf","EMBEDDED"===Mt.applicationType))},directives:[s.O5,L.Hw,Y.gM],styles:[""]}),j})();var de=d(50301),ke=d(30325),ae=d(98380),V=d(51062),H=d(43157),X=d(31359);function ie(j,Ve){1&j&&(b.TgZ(0,"div",25),b._UZ(1,"mat-spinner",26),b.qZA())}function oe(j,Ve){1&j&&(b.TgZ(0,"th",27),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.ID")," "))}function ge(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(nt.id)}}function Ne(j,Ve){1&j&&(b.TgZ(0,"th",27),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_DATE")," "))}function Fe(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.ALo(2,"date"),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,nt.createdAt,"d.M.y"))}}function se(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_ID")))}function Me(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(nt.vo.id)}}function ve(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_NAME")))}function me(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(nt.vo.name)}}function Te(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_ID")))}function te(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.hij(" ",nt.group?nt.group.id:""," ")}}function R(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_NAME")))}function Oe(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.hij(" ",nt.group?nt.group.name:""," ")}}function Ie(j,Ve){1&j&&(b.TgZ(0,"th",27),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.TYPE")," "))}function He(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._UZ(1,"app-application-type-icon",30),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Q6J("applicationType",nt.type)}}function fe(j,Ve){1&j&&(b.TgZ(0,"th",27),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.STATE")," "))}function Ce(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._UZ(1,"span",31),b.ALo(2,"applicationState"),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Q6J("outerHTML",b.lcZ(2,1,nt.state),b.oJD)}}function Ye(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCENAME")))}function Xe(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(nt.extSourceName)}}function tt(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCETYPE")))}function at(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(nt.extSourceType)}}function N(j,Ve){1&j&&(b.TgZ(0,"th",27),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.USER")," "))}function he(j,Ve){if(1&j&&(b.TgZ(0,"div"),b._uU(1),b.qZA()),2&j){const nt=b.oxw().$implicit;b.xp6(1),b.hij(" ",nt.createdBy.slice(nt.createdBy.lastIndexOf("=")+1,nt.createdBy.length)," ")}}function D(j,Ve){if(1&j&&(b._uU(0),b.ALo(1,"userFullName")),2&j){const nt=b.oxw().$implicit;b.hij(" ",b.lcZ(1,1,nt.user)," ")}}function S(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b.YNc(1,he,2,1,"div",32),b.YNc(2,D,2,3,"ng-template",null,33,b.W1O),b.qZA()),2&j){const nt=Ve.$implicit,Mt=b.MAs(3);b.xp6(1),b.Q6J("ngIf",null===nt.user)("ngIfElse",Mt)}}function I(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_BY")))}function P(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.hij(" ",nt.createdBy.slice(nt.createdBy.lastIndexOf("=")+1,nt.createdBy.length)," ")}}function i(j,Ve){1&j&&(b.TgZ(0,"th",27),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_BY")," "))}function r(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit,Mt=b.oxw();b.xp6(1),b.Oqu(Mt.getFriendlyName(nt.modifiedBy))}}function p(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_AT")))}function o(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.ALo(2,"date"),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,nt.modifiedAt,"d.M.y"))}}function t(j,Ve){1&j&&(b.TgZ(0,"th",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.FEDINFO")))}function n(j,Ve){if(1&j&&(b.TgZ(0,"td",28),b._uU(1),b.qZA()),2&j){const nt=Ve.$implicit;b.xp6(1),b.Oqu(nt.fedInfo)}}function c(j,Ve){1&j&&b._UZ(0,"tr",34)}function u(j,Ve){if(1&j&&b._UZ(0,"tr",35),2&j){const nt=Ve.$implicit,Mt=b.oxw();b.ekj("cursor-pointer",!Mt.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",Mt.selectApplication(nt))("routerLink",Mt.selectApplication(nt))}}function y(j,Ve){1&j&&(b.TgZ(0,"app-alert",36),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&j&&(b.Q6J("alert_type","warn"),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}let M=(()=>{class j{constructor(nt,Mt,zt){this.authResolver=nt,this.tableConfigService=Mt,this.dynamicPaginatingService=zt,this.displayedColumns=[],this.disableRouting=!1,this.searchString="",this.dateTo=new Date,this.dateFrom=this.yearAgo(),this.refreshTable=!1,this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadApplicationsPage())).subscribe()}ngOnInit(){var nt,Mt,zt,Vt;this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Wt=>"id"!==Wt)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadApplications(this.tableConfigService.getTablePageSize(this.tableId),0,"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Mt=null===(nt=this.member)||void 0===nt?void 0:nt.userId)&&void 0!==Mt?Mt:null,null!==(Vt=null===(zt=this.group)||void 0===zt?void 0:zt.id)&&void 0!==Vt?Vt:null,this.getVoId())}ngOnChanges(){this.refreshTable=!1,this.dataSource&&(this.child.paginator.pageIndex=0,this.loadApplicationsPage())}loadApplicationsPage(){var nt,Mt,zt,Vt;this.dataSource.loadApplications(this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Mt=null===(nt=this.member)||void 0===nt?void 0:nt.userId)&&void 0!==Mt?Mt:null,null!==(Vt=null===(zt=this.group)||void 0===zt?void 0:zt.id)&&void 0!==Vt?Vt:null,this.getVoId())}exportData(nt){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),nt)}selectApplication(nt){return this.disableRouting?null:this.group?["/organizations",nt.vo.id,"groups",this.group.id,"applications",nt.id]:this.member?["/organizations",nt.vo.id,"members",this.member.id,"applications",nt.id]:["/organizations",nt.vo.id,"applications",nt.id]}getExportDataForColumn(nt,Mt){var zt,Vt,Wt,At;switch(Mt){case"id":return nt.id.toString();case"voId":return nt.vo.id.toString();case"voName":return nt.vo.name;case"groupId":return null!==(Vt=null===(zt=nt.group)||void 0===zt?void 0:zt.id.toString())&&void 0!==Vt?Vt:"";case"groupName":return null!==(At=null===(Wt=nt.group)||void 0===Wt?void 0:Wt.name)&&void 0!==At?At:"";case"type":return nt.type;case"fedInfo":return nt.fedInfo;case"state":return nt.state;case"extSourceName":return nt.extSourceName;case"extSourceType":return nt.extSourceType;case"user":return nt.user?(0,f.bD)(nt.user):"";case"createdBy":return nt.createdBy;case"createdAt":return nt.createdAt;case"modifiedBy":return nt.modifiedBy;case"modifiedAt":return nt.modifiedAt;default:return nt[Mt]}}getSortDataColumn(){if(!this.sort)return e.sY.DATECREATED;switch(this.sort.active){case"id":return e.sY.ID;case"createdAt":default:return e.sY.DATECREATED;case"type":return e.sY.TYPE;case"state":return e.sY.STATE;case"user":return e.sY.SUBMITTER;case"groupName":return e.sY.GROUPNAME;case"modifiedBy":return e.sY.MODIFIEDBY}}getFriendlyName(nt){const Mt=nt.lastIndexOf("/CN=");if(-1!==Mt){const zt=nt.slice(Mt+4,nt.length).replace("/unstructuredName="," ");return-1!==zt.lastIndexOf("\\")?nt.slice(nt.lastIndexOf("=")+1,nt.length):zt}return nt}yearAgo(){const nt=new Date;return nt.setDate(nt.getDate()-365),nt}dateToString(nt){return(0,s.p6)(nt,"yyyy-MM-dd","en-GB")}getVoId(){return this.vo?this.vo.id:this.group?this.group.voId:this.member?this.member.voId:void 0}}return j.\u0275fac=function(nt){return new(nt||j)(b.Y36(T.x4),b.Y36(O.dB),b.Y36(T.ly))},j.\u0275cmp=b.Xpm({type:j,selectors:[["app-applications-dynamic-list"]],viewQuery:function(nt,Mt){if(1&nt&&(b.Gf(f.l9,7),b.Gf(g.YE,5)),2&nt){let zt;b.iGM(zt=b.CRH())&&(Mt.child=zt.first),b.iGM(zt=b.CRH())&&(Mt.sort=zt.first)}},inputs:{displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",group:"group",member:"member",vo:"vo",includeGroupApps:"includeGroupApps",states:"states",dateTo:"dateTo",dateFrom:"dateFrom",refreshTable:"refreshTable"},features:[b.TTD],decls:55,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdAt"],["matColumnDef","voId"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],["matColumnDef","fedInfo"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],[3,"applicationType"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(nt,Mt){1&nt&&(b.TgZ(0,"div",0),b.ALo(1,"async"),b.TgZ(2,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(Vt){return Mt.exportData(Vt)}),b.YNc(3,ie,2,0,"div",2),b.ALo(4,"async"),b.TgZ(5,"table",3),b.ynx(6,4),b.YNc(7,oe,3,3,"th",5),b.YNc(8,ge,2,1,"td",6),b.BQk(),b.ynx(9,7),b.YNc(10,Ne,3,3,"th",5),b.YNc(11,Fe,3,4,"td",6),b.BQk(),b.ynx(12,8),b.YNc(13,se,3,3,"th",9),b.YNc(14,Me,2,1,"td",6),b.BQk(),b.ynx(15,10),b.YNc(16,ve,3,3,"th",9),b.YNc(17,me,2,1,"td",6),b.BQk(),b.ynx(18,11),b.YNc(19,Te,3,3,"th",9),b.YNc(20,te,2,1,"td",6),b.BQk(),b.ynx(21,12),b.YNc(22,R,3,3,"th",9),b.YNc(23,Oe,2,1,"td",6),b.BQk(),b.ynx(24,13),b.YNc(25,Ie,3,3,"th",5),b.YNc(26,He,2,1,"td",6),b.BQk(),b.ynx(27,14),b.YNc(28,fe,3,3,"th",5),b.YNc(29,Ce,3,3,"td",6),b.BQk(),b.ynx(30,15),b.YNc(31,Ye,3,3,"th",9),b.YNc(32,Xe,2,1,"td",6),b.BQk(),b.ynx(33,16),b.YNc(34,tt,3,3,"th",9),b.YNc(35,at,2,1,"td",6),b.BQk(),b.ynx(36,17),b.YNc(37,N,3,3,"th",5),b.YNc(38,S,4,2,"td",6),b.BQk(),b.ynx(39,18),b.YNc(40,I,3,3,"th",9),b.YNc(41,P,2,1,"td",6),b.BQk(),b.ynx(42,19),b.YNc(43,i,3,3,"th",5),b.YNc(44,r,2,1,"td",6),b.BQk(),b.ynx(45,20),b.YNc(46,p,3,3,"th",9),b.YNc(47,o,3,4,"td",6),b.BQk(),b.ynx(48,21),b.YNc(49,t,3,3,"th",9),b.YNc(50,n,2,1,"td",6),b.BQk(),b.YNc(51,c,1,0,"tr",22),b.YNc(52,u,1,4,"tr",23),b.qZA(),b.qZA(),b.qZA(),b.YNc(53,y,3,4,"app-alert",24),b.ALo(54,"async")),2&nt&&(b.Q6J("hidden",0===Mt.dataSource.allObjectCount&&!1===b.lcZ(1,9,Mt.dataSource.loading$)),b.xp6(2),b.Q6J("dataLength",Mt.dataSource.allObjectCount)("pageSizeOptions",Mt.pageSizeOptions)("tableId",Mt.tableId),b.xp6(1),b.Q6J("ngIf",b.lcZ(4,11,Mt.dataSource.loading$)),b.xp6(2),b.Q6J("dataSource",Mt.dataSource),b.xp6(46),b.Q6J("matHeaderRowDef",Mt.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Mt.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===Mt.dataSource.allObjectCount&&!1===b.lcZ(54,13,Mt.dataSource.loading$)))},directives:[E.l,s.O5,h.$g,k.BZ,g.YE,k.w1,k.fO,k.ge,g.nU,k.Dz,k.ev,Le,k.as,k.XQ,k.nj,k.Gk,de.YH,ke.rH,ae.w],pipes:[s.Ov,V.X$,s.uU,H.h,X.d],styles:[""]}),j})()},55857:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>Le});var e=d(9315),f=d(10036),g=d(36908),T=d(93075),m=d(69808),A=d(5e3),s=d(96214),b=d(47423),O=d(67322),E=d(74107),h=d(90508),k=d(64901),L=d(39798),Y=d(9146),J=d(51062);function ue(de,ke){if(1&de){const ae=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(ae),A.oxw().showAllDetails=!0}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function ce(de,ke){if(1&de){const ae=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(ae),A.oxw().showAllDetails=!1}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let Le=(()=>{class de{constructor(ae,V,H){this.registrarManager=ae,this.guiAuthResolver=V,this.entityStorageService=H,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.displayedColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedDisplayedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Af,this.tableId=f.gB,this.refresh=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.startDate=new T.NI((0,m.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new T.NI((0,m.p6)(new Date,"yyyy-MM-dd","en-GB"))}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const ae=new Date;return ae.setDate(ae.getDate()-365),ae}applyFilter(ae){this.filterValue=ae}}return de.id="GroupApplicationsComponent",de.\u0275fac=function(ae){return new(ae||de)(A.Y36(e.tk),A.Y36(g.x4),A.Y36(g.fb))},de.\u0275cmp=A.Xpm({type:de,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(ae,V){2&ae&&A.ekj("router-component",V.true)},decls:34,vars:38,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","refreshTable","group"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(ae,V){1&ae&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return V.refresh=!V.refresh}),A.qZA(),A.YNc(5,ue,3,3,"button",2),A.YNc(6,ce,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return V.select()})("valueChange",function(X){return V.state=X}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(X){return V.applyFilter(X)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return V.select()}),A.qZA(),A.qZA(),A.TgZ(32,"div"),A._UZ(33,"app-applications-dynamic-list",13),A.qZA()),2&ae&&(A.xp6(1),A.Oqu(A.lcZ(2,22,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!V.showAllDetails),A.xp6(1),A.Q6J("ngIf",V.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,24,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",V.state),A.xp6(2),A.Oqu(A.lcZ(14,26,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,28,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,30,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,32,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,34,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,36,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",V.startDate)("endDate",V.endDate),A.xp6(2),A.Q6J("tableId",V.showAllDetails?V.detailTableId:V.tableId)("searchString",V.filterValue)("displayedColumns",V.showAllDetails?V.detailedDisplayedColumns:V.displayedColumns)("states",V.currentStates)("dateFrom",V.startDate.value)("dateTo",V.endDate.value)("refreshTable",V.refresh)("group",V.group))},directives:[s.t,m.O5,b.lW,O.KE,O.hX,E.gD,h.ey,k.P,L.S,Y.S],pipes:[J.X$],styles:[""]}),de})()},96180:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Te});var e=d(20449),f=d(36908),g=d(64080),T=d(97034),m=d(53455),A=d(9315),s=d(10036),b=d(9244),O=d(74414),E=d(93075),h=d(5e3),k=d(48966),L=d(69808),Y=d(98380),J=d(96214),ue=d(29772),ce=d(47423),Le=d(67322),de=d(74107),ke=d(90508),ae=d(64901),V=d(20773),H=d(4811),X=d(51062),ie=d(20551);function oe(te,R){1&te&&(h.TgZ(0,"app-alert",15),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&te&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function ge(te,R){if(1&te){const Oe=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&te){const Oe=h.oxw();h.Q6J("disabled",Oe.synchEnabled||Oe.blockGroupManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function Ne(te,R){if(1&te){const Oe=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&te){const Oe=h.oxw();h.Q6J("disabled",Oe.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function Fe(te,R){if(1&te){const Oe=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&te){const Oe=h.oxw();h.Q6J("disabled",Oe.selection.isEmpty()||Oe.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function se(te,R){if(1&te&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&te){const Oe=R.$implicit;h.Q6J("value",Oe),h.xp6(1),h.Oqu(h.lcZ(2,2,Oe))}}function Me(te,R){if(1&te&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&te){const Oe=R.$implicit;h.Q6J("value",Oe),h.xp6(1),h.Oqu(h.lcZ(2,2,Oe))}}function ve(te,R){1&te&&h._UZ(0,"mat-spinner",20)}function me(te,R){if(1&te&&h._UZ(0,"perun-web-apps-members-dynamic-list",21),2&te){const Oe=h.oxw();h.Q6J("voId",Oe.group.voId)("groupId",Oe.group.id)("tableId",Oe.tableId)("selection",Oe.selection)("displayedColumns",Oe.displayedColumns)("updateTable",Oe.updateTable)("searchString",Oe.searchString)("selectedStatuses",Oe.selectedStatuses)("selectedGroupStatuses",Oe.selectedGroupStatuses)("attrNames",Oe.memberAttrNames)}}let Te=(()=>{class te{constructor(Oe,Ie,He,fe,Ce,Ye,Xe,tt){this.groupService=Oe,this.dialog=Ie,this.guiAuthResolver=He,this.storeService=fe,this.attributesManager=Ce,this.apiRequest=Ye,this.notificator=Xe,this.entityStorageService=tt,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=s.dI,this.memberAttrNames=[g.r.MEMBER_DEF_ORGANIZATION,g.r.MEMBER_DEF_MAIL,g.r.USER_DEF_ORGANIZATION,g.r.USER_DEF_PREFERRED_MAIL,g.r.MEMBER_DEF_EXPIRATION,g.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[g.r.GROUP_SYNC_ENABLED,g.r.GROUP_LAST_SYNC_STATE,g.r.GROUP_LAST_SYNC_TIMESTAMP,g.r.GROUP_STRUCTURE_SYNC_ENABLED,g.r.GROUP_LAST_STRUCTURE_SYNC_STATE,g.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new E.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new E.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.selection=new e.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.group.voId,this.group.id).then(()=>this.loadPage(this.group.id))}loadPage(Oe){this.groupService.getRichGroupByIdWithAttributesByNames(Oe,this.groupAttrNames).subscribe(Ie=>{this.group=Ie,this.synchEnabled=this.isSynchronized(),this.loading=!1})}isSynchronized(){return this.group.attributes.some(Oe=>"synchronizationEnabled"===Oe.friendlyName&&null!==Oe.value&&"true"===Oe.value.toString())}setAuthRights(){this.addAuth=this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","type","fullName","status","groupStatus","organization","email","logins"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(Oe){this.searchString=Oe,this.updateTable=!this.updateTable}onAddMember(){const Oe=(0,b.kZ)();Oe.width="1000px",Oe.data={voId:this.group.voId,group:this.group,entityId:this.group.id,manualAddingBlocked:this.blockManualMemberAdding,theme:"group-theme",type:"group"},this.dialog.open(T.o,Oe).afterClosed().subscribe(He=>{He&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const Oe=(0,b.kZ)();Oe.width="450px",Oe.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(m.X,Oe).afterClosed().subscribe(He=>{He&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const Oe=(0,b.kZ)();Oe.width="650px",Oe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(O.R,Oe)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(Oe,Ie){return new Promise(He=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Oe,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(fe=>{this.blockManualMemberAdding=null!==fe.value,this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(Ie,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(Ce=>{this.blockGroupManualMemberAdding=null!==Ce.value,He()},Ce=>{"PrivilegeException"!==Ce.error.name&&this.notificator.showError(Ce),He()})},fe=>{"PrivilegeException"!==fe.error.name&&this.notificator.showError(fe),He()})})}changeVoStatuses(){this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selectedGroupStatuses=this.groupStatuses.value}}return te.id="GroupMembersComponent",te.\u0275fac=function(Oe){return new(Oe||te)(h.Y36(A.ff),h.Y36(k.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(A.H8),h.Y36(f.F5),h.Y36(f.V6),h.Y36(f.fb))},te.\u0275cmp=h.Xpm({type:te,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(Oe,Ie){2&Oe&&h.ekj("router-component",Ie.true)},decls:38,vars:45,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2 action-button","color","accent","data-cy","add-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","data-cy","remove-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames",4,"ngIf"],["alert_type","warn"],["color","accent","data-cy","add-members","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","warn","data-cy","remove-members","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames"]],template:function(Oe,Ie){1&Oe&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,oe,3,3,"app-alert",1),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return Ie.updateTable=!Ie.updateTable}),h.qZA(),h.TgZ(6,"span",4),h.ALo(7,"translate"),h.TgZ(8,"div",5),h.ALo(9,"translate"),h.YNc(10,ge,3,4,"button",6),h.qZA(),h.qZA(),h.TgZ(11,"span",4),h.ALo(12,"translate"),h.YNc(13,Ne,3,4,"button",7),h.qZA(),h.TgZ(14,"span",4),h.ALo(15,"translate"),h.YNc(16,Fe,3,4,"button",8),h.qZA(),h.TgZ(17,"mat-form-field",9),h.TgZ(18,"mat-label"),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-select",10),h.NdJ("closed",function(){return Ie.changeVoStatuses()}),h.TgZ(22,"mat-select-trigger"),h._uU(23),h.ALo(24,"memberStatus"),h.qZA(),h.YNc(25,se,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(26,"mat-form-field",9),h.TgZ(27,"mat-label"),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.TgZ(30,"mat-select",10),h.NdJ("closed",function(){return Ie.changeGroupStatuses()}),h.TgZ(31,"mat-select-trigger"),h._uU(32),h.ALo(33,"memberStatus"),h.qZA(),h.YNc(34,Me,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(35,"perun-web-apps-debounce-filter",12),h.NdJ("filter",function(fe){return Ie.onSearchByString(fe)}),h.qZA(),h.qZA(),h.YNc(36,ve,1,0,"mat-spinner",13),h.YNc(37,me,1,10,"perun-web-apps-members-dynamic-list",14)),2&Oe&&(h.xp6(1),h.Oqu(h.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",Ie.synchEnabled),h.xp6(3),h.s9C("matTooltip",h.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.s9C("matTooltip",h.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!Ie.blockGroupManualMemberAdding),h.xp6(2),h.Q6J("ngIf",Ie.addAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Ie.inviteAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Ie.removeAuth),h.xp6(3),h.Oqu(h.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",Ie.statuses),h.xp6(2),h.hij(" ",h.lcZ(24,39,Ie.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Ie.statusList),h.xp6(3),h.Oqu(h.lcZ(29,41,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),h.xp6(2),h.Q6J("formControl",Ie.groupStatuses),h.xp6(2),h.hij(" ",h.lcZ(33,43,Ie.displaySelectedGroupStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Ie.groupStatusList),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",Ie.loading),h.xp6(1),h.Q6J("ngIf",!Ie.loading))},directives:[L.O5,Y.w,J.t,ue.gM,ce.lW,Le.KE,Le.hX,de.gD,E.JJ,E.oH,de.$L,L.sg,ke.ey,ae.P,V.$g,H.m],pipes:[X.X$,ie.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),te})()},37240:(Ke,be,d)=>{"use strict";d.d(be,{q:()=>he});var e=d(20449),f=d(9315),g=d(10036),T=d(48966),m=d(36908),s=(d(387),d(5e3)),b=d(51062),O=d(69808),E=d(20773),h=d(92081),k=d(64901),L=d(62109),Y=d(32368),J=d(93075),ue=d(47423),ce=d(29772);const Le=["list"],de=["stepper"];function ke(D,S){1&D&&s._UZ(0,"mat-spinner",4)}function ae(D,S){1&D&&(s._uU(0),s.ALo(1,"translate")),2&D&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.RESOURCES"))}function V(D,S){1&D&&(s._uU(0),s.ALo(1,"translate")),2&D&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.OPTIONS"))}const H=function(){return["select","id","name","facility","tags","description"]};function X(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-stepper",6,7),s.TgZ(3,"mat-step",8),s.YNc(4,ae,2,3,"ng-template",9),s.TgZ(5,"perun-web-apps-debounce-filter",10),s.NdJ("filter",function(i){return s.CHM(I),s.oxw().applyFilter(i)}),s.ALo(6,"translate"),s.qZA(),s._UZ(7,"perun-web-apps-resources-list",11,12),s.qZA(),s.TgZ(9,"mat-step"),s.YNc(10,V,2,3,"ng-template",9),s.TgZ(11,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeSubgroupsMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().autoAssignSubgroups=i}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"div",14),s._UZ(15,"i",15),s.qZA(),s.TgZ(16,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeInactiveMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().asActive=i}),s._uU(17),s.ALo(18,"translate"),s.qZA(),s.TgZ(19,"div",14),s._uU(20),s.qZA(),s.TgZ(21,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeAsyncMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().async=i}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"div",14),s._uU(25),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&D){const I=s.MAs(8),P=s.oxw();s.xp6(1),s.Q6J("linear",!0),s.xp6(2),s.Q6J("completed",0!==P.selection.selected.length&&void 0!==I&&I.addAuth),s.xp6(2),s.s9C("placeholder",s.lcZ(6,19,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),s.xp6(2),s.Q6J("tableId",P.tableId)("resources",P.resources)("disableRouting",!0)("selection",P.selection)("groupToResource",P.data.group)("displayedColumns",s.DdM(27,H))("filterValue",P.filterValue),s.xp6(4),s.Q6J("ngModel",P.autoAssignSubgroups),s.xp6(1),s.hij(" ",s.lcZ(13,21,"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS")," "),s.xp6(3),s.Q6J("innerHTML",P.autoAssignHint,s.oJD),s.xp6(1),s.Q6J("ngModel",P.asActive),s.xp6(1),s.hij(" ",s.lcZ(18,23,"DIALOGS.ADD_GROUP_RESOURCES.AS_ACTIVE")," "),s.xp6(3),s.hij(" ",P.asActiveHint," "),s.xp6(1),s.Q6J("ngModel",P.async),s.xp6(1),s.hij(" ",s.lcZ(23,25,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),s.xp6(3),s.hij(" ",P.asyncHint," ")}}function ie(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",22),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).stepperPrevious()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&D&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_GROUP_RESOURCES.BACK")," "))}function oe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).stepperNext()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&D){const I=s.oxw(2);s.ekj("ml-2",void 0!==I.stepper&&0!==I.stepper.selectedIndex)("ml-auto",!(void 0!==I.stepper&&0!==I.stepper.selectedIndex)),s.Q6J("disabled",0===I.selection.selected.length||void 0!==I.list&&!I.list.addAuth),s.xp6(1),s.hij(" ",s.lcZ(2,6,"DIALOGS.ADD_GROUP_RESOURCES.NEXT")," ")}}function ge(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).onSubmit()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&D){const I=s.oxw(2);s.Q6J("disabled",0===I.selection.selected.length||I.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}function Ne(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",16),s.TgZ(1,"button",17),s.NdJ("click",function(){return s.CHM(I),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ie,3,3,"button",18),s.YNc(5,oe,3,8,"button",19),s.TgZ(6,"span",20),s.ALo(7,"translate"),s.YNc(8,ge,3,4,"button",21),s.qZA(),s.qZA()}if(2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("ngIf",void 0!==I.stepper&&0!==I.stepper.selectedIndex),s.xp6(1),s.Q6J("ngIf",void 0!==I.stepper&&I.stepper.selectedIndex!==I.stepper._steps.length-1),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,8,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),s.Q6J("matTooltipDisabled",void 0===I.list||I.list.addAuth),s.xp6(2),s.Q6J("ngIf",void 0!==I.stepper&&I.stepper.selectedIndex===I.stepper._steps.length-1)}}let Fe=(()=>{class D{constructor(I,P,i,r,p,o,t){this.dialogRef=I,this.data=P,this.notificator=i,this.translate=r,this.resourcesManager=p,this.guiAuthResolver=o,this.cd=t,this.filterValue="",this.resources=[],this.selection=new e.Ov(!0,[]),this.theme="",this.async=!0,this.autoAssignSubgroups=!1,this.asActive=!0,this.tableId=g.dK}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.autoAssignHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT"),this.asActiveHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT"),this.asyncHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT"),this.resourcesManager.getRichResources(this.data.group.voId).subscribe(I=>{this.resourcesManager.getAssignedResourcesWithGroup(this.data.group.id).subscribe(P=>{for(const i of I)-1===P.findIndex(r=>r.id===i.id)&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",[this.data.group,i])&&this.resources.push(i);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(I){this.filterValue=I}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const I=this.selection.selected.map(P=>P.id);this.resourcesManager.assignGroupToResources(this.data.group.id,I,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(P=>{this.notificator.showSuccess(P),this.dialogRef.close(!0)})},()=>this.loading=!1)}changeSubgroupsMessage(){this.autoAssignHint=this.translate.instant(this.autoAssignSubgroups?"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_ON_HINT")}changeInactiveMessage(){this.asActiveHint=this.translate.instant(this.asActive?"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT")}changeAsyncMessage(){this.asyncHint=this.translate.instant(this.async?"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT")}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return D.\u0275fac=function(I){return new(I||D)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk),s.Y36(m.x4),s.Y36(s.sBO))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(I,P){if(1&I&&(s.Gf(Le,5),s.Gf(de,5)),2&I){let i;s.iGM(i=s.CRH())&&(P.list=i.first),s.iGM(i=s.CRH())&&(P.stepper=i.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"linear"],["stepper",""],[3,"completed"],["matStepLabel",""],[3,"placeholder","filter"],[3,"tableId","resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["labelPosition","before",1,"mt-3","slide-text",3,"ngModel","toggleChange","ngModelChange"],[1,"text-muted","new-line","mt-2"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-auto","color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","type","button",1,"ml-auto",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ke,1,0,"mat-spinner",1),s.YNc(5,X,26,28,"div",2),s.YNc(6,Ne,9,10,"div",3),s.qZA()),2&I&&(s.Tol(P.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading&&void 0!==P.stepper))},directives:[T.uh,O.O5,E.$g,T.xY,h.Vq,h.C0,h.VY,k.P,L.C,Y.Rr,J.JJ,J.On,T.H8,ue.lW,ce.gM],pipes:[b.X$],styles:[""]}),D})();var se=d(32075);function Me(D,S){1&D&&s._UZ(0,"mat-spinner",4)}function ve(D,S){1&D&&s._UZ(0,"th",13)}function me(D,S){if(1&D&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&D){const I=S.$implicit;s.xp6(1),s.Oqu(I.name)}}function Te(D,S){1&D&&s._UZ(0,"tr",15)}function te(D,S){1&D&&s._UZ(0,"tr",16)}function R(D,S){if(1&D&&(s.TgZ(0,"div",5),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",7),s.ynx(8,8),s.YNc(9,ve,1,0,"th",9),s.YNc(10,me,2,1,"td",10),s.BQk(),s.YNc(11,Te,1,0,"tr",11),s.YNc(12,te,1,0,"tr",12),s.qZA(),s.qZA()),2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),s.xp6(2),s.Q6J("dataSource",I.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",I.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",I.displayedColumns)}}function Oe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(I),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",19),s.NdJ("click",function(){return s.CHM(I),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("disabled",I.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let Ie=(()=>{class D{constructor(I,P,i,r,p){this.dialogRef=I,this.data=P,this.notificator=i,this.translate=r,this.resourcesManager=p,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new se.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const I=this.data.resources.map(P=>P.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,I).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(P=>{this.loading=!1,this.notificator.showSuccess(P),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return D.\u0275fac=function(I){return new(I||D)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Me,1,0,"mat-spinner",1),s.YNc(5,R,13,9,"div",2),s.YNc(6,Oe,7,7,"div",3),s.qZA()),2&I&&(s.Tol(P.data.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading))},directives:[T.uh,O.O5,E.$g,T.xY,se.BZ,se.w1,se.fO,se.ge,se.Dz,se.ev,se.as,se.XQ,se.nj,se.Gk,T.H8,ue.lW],pipes:[b.X$],styles:[""]}),D})();var He=d(9244),fe=d(96214),Ce=d(7434);const Ye=["list"];function Xe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(I),s.oxw().addResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&D&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function tt(D,S){1&D&&s._UZ(0,"mat-spinner",9)}const at=function(){return["select","id","indirectResourceAssigment","name","status","facility","tags","description"]};function N(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"perun-web-apps-resources-list",10,11),s.NdJ("refreshTable",function(){return s.CHM(I),s.oxw().refreshTable()}),s.qZA()}if(2&D){const I=s.oxw();s.Q6J("tableId",I.tableId)("filterValue",I.filterValue)("resources",I.resources)("routingVo",!0)("disableRouting",!I.routingAuth)("selection",I.selected)("groupToResource",I.group)("groupId",I.group.id)("resourcesToDisableCheckbox",I.resourcesToDisable)("displayedColumns",s.DdM(10,at))}}let he=(()=>{class D{constructor(I,P,i,r,p){this.resourcesManager=I,this.groupService=P,this.dialog=i,this.guiAuthResolver=r,this.entityStorageService=p,this.resources=null,this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=g.v1,this.addAuth=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.setAuthorization(),this.refreshTable()}setAuthorization(){null!==this.resources&&0!==this.resources.length&&(this.routingAuth=this.guiAuthResolver.isAuthorized("getResourceById_int_policy",[this.resources[0]])),this.addAuth=this.guiAuthResolver.isAuthorized("getResources_Vo_policy",[this.group])}refreshTable(){this.loading=!0,this.resourcesManager.getResourceAssignments(this.group.id).subscribe(I=>{this.resources=I.map(P=>{const i=P.enrichedResource.resource;return i.facility=P.facility,i.status=P.status,i.resourceTags=P.resourceTags,i.failureCause=P.failureCause,i.sourceGroupId=P.sourceGroupId,i}),this.selected.clear(),this.resourcesToDisable=new Set(this.resources.filter(P=>null!==P.sourceGroupId).map(P=>P.id)),this.setAuthorization(),this.loading=!1})}applyFilter(I){this.filterValue=I}addResource(){const I=(0,He.kZ)();I.width="1000px",I.data={theme:"group-theme",group:this.group},this.dialog.open(Fe,I).afterClosed().subscribe(i=>{i&&this.refreshTable()})}removeResource(){const I=(0,He.kZ)();I.width="450px",I.data={theme:"group-theme",resources:this.selected.selected,groupId:this.group.id},this.dialog.open(Ie,I).afterClosed().subscribe(i=>{i&&(this.selected.clear(),this.refreshTable())})}}return D.id="GroupResourcesComponent",D.\u0275fac=function(I){return new(I||D)(s.Y36(f.xk),s.Y36(f.ff),s.Y36(T.uw),s.Y36(m.x4),s.Y36(m.fb))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-group-resources"]],viewQuery:function(I,P){if(1&I&&s.Gf(Ye,5),2&I){let i;s.iGM(i=s.CRH())&&(P.list=i.first)}},hostVars:2,hostBindings:function(I,P){2&I&&s.ekj("router-component",P.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable"],["list",""]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return P.refreshTable()}),s.qZA(),s.YNc(5,Xe,3,3,"button",2),s.TgZ(6,"span",3),s.ALo(7,"translate"),s.TgZ(8,"button",4),s.NdJ("click",function(){return P.removeResource()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.TgZ(11,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(r){return P.applyFilter(r)}),s.qZA(),s.YNc(12,tt,1,0,"mat-spinner",6),s.YNc(13,N,2,11,"perun-web-apps-resources-list",7),s.qZA()),2&I&&(s.xp6(2),s.Oqu(s.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",P.addAuth),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),s.Q6J("matTooltipDisabled",0===P.selected.selected.length||void 0!==P.list&&P.list.removeAuth),s.xp6(2),s.Q6J("disabled",0===P.selected.selected.length||void 0!==P.list&&!P.list.removeAuth),s.xp6(1),s.hij(" ",s.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",P.resources&&!P.loading))},directives:[fe.t,O.O5,ue.lW,ce.gM,Ce.L,E.$g,L.C],pipes:[b.X$],styles:[""]}),D})()},14336:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>Ie});var e=d(36908),f=d(51076),g=d(83491),T=d(95502),m=d(1186),A=d(9315),s=d(9244),b=d(5e3),O=d(48966),E=d(51062),h=d(30325),k=d(69808),L=d(20773),Y=d(25245),J=d(29772),ue=d(32368),ce=d(93075),Le=d(47423),de=d(4834),ke=d(96214),ae=d(98380),V=d(157);const H=["autoRegToggle"];function X(He,fe){1&He&&b._UZ(0,"mat-spinner",3)}function ie(He,fe){if(1&He&&(b.TgZ(0,"span"),b._uU(1," , "),b.TgZ(2,"mat-icon",22),b._uU(3,"nat"),b.qZA(),b._uU(4),b.ALo(5,"translate"),b.ALo(6,"translate"),b.qZA()),2&He){const Ce=b.oxw(3);b.xp6(4),b.hij(" ",Ce.applicationForm.automaticApprovalEmbedded?b.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function oe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"mat-slide-toggle",23,24),b.NdJ("change",function(){return b.CHM(Ce),b.oxw(3).updateAutoRegistration()}),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw(3);b.xp6(1),b.Q6J("disabled",!Ce.changeAutoRegistration)("ngModel",Ce.autoRegistrationEnabled),b.xp6(2),b.hij(" ",b.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function ge(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",25),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(3).settings()}),b.TgZ(1,"i",12),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&He&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function Ne(He,fe){if(1&He&&(b.TgZ(0,"div",15),b.TgZ(1,"div",16),b.TgZ(2,"div",17),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",17),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",18),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",19),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.YNc(20,ie,7,5,"span",2),b.qZA(),b.YNc(21,oe,5,5,"div",2),b.qZA(),b.TgZ(22,"div",20),b.YNc(23,ge,5,3,"button",21),b.qZA(),b.qZA()),2&He){const Ce=b.oxw(2);b.xp6(1),b.Q6J("ngClass",Ce.autoRegistrationEnabled?"w-75":"w-50"),b.xp6(2),b.AsE(" ",b.lcZ(4,9,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",Ce.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,11,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",Ce.applicationForm.automaticApproval?b.lcZ(13,13,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,15,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",Ce.applicationForm.automaticApprovalExtension?b.lcZ(18,17,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(3),b.Q6J("ngIf",Ce.autoRegistrationEnabled),b.xp6(1),b.Q6J("ngIf",Ce.voHasEmbeddedGroupApplication),b.xp6(2),b.Q6J("ngIf",Ce.editAuth)}}function Fe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",26),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function se(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",27),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).save()}),b.TgZ(1,"i",12),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&He){const Ce=b.oxw(2);b.Q6J("disabled",!Ce.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function Me(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",28),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).copy()}),b.TgZ(1,"i",12),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&He&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function ve(He,fe){1&He&&(b.TgZ(0,"app-alert",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const me=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},Te=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function te(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div"),b.YNc(1,Ne,24,21,"div",4),b._UZ(2,"mat-divider",5),b.TgZ(3,"div",6),b.TgZ(4,"perun-web-apps-refresh-button",7),b.NdJ("refresh",function(){return b.CHM(Ce),b.oxw().updateFormItems()}),b.qZA(),b.YNc(5,Fe,3,3,"button",8),b.YNc(6,se,5,4,"button",9),b.YNc(7,Me,5,3,"button",10),b.TgZ(8,"button",11),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().preview()}),b.TgZ(9,"i",12),b._uU(10,"search"),b.qZA(),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.YNc(13,ve,3,3,"app-alert",13),b.TgZ(14,"app-application-form-list",14),b.NdJ("applicationFormItemsChange",function(){return b.CHM(Ce),b.oxw().changeItems()}),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw();b.xp6(1),b.Q6J("ngIf",!Ce.loading),b.xp6(4),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("ngIf",Ce.editAuth),b.xp6(4),b.hij(" ",b.lcZ(12,12,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("loading",Ce.loading)("applicationForm",Ce.applicationForm)("applicationFormItems",Ce.applicationFormItems)("theme","group-theme")("displayedColumns",Ce.editAuth?b.DdM(14,me):b.DdM(15,Te))("refreshApplicationForm",Ce.refreshApplicationForm)}}function R(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",32),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).createEmptyApplicationForm()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function Oe(He,fe){if(1&He&&(b.TgZ(0,"div"),b.TgZ(1,"app-alert",30),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,R,3,3,"button",31),b.qZA()),2&He){const Ce=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),b.xp6(2),b.Q6J("ngIf",Ce.createEmptyForm)}}let Ie=(()=>{class He{constructor(Ce,Ye,Xe,tt,at,N,he,D,S){this.registrarManager=Ce,this.dialog=Ye,this.notificator=Xe,this.translate=tt,this.apiRequest=at,this.router=N,this.guiAuthResolver=he,this.attributesManager=D,this.entityStorageService=S,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.setAuth(),this.apiRequest.dontHandleErrorForNext(),this.registrarManager.getGroupApplicationForm(this.group.id).subscribe(Ce=>{this.applicationForm=Ce,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ye=>{this.applicationFormItems=Ye,this.attributesManager.getGroupAttributeByName(this.group.id,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(Xe=>{this.voHasEmbeddedGroupApplication=null!==Xe.value,this.autoRegistrationEnabled=!!Xe.value,this.loading=!1})},()=>this.loading=!1)},Ce=>{"FormNotExistsException"===Ce.error.name?(this.noApplicationForm=!0,this.loading=!1):this.notificator.showRPCError(Ce.error)})}setAuth(){this.editAuth=this.guiAuthResolver.isAuthorized("group-updateFormItems_ApplicationForm_List_policy",[this.group]),this.createEmptyForm=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.changeAutoRegistration=this.guiAuthResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[this.group])}add(){let Ce=(0,s.kZ)();Ce.width="500px",Ce.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(f.J,Ce).afterClosed().subscribe(Xe=>{Xe&&(this.applicationFormItems=Object.assign([],Xe[0]),Ce=(0,s.kZ)(),Ce.width="600px",Ce.height="600px",Ce.data={voId:this.group.voId,groupId:this.group.id,applicationFormItem:Xe[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(g._,Ce),this.itemsChanged=!0)})}copy(){const Ce=(0,s.kZ)();Ce.width="500px",Ce.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(T.W,Ce).afterClosed().subscribe(Xe=>{Xe&&this.updateFormItems()})}settings(){const Ce=(0,s.kZ)();Ce.width="400px",Ce.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(m.E,Ce).afterClosed().subscribe(Xe=>{Xe&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(tt=>{this.notificator.showSuccess(tt)}),this.applicationForm=Xe)})}preview(){this.router.navigate(["/organizations",this.group.voId,"groups",this.group.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ce=>{this.applicationFormItems=Ce,this.itemsChanged=!1,this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}createEmptyApplicationForm(){this.registrarManager.createApplicationFormInGroup(this.group.id).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}save(){let Ce=0;for(const Ye of this.applicationFormItems)Ye.ordnum=Ce,Ye.forDelete||Ce++;this.registrarManager.updateFormItemsForGroup({group:this.group.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(Ye=>{this.notificator.showSuccess(Ye)}),this.updateFormItems()})}clear(){this.applicationFormItems=[],this.itemsChanged=!0}updateAutoRegistration(){this.autoRegToggle.setDisabledState(!0),this.autoRegistrationEnabled?this.registrarManager.deleteGroupsFromAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1)):this.registrarManager.addGroupsToAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return He.id="GroupSettingsApplicationFormComponent",He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(A.tk),b.Y36(O.uw),b.Y36(e.V6),b.Y36(E.sK),b.Y36(e.F5),b.Y36(h.F0),b.Y36(e.x4),b.Y36(A.H8),b.Y36(e.fb))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-group-settings-application-form"]],viewQuery:function(Ce,Ye){if(1&Ce&&b.Gf(H,5),2&Ce){let Xe;b.iGM(Xe=b.CRH())&&(Ye.autoRegToggle=Xe.first)}},hostVars:2,hostBindings:function(Ce,Ye){2&Ce&&b.ekj("router-component",Ye.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","","data-cy","create-empty-form",3,"click",4,"ngIf"],["mat-stroked-button","","data-cy","create-empty-form",3,"click"]],template:function(Ce,Ye){1&Ce&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,X,1,0,"mat-spinner",1),b.YNc(4,te,15,16,"div",2),b.YNc(5,Oe,5,4,"div",2)),2&Ce&&(b.xp6(1),b.hij(" ",b.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",Ye.loading),b.xp6(1),b.Q6J("ngIf",!Ye.noApplicationForm),b.xp6(1),b.Q6J("ngIf",!Ye.loading&&Ye.noApplicationForm))},directives:[k.O5,L.$g,k.mk,Y.Hw,J.gM,ue.Rr,ce.JJ,ce.On,Le.lW,de.d,ke.t,ae.w,V.b],pipes:[E.X$],styles:[""]}),He})()},15592:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>te});var e=d(81889),f=d(20449),g=d(41656),T=d(9244),m=d(9315),A=d(64080),s=d(10036),b=d(87842),O=d(36908),h=(d(387),d(5e3)),k=d(48966),L=d(96214),Y=d(69808),J=d(47423),ue=d(29772),ce=d(64901),Le=d(32368),de=d(93075),ke=d(20773),ae=d(58956),V=d(24179),H=d(51062);const X=["tree"],ie=["list"],oe=["toggle"];function ge(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function Ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().deleteGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&R){const Ie=h.oxw();h.Q6J("disabled",0===Ie.selected.selected.length||void 0!==Ie.tree&&!Ie.tree.removeAuth||void 0!==Ie.list&&!Ie.list.removeAuth),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function Fe(R,Oe){1&R&&h._UZ(0,"mat-spinner",12)}function se(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).refreshTable()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("groups",Ie.groups)("expandAll",Ie.filtering)("hideCheckbox",!Ie.deleteAuth)("selection",Ie.selected)("filterValue",Ie.filterValue)("disableRouting",!Ie.routeAuth)}}const Me=function(){return["select","id","name","description","menu"]},ve=function(){return["id","name","description","menu"]};function me(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).refreshTable()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("tableId",Ie.tableId)("groups",Ie.groups)("selection",Ie.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!Ie.routeAuth)("displayedColumns",Ie.deleteAuth?h.DdM(8,Me):h.DdM(9,ve))("filter",Ie.filterValue)}}function Te(R,Oe){if(1&R&&(h.TgZ(0,"div",13),h.YNc(1,se,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,me,2,10,"perun-web-apps-groups-list",15),h.qZA()),2&R){const Ie=h.oxw();h.xp6(1),h.Q6J("ngIf",!Ie.showGroupList),h.xp6(1),h.Q6J("ngIf",Ie.showGroupList)}}let te=(()=>{class R{constructor(Ie,He,fe,Ce){this.dialog=Ie,this.groupService=He,this.guiAuthResolver=fe,this.entityStorageService=Ce,this.groups=[],this.selected=new f.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=s.bf,this.filterValue=""}onCreateGroup(){const Ie=(0,T.kZ)();Ie.width="450px",Ie.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(e.y,Ie).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.refreshTable())})}ngOnInit(){"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree")}),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.createAuth=this.guiAuthResolver.isAuthorized("createGroup_Group_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.group]),0!==this.groups.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.groups[0]]))}deleteGroup(){const Ie=(0,T.kZ)();Ie.width="450px",Ie.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(g.P,Ie).afterClosed().subscribe(fe=>{fe&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[A.r.GROUP_DEF_MAIL_FOOTER,A.r.GROUP_SYNC_ENABLED,A.r.GROUP_LAST_SYNC_STATE,A.r.GROUP_LAST_SYNC_TIMESTAMP,A.r.GROUP_STRUCTURE_SYNC_ENABLED,A.r.GROUP_LAST_STRUCTURE_SYNC_STATE,A.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ie=>{this.groups=Ie,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ie){this.filterValue=Ie,this.filtering=""!==Ie}onMoveGroup(Ie){const He=(0,T.kZ)();He.width="550px",He.data={group:Ie,theme:"group-theme"},this.dialog.open(b.c,He).afterClosed().subscribe(Ce=>{Ce&&this.refreshTable()})}}return R.id="GroupSubgroupsComponent",R.\u0275fac=function(Ie){return new(Ie||R)(h.Y36(k.uw),h.Y36(m.ff),h.Y36(O.x4),h.Y36(O.fb))},R.\u0275cmp=h.Xpm({type:R,selectors:[["app-group-subgroups"]],viewQuery:function(Ie,He){if(1&Ie&&(h.Gf(X,5),h.Gf(ie,5),h.Gf(oe,7)),2&Ie){let fe;h.iGM(fe=h.CRH())&&(He.tree=fe.first),h.iGM(fe=h.CRH())&&(He.list=fe.first),h.iGM(fe=h.CRH())&&(He.toggle=fe.first)}},hostVars:2,hostBindings:function(Ie,He){2&Ie&&h.ekj("router-component",He.true)},decls:19,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","data-cy","new-subgroup-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-group-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["color","accent","data-cy","new-subgroup-button","mat-flat-button","",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable"],["list",""]],template:function(Ie,He){if(1&Ie&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return He.refreshTable()}),h.qZA(),h.YNc(5,ge,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.YNc(8,Ne,3,4,"button",4),h.qZA(),h.TgZ(9,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(Ce){return He.applyFilter(Ce)}),h.qZA(),h.TgZ(10,"mat-slide-toggle",6,7),h.NdJ("change",function(){return He.selected.clear()})("ngModelChange",function(Ce){return He.showGroupList=Ce}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"label"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.YNc(17,Fe,1,0,"mat-spinner",8),h.YNc(18,Te,3,2,"div",9),h.qZA()),2&Ie){const fe=h.MAs(11);h.xp6(2),h.Oqu(h.lcZ(3,12,"GROUP_DETAIL.SUBGROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",He.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,14,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===He.tree&&void 0===He.list||void 0!==He.tree&&He.tree.removeAuth||void 0!==He.list&&He.list.removeAuth),h.xp6(2),h.Q6J("ngIf",He.deleteAuth),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",He.showGroupList),h.xp6(2),h.Oqu(h.lcZ(13,16,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(16,18,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",He.loading),h.xp6(1),h.Q6J("ngIf",!He.loading)}},directives:[L.t,Y.O5,J.lW,ue.gM,ce.P,Le.Rr,de.JJ,de.On,ke.$g,ae.I,V.W],pipes:[H.X$],styles:[""]}),R})()},85243:(Ke,be,d)=>{"use strict";d.d(be,{j:()=>Ie});var e=d(9315),f=d(10036),g=d(20449),T=d(9244),m=d(48966),A=d(36908),s=d(64080),b=d(5e3),O=d(51062),E=d(69808),h=d(20773),k=d(7434),L=d(24179),Y=d(47423);function J(He,fe){1&He&&b._UZ(0,"mat-spinner",6)}function ue(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"perun-web-apps-immediate-filter",7),b.NdJ("filter",function(Xe){return b.CHM(Ce),b.oxw().applyFilter(Xe)}),b.qZA()}2&He&&b.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const ce=function(){return["select","id","name","description"]};function Le(He,fe){if(1&He&&b._UZ(0,"perun-web-apps-groups-list",8),2&He){const Ce=b.oxw();b.Q6J("groups",Ce.groups)("selection",Ce.selection)("displayedColumns",b.DdM(8,ce))("filter",Ce.filterValue)("groupsToDisableCheckbox",Ce.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function de(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div",9),b.TgZ(1,"button",10),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().onCancel()}),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"button",11),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().onAdd()}),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw();b.xp6(2),b.hij(" ",b.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Ce.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let ke=(()=>{class He{constructor(Ce,Ye,Xe,tt,at,N,he){this.dialogRef=Ce,this.data=Ye,this.groupManager=Xe,this.memberManager=tt,this.notificator=at,this.translate=N,this.authResolver=he,this.loading=!1,this.groups=[],this.selection=new g.Ov(!0,[]),this.attrNames=[s.r.GROUP_SYNC_ENABLED,s.r.GROUP_LAST_SYNC_STATE,s.r.GROUP_LAST_SYNC_TIMESTAMP,s.r.GROUP_STRUCTURE_SYNC_ENABLED,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.filterValue=""}ngOnInit(){this.theme=this.data.theme,this.membersGroups=this.data.membersGroups,this.loading=!0,this.memberManager.getMemberById(this.data.memberId).subscribe(Ce=>{this.member=Ce,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(Ye=>{this.groups=Ye.filter(Xe=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[Xe])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const Ce=this.selection.selected.map(Ye=>Ye.id);this.loading=!0,this.groupManager.addMember(Ce,this.member.id).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(Ce){this.filterValue=Ce}}return He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(e.uq),b.Y36(A.V6),b.Y36(O.sK),b.Y36(A.x4))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(Ce,Ye){1&Ce&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,J,1,0,"mat-spinner",1),b.TgZ(5,"div",2),b.YNc(6,ue,1,1,"perun-web-apps-immediate-filter",3),b.YNc(7,Le,1,9,"perun-web-apps-groups-list",4),b.qZA(),b.YNc(8,de,7,7,"div",5),b.qZA()),2&Ce&&(b.Tol(Ye.theme),b.xp6(2),b.Oqu(b.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",Ye.loading),b.xp6(2),b.Q6J("ngIf",!Ye.loading),b.xp6(1),b.Q6J("ngIf",!Ye.loading),b.xp6(1),b.Q6J("ngIf",!Ye.loading))},directives:[m.uh,E.O5,h.$g,m.xY,k.L,L.W,m.H8,Y.lW],pipes:[O.X$],styles:[""]}),He})();var ae=d(32075);function V(He,fe){1&He&&b._UZ(0,"mat-spinner",6)}function H(He,fe){1&He&&b._UZ(0,"th",15)}function X(He,fe){if(1&He&&(b.TgZ(0,"td",16),b._uU(1),b.qZA()),2&He){const Ce=fe.$implicit;b.xp6(1),b.Oqu(Ce.name)}}function ie(He,fe){1&He&&b._UZ(0,"tr",17)}function oe(He,fe){1&He&&b._UZ(0,"tr",18)}function ge(He,fe){if(1&He&&(b.TgZ(0,"div",7),b.TgZ(1,"p"),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",8),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.TgZ(7,"table",9),b.ynx(8,10),b.YNc(9,H,1,0,"th",11),b.YNc(10,X,2,1,"td",12),b.BQk(),b.YNc(11,ie,1,0,"tr",13),b.YNc(12,oe,1,0,"tr",14),b.qZA(),b.qZA()),2&He){const Ce=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),b.xp6(3),b.hij(" ",b.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),b.xp6(2),b.Q6J("dataSource",Ce.dataSource),b.xp6(4),b.Q6J("matHeaderRowDef",Ce.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Ce.displayedColumns)}}let Ne=(()=>{class He{constructor(Ce,Ye,Xe,tt,at){this.dialogRef=Ce,this.data=Ye,this.groupManager=Xe,this.notificator=tt,this.translate=at,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new ae.by(this.data.groups)}onRemove(){this.loading=!0;const Ce=this.dataSource.data.map(Ye=>Ye.id);this.groupManager.removeMember(Ce,this.data.memberId).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(A.V6),b.Y36(O.sK))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(Ce,Ye){1&Ce&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,V,1,0,"mat-spinner",1),b.YNc(5,ge,13,9,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ye.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Ye.onRemove()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&Ce&&(b.Tol(Ye.theme),b.xp6(2),b.Oqu(b.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",Ye.loading),b.xp6(1),b.Q6J("ngIf",!Ye.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Ye.loading),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[m.uh,E.O5,h.$g,m.xY,ae.BZ,ae.w1,ae.fO,ae.ge,ae.Dz,ae.ev,ae.as,ae.XQ,ae.nj,ae.Gk,m.H8,Y.lW],pipes:[O.X$],styles:[""]}),He})();d(387);var se=d(30325),Me=d(96214),ve=d(29772);const me=["list"];function Te(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",8),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().addGroup()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function te(He,fe){1&He&&b._UZ(0,"mat-spinner",9)}const R=function(){return["select","id","vo","name","description","expiration"]};function Oe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"perun-web-apps-groups-list",10,11),b.NdJ("refreshTable",function(){return b.CHM(Ce),b.oxw().refreshTable()}),b.qZA()}if(2&He){const Ce=b.oxw();b.Q6J("tableId",Ce.tableId)("groups",Ce.groups)("displayedColumns",b.DdM(9,R))("selection",Ce.selection)("filter",Ce.filterValue)("memberId",Ce.memberId)("memberGroupStatus",Ce.member.groupStatus)("disableRouting",!Ce.routeAuth)("authType","member-groups")}}let Ie=(()=>{class He{constructor(Ce,Ye,Xe,tt,at){this.groupsService=Ce,this.route=Ye,this.dialog=Xe,this.authResolver=tt,this.memberService=at,this.filterValue="",this.tableId=f.W1,this.selection=new g.Ov(!0,[])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(Ce=>{this.memberId=Ce.memberId,this.memberService.getMemberById(this.memberId).subscribe(Ye=>{this.member=Ye,this.groupsService.getAllGroups(this.member.voId).subscribe(Xe=>{this.allGroups=Xe,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(Ce=>{this.selection.clear(),this.groups=Ce,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const Ce={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((Ye,Xe)=>Ye||this.authResolver.isAuthorized("addMember_Group_Member_policy",[Xe]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[Ce,this.groups[0]]))}addGroup(){const Ce=(0,T.kZ)();Ce.width="850px",Ce.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(Xe=>Xe.id)),theme:"member-theme"},this.dialog.open(ke,Ce).afterClosed().subscribe(Xe=>{Xe&&this.refreshTable()})}removeGroup(){const Ce=(0,T.kZ)();Ce.width="650px",Ce.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(Ne,Ce).afterClosed().subscribe(Xe=>{Xe&&this.refreshTable()})}applyFilter(Ce){this.filterValue=Ce}}return He.id="MemberGroupsComponent",He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(e.ff),b.Y36(se.gz),b.Y36(m.uw),b.Y36(A.x4),b.Y36(e.uq))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-member-groups"]],viewQuery:function(Ce,Ye){if(1&Ce&&b.Gf(me,5),2&Ce){let Xe;b.iGM(Xe=b.CRH())&&(Ye.list=Xe.first)}},hostVars:2,hostBindings:function(Ce,Ye){2&Ce&&b.ekj("router-component",Ye.true)},decls:13,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"mr-auto","ml-auto"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable"],["list",""]],template:function(Ce,Ye){1&Ce&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return Ye.refreshTable()}),b.qZA(),b.YNc(4,Te,3,3,"button",2),b.TgZ(5,"span",3),b.ALo(6,"translate"),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ye.removeGroup()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.qZA(),b.TgZ(10,"perun-web-apps-immediate-filter",5),b.NdJ("filter",function(tt){return Ye.applyFilter(tt)}),b.qZA(),b.YNc(11,te,1,0,"mat-spinner",6),b.YNc(12,Oe,2,10,"perun-web-apps-groups-list",7)),2&Ce&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"MEMBER_DETAIL.GROUPS.TITLE")),b.xp6(3),b.Q6J("ngIf",Ye.addAuth),b.xp6(1),b.s9C("matTooltip",b.lcZ(6,11,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),b.Q6J("matTooltipDisabled",void 0===Ye.list||void 0!==Ye.list&&Ye.list.removeAuth),b.xp6(2),b.Q6J("disabled",0===Ye.selection.selected.length||void 0!==Ye.list&&!Ye.list.removeAuth),b.xp6(1),b.hij(" ",b.lcZ(9,13,"MEMBER_DETAIL.GROUPS.REMOVE")," "),b.xp6(2),b.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),b.xp6(1),b.Q6J("ngIf",Ye.loading),b.xp6(1),b.Q6J("ngIf",!Ye.loading))},directives:[Me.t,E.O5,Y.lW,ve.gM,k.L,h.$g,L.W],pipes:[O.X$],styles:[""]}),He})()},94856:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>de});var e=d(9315),f=d(10036),g=d(93075),T=d(69808),m=d(36908),A=d(5e3),s=d(96214),b=d(47423),O=d(67322),E=d(74107),h=d(90508),k=d(64901),L=d(39798),Y=d(77446),J=d(9146),ue=d(51062);function ce(ke,ae){if(1&ke){const V=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(V),A.oxw().showDetails(!0)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ke&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function Le(ke,ae){if(1&ke){const V=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(V),A.oxw().showDetails(!1)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ke&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let de=(()=>{class ke{constructor(V,H){this.registrarManager=V,this.entityStorageService=H,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.simpleColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.currentColumns=[],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Jf,this.tableId=f.Hi,this.showGroupApps=!1,this.refresh=!1}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.startDate=new g.NI((0,T.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new g.NI((0,T.p6)(new Date,"yyyy-MM-dd","en-GB")),this.currentColumns=this.refreshColumns()}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const V=new Date;return V.setDate(V.getDate()-365),V}showGroupApplications(V){this.showGroupApps=V.checked,this.currentColumns=this.refreshColumns()}showDetails(V){this.showAllDetails=V,this.currentColumns=this.refreshColumns()}applyFilter(V){this.filterValue=V}refreshColumns(){return this.showAllDetails?this.showGroupApps?this.detailedColumns:this.detailedColumns.filter(V=>"groupName"!==V&&"groupId"!==V):this.showGroupApps?this.simpleColumns:this.simpleColumns.filter(V=>"groupName"!==V)}}return ke.id="VoApplicationsComponent",ke.\u0275fac=function(V){return new(V||ke)(A.Y36(e.tk),A.Y36(m.fb))},ke.\u0275cmp=A.Xpm({type:ke,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(V,H){2&V&&A.ekj("router-component",H.true)},decls:38,vars:43,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","includeGroupApps","refreshTable","vo"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(V,H){1&V&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return H.refresh=!H.refresh}),A.qZA(),A.YNc(5,ce,3,3,"button",2),A.YNc(6,Le,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return H.select()})("valueChange",function(ie){return H.state=ie}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(ie){return H.applyFilter(ie)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return H.select()}),A.qZA(),A.TgZ(32,"div"),A.TgZ(33,"mat-checkbox",13),A.NdJ("change",function(ie){return H.showGroupApplications(ie)}),A._uU(34),A.ALo(35,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(36,"div"),A._UZ(37,"app-applications-dynamic-list",14),A.qZA()),2&V&&(A.xp6(1),A.Oqu(A.lcZ(2,25,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!H.showAllDetails),A.xp6(1),A.Q6J("ngIf",H.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,27,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",H.state),A.xp6(2),A.Oqu(A.lcZ(14,29,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,31,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,33,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,35,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,37,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,39,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",H.startDate)("endDate",H.endDate),A.xp6(2),A.Q6J("checked",H.showGroupApps),A.xp6(1),A.hij(" ",A.lcZ(35,41,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),A.xp6(3),A.Q6J("tableId",H.showAllDetails?H.detailTableId:H.tableId)("searchString",H.filterValue)("displayedColumns",H.currentColumns)("states",H.currentStates)("dateFrom",H.startDate.value)("dateTo",H.endDate.value)("includeGroupApps",H.showGroupApps)("refreshTable",H.refresh)("vo",H.vo))},directives:[s.t,T.O5,b.lW,O.KE,O.hX,E.gD,h.ey,k.P,L.S,Y.oG,J.S],pipes:[ue.X$],styles:[""]}),ke})()},4732:(Ke,be,d)=>{"use strict";d.d(be,{G:()=>te});var e=d(81889),f=d(41656),g=d(20449),T=d(87842),m=d(9244),A=d(9315),s=d(10036),b=d(64080),O=d(36908),h=(d(387),d(5e3)),k=d(48966),L=d(96214),Y=d(69808),J=d(47423),ue=d(29772),ce=d(64901),Le=d(32368),de=d(93075),ke=d(20773),ae=d(58956),V=d(24179),H=d(98380),X=d(51062);const ie=["toggle"],oe=["tree"],ge=["list"];function Ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function Fe(R,Oe){1&R&&h._UZ(0,"mat-spinner",12)}function se(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("groups",Ie.groups)("expandAll",Ie.filtering)("vo",Ie.vo)("selection",Ie.selected)("disableRouting",!Ie.routeAuth)("filterValue",Ie.filterValue)}}const Me=function(){return["select","id","name","description","menu"]};function ve(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("tableId",Ie.tableId)("groups",Ie.groups)("selection",Ie.selected)("disableMembers",!0)("displayedColumns",h.DdM(8,Me))("disableRouting",!Ie.routeAuth)("authType","vo-groups")("filter",Ie.filterValue)}}function me(R,Oe){if(1&R&&(h.TgZ(0,"div",13),h.YNc(1,se,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,ve,2,9,"perun-web-apps-groups-list",15),h.qZA()),2&R){const Ie=h.oxw();h.xp6(1),h.Q6J("ngIf",!Ie.showGroupList),h.xp6(1),h.Q6J("ngIf",Ie.showGroupList)}}function Te(R,Oe){1&R&&(h.TgZ(0,"app-alert",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let te=(()=>{class R{constructor(Ie,He,fe,Ce){this.dialog=Ie,this.groupService=He,this.authResolver=fe,this.entityStorageService=Ce,this.groups=[],this.showGroupList=!1,this.selected=new g.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=s.rc}onCreateGroup(){const Ie=(0,m.kZ)();Ie.width="450px",Ie.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(e.y,Ie).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.loadAllGroups())})}ngOnInit(){this.loading=!0,"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree"),this.loadAllGroups()}),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.loadAllGroups()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createGroup_Vo_Group_policy",[this.vo]),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[this.vo,this.groups[0]]))}disableRemove(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}disableTooltip(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}deleteGroup(){const Ie=(0,m.kZ)();Ie.width="450px",Ie.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(f.P,Ie).afterClosed().subscribe(fe=>{fe&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(Ie){const He=(0,m.kZ)();He.width="550px",He.data={group:Ie,theme:"vo-theme"},this.dialog.open(T.c,He).afterClosed().subscribe(Ce=>{Ce&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[b.r.GROUP_SYNC_ENABLED,b.r.GROUP_LAST_SYNC_STATE,b.r.GROUP_LAST_SYNC_TIMESTAMP,b.r.GROUP_STRUCTURE_SYNC_ENABLED,b.r.GROUP_LAST_STRUCTURE_SYNC_STATE,b.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ie=>{this.groups=Ie,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ie){this.filterValue=Ie,this.filtering=""!==Ie}}return R.id="VoGroupsComponent",R.\u0275fac=function(Ie){return new(Ie||R)(h.Y36(k.uw),h.Y36(A.ff),h.Y36(O.x4),h.Y36(O.fb))},R.\u0275cmp=h.Xpm({type:R,selectors:[["app-vo-groups"]],viewQuery:function(Ie,He){if(1&Ie&&(h.Gf(ie,7),h.Gf(oe,5),h.Gf(ge,5)),2&Ie){let fe;h.iGM(fe=h.CRH())&&(He.toggle=fe.first),h.iGM(fe=h.CRH())&&(He.tree=fe.first),h.iGM(fe=h.CRH())&&(He.list=fe.first)}},hostVars:2,hostBindings:function(Ie,He){2&Ie&&h.ekj("router-component",He.true)},decls:22,vars:24,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","create-group-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-group-button",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(Ie,He){if(1&Ie&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return He.loadAllGroups()}),h.qZA(),h.YNc(5,Ne,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.TgZ(8,"button",4),h.NdJ("click",function(){return He.deleteGroup()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.qZA(),h.TgZ(11,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(Ce){return He.applyFilter(Ce)}),h.qZA(),h.TgZ(12,"mat-slide-toggle",6,7),h.NdJ("change",function(){return He.removeAllGroups()})("ngModelChange",function(Ce){return He.showGroupList=Ce}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.TgZ(16,"label"),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.YNc(19,Fe,1,0,"mat-spinner",8),h.YNc(20,me,3,2,"div",9),h.YNc(21,Te,3,3,"app-alert",10),h.qZA()),2&Ie){const fe=h.MAs(13);h.xp6(2),h.Oqu(h.lcZ(3,14,"VO_DETAIL.GROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",He.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,16,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===He.tree&&void 0===He.list||He.disableTooltip()),h.xp6(2),h.Q6J("disabled",0===He.selected.selected.length||He.disableRemove()),h.xp6(1),h.hij(" ",h.lcZ(10,18,"VO_DETAIL.GROUPS.DELETE_GROUP")," "),h.xp6(2),h.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",He.showGroupList),h.xp6(2),h.Oqu(h.lcZ(15,20,"VO_DETAIL.GROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(18,22,"VO_DETAIL.GROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",He.loading),h.xp6(1),h.Q6J("ngIf",!He.loading&&0!==He.groups.length),h.xp6(1),h.Q6J("ngIf",0===He.groups.length&&!He.loading)}},directives:[L.t,Y.O5,J.lW,ue.gM,ce.P,Le.Rr,de.JJ,de.On,ke.$g,ae.I,V.W,H.w],pipes:[X.X$],styles:[""]}),R})()},81847:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Me});var e=d(20449),f=d(36908),g=d(53455),T=d(97034),m=d(9315),A=d(64080),s=d(93075),b=d(10036),O=d(9244),E=d(74414),h=d(5e3),k=d(48966),L=d(96214),Y=d(29772),J=d(69808),ue=d(47423),ce=d(67322),Le=d(74107),de=d(90508),ke=d(64901),ae=d(20773),V=d(4811),H=d(51062),X=d(20551);function ie(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ve){const Te=h.oxw();h.Q6J("disabled",Te.blockManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function oe(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",15),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ve&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function ge(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ve){const Te=h.oxw();h.Q6J("disabled",Te.selection.isEmpty()),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Ne(ve,me){if(1&ve&&(h.TgZ(0,"mat-option",17),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ve){const Te=me.$implicit;h.Q6J("value",Te),h.xp6(1),h.Oqu(h.lcZ(2,2,Te))}}function Fe(ve,me){1&ve&&h._UZ(0,"mat-spinner",18)}function se(ve,me){if(1&ve&&h._UZ(0,"perun-web-apps-members-dynamic-list",19),2&ve){const Te=h.oxw();h.Q6J("voId",Te.vo.id)("tableId",Te.tableId)("selection",Te.selection)("displayedColumns",Te.displayedColumns)("attrNames",Te.attrNames)("searchString",Te.searchString)("selectedStatuses",Te.selectedStatuses)("updateTable",Te.updateTable)}}let Me=(()=>{class ve{constructor(Te,te,R,Oe,Ie,He,fe){this.notificator=Te,this.dialog=te,this.authzService=R,this.storeService=Oe,this.attributesManager=Ie,this.apiRequest=He,this.entityStorageService=fe,this.members=null,this.selection=new e.Ov(!0,[]),this.loading=!1,this.attrNames=[A.r.MEMBER_DEF_ORGANIZATION,A.r.MEMBER_DEF_MAIL,A.r.USER_DEF_ORGANIZATION,A.r.USER_DEF_PREFERRED_MAIL,A.r.MEMBER_DEF_EXPIRATION],this.statuses=new s.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=b.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}ngOnInit(){this.loading=!0,this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.vo.id).then(()=>this.loading=!1)}setAuthRights(){this.addAuth=this.authzService.isAuthorized("createMember_Vo_User_List_policy",[this.vo])&&this.authzService.isAuthorized("createMember_Vo_Candidate_List_policy",[this.vo]),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[this.vo]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","fullName","status","organization","email","logins"],null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0]])),this.inviteAuth=this.authzService.isAuthorized("vo-sendInvitation_Vo_Group_String_String_String_policy",[this.vo])}onSearchByString(Te){this.searchString=Te,this.updateTable=!this.updateTable}onAddMember(){const Te=(0,O.kZ)();Te.width="1000px",Te.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(T.o,Te).afterClosed().subscribe(R=>{R&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const Te=(0,O.kZ)();Te.width="450px",Te.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(g.X,Te).afterClosed().subscribe(R=>{R&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const Te=(0,O.kZ)();Te.width="650px",Te.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(E.R,Te)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}isManualAddingBlocked(Te){return new Promise(te=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Te,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(R=>{this.blockManualMemberAdding=null!==R.value,te()},R=>{"PrivilegeException"!==R.error.name&&this.notificator.showError(R),te()})})}changeStatuses(){this.selectedStatuses=this.statuses.value}}return ve.id="VoMembersComponent",ve.\u0275fac=function(Te){return new(Te||ve)(h.Y36(f.V6),h.Y36(k.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(m.H8),h.Y36(f.F5),h.Y36(f.fb))},ve.\u0275cmp=h.Xpm({type:ve,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(Te,te){2&Te&&h.ekj("router-component",te.true)},decls:23,vars:21,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-members",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","remove-members",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","add-members",1,"mr-2","action-button",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable"]],template:function(Te,te){1&Te&&(h.TgZ(0,"div",0),h.TgZ(1,"h1",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return te.updateTable=!te.updateTable}),h.qZA(),h.TgZ(6,"div",4),h.ALo(7,"translate"),h.YNc(8,ie,3,4,"button",5),h.qZA(),h.YNc(9,oe,3,3,"button",6),h.YNc(10,ge,3,4,"button",7),h.TgZ(11,"mat-form-field",8),h.TgZ(12,"mat-label"),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"mat-select",9),h.NdJ("closed",function(){return te.changeStatuses()}),h.TgZ(16,"mat-select-trigger"),h._uU(17),h.ALo(18,"memberStatus"),h.qZA(),h.YNc(19,Ne,3,4,"mat-option",10),h.qZA(),h.qZA(),h.TgZ(20,"perun-web-apps-debounce-filter",11),h.NdJ("filter",function(Oe){return te.onSearchByString(Oe)}),h.qZA(),h.qZA(),h.YNc(21,Fe,1,0,"mat-spinner",12),h.YNc(22,se,1,8,"perun-web-apps-members-dynamic-list",13),h.qZA()),2&Te&&(h.xp6(2),h.Oqu(h.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),h.xp6(4),h.s9C("matTooltip",h.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!te.blockManualMemberAdding),h.xp6(2),h.Q6J("ngIf",te.addAuth),h.xp6(1),h.Q6J("ngIf",te.inviteAuth),h.xp6(1),h.Q6J("ngIf",te.removeAuth),h.xp6(3),h.Oqu(h.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",te.statuses),h.xp6(2),h.hij(" ",h.lcZ(18,19,te.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",te.statusList),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",te.loading),h.xp6(1),h.Q6J("ngIf",!te.loading))},directives:[L.t,Y.gM,J.O5,ue.lW,ce.KE,ce.hX,Le.gD,s.JJ,s.oH,Le.$L,J.sg,de.ey,ke.P,ae.$g,V.m],pipes:[H.X$,X.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),ve})()},68056:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>de});var e=d(20449),f=d(9315),g=d(533),T=d(10036),m=d(9244),A=d(36908),s=d(5e3),b=d(48966),O=d(96214),E=d(69808),h=d(47423),k=d(7434),L=d(20773),Y=d(62109),J=d(51062);function ue(ke,ae){if(1&ke){const V=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){return s.CHM(V),s.oxw().deleteSelectedResources()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&ke){const V=s.oxw();s.Q6J("disabled",0===V.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function ce(ke,ae){1&ke&&s._UZ(0,"mat-spinner",7)}function Le(ke,ae){if(1&ke&&s._UZ(0,"perun-web-apps-resources-list",8),2&ke){const V=s.oxw();s.Q6J("tableId",V.tableId)("filterValue",V.filterValue)("resources",V.resources)("routingVo",!0)("disableRouting",!V.routeAuth)("selection",V.selected)("displayedColumns",V.displayedColumns)}}let de=(()=>{class ke{constructor(V,H,X,ie){this.resourcesManager=V,this.dialog=H,this.authResolver=X,this.entityStorageService=ie,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=T.nT,this.routeAuth=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.vo]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[this.vo,this.resources[0]])),this.displayedColumns=this.removeAuth?["select","id","name","facility","tags","description"]:["id","name","facility","tags","description"]}refreshTable(){this.loading=!0,this.resourcesManager.getRichResources(this.vo.id).subscribe(V=>{this.resources=V,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(V){this.filterValue=V}deleteSelectedResources(){const V=(0,m.kZ)();V.width="450px",V.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(g.f,V).afterClosed().subscribe(X=>{X&&this.refreshTable()})}}return ke.id="VoResourcesPreviewComponent",ke.\u0275fac=function(V){return new(V||ke)(s.Y36(f.xk),s.Y36(b.uw),s.Y36(A.x4),s.Y36(A.fb))},ke.\u0275cmp=s.Xpm({type:ke,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(V,H){2&V&&s.ekj("router-component",H.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns"]],template:function(V,H){1&V&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return H.refreshTable()}),s.qZA(),s.YNc(5,ue,3,4,"button",2),s.TgZ(6,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(ie){return H.applyFilter(ie)}),s.qZA(),s.YNc(7,ce,1,0,"mat-spinner",4),s.YNc(8,Le,1,7,"perun-web-apps-resources-list",5),s.qZA()),2&V&&(s.xp6(2),s.Oqu(s.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),s.xp6(3),s.Q6J("ngIf",H.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",H.loading),s.xp6(1),s.Q6J("ngIf",!H.loading))},directives:[O.t,E.O5,h.lW,k.L,L.$g,Y.C],pipes:[J.X$],styles:[""]}),ke})()},24219:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>D});var e=d(36908),f=d(9315),g=d(5e3),T=d(96214),m=d(53251),A=d(69808),s=d(98380),b=d(32075),O=d(20773),E=d(81125),h=d(4834),k=d(51062);function L(S,I){1&S&&g._UZ(0,"mat-spinner",2)}function Y(S,I){if(1&S&&(g.TgZ(0,"mat-panel-description"),g.TgZ(1,"div"),g.TgZ(2,"i",10),g._uU(3," error "),g.qZA(),g._uU(4),g.ALo(5,"translate"),g.ALo(6,"translate"),g.qZA(),g.qZA()),2&S){const P=g.oxw().$implicit,i=g.oxw(2);g.xp6(4),g.HOy(" ",i.getErrorCountStates(P)," ",g.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",P.taskList.length," ",g.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function J(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")," "))}function ue(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.id)}}function ce(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")," "))}function Le(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.service.name)}}function de(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")," "))}function ke(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.status)}}function ae(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")," "))}function V(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function H(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function X(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,V,3,4,"div",25),g.YNc(2,H,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.schedule)("ngIfElse",i)}}function ie(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")," "))}function oe(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function ge(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Ne(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,oe,3,4,"div",25),g.YNc(2,ge,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.startTime)("ngIfElse",i)}}function Fe(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")," "))}function se(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function Me(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function ve(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,se,3,4,"div",25),g.YNc(2,Me,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.endTime)("ngIfElse",i)}}function me(S,I){1&S&&g._UZ(0,"tr",28)}const Te=function(S,I,P){return{redTableItem:S,greenTableItem:I,yellowTableItem:P}};function te(S,I){if(1&S&&g._UZ(0,"tr",29),2&S){const P=I.$implicit;g.Q6J("ngClass",g.kEZ(1,Te,"ERROR"===P.status||"SENDERROR"===P.status||"GENERROR"===P.status,"DONE"===P.status,"WARNING"===P.status))}}function R(S,I){if(1&S&&(g.TgZ(0,"table",12),g.ynx(1,13),g.YNc(2,J,3,3,"th",14),g.YNc(3,ue,2,1,"td",15),g.BQk(),g.ynx(4,16),g.YNc(5,ce,3,3,"th",14),g.YNc(6,Le,2,1,"td",15),g.BQk(),g.ynx(7,17),g.YNc(8,de,3,3,"th",14),g.YNc(9,ke,2,1,"td",15),g.BQk(),g.ynx(10,18),g.YNc(11,ae,3,3,"th",14),g.YNc(12,X,4,2,"td",15),g.BQk(),g.ynx(13,19),g.YNc(14,ie,3,3,"th",14),g.YNc(15,Ne,4,2,"td",15),g.BQk(),g.ynx(16,20),g.YNc(17,Fe,3,3,"th",14),g.YNc(18,ve,4,2,"td",15),g.BQk(),g.YNc(19,me,1,0,"tr",21),g.YNc(20,te,1,5,"tr",22),g.qZA()),2&S){const P=g.oxw(2).$implicit,i=g.oxw(2);g.Q6J("dataSource",i.datasources[i.propagation.indexOf(P)]),g.xp6(19),g.Q6J("matHeaderRowDef",i.displayedColumns),g.xp6(1),g.Q6J("matRowDefColumns",i.displayedColumns)}}function Oe(S,I){1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Ie(S,I){if(1&S&&(g._UZ(0,"mat-divider"),g.YNc(1,R,21,3,"table",11),g.YNc(2,Oe,3,3,"div",8)),2&S){const P=g.oxw().$implicit;g.xp6(1),g.Q6J("ngIf",0!==P.taskList.length),g.xp6(1),g.Q6J("ngIf",0===P.taskList.length)}}function He(S,I){if(1&S&&(g.TgZ(0,"mat-expansion-panel"),g.TgZ(1,"mat-expansion-panel-header"),g.TgZ(2,"mat-panel-title"),g._UZ(3,"img",6),g.TgZ(4,"div",7),g._uU(5),g.qZA(),g.qZA(),g.YNc(6,Y,7,8,"mat-panel-description",8),g.qZA(),g.YNc(7,Ie,3,2,"ng-template",9),g.qZA()),2&S){const P=I.$implicit,i=g.oxw(2);g.xp6(5),g.hij(" ",P.resource.name," "),g.xp6(1),g.Q6J("ngIf",0!==i.getErrorCountStates(P))}}function fe(S,I){if(1&S&&(g.TgZ(0,"div",3),g.TgZ(1,"mat-accordion",4),g.YNc(2,He,8,2,"mat-expansion-panel",5),g.qZA(),g.qZA()),2&S){const P=g.oxw();g.xp6(2),g.Q6J("ngForOf",P.propagation)}}let Ce=(()=>{class S{constructor(){this.propagation=[],this.loading=!1,this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}getErrorCountStates(P){let i=0;for(const r of P.taskList)("ERROR"===r.status||"GENERROR"===r.status||"SENDERROR"===r.status)&&i++;return i}getDataSource(){this.datasources=[];for(const P of this.propagation)this.datasources.push(new b.by(P.taskList))}ngOnChanges(){this.getDataSource()}}return S.\u0275fac=function(P){return new(P||S)},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-state-tab"]],inputs:{propagation:"propagation",loading:"loading"},features:[g.TTD],decls:2,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","p-2",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(P,i){1&P&&(g.YNc(0,L,1,0,"mat-spinner",0),g.YNc(1,fe,3,1,"div",1)),2&P&&(g.Q6J("ngIf",i.loading),g.xp6(1),g.Q6J("ngIf",!i.loading))},directives:[A.O5,O.$g,E.pp,A.sg,E.ib,E.yz,E.yK,E.u4,E.HS,h.d,b.BZ,b.w1,b.fO,b.ge,b.Dz,b.ev,b.as,b.XQ,b.nj,b.Gk,A.mk],pipes:[k.X$,A.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{margin-left:15%;justify-content:space-between;align-items:center}"]}),S})();function Ye(S,I){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",5),g._uU(3),g.qZA()),2&S){const P=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),g.xp6(3),g.Oqu(P.errorPropagation.length)}}function Xe(S,I){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function tt(S,I){if(1&S&&(g.YNc(0,Xe,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const P=g.oxw();g.Q6J("ngIf",!P.loading&&0===P.errorPropagation.length),g.xp6(1),g.Q6J("loading",P.loading)("propagation",P.errorPropagation)}}function at(S,I){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",9),g._uU(3),g.qZA()),2&S){const P=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),g.xp6(3),g.Oqu(P.okPropagation.length)}}function N(S,I){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function he(S,I){if(1&S&&(g.YNc(0,N,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const P=g.oxw();g.Q6J("ngIf",!P.loading&&0===P.okPropagation.length),g.xp6(1),g.Q6J("loading",P.loading)("propagation",P.okPropagation)}}let D=(()=>{class S{constructor(P,i){this.taskService=P,this.entityStorageService=i,this.loading=!1,this.okPropagation=[],this.errorPropagation=[],this.resourceStates=[],this.selectedIndex=0}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.taskService.getAllResourcesState(this.vo.id).subscribe(P=>{this.resourceStates=P,this.okPropagation=[],this.errorPropagation=[];for(const i of P){let r=!0;for(const p of i.taskList)if("ERROR"===p.status||"GENERROR"===p.status||"SENDERROR"===p.status){r=!1;break}r?this.okPropagation.push(i):this.errorPropagation.push(i)}this.loading=!1},()=>this.loading=!1)}}return S.id="VoResourcesStatesComponent",S.\u0275fac=function(P){return new(P||S)(g.Y36(f.Ob),g.Y36(e.fb))},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(P,i){2&P&&g.ekj("router-component",i.true)},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],["alert_type","warn",4,"ngIf"],[3,"loading","propagation"],["alert_type","warn"],[1,"badge","badge-success","ml-1"]],template:function(P,i){1&P&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"perun-web-apps-refresh-button",1),g.NdJ("refresh",function(){return i.refreshTable()}),g.qZA(),g.TgZ(4,"mat-tab-group",2),g.NdJ("selectedIndexChange",function(p){return i.selectedIndex=p}),g.TgZ(5,"mat-tab"),g.YNc(6,Ye,4,4,"ng-template",3),g.YNc(7,tt,2,3,"ng-template",4),g.qZA(),g.TgZ(8,"mat-tab"),g.YNc(9,at,4,4,"ng-template",3),g.YNc(10,he,2,3,"ng-template",4),g.qZA(),g.qZA()),2&P&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.TITLE")),g.xp6(3),g.Q6J("selectedIndex",i.selectedIndex))},directives:[T.t,m.SP,m.uX,m.uD,m.Vc,A.O5,s.w,Ce],pipes:[k.X$],styles:[""]}),S})()},10369:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>Ne});var e=d(1186),f=d(36908),g=d(95502),T=d(51076),m=d(83491),A=d(9315),s=d(9244),b=d(5e3),O=d(48966),E=d(51062),h=d(30325),k=d(69808),L=d(20773),Y=d(25245),J=d(29772),ue=d(47423),ce=d(4834),Le=d(96214),de=d(98380),ke=d(157);function ae(Fe,se){1&Fe&&b._UZ(0,"mat-spinner",13)}function V(Fe,se){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",21),b.NdJ("click",function(){return b.CHM(Me),b.oxw(2).settings()}),b.TgZ(1,"i",10),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function H(Fe,se){if(1&Fe&&(b.TgZ(0,"div",14),b.TgZ(1,"div",15),b.TgZ(2,"div",16),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",16),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",17),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",18),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.qZA(),b.qZA(),b.TgZ(20,"div",19),b.YNc(21,V,5,3,"button",20),b.qZA(),b.qZA()),2&Fe){const Me=b.oxw();b.xp6(3),b.AsE(" ",b.lcZ(4,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",Me.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,8,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",Me.applicationForm.automaticApproval?b.lcZ(13,10,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",Me.applicationForm.automaticApprovalExtension?b.lcZ(18,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(4),b.Q6J("ngIf",Me.editAuth)}}function X(Fe,se){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",22),b.NdJ("click",function(){return b.CHM(Me),b.oxw().add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function ie(Fe,se){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",23),b.NdJ("click",function(){return b.CHM(Me),b.oxw().save()}),b.TgZ(1,"i",10),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&Fe){const Me=b.oxw();b.Q6J("disabled",!Me.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function oe(Fe,se){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",24),b.NdJ("click",function(){return b.CHM(Me),b.oxw().copy()}),b.TgZ(1,"i",10),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function ge(Fe,se){1&Fe&&(b.TgZ(0,"app-alert",25),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}let Ne=(()=>{class Fe{constructor(Me,ve,me,Te,te,R,Oe,Ie){this.registrarManager=Me,this.dialog=ve,this.notificator=me,this.translate=Te,this.router=te,this.authResolver=R,this.voService=Oe,this.entityStorageService=Ie,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.registrarManager.getVoApplicationForm(this.vo.id).subscribe(Me=>{this.applicationForm=Me,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(ve=>{this.applicationFormItems=ve,this.loading=!1})})}setAuthRights(){this.editAuth=this.authResolver.isAuthorized("vo-updateFormItems_ApplicationForm_List_policy",[this.vo]),this.displayedColumns=this.editAuth?["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]:["shortname","type","disabled","hidden","preview","managegroups"]}add(){let Me=(0,s.kZ)();Me.width="500px",Me.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(T.J,Me).afterClosed().subscribe(me=>{me&&(this.applicationFormItems=Object.assign([],me[0]),Me=(0,s.kZ)(),Me.width="600px",Me.height="600px",Me.data={voId:this.vo.id,applicationFormItem:me[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(m._,Me),this.itemsChanged=!0)})}copy(){const Me=(0,s.kZ)();Me.width="500px",Me.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(g.W,Me).afterClosed().subscribe(me=>{me&&this.updateFormItems()})}settings(){const Me=(0,s.kZ)();Me.width="400px",Me.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(e.E,Me).afterClosed().subscribe(me=>{me&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Te=>{this.notificator.showSuccess(Te)}),this.applicationForm=me)})}preview(){this.router.navigate(["/organizations",this.vo.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(Me=>{this.applicationFormItems=Me,this.itemsChanged=!1,this.setAuthRights(),this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let Me=0;for(const ve of this.applicationFormItems)ve.ordnum=Me,ve.forDelete||Me++;this.registrarManager.updateFormItemsForVo({vo:this.vo.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(ve=>{this.notificator.showSuccess(ve)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(Me=>Me.forDelete=!0),this.itemsChanged=!0}}return Fe.id="VoSettingsApplicationFormComponent",Fe.\u0275fac=function(Me){return new(Me||Fe)(b.Y36(A.tk),b.Y36(O.uw),b.Y36(f.V6),b.Y36(E.sK),b.Y36(h.F0),b.Y36(f.x4),b.Y36(A.YF),b.Y36(f.fb))},Fe.\u0275cmp=b.Xpm({type:Fe,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(Me,ve){2&Me&&b.ekj("router-component",ve.true)},decls:19,vars:18,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"]],template:function(Me,ve){1&Me&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,ae,1,0,"mat-spinner",1),b.TgZ(4,"div"),b.YNc(5,H,22,18,"div",2),b._UZ(6,"mat-divider",3),b.TgZ(7,"div",4),b.TgZ(8,"perun-web-apps-refresh-button",5),b.NdJ("refresh",function(){return ve.updateFormItems()}),b.qZA(),b.YNc(9,X,3,3,"button",6),b.YNc(10,ie,5,4,"button",7),b.YNc(11,oe,5,3,"button",8),b.TgZ(12,"button",9),b.NdJ("click",function(){return ve.preview()}),b.TgZ(13,"i",10),b._uU(14,"search"),b.qZA(),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.qZA(),b.YNc(17,ge,3,3,"app-alert",11),b.TgZ(18,"app-application-form-list",12),b.NdJ("applicationFormItemsChange",function(){return ve.changeItems()}),b.qZA(),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",ve.loading),b.xp6(2),b.Q6J("ngIf",!ve.loading),b.xp6(4),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(4),b.hij(" ",b.lcZ(16,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("loading",ve.loading)("applicationForm",ve.applicationForm)("applicationFormItems",ve.applicationFormItems)("theme","vo-theme")("displayedColumns",ve.displayedColumns)("refreshApplicationForm",ve.refreshApplicationForm))},directives:[k.O5,L.$g,Y.Hw,J.gM,ue.lW,ce.d,Le.t,de.w,ke.b],pipes:[E.X$],styles:[""]}),Fe})()},3246:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>qi});var e=d(9315),f=d(20449),g=d(10036),T=d(9244),m=d(48966),A=d(36908),s=d(93075),b=d(69808),O=d(45323),E=d(28499),h=d(5e3),k=d(51062),L=d(20773),Y=d(92081),J=d(98380),ue=d(67322),ce=d(98833),Le=d(74107),de=d(90508),ke=d(29772),ae=d(77446),V=d(13469),H=d(79814),X=d(74250),ie=d(86856);let oe=(()=>{class Tt{constructor(){this.expiration="never",this.expirationControl=new s.NI(null),this.datePicker=new h.vpe}ngOnInit(){const q=new Date;this.minDate=new Date(q.getFullYear(),q.getMonth(),q.getDate()),this.expirationControl.setValue((0,b.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return Tt.\u0275fac=function(q){return new(q||Tt)},Tt.\u0275cmp=h.Xpm({type:Tt,selectors:[["perun-web-apps-expiration-select"]],inputs:{expiration:"expiration"},outputs:{datePicker:"datePicker"},decls:13,vars:14,consts:[[1,"d-flex","flex-column",3,"ngModel","ngModelChange","change"],["value","never"],[3,"value"],["color","primary",1,"cursor-pointer","mr-3",3,"click"],["readonly","","matInput","",1,"disable",3,"min","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""]],template:function(q,ut){if(1&q){const we=h.EpF();h.TgZ(0,"mat-radio-group",0),h.NdJ("ngModelChange",function(Ft){return ut.expiration=Ft})("change",function(){return ut.emitDate()}),h.TgZ(1,"mat-radio-button",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",2),h.TgZ(5,"mat-form-field",3),h.NdJ("click",function(){return h.CHM(we),h.MAs(12).open()}),h.TgZ(6,"mat-label"),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.TgZ(9,"input",4),h.NdJ("dateChange",function(){return ut.setExpiration()}),h.qZA(),h._UZ(10,"mat-datepicker-toggle",5),h._UZ(11,"mat-datepicker",6,7),h.qZA(),h.qZA(),h.qZA()}if(2&q){const we=h.MAs(12);h.Q6J("ngModel",ut.expiration),h.xp6(2),h.hij(" ",h.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),h.xp6(2),h.s9C("value",ut.expirationControl.value),h.xp6(3),h.Oqu(h.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),h.xp6(2),h.Q6J("min",ut.minDate)("formControl",ut.expirationControl)("matDatepicker",we),h.xp6(1),h.Q6J("for",we)("disabled",!1),h.xp6(1),h.Q6J("disabled",!1)}},directives:[H.VQ,s.JJ,s.On,H.U0,ue.KE,ue.hX,ce.Nt,s.Fj,ie.hl,s.oH,ie.nW,ue.R9,ie.Mq],pipes:[k.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Tt})();var ge=d(25245),Ne=d(47423),Fe=d(31359);const se=["stepper"];function Me(Tt,$t){1&Tt&&(h.TgZ(0,"h1",4),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")," "))}function ve(Tt,$t){1&Tt&&h._UZ(0,"mat-spinner",5)}function me(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Te(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function te(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function R(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Oe(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function Ie(Tt,$t){if(1&Tt&&(h.TgZ(0,"mat-option",35),h._uU(1),h.qZA()),2&Tt){const q=$t.$implicit;h.Q6J("value",q),h.xp6(1),h.hij(" ",q," ")}}function He(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function fe(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Ce(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Ye(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function Xe(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"perun-web-apps-user-search-select",36),h.NdJ("userSelected",function(we){return h.CHM(q),h.oxw(2).selectedSponsor=we}),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw(2);h.xp6(1),h.Q6J("users",q.voSponsors)("disableAutoSelect",!0)}}function tt(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div",6),h.TgZ(1,"mat-stepper",7,8),h.TgZ(3,"mat-step",9),h.YNc(4,me,2,3,"ng-template",10),h.YNc(5,Te,3,3,"app-alert",11),h.TgZ(6,"form",12),h.TgZ(7,"h5",13),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"mat-form-field",14),h._UZ(11,"input",15),h.ALo(12,"translate"),h.YNc(13,te,3,3,"mat-error",16),h.qZA(),h.TgZ(14,"mat-form-field"),h._UZ(15,"input",17),h.ALo(16,"translate"),h.YNc(17,R,3,3,"mat-error",16),h.qZA(),h.TgZ(18,"mat-form-field"),h._UZ(19,"input",18),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-form-field"),h._UZ(22,"input",19),h.ALo(23,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"mat-step",9),h.YNc(25,Oe,2,3,"ng-template",10),h.TgZ(26,"h5",13),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"form",20),h.TgZ(30,"mat-form-field"),h.TgZ(31,"mat-select",21),h.NdJ("valueChange",function(we){return h.CHM(q),h.oxw().onNamespaceChanged(we)}),h.ALo(32,"translate"),h.YNc(33,Ie,2,2,"mat-option",22),h.qZA(),h.YNc(34,He,3,3,"mat-error",16),h.qZA(),h.TgZ(35,"mat-form-field",23),h.ALo(36,"translate"),h._UZ(37,"input",24),h.ALo(38,"translate"),h.YNc(39,fe,3,3,"mat-error",16),h.qZA(),h.TgZ(40,"mat-form-field"),h._UZ(41,"input",25),h.ALo(42,"translate"),h.YNc(43,Ce,3,3,"mat-error",16),h.qZA(),h.TgZ(44,"span",23),h.ALo(45,"translate"),h.TgZ(46,"mat-checkbox",26),h.NdJ("change",function(){return h.CHM(q),h.oxw().passwordResetChange()}),h._uU(47),h.ALo(48,"translate"),h.qZA(),h.qZA(),h._UZ(49,"perun-web-apps-password-form",27),h.qZA(),h.qZA(),h.TgZ(50,"mat-step"),h.YNc(51,Ye,2,3,"ng-template",10),h.TgZ(52,"div",28),h.TgZ(53,"h5",13),h._uU(54),h.ALo(55,"translate"),h.qZA(),h.TgZ(56,"div",14),h.TgZ(57,"h6"),h._uU(58),h.ALo(59,"translate"),h.qZA(),h.TgZ(60,"mat-radio-group",29),h.NdJ("ngModelChange",function(we){return h.CHM(q),h.oxw().sponsorType=we}),h.TgZ(61,"span",30),h.ALo(62,"translate"),h.TgZ(63,"mat-radio-button",31),h.NdJ("click",function(){return h.CHM(q),h.oxw().selectedSponsor=null}),h._uU(64),h.ALo(65,"translate"),h.qZA(),h.qZA(),h.TgZ(66,"span",30),h.ALo(67,"translate"),h.TgZ(68,"mat-radio-button",32),h._uU(69),h.ALo(70,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(71,Xe,2,2,"div",16),h.qZA(),h.TgZ(72,"h6",14),h._uU(73),h.ALo(74,"translate"),h.qZA(),h.TgZ(75,"perun-web-apps-expiration-select",33),h.NdJ("datePicker",function(we){return h.CHM(q),h.oxw().setExpiration(we)}),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw();h.xp6(1),h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",q.userControl),h.xp6(2),h.Q6J("ngIf",q.functionalityNotSupported),h.xp6(1),h.Q6J("formGroup",q.userControl),h.xp6(2),h.hij(" ",h.lcZ(9,42,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),h.xp6(3),h.s9C("placeholder",h.lcZ(12,44,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),h.xp6(2),h.Q6J("ngIf",q.userControl.hasError("required","firstName")),h.xp6(2),h.s9C("placeholder",h.lcZ(16,46,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),h.xp6(2),h.Q6J("ngIf",q.userControl.hasError("required","lastName")),h.xp6(2),h.s9C("placeholder",h.lcZ(20,48,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),h.xp6(3),h.s9C("placeholder",h.lcZ(23,50,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),h.xp6(2),h.Q6J("stepControl",q.namespaceControl),h.xp6(3),h.Oqu(h.lcZ(28,52,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),h.xp6(2),h.Q6J("formGroup",q.namespaceControl),h.xp6(2),h.s9C("placeholder",h.lcZ(32,54,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",q.namespaceOptions),h.xp6(1),h.Q6J("ngIf",q.namespaceControl.hasError("required","namespace")),h.xp6(1),h.s9C("matTooltip",h.lcZ(36,56,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),h.Q6J("matTooltipDisabled",q.namespaceControl.get("login").enabled),h.xp6(2),h.s9C("placeholder",h.lcZ(38,58,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),h.xp6(2),h.Q6J("ngIf",q.namespaceControl.hasError("required","login")),h.xp6(2),h.s9C("placeholder",h.lcZ(42,60,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),h.xp6(2),h.Q6J("ngIf",q.namespaceControl.hasError("required","email")||q.namespaceControl.hasError("pattern","email")),h.xp6(1),h.s9C("matTooltip",h.lcZ(45,62,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),h.Q6J("matTooltipDisabled",q.namespaceControl.get("passwordReset").enabled),h.xp6(3),h.hij("",h.lcZ(48,64,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),h.xp6(2),h.Q6J("formGroup",q.namespaceControl)("tooltipPwdViaEmail",q.namespaceControl.get("passwordReset").value)("namespace",q.selectedNamespace),h.xp6(5),h.Oqu(h.lcZ(55,66,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),h.xp6(4),h.Oqu(h.lcZ(59,68,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),h.xp6(2),h.Q6J("ngModel",q.sponsorType),h.xp6(1),h.s9C("matTooltip",h.lcZ(62,70,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),h.Q6J("matTooltipDisabled",q.isSponsor),h.xp6(2),h.Q6J("disabled",!q.isSponsor),h.xp6(1),h.hij(" ",h.lcZ(65,72,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(67,74,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),h.Q6J("matTooltipDisabled",q.isPerunAdmin),h.xp6(2),h.Q6J("disabled",!q.isPerunAdmin),h.xp6(1),h.hij(" ",h.lcZ(70,76,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),h.xp6(2),h.Q6J("ngIf","other"===q.sponsorType),h.xp6(2),h.Oqu(h.lcZ(74,78,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION"))}}function at(Tt,$t){if(1&Tt&&(h.TgZ(0,"div",6),h.TgZ(1,"div",37),h.TgZ(2,"mat-icon",38),h._uU(3,"done"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.TgZ(6,"i"),h._uU(7),h.ALo(8,"userFullName"),h.qZA(),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"div"),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"app-alert",39),h._uU(18),h.ALo(19,"translate"),h.qZA(),h.qZA()),2&Tt){const q=h.oxw();h.xp6(4),h.hij(" ",h.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),h.xp6(3),h.Oqu(h.lcZ(8,10,q.createdMember.user)),h.xp6(2),h.hij(" ",h.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),h.xp6(3),h.AsE("",h.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",q.loginThatWasSet,""),h.xp6(3),h.AsE(" ",h.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",q.namespaceControl.get("passwordCtrl").value," "),h.xp6(3),h.Oqu(h.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function N(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",41),h.NdJ("click",function(){return h.CHM(q),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()}2&Tt&&(h.xp6(2),h.hij(" ",h.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}function he(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",41),h.NdJ("click",function(){return h.CHM(q),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "))}function D(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",46),h.NdJ("click",function(){return h.CHM(q),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Tt){const q=h.oxw(2);h.ekj("ml-2",void 0!==q.stepper&&0!==q.stepper.selectedIndex)("ml-auto",!(void 0!==q.stepper&&0!==q.stepper.selectedIndex)),h.Q6J("disabled",q.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," ")}}function S(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(q),h.oxw(2).onConfirm()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Tt){const q=h.oxw(2);h.Q6J("disabled",null===q.sponsorType||"other"===q.sponsorType&&null===q.selectedSponsor),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function I(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",42),h.NdJ("click",function(){return h.CHM(q),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,he,3,3,"button",43),h.YNc(5,D,3,8,"button",44),h.YNc(6,S,3,4,"button",45),h.qZA()}if(2&Tt){const q=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==q.stepper&&0!==q.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==q.stepper&&q.stepper.selectedIndex!==q.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==q.stepper&&q.stepper.selectedIndex===q.stepper._steps.length-1)}}let P=(()=>{class Tt{constructor(q,ut,we,lt,Ft,Jt,di,Oi,zi,mn,In){this.dialogRef=q,this.data=ut,this.membersService=we,this.apiRequestConfiguration=lt,this.usersService=Ft,this.store=Jt,this.translator=di,this.authzService=Oi,this.guiAuthResolver=zi,this.formBuilder=mn,this.cd=In,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.selectedNamespace=null,this.parsedRules=new Map,this.userControl=null,this.namespaceControl=null,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(O.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",s.kI.required],lastName:["",s.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",s.kI.required],login:["",[s.kI.required]],passwordCtrl:["",s.kI.required,[(0,E.yT)(null,this.usersService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],passwordReset:[!1,[]],email:["",[s.kI.required,s.kI.pattern(T.B2)]]},{validators:T.dN.passwordMatchValidator}),this.membersService.getAllNamespacesRules().subscribe(q=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(q),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1,this.cd.detectChanges()})}parseNamespaceRules(){for(const q of this.namespaceRules){this.namespaceOptions.push(q.namespaceName);const ut={login:"disabled",password:"disabled"};this.parseAttributes(ut,q.requiredAttributes,"required"),this.parseAttributes(ut,q.optionalAttributes,"optional"),this.parsedRules.set(q.namespaceName,ut)}}parseAttributes(q,ut,we){for(const lt of ut)switch(lt){case"login":q.login=we;break;case"password":q.password=we}}onConfirm(){this.loading=!0;const q={vo:this.data.voId,userData:{firstName:this.userControl.get("firstName").value,lastName:this.userControl.get("lastName").value,titleAfter:this.userControl.get("titleAfter").value,titleBefore:this.userControl.get("titleBefore").value,email:this.namespaceControl.get("email").value},sponsor:"other"===this.sponsorType?this.selectedSponsor.id:this.store.getPerunPrincipal().userId},ut=this.namespaceControl.get("namespace").value,we=this.parsedRules.get(ut);"No namespace"!==ut&&(q.userData.namespace=ut),"disabled"!==we.login&&(q.userData.login=this.namespaceControl.get("login").value),"disabled"!==we.password&&(q.sendActivationLink=this.namespaceControl.get("passwordReset").value,q.userData.password=this.namespaceControl.get("passwordCtrl").value),"never"!==this.expiration&&(q.validityTo=this.expiration),this.membersService.createSponsoredMember(q).subscribe(lt=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=lt,!!lt&&!!lt.userAttributes&<.userAttributes.filter(Ft=>"login-namespace"===Ft.baseFriendlyName).filter(Ft=>Ft.friendlyNameParameter===ut).filter(Ft=>null!==Ft.value).forEach(Ft=>{this.loginThatWasSet=Ft.value.toString()}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(q){this.selectedNamespace=q;const ut=this.parsedRules.get(q),we=this.namespaceControl.get("login"),lt=this.namespaceControl.get("passwordCtrl"),Ft=this.namespaceControl.get("passwordAgainCtrl"),Jt=this.namespaceControl.get("passwordReset");"disabled"!==ut.login?(0,T.mH)(we,"optional"===ut.login?[]:[s.kI.required]):(we.disable(),we.setValue("")),"disabled"!==ut.password?((0,T.mH)(lt,"optional"===ut.password?[]:[s.kI.required],[(0,E.yT)(q,this.usersService,this.apiRequestConfiguration)]),(0,T.mH)(Ft,[]),(0,T.mH)(Jt,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(lt.disable(),lt.setValue(""),Ft.disable(),Ft.setValue(""),Jt.disable(),Jt.setValue(!1))}passwordResetChange(){const q=this.namespaceControl.get("passwordCtrl"),ut=this.namespaceControl.get("passwordAgainCtrl");this.namespaceControl.get("passwordReset").value?(q.disable(),q.setValue(""),ut.disable(),ut.setValue("")):(q.enable(),ut.enable())}setExpiration(q){this.expiration="never"===q?"never":(0,b.p6)(q,"yyyy-MM-dd","en-GB")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.userControl.invalid;case 1:return this.namespaceControl.invalid||this.namespaceControl.get("passwordCtrl").pending;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return Tt.\u0275fac=function(q){return new(q||Tt)(h.Y36(m.so),h.Y36(m.WI),h.Y36(e.uq),h.Y36(A.F5),h.Y36(e.Fv),h.Y36(A.d6),h.Y36(k.sK),h.Y36(e.Ct),h.Y36(A.x4),h.Y36(s.qu),h.Y36(h.sBO))},Tt.\u0275cmp=h.Xpm({type:Tt,selectors:[["app-create-sponsored-member-dialog"]],viewQuery:function(q,ut){if(1&q&&h.Gf(se,5),2&q){let we;h.iGM(we=h.CRH())&&(ut.stepper=we.first)}},decls:7,vars:9,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"dialog-container",3,"formGroup"],[1,"mt-2"],[1,"mt-4"],["matInput","","formControlName","firstName","required","",3,"placeholder"],[4,"ngIf"],["matInput","","formControlName","lastName","required","",3,"placeholder"],["matInput","","formControlName","titleBefore",3,"placeholder"],["matInput","","formControlName","titleAfter",3,"placeholder"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","required","","formControlName","login",3,"placeholder"],["matInput","","required","","formControlName","email",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],[3,"formGroup","tooltipPwdViaEmail","namespace"],[1,"dialog-container"],[1,"dialog-container",3,"ngModel","ngModelChange"],["matTooltipPosition","before",3,"matTooltip","matTooltipDisabled"],["value","self",3,"disabled","click"],["value","other",3,"disabled"],[1,"mt-2",3,"datePicker"],["alert_type","error"],[3,"value"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","","type","button",3,"disabled","click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"disabled","click"],["color","accent","mat-flat-button","","type","button",1,"ml-2",3,"disabled","click"]],template:function(q,ut){1&q&&(h.TgZ(0,"div"),h.YNc(1,Me,3,3,"h1",0),h.YNc(2,ve,1,0,"mat-spinner",1),h.YNc(3,tt,76,80,"div",2),h.YNc(4,at,20,20,"div",2),h.YNc(5,N,4,3,"div",3),h.YNc(6,I,7,6,"div",3),h.qZA()),2&q&&(h.Tol(ut.theme),h.xp6(1),h.Q6J("ngIf",!ut.successfullyCreated),h.xp6(1),h.Q6J("ngIf",ut.loading),h.xp6(1),h.Q6J("ngIf",!ut.loading&&!ut.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!ut.loading&&ut.successfullyCreated),h.xp6(1),h.Q6J("ngIf",ut.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!ut.loading&&!ut.successfullyCreated))},directives:[b.O5,m.uh,L.$g,m.xY,Y.Vq,Y.C0,Y.VY,J.w,s._Y,s.JL,s.sg,ue.KE,ce.Nt,s.Fj,s.JJ,s.u,s.Q7,ue.TO,Le.gD,b.sg,de.ey,ke.gM,ae.oG,V.G,H.VQ,s.On,H.U0,X.S,oe,ge.Hw,m.H8,Ne.lW],pipes:[k.X$,Fe.d],styles:[".bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:8px}mat-icon[_ngcontent-%COMP%]{color:#28a745;font-size:36px;vertical-align:bottom}"]}),Tt})();var i=d(64080),r=d(61150),p=d(7434),o=d(24179),t=d(92181);const n=["stepper"];function c(Tt,$t){1&Tt&&h._UZ(0,"mat-spinner",4)}function u(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function y(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",29),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function M(Tt,$t){if(1&Tt&&(h.TgZ(0,"mat-option",30),h._uU(1),h.qZA()),2&Tt){const q=$t.$implicit;h.Q6J("value",q),h.xp6(1),h.hij(" ",q," ")}}function j(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function Ve(Tt,$t){1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function nt(Tt,$t){if(1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt){const q=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",q.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function Mt(Tt,$t){if(1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt){const q=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",q.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function zt(Tt,$t){if(1&Tt&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt){const q=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",q.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function Vt(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function Wt(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",31),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function At(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"mat-radio-group",32),h.NdJ("ngModelChange",function(we){return h.CHM(q),h.oxw(3).passwordReset=we}),h.TgZ(1,"mat-radio-button",33),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",34),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw(3);h.Q6J("ngModel",q.passwordReset),h.xp6(2),h.hij(" ",h.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),h.xp6(3),h.hij(" ",h.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function Ht(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function bt(Tt,$t){1&Tt&&(h._uU(0),h.ALo(1,"translate")),2&Tt&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function et(Tt,$t){1&Tt&&(h.TgZ(0,"div"),h.TgZ(1,"app-alert",35),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()),2&Tt&&(h.xp6(2),h.Oqu(h.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function kt(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-create-group-form",37),h.NdJ("nameChanged",function(we){return h.CHM(q),h.oxw(3).name=we})("descriptionChanged",function(we){return h.CHM(q),h.oxw(3).description=we})("parentGroupChanged",function(we){return h.CHM(q),h.oxw(3).parentGroup=we})("asSubgroupChanged",function(we){return h.CHM(q),h.oxw(3).asSubGroup=we}),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")," "),h.xp6(2),h.Q6J("voGroups",q.allVoGroups)}}const pt=function(){return["select","id","name","description"]};function It(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-immediate-filter",38),h.NdJ("filter",function(we){return h.CHM(q),h.oxw(3).applyFilter(we)}),h.qZA(),h._UZ(5,"perun-web-apps-groups-list",39),h.qZA()}if(2&Tt){const q=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")," "),h.xp6(2),h.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),h.xp6(1),h.Q6J("groups",q.assignableGroups)("selection",q.selection)("displayedColumns",h.DdM(10,pt))("disableRouting",!0)("tableId",q.tableId)("filter",q.filterValue)}}function We(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"mat-stepper",8,9),h.TgZ(2,"mat-step",10),h.YNc(3,u,2,3,"ng-template",11),h.YNc(4,y,3,3,"app-alert",12),h.TgZ(5,"h5",13),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"form",14),h.TgZ(9,"mat-form-field"),h.TgZ(10,"mat-select",15),h.ALo(11,"translate"),h.YNc(12,M,2,2,"mat-option",16),h.qZA(),h.YNc(13,j,3,3,"mat-error",7),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"div",17),h._uU(18),h.qZA(),h.TgZ(19,"mat-form-field",18),h.TgZ(20,"mat-label"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"textarea",19),h._uU(24," "),h.qZA(),h.YNc(25,Ve,3,3,"mat-error",7),h.YNc(26,nt,3,4,"mat-error",7),h.YNc(27,Mt,3,4,"mat-error",7),h.YNc(28,zt,3,4,"mat-error",7),h.qZA(),h.qZA(),h.qZA(),h.TgZ(29,"mat-step"),h.YNc(30,Vt,2,3,"ng-template",11),h.TgZ(31,"div",13),h.TgZ(32,"h5",20),h._uU(33),h.ALo(34,"translate"),h.qZA(),h.YNc(35,Wt,3,3,"app-alert",21),h.YNc(36,At,7,7,"mat-radio-group",22),h.qZA(),h.qZA(),h.TgZ(37,"mat-step"),h.YNc(38,Ht,2,3,"ng-template",11),h.TgZ(39,"div",13),h.TgZ(40,"h5",20),h._uU(41),h.ALo(42,"translate"),h.qZA(),h.TgZ(43,"perun-web-apps-expiration-select",23),h.NdJ("datePicker",function(we){return h.CHM(q),h.oxw(2).setExpiration(we)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(44,"mat-step"),h.YNc(45,bt,2,3,"ng-template",11),h.TgZ(46,"div",13),h.TgZ(47,"h5",20),h._uU(48),h.ALo(49,"translate"),h.qZA(),h.TgZ(50,"mat-radio-group",24),h.NdJ("change",function(){return h.CHM(q),h.oxw(2).groupAssigmentChanged()})("ngModelChange",function(we){return h.CHM(q),h.oxw(2).groupAssignment=we}),h.TgZ(51,"mat-radio-button",25),h._uU(52),h.ALo(53,"translate"),h.qZA(),h.TgZ(54,"span",26),h.ALo(55,"translate"),h.TgZ(56,"mat-radio-button",27),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.qZA(),h.TgZ(59,"span",26),h.ALo(60,"translate"),h.TgZ(61,"mat-radio-button",28),h._uU(62),h.ALo(63,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.YNc(64,et,4,3,"div",7),h.YNc(65,kt,5,4,"div",7),h.YNc(66,It,6,11,"div",7),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw(2);h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",q.usersInfoFormGroup),h.xp6(2),h.Q6J("ngIf",q.functionalityNotSupported),h.xp6(2),h.Oqu(h.lcZ(7,35,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),h.xp6(2),h.Q6J("formGroup",q.usersInfoFormGroup),h.xp6(2),h.s9C("placeholder",h.lcZ(11,37,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",q.namespaceOptions),h.xp6(1),h.Q6J("ngIf",q.usersInfoFormGroup.hasError("required","namespace")),h.xp6(2),h.Oqu(h.lcZ(16,39,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),h.xp6(3),h.hij(" ",q.getSelectedNamespaceRules().csvGenHeaderDescription," "),h.xp6(3),h.Oqu(h.lcZ(22,41,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),h.xp6(2),h.s9C("placeholder",q.getSelectedNamespaceRules().csvGenPlaceholder),h.xp6(2),h.Q6J("ngIf",q.usersInfoFormGroup.hasError("required","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",q.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",q.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",q.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),h.xp6(5),h.hij(" ",h.lcZ(34,43,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")," "),h.xp6(2),h.Q6J("ngIf","No namespace"===q.getSelectedNamespaceRules().namespaceName),h.xp6(1),h.Q6J("ngIf","No namespace"!==q.getSelectedNamespaceRules().namespaceName),h.xp6(5),h.Oqu(h.lcZ(42,45,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),h.xp6(2),h.Q6J("expiration",q.expiration),h.xp6(5),h.Oqu(h.lcZ(49,47,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),h.xp6(2),h.Q6J("ngModel",q.groupAssignment),h.xp6(2),h.hij(" ",h.lcZ(53,49,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(55,51,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),h.Q6J("matTooltipDisabled",!q.manualMemberAddingBlocked&&q.createGroupAuth),h.xp6(2),h.Q6J("disabled",q.manualMemberAddingBlocked||!q.createGroupAuth),h.xp6(1),h.hij(" ",h.lcZ(58,53,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(60,55,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),h.Q6J("matTooltipDisabled",!q.manualMemberAddingBlocked&&0!==q.assignableGroups.length),h.xp6(2),h.Q6J("disabled",q.manualMemberAddingBlocked||0===q.assignableGroups.length),h.xp6(1),h.hij(" ",h.lcZ(63,57,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),h.xp6(2),h.Q6J("ngIf","none"===q.groupAssignment),h.xp6(1),h.Q6J("ngIf","new"===q.groupAssignment),h.xp6(1),h.Q6J("ngIf","existing"===q.groupAssignment)}}function qe(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.Q6J("alert_type","success"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")," "))}function re(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.Q6J("alert_type","warn"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.FINISHED_WITH_ERRORS")," "))}function Z(Tt,$t){if(1&Tt&&(h.TgZ(0,"div"),h.YNc(1,qe,3,4,"app-alert",40),h.YNc(2,re,3,4,"app-alert",40),h.qZA()),2&Tt){const q=h.oxw(2);h.xp6(1),h.Q6J("ngIf",!1===q.finishedWithErrors),h.xp6(1),h.Q6J("ngIf",q.finishedWithErrors)}}function G(Tt,$t){if(1&Tt&&(h.TgZ(0,"div",5),h.YNc(1,We,67,59,"mat-stepper",6),h.YNc(2,Z,3,2,"div",7),h.qZA()),2&Tt){const q=h.oxw();h.xp6(1),h.Q6J("ngIf","user-input"===q.state),h.xp6(1),h.Q6J("ngIf","results"===q.state)}}function ee(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(q),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "))}function _e(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(q),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Tt){const q=h.oxw(2);h.ekj("ml-2",void 0!==q.stepper&&0!==q.stepper.selectedIndex)("ml-auto",!(void 0!==q.stepper&&0!==q.stepper.selectedIndex)),h.Q6J("disabled",q.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," ")}}function Ue(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(q),h.oxw(2).onSubmit()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Tt){const q=h.oxw(2);h.Q6J("disabled",null===q.groupAssignment||"existing"===q.groupAssignment&&0===q.selection.selected.length||"new"===q.groupAssignment&&(0===q.name.length||0===q.description.length)||!0===q.asSubGroup&&null===q.parentGroup),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function Et(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(q),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,ee,3,3,"button",44),h.YNc(5,_e,3,8,"button",45),h.YNc(6,Ue,3,4,"button",46),h.qZA()}if(2&Tt){const q=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==q.stepper&&0!==q.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==q.stepper&&q.stepper.selectedIndex!==q.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==q.stepper&&q.stepper.selectedIndex===q.stepper._steps.length-1)}}function Bt(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(q),h.oxw().onClose()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"button",49),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"mat-menu",null,50),h.TgZ(9,"button",51),h.NdJ("click",function(){return h.CHM(q),h.oxw().generatePdf()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"button",51),h.NdJ("click",function(){return h.CHM(q),h.oxw().downloadCsv()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&Tt){const q=h.MAs(8);h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CLOSE")," "),h.xp6(2),h.Q6J("matMenuTriggerFor",q),h.xp6(1),h.hij(" ",h.lcZ(6,7,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD")," "),h.xp6(5),h.hij(" ",h.lcZ(11,9,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_PDF")," "),h.xp6(3),h.hij(" ",h.lcZ(14,11,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_CSV")," ")}}let jt=(()=>{class Tt{constructor(q,ut,we,lt,Ft,Jt,di,Oi,zi,mn,In,Wi){this.dialogRef=q,this.data=ut,this.store=we,this.membersService=lt,this.notificator=Ft,this.translate=Jt,this.guiAuthResolver=di,this.groupsService=Oi,this.attributesService=zi,this.formBuilder=mn,this.sponsoredMembersPDFService=In,this.cd=Wi,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.namespaceRules=[],this.state="user-input",this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new f.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=g.rc,this.finishedWithErrors=!1,this.groupAttrNames=[i.r.GROUP_SYNC_ENABLED,i.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}static didSomeGenerationFailed(q){return q.forEach(ut=>{if("OK"!==ut.status)return!0}),!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.createGroupAuth=this.guiAuthResolver.isAuthorized("createGroup_Vo_Group_policy",[{id:this.data.voId,beanName:"Vo"}]),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",s.kI.required],sponsoredMembers:["",[s.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(q=>{this.manualMemberAddingBlocked=this.hasAttributeEnabled(q,"blockManualMemberAdding"),!0!==this.manualMemberAddingBlocked?this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(ut=>{this.allVoGroups=ut.filter(we=>"members"!==we.name),this.assignableGroups=this.filterAssignableGroups(ut),this.membersService.getAllNamespacesRules().subscribe(we=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",csvGenHeader:"firstname;lastname;urn:perun:user:attribute-def:def:preferredMail",csvGenPlaceholder:"John;Doe;john@mail.cz",csvGenHeaderDescription:"First name;Last name;Email"}),this.namespaceRules=this.namespaceRules.concat(we),this.namespaceRules.forEach(lt=>this.namespaceOptions.push(lt.namespaceName)),0===this.namespaceOptions.length?this.functionalityNotSupported=!0:this.usersInfoFormGroup.setValue({namespace:this.namespaceOptions[0],sponsoredMembers:""}),this.loading=!1,this.cd.detectChanges()})},()=>this.loading=!1):(this.loading=!1,this.cd.detectChanges())},()=>this.loading=!1)}filterAssignableGroups(q){const ut=[];for(const we of q)!this.hasAttributeEnabled(we.attributes,"synchronizationEnabled")&&!this.hasAttributeEnabled(we.attributes,"blockManualMemberAdding")&&this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[we])&&ut.push(we);return ut}hasAttributeEnabled(q,ut){return q.some(we=>we.friendlyName===ut&&null!==we.value&&"true"===we.value.toString())}createOutputObjects(q){let ut="",we="",lt="",Ft="";const Jt=[];return q.forEach(di=>{ut=di.name.replace(";"," ").split(";")[0],we=di.status,lt=di.login?di.login:lt,Ft=di.password?di.password:Ft,Jt.push({name:ut,status:we,login:lt,password:Ft})}),Jt}onGenerate(){this.loading=!0;const q=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),ut=this.getSelectedNamespaceRules().csvGenHeader,we=[];for(const Ft of q){const Jt=this.parseMemberLine(Ft);if("format"===Jt||"email"===Jt)return void(this.loading=!1);""!==Jt&&we.push(Jt)}const lt={data:we,header:ut,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(lt.groups=this.groupIds),"never"!==this.expiration&&(lt.validityTo=(0,b.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(lt.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(lt).subscribe(Ft=>{this.state="results",this.finishedWithErrors=Tt.didSomeGenerationFailed(Ft),this.loading=!1,this.resultData=Ft},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onClose(){this.dialogRef.close(!0)}parseMemberLine(q){const ut=q.trim();if(""===ut)return"";const we=ut.split(";"),lt=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(we.length!==lt.length)return"format";if("mail"===lt[2].slice(lt[2].length-4).toLowerCase()&&!we[2].trim().match(T.B2))return"email";if("login"===lt[3]&&""===we[3].trim())return"login";let Ft="";for(const Jt of we)Ft+=Jt.trim()+";";return Ft.slice(0,-1)}userInputValidator(){return q=>{const ut=q.value.split("\n");for(const we of ut){const lt=this.parseMemberLine(we);if("format"===lt)return{invalidFormat:{value:we}};if("email"===lt)return{invalidEmail:{value:we}};if("login"===lt)return{invalidLogin:{value:we}}}return null}}setExpiration(q){this.expiration="never"===q?"never":(0,b.p6)(q,"yyyy-MM-dd","en-GB")}applyFilter(q){this.filterValue=q}groupAssigmentChanged(){this.selection.clear(),this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null}onSubmit(){this.loading=!0,"new"===this.groupAssignment?this.asSubGroup?this.groupsService.createGroupWithParentGroupNameDescription(this.parentGroup.id,this.name,this.description).subscribe(q=>{this.groupIds.push(q.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(q=>{this.groupIds.push(q.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(q=>q.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(q=>q.namespaceName===this.usersInfoFormGroup.get("namespace").value)}generatePdf(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");this.loading=!0,this.sponsoredMembersPDFService.generate(this.resultData).then(()=>this.loading=!1)}downloadCsv(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");(0,T.O6)(this.createOutputObjects(this.resultData),"csv","member-logins")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.usersInfoFormGroup.invalid;case 1:return null===this.passwordReset;case 2:return null===this.expiration;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return Tt.\u0275fac=function(q){return new(q||Tt)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(k.sK),h.Y36(A.x4),h.Y36(e.ff),h.Y36(e.H8),h.Y36(s.qu),h.Y36(A.HV),h.Y36(h.sBO))},Tt.\u0275cmp=h.Xpm({type:Tt,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(q,ut){if(1&q&&h.Gf(n,5),2&q){let we;h.iGM(we=h.CRH())&&(ut.stepper=we.first)}},decls:8,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear",4,"ngIf"],[4,"ngIf"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"mt-2"],[1,"flex-container","mt-2",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"pt-2"],["id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","rows","8","cols","50","matInput","","formControlName","sponsoredMembers",1,"md-textarea","form-control",3,"placeholder"],[1,"mb-4"],["alert_type","info",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"expiration","datePicker"],[1,"flex-container",3,"ngModel","change","ngModelChange"],["value","none"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["value","new",3,"disabled"],["value","existing",3,"disabled"],["alert_type","error"],[3,"value"],["alert_type","info"],[3,"ngModel","ngModelChange"],["value","generate"],["value","reset"],["alert_type","info",1,"mt-4"],[1,"mt-4"],[3,"voGroups","nameChanged","descriptionChanged","parentGroupChanged","asSubgroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","disableRouting","tableId","filter"],[3,"alert_type",4,"ngIf"],[3,"alert_type"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-auto","dropdown-toggle",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(q,ut){1&q&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,c,1,0,"mat-spinner",1),h.YNc(5,G,3,2,"div",2),h.YNc(6,Et,7,6,"div",3),h.YNc(7,Bt,15,13,"div",3),h.qZA()),2&q&&(h.Tol(ut.theme),h.xp6(2),h.Oqu(h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",ut.loading),h.xp6(1),h.Q6J("ngIf",!ut.loading),h.xp6(1),h.Q6J("ngIf",!ut.loading&&void 0!==ut.stepper&&"results"!==ut.state),h.xp6(1),h.Q6J("ngIf","results"===ut.state))},directives:[m.uh,b.O5,L.$g,m.xY,Y.Vq,Y.C0,Y.VY,J.w,s._Y,s.JL,s.sg,ue.KE,Le.gD,s.Q7,s.JJ,s.u,b.sg,de.ey,ue.TO,ue.hX,ce.Nt,s.Fj,H.VQ,s.On,H.U0,oe,ke.gM,r.r,p.L,o.W,m.H8,Ne.lW,t.p6,t.VK,t.OP],pipes:[k.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Tt})();var St=d(38383);function Ct(Tt,$t){1&Tt&&h._UZ(0,"mat-spinner",12)}const mt=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Rt(Tt,$t){if(1&Tt&&h._UZ(0,"perun-web-apps-members-list",13),2&Tt){const q=h.oxw();h.Q6J("tableId",q.tableId)("hidden",q.loading)("members",q.members)("selection",q.selection)("displayedColumns",h.DdM(6,mt))("disableRouting",!0)}}function Gt(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",14),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let li=(()=>{class Tt{constructor(q,ut,we,lt,Ft,Jt){this.dialogRef=q,this.data=ut,this.store=we,this.membersService=lt,this.notificator=Ft,this.translate=Jt,this.loading=!1,this.tableId=g.US,this.expiration="never",this.searchCtrl=new s.NI("",[s.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new f.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}sponsor(q){if(this.loading=!0,0===q.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const ut=q.pop();ut.sponsored?this.membersService.sponsorMember(ut.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(q)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(ut.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(q)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const q=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(q)}setExpiration(q){this.expiration="never"===q?"never":(0,b.p6)(q,"yyyy-MM-dd","en-GB")}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.firstSearchDone=!0,this.loading=!0,this.selection.clear(),this.membersService.findCompleteRichMembersForVo(this.data.voId,[i.r.MEMBER_DEF_EXPIRATION,i.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(ut=>{this.members=ut,this.loading=!1},()=>this.loading=!1))}}return Tt.\u0275fac=function(q){return new(q||Tt)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(k.sK))},Tt.\u0275cmp=h.Xpm({type:Tt,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"datePicker"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting"],["alert_type","info"]],template:function(q,ut){1&q&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",1),h.TgZ(5,"mat-form-field",2),h.TgZ(6,"label"),h.TgZ(7,"input",3),h.NdJ("keyup.enter",function(){return ut.onSearchByString()}),h.ALo(8,"translate"),h.qZA(),h.qZA(),h.TgZ(9,"mat-error"),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.qZA(),h.TgZ(12,"button",4),h.NdJ("click",function(){return ut.onSearchByString()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.YNc(15,Ct,1,0,"mat-spinner",5),h.YNc(16,Rt,1,7,"perun-web-apps-members-list",6),h.YNc(17,Gt,3,3,"app-alert",7),h.TgZ(18,"div"),h._UZ(19,"br"),h.TgZ(20,"h6"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"perun-web-apps-expiration-select",8),h.NdJ("datePicker",function(lt){return ut.setExpiration(lt)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"div",9),h.TgZ(25,"button",10),h.NdJ("click",function(){return ut.onCancel()}),h._uU(26),h.ALo(27,"translate"),h.qZA(),h.TgZ(28,"button",11),h.NdJ("click",function(){return ut.onSubmit()}),h._uU(29),h.ALo(30,"translate"),h.qZA(),h.qZA(),h.qZA()),2&q&&(h.Tol(ut.theme),h.xp6(2),h.Oqu(h.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),h.xp6(5),h.s9C("placeholder",h.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),h.Q6J("formControl",ut.searchCtrl),h.xp6(3),h.hij(" ",h.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),h.xp6(2),h.Q6J("disabled",ut.loading),h.xp6(1),h.hij(" ",h.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),h.xp6(2),h.Q6J("ngIf",ut.loading),h.xp6(1),h.Q6J("ngIf",ut.firstSearchDone),h.xp6(1),h.Q6J("ngIf",!ut.firstSearchDone),h.xp6(4),h.Oqu(h.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),h.xp6(5),h.hij(" ",h.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("disabled",ut.loading||0===ut.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[m.uh,m.xY,ue.KE,ce.Nt,s.Fj,s.JJ,s.oH,ue.TO,Ne.lW,b.O5,L.$g,St.O,J.w,oe,m.H8],pipes:[k.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),Tt})();var fi=d(96214),Ci=d(84847),Si=d(32075),Vi=d(19352),nn=d(58964),$i=d(18750),Yi=d(50301),bn=d(30325);function Qi(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"th",16),h.TgZ(1,"mat-checkbox",17),h.NdJ("change",function(we){h.CHM(q);const lt=h.oxw();return we?lt.masterToggle():null}),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw();h.xp6(1),h.Q6J("aria-label",q.checkboxLabel())("checked",q.selection.hasValue()&&q.isAllSelected())("indeterminate",q.selection.hasValue()&&!q.isAllSelected())}}function $e(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"td",18),h.TgZ(1,"mat-checkbox",19),h.NdJ("change",function(we){const Ft=h.CHM(q).$implicit,Jt=h.oxw();return we?Jt.selection.toggle(Ft):null})("click",function(we){return we.stopPropagation()}),h.qZA(),h.qZA()}if(2&Tt){const q=$t.$implicit,ut=h.oxw();h.xp6(1),h.Q6J("aria-label",ut.checkboxLabel(q))("checked",ut.selection.isSelected(q))}}function vt(Tt,$t){1&Tt&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")," "))}function Qe(Tt,$t){if(1&Tt&&(h.TgZ(0,"td",21),h._uU(1),h.qZA()),2&Tt){const q=$t.$implicit;h.xp6(1),h.hij(" ",q.member.id," ")}}function Ze(Tt,$t){1&Tt&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")," "))}function gt(Tt,$t){if(1&Tt&&(h.TgZ(0,"td",22),h._uU(1),h.ALo(2,"userFullName"),h.qZA()),2&Tt){const q=$t.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,q.member.user)," ")}}function F(Tt,$t){1&Tt&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")," "))}function Be(Tt,$t){if(1&Tt&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"userFullName"),h._UZ(3,"br"),h.qZA()),2&Tt){const q=$t.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,q.user),"")}}function dt(Tt,$t){if(1&Tt&&(h.TgZ(0,"td",22),h.YNc(1,Be,4,3,"span",23),h.qZA()),2&Tt){const q=$t.$implicit;h.xp6(1),h.Q6J("ngForOf",q.sponsors)}}function Dt(Tt,$t){1&Tt&&h._UZ(0,"th",20)}function ei(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"span",26),h.ALo(1,"translate"),h.TgZ(2,"button",27),h.NdJ("mouseenter",function(){return h.CHM(q),h.oxw(2).disableRouting=!0})("mouseleave",function(){h.CHM(q);const we=h.oxw(2);return we.disableRouting=we.routingStrategy})("click",function(){h.CHM(q);const we=h.oxw().$implicit;return h.oxw().resetPassword(we)}),h.TgZ(3,"mat-icon"),h._uU(4,"vpn_key"),h.qZA(),h.qZA(),h.qZA()}if(2&Tt){const q=h.oxw(2);h.Q6J("matTooltipPosition","above")("matTooltip",h.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),h.xp6(2),h.Q6J("disabled",q.loading)}}function Qt(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"td",22),h.TgZ(1,"button",24),h.NdJ("click",function(){const lt=h.CHM(q).$implicit;return h.oxw().showSponsors(lt)})("mouseenter",function(){return h.CHM(q),h.oxw().disableRouting=!0})("mouseleave",function(){h.CHM(q);const we=h.oxw();return we.disableRouting=we.routingStrategy}),h.TgZ(2,"mat-icon"),h._uU(3,"edit"),h.qZA(),h.qZA(),h.YNc(4,ei,5,5,"span",25),h.qZA()}if(2&Tt){const q=$t.$implicit,ut=h.oxw();h.xp6(4),h.Q6J("ngIf",ut.passwdResetAuth(q))}}function Ri(Tt,$t){1&Tt&&h._UZ(0,"tr",28)}const bi=function(Tt,$t){return["/organizations",Tt,"members",$t]};function Li(Tt,$t){if(1&Tt&&h._UZ(0,"tr",29),2&Tt){const q=$t.$implicit,ut=h.oxw();h.ekj("cursor-pointer",!ut.disableRouting)("disable-outline",ut.disableRouting),h.Q6J("perunWebAppsMiddleClickRouterLink",ut.disableRouting?null:h.WLB(6,bi,q.member.voId,q.member.id))("routerLink",ut.disableRouting?null:h.WLB(9,bi,q.member.voId,q.member.id))}}function Ji(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",30),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ni(Tt,$t){1&Tt&&(h.TgZ(0,"app-alert",30),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let Hi=(()=>{class Tt{constructor(q,ut,we,lt,Ft){this.dialog=q,this.authResolver=ut,this.storeService=we,this.attributesManager=lt,this.tableCheckbox=Ft,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.refreshTable=new h.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=T.f7}set matSort(q){this.sort=q}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(q=>"id"!==q)),this.setDataSource(),this.routingStrategy=this.disableRouting}getSortDataForColumn(q,ut){var we;switch(ut){case"id":return q.member.id.toString();case"name":return q.member.user?q.member.user.lastName?q.member.user.lastName:null!==(we=q.member.user.firstName)&&void 0!==we?we:"":"";case"sponsors":return q.sponsors.length.toString();default:return""}}getDataForColumn(q,ut){switch(ut){case"id":return q.member.id.toString();case"name":return q.member.user?(0,T.bD)(q.member.user):"";case"sponsors":return q.sponsors.map(we=>(0,T.bD)(we.user)).join();default:return""}}exportData(q){(0,T.O6)((0,T.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),q)}setDataSource(){this.dataSource||(this.dataSource=new Si.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(q,ut)=>(0,T.Sd)(q,ut,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(q,ut)=>(0,T.pR)(q,ut,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(q){const ut=(0,T.kZ)();ut.width="650px",ut.data={sponsors:q.sponsors,member:q.member,theme:"vo-theme"},this.dialog.open(Vi.H,ut).afterClosed().subscribe(lt=>{lt&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(q){return q?`${this.selection.isSelected(q)?"deselect":"select"} row ${q.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(q){this.loading=!0;const ut=this.storeService.get("password_namespace_attributes").map(we=>(we=we.split(":"))[we.length-1]);this.attributesManager.getLogins(q.member.userId).subscribe(we=>{const lt=we.filter(di=>ut.includes(di.friendlyNameParameter)),Ft=(0,T.kZ)();Ft.width="400px",Ft.data={userId:q.member.userId,memberId:q.member.id,logins:lt},this.dialog.open(nn.m,Ft).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(q){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:q.member.voId,beanName:"Vo"},q.member])}}return Tt.\u0275fac=function(q){return new(q||Tt)(h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.H8),h.Y36(A.UA))},Tt.\u0275cmp=h.Xpm({type:Tt,selectors:[["app-sponsored-members-list"]],viewQuery:function(q,ut){if(1&q&&(h.Gf(Ci.YE,7),h.Gf(T.l9,7)),2&q){let we;h.iGM(we=h.CRH())&&(ut.matSort=we.first),h.iGM(we=h.CRH())&&(ut.child=we.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",tableId:"tableId"},outputs:{refreshTable:"refreshTable"},features:[h.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","sponsors"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngFor","ngForOf"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"click","mouseenter","mouseleave"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"disabled","mouseenter","mouseleave","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(q,ut){1&q&&(h.TgZ(0,"div",0),h.TgZ(1,"perun-web-apps-table-wrapper",1),h.NdJ("exportData",function(lt){return ut.exportData(lt)}),h.TgZ(2,"table",2),h.ynx(3,3),h.YNc(4,Qi,2,3,"th",4),h.YNc(5,$e,2,2,"td",5),h.BQk(),h.ynx(6,6),h.YNc(7,vt,3,3,"th",7),h.YNc(8,Qe,2,1,"td",8),h.BQk(),h.ynx(9,9),h.YNc(10,Ze,3,3,"th",7),h.YNc(11,gt,3,3,"td",10),h.BQk(),h.ynx(12,11),h.YNc(13,F,3,3,"th",7),h.YNc(14,dt,2,1,"td",10),h.BQk(),h.ynx(15,12),h.YNc(16,Dt,1,0,"th",7),h.YNc(17,Qt,5,1,"td",10),h.BQk(),h.YNc(18,Ri,1,0,"tr",13),h.YNc(19,Li,1,12,"tr",14),h.qZA(),h.qZA(),h.qZA(),h.YNc(20,Ji,3,3,"app-alert",15),h.YNc(21,Ni,3,3,"app-alert",15)),2&q&&(h.Q6J("hidden",0===ut.dataSource.filteredData.length||0===ut.sponsoredMembers.length),h.xp6(1),h.Q6J("tableId",ut.tableId)("dataLength",ut.dataSource.filteredData.length)("pageSizeOptions",ut.pageSizeOptions),h.xp6(1),h.Q6J("dataSource",ut.dataSource),h.xp6(16),h.Q6J("matHeaderRowDef",ut.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",ut.displayedColumns),h.xp6(1),h.Q6J("ngIf",0===ut.dataSource.filteredData.length&&0!==ut.sponsoredMembers.length),h.xp6(1),h.Q6J("ngIf",0===ut.sponsoredMembers.length))},directives:[$i.l,Si.BZ,Ci.YE,Si.w1,Si.fO,Si.ge,ae.oG,Si.Dz,Si.ev,Ci.nU,b.sg,Ne.lW,ge.Hw,b.O5,ke.gM,Si.as,Si.XQ,Si.nj,Si.Gk,Yi.YH,bn.rH,J.w],pipes:[k.X$,Fe.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Tt})();function pn(Tt,$t){if(1&Tt&&(h.TgZ(0,"button",10),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Tt){const q=h.oxw(),ut=h.MAs(9);h.Q6J("disabled",q.findSponsorsAuth&&0===q.voSponsors.length)("matMenuTriggerFor",ut),h.xp6(1),h.hij(" ",h.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function Pi(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(q),h.oxw().onCreate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function Ti(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(q),h.oxw().onGenerate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function Ui(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"button",12),h.NdJ("click",function(){return h.CHM(q),h.oxw().onSponsorExistingMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Tt&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function fn(Tt,$t){1&Tt&&h._UZ(0,"mat-spinner",13)}function sn(Tt,$t){if(1&Tt){const q=h.EpF();h.TgZ(0,"app-sponsored-members-list",14),h.NdJ("refreshTable",function(){return h.CHM(q),h.oxw().refresh()}),h.qZA()}if(2&Tt){const q=h.oxw();h.Q6J("sponsoredMembers",q.members)("disableRouting",!q.routeAuth)("selection",q.selection)("filterValue",q.searchString)("tableId",q.tableId)}}let qi=(()=>{class Tt{constructor(q,ut,we,lt,Ft,Jt){this.membersManager=q,this.dialog=ut,this.authResolver=we,this.storeService=lt,this.authzResolver=Ft,this.entityStorageService=Jt,this.members=[],this.voSponsors=[],this.attrNames=[],this.selection=new f.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=g.Bf}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights();const q=["SPONSOR"],ut=new Map;this.authResolver.getRolesAuthorization(q,this.vo,ut),this.findSponsorsAuth=ut.get(q[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(O.u.SPONSOR,this.vo.id,"Vo",[i.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(lt=>{this.voSponsors=lt,this.refresh()}):this.refresh()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createSponsoredMember_Vo_String_Map_String_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.generateAuth=this.authResolver.isAuthorized("createSponsoredMembers_Vo_String_List_User_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.setSponsorshipAuth=this.authResolver.isAuthorized("setSponsorshipForMember_Member_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0].member]))}onCreate(){const q=(0,T.kZ)();q.width="620px",q.data={entityId:this.vo.id,voId:this.vo.id,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(P,q).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(lt=>{this.storeService.setPerunPrincipal(lt),this.refresh()}))})}onGenerate(){const q=(0,T.kZ)();q.width="750px",q.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(jt,q).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(lt=>{this.storeService.setPerunPrincipal(lt),this.refresh()}))})}onSponsorExistingMember(){const q=(0,T.kZ)();q.width="650px",q.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(li,q).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(lt=>{this.storeService.setPerunPrincipal(lt),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.vo.id,this.attrNames).subscribe(q=>{this.selection.clear(),this.members=q,this.setAuthRights(),this.loading=!1})}applyFilter(q){this.searchString=q}}return Tt.id="VoSponsoredMembersComponent",Tt.\u0275fac=function(q){return new(q||Tt)(h.Y36(e.uq),h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.Ct),h.Y36(A.fb))},Tt.\u0275cmp=h.Xpm({type:Tt,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(q,ut){2&q&&h.ekj("router-component",ut.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","","class","action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable"]],template:function(q,ut){1&q&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return ut.refresh()}),h.qZA(),h.TgZ(5,"span",2),h.ALo(6,"translate"),h.YNc(7,pn,3,5,"button",3),h.qZA(),h.TgZ(8,"mat-menu",null,4),h.YNc(10,Pi,3,3,"button",5),h.YNc(11,Ti,3,3,"button",5),h.qZA(),h.YNc(12,Ui,3,3,"button",6),h.TgZ(13,"perun-web-apps-immediate-filter",7),h.NdJ("filter",function(lt){return ut.applyFilter(lt)}),h.qZA(),h.YNc(14,fn,1,0,"mat-spinner",8),h.YNc(15,sn,1,5,"app-sponsored-members-list",9),h.qZA()),2&q&&(h.xp6(2),h.Oqu(h.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),h.xp6(3),h.s9C("matTooltip",h.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),h.Q6J("matTooltipDisabled",!(ut.findSponsorsAuth&&0===ut.voSponsors.length)),h.xp6(2),h.Q6J("ngIf",ut.createAuth||ut.generateAuth),h.xp6(3),h.Q6J("ngIf",ut.createAuth),h.xp6(1),h.Q6J("ngIf",ut.generateAuth),h.xp6(1),h.Q6J("ngIf",ut.setSponsorshipAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),h.xp6(1),h.Q6J("ngIf",ut.loading),h.xp6(1),h.Q6J("ngIf",!ut.loading))},directives:[fi.t,ke.gM,b.O5,Ne.lW,t.p6,t.VK,t.OP,p.L,L.$g,Hi],pipes:[k.X$],styles:[""]}),Tt})()},25309:(Ke,be,d)=>{"use strict";d.d(be,{Y:()=>ve});var e=d(9315),f=d(9244),g=d(36908),T=d(11717),m=d(20449),A=d(48966),s=d(93075),b=d(5e3),O=d(51062),E=d(30325),h=d(69808),k=d(20773),L=d(67322),Y=d(98833),J=d(47423),ue=d(29772);function ce(me,Te){1&me&&b._UZ(0,"mat-spinner",3)}function Le(me,Te){if(1&me){const te=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"div",4),b.TgZ(2,"mat-form-field"),b._UZ(3,"input",5),b.ALo(4,"translate"),b.TgZ(5,"mat-error"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.qZA(),b.TgZ(8,"mat-form-field"),b._UZ(9,"input",6),b.ALo(10,"translate"),b.TgZ(11,"mat-error"),b._uU(12),b.ALo(13,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(14,"div",7),b.TgZ(15,"button",8),b.NdJ("click",function(){return b.CHM(te),b.oxw().onCancel()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"div",9),b.ALo(19,"translate"),b.TgZ(20,"button",10),b.NdJ("click",function(){return b.CHM(te),b.oxw().onSubmit()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&me){const te=b.oxw();b.xp6(3),b.s9C("placeholder",b.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),b.Q6J("formControl",te.fullNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),b.Q6J("formControl",te.shortNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),b.xp6(4),b.hij(" ",b.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),b.Q6J("matTooltipDisabled",te.shortNameCtrl.valid&&te.fullNameCtrl.valid),b.xp6(2),b.Q6J("disabled",te.shortNameCtrl.invalid||te.fullNameCtrl.invalid),b.xp6(1),b.hij(" ",b.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let de=(()=>{class me{constructor(te,R,Oe,Ie,He,fe){this.dialogRef=te,this.data=R,this.notificator=Oe,this.voService=Ie,this.translate=He,this.router=fe,He.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(Ce=>this.successMessage=Ce)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern("^[\\w.-]+$"),s.kI.maxLength(33)]),this.fullNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(te=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0),this.router.navigate(["/organizations",te.id])},()=>this.loading=!1)}}return me.\u0275fac=function(te){return new(te||me)(b.Y36(A.so),b.Y36(A.WI),b.Y36(g.V6),b.Y36(e.YF),b.Y36(O.sK),b.Y36(E.F0))},me.\u0275cmp=b.Xpm({type:me,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","vo-name-input",3,"placeholder","formControl"],["matInput","","required","","data-cy","vo-shortname-input",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","data-cy","create-vo-button",1,"ml-2",3,"disabled","click"]],template:function(te,R){1&te&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,ce,1,0,"mat-spinner",1),b.YNc(5,Le,23,25,"div",2),b.qZA()),2&te&&(b.Tol(R.theme),b.xp6(2),b.Oqu(b.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),b.xp6(2),b.Q6J("ngIf",R.loading),b.xp6(1),b.Q6J("ngIf",!R.loading))},directives:[A.uh,h.O5,k.$g,A.xY,L.KE,Y.Nt,s.Fj,s.Q7,s.JJ,s.oH,L.TO,A.H8,J.lW,ue.gM],pipes:[O.X$],styles:[".mat-dialog-content[_ngcontent-%COMP%]{height:auto}@media (min-width: 421px) and (max-width: 755px){.mat-dialog-content[_ngcontent-%COMP%]{height:150px}}@media (max-width: 420px){.mat-dialog-content[_ngcontent-%COMP%]{height:175px}}"]}),me})();var ke=d(10036),ae=d(77968),V=d(4235),H=d(25245),X=d(96214),ie=d(7434),oe=d(87831);function ge(me,Te){if(1&me){const te=b.EpF();b.TgZ(0,"button",9),b.NdJ("click",function(){return b.CHM(te),b.oxw().onCreateVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function Ne(me,Te){if(1&me){const te=b.EpF();b.TgZ(0,"button",10),b.NdJ("click",function(){return b.CHM(te),b.oxw().onRemoveVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}if(2&me){const te=b.oxw();b.Q6J("disabled",0===te.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function Fe(me,Te){1&me&&b._UZ(0,"mat-spinner",11)}function se(me,Te){if(1&me&&b._UZ(0,"perun-web-apps-vos-list",12),2&me){const te=b.oxw();b.Q6J("tableId",te.tableId)("displayedColumns",te.displayedColumns)("filterValue",te.filterValue)("recentIds",te.recentIds)("selection",te.selection)("vos",te.vos)}}const Me=function(){return{color:"black"}};let ve=(()=>{class me{constructor(te,R,Oe,Ie,He,fe){this.sideMenuService=te,this.voService=R,this.guiAuthResolver=Oe,this.dialog=Ie,this.notificator=He,this.apiRequest=fe,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=ke.tw}ngOnInit(){this.loading=!0,this.selection=new m.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(te=>{this.vos=te,this.recentIds=(0,f.vL)("vos"),this.loading=!1},te=>{"PrivilegeException"===te.error.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(te)})}applyFilter(te){this.filterValue=te}onCreateVo(){const te=(0,f.kZ)();te.width="610px",te.data={theme:"vo-theme"},this.dialog.open(de,te).afterClosed().subscribe(Oe=>{Oe&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const te=(0,f.kZ)();te.width="500px",te.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(T.o,te).afterClosed().subscribe(Oe=>{Oe&&this.refreshTable()})}}return me.id="VoSelectPageComponent",me.\u0275fac=function(te){return new(te||me)(b.Y36(ae.D),b.Y36(e.YF),b.Y36(g.x4),b.Y36(A.uw),b.Y36(g.V6),b.Y36(g.F5))},me.\u0275cmp=b.Xpm({type:me,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(te,R){2&te&&b.ekj("router-component",R.true)},decls:12,vars:11,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],[1,"page-title","d-flex"],["svgIcon","perun-vo-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","new-vo-button",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","new-vo-button",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos"]],template:function(te,R){1&te&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return R.refreshTable()}),b.qZA(),b.YNc(7,ge,3,3,"button",4),b.YNc(8,Ne,3,4,"button",5),b.TgZ(9,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(Ie){return R.applyFilter(Ie)}),b.qZA(),b.YNc(10,Fe,1,0,"mat-spinner",7),b.YNc(11,se,1,6,"perun-web-apps-vos-list",8),b.qZA()),2&te&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(10,Me)),b.xp6(1),b.hij(" ",b.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),b.xp6(3),b.Q6J("ngIf",R.createAuth),b.xp6(1),b.Q6J("ngIf",R.deleteAuth),b.xp6(1),b.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",R.loading),b.xp6(1),b.Q6J("ngIf",!R.loading))},directives:[V.W,H.Hw,h.PC,X.t,h.O5,J.lW,ie.L,k.$g,oe.Z],pipes:[O.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),me})()},9193:(Ke,be,d)=>{"use strict";var e=d(22313),f=d(5e3),g=d(30325);let T=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(Re,ct){},styles:[""]}),le})();var m=d(9315),A=d(36908),s=d(9244),b=d(84379),O=d(77968),E=d(51062),h=d(48966),k=d(2638),L=d(77446),Y=d(93075),J=d(69808),ue=d(25245),ce=d(47423),Le=d(20773),de=d(98380),ke=d(90508),ae=d(50301),V=d(29772);function H(le,Je){1&le&&f._UZ(0,"mat-spinner",3)}function X(le,Je){1&le&&(f.TgZ(0,"app-alert",4),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}const ie=function(le){return[le]};function oe(le,Je){if(1&le&&(f.TgZ(0,"div",7),f.TgZ(1,"a",8),f.TgZ(2,"span",9),f._uU(3),f.qZA(),f._UZ(4,"mat-icon",10),f.TgZ(5,"p",11),f._uU(6),f.qZA(),f.qZA(),f.qZA()),2&le){const Re=Je.$implicit;f.xp6(1),f.Gre("",Re.style," item-itself"),f.s9C("matTooltip",Re.tooltip),f.Q6J("routerLink",Re.url)("perunWebAppsMiddleClickRouterLink",f.VKq(9,ie,Re.url)),f.xp6(2),f.Oqu(Re.type),f.xp6(1),f.Q6J("svgIcon",Re.cssIcon),f.xp6(2),f.Oqu(Re.label)}}function ge(le,Je){if(1&le&&(f.TgZ(0,"div",5),f.YNc(1,oe,7,11,"div",6),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("ngForOf",Re.items)}}let Ne=(()=>{class le{constructor(Re,ct,xt,Kt){this.vosManager=Re,this.groupsManager=ct,this.authResolver=xt,this.facilitiesManager=Kt,this.items=[],this.vosIds=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[],this.vos=[],this.groups=[],this.facilities=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,s.vL)("recent");for(const Re of this.recentItems)switch(Re.type){case"Vo":this.vosIds.push(Re.id);break;case"Group":this.groupsIds.push(Re.id);break;case"Facility":this.facilitiesIds.push(Re.id)}0===this.vosIds.length&&this.vosIds.push(-1),0===this.groupsIds.length&&this.groupsIds.push(-1),0===this.facilitiesIds.length&&this.facilitiesIds.push(-1),this.getVos()}getVos(){this.authResolver.isAuthorized("getVosByIds_List_policy",[])?this.vosManager.getVosByIds(this.vosIds).subscribe(Re=>{this.vos=Re,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(Re=>{this.groups=Re,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(Re=>{this.facilities=Re,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const Re of this.recentItems)switch(Re.type){case"Vo":{const ct=this.vos.filter(xt=>xt.id===Re.id)[0];ct&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${ct.id}`,label:ct.name,tooltip:ct.name,style:"vo-btn",type:"Organization"});break}case"Group":{const ct=this.groups.filter(xt=>xt.id===Re.id)[0];ct&&this.items.push({cssIcon:"perun-group",url:`/organizations/${ct.voId}/groups/${ct.id}`,label:ct.shortName,tooltip:`${Re.voName} : ${ct.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const ct=this.facilities.filter(xt=>xt.id===Re.id)[0];ct&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${ct.id}`,label:ct.name,tooltip:ct.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.YF),f.Y36(m.ff),f.Y36(A.x4),f.Y36(m.IQ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-recently-viewed-button-field"]],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],["class","items-container",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","info"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink","perunWebAppsMiddleClickRouterLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"],[1,"truncate"]],template:function(Re,ct){1&Re&&(f.YNc(0,H,1,0,"mat-spinner",0),f.YNc(1,X,3,3,"app-alert",1),f.YNc(2,ge,2,1,"div",2)),2&Re&&(f.Q6J("ngIf",ct.loading),f.xp6(1),f.Q6J("ngIf",0===ct.items.length&&!ct.loading),f.xp6(1),f.Q6J("ngIf",ct.items.length>0))},directives:[J.O5,Le.$g,de.w,J.sg,ke.wG,g.yS,ae.YH,V.gM,ue.Hw],pipes:[E.X$],styles:[".items-container[_ngcontent-%COMP%]{display:grid;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0 -8px}@media (max-width: 768px){.items-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:74px;margin-bottom:22px;align-self:center}.item-itself-container[_ngcontent-%COMP%]{margin:8px}.item-itself[_ngcontent-%COMP%]{text-align:center;min-height:186px;height:100%;padding:20px;display:flex;flex-direction:column;font-size:1.25rem;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%]:hover{text-decoration:none}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px;margin-bottom:10px}@media (max-width: 768px){.item-itself[_ngcontent-%COMP%]{min-height:150px;padding:10px;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}.item-type[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}"]}),le})();var Fe=d(87831),se=d(24179),Me=d(62109),ve=d(74010);function me(le,Je){1&le&&f._UZ(0,"mat-spinner",7)}const Te=function(){return["id","recent","shortName","name"]};function te(le,Je){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-vos-list",8),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("displayedColumns",f.DdM(4,Te))("recentIds",Re.recentIds)("vos",Re.objects)}}const R=function(){return["id","recent","vo","name","description"]};function Oe(le,Je){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-groups-list",9),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("groups",Re.objects)("recentIds",Re.recentIds)("displayedColumns",f.DdM(4,R))}}const Ie=function(){return["id","recent","name","vo","facility"]};function He(le,Je){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-resources-list",10),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("resources",Re.objects)("displayedColumns",f.DdM(5,Ie))("recentIds",Re.recentIds)("routingVo",!0)}}const fe=function(){return["id","recent","name","description"]};function Ce(le,Je){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-facilities-list",11),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("facilities",Re.objects)("recentIds",Re.recentIds)("displayedColumns",f.DdM(4,fe))}}function Ye(le,Je){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,te,2,5,"span",6),f.YNc(2,Oe,2,5,"span",6),f.YNc(3,He,2,6,"span",6),f.YNc(4,Ce,2,5,"span",6),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("ngIf","Vo"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Group"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Resource"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Facility"===Re.primaryObject)}}let Xe=(()=>{class le{constructor(Re,ct,xt){this.authzResolver=Re,this.guiAuthResolver=ct,this.resourceService=xt,this.loading=!1,this.recentIds=[]}ngOnInit(){this.loading=!0,this.primaryObject=this.guiAuthResolver.getPrimaryObjectOfRole(this.roleName),this.svgIcon="perun-"+this.primaryObject.toLowerCase()+"-black",this.title="USER_DETAIL.DASHBOARD.CARD_TITLE_"+this.roleName,this.roleTooltipInfo="USER_DETAIL.DASHBOARD.ROLE_INFO_"+this.roleName,this.getObjects()}getObjects(){switch(this.primaryObject){case"Vo":this.authzResolver.getVosWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re.map(ct=>({facility:ct})),this.recentIds=(0,s.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Ct),f.Y36(A.x4),f.Y36(m.xk))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-card"]],inputs:{role:"role",roleName:"roleName"},decls:11,vars:9,consts:[[1,"card","p-3"],[1,"flex-column","card-title"],[1,"cover-image",3,"svgIcon"],["matTooltipPosition","above",3,"matTooltip"],[1,"dashboard-icon"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSizeOptions","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","facilities","recentIds","displayedColumns"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f._UZ(2,"mat-icon",2),f._uU(3),f.ALo(4,"translate"),f.TgZ(5,"span",3),f.ALo(6,"translate"),f.TgZ(7,"mat-icon",4),f._uU(8,"info_outline"),f.qZA(),f.qZA(),f.qZA(),f.YNc(9,me,1,0,"mat-spinner",5),f.YNc(10,Ye,5,4,"div",6),f.qZA()),2&Re&&(f.xp6(2),f.Q6J("svgIcon",ct.svgIcon),f.xp6(1),f.hij(" ",f.lcZ(4,5,ct.title)," "),f.xp6(2),f.s9C("matTooltip",f.lcZ(6,7,ct.roleTooltipInfo)),f.xp6(4),f.Q6J("ngIf",ct.loading),f.xp6(1),f.Q6J("ngIf",!ct.loading))},directives:[ue.Hw,V.gM,J.O5,Le.$g,Fe.Z,se.W,Me.C,ve.X],pipes:[E.X$],styles:[".dashboard-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}.card-title[_ngcontent-%COMP%]{font-size:1.4rem;flex-wrap:wrap}.cover-image[_ngcontent-%COMP%]{transform:scale(1.8);margin-left:.9rem;margin-right:.7rem}"]}),le})();var tt=d(31359);function at(le,Je){if(1&le){const Re=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"mat-checkbox",8),f.NdJ("change",function(xt){const ni=f.CHM(Re).$implicit,ui=f.oxw();return xt?ui.changeRoleView(ni):null}),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.qZA()}if(2&le){const Re=Je.$implicit,ct=f.oxw();f.xp6(1),f.Q6J("checked",ct.isRoleShowed(Re)),f.xp6(1),f.Oqu(f.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+Re))}}function N(le,Je){if(1&le){const Re=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(Re),f.oxw(2).rightSettingOpened=!0}),f.TgZ(1,"mat-icon"),f._uU(2,"settings"),f.qZA(),f.qZA()}}function he(le,Je){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function D(le,Je){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function S(le,Je){if(1&le){const Re=f.EpF();f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Re),f.oxw(3).goToUserProfile()}),f.TgZ(1,"mat-icon",24),f._uU(2,"exit_to_app"),f.qZA(),f._uU(3),f.ALo(4,"translate"),f.qZA()}if(2&le){const Re=f.oxw(3);f.xp6(3),f.AsE("",f.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",Re.userProfileName," ")}}const I=function(){return["/myProfile"]};function P(le,Je){if(1&le&&(f.TgZ(0,"div"),f.TgZ(1,"div",16),f.TgZ(2,"div",17),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.TgZ(5,"div",18),f.YNc(6,he,3,3,"span",14),f.YNc(7,D,3,3,"span",14),f.qZA(),f.TgZ(8,"div",19),f.TgZ(9,"button",20),f._UZ(10,"mat-icon",21),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,S,5,4,"button",22),f.qZA(),f.qZA(),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(3),f.hij(" ",f.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),f.xp6(3),f.Q6J("ngIf",!Re.userProfileUrl),f.xp6(1),f.Q6J("ngIf",Re.userProfileUrl),f.xp6(2),f.Q6J("routerLink",f.DdM(10,I)),f.xp6(2),f.hij(" ",f.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),f.xp6(2),f.Q6J("ngIf",Re.userProfileUrl)}}function i(le,Je){1&le&&(f.TgZ(0,"span"),f.TgZ(1,"div",3),f._uU(2),f.ALo(3,"translate"),f.qZA(),f._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),f.qZA()),2&le&&(f.xp6(2),f.hij(" ",f.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function r(le,Je){1&le&&(f.TgZ(0,"div",27),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function p(le,Je){if(1&le&&f._UZ(0,"app-perun-web-apps-dashboard-card",30),2&le){const Re=f.oxw().$implicit,ct=f.oxw(3);f.Q6J("roleName",Re)("role",ct.roles[Re])}}function o(le,Je){if(1&le&&(f.TgZ(0,"div",28),f.YNc(1,p,1,2,"app-perun-web-apps-dashboard-card",29),f.qZA()),2&le){const Re=Je.$implicit,ct=f.oxw(3);f.xp6(1),f.Q6J("ngIf",ct.isRoleShowed(Re))}}function t(le,Je){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,i,5,3,"span",14),f.YNc(2,r,3,3,"div",25),f.TgZ(3,"div"),f.YNc(4,o,2,1,"div",26),f.qZA(),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("ngIf",Re.recentlyViewedShow),f.xp6(1),f.Q6J("ngIf",Re.rolesToHide.toString()!==Re.roleNames.toString()),f.xp6(2),f.Q6J("ngForOf",Re.roleNames)}}function n(le,Je){if(1&le&&(f.TgZ(0,"div",9),f.TgZ(1,"h1",10),f._UZ(2,"mat-icon",11),f.TgZ(3,"span",12),f._uU(4),f.ALo(5,"translate"),f.ALo(6,"userFullName"),f.qZA(),f.YNc(7,N,3,0,"button",13),f.qZA(),f.YNc(8,P,14,11,"div",14),f.YNc(9,t,5,3,"div",14),f.qZA()),2&le){const Re=f.oxw();f.xp6(4),f.AsE("",f.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",f.lcZ(6,7,Re.user),""),f.xp6(3),f.Q6J("ngIf",!Re.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",Re.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",!Re.isOnlySelfRole)}}let c=(()=>{class le{constructor(Re,ct,xt,Kt,ni,ui,oi,Di,Zi,en){this.userManager=Re,this.storeService=ct,this.sideMenuService=xt,this.route=Kt,this.router=ni,this.notificator=ui,this.translateService=oi,this.dialog=Di,this.apiRequestConfiguration=Zi,this.otherApplicationService=en,this.roles={},this.userProfileUrl="",this.isOnlySelfRole=!1,this.rightSettingOpened=!1,this.recentlyViewedShow=!0,this.rolesToHide=[],this.allowedRoles=["VOADMIN","GROUPADMIN","FACILITYADMIN","SPONSOR","RESOURCEADMIN","TOPGROUPCREATOR","VOOBSERVER","GROUPOBSERVER","FACILITYOBSERVER","RESOURCEOBSERVER"],oi.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(Nn=>this.mailSuccessMessage=Nn)}ngOnInit(){this.sideMenuService.setHomeItems([]),this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const Re=Object.keys(this.roles);this.isOnlySelfRole=Re.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(ct=>Re.includes(ct)),this.getDashboardSettings()}validatePreferredMailChange(){const Re=this.route.snapshot.queryParamMap,ct=Re.get("token"),xt=Re.get("u");ct&&xt&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(ct,Number.parseInt(xt,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const Kt=(0,s.kZ)();Kt.width="600px",this.dialog.open(b.qD,Kt).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}getDashboardSettings(){const Re=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===Re||Re;const ct=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===ct?[]:ct}changeRoleView(Re){if(this.isRoleShowed(Re)){const ct=[];for(const xt of this.roleNames)this.isRoleShowed(xt)||ct.push(xt),xt===Re&&ct.push(xt);this.rolesToHide=ct}else this.rolesToHide=this.rolesToHide.filter(ct=>ct!==Re);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(Re){for(const ct of this.rolesToHide)if(ct===Re)return!1;return!0}getUserProfile(){this.userProfileUrl=this.otherApplicationService.getUrlForOtherApplication("profile"),this.userProfileName=this.storeService.get("profile_label_en")}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Fv),f.Y36(A.d6),f.Y36(O.D),f.Y36(g.gz),f.Y36(g.F0),f.Y36(A.V6),f.Y36(E.sK),f.Y36(h.uw),f.Y36(A.F5),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(Re,ct){2&Re&&f.ekj("router-component",ct.true)},decls:16,vars:13,consts:[["hasBackdrop","true",1,"dashboard"],["mode","over","position","end",3,"opened","openedChange"],[1,"m-4","user-theme"],[1,"page-subtitle"],[3,"ngModel","ngModelChange","change"],[1,"text-bigger","mt-1","mb-1"],[4,"ngFor","ngForOf"],["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[3,"checked","change"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"page-title","d-flex"],["svgIcon","perun-home-white",1,"home-image","perun-icon"],["data-cy","dashboard-welcome",1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"mat-sidenav-container",0),f.TgZ(1,"mat-sidenav",1),f.NdJ("openedChange",function(Kt){return ct.rightSettingOpened=Kt}),f.TgZ(2,"div",2),f.TgZ(3,"div",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"mat-checkbox",4),f.NdJ("ngModelChange",function(Kt){return ct.recentlyViewedShow=Kt})("change",function(Kt){return Kt?ct.recentlyViewedChanged():null}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA(),f.TgZ(10,"div",5),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,at,4,4,"div",6),f.qZA(),f.qZA(),f.TgZ(14,"mat-sidenav-content"),f.YNc(15,n,10,9,"div",7),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.Q6J("opened",ct.rightSettingOpened),f.xp6(3),f.Oqu(f.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),f.xp6(3),f.Q6J("ngModel",ct.recentlyViewedShow),f.xp6(1),f.Oqu(f.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),f.xp6(3),f.Oqu(f.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),f.xp6(2),f.Q6J("ngForOf",ct.roleNames),f.xp6(2),f.Q6J("ngIf",void 0!==ct.user))},directives:[k.TM,k.JX,L.oG,Y.JJ,Y.On,J.sg,k.Rh,J.O5,ue.Hw,ce.lW,g.rH,Ne,Xe],pipes:[E.X$,tt.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;-moz-column-gap:1rem;column-gap:1rem;margin:0}.dashboard-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 1rem 1rem 0;display:inline-block;min-width:300px;width:100%}.home-image[_ngcontent-%COMP%]{transform:scale(1.4);margin-right:.7rem;margin-left:.6rem}.text-align[_ngcontent-%COMP%]{text-align:center;font-size:1.25rem}.text-bigger[_ngcontent-%COMP%]{font-size:1.1rem}.user-icon[_ngcontent-%COMP%]{vertical-align:top}.dashboard[_ngcontent-%COMP%]{position:relative;min-height:calc(100vh - 234px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),le})();var u=d(4235);let y=(()=>{class le{constructor(){}}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-not-found-page"]],decls:5,vars:3,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f._UZ(1,"perun-web-apps-back-button"),f.TgZ(2,"h1",1),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(3),f.Oqu(f.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[u.W],pipes:[E.X$],styles:[""]}),le})();var M=d(387),j=d(67322),Ve=d(98833),nt=d(63189);let Mt=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[J.ez,ce.ot,ue.Ps,g.Bz,M.ez,E.aw,j.lN,Y.UX,Ve.c,nt.r]]}),le})(),zt=(()=>{class le{constructor(Re){this.auth=Re}startAuth(){this.auth.startAuthentication()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.e8))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h4",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"button",4),f.NdJ("click",function(){return ct.startAuth()}),f._uU(7),f.ALo(8,"translate"),f.TgZ(9,"mat-icon"),f._uU(10," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.xp6(4),f.hij(" ",f.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),f.xp6(3),f.hij(" ",f.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[ce.lW,ue.Hw],pipes:[E.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),le})();var Vt=d(41619);function Wt(le,Je){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"div",9),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}function At(le,Je){if(1&le&&(f.TgZ(0,"div",10),f._UZ(1,"div",11),f._UZ(2,"mat-icon",12),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}function Ht(le,Je){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"a",9),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}const bt=function(le){return{color:le}};function et(le,Je){if(1&le&&(f.TgZ(0,"p",13),f._uU(1),f.qZA()),2&le){const Re=f.oxw();f.Q6J("ngStyle",f.VKq(2,bt,Re.textColor)),f.xp6(1),f.hij(" ",Re.headerTitle," ")}}const kt=function(le,Je){return{background:le,color:Je}},pt=function(le,Je){return{"min-height":le,"background-color":Je}};let It=(()=>{class le{constructor(Re,ct,xt,Kt){this.storeService=Re,this.sanitizer=ct,this.preferredLangService=xt,this.translateService=Kt,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const Re=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(Re)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.BN),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f.YNc(1,Wt,2,1,"div",1),f.YNc(2,At,3,1,"div",2),f.YNc(3,Ht,2,1,"div",1),f.YNc(4,et,2,4,"p",3),f.qZA(),f.TgZ(5,"div",4),f.TgZ(6,"div",5),f.TgZ(7,"div",6),f._UZ(8,"router-outlet"),f.qZA(),f.TgZ(9,"div",7),f._UZ(10,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.WLB(6,kt,ct.headerBackgroundColor,ct.headerTextColor)),f.xp6(1),f.Q6J("ngIf","admin-gui"===ct.application),f.xp6(1),f.Q6J("ngIf","publications"===ct.application),f.xp6(1),f.Q6J("ngIf","user-profile"===ct.application),f.xp6(1),f.Q6J("ngIf",!!ct.headerTitle),f.xp6(2),f.Q6J("ngStyle",f.WLB(9,pt,ct.getContentInnerMinHeight(),ct.contentBackgroundColor)))},directives:[J.PC,J.O5,ue.Hw,g.lC,Vt.$],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),le})();function We(le,Je){1&le&&(f.TgZ(0,"app-alert",8),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const re=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:M.t$},{path:"api-callback",component:T},{path:"login",component:zt},{path:"service-access",component:(()=>{class le{constructor(Re,ct,xt){this.authzService=Re,this.dialog=ct,this.translate=xt,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new Y.NI(null,[Y.kI.required]),this.passwordCtrl=new Y.NI(null,[Y.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(Re=>{sessionStorage.setItem("baPrincipal",JSON.stringify(Re)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Ct),f.Y36(h.uw),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h2"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.YNc(6,We,3,3,"app-alert",3),f.TgZ(7,"mat-form-field",4),f.TgZ(8,"mat-label"),f._uU(9),f.ALo(10,"translate"),f.qZA(),f._UZ(11,"input",5),f.TgZ(12,"mat-error"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.qZA(),f.TgZ(15,"mat-form-field",4),f.TgZ(16,"mat-label"),f._uU(17),f.ALo(18,"translate"),f.qZA(),f._UZ(19,"input",6),f.TgZ(20,"mat-error"),f._uU(21),f.ALo(22,"translate"),f.qZA(),f.qZA(),f.TgZ(23,"button",7),f.NdJ("click",function(){return ct.startAuth()}),f._uU(24),f.ALo(25,"translate"),f.TgZ(26,"mat-icon"),f._uU(27," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.xp6(4),f.Oqu(f.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),f.xp6(2),f.Q6J("ngIf",ct.wrongUsernameOrPassword),f.xp6(3),f.Oqu(f.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),f.xp6(2),f.Q6J("formControl",ct.usernameCtrl),f.xp6(2),f.hij(" ",f.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),f.xp6(4),f.Oqu(f.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),f.xp6(2),f.Q6J("formControl",ct.passwordCtrl)("type","password"),f.xp6(2),f.hij(" ",f.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),f.xp6(2),f.Q6J("disabled",ct.usernameCtrl.invalid||ct.passwordCtrl.invalid),f.xp6(1),f.hij(" ",f.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[J.O5,de.w,j.KE,j.hX,Ve.Nt,Y.Fj,Y.Q7,Y.JJ,Y.oH,j.TO,ce.lW,ue.Hw],pipes:[E.X$],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),le})()},{path:"organizations",loadChildren:()=>Promise.all([d.e(50),d.e(176),d.e(243),d.e(892)]).then(d.bind(d,36892)).then(le=>le.VosModule)},{path:"admin",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(385)]).then(d.bind(d,23385)).then(le=>le.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(385),d.e(243),d.e(358)]).then(d.bind(d,17358)).then(le=>le.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([d.e(50),d.e(142)]).then(d.bind(d,46142)).then(le=>le.UsersModule)},{path:"home",component:c},{path:"notAuthorized",component:M.y9},{path:"**",component:y}];let Z=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[g.Bz.forRoot(re,{preloadingStrategy:g.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],g.Bz]}),le})();var G=d(72077),ee=d(14264);class _e{constructor(Je,Re="/assets/i18n/",ct=".json"){this.http=Je,this.prefix=Re,this.suffix=ct}getTranslation(Je){return this.http.get(`${this.prefix}${Je}${this.suffix}`)}}var Ue=d(40520),Et=d(76360);let Bt=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({providers:[A.e8],imports:[[J.ez]]}),le})();var jt=d(81847),St=d(4732),Ct=d(94856),mt=d(55857),Rt=d(37240),Gt=d(15592),li=d(96180),fi=d(37380),Ci=d(34904),Si=d(85243),Vi=d(68056),nn=d(24219),$i=d(25828),Yi=d(10369),bn=d(14336),Qi=d(25309),$e=d(86353),vt=d(3246);let Ze=(()=>{class le{constructor(){this.allowCachePages=[{type:"vo",components:[jt.y.id,St.G.id,Ct.c.id,Vi.z.id,nn.z.id,Yi.w.id,vt.T.id]},{type:"group",components:[li.y.id,Gt.u.id,Rt.q.id,mt.W.id,bn.Z.id]},{type:"facility",components:[fi.o.id,Ci.f.id]},{type:"member",components:[Si.j.id]},{type:"admin",components:[$i.t.id]},{type:"entitySelect",components:[Qi.Y.id,$e.P.id]}],this.cacheTimeMs=3e5,this.resets=[{lastValue:null,resetType:"vo",resetPath:":voId",param:"voId"},{lastValue:null,resetType:"group",resetPath:":voId/groups/:groupId",param:"groupId"},{lastValue:null,resetType:"facility",resetPath:":facilityId",param:"facilityId"},{lastValue:null,resetType:"member",resetPath:":voId/members/:memberId",param:"memberId"},{lastValue:null,resetType:"admin",resetPath:"admin/users"}],this.isUserNavigatingBack=!1,this.typeToComponentToHandlers=new Map;for(const Re of this.allowCachePages)this.typeToComponentToHandlers.set(Re.type,new Map)}setLastNavigationType(Re){this.isUserNavigatingBack="back"===Re}checkResets(Re){const ct=this.getPath(Re);for(const xt of this.resets)if(xt.resetPath===ct){const Kt=Re.params[xt.param];null!==xt.lastValue&&xt.lastValue!==Kt&&this.typeToComponentToHandlers.get(xt.resetType).clear(),xt.lastValue=Kt}}shouldReuseRoute(Re,ct){return this.checkResets(ct),Re.routeConfig===ct.routeConfig}retrieve(Re){if(Re.component){const ct=this.getComponentName(Re.component);for(const xt of this.allowCachePages)if(-1!==xt.components.indexOf(ct)){const Kt=this.typeToComponentToHandlers.get(xt.type).get(ct);return void 0===Kt?null:Kt.routeHandle}}return null}shouldAttach(Re){if(!this.isUserNavigatingBack)return!1;if(Re.component){const ct=this.getComponentName(Re.component);for(const xt of this.allowCachePages){const Kt=this.typeToComponentToHandlers.get(xt.type).get(ct);if(void 0!==Kt&&this.getCurrentTimestamp()-Kt.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const xt=this.getComponentType(Re);this.typeToComponentToHandlers.get(xt).set(this.getComponentName(Re.component),{routeHandle:ct,saveTimeStamp:this.getCurrentTimestamp()})}}getCurrentTimestamp(){return+Date.now()}getComponentName(Re){return Re.id}getComponentType(Re){const ct=this.getComponentName(Re.component);for(const xt of this.allowCachePages)if(-1!==xt.components.indexOf(ct))return xt.type;return null}getPath(Re){return null!==Re.routeConfig&&null!==Re.routeConfig.path?Re.routeConfig.path:""}}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac}),le})();const gt=new f.OlP("perun-api-service");let F=(()=>{class le{constructor(Re,ct,xt,Kt,ni){this.http=Re,this.storeService=ct,this.authzSevice=xt,this.titleService=Kt,this.utilsService=ni}initializeColors(Re,ct){return new Promise(xt=>{ct.forEach(Kt=>{const ni=this.storeService.get("theme",Kt.configValue);document.documentElement.style.setProperty(Kt.cssVariable,ni)}),Re.forEach(Kt=>{const ni=this.storeService.get("theme",Kt.configValue);document.documentElement.style.setProperty(Kt.cssVariable,ni),this.setEntityTheme(Kt.entity,ni)}),xt()})}setEntityTheme(Re,ct){const xt=function Be(le){return[dt(tinycolor(le).lighten(52),"50"),dt(tinycolor(le).lighten(37),"100"),dt(tinycolor(le).lighten(26),"200"),dt(tinycolor(le).lighten(12),"300"),dt(tinycolor(le).lighten(6),"400"),dt(tinycolor(le),"500"),dt(tinycolor(le).darken(6),"600"),dt(tinycolor(le).darken(12),"700"),dt(tinycolor(le).darken(18),"800"),dt(tinycolor(le).darken(24),"900"),dt(tinycolor(le).lighten(50).saturate(30),"A100"),dt(tinycolor(le).lighten(30).saturate(30),"A200"),dt(tinycolor(le).lighten(10).saturate(15),"A400"),dt(tinycolor(le).lighten(5).saturate(5),"A700")]}(ct);for(const Kt of xt){const oi=`--${Re}-theme-primary-contrast-${Kt.name}`,Di=Kt.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${Re}-theme-primary-${Kt.name}`,`${Kt.red},${Kt.green},${Kt.blue}`),document.documentElement.style.setProperty(oi,Di)}}loadAppDefaultConfig(){return new Promise(Re=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ct=>{this.storeService.setDefaultConfig(ct),Re()})})}loadAppInstanceConfig(){return new Promise(Re=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ct=>{this.storeService.setInstanceConfig(ct);const xt=document.location.hostname;void 0!==ct.brandings&&void 0!==ct.brandings[xt]&&this.storeService.setBanding(xt),Re()},()=>{console.log("instance config not detected"),Re()})})}getNoCacheHeaders(){return new Ue.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(Re=>{const ct=document.querySelector("link[rel*='icon']")||document.createElement("link");ct.type="image/x-icon",ct.rel="shortcut icon",ct.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(ct),Re()})}setApiUrl(){return new Promise(Re=>{let ct=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(ct=ct.replace("oauth","ba")),this.authzSevice.configuration.basePath=ct,this.titleService.setTitle(this.storeService.get("document_title")),Re()})}loadAppsConfig(){return new Promise((Re,ct)=>{this.utilsService.getAppsConfig().subscribe(xt=>{this.storeService.setAppsConfig(xt),Re()},xt=>ct(xt))})}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(Ue.eN),f.LFG(A.d6),f.LFG(m.Ct),f.LFG(e.Dx),f.LFG(m.FW))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function dt(le,Je){const Re=tinycolor(le),ct=Re.toRgb();return{name:Je,hex:Re.toHexString(),darkContrast:Re.isLight(),red:ct.r,green:ct.g,blue:ct.b}}let Dt=(()=>{class le{constructor(Re,ct){this.data=Re,this.location=ct}redirect(){this.location.go("/"),location.reload()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.WI),f.Y36(J.Ye))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return ct.redirect()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,ct.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,ct.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,ct.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),ei=(()=>{class le{constructor(Re,ct){this.dialogRef=Re,this.data=ct}refresh(){location.reload()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.so),f.Y36(h.WI))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return ct.refresh()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,ct.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,ct.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,ct.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),Qt=(()=>{class le{constructor(Re,ct,xt,Kt,ni,ui){this.initAuthService=Re,this.appConfigService=ct,this.authzSevice=xt,this.dialog=Kt,this.location=ni,this.guiAuthResolver=ui,this.entityColorConfigs=[{entity:"vo",configValue:"vo_color",cssVariable:"--vo-color"},{entity:"group",configValue:"group_color",cssVariable:"--group-color"},{entity:"user",configValue:"user_color",cssVariable:"--user-color"},{entity:"member",configValue:"member_color",cssVariable:"--member-color"},{entity:"facility",configValue:"facility_color",cssVariable:"--facility-color"},{entity:"resource",configValue:"resource_color",cssVariable:"--resource-color"},{entity:"admin",configValue:"admin_color",cssVariable:"--admin-color"},{entity:"service",configValue:"service_color",cssVariable:"--service-color"}],this.colorConfigs=[{configValue:"sidemenu_hover_color",cssVariable:"--side-root-item-hover"},{configValue:"sidemenu_root_active_color",cssVariable:"--side-root-item-active"},{configValue:"sidemenu-link-active",cssVariable:"--side-link-active"},{configValue:"sidemenu-link-hover",cssVariable:"--side-link-hover"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(Re=>{if("Invalid path"!==Re)throw console.error(Re),this.location.go("/"),location.reload(),Re;this.handleErr(Re)}).then(Re=>Re?this.initAuthService.loadPrincipal().catch(ct=>this.handleErr(ct)).then(()=>this.loadPolicies()).then(()=>this.appConfigService.loadAppsConfig()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}handleErr(Re){const ct=(0,s.kZ)();throw"Invalid path"===Re?(ct.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(Dt,ct)):(ct.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===Re.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":Re.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(ei,ct)),console.error(Re),Re}loadPolicies(){return new Promise((Re,ct)=>{this.authzSevice.getAllPolicies().subscribe(xt=>{this.guiAuthResolver.setPerunPolicies(xt),Re()},xt=>ct(xt))})}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(A.v0),f.LFG(F),f.LFG(m.Ct),f.LFG(h.uw),f.LFG(J.Ye),f.LFG(A.x4))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),Ri=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[J.ez,h.Is,ce.ot,E.aw]]}),le})();var bi=d(8929),Li=d(23753),Ji=d(36787),Ni=d(57138),Hi=d(7625),pn=d(75778),Pi=d(77604);function Ti(le){return getComputedStyle(le)}function Ui(le,Je){for(var Re in Je){var ct=Je[Re];"number"==typeof ct&&(ct+="px"),le.style[Re]=ct}return le}function fn(le){var Je=document.createElement("div");return Je.className=le,Je}var sn="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qi(le,Je){if(!sn)throw new Error("No element matching method supported");return sn.call(le,Je)}function Tt(le){le.remove?le.remove():le.parentNode&&le.parentNode.removeChild(le)}function $t(le,Je){return Array.prototype.filter.call(le.children,function(Re){return qi(Re,Je)})}var q_element_thumb=function(le){return"ps__thumb-"+le},q_element_rail=function(le){return"ps__rail-"+le},q_element_consuming="ps__child--consume",q_state_focus="ps--focus",q_state_clicking="ps--clicking",q_state_active=function(le){return"ps--active-"+le},q_state_scrolling=function(le){return"ps--scrolling-"+le},ut={x:null,y:null};function we(le,Je){var Re=le.element.classList,ct=q_state_scrolling(Je);Re.contains(ct)?clearTimeout(ut[Je]):Re.add(ct)}function lt(le,Je){ut[Je]=setTimeout(function(){return le.isAlive&&le.element.classList.remove(q_state_scrolling(Je))},le.settings.scrollingThreshold)}var Jt=function(Je){this.element=Je,this.handlers={}},di={isEmpty:{configurable:!0}};Jt.prototype.bind=function(Je,Re){void 0===this.handlers[Je]&&(this.handlers[Je]=[]),this.handlers[Je].push(Re),this.element.addEventListener(Je,Re,!1)},Jt.prototype.unbind=function(Je,Re){var ct=this;this.handlers[Je]=this.handlers[Je].filter(function(xt){return!(!Re||xt===Re)||(ct.element.removeEventListener(Je,xt,!1),!1)})},Jt.prototype.unbindAll=function(){for(var Je in this.handlers)this.unbind(Je)},di.isEmpty.get=function(){var le=this;return Object.keys(this.handlers).every(function(Je){return 0===le.handlers[Je].length})},Object.defineProperties(Jt.prototype,di);var Oi=function(){this.eventElements=[]};function zi(le){if("function"==typeof window.CustomEvent)return new CustomEvent(le);var Je=document.createEvent("CustomEvent");return Je.initCustomEvent(le,!1,!1,void 0),Je}function mn(le,Je,Re,ct,xt){var Kt;if(void 0===ct&&(ct=!0),void 0===xt&&(xt=!1),"top"===Je)Kt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Je)throw new Error("A proper axis should be provided");Kt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function In(le,Je,Re,ct,xt){var Kt=Re[0],ni=Re[1],ui=Re[2],oi=Re[3],Di=Re[4],Zi=Re[5];void 0===ct&&(ct=!0),void 0===xt&&(xt=!1);var en=le.element;le.reach[oi]=null,en[ui]<1&&(le.reach[oi]="start"),en[ui]>le[Kt]-le[ni]-1&&(le.reach[oi]="end"),Je&&(en.dispatchEvent(zi("ps-scroll-"+oi)),Je<0?en.dispatchEvent(zi("ps-scroll-"+Di)):Je>0&&en.dispatchEvent(zi("ps-scroll-"+Zi)),ct&&function Ft(le,Je){we(le,Je),lt(le,Je)}(le,oi)),le.reach[oi]&&(Je||xt)&&en.dispatchEvent(zi("ps-"+oi+"-reach-"+le.reach[oi]))}(le,Re,Kt,ct,xt)}function Wi(le){return parseInt(le,10)||0}Oi.prototype.eventElement=function(Je){var Re=this.eventElements.filter(function(ct){return ct.element===Je})[0];return Re||(Re=new Jt(Je),this.eventElements.push(Re)),Re},Oi.prototype.bind=function(Je,Re,ct){this.eventElement(Je).bind(Re,ct)},Oi.prototype.unbind=function(Je,Re,ct){var xt=this.eventElement(Je);xt.unbind(Re,ct),xt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(xt),1)},Oi.prototype.unbindAll=function(){this.eventElements.forEach(function(Je){return Je.unbindAll()}),this.eventElements=[]},Oi.prototype.once=function(Je,Re,ct){var xt=this.eventElement(Je),Kt=function(ni){xt.unbind(Re,Kt),ct(ni)};xt.bind(Re,Kt)};var kn={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function Rn(le){var Je=le.element,Re=Math.floor(Je.scrollTop),ct=Je.getBoundingClientRect();le.containerWidth=Math.ceil(ct.width),le.containerHeight=Math.ceil(ct.height),le.contentWidth=Je.scrollWidth,le.contentHeight=Je.scrollHeight,Je.contains(le.scrollbarXRail)||($t(Je,q_element_rail("x")).forEach(function(xt){return Tt(xt)}),Je.appendChild(le.scrollbarXRail)),Je.contains(le.scrollbarYRail)||($t(Je,q_element_rail("y")).forEach(function(xt){return Tt(xt)}),Je.appendChild(le.scrollbarYRail)),!le.settings.suppressScrollX&&le.containerWidth+le.settings.scrollXMarginOffset=le.railXWidth-le.scrollbarXWidth&&(le.scrollbarXLeft=le.railXWidth-le.scrollbarXWidth),le.scrollbarYTop>=le.railYHeight-le.scrollbarYHeight&&(le.scrollbarYTop=le.railYHeight-le.scrollbarYHeight),function bs(le,Je){var Re={width:Je.railXWidth},ct=Math.floor(le.scrollTop);Re.left=Je.isRtl?Je.negativeScrollAdjustment+le.scrollLeft+Je.containerWidth-Je.contentWidth:le.scrollLeft,Je.isScrollbarXUsingBottom?Re.bottom=Je.scrollbarXBottom-ct:Re.top=Je.scrollbarXTop+ct,Ui(Je.scrollbarXRail,Re);var xt={top:ct,height:Je.railYHeight};Je.isScrollbarYUsingRight?xt.right=Je.isRtl?Je.contentWidth-(Je.negativeScrollAdjustment+le.scrollLeft)-Je.scrollbarYRight-Je.scrollbarYOuterWidth-9:Je.scrollbarYRight-le.scrollLeft:xt.left=Je.isRtl?Je.negativeScrollAdjustment+le.scrollLeft+2*Je.containerWidth-Je.contentWidth-Je.scrollbarYLeft-Je.scrollbarYOuterWidth:Je.scrollbarYLeft+le.scrollLeft,Ui(Je.scrollbarYRail,xt),Ui(Je.scrollbarX,{left:Je.scrollbarXLeft,width:Je.scrollbarXWidth-Je.railBorderXWidth}),Ui(Je.scrollbarY,{top:Je.scrollbarYTop,height:Je.scrollbarYHeight-Je.railBorderYWidth})}(Je,le),le.scrollbarXActive?Je.classList.add(q_state_active("x")):(Je.classList.remove(q_state_active("x")),le.scrollbarXWidth=0,le.scrollbarXLeft=0,Je.scrollLeft=!0===le.isRtl?le.contentWidth:0),le.scrollbarYActive?Je.classList.add(q_state_active("y")):(Je.classList.remove(q_state_active("y")),le.scrollbarYHeight=0,le.scrollbarYTop=0,Je.scrollTop=0)}function Gn(le,Je){return le.settings.minScrollbarLength&&(Je=Math.max(Je,le.settings.minScrollbarLength)),le.settings.maxScrollbarLength&&(Je=Math.min(Je,le.settings.maxScrollbarLength)),Je}function ss(le,Je){var Re=Je[0],ct=Je[1],xt=Je[2],Kt=Je[3],ni=Je[4],ui=Je[5],oi=Je[6],Di=Je[7],Zi=Je[8],en=le.element,Nn=null,us=null,Ii=null;function on(Xi){Xi.touches&&Xi.touches[0]&&(Xi[xt]=Xi.touches[0].pageY),en[oi]=Nn+Ii*(Xi[xt]-us),we(le,Di),Rn(le),Xi.stopPropagation(),Xi.preventDefault()}function Gi(){lt(le,Di),le[Zi].classList.remove(q_state_clicking),le.event.unbind(le.ownerDocument,"mousemove",on)}function rn(Xi,Yn){Nn=en[oi],Yn&&Xi.touches&&(Xi[xt]=Xi.touches[0].pageY),us=Xi[xt],Ii=(le[ct]-le[Re])/(le[Kt]-le[ui]),Yn?le.event.bind(le.ownerDocument,"touchmove",on):(le.event.bind(le.ownerDocument,"mousemove",on),le.event.once(le.ownerDocument,"mouseup",Gi),Xi.preventDefault()),le[Zi].classList.add(q_state_clicking),Xi.stopPropagation()}le.event.bind(le[ni],"mousedown",function(Xi){rn(Xi)}),le.event.bind(le[ni],"touchstart",function(Xi){rn(Xi,!0)})}var gn={"click-rail":function ys(le){le.event.bind(le.scrollbarY,"mousedown",function(Re){return Re.stopPropagation()}),le.event.bind(le.scrollbarYRail,"mousedown",function(Re){var ct=Re.pageY-window.pageYOffset-le.scrollbarYRail.getBoundingClientRect().top;le.element.scrollTop+=(ct>le.scrollbarYTop?1:-1)*le.containerHeight,Rn(le),Re.stopPropagation()}),le.event.bind(le.scrollbarX,"mousedown",function(Re){return Re.stopPropagation()}),le.event.bind(le.scrollbarXRail,"mousedown",function(Re){var ct=Re.pageX-window.pageXOffset-le.scrollbarXRail.getBoundingClientRect().left;le.element.scrollLeft+=(ct>le.scrollbarXLeft?1:-1)*le.containerWidth,Rn(le),Re.stopPropagation()})},"drag-thumb":function vs(le){ss(le,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ss(le,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function os(le){var Je=le.element;le.event.bind(le.ownerDocument,"keydown",function(Kt){if(!(Kt.isDefaultPrevented&&Kt.isDefaultPrevented()||Kt.defaultPrevented)&&(qi(Je,":hover")||qi(le.scrollbarX,":focus")||qi(le.scrollbarY,":focus"))){var ni=document.activeElement?document.activeElement:le.ownerDocument.activeElement;if(ni){if("IFRAME"===ni.tagName)ni=ni.contentDocument.activeElement;else for(;ni.shadowRoot;)ni=ni.shadowRoot.activeElement;if(function $n(le){return qi(le,"input,[contenteditable]")||qi(le,"select,[contenteditable]")||qi(le,"textarea,[contenteditable]")||qi(le,"button,[contenteditable]")}(ni))return}var ui=0,oi=0;switch(Kt.which){case 37:ui=Kt.metaKey?-le.contentWidth:Kt.altKey?-le.containerWidth:-30;break;case 38:oi=Kt.metaKey?le.contentHeight:Kt.altKey?le.containerHeight:30;break;case 39:ui=Kt.metaKey?le.contentWidth:Kt.altKey?le.containerWidth:30;break;case 40:oi=Kt.metaKey?-le.contentHeight:Kt.altKey?-le.containerHeight:-30;break;case 32:oi=Kt.shiftKey?le.containerHeight:-le.containerHeight;break;case 33:oi=le.containerHeight;break;case 34:oi=-le.containerHeight;break;case 36:oi=le.contentHeight;break;case 35:oi=-le.contentHeight;break;default:return}le.settings.suppressScrollX&&0!==ui||le.settings.suppressScrollY&&0!==oi||(Je.scrollTop-=oi,Je.scrollLeft+=ui,Rn(le),function xt(Kt,ni){var ui=Math.floor(Je.scrollTop);if(0===Kt){if(!le.scrollbarYActive)return!1;if(0===ui&&ni>0||ui>=le.contentHeight-le.containerHeight&&ni<0)return!le.settings.wheelPropagation}var oi=Je.scrollLeft;if(0===ni){if(!le.scrollbarXActive)return!1;if(0===oi&&Kt<0||oi>=le.contentWidth-le.containerWidth&&Kt>0)return!le.settings.wheelPropagation}return!0}(ui,oi)&&Kt.preventDefault())}})},wheel:function Ts(le){var Je=le.element;function Kt(ni){var ui=function ct(ni){var ui=ni.deltaX,oi=-1*ni.deltaY;return(void 0===ui||void 0===oi)&&(ui=-1*ni.wheelDeltaX/6,oi=ni.wheelDeltaY/6),ni.deltaMode&&1===ni.deltaMode&&(ui*=10,oi*=10),ui!=ui&&oi!=oi&&(ui=0,oi=ni.wheelDelta),ni.shiftKey?[-oi,-ui]:[ui,oi]}(ni),oi=ui[0],Di=ui[1];if(!function xt(ni,ui,oi){if(!kn.isWebKit&&Je.querySelector("select:focus"))return!0;if(!Je.contains(ni))return!1;for(var Di=ni;Di&&Di!==Je;){if(Di.classList.contains(q_element_consuming))return!0;var Zi=Ti(Di);if(oi&&Zi.overflowY.match(/(scroll|auto)/)){var en=Di.scrollHeight-Di.clientHeight;if(en>0&&(Di.scrollTop>0&&oi<0||Di.scrollTop0))return!0}if(ui&&Zi.overflowX.match(/(scroll|auto)/)){var Nn=Di.scrollWidth-Di.clientWidth;if(Nn>0&&(Di.scrollLeft>0&&ui<0||Di.scrollLeft0))return!0}Di=Di.parentNode}return!1}(ni.target,oi,Di)){var Zi=!1;le.settings.useBothWheelAxes?le.scrollbarYActive&&!le.scrollbarXActive?(Di?Je.scrollTop-=Di*le.settings.wheelSpeed:Je.scrollTop+=oi*le.settings.wheelSpeed,Zi=!0):le.scrollbarXActive&&!le.scrollbarYActive&&(oi?Je.scrollLeft+=oi*le.settings.wheelSpeed:Je.scrollLeft-=Di*le.settings.wheelSpeed,Zi=!0):(Je.scrollTop-=Di*le.settings.wheelSpeed,Je.scrollLeft+=oi*le.settings.wheelSpeed),Rn(le),Zi=Zi||function Re(ni,ui){var oi=Math.floor(Je.scrollTop),Di=0===Je.scrollTop,Zi=oi+Je.offsetHeight===Je.scrollHeight,en=0===Je.scrollLeft,Nn=Je.scrollLeft+Je.offsetWidth===Je.scrollWidth;return!(Math.abs(ui)>Math.abs(ni)?Di||Zi:en||Nn)||!le.settings.wheelPropagation}(oi,Di),Zi&&!ni.ctrlKey&&(ni.stopPropagation(),ni.preventDefault())}}void 0!==window.onwheel?le.event.bind(Je,"wheel",Kt):void 0!==window.onmousewheel&&le.event.bind(Je,"mousewheel",Kt)},touch:function wn(le){if(kn.supportsTouch||kn.supportsIePointer){var Je=le.element,xt={},Kt=0,ni={},ui=null;kn.supportsTouch?(le.event.bind(Je,"touchstart",Zi),le.event.bind(Je,"touchmove",Nn),le.event.bind(Je,"touchend",us)):kn.supportsIePointer&&(window.PointerEvent?(le.event.bind(Je,"pointerdown",Zi),le.event.bind(Je,"pointermove",Nn),le.event.bind(Je,"pointerup",us)):window.MSPointerEvent&&(le.event.bind(Je,"MSPointerDown",Zi),le.event.bind(Je,"MSPointerMove",Nn),le.event.bind(Je,"MSPointerUp",us)))}function ct(Ii,on){Je.scrollTop-=on,Je.scrollLeft-=Ii,Rn(le)}function oi(Ii){return Ii.targetTouches?Ii.targetTouches[0]:Ii}function Di(Ii){return!(Ii.pointerType&&"pen"===Ii.pointerType&&0===Ii.buttons||!(Ii.targetTouches&&1===Ii.targetTouches.length||Ii.pointerType&&"mouse"!==Ii.pointerType&&Ii.pointerType!==Ii.MSPOINTER_TYPE_MOUSE))}function Zi(Ii){if(Di(Ii)){var on=oi(Ii);xt.pageX=on.pageX,xt.pageY=on.pageY,Kt=(new Date).getTime(),null!==ui&&clearInterval(ui)}}function Nn(Ii){if(Di(Ii)){var on=oi(Ii),Gi={pageX:on.pageX,pageY:on.pageY},rn=Gi.pageX-xt.pageX,Xi=Gi.pageY-xt.pageY;if(function en(Ii,on,Gi){if(!Je.contains(Ii))return!1;for(var rn=Ii;rn&&rn!==Je;){if(rn.classList.contains(q_element_consuming))return!0;var Xi=Ti(rn);if(Gi&&Xi.overflowY.match(/(scroll|auto)/)){var Yn=rn.scrollHeight-rn.clientHeight;if(Yn>0&&(rn.scrollTop>0&&Gi<0||rn.scrollTop0))return!0}if(on&&Xi.overflowX.match(/(scroll|auto)/)){var vn=rn.scrollWidth-rn.clientWidth;if(vn>0&&(rn.scrollLeft>0&&on<0||rn.scrollLeft0))return!0}rn=rn.parentNode}return!1}(Ii.target,rn,Xi))return;ct(rn,Xi),xt=Gi;var Yn=(new Date).getTime(),vn=Yn-Kt;vn>0&&(ni.x=rn/vn,ni.y=Xi/vn,Kt=Yn),function Re(Ii,on){var Gi=Math.floor(Je.scrollTop),rn=Je.scrollLeft,Xi=Math.abs(Ii),Yn=Math.abs(on);if(Yn>Xi){if(on<0&&Gi===le.contentHeight-le.containerHeight||on>0&&0===Gi)return 0===window.scrollY&&on>0&&kn.isChrome}else if(Xi>Yn&&(Ii<0&&rn===le.contentWidth-le.containerWidth||Ii>0&&0===rn))return!0;return!0}(rn,Xi)&&Ii.preventDefault()}}function us(){le.settings.swipeEasing&&(clearInterval(ui),ui=setInterval(function(){le.isInitialized?clearInterval(ui):ni.x||ni.y?Math.abs(ni.x)<.01&&Math.abs(ni.y)<.01?clearInterval(ui):(ct(30*ni.x,30*ni.y),ni.x*=.8,ni.y*=.8):clearInterval(ui)},10))}}},Fn=function(Je,Re){var ct=this;if(void 0===Re&&(Re={}),"string"==typeof Je&&(Je=document.querySelector(Je)),!Je||!Je.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var xt in this.element=Je,Je.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Re)this.settings[xt]=Re[xt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Zi,Di,Kt=function(){return Je.classList.add(q_state_focus)},ni=function(){return Je.classList.remove(q_state_focus)};this.isRtl="rtl"===Ti(Je).direction,!0===this.isRtl&&Je.classList.add("ps__rtl"),this.isNegativeScroll=(Di=Je.scrollLeft,Je.scrollLeft=-1,Zi=Je.scrollLeft<0,Je.scrollLeft=Di,Zi),this.negativeScrollAdjustment=this.isNegativeScroll?Je.scrollWidth-Je.clientWidth:0,this.event=new Oi,this.ownerDocument=Je.ownerDocument||document,this.scrollbarXRail=fn(q_element_rail("x")),Je.appendChild(this.scrollbarXRail),this.scrollbarX=fn(q_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Kt),this.event.bind(this.scrollbarX,"blur",ni),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var ui=Ti(this.scrollbarXRail);this.scrollbarXBottom=parseInt(ui.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Wi(ui.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Wi(ui.borderLeftWidth)+Wi(ui.borderRightWidth),Ui(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Wi(ui.marginLeft)+Wi(ui.marginRight),Ui(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=fn(q_element_rail("y")),Je.appendChild(this.scrollbarYRail),this.scrollbarY=fn(q_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Kt),this.event.bind(this.scrollbarY,"blur",ni),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var oi=Ti(this.scrollbarYRail);this.scrollbarYRight=parseInt(oi.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Wi(oi.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function Zn(le){var Je=Ti(le);return Wi(Je.width)+Wi(Je.paddingLeft)+Wi(Je.paddingRight)+Wi(Je.borderLeftWidth)+Wi(Je.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Wi(oi.borderTopWidth)+Wi(oi.borderBottomWidth),Ui(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Wi(oi.marginTop)+Wi(oi.marginBottom),Ui(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Je.scrollLeft<=0?"start":Je.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Je.scrollTop<=0?"start":Je.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Di){return gn[Di](ct)}),this.lastScrollTop=Math.floor(Je.scrollTop),this.lastScrollLeft=Je.scrollLeft,this.event.bind(this.element,"scroll",function(Di){return ct.onScroll(Di)}),Rn(this)};Fn.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Ui(this.scrollbarXRail,{display:"block"}),Ui(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Wi(Ti(this.scrollbarXRail).marginLeft)+Wi(Ti(this.scrollbarXRail).marginRight),this.railYMarginHeight=Wi(Ti(this.scrollbarYRail).marginTop)+Wi(Ti(this.scrollbarYRail).marginBottom),Ui(this.scrollbarXRail,{display:"none"}),Ui(this.scrollbarYRail,{display:"none"}),Rn(this),mn(this,"top",0,!1,!0),mn(this,"left",0,!1,!0),Ui(this.scrollbarXRail,{display:""}),Ui(this.scrollbarYRail,{display:""}))},Fn.prototype.onScroll=function(Je){!this.isAlive||(Rn(this),mn(this,"top",this.element.scrollTop-this.lastScrollTop),mn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Fn.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),Tt(this.scrollbarX),Tt(this.scrollbarY),Tt(this.scrollbarXRail),Tt(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Fn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Je){return!Je.match(/^ps([-_].+|)$/)}).join(" ")};const Jn=Fn;var Qn=function(){if("undefined"!=typeof Map)return Map;function le(Je,Re){var ct=-1;return Je.some(function(xt,Kt){return xt[0]===Re&&(ct=Kt,!0)}),ct}return function(){function Je(){this.__entries__=[]}return Object.defineProperty(Je.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Je.prototype.get=function(Re){var ct=le(this.__entries__,Re),xt=this.__entries__[ct];return xt&&xt[1]},Je.prototype.set=function(Re,ct){var xt=le(this.__entries__,Re);~xt?this.__entries__[xt][1]=ct:this.__entries__.push([Re,ct])},Je.prototype.delete=function(Re){var ct=this.__entries__,xt=le(ct,Re);~xt&&ct.splice(xt,1)},Je.prototype.has=function(Re){return!!~le(this.__entries__,Re)},Je.prototype.clear=function(){this.__entries__.splice(0)},Je.prototype.forEach=function(Re,ct){void 0===ct&&(ct=null);for(var xt=0,Kt=this.__entries__;xt0},le.prototype.connect_=function(){!Xn||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),_n?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},le.prototype.disconnect_=function(){!Xn||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},le.prototype.onTransitionEnd_=function(Je){var Re=Je.propertyName,ct=void 0===Re?"":Re;ps.some(function(Kt){return!!~ct.indexOf(Kt)})&&this.refresh()},le.getInstance=function(){return this.instance_||(this.instance_=new le),this.instance_},le.instance_=null,le}(),Es=function(le,Je){for(var Re=0,ct=Object.keys(Je);Re0},le}(),ii="undefined"!=typeof WeakMap?new WeakMap:new Qn,ai=function le(Je){if(!(this instanceof le))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Re=es.getInstance(),ct=new Zt(Je,Re,this);ii.set(this,ct)};["observe","unobserve","disconnect"].forEach(function(le){ai.prototype[le]=function(){var Je;return(Je=ii.get(this))[le].apply(Je,arguments)}});const mi=void 0!==Ln.ResizeObserver?Ln.ResizeObserver:ai;function yi(le,Je){if(1&le&&(f.TgZ(0,"div",3),f._UZ(1,"div",4),f._UZ(2,"div",5),f._UZ(3,"div",6),f._UZ(4,"div",7),f.qZA()),2&le){const Re=f.oxw();f.ekj("ps-at-top",Re.states.top)("ps-at-left",Re.states.left)("ps-at-right",Re.states.right)("ps-at-bottom",Re.states.bottom),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorY&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorX&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorX&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorY&&Re.interaction)}}const xi=["*"],xe=new f.OlP("PERFECT_SCROLLBAR_CONFIG");class Ee{constructor(Je,Re,ct,xt){this.x=Je,this.y=Re,this.w=ct,this.h=xt}}class ye{constructor(Je,Re){this.x=Je,this.y=Re}}const ot=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Lt{constructor(Je={}){this.assign(Je)}assign(Je={}){for(const Re in Je)this[Re]=Je[Re]}}let ci=(()=>{class le{constructor(Re,ct,xt,Kt,ni){this.zone=Re,this.differs=ct,this.elementRef=xt,this.platformId=Kt,this.defaults=ni,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new bi.xQ,this.disabled=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){if(!this.disabled&&(0,J.NF)(this.platformId)){const Re=new Lt(this.defaults);Re.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Jn(this.elementRef.nativeElement,Re)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new mi(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ot.forEach(ct=>{const xt=ct.replace(/([A-Z])/g,Kt=>`-${Kt.toLowerCase()}`);(0,Li.R)(this.elementRef.nativeElement,xt).pipe((0,Ni.e)(20),(0,Hi.R)(this.ngDestroy)).subscribe(Kt=>{this[ct].emit(Kt)})})})}}ngOnDestroy(){(0,J.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,J.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Re){Re.disabled&&!Re.disabled.isFirstChange()&&(0,J.NF)(this.platformId)&&Re.disabled.currentValue!==Re.disabled.previousValue&&(!0===Re.disabled.currentValue?this.ngOnDestroy():!1===Re.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(Re){}},0))}geometry(Re="scroll"){return new Ee(this.elementRef.nativeElement[Re+"Left"],this.elementRef.nativeElement[Re+"Top"],this.elementRef.nativeElement[Re+"Width"],this.elementRef.nativeElement[Re+"Height"])}position(Re=!1){return!Re&&this.instance?new ye(this.instance.reach.x||0,this.instance.reach.y||0):new ye(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Re="any"){const ct=this.elementRef.nativeElement;return"any"===Re?ct.classList.contains("ps--active-x")||ct.classList.contains("ps--active-y"):"both"===Re?ct.classList.contains("ps--active-x")&&ct.classList.contains("ps--active-y"):ct.classList.contains("ps--active-"+Re)}scrollTo(Re,ct,xt){this.disabled||(null==ct&&null==xt?this.animateScrolling("scrollTop",Re,xt):(null!=Re&&this.animateScrolling("scrollLeft",Re,xt),null!=ct&&this.animateScrolling("scrollTop",ct,xt)))}scrollToX(Re,ct){this.animateScrolling("scrollLeft",Re,ct)}scrollToY(Re,ct){this.animateScrolling("scrollTop",Re,ct)}scrollToTop(Re,ct){this.animateScrolling("scrollTop",Re||0,ct)}scrollToLeft(Re,ct){this.animateScrolling("scrollLeft",Re||0,ct)}scrollToRight(Re,ct){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Re||0),ct)}scrollToBottom(Re,ct){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Re||0),ct)}scrollToElement(Re,ct,xt){if("string"==typeof Re&&(Re=this.elementRef.nativeElement.querySelector(Re)),Re){const Kt=Re.getBoundingClientRect(),ni=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Kt.left-ni.left+this.elementRef.nativeElement.scrollLeft+(ct||0),xt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Kt.top-ni.top+this.elementRef.nativeElement.scrollTop+(ct||0),xt)}}animateScrolling(Re,ct,xt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),xt&&"undefined"!=typeof window){if(ct!==this.elementRef.nativeElement[Re]){let Kt=0,ni=0,ui=performance.now(),oi=this.elementRef.nativeElement[Re];const Di=(oi-ct)/2,Zi=en=>{ni+=Math.PI/(xt/(en-ui)),Kt=Math.round(ct+Di+Di*Math.cos(ni)),this.elementRef.nativeElement[Re]===oi&&(ni>=Math.PI?this.animateScrolling(Re,ct,0):(this.elementRef.nativeElement[Re]=Kt,oi=this.elementRef.nativeElement[Re],ui=en,this.animation=window.requestAnimationFrame(Zi)))};window.requestAnimationFrame(Zi)}}else this.elementRef.nativeElement[Re]=ct}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(f.R0b),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Lbi),f.Y36(xe,8))},le.\u0275dir=f.lG2({type:le,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[f.TTD]}),le})(),Bi=(()=>{class le{constructor(Re,ct,xt){this.zone=Re,this.cdRef=ct,this.platformId=xt,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new bi.xQ,this.stateUpdate=new bi.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){(0,J.NF)(this.platformId)&&(this.stateUpdate.pipe((0,Hi.R)(this.ngDestroy),(0,pn.x)((Re,ct)=>Re===ct&&!this.stateTimeout)).subscribe(Re=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Re||"y"===Re?(this.interaction=!1,"x"===Re?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Re&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Re||"right"===Re?(this.states.left=!1,this.states.right=!1,this.states[Re]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Re||"bottom"===Re)&&(this.states.top=!1,this.states.bottom=!1,this.states[Re]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const Re=this.directiveRef.elementRef.nativeElement;(0,Li.R)(Re,"wheel").pipe((0,Hi.R)(this.ngDestroy)).subscribe(ct=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(ct,ct.deltaX,ct.deltaY)}),(0,Li.R)(Re,"touchmove").pipe((0,Hi.R)(this.ngDestroy)).subscribe(ct=>{if(!this.disabled&&this.autoPropagation){const xt=ct.touches[0].clientX,Kt=ct.touches[0].clientY;this.checkPropagation(ct,xt-this.scrollPositionX,Kt-this.scrollPositionY),this.scrollPositionX=xt,this.scrollPositionY=Kt}}),(0,Ji.T)((0,Li.R)(Re,"ps-scroll-x").pipe((0,Pi.h)("x")),(0,Li.R)(Re,"ps-scroll-y").pipe((0,Pi.h)("y")),(0,Li.R)(Re,"ps-x-reach-end").pipe((0,Pi.h)("right")),(0,Li.R)(Re,"ps-y-reach-end").pipe((0,Pi.h)("bottom")),(0,Li.R)(Re,"ps-x-reach-start").pipe((0,Pi.h)("left")),(0,Li.R)(Re,"ps-y-reach-start").pipe((0,Pi.h)("top"))).pipe((0,Hi.R)(this.ngDestroy)).subscribe(ct=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(ct)})}}),window.setTimeout(()=>{ot.forEach(Re=>{this.directiveRef&&(this.directiveRef[Re]=this[Re])})},0))}ngOnDestroy(){(0,J.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,J.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Re=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Re.classList.contains("ps--active-x"),this.usePropagationY=Re.classList.contains("ps--active-y")}}checkPropagation(Re,ct,xt){this.interaction=!0;const Kt=ct<0?-1:1,ni=xt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Kt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==ni))&&(Re.preventDefault(),Re.stopPropagation()),ct&&(this.scrollDirectionX=Kt),xt&&(this.scrollDirectionY=ni),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(f.R0b),f.Y36(f.sBO),f.Y36(f.Lbi))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perfect-scrollbar"]],viewQuery:function(Re,ct){if(1&Re&&f.Gf(ci,7),2&Re){let xt;f.iGM(xt=f.CRH())&&(ct.directiveRef=xt.first)}},hostVars:4,hostBindings:function(Re,ct){2&Re&&f.ekj("ps-show-limits",ct.autoPropagation)("ps-show-active",ct.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:xi,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Re,ct){1&Re&&(f.F$t(),f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.Hsn(2),f.qZA(),f.YNc(3,yi,5,16,"div",2),f.qZA()),2&Re&&(f.ekj("ps",ct.usePSClass),f.Q6J("perfectScrollbar",ct.config)("disabled",ct.disabled),f.xp6(3),f.Q6J("ngIf",ct.scrollIndicators))},directives:[ci,J.O5],styles:["perfect-scrollbar{display:block;height:100%;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-height:0;min-width:0}perfect-scrollbar[fxflex]>.ps{-webkit-box-flex:1;flex:1 1 auto;height:auto;min-height:0;min-width:0;width:auto}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit;align-content:inherit;align-items:inherit;display:flex;flex:1 1 auto;flex-direction:inherit;height:100%;justify-content:inherit;width:100%},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{display:block;height:100%;max-height:100%;max-width:100%;position:static;width:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{bottom:0;display:block;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{opacity:0;position:absolute;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-height:24px;min-width:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{min-height:100%;min-width:24px;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{cursor:default;left:auto!important;right:0!important;top:0!important;transition:width .2s linear,opacity .2s linear,background-color .2s linear;width:10px}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{bottom:0!important;cursor:default;height:10px;left:0!important;top:auto!important;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{background-color:#eee;opacity:.9}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{-ms-overflow-style:none;-ms-touch-action:auto;overflow:hidden!important;overflow-anchor:none;touch-action:auto}.ps__rail-x{bottom:0;height:15px}.ps__rail-x,.ps__rail-y{-webkit-transition:background-color .2s linear,opacity .2s linear;display:none;opacity:0;position:absolute;transition:background-color .2s linear,opacity .2s linear}.ps__rail-y{right:0;width:15px}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{background-color:transparent;display:block}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{-webkit-transition:background-color .2s linear,height .2s ease-in-out;bottom:2px;height:6px;transition:background-color .2s linear,height .2s ease-in-out}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{-webkit-transition:background-color .2s linear,width .2s ease-in-out;right:2px;transition:background-color .2s linear,width .2s ease-in-out;width:6px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}"],encapsulation:2}),le})(),On=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[J.ez],J.ez]}),le})();var Kn=d(86114),zn=d(36769),Ws=d(22465);function ti(le,Je){if(1&le){const Re=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"perun-web-apps-notification",2),f.NdJ("closeNotification",function(){const Kt=f.CHM(Re).index;return f.oxw().removeNotification(Kt)}),f.qZA(),f.qZA()}if(2&le){const Re=Je.$implicit;f.Q6J("@flyInOut",void 0),f.xp6(1),f.Q6J("data",Re)("newNotification",!0)}}const si=function(le){return{top:le}};let vi=(()=>{class le{constructor(Re,ct){this.notificator=Re,this.notificationStorageService=ct,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(xt=>{this.processNotification(xt)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(Re){this.notifications.push(Re),this.notificationStorageService.storeNotification(Re)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(Re){this.notifications.splice(Re,1)}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.V6),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-notificator"]],hostBindings:function(Re,ct){1&Re&&f.NdJ("resize",function(Kt){return ct.getScreenSize(Kt)},!1,f.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f.YNc(1,ti,2,3,"div",1),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.VKq(2,si,ct.getNotificatorTop())),f.xp6(1),f.Q6J("ngForOf",ct.notifications))},directives:[J.PC,J.sg,Ws.c],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[zn.Pd]}}),le})();var gi=d(53435);function Fi(le,Je){if(1&le&&(f.TgZ(0,"div",9),f._UZ(1,"perun-web-apps-notification",10),f.qZA()),2&le){const Re=Je.$implicit;f.xp6(1),f.Q6J("data",Re)("inDialog",!0)}}function un(le,Je){if(1&le&&(f.TgZ(0,"div",6),f.TgZ(1,"cdk-virtual-scroll-viewport",7),f.YNc(2,Fi,2,2,"div",8),f.qZA(),f.qZA()),2&le){const Re=f.oxw();f.xp6(2),f.Q6J("cdkVirtualForOf",Re.notifications)}}function An(le,Je){1&le&&(f.TgZ(0,"app-alert",11),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let Dn=(()=>{class le{constructor(Re,ct){this.dialogRef=Re,this.notificationStorageService=ct}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.so),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-show-notification-history-dialog"]],decls:12,vars:11,consts:[["mat-dialog-title",""],["class","hide-horizontal-scrollbar",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"hide-horizontal-scrollbar"],["itemSize","50",1,"viewport"],["class","mb-1",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"mb-1"],[3,"data","inDialog"],["alert_type","warn"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.YNc(3,un,3,1,"div",1),f.YNc(4,An,3,3,"app-alert",2),f.TgZ(5,"div",3),f.TgZ(6,"button",4),f.NdJ("click",function(){return ct.onClear()}),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.TgZ(9,"button",5),f.NdJ("click",function(){return ct.onCancel()}),f._uU(10),f.ALo(11,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.Oqu(f.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),f.xp6(2),f.Q6J("ngIf",0!==ct.notifications.length),f.xp6(1),f.Q6J("ngIf",0===ct.notifications.length),f.xp6(3),f.hij(" ",f.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),f.xp6(3),f.hij(" ",f.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[h.uh,J.O5,gi.N7,gi.xd,gi.x0,Ws.c,de.w,h.H8,ce.lW],pipes:[E.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),le})();var Vn=d(27544),dn=d(52314);function io(le,Je){1&le&&(f.TgZ(0,"div",10),f.TgZ(1,"span",11),f._uU(2," ~ \u{1f5f2}\xa0 "),f.qZA(),f.TgZ(3,"span",12),f._uU(4," DEVEL "),f.qZA(),f.TgZ(5,"span",11),f._uU(6," \xa0\u{1f5f2} ~ "),f.qZA(),f.qZA())}const rs=function(le){return{color:le}},yn=function(){return["/home"]};let hn=(()=>{class le{constructor(Re,ct,xt,Kt,ni,ui,oi,Di,Zi,en){this.storeService=Re,this.authService=ct,this.authzResolverService=xt,this.dialog=Kt,this.notificator=ni,this.translateService=ui,this.store=oi,this.sanitizer=Di,this.notificationStorageService=Zi,this.otherApplicationService=en,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.store.get("logo")),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.profileLabel=this.storeService.get("profile_label_en"),this.profileUrl=this.otherApplicationService.getUrlForOtherApplication("profile")}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const Re=(0,s.kZ)();Re.width="520px",this.dialog.open(Dn,Re)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.d6),f.Y36(A.e8),f.Y36(m.Ct),f.Y36(h.uw),f.Y36(A.V6),f.Y36(E.sK),f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.SZ),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:13,vars:28,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",1,"mt-auto","mb-auto",3,"routerLink"],[1,"logo-container",3,"innerHTML"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(Re,ct){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"button",1),f.NdJ("click",function(){return ct.sideNav.toggle()}),f.TgZ(2,"mat-icon",2),f._uU(3," menu "),f.qZA(),f.qZA(),f.TgZ(4,"a",3),f._UZ(5,"div",4),f.qZA(),f.qZA(),f.YNc(6,io,7,0,"div",5),f.TgZ(7,"div",6),f.TgZ(8,"button",7),f.NdJ("click",function(){return ct.showNotificationHistory()}),f.ALo(9,"translate"),f.TgZ(10,"mat-icon",8),f._uU(11),f.qZA(),f.qZA(),f._UZ(12,"perun-web-apps-header-menu",9),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.VKq(19,rs,ct.navTextColor)),f.xp6(2),f.Q6J("ngStyle",f.VKq(21,rs,ct.iconColor)),f.xp6(2),f.Q6J("routerLink",f.DdM(23,yn)),f.xp6(1),f.Q6J("innerHTML",ct.logo,f.oJD),f.xp6(1),f.Q6J("ngIf",ct.isDevel),f.xp6(1),f.Q6J("ngStyle",f.VKq(24,rs,ct.navTextColor)),f.xp6(1),f.Q6J("matTooltip",f.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),f.xp6(2),f.s9C("matBadge",ct.getNewNotificationsCount()>5?"5+":ct.getNewNotificationsCount()),f.Q6J("ngStyle",f.VKq(26,rs,ct.iconColor))("matBadgeHidden",0===ct.getNewNotificationsCount()),f.xp6(1),f.hij(" ",ct.getNewNotificationsCount()?"notifications_active":"notifications"," "),f.xp6(1),f.Q6J("url",ct.profileUrl)("label",ct.profileLabel)("user",ct.principal.user)("logoutEnabled",ct.logoutEnabled)("iconColor",ct.iconColor)("textColor",ct.navTextColor))},directives:[J.PC,ce.lW,ue.Hw,g.yS,J.O5,V.gM,Vn.k,dn.X],pipes:[E.X$],styles:["#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{margin-left:8px;display:flex;flex-direction:row;width:200px}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-link-items[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-link-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 1rem;line-height:64px;text-align:center;height:64px;display:block}"]}),le})();var Tn=d(73228);const as={provide:Ue.TP,useExisting:(0,f.Gpc)(()=>A.yC),multi:!0};function cs(le){return new _e(le,"./assets/i18n/",".json")}function ls(le){const Je={basePath:le.get("api_url")};return new m.VK(Je)}const Kr=le=>()=>le.initialize(),ao={suppressScrollX:!0};let yo=(()=>{class le{constructor(Re,ct){this.customIconService=Re,this.translate=ct,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(A.EB),f.LFG(E.sK))},le.\u0275mod=f.oAB({type:le,bootstrap:[G.y]}),le.\u0275inj=f.cJS({providers:[Qt,{provide:f.ip1,useFactory:Kr,multi:!0,deps:[Qt]},{provide:m.VK,useFactory:ls,deps:[A.d6]},{provide:g.wN,useClass:Ze},A.EB,{provide:gt,useClass:A.sM},A.yC,as,{provide:xe,useValue:ao}],imports:[[Et.PW,e.b2,Ue.JF,ee.m,Bt,Z,ue.Ps,Ri,E.aw.forRoot({loader:{provide:E.Zw,useFactory:cs,deps:[Ue.eN]}}),m.au,On,M.ez,Mt,Kn.zr.forRoot()]]}),le})();f.B6R(G.y,[J.O5,ue.Hw,vi,hn,J.PC,k.TM,k.JX,Bi,Tn.V,k.Rh,g.lC,Vt.$,It],[]),(0,f.G48)(),e.q6().bootstrapModule(yo).catch(le=>console.error(le))},11243:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class T{}return T.\u0275fac=function(A){return new(A||T)},T.\u0275mod=f.oAB({type:T}),T.\u0275inj=f.cJS({imports:[[e.ez]]}),T})()},6335:(Ke,be,d)=>{"use strict";d.d(be,{Rc:()=>f,pI:()=>g,Ng:()=>T});var e=d(5e3);const f="GUI_CONFIG.PREF_PAGE_SIZE",g="GUI_CONFIG.PREF_PAGE_SIZE.";let T=(()=>{class m{constructor(){}getString(s){return localStorage.getItem(s)}getNumber(s){return parseInt(localStorage.getItem(s),10)}setNumber(s,b){localStorage.setItem(s,b.toString())}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},10036:(Ke,be,d)=>{"use strict";d.d(be,{dB:()=>g,CP:()=>T,tw:()=>m,nT:()=>A,YF:()=>s,gc:()=>b,v1:()=>O,AA:()=>E,VR:()=>h,uM:()=>k,xx:()=>L,H2:()=>Y,xt:()=>J,dI:()=>ue,j1:()=>ce,Wv:()=>Le,qy:()=>de,BV:()=>ke,qV:()=>ae,tY:()=>V,Af:()=>H,O7:()=>X,gB:()=>ie,Hi:()=>oe,Jf:()=>ge,W1:()=>Ne,rF:()=>Fe,Aj:()=>se,Ad:()=>Me,kZ:()=>ve,cL:()=>me,RS:()=>Te,HC:()=>te,KE:()=>R,Sb:()=>Oe,_7:()=>Ie,bf:()=>He,rc:()=>fe,Cf:()=>Ce,eq:()=>N,NG:()=>he,O9:()=>D,d7:()=>S,vq:()=>I,NL:()=>P,kO:()=>i,aL:()=>r,DR:()=>p,uC:()=>o,JO:()=>t,oK:()=>n,Iz:()=>c,It:()=>u,z6:()=>y,iQ:()=>M,e5:()=>j,Bf:()=>Ve,zp:()=>zt,US:()=>Vt,gG:()=>Wt,$V:()=>At,S7:()=>Ht,zW:()=>kt,CE:()=>It,Is:()=>We,M8:()=>Z,g:()=>G,_c:()=>ee,dK:()=>_e,yW:()=>Ue});var e=d(6335),f=d(5e3);let g=(()=>{class Et{constructor(jt){this.guiConfigService=jt}getTablePageSize(jt){const St=this.guiConfigService.getNumber(e.pI+jt);if(!isNaN(St))return St;const Ct=this.guiConfigService.getNumber(e.Rc);return isNaN(Ct)?10:Ct}setTablePageSize(jt,St){this.guiConfigService.setNumber(e.pI+jt,St)}}return Et.\u0275fac=function(jt){return new(jt||Et)(f.LFG(e.Ng))},Et.\u0275prov=f.Yz7({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const T="0",m="1",A="2",s="3",b="4",O="5",E="6",h="7",k="8",L="9",Y="10",J="11",ue="12",ce="13",Le="14",de="15",ke="16",ae="17",V="18",H="19",X="20",ie="21",oe="22",ge="23",Ne="24",Fe="25",se="26",Me="27",ve="28",me="29",Te="30",te="31",R="32",Oe="33",Ie="34",He="35",fe="36",Ce="37",N="42",he="43",D="44",S="45",I="46",P="47",i="48",r="49",p="50",o="51",t="52",n="53",c="54",u="55",y="56",M="57",j="58",Ve="59",zt="62",Vt="63",Wt="64",At="65",Ht="66",kt="69",It="71",We="72",Z="75",G="76",ee="77",_e="78",Ue="79"},36769:(Ke,be,d)=>{"use strict";d.d(be,{Ji:()=>m,Pd:()=>g,BQ:()=>f,Ly:()=>T,GH:()=>b,Ls:()=>O,SG:()=>s,es:()=>A});var e=d(41777);const f=(0,e.X$)("openClose",[(0,e.SB)("open",(0,e.oB)({overflow:"hidden"})),(0,e.SB)("closed",(0,e.oB)({height:"0px",overflow:"hidden"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),g=(0,e.X$)("flyInOut",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".5s",(0,e.oB)({transform:"translateX(100%)"}))])]),T=(0,e.X$)("rollInOut",[(0,e.eR)(":enter",[(0,e.oB)({height:"0px"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".25s",(0,e.oB)({height:"0px"}))])]),m=(0,e.X$)("routeAnimations",[(0,e.eR)("* => *",[(0,e.oB)({position:"relative"}),(0,e.IO)(":enter",[(0,e.oB)({width:"100%",opacity:0})],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({position:"absolute",width:"100%",opacity:1}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,e.IO)(":enter",[(0,e.oB)({position:"absolute",width:"100%",opacity:0}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),A=(0,e.X$)("tagsOpenClose",[(0,e.SB)("open",(0,e.oB)({})),(0,e.SB)("closed",(0,e.oB)({width:"0px",height:"0px"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),s=(0,e.X$)("switchAnimations",[(0,e.eR)("true => false",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,e.eR)("false => true",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),b=(0,e.X$)("slideInOutLeft",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(-100%)"}))])]),O=(0,e.X$)("slideInOutRight",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)",position:"fixed"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(100%)"}))])])},387:(Ke,be,d)=>{"use strict";d.d(be,{Mw:()=>te.M,qG:()=>Vt.qG,Sx:()=>Mt.S,y9:()=>Wt,Nj:()=>u,ez:()=>me,t$:()=>y});var e=d(69808),f=d(77446),g=d(32075),T=d(51062),m=d(30325),A=d(84847),s=d(86087),b=d(20773),O=d(63189),E=d(25245),h=d(92181),k=d(47423),L=d(29772),Y=d(67322),J=d(93075),ue=d(98833),ce=d(26688),Le=d(44409),de=d(90508),ke=d(19516),ae=d(69287),V=d(90149),H=d(86856),X=d(79814),ie=d(74107),oe=d(43586),ge=d(53435),Ne=d(48966),Fe=d(9244),se=d(5e3);let Me=(()=>{class At extends de.LF{format(bt,et){return"input"===et?`${bt.getDate().toString()}.${(bt.getMonth()+1).toString()}.${bt.getFullYear()}`:bt.toDateString()}}return At.\u0275fac=function(){let Ht;return function(et){return(Ht||(Ht=se.n5z(At)))(et||At)}}(),At.\u0275prov=se.Yz7({token:At,factory:At.\u0275fac}),At})();const ve={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let me=(()=>{class At{}return At.\u0275fac=function(bt){return new(bt||At)},At.\u0275mod=se.oAB({type:At}),At.\u0275inj=se.cJS({providers:[{provide:de._A,useClass:Me},{provide:de.sG,useValue:ve}],imports:[[e.ez,f.p9,g.p0,J.u5,ce.Hi,Le._t,T.aw,m.Bz,A.JX,s.TU,b.Cq,O.r,E.Ps,h.Tx,k.ot,L.AV,Y.lN,J.UX,ue.c,de.si,ke.d4,ae.Iq,V.dp,H.FA,X.Fk,de.Ng,ie.LD,oe.Co,ge.Cl,Ne.Is,Fe.Je]]}),At})();d(53984);var te=d(43532),Xe=(d(38719),d(21963),d(28820),d(63167),d(62109),d(22465),d(80275),d(9315)),tt=d(36908),at=d(84379),N=d(98380),he=d(34447);function D(At,Ht){1&At&&(se.TgZ(0,"app-alert"),se._uU(1),se.ALo(2,"translate"),se.ALo(3,"customTranslate"),se.qZA()),2&At&&(se.xp6(1),se.Oqu(se.lcZ(2,1,se.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function S(At,Ht){1&At&&(se.TgZ(0,"th",16),se._uU(1),se.ALo(2,"translate"),se.ALo(3,"customTranslate"),se.qZA()),2&At&&(se.xp6(1),se.hij(" ",se.lcZ(2,1,se.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function I(At,Ht){if(1&At&&(se.TgZ(0,"td",17),se._uU(1),se.qZA()),2&At){const bt=Ht.$implicit;se.xp6(1),se.Oqu(bt.friendlyNameParameter)}}function P(At,Ht){1&At&&(se.TgZ(0,"th",16),se._uU(1),se.ALo(2,"translate"),se.ALo(3,"customTranslate"),se.qZA()),2&At&&(se.xp6(1),se.hij(" ",se.lcZ(2,1,se.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function i(At,Ht){if(1&At&&(se.TgZ(0,"td",18),se._uU(1),se.qZA()),2&At){const bt=Ht.$implicit;se.xp6(1),se.Oqu(bt.value)}}function r(At,Ht){1&At&&se._UZ(0,"th",16)}function p(At,Ht){if(1&At){const bt=se.EpF();se.TgZ(0,"td",19),se.TgZ(1,"button",20),se.NdJ("click",function(){const pt=se.CHM(bt).$implicit;return se.oxw().resetPassword(pt.friendlyNameParameter)}),se._uU(2),se.ALo(3,"translate"),se.ALo(4,"customTranslate"),se.qZA(),se.qZA()}if(2&At){const bt=Ht.$implicit,et=se.oxw();se.xp6(1),se.Q6J("disabled",!et.logins.includes(bt)),se.xp6(1),se.hij(" ",se.lcZ(3,2,se.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function o(At,Ht){1&At&&se._UZ(0,"th",16)}function t(At,Ht){if(1&At){const bt=se.EpF();se.TgZ(0,"td",19),se.TgZ(1,"button",21),se.NdJ("click",function(){const pt=se.CHM(bt).$implicit;return se.oxw().changePassword(pt)}),se._uU(2),se.ALo(3,"translate"),se.ALo(4,"customTranslate"),se.qZA(),se.qZA()}if(2&At){const bt=Ht.$implicit,et=se.oxw();se.xp6(1),se.Q6J("disabled",!et.logins.includes(bt)),se.xp6(1),se.hij(" ",se.lcZ(3,2,se.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function n(At,Ht){1&At&&se._UZ(0,"tr",22)}function c(At,Ht){1&At&&se._UZ(0,"tr",23)}let u=(()=>{class At{constructor(bt,et,kt,pt,It,We){this.attributesManagerService=bt,this.store=et,this.dialog=kt,this.route=pt,this.router=It,this.otherApplicationService=We,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(bt=>{const et=this.nameSpaces.map(It=>{const We=It.split(":");return We[We.length-1]});this.logins=bt.filter(It=>et.includes(It.friendlyNameParameter)),this.dataSource=new g.by(bt);const pt=this.route.snapshot.queryParamMap.get("namespace");if(pt){const It=this.logins.find(We=>We.friendlyNameParameter===pt);It&&this.changePassword(It)}})}resetPassword(bt){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",bt),"_blank")}changePassword(bt){this.router.navigate([],{queryParams:{namespace:bt.friendlyNameParameter},queryParamsHandling:"merge"});const et=(0,Fe.kZ)();et.width="600px",et.data={login:bt.value,namespace:bt.friendlyName.split(":")[1]},this.dialog.open(at.xF,et).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return At.\u0275fac=function(bt){return new(bt||At)(se.Y36(Xe.H8),se.Y36(tt.d6),se.Y36(Ne.uw),se.Y36(m.gz),se.Y36(m.F0),se.Y36(tt.jq))},At.\u0275cmp=se.Xpm({type:At,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(bt,et){1&bt&&(se.TgZ(0,"h1",0),se._uU(1),se.ALo(2,"translate"),se.ALo(3,"customTranslate"),se.qZA(),se.YNc(4,D,4,5,"app-alert",1),se.TgZ(5,"div",2),se.TgZ(6,"div",3),se.TgZ(7,"div",4),se.TgZ(8,"table",5),se.ynx(9,6),se.YNc(10,S,4,5,"th",7),se.YNc(11,I,2,1,"td",8),se.BQk(),se.ynx(12,9),se.YNc(13,P,4,5,"th",7),se.YNc(14,i,2,1,"td",10),se.BQk(),se.ynx(15,11),se.YNc(16,r,1,0,"th",7),se.YNc(17,p,5,6,"td",12),se.BQk(),se.ynx(18,13),se.YNc(19,o,1,0,"th",7),se.YNc(20,t,5,6,"td",12),se.BQk(),se.YNc(21,n,1,0,"tr",14),se.YNc(22,c,1,0,"tr",15),se.qZA(),se.qZA(),se.qZA(),se.qZA()),2&bt&&(se.xp6(1),se.hij(" ",se.lcZ(2,5,se.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),se.xp6(3),se.Q6J("ngIf",!et.logins.length),se.xp6(4),se.Q6J("dataSource",et.dataSource),se.xp6(13),se.Q6J("matHeaderRowDef",et.displayedColumns),se.xp6(1),se.Q6J("matRowDefColumns",et.displayedColumns))},directives:[e.O5,N.w,g.BZ,A.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,k.lW,g.as,g.XQ,g.nj,g.Gk],pipes:[T.X$,he.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),At})(),y=(()=>{class At{constructor(bt,et,kt,pt){this.router=bt,this.route=et,this.location=kt,this.forceRoute=pt}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(bt=>{this.router.navigate([bt.redirectTo])}):this.location.back()}}return At.\u0275fac=function(bt){return new(bt||At)(se.Y36(m.F0),se.Y36(m.gz),se.Y36(e.Ye),se.Y36(tt.xw))},At.\u0275cmp=se.Xpm({type:At,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(bt,et){},styles:[""]}),At})();d(24179),d(58956),d(41619),d(61150);var Mt=d(63312),Vt=(d(52314),d(52170));let Wt=(()=>{class At{constructor(bt){this.router=bt}redirectToHome(){this.router.navigate(["/home"],{queryParamsHandling:"merge"})}}return At.\u0275fac=function(bt){return new(bt||At)(se.Y36(m.F0))},At.\u0275cmp=se.Xpm({type:At,selectors:[["perun-web-apps-not-authorized-page"]],decls:10,vars:9,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"],["mat-stroked-button","",1,"mt-2",3,"click"]],template:function(bt,et){1&bt&&(se.TgZ(0,"div",0),se.TgZ(1,"h1",1),se._uU(2),se.ALo(3,"translate"),se.qZA(),se.TgZ(4,"div"),se._uU(5),se.ALo(6,"translate"),se.qZA(),se.TgZ(7,"button",2),se.NdJ("click",function(){return et.redirectToHome()}),se._uU(8),se.ALo(9,"translate"),se.qZA(),se.qZA()),2&bt&&(se.xp6(2),se.Oqu(se.lcZ(3,3,"GENERAL.NOT_AUTHORIZED_PAGE.TITLE")),se.xp6(3),se.Oqu(se.lcZ(6,5,"GENERAL.NOT_AUTHORIZED_PAGE.DESC")),se.xp6(3),se.hij(" ",se.lcZ(9,7,"GENERAL.NOT_AUTHORIZED_PAGE.REDIRECT")," "))},directives:[k.lW],pipes:[T.X$],styles:[""]}),At})()},63312:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>m,Y:()=>A});var e=d(5e3),g=(d(9315),d(51062)),T=d(42377);const m={};let A=(()=>{class s{constructor(O){this.translate=O,this.item=null,this.itemSelected=new e.vpe,this.nameFunction=E=>E===m?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):E.shortname,this.secondaryFunction=E=>E===m?"":E.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+E.id,this.searchFunction=E=>E===m?"":E.shortname+E.id}}return s.\u0275fac=function(O){return new(O||s)(e.Y36(g.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-app-form-item-search-select"]],inputs:{items:"items",item:"item"},outputs:{itemSelected:"itemSelected"},decls:4,vars:15,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","entity","disableAutoSelect","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(O,E){1&O&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(k){return E.itemSelected.emit(k)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&O&&e.Q6J("entities",E.items)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.secondaryFunction)("entity",E.item)("disableAutoSelect",!0)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[T.i],pipes:[g.X$],styles:[""]}),s})()},38719:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>E});var e=d(5e3),f=d(9244),g=d(69808),T=d(77446),m=d(93075),A=d(67322),s=d(64597);function b(h,k){if(1&h){const L=e.EpF();e.TgZ(0,"mat-checkbox",2),e.NdJ("change",function(){return e.CHM(L),e.oxw()._sendEventToParent()})("ngModelChange",function(J){return e.CHM(L),e.oxw().attribute.value=J}),e.ALo(1,"multiWordDataCy"),e.qZA()}if(2&h){const L=e.oxw();e.Q2q("data-cy","",e.lcZ(1,2,L.attribute.displayName),"-value"),e.Q6J("ngModel",L.attribute.value)}}function O(h,k){if(1&h&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&h){const L=e.oxw();e.xp6(1),e.Oqu(L.attribute.value)}}let E=(()=>{class h{constructor(){this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(L,Y){1&L&&(e.TgZ(0,"div"),e.YNc(1,b,2,4,"mat-checkbox",0),e.YNc(2,O,2,1,"mat-label",1),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",!Y.readonly),e.xp6(1),e.Q6J("ngIf",Y.readonly))},directives:[g.O5,T.oG,m.JJ,m.On,A.hX],pipes:[s.R],styles:[""]}),h})()},21963:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>V});var e=d(5e3),f=d(91159),g=d(44409),T=d(84379),m=d(9244),A=d(48966),s=d(26688),b=d(69808),O=d(25245),E=d(29772),h=d(47423),k=d(67322),L=d(98833);function Y(H,X){if(1&H){const ie=e.EpF();e.TgZ(0,"mat-icon",9),e.NdJ("mousedown",function(){return e.CHM(ie),e.oxw(2).dragDisabled=!1}),e._uU(1,"drag_indicator"),e.qZA()}}function J(H,X){if(1&H){const ie=e.EpF();e.TgZ(0,"mat-icon",10),e.NdJ("click",function(){e.CHM(ie);const ge=e.oxw().$implicit;return e.oxw().edit(ge)}),e._uU(1,"edit"),e.qZA()}}function ue(H,X){if(1&H){const ie=e.EpF();e.TgZ(0,"mat-icon",11),e.NdJ("click",function(){e.CHM(ie);const ge=e.oxw().$implicit;return e.oxw().remove(ge)}),e._uU(1,"cancel"),e.qZA()}}function ce(H,X){if(1&H){const ie=e.EpF();e.TgZ(0,"mat-chip",4),e.NdJ("removed",function(){const Ne=e.CHM(ie).$implicit,Fe=e.oxw();return Fe.remove(Ne),Fe._sendEventToParent()}),e.YNc(1,Y,2,0,"mat-icon",5),e.TgZ(2,"div",6),e.NdJ("click",function(){const Ne=e.CHM(ie).$implicit,Fe=e.oxw();return Fe.readonly&&void 0!==Fe.attribute.displayName&&Fe.showValue(Ne,Fe.attribute.displayName)}),e._uU(3),e.qZA(),e.YNc(4,J,2,0,"mat-icon",7),e.YNc(5,ue,2,0,"mat-icon",8),e.qZA()}if(2&H){const ie=X.$implicit,oe=e.oxw();e.Q6J("selectable",oe.selectable)("cdkDragData",ie)("removable",oe.removable),e.xp6(1),e.Q6J("ngIf",oe.removable),e.xp6(1),e.ekj("cursor-pointer",oe.readonly&&void 0!==oe.attribute.displayName),e.xp6(1),e.hij(" ",ie," "),e.xp6(1),e.Q6J("ngIf",oe.removable),e.xp6(1),e.Q6J("ngIf",oe.removable)}}function Le(H,X){1&H&&(e.TgZ(0,"mat-icon"),e._uU(1,"more_horiz"),e.qZA())}function de(H,X){1&H&&(e.TgZ(0,"mat-icon"),e._uU(1,"keyboard_arrow_up"),e.qZA())}function ke(H,X){if(1&H){const ie=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"span",13),e.TgZ(2,"button",14),e.NdJ("click",function(){return e.CHM(ie),e.oxw().onShowChange()}),e.YNc(3,Le,2,0,"mat-icon",15),e.YNc(4,de,2,0,"mat-icon",15),e.qZA(),e.qZA(),e.qZA()}if(2&H){const ie=e.oxw();e.xp6(1),e.Q6J("matTooltip",ie.showMore?"Show less":"Show more")("matTooltipPosition","above"),e.xp6(2),e.Q6J("ngIf",!ie.showMore),e.xp6(1),e.Q6J("ngIf",ie.showMore)}}function ae(H,X){if(1&H){const ie=e.EpF();e.TgZ(0,"mat-form-field",12),e.TgZ(1,"input",16),e.NdJ("matChipInputTokenEnd",function(ge){return e.CHM(ie),e.oxw().add(ge)})("change",function(){return e.CHM(ie),e.oxw()._sendEventToParent()}),e.qZA(),e.qZA()}if(2&H){const ie=e.oxw(),oe=e.MAs(2);e.xp6(1),e.Q6J("matChipInputFor",oe)("matChipInputSeparatorKeyCodes",ie.separatorKeysCodes)("matChipInputAddOnBlur",ie.addOnBlur)}}let V=(()=>{class H{constructor(ie){this.dialog=ie,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[f.K5,f.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new e.vpe,this.readonly=!1}ngOnInit(){this.removable=!(0,m.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,m.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(ie){const oe=ie.input,ge=ie.value;(ge||"").trim()&&(this.attribute.value.push(ge.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),oe&&(oe.value=""),this.sendEventToParent.emit()}remove(ie){const oe=(0,m.kZ)();oe.width="400px",oe.data={name:ie},this.dialog.open(T.Wr,oe).afterClosed().subscribe(Ne=>{if(Ne){const Fe=this.attribute.value.indexOf(ie);this.attribute.value.splice(Fe,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(ie){this.dragDisabled=!0,(0,g.bA)(this.attribute.value,ie.previousIndex,ie.currentIndex),this.values=Object.values(this.attribute.value)}edit(ie){const oe=this.attribute.value.indexOf(ie),ge=(0,m.kZ)();ge.width="600px",ge.data={attribute:this.attribute,index:oe},this.dialog.open(T.r2,ge).afterClosed().subscribe(Fe=>{Fe&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(ie,oe){const ge=(0,m.kZ)();ge.width="350px",ge.data={value:ie,title:oe},this.dialog.open(T.mk,ge)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return H.\u0275fac=function(ie){return new(ie||H)(e.Y36(A.uw))},H.\u0275cmp=e.Xpm({type:H,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(ie,oe){1&ie&&(e.TgZ(0,"div"),e.TgZ(1,"mat-chip-list",0,1),e.NdJ("cdkDropListDropped",function(Ne){return oe.drop(Ne),oe._sendEventToParent()}),e.YNc(3,ce,6,9,"mat-chip",2),e.YNc(4,ke,5,4,"div",3),e.YNc(5,ae,2,3,"mat-form-field",3),e.qZA(),e.qZA()),2&ie&&(e.xp6(1),e.Q6J("cdkDropListDisabled",oe.dragDisabled),e.xp6(2),e.Q6J("ngForOf",oe.values.slice(0,oe.itemsShown)),e.xp6(1),e.Q6J("ngIf",oe.values.length>oe.defaultItemsShown),e.xp6(1),e.Q6J("ngIf",!oe.readonly))},directives:[s.qn,g.Wj,b.sg,s.HS,g.Zt,b.O5,O.Hw,E.gM,h.lW,k.KE,L.Nt,s.oH],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),H})()},28820:(Ke,be,d)=>{"use strict";d.d(be,{$:()=>Le});var e=d(84379),f=d(9244),g=d(5e3),T=d(48966),m=d(93075),A=d(69808),s=d(67322),b=d(98833),O=d(47423),E=d(25245),h=d(29772);function k(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",15),g.NdJ("click",function(){g.CHM(ae);const H=g.oxw().index;return g.oxw().removeValue(H)}),g.TgZ(1,"mat-icon"),g._uU(2," indeterminate_check_box "),g.qZA(),g.qZA()}}function L(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"div",9),g.TgZ(1,"mat-form-field",10),g._UZ(2,"label",11),g.TgZ(3,"input",12),g.NdJ("click",function(){const X=g.CHM(ae).index,ie=g.oxw();return ie.readonly&&ie.attribute.displayName&&ie.showValue(ie.keys[X],ie.attribute.displayName)})("ngModelChange",function(H){const ie=g.CHM(ae).index;return g.oxw().keys[ie]=H}),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",10),g._UZ(5,"label",11),g.TgZ(6,"input",13),g.NdJ("click",function(){const X=g.CHM(ae).$implicit,ie=g.oxw();return ie.readonly&&void 0!==ie.attribute.displayName&&ie.showValue(X,ie.attribute.displayName)})("ngModelChange",function(H){const ie=g.CHM(ae).index;return g.oxw().values[ie]=H}),g.qZA(),g.qZA(),g.YNc(7,k,3,0,"button",14),g.qZA()}if(2&de){const ae=ke.index,V=g.oxw();g.xp6(1),g.s9C("appearance",V.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",V.attribute.id,"-key-",ae,""),g.xp6(1),g.ekj("cursor-pointer",V.readonly&&void 0!==V.attribute.displayName),g.hYB("id","",V.attribute.id,"-key-",ae,""),g.MGl("name","key-",ae,""),g.Q6J("ngModel",V.keys[ae])("readonly",V.readonly),g.xp6(1),g.s9C("appearance",V.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",V.attribute.id,"-value-",ae,""),g.xp6(1),g.ekj("cursor-pointer",V.readonly&&void 0!==V.attribute.displayName),g.MGl("name","value-",ae,""),g.hYB("id","",V.attribute.id,"-value-",ae,""),g.Q6J("readonly",V.readonly)("ngModel",V.values[ae]),g.xp6(1),g.Q6J("ngIf",!V.readonly)}}function Y(de,ke){1&de&&(g.TgZ(0,"mat-icon"),g._uU(1,"more_horiz"),g.qZA())}function J(de,ke){1&de&&(g.TgZ(0,"mat-icon"),g._uU(1,"keyboard_arrow_up"),g.qZA())}function ue(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",16),g.NdJ("click",function(){return g.CHM(ae),g.oxw().onShowChange()}),g.YNc(1,Y,2,0,"mat-icon",17),g.YNc(2,J,2,0,"mat-icon",17),g.qZA()}if(2&de){const ae=g.oxw();g.xp6(1),g.Q6J("ngIf",!ae.showMore),g.xp6(1),g.Q6J("ngIf",ae.showMore)}}function ce(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",18),g.NdJ("click",function(){return g.CHM(ae),g.oxw().addValue()}),g.TgZ(1,"mat-icon"),g._uU(2," add_box "),g.qZA(),g.qZA()}}let Le=(()=>{class de{constructor(ae){this.dialog=ae,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const ae=this.attribute.value;for(const[V,H]of Object.entries(ae))this.keys.push(V),this.values.push(H)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}customTrackBy(ae){return ae}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(ae){this.keys.splice(ae,1),this.values.splice(ae,1)}updateAttribute(){const ae={};for(let V=0;VV.defaultItemsShown),g.xp6(1),g.Q6J("ngIf",!V.readonly))},directives:[m._Y,m.JL,m.F,A.sg,s.KE,b.Nt,m.Fj,m.Q7,m.JJ,m.On,A.O5,O.lW,E.Hw,h.gM],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),de})()},63167:(Ke,be,d)=>{"use strict";d.d(be,{_:()=>O});var e=d(5e3),f=d(9244),g=d(84379),T=d(48966),m=d(67322),A=d(98833),s=d(93075),b=d(64597);let O=(()=>{class E{constructor(k){this.dialog=k,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(k,L){const Y=(0,f.kZ)();Y.width="350px",Y.data={value:k,title:L},this.dialog.open(g.mk,Y)}}return E.\u0275fac=function(k){return new(k||E)(e.Y36(T.uw))},E.\u0275cmp=e.Xpm({type:E,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(k,L){1&k&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return L.readonly&&void 0!==L.value&&L.showValue(L.value,L.attribute.displayName)})("ngModelChange",function(J){return L.attribute.value=J})("keydown",function(){return L._sendEventToParent()}),e.ALo(2,"multiWordDataCy"),e.qZA(),e.qZA()),2&k&&(e.s9C("appearance",L.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",L.readonly&&void 0!==L.value),e.Q2q("data-cy","",e.lcZ(2,6,L.attribute.displayName),"-value"),e.Q6J("readonly",L.readonly)("ngModel",L.attribute.value))},directives:[m.KE,A.Nt,s.Fj,s.JJ,s.On],pipes:[b.R],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),E})()},43532:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>ke});var e=d(5e3),f=d(28820),g=d(69808),T=d(38719),m=d(21963),A=d(63167),s=d(9244),b=d(84379),O=d(48966),E=d(67322),h=d(98833),k=d(93075);let L=(()=>{class ae{constructor(H){this.dialog=H,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(H){const X=(0,s.kZ)();X.width="350px",X.data={value:H.value,title:H.displayName},this.dialog.open(b.mk,X)}}return ae.\u0275fac=function(H){return new(H||ae)(e.Y36(O.uw))},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(H,X){1&H&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return X.readonly&&void 0!==X.attribute.value&&X.showValue(X.attribute)})("ngModelChange",function(oe){return X.attribute.value=oe})("keydown",function(){return X._sendEventToParent()}),e.qZA(),e.qZA()),2&H&&(e.s9C("appearance",X.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",X.readonly&&void 0!==X.attribute.value),e.Q6J("readonly",X.readonly)("ngModel",X.attribute.value))},directives:[E.KE,h.Nt,k.wV,k.Fj,k.JJ,k.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ae})();const Y=["map"];function J(ae,V){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-boolean",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function ue(ae,V){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-list",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function ce(ae,V){if(1&ae&&e._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function Le(ae,V){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-string",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function de(ae,V){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-integer",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}let ke=(()=>{class ae{constructor(){this.readonly=!1,this.sendEventToParent2=new e.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return ae.\u0275fac=function(H){return new(H||ae)},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(H,X){if(1&H&&e.Gf(Y,5),2&H){let ie;e.iGM(ie=e.CRH())&&(X.mapComponent=ie.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(H,X){1&H&&(e.TgZ(0,"div"),e.YNc(1,J,1,2,"perun-web-apps-attribute-value-boolean",0),e.YNc(2,ue,1,2,"perun-web-apps-attribute-value-list",0),e.TgZ(3,"div",1),e.NdJ("click",function(){return X._sendEventToParent2()}),e.YNc(4,ce,2,2,"perun-web-apps-attribute-value-map",2),e.qZA(),e.YNc(5,Le,1,2,"perun-web-apps-attribute-value-string",0),e.YNc(6,de,1,2,"perun-web-apps-attribute-value-integer",0),e.qZA()),2&H&&(e.xp6(1),e.Q6J("ngIf","java.lang.Boolean"===X.attribute.type),e.xp6(1),e.Q6J("ngIf","java.util.ArrayList"===X.attribute.type),e.xp6(2),e.Q6J("ngIf","java.util.LinkedHashMap"===X.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.String"===X.attribute.type||"java.lang.LargeString"===X.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.Integer"===X.attribute.type))},directives:[g.O5,T.u,m.H,f.$,A._,L],styles:[""]}),ae})()},53984:(Ke,be,d)=>{"use strict";d.d(be,{p:()=>se});var e=d(84847),f=d(32075),g=d(20449),T=d(43532),m=d(9244),A=d(36908),s=d(5e3),b=d(18750),O=d(77446),E=d(29772),h=d(69808),k=d(98380),L=d(64597);let Y=(()=>{class Me{transform(me){return"virt"===me.namespace.split(":")[4]}}return Me.\u0275fac=function(me){return new(me||Me)},Me.\u0275pipe=s.Yjl({name:"isVirtualAttribute",type:Me,pure:!0}),Me})();var J=d(51062);function ue(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"th",17),s.TgZ(1,"mat-checkbox",18),s.NdJ("change",function(te){s.CHM(me);const R=s.oxw();return te?R.masterToggle():null}),s.qZA(),s.qZA()}if(2&Me){const me=s.oxw();s.xp6(1),s.Q6J("checked",me.selection.hasValue()&&me.isAllSelected())("indeterminate",me.selection.hasValue()&&!me.isAllSelected())("aria-label",me.checkboxLabel())}}function ce(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"mat-checkbox",20),s.NdJ("click",function(te){return te.stopPropagation()})("change",function(te){const Oe=s.CHM(me).$implicit,Ie=s.oxw();return te?Ie.selection.toggle(Oe):null}),s.ALo(2,"multiWordDataCy"),s.ALo(3,"isVirtualAttribute"),s.qZA(),s.qZA()}if(2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,4,me.displayName),"-checkbox"),s.Q6J("checked",Te.selection.isSelected(me))("disabled",s.lcZ(3,6,me)||!me.writable)("aria-label",Te.checkboxLabel(me))}}function Le(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function de(Me,ve){if(1&Me&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&Me){const me=ve.$implicit;s.xp6(1),s.Oqu(me.id)}}function ke(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function ae(Me,ve){if(1&Me&&(s.TgZ(0,"td",23),s.TgZ(1,"div",24),s._uU(2),s.qZA(),s.qZA()),2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.s9C("matTooltip",Te.getAttributeFullName(me)),s.xp6(1),s.hij(" ",me.displayName," ")}}function V(Me,ve){1&Me&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function H(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"td",23),s.TgZ(1,"perun-web-apps-attribute-value",26),s.NdJ("sendEventToParent2",function(){const R=s.CHM(me).$implicit;return s.oxw().onValueChange(R)}),s.qZA(),s.qZA()}if(2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.Q6J("attribute",me)("readonly",Te.readonly||!me.writable)}}function X(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function ie(Me,ve){if(1&Me&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&Me){const me=ve.$implicit;s.xp6(1),s.Oqu(me.description)}}function oe(Me,ve){1&Me&&s._UZ(0,"tr",27)}function ge(Me,ve){if(1&Me&&(s._UZ(0,"tr",28),s.ALo(1,"translate")),2&Me){const me=ve.$implicit,Te=s.oxw();s.s9C("matTooltip",s.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),s.Q6J("matTooltipPosition","before")("matTooltipDisabled",me.writable||Te.readonly)}}function Ne(Me,ve){1&Me&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Fe(Me,ve){if(1&Me&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me){const me=s.oxw();s.xp6(1),s.hij(" ",s.lcZ(2,1,me.emptyListText),"\n")}}let se=(()=>{class Me{constructor(me,Te){this.authResolver=me,this.tableCheckbox=Te,this.attributes=[],this.selection=new g.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=m.f7}set matSort(me){this.sort=me,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(me=>"id"!==me)),this.dataSource=new f.by((0,m.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(me,Te){switch(Te){case"id":return me.id.toString();case"displayName":return me.displayName;case"description":return me.description;case"value":return JSON.stringify(me.value);case"urn":return me.namespace+":"+me.baseFriendlyName;default:return""}}exportData(me){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),me)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(me=>!this.hiddenColumns.includes(me)),this.dataSource&&(this.dataSource.filterPredicate=(me,Te)=>(0,m.Sd)(me,Te,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(me,Te)=>(0,m.pR)(me,Te,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(me){return me?`${this.selection.isSelected(me)?"deselect":"select"} row ${me.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const me of this.items.toArray())"java.util.LinkedHashMap"===me.attribute.type&&me.updateMapAttribute()}onValueChange(me){this.canBeSelected(me)&&this.selection.select(me)}canBeSelected(me){return!(0,m.Hm)(me)&&me.writable}getAttributeFullName(me){return`${me.namespace}:${me.friendlyName}`}}return Me.\u0275fac=function(me){return new(me||Me)(s.Y36(A.x4),s.Y36(A.UA))},Me.\u0275cmp=s.Xpm({type:Me,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(me,Te){if(1&me&&(s.Gf(e.YE,7),s.Gf(m.l9,7),s.Gf(T.M,5)),2&me){let te;s.iGM(te=s.CRH())&&(Te.matSort=te.first),s.iGM(te=s.CRH())&&(Te.child=te.first),s.iGM(te=s.CRH())&&(Te.items=te)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[s.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(me,Te){1&me&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(R){return Te.exportData(R)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,ue,2,3,"th",4),s.YNc(5,ce,4,8,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Le,3,3,"th",7),s.YNc(8,de,2,1,"td",8),s.BQk(),s.ynx(9,9),s.YNc(10,ke,3,3,"th",7),s.YNc(11,ae,3,2,"td",10),s.BQk(),s.ynx(12,11),s.YNc(13,V,3,3,"th",12),s.YNc(14,H,2,2,"td",10),s.BQk(),s.ynx(15,13),s.YNc(16,X,3,3,"th",7),s.YNc(17,ie,2,1,"td",10),s.BQk(),s.YNc(18,oe,1,0,"tr",14),s.YNc(19,ge,2,5,"tr",15),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,Ne,3,3,"app-alert",16),s.YNc(21,Fe,3,3,"app-alert",16)),2&me&&(s.Q6J("hidden",0===Te.dataSource.filteredData.length),s.xp6(1),s.Q6J("tableId",Te.tableId)("dataLength",Te.dataSource.filteredData.length)("pageSizeOptions",Te.pageSizeOptions),s.xp6(1),s.Q6J("dataSource",Te.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",Te.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Te.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===Te.dataSource.filteredData.length&&0!==Te.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",0===Te.dataSource.data.length))},directives:[b.l,f.BZ,e.YE,f.w1,f.fO,f.ge,O.oG,f.Dz,f.ev,e.nU,E.gM,T.M,f.as,f.XQ,f.nj,f.Gk,h.O5,k.w],pipes:[L.R,Y,J.X$],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),Me})()},4235:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>O});var e=d(36908),f=d(5e3),g=d(69808),T=d(47423),m=d(29772),A=d(25245),s=d(51062);const b=function(E){return{color:E}};let O=(()=>{class E{constructor(k,L){this.location=k,this.storeService=L}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return E.\u0275fac=function(k){return new(k||E)(f.Y36(g.Ye),f.Y36(e.d6))},E.\u0275cmp=f.Xpm({type:E,selectors:[["perun-web-apps-back-button"]],decls:4,vars:6,consts:[["mat-stroked-button","",1,"mb-2","mt-2",3,"ngStyle","matTooltip","click"],[1,"rotate"]],template:function(k,L){1&k&&(f.TgZ(0,"button",0),f.NdJ("click",function(){return L.goBack()}),f.ALo(1,"translate"),f.TgZ(2,"mat-icon",1),f._uU(3,"arrow_right_alt"),f.qZA(),f.qZA()),2&k&&(f.s9C("matTooltip",f.lcZ(1,2,"Back")),f.Q6J("ngStyle",f.VKq(4,b,L.backButtonColor)))},directives:[T.lW,g.PC,m.gM,A.Hw],pipes:[s.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),E})()},61150:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>k});var e=d(5e3),f=d(93075),g=d(36908),T=d(67322),m=d(98833),A=d(69808),s=d(77446),b=d(82322),O=d(51062);function E(L,Y){if(1&L){const J=e.EpF();e.TgZ(0,"mat-checkbox",7),e.NdJ("change",function(){return e.CHM(J),e.oxw().emitAsSubGroup()})("ngModelChange",function(ce){return e.CHM(J),e.oxw().asSubgroup=ce}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&L){const J=e.oxw();e.Q6J("labelPosition","before")("ngModel",J.asSubgroup),e.xp6(1),e.hij(" ",e.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function h(L,Y){if(1&L){const J=e.EpF();e.TgZ(0,"perun-web-apps-group-search-select",8),e.NdJ("groupSelected",function(ce){return e.CHM(J),e.oxw().emitParentGroup(ce)}),e.qZA()}if(2&L){const J=e.oxw();e.Q6J("disableAutoSelect",!0)("groups",J.voGroups)}}let k=(()=>{class L{constructor(J){this.store=J,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameChanged=new e.vpe,this.descriptionChanged=new e.vpe,this.parentGroupChanged=new e.vpe,this.asSubgroupChanged=new e.vpe}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new f.NI("",[f.kI.required,f.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),f.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new f.NI("",[f.kI.required,f.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(J=>"members"!==J.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup(J){this.selectedParent=J,this.parentGroupChanged.emit(J)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return L.\u0275fac=function(J){return new(J||L)(e.Y36(g.d6))},L.\u0275cmp=e.Xpm({type:L,selectors:[["perun-web-apps-create-group-form"]],inputs:{parentGroup:"parentGroup",voGroups:"voGroups"},outputs:{nameChanged:"nameChanged",descriptionChanged:"descriptionChanged",parentGroupChanged:"parentGroupChanged",asSubgroupChanged:"asSubgroupChanged"},decls:17,vars:16,consts:[[1,"dialog-container"],[3,"keyup"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[1,"mt-4",3,"keyup"],[3,"labelPosition","ngModel","change","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],[3,"labelPosition","ngModel","change","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(J,ue){1&J&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-form-field",1),e.NdJ("keyup",function(){return ue.emitName()}),e.TgZ(2,"label",2),e._UZ(3,"input",3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-error"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("keyup",function(){return ue.emitDescription()}),e.TgZ(9,"label",2),e._UZ(10,"textarea",3),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"mat-error"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.YNc(15,E,3,5,"mat-checkbox",5),e.YNc(16,h,1,2,"perun-web-apps-group-search-select",6),e.qZA()),2&J&&(e.xp6(3),e.s9C("placeholder",e.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),e.Q6J("formControl",ue.nameControl),e.xp6(3),e.hij(" ",ue.invalidNameMessage.length?ue.invalidNameMessage:e.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),e.xp6(4),e.s9C("placeholder",e.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),e.Q6J("formControl",ue.descriptionControl),e.xp6(3),e.hij(" ",e.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),e.xp6(2),e.Q6J("ngIf",ue.isNotSubGroup),e.xp6(1),e.Q6J("ngIf",ue.asSubgroup))},directives:[T.KE,m.Nt,f.Fj,f.Q7,f.JJ,f.oH,T.TO,A.O5,s.oG,f.On,b.h],pipes:[O.X$],styles:[""]}),L})()},39798:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>s});var e=d(5e3),f=d(67322),g=d(98833),T=d(86856),m=d(93075),A=d(51062);let s=(()=>{class b{constructor(){this.datePicker=new e.vpe}ngOnInit(){this.startMinDate=new Date(2e3,0,1),this.endMaxDate=new Date,this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}dateChange(){this.datePicker.emit(),this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"mr-2",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(E,h){if(1&E){const k=e.EpF();e.TgZ(0,"mat-form-field",0),e.NdJ("click",function(){return e.CHM(k),e.MAs(7).open()}),e.TgZ(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(5,"mat-datepicker-toggle",2),e._UZ(6,"mat-datepicker",null,3),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("click",function(){return e.CHM(k),e.MAs(15).open()}),e.TgZ(9,"mat-label"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",2),e._UZ(14,"mat-datepicker",null,5),e.qZA()}if(2&E){const k=e.MAs(7),L=e.MAs(15);e.xp6(2),e.Oqu(e.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),e.xp6(2),e.Q6J("matDatepicker",k)("min",h.startMinDate)("max",h.startMaxDate)("formControl",h.startDate),e.xp6(1),e.Q6J("for",k),e.xp6(5),e.Oqu(e.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),e.xp6(2),e.Q6J("matDatepicker",L)("min",h.endMinDate)("max",h.endMaxDate)("formControl",h.endDate),e.xp6(1),e.Q6J("for",L)}},directives:[f.KE,f.hX,g.Nt,T.hl,m.Fj,m.JJ,m.oH,T.nW,f.R9,T.Mq],pipes:[A.X$],styles:[""]}),b})()},64901:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>E});var e=d(5e3),f=d(23753),g=d(24850),T=d(80013),m=d(75778),A=d(67322),s=d(98833),b=d(51062);const O=["groupFilterInput"];let E=(()=>{class h{constructor(){this.filter=new e.vpe}ngOnInit(){(0,f.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,g.U)(L=>L.target.value),(0,T.b)(500),(0,m.x)()).subscribe(L=>{this.filter.emit(L)})}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(L,Y){if(1&L&&e.Gf(O,7),2&L){let J;e.iGM(J=e.CRH())&&(Y.groupFilterInput=J.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(L,Y){1&L&&(e.TgZ(0,"mat-form-field",0),e._UZ(1,"input",1,2),e.ALo(3,"translate"),e.qZA()),2&L&&(e.xp6(1),e.s9C("placeholder",e.lcZ(3,1,Y.placeholder)))},directives:[A.KE,s.Nt],pipes:[b.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),h})()},42377:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>Le});var e=d(5e3),f=d(93075),g=d(96831),T=d(8929),m=d(7625),A=d(67322),s=d(74107),b=d(69808),O=d(90508),E=d(43586),h=d(53435);const k=["scrollViewport"];function L(de,ke){if(1&de&&(e.TgZ(0,"mat-select-trigger"),e._uU(1),e.qZA()),2&de){const ae=e.oxw();e.xp6(1),e.hij(" ",ae.multipleSelectedText()," ")}}function Y(de,ke){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const ae=e.oxw(2);e.Tol(ae.colorByStatus(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)),e.xp6(1),e.hij(" ",ae.statusTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)?"("+ae.statusTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)+")":""," ")}}function J(de,ke){if(1&de&&(e.TgZ(0,"mat-option",8),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,Y,2,4,"span",10),e.qZA()),2&de){const ae=e.oxw();e.Q6J("value",null==ae.entitiesCtrl?null:ae.entitiesCtrl.value),e.xp6(1),e.hij(" ",ae.mainTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)," "),e.xp6(2),e.Oqu(ae.secondaryTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)),e.xp6(1),e.Q6J("ngIf",ae.displayStatus)}}function ue(de,ke){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const ae=e.oxw().$implicit,V=e.oxw();e.Tol(V.colorByStatus(ae)),e.xp6(1),e.hij(" ",V.statusTextFunction(ae)?"("+V.statusTextFunction(ae)+")":""," ")}}function ce(de,ke){if(1&de&&(e.TgZ(0,"mat-option",11),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,ue,2,4,"span",10),e.qZA()),2&de){const ae=ke.$implicit,V=e.oxw();e.Tol(V.theme),e.Q6J("value",ae),e.xp6(1),e.hij(" ",V.mainTextFunction(ae)," "),e.xp6(2),e.Oqu(V.secondaryTextFunction(ae)),e.xp6(1),e.Q6J("ngIf",V.displayStatus)}}let Le=(()=>{class de{constructor(ae){this.cd=ae,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.displayStatus=!1,this.multiple=!1,this.theme="",this.entitySelected=new e.vpe,this.entitiesCtrl=new f.NI,this.entityFilterCtrl=new f.NI,this.filteredEntities=new g.t(1),this.entitiesLen=0,this._onDestroy=new T.xQ,this.mainTextFunction=V=>JSON.stringify(V),this.secondaryTextFunction=V=>"#"+V.id+(V.description?" "+V.description:""),this.statusTextFunction=V=>V.status}ngOnInit(){this.entitiesCtrl.valueChanges.subscribe(ae=>this.entitySelected.emit(ae)),!this.disableAutoSelect&&null===this.entity&&this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(ae=>this.entitiesLen=ae.length),this.entityFilterCtrl.valueChanges.pipe((0,m.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}colorByStatus(ae){switch(ae.status){case"ACTIVE":return"green";case"INACTIVE":return"grey";case"FAILED":return"red";case"PROCESSING":return"black"}}ngOnChanges(ae){null!==this.entity&&this.entitiesCtrl.setValue(this.entity),ae.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterEntites(){if(!this.entities)return;let ae=this.entityFilterCtrl.value;if(!ae)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();ae=this.normalize(ae),this.filteredEntities.next(this.entities.filter(V=>this.normalize(this.searchFunction(V)).indexOf(ae)>=0)),this.cd.detectChanges()}normalize(ae){return ae.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let ae=48*this.entitiesLen;return ae>192&&(ae=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),ae}multipleSelectedText(){if(this.entitiesCtrl.value&&0!==this.entitiesCtrl.value.length)return this.entitiesCtrl.value.length===this.entities.length?"ALL":this.entitiesCtrl.value.length>1?this.mainTextFunction(this.entitiesCtrl.value[0])+` + ${this.entitiesCtrl.value.length-1} other(s)`:this.mainTextFunction(this.entitiesCtrl.value[0])+" "+this.secondaryTextFunction(this.entitiesCtrl.value[0])}}return de.\u0275fac=function(ae){return new(ae||de)(e.Y36(e.sBO))},de.\u0275cmp=e.Xpm({type:de,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(ae,V){if(1&ae&&e.Gf(k,5),2&ae){let H;e.iGM(H=e.CRH())&&(V.scrollViewport=H.first)}},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",displayStatus:"displayStatus",multiple:"multiple",theme:"theme",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[e.TTD],decls:10,vars:16,consts:[[1,"w-100"],[3,"placeholder","formControl","multiple","openedChange"],[4,"ngIf"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"class","value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted"],[3,"class",4,"ngIf"],[3,"value"]],template:function(ae,V){1&ae&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"mat-select",1),e.NdJ("openedChange",function(){return V.openChange()}),e.YNc(2,L,2,1,"mat-select-trigger",2),e.TgZ(3,"mat-option"),e._UZ(4,"ngx-mat-select-search",3),e.qZA(),e.YNc(5,J,5,4,"mat-option",4),e.TgZ(6,"cdk-virtual-scroll-viewport",5,6),e.YNc(8,ce,5,7,"mat-option",7),e.ALo(9,"async"),e.qZA(),e.qZA(),e.qZA()),2&ae&&(e.xp6(1),e.s9C("placeholder",V.selectPlaceholder),e.Q6J("formControl",V.entitiesCtrl)("multiple",V.multiple),e.xp6(1),e.Q6J("ngIf",V.multiple),e.xp6(2),e.s9C("placeholderLabel",V.findPlaceholder),e.s9C("noEntriesFoundLabel",V.noEntriesText),e.Q6J("clearSearchInput",!1)("formControl",V.entityFilterCtrl),e.xp6(1),e.Q6J("ngIf",null==V.entitiesCtrl?null:V.entitiesCtrl.value),e.xp6(1),e.Udp("height",V.getViewportHeight(),"px"),e.Q6J("minBufferPx",240)("maxBufferPx",480),e.xp6(2),e.Q6J("cdkVirtualForOf",e.lcZ(9,14,V.filteredEntities)))},directives:[A.KE,s.gD,f.JJ,f.oH,b.O5,s.$L,O.ey,E.nu,h.N7,h.xd,h.x0],pipes:[b.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}.green[_ngcontent-%COMP%]{color:green}.grey[_ngcontent-%COMP%]{color:gray}.red[_ngcontent-%COMP%]{color:red}.black[_ngcontent-%COMP%]{color:#000}"]}),de})()},74010:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>he});var e=d(84847),f=d(32075),g=d(9244),T=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),O=d(93075),E=d(69808),h=d(29772),k=d(47423),L=d(25245);function Y(D,S){if(1&D&&(m.TgZ(0,"div",6),m._uU(1),m.qZA()),2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.hij(" ",I[P.paramName]," ")}}function J(D,S){1&D&&(m.TgZ(0,"mat-icon"),m._uU(1,"more_horiz"),m.qZA())}function ue(D,S){1&D&&(m.TgZ(0,"mat-icon"),m._uU(1,"keyboard_arrow_up"),m.qZA())}function ce(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(I),m.oxw().onShowChange()}),m.YNc(1,J,2,0,"mat-icon",8),m.YNc(2,ue,2,0,"mat-icon",8),m.qZA()}if(2&D){const I=m.oxw();m.xp6(1),m.Q6J("ngIf",!I.showMore),m.xp6(1),m.Q6J("ngIf",I.showMore)}}let Le=(()=>{class D{constructor(){this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}ngOnInit(){this.itemsShown=this.defaultItemsShown}ngOnChanges(){this.itemsShown=this.defaultItemsShown,this.showMore=!1}onShowChange(){this.showMore=!this.showMore,this.itemsShown=this.showMore?this.objects.length:this.defaultItemsShown}}return D.\u0275fac=function(I){return new(I||D)},D.\u0275cmp=m.Xpm({type:D,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[m.TTD],decls:7,vars:4,consts:[[1,"d-flex","w-100"],[1,"w-100"],[1,"mr-5"],["class","d-flex mb-1",4,"ngFor","ngForOf"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"d-flex","mb-1"],["mat-icon-button","",3,"click"],[4,"ngIf"]],template:function(I,P){1&I&&(m.TgZ(0,"form",0),m.TgZ(1,"div",1),m.TgZ(2,"div",2),m.YNc(3,Y,2,1,"div",3),m.qZA(),m.TgZ(4,"div"),m.TgZ(5,"span",4),m.YNc(6,ce,3,2,"button",5),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&I&&(m.xp6(3),m.Q6J("ngForOf",P.objects.slice(0,P.itemsShown)),m.xp6(2),m.Q6J("matTooltip",P.showMore?"Show less":"Show more")("matTooltipPosition","above"),m.xp6(1),m.Q6J("ngIf",P.objects.length>P.defaultItemsShown))},directives:[O._Y,O.JL,O.F,E.sg,h.gM,E.O5,k.lW,L.Hw],styles:[""]}),D})();var de=d(50301),ke=d(30325),ae=d(98380),V=d(51062),H=d(53561);let X=(()=>{class D{transform(I,P,i){return I.filter(r=>r[i].includes(P)).filter((r,p,o)=>o.findIndex(t=>t[i]===r[i])===p)}}return D.\u0275fac=function(I){return new(I||D)},D.\u0275pipe=m.Yjl({name:"filterUniqueObjects",type:D,pure:!0}),D})();function ie(D,S){1&D&&m._UZ(0,"th",20)}function oe(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",21),m.TgZ(1,"mat-checkbox",22),m.NdJ("change",function(i){const p=m.CHM(I).$implicit,o=m.oxw();return i?o.selection.toggle(p):null})("click",function(i){return i.stopPropagation()}),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q2q("data-cy","",I.facility.name,"-checkbox"),m.Q6J("aria-label",P.checkboxLabel(I))("checked",P.selection.isSelected(I))}}function ge(D,S){1&D&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")," "))}function Ne(D,S){if(1&D&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.hij(" ",I.facility.id," ")}}function Fe(D,S){1&D&&m._UZ(0,"th",25)}function se(D,S){if(1&D&&(m.TgZ(0,"td",26),m._UZ(1,"perun-web-apps-recently-viewed-icon",27),m.qZA()),2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("id",I.facility.id)("recentIds",P.recentIds)}}function Me(D,S){1&D&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")," "))}function ve(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.uIk("data-cy",I.facility.name),m.xp6(1),m.hij(" ",I.facility.name," ")}}function me(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")," "))}function Te(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.Oqu(I.facility.description)}}function te(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")," "))}function R(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.ALo(2,"technicalOwners"),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,I.owners))}}function Oe(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")," "))}function Ie(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(I),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(I),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,I.destinations,P.filterValue,"destination"))("paramName","destination")}}function He(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")," "))}function fe(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(I),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(I),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,I.hosts,P.filterValue,"hostname"))("paramName","hostname")}}function Ce(D,S){1&D&&m._UZ(0,"tr",29)}const Ye=function(D){return["/facilities",D]},Xe=function(){return[]};function tt(D,S){if(1&D&&m._UZ(0,"tr",30),2&D){const I=S.$implicit,P=m.oxw();m.Q6J("perunWebAppsMiddleClickRouterLink",m.VKq(2,Ye,I.facility.id))("routerLink",P.disableRouting?m.DdM(4,Xe):m.VKq(5,Ye,I.facility.id))}}function at(D,S){1&D&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function N(D,S){1&D&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let he=(()=>{class D{constructor(I){this.authResolver=I,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=g.f7}set matSort(I){this.sort=I}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(I=>"id"!==I)),this.setDataSource()}getDataForColumn(I,P,i){switch(P){case"id":return I.facility.id.toString();case"name":return I.facility.name;case"description":return I.facility.description;case"technicalOwners":return(0,g.te)(I.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(I.facility.id)>-1?"#".repeat(i.recentIds.indexOf(I.facility.id)):I.name;case"destinations":return I.destinations.map(r=>r.destination).join(" ; ");case"hosts":return I.hosts.map(r=>r.hostname).join(" ; ");default:return I[P]}}exportData(I){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),I)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(I,P)=>(0,g.Sd)(I,P,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(I,P)=>(0,g.pR)(I,P,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(I=>this.selection.select(I))}checkboxLabel(I){return I?`${this.selection.isSelected(I)?"deselect":"select"} row ${I.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return D.\u0275fac=function(I){return new(I||D)(m.Y36(T.x4))},D.\u0275cmp=m.Xpm({type:D,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(I,P){if(1&I&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&I){let i;m.iGM(i=m.CRH())&&(P.matSort=i.first),m.iGM(i=m.CRH())&&(P.child=i.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},features:[m.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"id","recentIds"],[3,"objects","paramName","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(I,P){1&I&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(r){return P.exportData(r)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,ie,1,0,"th",4),m.YNc(5,oe,2,3,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,ge,3,3,"th",7),m.YNc(8,Ne,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Fe,1,0,"th",10),m.YNc(11,se,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,Me,3,3,"th",7),m.YNc(14,ve,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,me,3,3,"th",10),m.YNc(17,Te,2,1,"td",11),m.BQk(),m.ynx(18,14),m.YNc(19,te,3,3,"th",10),m.YNc(20,R,3,3,"td",11),m.BQk(),m.ynx(21,15),m.YNc(22,Oe,3,3,"th",10),m.YNc(23,Ie,3,6,"td",11),m.BQk(),m.ynx(24,16),m.YNc(25,He,3,3,"th",10),m.YNc(26,fe,3,6,"td",11),m.BQk(),m.YNc(27,Ce,1,0,"tr",17),m.YNc(28,tt,1,7,"tr",18),m.qZA(),m.qZA(),m.qZA(),m.YNc(29,at,3,3,"app-alert",19),m.YNc(30,N,3,3,"app-alert",19)),2&I&&(m.Q6J("hidden",!P.dataSource||0===P.dataSource.filteredData.length||0===P.facilities.length),m.xp6(1),m.Q6J("tableId",P.tableId)("dataLength",P.dataSource.filteredData.length)("pageSizeOptions",P.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",P.dataSource),m.xp6(25),m.Q6J("matHeaderRowDef",P.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",P.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===P.dataSource.filteredData.length&&0!==P.facilities.length),m.xp6(1),m.Q6J("ngIf",0===P.facilities.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,Le,f.as,f.XQ,f.nj,f.Gk,de.YH,ke.rH,E.O5,ae.w],pipes:[V.X$,H.J,X],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),D})()},13449:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>ae});var e=d(5e3),f=d(36908),g=d(69808),T=d(47423),m=d(69287),A=d(29772),s=d(25245),b=d(92181),O=d(51062),E=d(45942),h=d(29218),k=d(28764);function L(V,H){if(1&V){const X=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.ALo(2,"groupSyncToolTip"),e.TgZ(3,"button",6),e.NdJ("click",function(){return e.CHM(X),e.oxw(2).onSyncDetail()}),e.ALo(4,"groupSyncIcon"),e.TgZ(5,"mat-icon"),e.ALo(6,"groupSyncIconColor"),e._uU(7),e.ALo(8,"groupSyncIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&V){const X=e.oxw(2);e.Q6J("matTooltipPosition","above")("matTooltip",e.lcZ(1,7,e.lcZ(2,9,X.group))),e.xp6(3),e.Q6J("disabled","sync_disabled"===e.lcZ(4,11,X.group)),e.xp6(2),e.Tol(e.lcZ(6,13,X.group)),e.xp6(2),e.hij(" ",e.lcZ(8,15,X.group)," ")}}function Y(V,H){if(1&V){const X=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(X),e.oxw(2).onMoveGroup()}),e.TgZ(3,"mat-icon"),e._uU(4,"arrow_right_alt"),e.qZA(),e.qZA(),e.qZA()}if(2&V){const X=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",X.disabled)}}function J(V,H){if(1&V){const X=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(X),e.oxw(2).onChangeNameDescription()}),e.TgZ(3,"mat-icon"),e._uU(4,"text_format"),e.qZA(),e.qZA(),e.qZA()}if(2&V){const X=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",X.disabled)}}function ue(V,H){if(1&V&&(e.TgZ(0,"div",2),e.TgZ(1,"button",3),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4," file_copy "),e.qZA(),e.qZA(),e.YNc(5,L,9,17,"span",4),e.YNc(6,Y,5,5,"span",4),e.YNc(7,J,5,5,"span",4),e.qZA()),2&V){const X=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.Q6J("cdkCopyToClipboard",X.group.name)("matTooltipPosition","above"),e.xp6(4),e.Q6J("ngIf",X.syncAuth),e.xp6(1),e.Q6J("ngIf",X.moveAuth),e.xp6(1),e.Q6J("ngIf",X.editAuth)}}function ce(V,H){if(1&V){const X=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(X),e.oxw(2).onSyncDetail()}),e.ALo(1,"groupSyncIcon"),e.TgZ(2,"mat-icon"),e.ALo(3,"groupSyncIconColor"),e._uU(4),e.ALo(5,"groupSyncIcon"),e.qZA(),e.TgZ(6,"span"),e._uU(7),e.ALo(8,"translate"),e.ALo(9,"groupSyncToolTip"),e.qZA(),e.qZA()}if(2&V){const X=e.oxw(2);e.Q6J("disabled","sync_disabled"===e.lcZ(1,6,X.group)),e.xp6(2),e.Tol(e.lcZ(3,8,X.group)),e.xp6(2),e.hij(" ",e.lcZ(5,10,X.group)," "),e.xp6(3),e.Oqu(e.lcZ(8,12,e.lcZ(9,14,X.group)))}}function Le(V,H){if(1&V){const X=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(X),e.oxw(2).onMoveGroup()}),e.TgZ(1,"mat-icon"),e._uU(2,"arrow_right_alt"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&V){const X=e.oxw(2);e.Q6J("disabled",X.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function de(V,H){if(1&V){const X=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(X),e.oxw(2).onChangeNameDescription()}),e.TgZ(1,"mat-icon"),e._uU(2,"text_format"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&V){const X=e.oxw(2);e.Q6J("disabled",X.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function ke(V,H){if(1&V&&(e.TgZ(0,"div"),e.TgZ(1,"button",7),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,8),e.TgZ(6,"button",9),e.TgZ(7,"mat-icon"),e._uU(8," file_copy "),e.qZA(),e.TgZ(9,"span"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.qZA(),e.YNc(12,ce,10,16,"button",10),e.YNc(13,Le,6,4,"button",10),e.YNc(14,de,6,4,"button",10),e.qZA(),e.qZA()),2&V){const X=e.MAs(5),ie=e.oxw();e.xp6(1),e.Q6J("mat-menu-trigger-for",X),e.xp6(5),e.Q6J("cdkCopyToClipboard",ie.group.name),e.xp6(4),e.Oqu(e.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.xp6(2),e.Q6J("ngIf",ie.syncAuth),e.xp6(1),e.Q6J("ngIf",ie.moveAuth),e.xp6(1),e.Q6J("ngIf",ie.editAuth)}}let ae=(()=>{class V{constructor(X){this.authResolver=X,this.disabled=!1,this.moveGroup=new e.vpe,this.syncGroup=new e.vpe,this.changeNameDescription=new e.vpe}ngOnInit(){this.syncAuth=this.authResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group]),this.editAuth=this.authResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.moveAuth=this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.group])||this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.group])}onMoveGroup(){this.moveGroup.emit()}onSyncDetail(){this.syncGroup.emit()}onChangeNameDescription(){this.changeNameDescription.emit()}}return V.\u0275fac=function(X){return new(X||V)(e.Y36(f.x4))},V.\u0275cmp=e.Xpm({type:V,selectors:[["perun-web-apps-group-menu"]],inputs:{group:"group",disabled:"disabled",displayButtons:"displayButtons"},outputs:{moveGroup:"moveGroup",syncGroup:"syncGroup",changeNameDescription:"changeNameDescription"},decls:2,vars:2,consts:[["class","buttons-container",4,"ngIf"],[4,"ngIf"],[1,"buttons-container"],["mat-icon-button","",1,"ml-auto","horiz_right",3,"cdkCopyToClipboard","matTooltipPosition","matTooltip"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"mat-menu-trigger-for"],["groupMenu","matMenu"],["mat-menu-item","",3,"cdkCopyToClipboard"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"disabled","click"]],template:function(X,ie){1&X&&(e.YNc(0,ue,8,8,"div",0),e.YNc(1,ke,15,8,"div",1)),2&X&&(e.Q6J("ngIf",ie.displayButtons),e.xp6(1),e.Q6J("ngIf",!ie.displayButtons))},directives:[g.O5,T.lW,m.i3,A.gM,s.Hw,b.p6,b.VK,b.OP],pipes:[O.X$,E.r,h.J,k.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),V})()},8223:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>L});var e=d(5e3),f=d(9244),g=d(84379),T=d(48966),m=d(69808),A=d(29772),s=d(25245),b=d(51062);function O(Y,J){if(1&Y){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",4),e._uU(3,"check_circle_outline"),e.qZA(),e.qZA()}2&Y&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function E(Y,J){if(1&Y){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",5),e._uU(3,"block"),e.qZA(),e.qZA()}2&Y&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function h(Y,J){if(1&Y){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",6),e._uU(3,"report"),e.qZA(),e.qZA()}if(2&Y){const ue=e.oxw();e.hYB("matTooltip","",e.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",ue.failureCause,"")}}function k(Y,J){1&Y&&(e.TgZ(0,"span",7),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",8),e._uU(3,"autorenew"),e.qZA(),e.qZA()),2&Y&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let L=(()=>{class Y{constructor(ue){this.dialog=ue,this.status="",this.statusChange=new e.vpe}changeStatus(){const ue=(0,f.kZ)();ue.width="500px",ue.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(g.Qu,ue).afterClosed().subscribe(Le=>{Le&&this.statusChange.emit()})}}return Y.\u0275fac=function(ue){return new(ue||Y)(e.Y36(T.uw))},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(ue,ce){1&ue&&(e.TgZ(0,"div",0),e.YNc(1,O,4,3,"span",1),e.YNc(2,E,4,3,"span",1),e.YNc(3,h,4,4,"span",1),e.YNc(4,k,4,3,"span",2),e.qZA()),2&ue&&(e.xp6(1),e.Q6J("ngIf","ACTIVE"===ce.status),e.xp6(1),e.Q6J("ngIf","INACTIVE"===ce.status),e.xp6(1),e.Q6J("ngIf","FAILED"===ce.status),e.xp6(1),e.Q6J("ngIf","PROCESSING"===ce.status))},directives:[m.O5,A.gM,s.Hw],pipes:[b.X$],styles:[""]}),Y})()},82322:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>m});var e=d(5e3),f=d(9244),g=d(42377),T=d(51062);let m=(()=>{class A{constructor(){this.groupSelected=new e.vpe,this.disableAutoSelect=!1,this.displayStatus=!1,this.nameFunction=b=>b.name}ngOnInit(){this.groups=this.groups.sort(f.aC)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup",displayStatus:"displayStatus"},outputs:{groupSelected:"groupSelected"},decls:4,vars:15,consts:[[1,"long-input",3,"entities","entity","displayStatus","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,O){if(1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return O.groupSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b){let E;e.Q6J("entities",O.groups)("entity",null!==(E=O.firstSelectedGroup)&&void 0!==E?E:null)("displayStatus",O.displayStatus)("disableAutoSelect",O.disableAutoSelect)("mainTextFunction",O.nameFunction)("searchFunction",O.nameFunction)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))}},directives:[g.i],pipes:[T.X$],styles:[""]}),A})()},24179:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>c});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9315),A=d(9244),s=d(84379),b=d(36908),O=d(69808),E=d(48966),h=d(18750),k=d(77446),L=d(29772),Y=d(10441),J=d(25245),ue=d(8223),ce=d(47423),Le=d(13449),de=d(50301),ke=d(30325),ae=d(98380),V=d(51062),H=d(69773),X=d(21757),ie=d(62383);let oe=(()=>{class u{transform(M){const j=M.attributes.find(Ve=>"groupMembershipExpiration"===Ve.baseFriendlyName);return j&&j.value?j.value:"Never"}}return u.\u0275fac=function(M){return new(M||u)},u.\u0275pipe=e.Yjl({name:"groupExpiration",type:u,pure:!0}),u})();function ge(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"mat-checkbox",26),e.NdJ("change",function(Ve){e.CHM(M);const nt=e.oxw(2);return Ve?nt.masterToggle():null}),e.qZA()}if(2&u){const M=e.oxw(2);e.Q6J("aria-label",M.checkboxLabel())("checked",M.selection.hasValue()&&M.isAllSelected())("indeterminate",M.selection.hasValue()&&!M.isAllSelected())}}function Ne(u,y){if(1&u&&(e.TgZ(0,"th",24),e.YNc(1,ge,1,3,"mat-checkbox",25),e.qZA()),2&u){const M=e.oxw();e.xp6(1),e.Q6J("ngIf",!M.disableHeadCheckbox)}}function Fe(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",27),e.TgZ(1,"span",28),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",29),e.NdJ("change",function(Ve){const Mt=e.CHM(M).$implicit,zt=e.oxw();return Ve?zt.itemSelectionToggle(Mt):null})("click",function(Ve){return Ve.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,j.getCheckboxTooltipMessage(M))),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!j.disableSelect(M)),e.xp6(2),e.Q2q("data-cy","",M.name,"-checkbox"),e.Q6J("aria-label",j.checkboxLabel(M))("checked",j.selection.isSelected(M))("disabled","members"===M.name&&j.disableMembers||j.disableSelect(M))}}function se(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")," "))}function Me(u,y){if(1&u&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Oqu(M.id)}}function ve(u,y){1&u&&e._UZ(0,"th",32)}function me(u,y){if(1&u&&(e.TgZ(0,"td",33),e._UZ(1,"perun-web-apps-recently-viewed-icon",34),e.qZA()),2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.Q6J("recentIds",j.recentIds)("id",M.id)}}function Te(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")," "))}function te(u,y){if(1&u&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.hij(" ",j.voNames.get(M.voId)," ")}}function R(u,y){1&u&&e._UZ(0,"th",32)}function Oe(u,y){1&u&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&u&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP"))}function Ie(u,y){1&u&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"alt_route"),e.qZA()),2&u&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.MULTIPLE_ASSIGNMENTS"))}function He(u,y){if(1&u&&(e.TgZ(0,"td",33),e.YNc(1,Oe,3,3,"mat-icon",35),e.YNc(2,Ie,3,3,"mat-icon",35),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Q6J("ngIf",M.sourceGroupId&&!M.moreTypesOfAssignment),e.xp6(1),e.Q6J("ngIf",M.moreTypesOfAssignment)}}function fe(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")," "))}function Ce(u,y){if(1&u&&(e.TgZ(0,"td",33),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.uIk("data-cy",M.name),e.xp6(1),e.hij(" ",M.name," ")}}function Ye(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function Xe(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",37),e.TgZ(1,"perun-web-apps-group-resource-status",38),e.NdJ("mouseenter",function(){return e.CHM(M),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(M);const Ve=e.oxw();return Ve.disabledRouting=Ve.disableRouting})("statusChange",function(){return e.CHM(M),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.Q6J("theme","resource-theme")("groupId",M.id)("resourceId",j.resourceId)("failureCause",M.failureCause)("status",M.status)}}function tt(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function at(u,y){if(1&u&&(e.TgZ(0,"td",33),e.TgZ(1,"i",39),e.ALo(2,"memberStatusIconColor"),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()),2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,j.getStatusAttribute(M)),""),e.s9C("matTooltip",j.getStatusAttribute(M)),e.xp6(3),e.hij(" ",e.lcZ(5,7,j.getStatusAttribute(M))," ")}}function N(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")," "))}function he(u,y){if(1&u&&(e.TgZ(0,"td",37),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Oqu(M.description)}}function D(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")," "))}function S(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(M);const Ve=e.oxw().$implicit;return e.oxw().changeExpiration(Ve)})("mouseenter",function(){return e.CHM(M),e.oxw(2).disabledRouting=!0})("mouseleave",function(){e.CHM(M);const Ve=e.oxw(2);return Ve.disabledRouting=Ve.disableRouting}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.qZA()}}function I(u,y){if(1&u&&(e.TgZ(0,"td",37),e._uU(1),e.ALo(2,"parseDate"),e.ALo(3,"groupExpiration"),e.YNc(4,S,3,0,"button",40),e.qZA()),2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,e.lcZ(3,4,M))," "),e.xp6(3),e.Q6J("ngIf",j.canManageGroup(M))}}function P(u,y){1&u&&e._UZ(0,"th",32)}function i(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",33),e.TgZ(1,"perun-web-apps-group-menu",42),e.NdJ("mouseenter",function(){return e.CHM(M),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(M);const Ve=e.oxw();return Ve.disabledRouting=Ve.disableRouting})("moveGroup",function(){const nt=e.CHM(M).$implicit;return e.oxw().onMoveGroup(nt)})("changeNameDescription",function(){const nt=e.CHM(M).$implicit;return e.oxw().onChangeNameDescription(nt)})("syncGroup",function(){const nt=e.CHM(M).$implicit;return e.oxw().onSyncDetail(nt)}),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,j=e.oxw();e.xp6(1),e.Q6J("disabled","members"===M.name)("displayButtons",j.displayButtons)("group",M)}}function r(u,y){1&u&&e._UZ(0,"tr",43)}const p=function(u,y){return["/organizations",u,"groups",y]};function o(u,y){if(1&u&&e._UZ(0,"tr",44),2&u){const M=y.$implicit,j=e.oxw();e.ekj("cursor-pointer",!j.disableRouting&&!j.groupsToDisableRouting.has(M.id))("disable-outline",j.disabledRouting||j.groupsToDisableRouting.has(M.id)),e.Q6J("perunWebAppsMiddleClickRouterLink",j.disabledRouting||j.groupsToDisableRouting.has(M.id)?null:e.WLB(6,p,M.voId,M.id))("routerLink",j.disabledRouting||j.groupsToDisableRouting.has(M.id)?null:e.WLB(9,p,M.voId,M.id))}}function t(u,y){1&u&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function n(u,y){1&u&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let c=(()=>{class u{constructor(M,j,Ve,nt,Mt){this.dialog=M,this.authResolver=j,this.voService=Ve,this.tableCheckbox=nt,this.changeDetector=Mt,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new e.vpe,this.groups=[],this.selection=new T.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","indirectGroupAssigment","name","status","groupStatus","description","expiration","menu"],this.groupsToDisableCheckbox=new Set,this.groupsToDisableRouting=new Set,this.filter="",this.disableRouting=!1,this.pageSizeOptions=A.f7,this.recentIds=[],this.resourceId=null,this.refreshTable=new e.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=zt=>!("members"===zt.name&&this.disableMembers||this.disableSelect(zt))}set matSort(M){this.sort=M}shouldHideButtons(){this.displayButtons=window.innerWidth>800}ngOnChanges(){this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}checkIfHasMembersGroup(){for(const M of this.groups)if("members"===M.name)return!0;return!1}getDataForColumn(M,j,Ve){switch(j){case"id":return M.id.toString();case"vo":return Ve.voNames.get(M.voId);case"name":return M.name;case"description":return M.description;case"expiration":{const nt=(0,A.x2)(M);return(0,A.sG)(nt)}case"recent":return"";case"status":return M.status;case"uuid":return M.uuid;default:return M[j]}}getSortDataForColumn(M,j,Ve){switch(j){case"id":return M.id.toString();case"vo":return Ve.voNames.get(M.voId);case"name":return M.name;case"description":return M.description;case"expiration":{const nt=(0,A.x2)(M);return nt&&"never"!==nt.toLowerCase()?(0,O.p6)(nt,"yyyy.MM.dd","en"):nt}case"recent":return Ve.recentIds&&Ve.recentIds.indexOf(M.id)>-1?"#".repeat(Ve.recentIds.indexOf(M.id)):M.name;case"status":return M.status;default:return M[j]}}exportData(M){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),M)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(M,j)=>(0,A.Sd)(M,j,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(M,j)=>(0,A.pR)(M,j,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}checkboxLabel(M){return M?`${this.selection.isSelected(M)?"deselect":"select"} row ${M.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(M){return this.disableGroups&&(this.groupsToDisableCheckbox.has(M.id)||this.isSynchronized(M))}ngAfterViewInit(){void 0===this.vo&&0!==this.groups.length&&(this.vo={id:this.groups[0].voId,beanName:"Vo"}),this.shouldHideButtons(),this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(M=>"id"!==M),this.changeDetector.detectChanges())}onMoveGroup(M){this.moveGroup.emit(M)}onSyncDetail(M){const j=(0,A.kZ)();j.data={groupId:M.id,theme:this.theme},this.dialog.open(s.Bp,j)}onChangeNameDescription(M){const j=(0,A.kZ)();j.data={theme:"group-theme",group:M,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,j).afterClosed().subscribe(nt=>{nt&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((M,j)=>M&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[j]),!0):"group-relations"===this.authType?this.selection.selected.reduce((M,j)=>M&&this.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[this.parentGroup,j]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((M,j)=>M&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,j]),!0):"member-groups"===this.authType?this.selection.selected.reduce((M,j)=>M&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[j]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((M,j)=>M&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,j]),!0):void 0}itemSelectionToggle(M){this.selection.toggle(M),this.removeAuth=this.setAuth()}isSynchronized(M){return!!M.attributes&&M.attributes.some(j=>"synchronizationEnabled"===j.friendlyName&&null!==j.value&&"true"===j.value.toString())}getCheckboxTooltipMessage(M){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(M)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":M.sourceGroupId?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}updateVoNames(){this.displayedColumns.includes("vo")&&(this.groups.forEach(M=>{this.voIds.has(M.voId)||this.voIds.add(M.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(M=>{M.forEach(j=>{this.voNames.set(j.id,j.name)})}))}changeExpiration(M){const j=M.attributes.find(Mt=>"groupMembershipExpiration"===Mt.baseFriendlyName),Ve=(0,A.kZ)();Ve.width="400px",Ve.data={memberId:this.memberId,groupId:M.id,expirationAttr:j,mode:"group",status:this.memberGroupStatus},this.dialog.open(s.u3,Ve).afterClosed().subscribe(Mt=>{Mt&&this.refreshTable.emit()})}canManageGroup(M){return this.authResolver.isThisGroupAdmin(M.id)||this.authResolver.isThisVoAdmin(M.voId)}getStatusAttribute(M){return M.attributes.find(j=>"groupStatus"===j.baseFriendlyName).value.toString()}}return u.\u0275fac=function(M){return new(M||u)(e.Y36(E.uw),e.Y36(b.x4),e.Y36(m.YF),e.Y36(b.UA),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(M,j){if(1&M&&(e.Gf(f.YE,7),e.Gf(A.l9,7)),2&M){let Ve;e.iGM(Ve=e.CRH())&&(j.matSort=Ve.first),e.iGM(Ve=e.CRH())&&(j.child=Ve.first)}},hostBindings:function(M,j){1&M&&e.NdJ("resize",function(nt){return j.shouldHideButtons(nt)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisableCheckbox:"groupsToDisableCheckbox",groupsToDisableRouting:"groupsToDisableRouting",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId",tableId:"tableId"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:40,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","indirectGroupAssigment"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(M,j){1&M&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(nt){return j.exportData(nt)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Ne,2,1,"th",4),e.YNc(5,Fe,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,se,3,3,"th",7),e.YNc(8,Me,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ve,1,0,"th",10),e.YNc(11,me,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,Te,3,3,"th",7),e.YNc(14,te,2,1,"td",8),e.BQk(),e.ynx(15,13),e.YNc(16,R,1,0,"th",10),e.YNc(17,He,3,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,fe,3,3,"th",7),e.YNc(20,Ce,2,2,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,Ye,3,3,"th",7),e.YNc(23,Xe,2,5,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,tt,3,3,"th",7),e.YNc(26,at,6,9,"td",11),e.BQk(),e.ynx(27,18),e.YNc(28,N,3,3,"th",7),e.YNc(29,he,2,1,"td",16),e.BQk(),e.ynx(30,19),e.YNc(31,D,3,3,"th",7),e.YNc(32,I,5,6,"td",16),e.BQk(),e.ynx(33,20),e.YNc(34,P,1,0,"th",10),e.YNc(35,i,2,3,"td",11),e.BQk(),e.YNc(36,r,1,0,"tr",21),e.YNc(37,o,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(38,t,3,3,"app-alert",23),e.YNc(39,n,3,3,"app-alert",23)),2&M&&(e.Q6J("hidden",0===j.groups.length||!j.dataSource||0===j.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",j.dataSource.filteredData.length)("pageSizeOptions",j.pageSizeOptions)("tableId",j.tableId),e.xp6(1),e.Q6J("dataSource",j.dataSource),e.xp6(34),e.Q6J("matHeaderRowDef",j.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",j.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===j.groups.length),e.xp6(1),e.Q6J("ngIf",0===j.dataSource.filteredData.length&&0!==j.groups.length))},directives:[h.l,g.BZ,f.YE,g.w1,g.fO,g.ge,O.O5,k.oG,g.Dz,g.ev,L.gM,f.nU,Y.W,J.Hw,ue.x,ce.lW,Le.i,g.as,g.XQ,g.nj,g.Gk,de.YH,ke.rH,ae.w],pipes:[V.X$,H.u,X.f,ie.M,oe],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),u})()},58956:(Ke,be,d)=>{"use strict";d.d(be,{I:()=>Fe});var e=d(5e3),f=d(90149),g=d(28258),T=d(20449);class m{constructor(Me){this.id=Me.id,this.name=Me.name,this.parentGroupId=Me.parentGroupId,this.voId=Me.voId,this.shortName=Me.shortName,this.description=Me.description,this.attributes=Me.attributes,this.beanName=Me.beanName}addChild(Me){null==this.children?this.children=[Me]:this.children.push(Me)}}var A=d(9244),s=d(84379),b=d(36908),O=d(48966),E=d(69808),h=d(53435),k=d(77446),L=d(30325),Y=d(47423),J=d(25245),ue=d(29772),ce=d(13449),Le=d(98380),de=d(51062);const ke=["scrollViewport"];function ae(se,Me){if(1&se){const ve=e.EpF();e.TgZ(0,"mat-checkbox",19),e.NdJ("change",function(){e.CHM(ve);const Te=e.oxw().$implicit;return e.oxw(2).itemSelectionToggle(Te)}),e.qZA()}if(2&se){const ve=e.oxw().$implicit,me=e.oxw(2);e.Q2q("data-cy","",ve.name,"-checkbox"),e.Q6J("disabled","members"===ve.fullName)("checked",me.selection.isSelected(ve))("indeterminate",me.descendantsPartiallySelected(ve))}}function V(se,Me){if(1&se&&(e.TgZ(0,"mat-icon",20),e._uU(1),e.qZA()),2&se){const ve=e.oxw().$implicit,me=e.oxw(2);e.xp6(1),e.hij(" ",me.treeControl.isExpanded(ve)?"expand_more":"chevron_right"," ")}}function H(se,Me){if(1&se&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&se){const ve=e.oxw().$implicit;e.xp6(1),e.hij(" #",ve.id," ")}}const X=function(se,Me){return["/organizations",se,"groups",Me]};function ie(se,Me){if(1&se){const ve=e.EpF();e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,ae,1,4,"mat-checkbox",7),e.TgZ(3,"a",8),e.TgZ(4,"button",9),e.NdJ("mouseenter",function(){return e.CHM(ve),e.oxw(2).disableRouting=!0})("mouseleave",function(){return e.CHM(ve),e.oxw(2).disableRouting=!1})("click",function(){const te=e.CHM(ve).$implicit;return e.oxw(2).treeControl.toggle(te)}),e.YNc(5,V,2,1,"mat-icon",10),e.qZA(),e.TgZ(6,"div",11),e.TgZ(7,"span",12),e._uU(8),e.qZA(),e.YNc(9,H,2,1,"span",13),e.qZA(),e.TgZ(10,"div",14,15),e.TgZ(12,"span",16),e._uU(13),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"div",17),e.TgZ(15,"perun-web-apps-group-menu",18),e.NdJ("moveGroup",function(){const te=e.CHM(ve).$implicit;return e.oxw(2).onMoveGroup(te)})("syncGroup",function(){const te=e.CHM(ve).$implicit;return e.oxw(2).onSyncDetail(te)})("changeNameDescription",function(){const te=e.CHM(ve).$implicit;return e.oxw(2).onChangeNameDescription(te)}),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&se){const ve=Me.$implicit,me=e.oxw(2);e.xp6(1),e.Udp("padding-left",24*ve.level+"px"),e.xp6(1),e.Q6J("ngIf",!me.hideCheckbox),e.xp6(1),e.Q6J("routerLink",me.disableRouting?null:e.WLB(15,X,ve.voId,ve.id)),e.xp6(1),e.Q6J("disabled",!ve.expandable),e.uIk("aria-label","toggle "+ve.name),e.xp6(1),e.Q6J("ngIf",ve.expandable),e.xp6(2),e.uIk("data-cy",ve.name),e.xp6(1),e.hij(" ",ve.name," "),e.xp6(1),e.Q6J("ngIf",me.authResolver.isPerunAdminOrObserver()),e.xp6(3),e.s9C("matTooltip",ve.description),e.xp6(1),e.hij(" ",ve.description," "),e.xp6(2),e.Q6J("disabled","members"===ve.fullName)("displayButtons",me.displayButtons)("group",ve)}}const oe=function(se){return{height:se}};function ge(se,Me){if(1&se&&(e.TgZ(0,"div",2),e.TgZ(1,"cdk-virtual-scroll-viewport",3,4),e.YNc(3,ie,16,18,"ng-container",5),e.qZA(),e.qZA()),2&se){const ve=e.oxw();e.xp6(1),e.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",e.VKq(4,oe,ve.getTreeViewHeight())),e.xp6(2),e.Q6J("cdkVirtualForOf",ve.dataSource)}}function Ne(se,Me){1&se&&(e.TgZ(0,"app-alert",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&se&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Fe=(()=>{class se{constructor(ve,me,Te){this.cd=ve,this.dialog=me,this.authResolver=Te,this.transformer=(te,R)=>({expandable:!!te.children&&te.children.length>0,name:te.shortName,fullName:te.name,parentGroupId:te.parentGroupId,level:R,id:te.id,voId:te.voId,attributes:te.attributes,beanName:te.beanName,description:te.description}),this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new e.vpe,this.refreshTable=new e.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new T.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new g.C2(te=>te.level,te=>te.expandable),this.treeFlattener=new f.JZ(this.transformer,te=>te.level,te=>te.expandable,te=>te.children),this.dataSource=new f.kc(this.treeControl,this.treeFlattener),this.hasChild=(te,R)=>R.expandable,this.getLevel=te=>te.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(ve=>{var me,Te;return(null===(me=ve.name)||void 0===me?void 0:me.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(Te=ve.description)||void 0===Te?void 0:Te.toLowerCase().includes(this.filterValue.toLowerCase()))||ve.id.toString().includes(this.filterValue.toLowerCase())||ve.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const ve of this.filteredGroups)ve.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,A.oU)(ve.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(ve){const me=(0,A.kZ)();me.data={groupId:ve.id,theme:this.theme},this.dialog.open(s.Bp,me)}onChangeNameDescription(ve){const me=(0,A.kZ)();me.data={theme:"group-theme",group:ve,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,me).afterClosed().subscribe(te=>{te&&this.refreshTable.emit()})}createGroupTrees(ve){const me=new Map;for(const R of ve)me.set(R.id,new m(R));const Te=new Set;me.forEach((R,Oe,Ie)=>{const He=Ie.get(R.parentGroupId);void 0!==He&&(He.addChild(R),Ie.set(R.parentGroupId,He)),null!==R.parentGroupId&&void 0===He&&Te.add(R.id)});const te=[];me.forEach(R=>{(null===R.parentGroupId||Te.has(R.id))&&te.push(R)}),this.dataSource.data=te,this.cd.detectChanges()}getParentNode(ve){const me=this.getLevel(ve);if(me<1)return null;for(let te=this.treeControl.dataNodes.indexOf(ve)-1;te>=0;te--){const R=this.treeControl.dataNodes[te];if(this.getLevel(R)this.selection.isSelected(R));me&&!te&&this.selection.deselect(ve)}checkAllParentsSelection(ve){let me=this.getParentNode(ve);for(;me;)this.checkRootNodeSelection(me),me=this.getParentNode(me);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(ve){return this.treeControl.getDescendants(ve).some(te=>this.selection.isSelected(te))&&!this.selection.isSelected(ve)}itemSelectionToggle(ve){this.selection.toggle(ve);const me=this.treeControl.getDescendants(ve);this.selection.isSelected(ve)?this.selection.select(...me):this.selection.deselect(...me),me.every(Te=>this.selection.isSelected(Te)),this.checkAllParentsSelection(ve)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(ve,me)=>ve&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,me]):(ve,me)=>ve&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[me]),!0)}onMoveGroup(ve){this.moveGroup.emit(ve)}getTreeViewHeight(){let ve=0;this.scrollViewport&&(ve=this.scrollViewport.getDataLength());let me=48*ve;return me>672&&(me=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),me+"px"}}return se.\u0275fac=function(ve){return new(ve||se)(e.Y36(e.sBO),e.Y36(O.uw),e.Y36(b.x4))},se.\u0275cmp=e.Xpm({type:se,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(ve,me){if(1&ve&&e.Gf(ke,5),2&ve){let Te;e.iGM(Te=e.CRH())&&(me.scrollViewport=Te.first)}},hostBindings:function(ve,me){1&ve&&e.NdJ("resize",function(te){return me.shouldHideButtons(te)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:2,vars:2,consts:[["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"card","mt-2"],["itemSize","48",1,"virtual-scroll-container",3,"minBufferPx","maxBufferPx","ngStyle"],["scrollViewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"node"],["color","primary","class","no-label-margin-bottom ml-4",3,"disabled","checked","indeterminate","change",4,"ngIf"],["queryParamsHandling","merge",1,"group-item-content","text-format",3,"routerLink"],["mat-icon-button","",3,"disabled","mouseenter","mouseleave","click"],["class","mat-icon-rtl-mirror",4,"ngIf"],[1,"w-50"],[1,"mr-2"],["class","text-muted",4,"ngIf"],[1,"w-50","text-muted","description-text"],["rootDescription",""],["matTooltipPosition","before",3,"matTooltip"],[1,"group-buttons"],[3,"disabled","displayButtons","group","moveGroup","syncGroup","changeNameDescription"],["color","primary",1,"no-label-margin-bottom","ml-4",3,"disabled","checked","indeterminate","change"],[1,"mat-icon-rtl-mirror"],[1,"text-muted"],["alert_type","warn"]],template:function(ve,me){1&ve&&(e.YNc(0,ge,4,6,"div",0),e.YNc(1,Ne,3,3,"app-alert",1)),2&ve&&(e.Q6J("ngIf",0!==me.filteredGroups.length),e.xp6(1),e.Q6J("ngIf",0===me.filteredGroups.length))},directives:[E.O5,h.N7,h.xd,E.PC,h.x0,k.oG,L.yS,Y.lW,J.Hw,ue.gM,ce.i,Le.w],pipes:[de.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.group-item-content[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;overflow:hidden;word-wrap:break-word}mat-tree-node[_ngcontent-%COMP%]{cursor:pointer}.description-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.virtual-scroll-container[_ngcontent-%COMP%]{overflow:auto}cdk-tree-node[_ngcontent-%COMP%]{display:block}.node[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word;cursor:pointer}.node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),se})()},52314:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>L});var e=d(9315),f=d(36908),g=d(5e3),T=d(51062),m=d(69808),A=d(47423),s=d(92181),b=d(29772),O=d(25245);const E=function(Y){return{color:Y}};function h(Y,J){if(1&Y&&(g.TgZ(0,"button",8),g.ALo(1,"translate"),g.TgZ(2,"mat-icon",4),g._uU(3," apps "),g.qZA(),g.qZA()),2&Y){const ue=g.oxw(),ce=g.MAs(2);g.Q6J("matMenuTriggerFor",ce)("matTooltip",g.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),g.xp6(2),g.Q6J("ngStyle",g.VKq(5,E,ue.iconColor))}}function k(Y,J){if(1&Y){const ue=g.EpF();g.TgZ(0,"button",2),g.NdJ("click",function(){return g.CHM(ue),g.oxw().onLogOut()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&Y&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"NAV.LOGOUT")," "))}let L=(()=>{class Y{constructor(ue,ce,Le,de){this.authService=ue,this.authzResolverService=ce,this.notificator=Le,this.translateService=de}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return Y.\u0275fac=function(ue){return new(ue||Y)(g.Y36(f.e8),g.Y36(e.Ct),g.Y36(f.V6),g.Y36(T.sK))},Y.\u0275cmp=g.Xpm({type:Y,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(ue,ce){if(1&ue&&(g.YNc(0,h,4,7,"button",0),g.TgZ(1,"mat-menu",null,1),g.TgZ(3,"button",2),g.NdJ("click",function(){return ce.redirectToUrl()}),g.TgZ(4,"span"),g._uU(5),g.qZA(),g.qZA(),g.qZA(),g.TgZ(6,"button",3),g.TgZ(7,"mat-icon",4),g._uU(8," person "),g.qZA(),g.TgZ(9,"span",5),g._uU(10),g.qZA(),g.qZA(),g.TgZ(11,"mat-menu",null,6),g.YNc(13,k,3,3,"button",7),g.qZA()),2&ue){const Le=g.MAs(12);g.Q6J("ngIf",ce.url),g.xp6(5),g.Oqu(ce.label),g.xp6(1),g.Q6J("matMenuTriggerFor",Le),g.xp6(1),g.Q6J("ngStyle",g.VKq(11,E,ce.iconColor)),g.xp6(2),g.Q6J("ngStyle",g.VKq(13,E,ce.textColor)),g.xp6(1),g.xDo(" ",ce.user.titleBefore," ",ce.user.firstName," ",ce.user.middleName," ",ce.user.lastName," ",ce.user.titleAfter," "),g.xp6(3),g.Q6J("ngIf",ce.logoutEnabled)}},directives:[m.O5,A.lW,s.p6,b.gM,O.Hw,m.PC,s.VK,s.OP],pipes:[T.X$],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),Y})()},7434:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>E});var e=d(5e3),f=d(93075),g=d(67322),T=d(69808),m=d(98833),A=d(50301),s=d(51062);function b(h,k){if(1&h&&(e._UZ(0,"input",3),e.ALo(1,"translate")),2&h){const L=e.oxw();e.s9C("placeholder",e.lcZ(1,2,L.placeholder)),e.Q6J("formControl",L.formControl)}}function O(h,k){if(1&h&&(e._UZ(0,"input",4),e.ALo(1,"translate")),2&h){const L=e.oxw();e.s9C("placeholder",e.lcZ(1,2,L.placeholder)),e.Q6J("formControl",L.formControl)}}let E=(()=>{class h{constructor(){this.filter=new e.vpe,this.autoFocus=!1,this.formControl=new f.NI}ngOnInit(){this.formControl.valueChanges.subscribe(L=>{let Y=L.trim();Y=Y.toLowerCase(),this.filter.emit(Y)})}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(L,Y){1&L&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,b,2,4,"input",1),e.YNc(2,O,2,4,"input",2),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",Y.autoFocus),e.xp6(1),e.Q6J("ngIf",!Y.autoFocus))},directives:[g.KE,T.O5,m.Nt,f.Fj,A.hT,f.JJ,f.oH],pipes:[s.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),h})()},4811:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>i});var e=d(84847),f=d(9244),g=d(84379),T=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(48966),O=d(10036),E=d(18750),h=d(69808),k=d(20773),L=d(32075),Y=d(77446),J=d(25245),ue=d(29772),ce=d(50301),Le=d(30325),de=d(98380),ke=d(51062),ae=d(31359),V=d(69773),H=d(12856),X=d(21757),ie=d(96974),oe=d(20919),ge=d(5865);function Ne(r,p){1&r&&(s.TgZ(0,"div",22),s._UZ(1,"mat-spinner",23),s.qZA())}function Fe(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"th",24),s.TgZ(1,"mat-checkbox",25),s.NdJ("change",function(n){s.CHM(o);const c=s.oxw();return n?c.masterToggle():null}),s.qZA(),s.qZA()}if(2&r){const o=s.oxw();s.xp6(1),s.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function se(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",26),s.TgZ(1,"mat-checkbox",27),s.NdJ("change",function(n){const u=s.CHM(o).$implicit,y=s.oxw();return n?y.selection.toggle(u):null})("click",function(n){return n.stopPropagation()}),s.ALo(2,"lowercase"),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit,t=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,3,o.user.firstName),"-checkbox"),s.Q6J("aria-label",t.checkboxLabel(o))("checked",t.selection.isSelected(o))}}function Me(r,p){1&r&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ID")))}function ve(r,p){if(1&r&&(s.TgZ(0,"td",29),s._uU(1),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(o.id)}}function me(r,p){1&r&&s._UZ(0,"th",28)}function Te(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"mat-icon",32),s.NdJ("click",function(n){s.CHM(o);const c=s.oxw().$implicit;return s.oxw().viewMemberGroupTree(n,c)}),s.ALo(1,"translate"),s._uU(2,"transfer_within_a_station"),s.qZA()}2&r&&s.Q6J("matTooltip",s.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function te(r,p){if(1&r&&(s.TgZ(0,"td",30),s.YNc(1,Te,3,3,"mat-icon",31),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Q6J("ngIf","DIRECT"!==o.membershipType)}}function R(r,p){1&r&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function Oe(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o.user))}}function Ie(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function He(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(n){const u=s.CHM(o).$implicit;return s.oxw().changeStatus(n,u)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,o.status),""),s.s9C("matTooltip",s.xi3(3,7,o,!1)),s.xp6(4),s.hij(" ",s.lcZ(6,10,o.status)," ")}}function fe(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function Ce(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(n){const u=s.CHM(o).$implicit,y=s.oxw();return y.changeStatus(n,u,y.groupId)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,o.groupStatus),""),s.s9C("matTooltip",s.xi3(3,7,o,!0)),s.xp6(4),s.hij(" ",s.lcZ(6,10,o.groupStatus)," ")}}function Ye(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Xe(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberOrganization"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function tt(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function at(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberEmail"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function N(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function he(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberLogins"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function D(r,p){1&r&&s._UZ(0,"tr",35)}const S=function(r,p){return["/organizations",r,"members",p]};function I(r,p){if(1&r&&s._UZ(0,"tr",36),2&r){const o=p.$implicit,t=s.oxw();s.ekj("cursor-pointer",t.dataSource.routeAuth)("italic_font","INDIRECT"===o.membershipType)("disable-outline",!t.dataSource.routeAuth),s.Q6J("perunWebAppsMiddleClickRouterLink",t.dataSource.routeAuth?s.WLB(8,S,o.voId,o.id):null)("routerLink",t.dataSource.routeAuth?s.WLB(11,S,o.voId,o.id):null)}}function P(r,p){1&r&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let i=(()=>{class r{constructor(o,t,n,c,u){this.dialog=o,this.authResolver=t,this.tableCheckbox=n,this.tableConfigService=c,this.dynamicPaginatingService=u,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.selectedGroupStatuses=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.tableConfigService.getTablePageSize(this.tableId),"NAME",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadMembersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(o=>this.selection.select(o))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(o,t,n){o.stopPropagation();const c=(0,f.kZ)();c.width="500px",c.data={member:t,voId:this.voId,groupId:n};const u=n?t.groupStatus:t.status;this.dialog.open(g.pf,c).afterClosed().subscribe(M=>{if(M){const j=n?M.groupStatus:M.status;"VALID"===u&&("EXPIRED"===j||"DISABLED"===j)||"VALID"===j?(n?t.groupStatus=j:t.status=j,this.changeExpiration(t,n)):this.loadMembersPage()}})}changeExpiration(o,t){const n=o.memberAttributes.find(t?y=>"groupMembershipExpiration"===y.friendlyName:y=>"membershipExpiration"===y.friendlyName),c=(0,f.kZ)();let u;c.width="400px",c.data={voId:this.voId,groupId:t,memberId:o.id,expirationAttr:n,status:t?o.groupStatus:o.status,statusChanged:!0},u=this.dialog.open(t?g.u3:g.kZ,c),u.afterClosed().subscribe(()=>{this.loadMembersPage()})}loadMembersPage(){this.dataSource.loadMembers(this.voId,this.attrNames,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.child.paginator.pageIndex,this.child.paginator.pageSize,"fullName"===this.sort.active?"NAME":"ID",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}exportData(o){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),o)}getExportDataForColumn(o,t){switch(t){case"id":return o.id.toString();case"fullName":return o.user?(0,f.bD)(o.user):"";case"status":return o.status;case"groupStatus":return o.groupStatus;case"organization":return(0,f.Gw)(o);case"email":return(0,f.g$)(o);case"logins":return(0,f.lt)(o);default:return""}}viewMemberGroupTree(o,t){o.stopPropagation();const n=(0,f.kZ)();n.width="800px",n.data={member:t,groupId:this.groupId},this.dialog.open(g.jd,n)}}return r.\u0275fac=function(o){return new(o||r)(s.Y36(b.uw),s.Y36(T.x4),s.Y36(T.UA),s.Y36(O.dB),s.Y36(T.ly))},r.\u0275cmp=s.Xpm({type:r,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(o,t){if(1&o&&(s.Gf(f.l9,7),s.Gf(e.YE,5)),2&o){let n;s.iGM(n=s.CRH())&&(t.child=n.first),s.iGM(n=s.CRH())&&(t.sort=n.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",tableId:"tableId",updateTable:"updateTable"},features:[s.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","groupStatus"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","italic_font","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["mat-header-cell",""],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(o,t){1&o&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(c){return t.exportData(c)}),s.YNc(3,Ne,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,Fe,2,3,"th",5),s.YNc(8,se,3,5,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,Me,3,3,"th",8),s.YNc(11,ve,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,me,1,0,"th",8),s.YNc(14,te,2,1,"td",11),s.BQk(),s.ynx(15,12),s.YNc(16,R,3,3,"th",8),s.YNc(17,Oe,3,3,"td",11),s.BQk(),s.ynx(18,13),s.YNc(19,Ie,3,3,"th",14),s.YNc(20,He,7,12,"td",11),s.BQk(),s.ynx(21,15),s.YNc(22,fe,3,3,"th",14),s.YNc(23,Ce,7,12,"td",11),s.BQk(),s.ynx(24,16),s.YNc(25,Ye,3,3,"th",14),s.YNc(26,Xe,3,3,"td",11),s.BQk(),s.ynx(27,17),s.YNc(28,tt,3,3,"th",14),s.YNc(29,at,3,3,"td",11),s.BQk(),s.ynx(30,18),s.YNc(31,N,3,3,"th",14),s.YNc(32,he,3,3,"td",11),s.BQk(),s.YNc(33,D,1,0,"tr",19),s.YNc(34,I,1,14,"tr",20),s.qZA(),s.qZA(),s.qZA(),s.YNc(35,P,3,3,"app-alert",21),s.ALo(36,"async")),2&o&&(s.Q6J("hidden",0===t.dataSource.allObjectCount&&!1===s.lcZ(1,9,t.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",t.tableId)("dataLength",t.dataSource.allObjectCount)("pageSizeOptions",t.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,t.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(28),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.allObjectCount&&!1===s.lcZ(36,13,t.dataSource.loading$)))},directives:[E.l,h.O5,k.$g,L.BZ,e.YE,L.w1,L.fO,L.ge,Y.oG,L.Dz,L.ev,e.nU,J.Hw,ue.gM,L.as,L.XQ,L.nj,L.Gk,ce.YH,Le.rH,de.w],pipes:[h.Ov,h.i8,ke.X$,ae.d,V.u,H.i,X.f,ie.M,oe.D,ge.p],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),r})()},38383:(Ke,be,d)=>{"use strict";d.d(be,{O:()=>i});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9244),A=d(84379),s=d(36908),b=d(48966),O=d(30325),E=d(18750),h=d(77446),k=d(29772),L=d(69808),Y=d(25245),J=d(50301),ue=d(98380),ce=d(51062),Le=d(31359),de=d(69773),ke=d(12856),ae=d(21757),V=d(96974),H=d(20919),X=d(5865);function ie(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"th",24),e.TgZ(1,"mat-checkbox",25),e.NdJ("change",function(n){e.CHM(o);const c=e.oxw();return n?c.masterToggle():null}),e.qZA(),e.qZA()}if(2&r){const o=e.oxw();e.xp6(1),e.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function oe(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",26),e.TgZ(1,"mat-checkbox",27),e.NdJ("change",function(n){const u=e.CHM(o).$implicit,y=e.oxw();return n?y.selection.toggle(u):null})("click",function(n){return n.stopPropagation()}),e.ALo(2,"translate"),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit,t=e.oxw();e.xp6(1),e.Q6J("aria-label",t.checkboxLabel(o))("checked",t.selection.isSelected(o))("disabled","DIRECT"!==o.membershipType)("matTooltip","DIRECT"!==o.membershipType?e.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function ge(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.ID")))}function Ne(r,p){if(1&r&&(e.TgZ(0,"td",29),e._uU(1),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(o.id)}}function Fe(r,p){1&r&&e._UZ(0,"th",28)}function se(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"mat-icon",32),e.NdJ("click",function(){e.CHM(o);const n=e.oxw().$implicit;return e.oxw().viewMemberGroupTree(n)})("mouseenter",function(){return e.CHM(o),e.oxw(2).disableRouting=!0})("mouseleave",function(){e.CHM(o);const n=e.oxw(2);return n.disableRouting=n.disabledRouting}),e.ALo(1,"translate"),e._uU(2,"transfer_within_a_station"),e.qZA()}2&r&&e.Q6J("matTooltip",e.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function Me(r,p){if(1&r&&(e.TgZ(0,"td",30),e.YNc(1,se,3,3,"mat-icon",31),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Q6J("ngIf","DIRECT"!==o.membershipType)}}function ve(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function me(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o.user))}}function Te(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.STATUS")," "))}function te(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(n){const u=e.CHM(o).$implicit;return e.oxw().changeStatus(n,u)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,o.status),""),e.s9C("matTooltip",e.xi3(3,7,o,!1)),e.xp6(4),e.hij(" ",e.lcZ(6,10,o.status)," ")}}function R(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")," "))}function Oe(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(n){const u=e.CHM(o).$implicit;return e.oxw().changeStatus(n,u)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,o.groupStatus),""),e.s9C("matTooltip",e.xi3(3,7,o,!0)),e.xp6(4),e.hij(" ",e.lcZ(6,10,o.groupStatus)," ")}}function Ie(r,p){1&r&&(e.TgZ(0,"th",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")," "))}function He(r,p){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"check_circle_outline"),e.qZA())}function fe(r,p){if(1&r&&(e.TgZ(0,"td",35),e.YNc(1,He,2,0,"mat-icon",36),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Q6J("ngIf",o.sponsored)}}function Ce(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")," "))}function Ye(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberOrganization"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function Xe(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.EMAIL")," "))}function tt(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberEmail"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function at(r,p){1&r&&(e.TgZ(0,"th",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function N(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberLogins"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function he(r,p){1&r&&e._UZ(0,"tr",38)}const D=function(r,p){return["/organizations",r,"members",p]};function S(r,p){if(1&r&&e._UZ(0,"tr",39),2&r){const o=p.$implicit,t=e.oxw();e.ekj("cursor-pointer",!t.disabledRouting)("disable-outline",t.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:e.WLB(6,D,o.voId,o.id))("routerLink",t.disableRouting?null:e.WLB(9,D,o.voId,o.id))}}function I(r,p){1&r&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function P(r,p){1&r&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let i=(()=>{class r{constructor(o,t,n,c){this.dialog=o,this.authResolver=t,this.tableCheckbox=n,this.route=c,this.selection=new T.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.disableRouting=!1,this.filter="",this.updateTable=new e.vpe,this.pageSizeOptions=m.f7,this.canBeSelected=u=>"DIRECT"===u.membershipType}set matSort(o){this.sort=o}getSortDataForColumn(o,t,n){var c;switch(t){case"id":return o.id.toString();case"fullName":return o.user?o.user.lastName?o.user.lastName:null!==(c=o.user.firstName)&&void 0!==c?c:"":"";case"status":return n.showGroupStatuses?o.groupStatus:o.status;case"organization":return(0,m.Gw)(o);case"email":return(0,m.g$)(o);default:return""}}getFilterDataForColumn(o,t){switch(t){case"fullName":return o.user?(0,m.bD)(o.user):"";case"email":return(0,m.g$)(o);case"logins":return(0,m.lt)(o);default:return""}}getExportDataForColumn(o,t,n){switch(t){case"id":return o.id.toString();case"fullName":return o.user?(0,m.bD)(o.user):"";case"status":return n.showGroupStatuses?o.groupStatus:o.status;case"organization":return(0,m.Gw)(o);case"email":return(0,m.g$)(o);case"logins":return(0,m.lt)(o);default:return""}}exportData(o){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),o)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(o,t)=>(0,m.Sd)(o,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(o,t)=>(0,m.pR)(o,t,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o))}ngOnChanges(){var o;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(o=this.route.parent)||void 0===o||o.params.subscribe(t=>{t.groupId&&(this.groupId=t.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(o,t){if(o.stopPropagation(),"INVALID"===t.status){const n=(0,m.kZ)();n.width="500px",n.data={member:t},this.dialog.open(A.pf,n).afterClosed().subscribe(u=>{u&&this.updateTable.emit(!0)})}}viewMemberGroupTree(o){const t=(0,m.kZ)();t.width="800px",t.data={member:o,groupId:this.groupId},this.dialog.open(A.jd,t)}}return r.\u0275fac=function(o){return new(o||r)(e.Y36(b.uw),e.Y36(s.x4),e.Y36(s.UA),e.Y36(O.gz))},r.\u0275cmp=e.Xpm({type:r,selectors:[["perun-web-apps-members-list"]],viewQuery:function(o,t){if(1&o&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&o){let n;e.iGM(n=e.CRH())&&(t.matSort=n.first),e.iGM(n=e.CRH())&&(t.child=n.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",filter:"filter"},outputs:{updateTable:"updateTable"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],[3,"matTooltip","click","mouseenter","mouseleave"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-cell","",1,"center","new-line"],["mat-cell","",1,"center"],[4,"ngIf"],["mat-header-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(o,t){1&o&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(c){return t.exportData(c)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,ie,2,3,"th",4),e.YNc(5,oe,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,ge,3,3,"th",7),e.YNc(8,Ne,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Fe,1,0,"th",7),e.YNc(11,Me,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,ve,3,3,"th",7),e.YNc(14,me,3,3,"td",10),e.BQk(),e.ynx(15,12),e.YNc(16,Te,3,3,"th",7),e.YNc(17,te,7,12,"td",10),e.BQk(),e.ynx(18,13),e.YNc(19,R,3,3,"th",7),e.YNc(20,Oe,7,12,"td",10),e.BQk(),e.ynx(21,14),e.YNc(22,Ie,3,3,"th",15),e.YNc(23,fe,2,1,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,Ce,3,3,"th",7),e.YNc(26,Ye,3,3,"td",10),e.BQk(),e.ynx(27,18),e.YNc(28,Xe,3,3,"th",7),e.YNc(29,tt,3,3,"td",10),e.BQk(),e.ynx(30,19),e.YNc(31,at,3,3,"th",20),e.YNc(32,N,3,3,"td",10),e.BQk(),e.YNc(33,he,1,0,"tr",21),e.YNc(34,S,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,I,3,3,"app-alert",23),e.YNc(36,P,3,3,"app-alert",23)),2&o&&(e.Q6J("hidden",0===t.members.length||!t.dataSource||0===t.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",t.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns),e.xp6(1),e.Q6J("ngIf",0!==t.members.length&&0===t.dataSource.filteredData.length),e.xp6(1),e.Q6J("ngIf",0===t.members.length))},directives:[E.l,g.BZ,f.YE,g.w1,g.fO,g.ge,h.oG,g.Dz,g.ev,k.gM,f.nU,L.O5,Y.Hw,g.as,g.XQ,g.nj,g.Gk,J.YH,O.rH,ue.w],pipes:[ce.X$,Le.d,de.u,ke.i,ae.f,V.M,H.D,X.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .status-tooltip{white-space:pre-line}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.center[_ngcontent-%COMP%]{text-align:center}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),r})()},22465:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>h});var e=d(5e3),f=d(36908),g=d(9244),T=d(84379),m=d(48966),A=d(69808),s=d(25245),b=d(51062);function O(k,L){if(1&k&&(e.TgZ(0,"div",5),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA(),e.qZA()),2&k){const Y=e.oxw();e.xp6(2),e.Oqu(Y.data.icon)}}function E(k,L){if(1&k&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&k){const Y=e.oxw();e.xp6(1),e.hij(" ",Y.showTimestamp()," ")}}let h=(()=>{class k{constructor(Y,J){this.dialog=Y,this.notificationStorageService=J,this.newNotification=!1,this.closeNotification=new e.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const Y=(0,g.kZ)();Y.width="550px",Y.data=this.data,Y.autoFocus=!1,this.dialog.open(T.FM,Y).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){(0,g.ys)(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[Y,J]=this.data.timeStamp.split(":");return J.length<2?Y+":0"+J:this.data.timeStamp}}return k.\u0275fac=function(Y){return new(Y||k)(e.Y36(m.uw),e.Y36(f.SZ))},k.\u0275cmp=e.Xpm({type:k,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(Y,J){1&Y&&(e.TgZ(0,"div"),e.TgZ(1,"div",0),e.NdJ("click",function(){return J.alreadyClosed||J.waiting?"":J.closeSelf()}),e.YNc(2,O,3,1,"div",1),e.TgZ(3,"div",2),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,E,2,1,"div",3),e.TgZ(7,"div",4),e.NdJ("click",function(){return J.waiting=!0,J.doAction()}),e._uU(8),e.qZA(),e.qZA(),e.qZA()),2&Y&&(e.Gre("notification ",J.inDialog?"":"mat-elevation-z7",""),e.ekj("error","error"===J.data.type)("success","success"===J.data.type),e.xp6(2),e.Q6J("ngIf",null!==J.data.icon),e.xp6(2),e.hij(" ",e.lcZ(5,12,J.data.title)," "),e.xp6(2),e.Q6J("ngIf",J.inDialog),e.xp6(1),e.Q6J("hidden",J.alreadyPressed),e.xp6(1),e.hij(" ",J.data.actionText," "))},directives:[A.O5,s.Hw],pipes:[b.X$],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),k})()},41619:(Ke,be,d)=>{"use strict";d.d(be,{$:()=>me});var e=d(36908),f=d(9315),g=d(5e3),T=d(48966),m=d(51062),A=d(67322),s=d(98833),b=d(93075),O=d(69808),E=d(47423);function h(Te,te){1&Te&&(g.TgZ(0,"mat-error"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&Te&&(g.xp6(1),g.Oqu(g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let k=(()=>{class Te{constructor(R,Oe,Ie,He,fe){this.dialogRef=R,this.translate=Oe,this.notificator=Ie,this.rtMessages=He,this.storeService=fe,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(R=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+R.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+d(4147).i8}close(){this.dialogRef.close()}}return Te.\u0275fac=function(R){return new(R||Te)(g.Y36(T.so),g.Y36(m.sK),g.Y36(e.V6),g.Y36(f.Hr),g.Y36(e.d6))},Te.\u0275cmp=g.Xpm({type:Te,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(R,Oe){if(1&R&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g.TgZ(4,"mat-form-field"),g.TgZ(5,"mat-label"),g._uU(6),g.ALo(7,"translate"),g.qZA(),g.TgZ(8,"input",2,3),g.NdJ("ngModelChange",function(He){return Oe.subject=He}),g.qZA(),g.YNc(10,h,3,3,"mat-error",4),g.qZA(),g.TgZ(11,"mat-form-field"),g.TgZ(12,"mat-label"),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.TgZ(15,"textarea",5),g.NdJ("ngModelChange",function(He){return Oe.message=He}),g.ALo(16,"translate"),g._uU(17," "),g.qZA(),g.TgZ(18,"mat-hint"),g._uU(19),g.ALo(20,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(21,"div",6),g.TgZ(22,"div",7),g.TgZ(23,"button",8),g.NdJ("click",function(){return Oe.close()}),g._uU(24),g.ALo(25,"translate"),g.qZA(),g.TgZ(26,"button",9),g.NdJ("click",function(){return Oe.sendBugReport()}),g._uU(27),g.ALo(28,"translate"),g.qZA(),g.qZA(),g.qZA()),2&R){const Ie=g.MAs(9);g.xp6(1),g.Oqu(g.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),g.xp6(5),g.Oqu(g.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),g.xp6(2),g.Q6J("ngModel",Oe.subject),g.xp6(2),g.Q6J("ngIf",Ie.invalid),g.xp6(3),g.Oqu(g.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),g.xp6(2),g.s9C("placeholder",g.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),g.Q6J("ngModel",Oe.message),g.xp6(4),g.Oqu(g.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),g.xp6(5),g.hij(" ",g.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),g.xp6(2),g.Q6J("disabled",Ie.invalid),g.xp6(1),g.hij(" ",g.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[T.uh,T.xY,A.KE,A.hX,s.Nt,b.Fj,b.Q7,b.JJ,b.On,O.O5,A.TO,A.bx,T.H8,E.lW],pipes:[m.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Te})();var L=d(9244);let Y=(()=>{class Te{transform(R,Oe,Ie){return R[`${Ie}_${Oe}`]}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"localisedText",type:Te,pure:!0}),Te})(),J=(()=>{class Te{transform(R,Oe){return R["link_"+Oe]||R.link_en}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"localisedLink",type:Te,pure:!0}),Te})(),ue=(()=>{class Te{transform(R){return R.includes("/")?R:"/assets/config/"+R}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"footerLogoPath",type:Te,pure:!0}),Te})();function ce(Te,te){if(1&Te&&(g.TgZ(0,"a",13),g.ALo(1,"localisedLink"),g._UZ(2,"img",14),g.ALo(3,"footerLogoPath"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("href",g.xi3(1,2,R,Oe.language),g.LSH),g.xp6(2),g.s9C("src",g.lcZ(3,5,R.logo),g.LSH)}}function Le(Te,te){if(1&Te&&(g.TgZ(0,"span"),g._UZ(1,"img",14),g.ALo(2,"footerLogoPath"),g.qZA()),2&Te){const R=g.oxw().$implicit;g.xp6(1),g.s9C("src",g.lcZ(2,1,R.logo),g.LSH)}}function de(Te,te){if(1&Te&&(g.TgZ(0,"div"),g.YNc(1,ce,4,7,"a",11),g.ALo(2,"localisedLink"),g.YNc(3,Le,3,3,"span",12),g.ALo(4,"localisedLink"),g.qZA()),2&Te){const R=te.$implicit,Oe=g.oxw(3);g.xp6(1),g.Q6J("ngIf",g.xi3(2,2,R,Oe.language)),g.xp6(2),g.Q6J("ngIf",!g.xi3(4,5,R,Oe.language))}}const ke=function(Te){return{"min-height":Te}};function ae(Te,te){if(1&Te&&(g.TgZ(0,"div",10),g.YNc(1,de,5,8,"div",5),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw();g.Q6J("ngStyle",g.VKq(2,ke,Oe.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",R.elements)}}const V=function(Te){return{color:Te}};function H(Te,te){if(1&Te&&(g.TgZ(0,"i",20),g._uU(1),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(2,V,Oe.linksTextColor)),g.xp6(1),g.hij(" ",R.icon," ")}}function X(Te,te){if(1&Te){const R=g.EpF();g.TgZ(0,"span",21),g.NdJ("click",function(){g.CHM(R);const Ie=g.oxw().$implicit;return g.oxw(3).openDialog(Ie.dialog)}),g._uU(1),g.ALo(2,"localisedText"),g.qZA()}if(2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,V,Oe.linksTextColor)),g.xp6(1),g.hij("",g.Dn7(2,2,R,Oe.language,"label")," ")}}function ie(Te,te){if(1&Te&&(g.TgZ(0,"a",22),g.ALo(1,"localisedLink"),g._uU(2),g.ALo(3,"localisedText"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("href",g.xi3(1,3,R,Oe.language),g.LSH)("ngStyle",g.VKq(10,V,Oe.linksTextColor)),g.xp6(2),g.Oqu(g.Dn7(3,6,R,Oe.language,"label"))}}function oe(Te,te){if(1&Te&&(g.TgZ(0,"span",10),g._uU(1),g.ALo(2,"localisedText"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,V,Oe.linksTextColor)),g.xp6(1),g.Oqu(g.Dn7(2,2,R,Oe.language,"label"))}}function ge(Te,te){if(1&Te&&(g.TgZ(0,"div",16),g.YNc(1,H,2,4,"i",17),g.YNc(2,X,3,8,"span",18),g.YNc(3,ie,4,12,"a",19),g.ALo(4,"localisedLink"),g.YNc(5,oe,3,8,"span",9),g.ALo(6,"localisedLink"),g.qZA()),2&Te){const R=te.$implicit,Oe=g.oxw(3);g.xp6(1),g.Q6J("ngIf",R.icon),g.xp6(1),g.Q6J("ngIf",R.dialog),g.xp6(1),g.Q6J("ngIf",g.xi3(4,4,R,Oe.language)&&!R.dialog),g.xp6(2),g.Q6J("ngIf",!g.xi3(6,7,R,Oe.language)&&!R.dialog)}}const Ne=function(Te){return{height:Te}};function Fe(Te,te){if(1&Te&&(g.TgZ(0,"div",10),g.YNc(1,ge,7,10,"div",15),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw();g.Q6J("ngStyle",g.VKq(2,Ne,Oe.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",R.elements)}}function se(Te,te){if(1&Te&&(g.TgZ(0,"div",7),g.TgZ(1,"h6",8),g._uU(2),g.ALo(3,"localisedText"),g.qZA(),g.YNc(4,ae,2,4,"div",9),g.YNc(5,Fe,2,4,"div",9),g.qZA()),2&Te){const R=te.$implicit,Oe=g.oxw();g.ekj("my-auto",Oe.containsLogos),g.xp6(1),g.Q6J("ngStyle",g.VKq(10,V,Oe.headersTextColor)),g.xp6(1),g.hij(" ",g.Dn7(3,6,R,Oe.language,"title")," "),g.xp6(2),g.Q6J("ngIf",R.logos),g.xp6(1),g.Q6J("ngIf",R.elements&&!R.logos)}}function Me(Te,te){if(1&Te&&(g.TgZ(0,"span"),g.TgZ(1,"a",6),g._uU(2),g.qZA(),g.qZA()),2&Te){const R=te.$implicit,Oe=te.index,Ie=g.oxw();g.xp6(1),g.Q6J("href",R.url,g.LSH)("ngStyle",g.VKq(3,V,Ie.copyrightTextColor)),g.xp6(1),g.Oqu(Oe?", "+R.name:R.name)}}const ve=function(Te){return{background:Te}};let me=(()=>{class Te{constructor(R,Oe,Ie){this.storeService=R,this.translateService=Oe,this.dialog=Ie,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(R=>{this.language=R.lang}),this.version=d(4147).i8,this.items=this.storeService.get("footer","columns");for(const R of this.items)R.logos?this.containsLogos=!0:25*R.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*R.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(R){const Oe=(0,L.kZ)();"reportIssue"===R&&(Oe.width="550px",this.dialog.open(k,Oe))}}return Te.\u0275fac=function(R){return new(R||Te)(g.Y36(e.d6),g.Y36(m.sK),g.Y36(T.uw))},Te.\u0275cmp=g.Xpm({type:Te,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(R,Oe){1&R&&(g.TgZ(0,"footer",0),g.TgZ(1,"div",1),g.YNc(2,se,6,12,"div",2),g.qZA(),g._UZ(3,"hr",3),g.TgZ(4,"div",4),g._uU(5),g.YNc(6,Me,3,5,"span",5),g._uU(7," Version "),g.TgZ(8,"a",6),g._uU(9),g.qZA(),g.qZA(),g.qZA()),2&R&&(g.Q6J("ngStyle",g.VKq(8,ve,Oe.bgColor)),g.xp6(2),g.Q6J("ngForOf",Oe.items),g.xp6(2),g.Q6J("ngStyle",g.VKq(10,V,Oe.copyrightTextColor)),g.xp6(1),g.hij(" \xa9 ",Oe.currentYear," Copyright: "),g.xp6(1),g.Q6J("ngForOf",Oe.copyrightItems),g.xp6(2),g.Q6J("href",Oe.githubRepository,g.LSH)("ngStyle",g.VKq(12,V,Oe.copyrightTextColor)),g.xp6(1),g.Oqu(Oe.version))},directives:[O.PC,O.sg,O.O5],pipes:[Y,J,ue],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),Te})()},10441:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>s});var e=d(5e3),f=d(69808),g=d(25245),T=d(29772),m=d(51062);function A(b,O){1&b&&(e.TgZ(0,"mat-icon",1),e.ALo(1,"translate"),e._uU(2," visibility\n"),e.qZA()),2&b&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let s=(()=>{class b{constructor(){this.recentIds=[]}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(E,h){1&E&&e.YNc(0,A,3,3,"mat-icon",0),2&E&&e.Q6J("ngIf",h.recentIds.indexOf(h.id)>-1)},directives:[f.O5,g.Hw,T.gM],pipes:[m.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),b})()},96214:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>A});var e=d(5e3),f=d(47423),g=d(29772),T=d(25245),m=d(51062);let A=(()=>{class s{constructor(){this.refresh=new e.vpe}onClickbutton(O){this.refresh.emit(O)}}return s.\u0275fac=function(O){return new(O||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(O,E){1&O&&(e.TgZ(0,"button",0),e.NdJ("click",function(k){return E.onClickbutton(k)}),e.ALo(1,"translate"),e._UZ(2,"mat-icon",1),e.qZA()),2&O&&(e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),e.Q6J("disabled",E.disabled),e.xp6(2),e.s9C("svgIcon",E.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[f.lW,g.gM,T.Hw],pipes:[m.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),s})()},62109:(Ke,be,d)=>{"use strict";d.d(be,{C:()=>N});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9244),A=d(36908),s=d(18750),b=d(77446),O=d(29772),E=d(10441),h=d(69808),k=d(25245),L=d(8223),Y=d(50301),J=d(30325),ue=d(98380),ce=d(51062);let Le=(()=>{class he{transform(S){if(null==S)return null;let P="";return S.forEach(function(i){P=P.concat(i.tagName)}),P}}return he.\u0275fac=function(S){return new(S||he)},he.\u0275pipe=e.Yjl({name:"resourceTagsToString",type:he,pure:!0}),he})();var de=d(82895);function ke(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"th",22),e.TgZ(1,"mat-checkbox",23),e.NdJ("change",function(P){e.CHM(S);const i=e.oxw();return P?i.masterToggle():null}),e.qZA(),e.qZA()}if(2&he){const S=e.oxw();e.xp6(1),e.Q6J("aria-label",S.checkboxLabel())("checked",S.selection.hasValue()&&S.isAllSelected())("indeterminate",S.selection.hasValue()&&!S.isAllSelected())}}function ae(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"td",24),e.TgZ(1,"span",25),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",26),e.NdJ("change",function(P){const r=e.CHM(S).$implicit,p=e.oxw();return P?p.itemSelectionToggle(r):null})("click",function(P){return P.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!I.disableSelect(S)),e.xp6(2),e.Q2q("data-cy","",S.name,"-checkbox"),e.Q6J("aria-label",I.checkboxLabel(S))("checked",I.selection.isSelected(S))("disabled",I.disableSelect(S))}}function V(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function H(he,D){if(1&he&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.id)}}function X(he,D){1&he&&e._UZ(0,"th",29)}function ie(he,D){if(1&he&&(e.TgZ(0,"td",30),e._UZ(1,"perun-web-apps-recently-viewed-icon",31),e.qZA()),2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.Q6J("recentIds",I.recentIds)("id",S.id)}}function oe(he,D){1&he&&e._UZ(0,"th",29)}function ge(he,D){1&he&&(e.TgZ(0,"mat-icon",33),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&he&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function Ne(he,D){if(1&he&&(e.TgZ(0,"td",30),e.YNc(1,ge,3,3,"mat-icon",32),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Q6J("ngIf",S.sourceGroupId)}}function Fe(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function se(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.name)}}function Me(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function ve(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.vo.name)}}function me(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function Te(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"perun-web-apps-group-resource-status",34),e.NdJ("mouseenter",function(){return e.CHM(S),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(S);const P=e.oxw();return P.disabledRouting=P.disableRouting})("statusChange",function(){return e.CHM(S),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.Q6J("theme","group-theme")("resourceId",S.id)("groupId",I.groupId)("failureCause",S.failureCause)("status",S.status)}}function te(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function R(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.facility.name)}}function Oe(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function Ie(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"resourceTagsToString"),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,S.resourceTags)," ")}}function He(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function fe(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.description)}}function Ce(he,D){1&he&&e._UZ(0,"tr",35)}const Ye=function(he){return[he]};function Xe(he,D){if(1&he&&(e._UZ(0,"tr",36),e.ALo(1,"getResourceRoute"),e.ALo(2,"getResourceRoute")),2&he){const S=D.$implicit,I=e.oxw();e.ekj("cursor-pointer",!I.disableRouting)("disable-outline",I.disabledRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",e.VKq(12,Ye,I.disabledRouting?null:e.xi3(1,6,S,I.routingVo)))("routerLink",I.disabledRouting?null:e.xi3(2,9,S,I.routingVo))}}function tt(he,D){1&he&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function at(he,D){1&he&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let N=(()=>{class he{constructor(S,I){this.guiAuthResolver=S,this.tableCheckbox=I,this.resources=[],this.selection=new T.Ov(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=m.f7,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new e.vpe,this.allSelected=new e.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=P=>!this.disableSelect(P)}set matSort(S){this.sort=S}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(S=>"id"!==S)),this.setDataSource(),this.setAuth()}getDataForColumn(S,I,P){switch(I){case"id":return S.id.toString();case"vo":return S.vo.name;case"name":return S.name;case"facility":return S.facility.name;case"description":return S.description;case"recent":return P.recentIds&&P.recentIds.indexOf(S.id)>-1?"#".repeat(P.recentIds.indexOf(S.id)):S.name;case"tags":{if(!S.resourceTags)return S[I];let r="";return S.resourceTags.forEach(function(p){r=r.concat(p.tagName)}),r}case"status":return S.status;case"uuid":return S.uuid;default:return S[I]}}exportData(S){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),S)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(S,I)=>(0,m.Sd)(S,I,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(S,I)=>(0,m.pR)(S,I,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const S=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(S),S}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(S){return S?`${this.selection.isSelected(S)?"deselect":"select"} row ${S.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const S=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((I,P)=>I&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",S.concat([P])),!0),this.addAuth=this.selection.selected.reduce((I,P)=>I&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",S.concat([P])),!0)}itemSelectionToggle(S){this.selection.toggle(S),this.setAuth()}disableSelect(S){return this.resourcesToDisableCheckbox.has(S.id)}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(A.x4),e.Y36(A.UA))},he.\u0275cmp=e.Xpm({type:he,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(S,I){if(1&S&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&S){let P;e.iGM(P=e.CRH())&&(I.matSort=P.first),e.iGM(P=e.CRH())&&(I.child=P.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(S,I){1&S&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(i){return I.exportData(i)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,ke,2,3,"th",4),e.YNc(5,ae,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,V,3,3,"th",7),e.YNc(8,H,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,X,1,0,"th",10),e.YNc(11,ie,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,oe,1,0,"th",10),e.YNc(14,Ne,2,1,"td",11),e.BQk(),e.ynx(15,13),e.YNc(16,Fe,3,3,"th",7),e.YNc(17,se,2,1,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,Me,3,3,"th",7),e.YNc(20,ve,2,1,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,me,3,3,"th",7),e.YNc(23,Te,2,5,"td",11),e.BQk(),e.ynx(24,16),e.YNc(25,te,3,3,"th",7),e.YNc(26,R,2,1,"td",11),e.BQk(),e.ynx(27,17),e.YNc(28,Oe,3,3,"th",7),e.YNc(29,Ie,3,3,"td",11),e.BQk(),e.ynx(30,18),e.YNc(31,He,3,3,"th",7),e.YNc(32,fe,2,1,"td",11),e.BQk(),e.YNc(33,Ce,1,0,"tr",19),e.YNc(34,Xe,3,14,"tr",20),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,tt,3,3,"app-alert",21),e.YNc(36,at,3,3,"app-alert",21)),2&S&&(e.Q6J("hidden",0===I.dataSource.filteredData.length||0===I.resources.length),e.xp6(1),e.Q6J("dataLength",I.dataSource.filteredData.length)("tableId",I.tableId)("pageSizeOptions",I.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",I.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",I.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",I.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===I.dataSource.filteredData.length&&0!==I.resources.length),e.xp6(1),e.Q6J("ngIf",0===I.resources.length))},directives:[s.l,g.BZ,f.YE,g.w1,g.fO,g.ge,b.oG,g.Dz,g.ev,O.gM,f.nU,E.W,h.O5,k.Hw,L.x,g.as,g.XQ,g.nj,g.Gk,Y.YH,J.rH,ue.w],pipes:[ce.X$,Le,de.r],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),he})()},52170:(Ke,be,d)=>{"use strict";d.d(be,{qG:()=>m,$x:()=>A});var e=d(5e3),f=d(51062),g=d(42377);class T{constructor(b,O){this.value=O,this.displayName=b}}var m=(()=>{return(s=m||(m={}))[s.SOURCE=0]="SOURCE",s[s.DESTINATION=1]="DESTINATION",s[s.FEDERATION=2]="FEDERATION",m;var s})();let A=(()=>{class s{constructor(O){this.translateService=O,this.attributes=[],this.asGroup=!1,this.itemSelected=new e.vpe,this.items=[],this.nameFunction=E=>E.displayName,this.shortNameFunction=()=>null,this.searchFunction=E=>E.displayName}static getDefinition(O){const E=O.namespace.split(":");return null===E[4]?"null":E[4]}ngOnInit(){this.type===m.FEDERATION?(this.getFederationAttributes(),this.getFederationAttribute()):this.createSelectionItems(),this.sortAttributes(this.items)}createSelectionItems(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(O=>{const E=new T(O,"");this.items.push(E),this.item=E});for(const O of this.attributes){const E=new T(O.friendlyName+" ("+O.entity+" / "+s.getDefinition(O)+")",O.namespace+":"+O.friendlyName);E.value===this.selectedAttribute&&(this.item=E),("user"===O.entity.toLowerCase()||"member"===O.entity.toLowerCase()||"vo"===O.entity.toLowerCase()&&this.type===m.SOURCE||"group"===O.entity.toLowerCase()&&this.asGroup&&this.type===m.SOURCE)&&this.items.push(E)}}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(O=>{this.items.push(new T(O,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(E=>{this.items.push(new T(E,"custom")),this.items.push(new T("Display name","displayName")),this.items.push(new T("Common name","cn")),this.items.push(new T("Mail","mail")),this.items.push(new T("Organization","o")),this.items.push(new T("Level of Assurance (LoA)","loa")),this.items.push(new T("First name","givenName")),this.items.push(new T("Surname","sn")),this.items.push(new T("EPPN","eppn")),this.items.push(new T("IdP Category","md_entityCategory")),this.items.push(new T("IdP Affiliation","affiliation")),this.items.push(new T("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.items.push(new T("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.items.push(new T("schacHomeOrganization","schacHomeOrganization")),this.items.push(new T("Login","uid")),this.items.push(new T("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){for(const O of this.items)if(O.value===this.selectedAttribute)return void(this.item=O);this.item=this.items[1],this.item.value=this.selectedAttribute}sortAttributes(O){O.sort((E,h)=>""===E.value?-1:""===h.value?1:E.displayName.localeCompare(h.displayName))}}return s.\u0275fac=function(O){return new(O||s)(e.Y36(f.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-selection-item-search-select"]],inputs:{attributes:"attributes",selectedAttribute:"selectedAttribute",type:"type",asGroup:"asGroup"},outputs:{itemSelected:"itemSelected"},decls:4,vars:14,consts:[[3,"entities","entity","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(O,E){1&O&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(k){return E.itemSelected.emit(k)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&O&&e.Q6J("entities",E.items)("entity",E.item)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[g.i],pipes:[f.X$],styles:[""]}),s})()},80275:(Ke,be,d)=>{"use strict";d.d(be,{j:()=>Te});var e=d(20449),f=d(84847),g=d(32075),T=d(36908),m=d(9244),A=d(5e3),s=d(30325),b=d(18750),O=d(29772),E=d(77446),h=d(50301),k=d(69808),L=d(98380),Y=d(51062),J=d(34447);let ue=(()=>{class te{transform(Oe){const Ie=Oe.find(He=>"mail"===He.friendlyName);return Ie?Ie.value.toString():"N/A"}}return te.\u0275fac=function(Oe){return new(Oe||te)},te.\u0275pipe=A.Yjl({name:"getMailFromAttributes",type:te,pure:!0}),te})();function ce(te,R){1&te&&A._UZ(0,"th",18)}function Le(te,R){if(1&te){const Oe=A.EpF();A.TgZ(0,"td",19),A.TgZ(1,"span",20),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.TgZ(4,"mat-checkbox",21),A.NdJ("change",function(He){const Ce=A.CHM(Oe).$implicit,Ye=A.oxw();return He?Ye.selection.toggle(Ce):null})("click",function(He){return He.stopPropagation()}),A.qZA(),A.qZA(),A.qZA()}if(2&te){const Oe=R.$implicit,Ie=A.oxw();A.xp6(1),A.s9C("matTooltip",A.lcZ(2,6,A.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),A.Q6J("matTooltipPosition","above")("matTooltipDisabled",!Oe.userExtSource.persistent),A.xp6(3),A.Q6J("aria-label",Ie.checkboxLabel(Oe))("checked",Ie.selection.isSelected(Oe))("disabled",Oe.userExtSource.persistent)}}function de(te,R){1&te&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&te&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function ke(te,R){if(1&te&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&te){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.id," ")}}function ae(te,R){1&te&&(A.TgZ(0,"th",24),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&te&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function V(te,R){if(1&te&&(A.TgZ(0,"td",23),A._uU(1),A.ALo(2,"getMailFromAttributes"),A.qZA()),2&te){const Oe=R.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,Oe.attributes)," ")}}function H(te,R){if(1&te&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&te){const Oe=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Oe.extSourceNameHeader?Oe.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function X(te,R){if(1&te&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&te){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.extSource.name," ")}}function ie(te,R){if(1&te&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&te){const Oe=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Oe.loginHeader?Oe.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function oe(te,R){if(1&te&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&te){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.login," ")}}function ge(te,R){1&te&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&te&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Ne(te,R){if(1&te&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"date"),A.qZA()),2&te){const Oe=R.$implicit;A.xp6(1),A.hij(" ",A.xi3(2,1,Oe.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Fe(te,R){1&te&&A._UZ(0,"tr",26)}const se=function(te,R){return["/admin","users",te,"identities",R]};function Me(te,R){if(1&te&&A._UZ(0,"tr",27),2&te){const Oe=R.$implicit,Ie=A.oxw();A.ekj("cursor-pointer",!Ie.disableRouting)("disable-outline",Ie.disableRouting),A.Q6J("perunWebAppsMiddleClickRouterLink",Ie.disableRouting?null:A.WLB(6,se,Ie.userId,Oe.userExtSource.id))("routerLink",Ie.disableRouting?null:A.WLB(9,se,Ie.userId,Oe.userExtSource.id))}}function ve(te,R){1&te&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&te&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function me(te,R){1&te&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&te&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Te=(()=>{class te{constructor(Oe,Ie){this.route=Oe,this.authResolver=Ie,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=m.f7}set matSort(Oe){this.sort=Oe,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(Oe=>{this.userId=Oe.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Oe=>"id"!==Oe)),this.dataSource=new g.by(this.userExtSources),this.setDataSource()}getDataForColumn(Oe,Ie){switch(Ie){case"id":return Oe.userExtSource.id.toString();case"mail":{const He=Oe.attributes.find(fe=>"mail"===fe.friendlyName);return He?He.value.toString():"N/A"}case"extSourceName":return Oe.userExtSource.extSource.name;case"login":return Oe.userExtSource.login;case"lastAccess":return Oe.userExtSource.lastAccess.split(".")[0];default:return Oe[Ie]}}exportData(Oe){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Oe)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Oe,Ie)=>(0,m.Sd)(Oe,Ie,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Oe,Ie)=>(0,m.pR)(Oe,Ie,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(Oe){return`${this.selection.isSelected(Oe.userExtSource)?"deselect":"select"} row ${Oe.userExtSource.id+1}`}}return te.\u0275fac=function(Oe){return new(Oe||te)(A.Y36(s.gz),A.Y36(T.x4))},te.\u0275cmp=A.Xpm({type:te,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(Oe,Ie){if(1&Oe&&(A.Gf(m.l9,7),A.Gf(f.YE,7)),2&Oe){let He;A.iGM(He=A.CRH())&&(Ie.child=He.first),A.iGM(He=A.CRH())&&(Ie.matSort=He.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[A.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Oe,Ie){1&Oe&&(A.TgZ(0,"div",0),A.TgZ(1,"perun-web-apps-table-wrapper",1),A.NdJ("exportData",function(fe){return Ie.exportData(fe)}),A.TgZ(2,"table",2),A.ynx(3,3),A.YNc(4,ce,1,0,"th",4),A.YNc(5,Le,5,10,"td",5),A.BQk(),A.ynx(6,6),A.YNc(7,de,4,5,"th",7),A.YNc(8,ke,2,1,"td",8),A.BQk(),A.ynx(9,9),A.YNc(10,ae,4,5,"th",10),A.YNc(11,V,3,3,"td",8),A.BQk(),A.ynx(12,11),A.YNc(13,H,4,5,"th",7),A.YNc(14,X,2,1,"td",8),A.BQk(),A.ynx(15,12),A.YNc(16,ie,4,5,"th",7),A.YNc(17,oe,2,1,"td",8),A.BQk(),A.ynx(18,13),A.YNc(19,ge,4,5,"th",7),A.YNc(20,Ne,3,4,"td",14),A.BQk(),A.YNc(21,Fe,1,0,"tr",15),A.YNc(22,Me,1,12,"tr",16),A.qZA(),A.qZA(),A.qZA(),A.YNc(23,ve,3,3,"app-alert",17),A.YNc(24,me,4,5,"app-alert",17)),2&Oe&&(A.Q6J("hidden",0===Ie.userExtSources.length||0===Ie.dataSource.filteredData.length),A.xp6(1),A.Q6J("tableId",Ie.tableId)("dataLength",Ie.dataSource.filteredData.length)("pageSizeOptions",Ie.pageSizeOptions),A.xp6(1),A.Q6J("dataSource",Ie.dataSource),A.xp6(19),A.Q6J("matHeaderRowDef",Ie.displayedColumns),A.xp6(1),A.Q6J("matRowDefColumns",Ie.displayedColumns),A.xp6(1),A.Q6J("ngIf",0===Ie.dataSource.filteredData.length&&0!==Ie.userExtSources.length),A.xp6(1),A.Q6J("ngIf",0===Ie.userExtSources.length))},directives:[b.l,g.BZ,f.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,O.gM,E.oG,f.nU,g.as,g.XQ,g.nj,g.Gk,h.YH,s.rH,k.O5,L.w],pipes:[Y.X$,J.a,ue,k.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),te})()},74250:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>m});var e=d(5e3),f=d(9244),g=d(42377),T=d(51062);let m=(()=>{class A{constructor(){this.disableAutoSelect=!1,this.userSelected=new e.vpe,this.userFullNameFunction=f.bD}ngOnInit(){this.users=this.users.sort(f.fx)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-user-search-select"]],inputs:{users:"users",disableAutoSelect:"disableAutoSelect"},outputs:{userSelected:"userSelected"},decls:4,vars:13,consts:[[3,"entities","disableAutoSelect","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,O){1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return O.userSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b&&e.Q6J("entities",O.users)("disableAutoSelect",O.disableAutoSelect)("searchFunction",O.userFullNameFunction)("mainTextFunction",O.userFullNameFunction)("selectPlaceholder",e.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",e.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",e.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[g.i],pipes:[T.X$],styles:[""]}),A})()},88561:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>at});var e=d(20449),f=d(9244),g=d(84847),T=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(10036),O=d(18750),E=d(69808),h=d(20773),k=d(32075),L=d(77446),Y=d(25245),J=d(29772),ue=d(50301),ce=d(98380),Le=d(51062),de=d(31359),ke=d(9954),ae=d(16119),V=d(7598);function H(N,he){1&N&&(s.TgZ(0,"div",20),s._UZ(1,"mat-spinner",21),s.qZA())}function X(N,he){if(1&N){const D=s.EpF();s.TgZ(0,"mat-checkbox",24),s.NdJ("change",function(I){s.CHM(D);const P=s.oxw(2);return I?P.masterToggle():null}),s.qZA()}if(2&N){const D=s.oxw(2);s.Q6J("aria-label",D.checkboxLabel())("checked",D.selection.hasValue()&&D.isAllSelected())("indeterminate",D.selection.hasValue()&&!D.isAllSelected())}}function ie(N,he){if(1&N&&(s.TgZ(0,"th",22),s.YNc(1,X,1,3,"mat-checkbox",23),s.qZA()),2&N){const D=s.oxw();s.xp6(1),s.Q6J("ngIf",D.selection.isMultipleSelection())}}function oe(N,he){if(1&N){const D=s.EpF();s.TgZ(0,"td",25),s.TgZ(1,"mat-checkbox",26),s.NdJ("change",function(I){const i=s.CHM(D).$implicit,r=s.oxw();return I?r.selection.toggle(i):null})("click",function(I){return I.stopPropagation()}),s.qZA(),s.qZA()}if(2&N){const D=he.$implicit,S=s.oxw();s.xp6(1),s.Q6J("aria-label",S.checkboxLabel(D))("checked",S.selection.isSelected(D))}}function ge(N,he){1&N&&s._UZ(0,"th",27)}function Ne(N,he){1&N&&(s.TgZ(0,"mat-icon",31),s.ALo(1,"translate"),s._uU(2," account_circle "),s.qZA()),2&N&&s.s9C("matTooltip",s.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function Fe(N,he){if(1&N&&(s._UZ(0,"mat-icon",32),s.ALo(1,"translate")),2&N){const D=s.oxw(2);s.s9C("matTooltip",s.lcZ(1,2,"MANAGERS_LIST.SERVICE")),s.Q6J("svgIcon",D.svgIcon)}}function se(N,he){if(1&N&&(s.TgZ(0,"td",28),s.YNc(1,Ne,3,3,"mat-icon",29),s.YNc(2,Fe,2,4,"mat-icon",30),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Q6J("ngIf",!D.serviceUser),s.xp6(1),s.Q6J("ngIf",D.serviceUser)}}function Me(N,he){1&N&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function ve(N,he){if(1&N&&(s.TgZ(0,"td",28),s._uU(1),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.hij(" ",D.id," ")}}function me(N,he){1&N&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Te(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function te(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function R(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userVo"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function Oe(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function Ie(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userEmail"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function He(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function fe(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userLogins"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function Ce(N,he){1&N&&s._UZ(0,"tr",35)}const Ye=function(N){return["/admin/users",N]};function Xe(N,he){if(1&N&&s._UZ(0,"tr",36),2&N){const D=he.$implicit,S=s.oxw();s.ekj("cursor-pointer",!S.disableRouting),s.Q6J("perunWebAppsForceRouterLink",S.disableRouting?null:s.VKq(4,Ye,D.id))("perunWebAppsMiddleClickRouterLink",S.disableRouting?null:s.VKq(6,Ye,D.id))}}function tt(N,he){1&N&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}let at=(()=>{class N{constructor(D,S,I,P){this.authResolver=D,this.tableCheckbox=S,this.tableConfigService=I,this.dynamicPaginatingService=P,this.svgIcon="perun-service-identity-black",this.selection=new e.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.disableRouting=!1,this.searchString="",this.attrNames=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadUsersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(D=>"id"!==D)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadUsers(this.attrNames,this.tableConfigService.getTablePageSize(this.tableId),0,"ASCENDING","NAME",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadUsersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(D=>this.selection.select(D))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(D){return D?`${this.selection.isSelected(D)?"deselect":"select"} row ${D.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}loadUsersPage(){this.dataSource.loadUsers(this.attrNames,this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING","name"===this.sort.active?"NAME":"ID",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}exportData(D){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),D)}getExportDataForColumn(D,S){switch(S){case"id":return D.id.toString();case"user":return D.serviceUser?"service-user":"user";case"name":return D?(0,f.bD)(D):"";case"organization":return(0,f.OV)(D);case"email":return(0,f.kN)(D);case"logins":return(0,f.lt)(D);default:return""}}}return N.\u0275fac=function(D){return new(D||N)(s.Y36(T.x4),s.Y36(T.UA),s.Y36(b.dB),s.Y36(T.ly))},N.\u0275cmp=s.Xpm({type:N,selectors:[["perun-web-apps-users-dynamic-list"]],viewQuery:function(D,S){if(1&D&&(s.Gf(f.l9,7),s.Gf(g.YE,5)),2&D){let I;s.iGM(I=s.CRH())&&(S.child=I.first),s.iGM(I=s.CRH())&&(S.sort=I.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",attrNames:"attrNames",withoutVo:"withoutVo",updateTable:"updateTable",facilityId:"facilityId",voId:"voId",resourceId:"resourceId",serviceId:"serviceId",onlyAllowed:"onlyAllowed"},features:[s.TTD],decls:31,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"matTooltip","svgIcon",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"matTooltip","svgIcon"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(D,S){1&D&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(P){return S.exportData(P)}),s.YNc(3,H,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,ie,2,1,"th",5),s.YNc(8,oe,2,2,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,ge,1,0,"th",8),s.YNc(11,se,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,Me,3,3,"th",11),s.YNc(14,ve,2,1,"td",9),s.BQk(),s.ynx(15,12),s.YNc(16,me,3,3,"th",11),s.YNc(17,Te,3,3,"td",13),s.BQk(),s.ynx(18,14),s.YNc(19,te,3,3,"th",8),s.YNc(20,R,3,3,"td",13),s.BQk(),s.ynx(21,15),s.YNc(22,Oe,3,3,"th",8),s.YNc(23,Ie,3,3,"td",13),s.BQk(),s.ynx(24,16),s.YNc(25,He,3,3,"th",8),s.YNc(26,fe,3,3,"td",13),s.BQk(),s.YNc(27,Ce,1,0,"tr",17),s.YNc(28,Xe,1,8,"tr",18),s.qZA(),s.qZA(),s.qZA(),s.YNc(29,tt,3,4,"app-alert",19),s.ALo(30,"async")),2&D&&(s.Q6J("hidden",0===S.dataSource.allObjectCount&&!1===s.lcZ(1,9,S.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",S.tableId)("dataLength",S.dataSource.allObjectCount)("pageSizeOptions",S.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,S.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",S.dataSource),s.xp6(22),s.Q6J("matHeaderRowDef",S.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",S.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===S.dataSource.allObjectCount&&!1===s.lcZ(30,13,S.dataSource.loading$)))},directives:[O.l,E.O5,h.$g,k.BZ,g.YE,k.w1,k.fO,k.ge,L.oG,k.Dz,k.ev,Y.Hw,J.gM,g.nU,k.as,k.XQ,k.nj,k.Gk,ue.Kd,ue.YH,ce.w],pipes:[E.Ov,Le.X$,de.d,ke.Z,ae.S,V.g],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),N})()},62707:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>T});var e=d(5e3),f=d(42377),g=d(51062);let T=(()=>{class m{constructor(){this.voSelected=new e.vpe,this.nameFunction=s=>s.name,this.shortNameFunction=s=>s.shortName,this.searchFunction=s=>s.name+s.shortName+s.id}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vo:"vo",vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:14,consts:[[3,"entity","entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(s,b){1&s&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(E){return b.voSelected.emit(E)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&s&&e.Q6J("entity",b.vo)("entities",b.vos)("searchFunction",b.searchFunction)("mainTextFunction",b.nameFunction)("secondaryTextFunction",b.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[f.i],pipes:[g.X$],styles:[""]}),m})()},87831:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>Fe});var e=d(84847),f=d(32075),g=d(9244),T=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),O=d(50301),E=d(30325),h=d(69808),k=d(98380),L=d(51062);function Y(se,Me){1&se&&m._UZ(0,"th",18)}function J(se,Me){if(1&se){const ve=m.EpF();m.TgZ(0,"td",19),m.TgZ(1,"mat-checkbox",20),m.NdJ("change",function(Te){const R=m.CHM(ve).$implicit,Oe=m.oxw();return Te?Oe.selection.toggle(R):null})("click",function(Te){return Te.stopPropagation()}),m.qZA(),m.qZA()}if(2&se){const ve=Me.$implicit,me=m.oxw();m.xp6(1),m.Q6J("aria-label",me.checkboxLabel(ve))("checked",me.selection.isSelected(ve))}}function ue(se,Me){1&se&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&se&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")," "))}function ce(se,Me){if(1&se&&(m.TgZ(0,"td",22),m._uU(1),m.qZA()),2&se){const ve=Me.$implicit;m.xp6(1),m.Oqu(ve.id)}}function Le(se,Me){1&se&&m._UZ(0,"th",23)}function de(se,Me){if(1&se&&(m.TgZ(0,"td",24),m._UZ(1,"perun-web-apps-recently-viewed-icon",25),m.qZA()),2&se){const ve=Me.$implicit,me=m.oxw();m.xp6(1),m.Q6J("recentIds",me.recentIds)("id",ve.id)}}function ke(se,Me){1&se&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&se&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")," "))}function ae(se,Me){if(1&se&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&se){const ve=Me.$implicit;m.uIk("data-cy",ve.shortName),m.xp6(1),m.Oqu(ve.shortName)}}function V(se,Me){1&se&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&se&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")," "))}function H(se,Me){if(1&se&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&se){const ve=Me.$implicit;m.xp6(1),m.Oqu(ve.name)}}function X(se,Me){1&se&&m._UZ(0,"tr",26)}const ie=function(se){return["/organizations",se]};function oe(se,Me){if(1&se&&m._UZ(0,"tr",27),2&se){const ve=Me.$implicit,me=m.oxw();m.ekj("disable-outline",me.disableRouting),m.Q6J("perunWebAppsMiddleClickRouterLink",me.disableRouting?null:m.VKq(4,ie,ve.id))("routerLink",me.disableRouting?null:m.VKq(6,ie,ve.id))}}function ge(se,Me){1&se&&(m.TgZ(0,"app-alert",28),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&se&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ne(se,Me){1&se&&(m.TgZ(0,"app-alert",29),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&se&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let Fe=(()=>{class se{constructor(ve){this.authResolver=ve,this.vos=[],this.displayedColumns=[],this.disableRouting=!1,this.pageSizeOptions=g.f7}set matSort(ve){this.sort=ve}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(ve=>"id"!==ve)),this.setDataSource()}getDataForColumn(ve,me,Te){switch(me){case"id":return ve.id.toString();case"shortName":return ve.shortName;case"name":return ve.name;case"recent":return Te.recentIds&&Te.recentIds.indexOf(ve.id)>-1?"#".repeat(Te.recentIds.indexOf(ve.id)):ve.name;default:return ve[me]}}exportData(ve){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),ve)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(ve,me)=>(0,g.Sd)(ve,me,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(ve,me)=>(0,g.pR)(ve,me,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(ve){return`${this.selection.isSelected(ve)?"deselect":"select"} row ${ve.id+1}`}}return se.\u0275fac=function(ve){return new(ve||se)(m.Y36(T.x4))},se.\u0275cmp=m.Xpm({type:se,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(ve,me){if(1&ve&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&ve){let Te;m.iGM(Te=m.CRH())&&(me.matSort=Te.first),m.iGM(Te=m.CRH())&&(me.child=Te.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions",tableId:"tableId"},features:[m.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn","data-cy","no-filter-result",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn","data-cy","no-filter-result"],["alert_type","warn"]],template:function(ve,me){1&ve&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(te){return me.exportData(te)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,Y,1,0,"th",4),m.YNc(5,J,2,2,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,ue,3,3,"th",7),m.YNc(8,ce,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Le,1,0,"th",10),m.YNc(11,de,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,ke,3,3,"th",7),m.YNc(14,ae,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,V,3,3,"th",7),m.YNc(17,H,2,1,"td",11),m.BQk(),m.YNc(18,X,1,0,"tr",14),m.YNc(19,oe,1,8,"tr",15),m.qZA(),m.qZA(),m.qZA(),m.YNc(20,ge,3,3,"app-alert",16),m.YNc(21,Ne,3,3,"app-alert",17)),2&ve&&(m.Q6J("hidden",0===me.dataSource.filteredData.length||0===me.vos.length),m.xp6(1),m.Q6J("dataLength",me.dataSource.filteredData.length)("tableId",me.tableId)("pageSizeOptions",me.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",me.dataSource),m.xp6(16),m.Q6J("matHeaderRowDef",me.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",me.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===me.dataSource.filteredData.length&&0!==me.vos.length),m.xp6(1),m.Q6J("ngIf",0===me.vos.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,f.as,f.XQ,f.nj,f.Gk,O.YH,E.rH,h.O5,k.w],pipes:[L.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),se})()},84379:(Ke,be,d)=>{"use strict";d.d(be,{Wr:()=>Vt,r2:()=>zt,gr:()=>bt,u3:()=>gt,Qu:()=>$t,pf:()=>V,xF:()=>Qt,hd:()=>Hi,kZ:()=>Li,wA:()=>Mt,rd:()=>Te,Eg:()=>me,Bp:()=>Ye,qD:()=>Vi,jd:()=>Ci,FM:()=>D,Lc:()=>n,mk:()=>y,Tf:()=>re}),d(19516);var f=d(28499),T=d(48966),m=d(9315),A=d(36908),s=d(5e3),b=d(51062),O=d(69808),E=d(20773),h=d(67322),k=d(74107),L=d(90508),Y=d(47423),J=d(20551);function ue(q,ut){1&q&&s._UZ(0,"mat-spinner",6)}function ce(q,ut){if(1&q&&(s.TgZ(0,"mat-option",17),s._uU(1),s.ALo(2,"memberStatus"),s.qZA()),2&q){const we=ut.$implicit;s.Q6J("value",we),s.xp6(1),s.Oqu(s.lcZ(2,2,we))}}function Le(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"mat-form-field",14),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-select",15),s.NdJ("selectionChange",function(Ft){return s.CHM(we),s.oxw(3).changeStatus(Ft)}),s.YNc(5,ce,3,4,"mat-option",16),s.qZA(),s.qZA()}if(2&q){const we=s.oxw(3);s.xp6(2),s.Oqu(s.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),s.xp6(3),s.Q6J("ngForOf",we.allStatuses)}}function de(q,ut){if(1&q&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.YNc(3,Le,6,4,"mat-form-field",13),s.qZA()),2&q){const we=s.oxw(2);s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),s.xp6(2),s.Q6J("ngIf",!we.loading)}}function ke(q,ut){if(1&q&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"memberStatus"),s.qZA()),2&q){const we=s.oxw(2);s.xp6(1),s.AsE(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," ",s.lcZ(3,4,we.allStatuses[0])," ")}}function ae(q,ut){if(1&q&&(s.TgZ(0,"div",7),s.TgZ(1,"div",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"memberStatus"),s.qZA(),s.TgZ(5,"div",9),s._uU(6),s.qZA(),s.YNc(7,de,4,4,"div",10),s.YNc(8,ke,4,6,"div",10),s.TgZ(9,"div",11),s._UZ(10,"i",12),s.qZA(),s.qZA()),2&q){const we=s.oxw();s.xp6(2),s.AsE(" ",s.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",s.lcZ(4,8,we.actualStatus)," "),s.xp6(4),s.Oqu(we.description),s.xp6(1),s.Q6J("ngIf",we.allStatuses.length>1),s.xp6(1),s.Q6J("ngIf",1===we.allStatuses.length),s.xp6(2),s.Q6J("innerHTML",we.changeMessage,s.oJD)}}let V=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi){this.dialogRef=we,this.data=lt,this.memberManager=Ft,this.groupsManager=Jt,this.notificatorService=di,this.translate=Oi,this.loading=!1,this.allStatuses=["VALID","INVALID","EXPIRED","DISABLED"]}ngOnInit(){switch(this.data.groupId?(this.theme="group-theme",this.actualStatus=this.data.member.groupStatus):(this.theme="vo-theme",this.actualStatus=this.data.member.status),this.changeStatusButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS"),this.changeStatusWithExpButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS_WITH_EXPIRATION"),this.submitButtonText=this.changeStatusButton,this.data.groupId?("VALID"===this.actualStatus?(this.allStatuses=["EXPIRED"],this.selectedStatus="EXPIRED"):(this.allStatuses=["VALID"],this.selectedStatus="VALID"),this.submitButtonText=this.changeStatusWithExpButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)):this.allStatuses="INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(we=>we!==this.actualStatus),this.actualStatus){case"VALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.VALID_DESCRIPTION");break;case"INVALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.INVALID_DESCRIPTION");break;case"EXPIRED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.EXPIRED_DESCRIPTION");break;case"DISABLED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.DISABLED_DESCRIPTION");break;default:this.description=""}}changeStatus(we){this.selectedStatus=we.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}changeStatusMessage(we,lt){if("VALID"===we)switch(lt){case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_DISABLED");break;default:this.changeMessage=""}else switch(lt){case"VALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_VALID");break;case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_DISABLED");break;default:this.changeMessage=""}}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(we=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(lt=>{this.notificatorService.showSuccess(lt),this.dialogRef.close(we)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(we=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(lt=>{this.notificatorService.showSuccess(lt),this.dialogRef.close(we)})},()=>this.loading=!1)}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.uq),s.Y36(m.ff),s.Y36(A.V6),s.Y36(b.sK))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-member-status-dialog"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold","pb-1"],[1,"text-muted","pb-3"],["class","font-weight-bold pb-1",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],["class","mr-2 mt-2",4,"ngIf"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(we,lt){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ue,1,0,"mat-spinner",1),s.YNc(5,ae,11,10,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return lt.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return lt.submit()}),s._uU(11),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(lt.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),s.xp6(2),s.Q6J("disabled",lt.loading||!lt.selectedStatus),s.xp6(1),s.hij(" ",lt.submitButtonText," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,h.hX,k.gD,O.sg,L.ey,T.H8,Y.lW],pipes:[b.X$,J.l],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),q})();var H=d(93075),X=d(98833);function ie(q,ut){1&q&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")," "))}function oe(q,ut){1&q&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")," "))}function ge(q,ut){1&q&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")," "))}function Ne(q,ut){1&q&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")," "))}function Fe(q,ut){1&q&&s._UZ(0,"mat-spinner",8)}function se(q,ut){if(1&q&&(s.TgZ(0,"mat-form-field"),s._UZ(1,"input",13),s.ALo(2,"translate"),s.qZA()),2&q){const we=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),s.Q6J("value",we.shortName)}}function Me(q,ut){if(1&q&&(s.TgZ(0,"mat-form-field",14),s._UZ(1,"textarea",15),s.ALo(2,"translate"),s.qZA()),2&q){const we=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),s.Q6J("formControl",we.descriptionCtrl)}}function ve(q,ut){if(1&q&&(s.TgZ(0,"div",9),s.YNc(1,se,3,4,"mat-form-field",10),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",11),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.YNc(8,Me,3,4,"mat-form-field",12),s.qZA()),2&q){const we=s.oxw();s.xp6(1),s.Q6J("ngIf",2===we.dialogType),s.xp6(2),s.MGl("placeholder","",s.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),s.Q6J("formControl",we.nameCtrl),s.xp6(3),s.hij(" ",we.invalidNameMessage.length?we.invalidNameMessage:s.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),s.xp6(2),s.Q6J("ngIf",2!==we.dialogType)}}var me=(()=>{return(q=me||(me={}))[q.FACILITY=0]="FACILITY",q[q.RESOURCE=1]="RESOURCE",q[q.VO=2]="VO",q[q.GROUP=3]="GROUP",me;var q})();let Te=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi,zi,mn,In){this.dialogRef=we,this.data=lt,this.notificator=Ft,this.translateService=Jt,this.facilitiesManager=di,this.resourcesManager=Oi,this.groupsManager=zi,this.vosManager=mn,this.store=In,this.invalidNameMessage=this.data.dialogType===me.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===me.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case me.FACILITY:this.nameCtrl=new H.NI(this.data.facility.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI(this.data.facility.description);break;case me.RESOURCE:this.nameCtrl=new H.NI(this.data.resource.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new H.NI(this.data.resource.description);break;case me.GROUP:{const we=this.data.group.name.split(":");this.nameCtrl=new H.NI(we[we.length-1],[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.pattern(this.secondaryRegex),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI(this.data.group.description);break}case me.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new H.NI(this.data.vo.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case me.FACILITY:this.editFacility();break;case me.RESOURCE:this.editResource();break;case me.GROUP:this.editGroup();break;case me.VO:this.editVo()}}editResource(){this.data.resource.name=this.nameCtrl.value,this.data.resource.description=this.descriptionCtrl.value,this.resourcesManager.updateResource({resource:this.data.resource}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.RESOURCE_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}editFacility(){this.data.facility.name=this.nameCtrl.value,this.data.facility.description=this.descriptionCtrl.value,this.facilitiesManager.updateFacility({facility:this.data.facility}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FACILITY_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(we=>{const lt=we;lt.name=this.nameCtrl.value,lt.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:lt}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(Ft=>{this.notificator.showSuccess(Ft),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}editVo(){this.data.vo.name=this.nameCtrl.value,this.vosManager.updateVo({vo:this.data.vo}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.VO_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.IQ),s.Y36(m.xk),s.Y36(m.ff),s.Y36(m.YF),s.Y36(A.d6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-edit-facility-resource-group-vo-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["class","mt-3",4,"ngIf"],["disabled","","matInput","","required","",3,"value","placeholder"],[1,"mt-3"],["mat-autosize","","matInput","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(we,lt){1&we&&(s.TgZ(0,"div"),s.YNc(1,ie,3,3,"h1",0),s.YNc(2,oe,3,3,"h1",0),s.YNc(3,ge,3,3,"h1",0),s.YNc(4,Ne,3,3,"h1",0),s.TgZ(5,"div",1),s.YNc(6,Fe,1,0,"mat-spinner",2),s.YNc(7,ve,9,9,"div",3),s.qZA(),s.TgZ(8,"div",4),s.TgZ(9,"button",5),s.NdJ("click",function(){return lt.cancel()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",6),s.NdJ("click",function(){return lt.submit()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(lt.theme),s.xp6(1),s.Q6J("ngIf",0===lt.dialogType),s.xp6(1),s.Q6J("ngIf",1===lt.dialogType),s.xp6(1),s.Q6J("ngIf",2===lt.dialogType),s.xp6(1),s.Q6J("ngIf",3===lt.dialogType),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(3),s.hij(" ",s.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",lt.loading||lt.nameCtrl.invalid||lt.descriptionCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[O.O5,T.uh,T.xY,E.$g,h.KE,X.Nt,H.Fj,H.Q7,H.JJ,H.oH,h.TO,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})();var te=d(64080),R=d(9244),Oe=d(25245);function Ie(q,ut){1&q&&s._UZ(0,"mat-spinner",8)}function He(q,ut){if(1&q&&(s.TgZ(0,"div",9),s.TgZ(1,"span"),s._uU(2),s.ALo(3,"translate"),s.TgZ(4,"b"),s._uU(5),s.qZA(),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"span"),s._uU(8),s.ALo(9,"translate"),s.TgZ(10,"b"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s._UZ(13,"br"),s.TgZ(14,"span"),s._uU(15),s.ALo(16,"translate"),s.TgZ(17,"b"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s._UZ(20,"br"),s.TgZ(21,"span"),s._uU(22),s.ALo(23,"translate"),s.TgZ(24,"b"),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.qZA(),s.qZA()),2&q){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),s.xp6(3),s.Oqu(we.group.name),s.xp6(3),s.hij(" ",s.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),s.xp6(3),s.Oqu(s.lcZ(12,12,we.getSynchronizationType())),s.xp6(4),s.hij(" ",s.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),s.xp6(3),s.Oqu(s.lcZ(19,16,we.getLastSyncState())),s.xp6(4),s.hij(" ",s.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),s.xp6(3),s.Oqu(s.lcZ(26,20,we.getLastSyncTime()))}}function fe(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(we),s.oxw().onForceStructure()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&q){const we=s.oxw();s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function Ce(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(we),s.oxw().onForce()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&q){const we=s.oxw();s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let Ye=(()=>{class q{constructor(we,lt,Ft,Jt){this.dialogRef=we,this.data=lt,this.groupService=Ft,this.notificator=Jt,this.loading=!0}ngOnInit(){this.theme=this.data.theme,this.loadGroup()}onForceStructure(){this.loading=!0,this.groupService.forceGroupStructureSynchronization(this.data.groupId).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.STRUCT_FORCE_SUCCESS"),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(null)}onForce(){this.loading=!0,this.isBasic()&&this.groupService.forceGroupSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1),this.isStructured()&&this.groupService.forceGroupStructureSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1)}getSynchronizationType(){return this.isBasic()?"DIALOGS.GROUP_SYNC_DETAIL.NORMAL_SYNC":this.isStructured()?"DIALOGS.GROUP_SYNC_DETAIL.STRUCT_SYNC":"N/A"}isBasic(){return"BASIC"===this.type}isStructured(){return"STRUCTURED"===this.type}getLastSyncState(){return this.isBasic()?""!==this.lastSyncState?this.lastSyncState:"OK":this.isStructured()?""!==this.lastStructSyncState?this.lastStructSyncState:"OK":"N/A"}getLastSyncTime(){return this.isBasic()?this.lastSyncTime:this.isStructured()?this.lastStructSyncTime:"N/A"}refresh(){this.loadGroup()}loadGroup(){this.loading=!0,this.groupService.getRichGroupByIdWithAttributesByNames(this.data.groupId,[te.r.GROUP_SYNC_ENABLED,te.r.GROUP_LAST_SYNC_STATE,te.r.GROUP_LAST_SYNC_TIMESTAMP,te.r.GROUP_STRUCTURE_SYNC_ENABLED,te.r.GROUP_LAST_STRUCTURE_SYNC_STATE,te.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(we=>{this.group=we,this.syncEnabled=(0,R.IL)(this.group.attributes,te.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,R.IL)(this.group.attributes,te.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,R.IL)(this.group.attributes,te.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,R.IL)(this.group.attributes,te.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,R.IL)(this.group.attributes,te.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,R.IL)(this.group.attributes,te.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP).value,null!==this.syncEnabled&&"true"===this.syncEnabled&&(this.type="BASIC"),null!==this.structSyncEnabled&&this.structSyncEnabled&&(this.type="STRUCTURED"),this.loading=!1})}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.ff),s.Y36(A.V6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-group-sync-detail-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-icon-button","",3,"click"],["class","ml-2","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(we,lt){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ie,1,0,"mat-spinner",1),s.YNc(5,He,27,22,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"div",4),s.TgZ(8,"button",5),s.NdJ("click",function(){return lt.refresh()}),s.TgZ(9,"mat-icon"),s._uU(10,"refresh"),s.qZA(),s.qZA(),s.YNc(11,fe,3,4,"button",6),s.YNc(12,Ce,3,4,"button",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return lt.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(lt.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(6),s.Q6J("ngIf",lt.isStructured()),s.xp6(1),s.Q6J("ngIf",lt.isBasic()||lt.isStructured()),s.xp6(2),s.hij(" ",s.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[T.uh,O.O5,E.$g,T.xY,T.H8,Y.lW,Oe.Hw],pipes:[b.X$],styles:[""]}),q})();function Xe(q,ut){1&q&&s._UZ(0,"mat-spinner",7)}function tt(q,ut){1&q&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function at(q,ut){1&q&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function N(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field"),s.TgZ(2,"mat-label"),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"input",9,10),s.NdJ("ngModelChange",function(Ft){return s.CHM(we),s.oxw().subject=Ft}),s.qZA(),s.YNc(7,tt,3,3,"mat-error",11),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"textarea",12,13),s.NdJ("ngModelChange",function(Ft){return s.CHM(we),s.oxw().message=Ft}),s.ALo(14,"translate"),s._uU(15," "),s.qZA(),s.YNc(16,at,3,3,"mat-error",11),s.qZA(),s.qZA()}if(2&q){const we=s.MAs(6),lt=s.MAs(13),Ft=s.oxw();s.xp6(3),s.Oqu(s.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),s.xp6(2),s.Q6J("ngModel",Ft.subject),s.xp6(2),s.Q6J("ngIf",we.invalid),s.xp6(3),s.Oqu(s.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",Ft.message),s.xp6(4),s.Q6J("ngIf",lt.invalid)}}let he=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi){this.dialogRef=we,this.translate=lt,this.notificator=Ft,this.rtMessages=Jt,this.data=di,this.storeService=Oi,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(we=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+we.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const we=this.storeService.get("config");let lt=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(lt=lt.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),lt=lt.concat(this.data.error.message+"\nPerun instance: "+we+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const Ft=/"password":".+?"/;let Jt=JSON.stringify(this.data.error.payload);Jt=Jt.replace(Ft,'"password":"####"'),lt=lt.concat("Payload:\n"+Jt+"\n\n")}return lt=lt.concat("Sended from new Perun Gui, version: "+d(4147).i8),lt.split("\n").join("\n ")}parseMethod(we){return we&&this.methodRegexp.exec(we)[1]}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Hr),s.Y36(T.WI),s.Y36(A.d6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Xe,1,0,"mat-spinner",1),s.YNc(4,N,17,13,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return lt.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return lt.sendBugReport()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(4),s.hij(" ",s.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),s.xp6(2),s.Q6J("disabled",""===lt.message||""===lt.subject||lt.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,h.hX,X.Nt,H.Fj,H.Q7,H.JJ,H.On,h.TO,T.H8,Y.lW],pipes:[b.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),q})(),D=(()=>{class q{constructor(we,lt,Ft){this.dialogRef=we,this.dialog=lt,this.data=Ft}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const we=(0,R.kZ)();we.width="550px",we.data={error:this.data.error},we.autoFocus=!1,this.dialog.open(he,we)}),this.dialogRef.close()}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.uw),s.Y36(T.WI))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s._uU(3),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return lt.onBugReportClick()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return lt.onCloseClick()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(lt.data.title),s.xp6(2),s.hij(" ",lt.data.description,"\n"),s.xp6(3),s.Q6J("hidden","error"!==lt.data.type),s.xp6(1),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[T.uh,T.xY,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})();var S=d(32075),I=d(34447);function P(q,ut){1&q&&s._UZ(0,"mat-spinner",3)}function i(q,ut){1&q&&s._UZ(0,"th",15)}function r(q,ut){if(1&q&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&q){const we=ut.$implicit;s.xp6(1),s.hij(" ",we.userExtSource.extSource.name," ")}}function p(q,ut){1&q&&s._UZ(0,"tr",17)}function o(q,ut){1&q&&s._UZ(0,"tr",18)}function t(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",4),s.TgZ(2,"p"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.TgZ(6,"div",5),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"table",6),s.ynx(11,7),s.YNc(12,i,1,0,"th",8),s.YNc(13,r,2,1,"td",9),s.BQk(),s.YNc(14,p,1,0,"tr",10),s.YNc(15,o,1,0,"tr",11),s.qZA(),s.qZA(),s.TgZ(16,"div",12),s.TgZ(17,"button",13),s.NdJ("click",function(){return s.CHM(we),s.oxw().onCancel()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.TgZ(21,"button",14),s.NdJ("click",function(){return s.CHM(we),s.oxw().onSubmit()}),s._uU(22),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&q){const we=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,7,s.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),s.xp6(4),s.hij(" ",s.lcZ(8,11,s.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),s.xp6(3),s.Q6J("dataSource",we.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",we.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",we.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,15,s.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(23,19,s.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let n=(()=>{class q{constructor(we,lt,Ft,Jt,di){this.dialogRef=we,this.data=lt,this.usersManagerService=Ft,this.translate=Jt,this.notificator=di,this.force=!1,this.displayedColumns=["name"],Jt.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(Oi=>this.successMessage=Oi)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.Fv),s.Y36(b.sK),s.Y36(A.V6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div"),s.YNc(5,P,1,0,"mat-spinner",1),s.YNc(6,t,25,23,"div",2),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,6,s.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),s.xp6(3),s.Tol(lt.theme),s.xp6(1),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading))},directives:[T.uh,O.O5,E.$g,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,Y.lW],pipes:[b.X$,I.a],styles:[""]}),q})();var c=d(74533),u=d(69287);let y=(()=>{class q{constructor(we,lt){this.dialogRef=we,this.data=lt}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"textarea",2),s._uU(4),s.qZA(),s.qZA(),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return lt.onCancel()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(lt.title),s.xp6(3),s.Oqu(lt.value),s.xp6(3),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),s.xp6(2),s.Q6J("cdkCopyToClipboard",lt.value),s.xp6(1),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[T.uh,T.xY,c.IC,X.Nt,T.H8,Y.lW,u.i3],pipes:[b.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),q})();function M(q,ut){1&q&&s._UZ(0,"th",12)}function j(q,ut){if(1&q&&(s.TgZ(0,"td",13),s._uU(1),s.qZA()),2&q){const we=ut.$implicit;s.xp6(1),s.Oqu(we.displayName)}}function Ve(q,ut){1&q&&s._UZ(0,"tr",14)}function nt(q,ut){1&q&&s._UZ(0,"tr",15)}let Mt=(()=>{class q{constructor(we,lt,Ft,Jt,di){this.dialogRef=we,this.data=lt,this.notificator=Ft,this.translate=Jt,this.attributesManager=di,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new S.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){const we=[];for(const Ft of this.data.attributes)we.push(Ft.id);const lt={};switch(lt[this.data.entity]=this.data.entityId,lt.attributes=we,void 0!==this.data.secondEntity&&(lt[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"group":"resource"===this.data.secondEntity?this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"user":"facility"===this.data.secondEntity?this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()})}break;case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.EDIT_ATTRIBUTES.SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.H8))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-edit-attribute-dialog"]],decls:23,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"table",3),s.ynx(11,4),s.YNc(12,M,1,0,"th",5),s.YNc(13,j,2,1,"td",6),s.BQk(),s.YNc(14,Ve,1,0,"tr",7),s.YNc(15,nt,1,0,"tr",8),s.qZA(),s.qZA(),s.TgZ(16,"div",9),s.TgZ(17,"button",10),s.NdJ("click",function(){return lt.onCancel()}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"button",11),s.NdJ("click",function(){return lt.onSubmit()}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),s.xp6(4),s.hij(" ",s.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),s.xp6(2),s.Q6J("dataSource",lt.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",lt.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",lt.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[T.uh,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})(),zt=(()=>{class q{constructor(we,lt){this.dialogRef=we,this.data=lt,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(we,lt){1&we&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"textarea",2),s.NdJ("ngModelChange",function(Jt){return lt.attributeValue=Jt}),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return lt.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return lt.submit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),s.xp6(4),s.Q6J("ngModel",lt.attributeValue),s.xp6(3),s.hij(" ",s.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,T.xY,h.KE,c.IC,X.Nt,H.Fj,H.JJ,H.On,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})(),Vt=(()=>{class q{constructor(we,lt){this.dialogRef=we,this.data=lt}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(we,lt){1&we&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.qZA(),s.qZA(),s.TgZ(9,"div",3),s.TgZ(10,"button",4),s.NdJ("click",function(){return lt.cancel()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"button",5),s.NdJ("click",function(){return lt.submit()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),s.xp6(4),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),s.xp6(3),s.hij(" ",lt.data.name," "),s.xp6(3),s.hij(" ",s.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,T.xY,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})();var Wt=d(98380);function At(q,ut){if(1&q&&(s.TgZ(0,"app-alert",9),s._uU(1),s.qZA()),2&q){const we=s.oxw();s.xp6(1),s.Oqu(we.pendingEmailsMessage)}}function Ht(q,ut){1&q&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let bt=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi){this.dialogRef=we,this.data=lt,this.translate=Ft,this.notificator=Jt,this.usersManagerService=di,this.authService=Oi,this.pendingMails=[],Ft.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(zi=>this.successMessage=zi),Ft.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(zi=>this.pendingEmailsMessageStart=zi),Ft.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(zi=>this.pendingEmailsMessageEnd=zi)}ngOnInit(){this.emailControl=new H.NI(null,[H.kI.required,H.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(we=>{this.pendingMails=we.filter((Ft,Jt,di)=>Jt===di.indexOf(Ft));let lt="";this.pendingMails.forEach(Ft=>lt+=`${Ft===this.pendingMails[0]?"":", "}${Ft}`),console.log(lt),this.pendingEmailsMessage=this.pendingEmailsMessageStart+lt+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const lt=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",lt[0]+"//"+lt[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Fv),s.Y36(A.e8))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,At,2,1,"app-alert",2),s.TgZ(6,"mat-form-field",3),s.TgZ(7,"label",3),s._UZ(8,"input",4),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.YNc(11,Ht,4,5,"mat-error",5),s.qZA(),s.qZA(),s.TgZ(12,"div",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return lt.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"button",8),s.NdJ("click",function(){return lt.onSubmit()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,8,s.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),s.xp6(4),s.Q6J("ngIf",lt.pendingMails.length),s.xp6(3),s.s9C("placeholder",s.lcZ(9,12,s.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),s.Q6J("formControl",lt.emailControl),s.xp6(3),s.Q6J("ngIf",lt.emailControl.invalid),s.xp6(3),s.hij(" ",s.lcZ(15,16,s.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!lt.emailControl.valid),s.xp6(1),s.hij(" ",s.lcZ(19,20,s.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[T.uh,T.xY,O.O5,Wt.w,h.KE,X.Nt,H.Fj,H.Q7,H.JJ,H.oH,h.TO,T.H8,Y.lW],pipes:[b.X$,I.a],styles:[""]}),q})();function et(q,ut){1&q&&s._UZ(0,"mat-spinner",6)}function kt(q,ut){1&q&&s._UZ(0,"th",15)}function pt(q,ut){if(1&q&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&q){const we=ut.$implicit;s.xp6(1),s.Oqu(we)}}function It(q,ut){1&q&&s._UZ(0,"tr",17)}function We(q,ut){1&q&&s._UZ(0,"tr",18)}function qe(q,ut){if(1&q&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,kt,1,0,"th",11),s.YNc(10,pt,2,1,"td",12),s.BQk(),s.YNc(11,It,1,0,"tr",13),s.YNc(12,We,1,0,"tr",14),s.qZA(),s.qZA()),2&q){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,we.data.description)," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),s.xp6(2),s.Q6J("dataSource",we.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",we.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",we.displayedColumns)}}let re=(()=>{class q{constructor(we,lt){this.dialogRef=we,this.data=lt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,lt){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,et,1,0,"mat-spinner",1),s.YNc(5,qe,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return lt.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return lt.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(lt.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,lt.data.title)),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",lt.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,O.O5,E.$g,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})();var Z=d(28258),G=d(90149);let ee=(()=>{class q{transform(we){const lt=we.split(":");return lt[lt.length-1]}}return q.\u0275fac=function(we){return new(we||q)},q.\u0275pipe=s.Yjl({name:"parseGroupName",type:q,pure:!0}),q})();function _e(q,ut){1&q&&s._UZ(0,"mat-spinner",7)}function Ue(q,ut){1&q&&(s.TgZ(0,"app-alert"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function Et(q,ut){1&q&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Bt(q,ut){1&q&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const jt=function(q){return{"min-width":q}};function St(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"mat-tree-node",16),s.TgZ(1,"li",17),s.TgZ(2,"div",18),s.NdJ("click",function(){const Jt=s.CHM(we).$implicit;return s.oxw(3).navigate(Jt.id,Jt.include)}),s._UZ(3,"button",19),s.TgZ(4,"div",20),s.TgZ(5,"span"),s._uU(6),s.ALo(7,"parseGroupName"),s.qZA(),s.YNc(8,Et,3,3,"span",21),s.YNc(9,Bt,3,3,"span",21),s.qZA(),s.TgZ(10,"span",22),s._uU(11),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&q){const we=ut.$implicit,lt=s.oxw(3);s.xp6(2),s.ekj("cursor-pointer",we.direct||we.include)("act-disabled",!we.direct&&!we.include),s.xp6(2),s.Q6J("ngStyle",s.VKq(11,jt,lt.getMinWidth(we.level))),s.xp6(2),s.Oqu(s.lcZ(7,9,we.name)),s.xp6(2),s.Q6J("ngIf",we.direct),s.xp6(1),s.Q6J("ngIf",we.include),s.xp6(2),s.Oqu(we.description)}}function Ct(q,ut){1&q&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function mt(q,ut){1&q&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Rt(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"mat-nested-tree-node"),s.TgZ(1,"li"),s.TgZ(2,"div",17),s.TgZ(3,"button",24),s.TgZ(4,"mat-icon",25),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"div",18),s.NdJ("click",function(){const Jt=s.CHM(we).$implicit;return s.oxw(3).navigate(Jt.id,Jt.include)}),s.TgZ(7,"div",20),s.TgZ(8,"span"),s._uU(9),s.ALo(10,"parseGroupName"),s.qZA(),s.YNc(11,Ct,3,3,"span",21),s.YNc(12,mt,3,3,"span",21),s.qZA(),s.TgZ(13,"span",22),s._uU(14),s.qZA(),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.GkF(16,26),s.qZA(),s.qZA(),s.qZA()}if(2&q){const we=ut.$implicit,lt=s.oxw(3);s.xp6(3),s.uIk("aria-label","Toggle "+we.name),s.xp6(2),s.hij(" ",lt.treeControl.isExpanded(we)?"expand_more":"chevron_right"," "),s.xp6(1),s.ekj("cursor-pointer",we.direct||we.include)("act-disabled",!we.direct&&!we.include),s.xp6(1),s.Q6J("ngStyle",s.VKq(15,jt,lt.getMinWidth(we.level))),s.xp6(2),s.Oqu(s.lcZ(10,13,we.name)),s.xp6(2),s.Q6J("ngIf",we.direct),s.xp6(1),s.Q6J("ngIf",we.include),s.xp6(2),s.Oqu(we.description),s.xp6(1),s.ekj("example-tree-invisible",!lt.treeControl.isExpanded(we))}}function Gt(q,ut){if(1&q&&(s.TgZ(0,"mat-tree",13),s.YNc(1,St,12,13,"mat-tree-node",14),s.YNc(2,Rt,17,17,"mat-nested-tree-node",15),s.qZA()),2&q){const we=s.oxw(2);s.Q6J("dataSource",we.dataSource)("treeControl",we.treeControl),s.xp6(2),s.Q6J("matTreeNodeDefWhen",we.hasChild)}}function li(q,ut){if(1&q&&(s.TgZ(0,"div",8),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",9),s._UZ(5,"input",10),s.ALo(6,"translate"),s.qZA(),s.YNc(7,Ue,3,3,"app-alert",11),s.YNc(8,Gt,3,3,"mat-tree",12),s.qZA()),2&q){const we=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),s.xp6(3),s.s9C("placeholder",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),s.Q6J("formControl",we.formControl),s.xp6(2),s.Q6J("ngIf",!we.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",we.dataSource.data.length)}}const fi=function(q){return{name:q}};let Ci=(()=>{class q{constructor(we,lt,Ft){this.dialogRef=we,this.data=lt,this.groupsManagerService=Ft,this.treeControl=new Z.VY(Jt=>Jt.children),this.dataSource=new G.WX,this.groupTree=[],this.paths=[],this.formControl=new H.NI(""),this.userName="",this.hasChild=(Jt,di)=>!!di.children&&di.children.length>0}recursiveSearch(we,lt,Ft){for(let di=0;di{this.groupTree=this.recursiveSearch(this.groupTree,lt,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(we=>{this.paths=we,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(we=>{const lt=we.trim().toLowerCase(),Ft=this.paths.filter(Jt=>Jt.filter(di=>di.name.includes(lt)).length);this.createGroupTree(Ft),this.dataSource.data=this.groupTree}),this.userName=(0,R.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(we,lt=!1){window.open(`/organizations/${this.data.member.voId}/groups/${we}${lt?"/settings/relations":""}`,"_blank")}getMinWidth(we){return 400-40*we+"px"}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.ff))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-member-tree-view-dialog"]],decls:11,vars:11,consts:[[1,"group-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","mr-0",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"mr-0"],[1,"filter-field","ml-2"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["class","example-tree",3,"dataSource","treeControl",4,"ngIf"],[1,"example-tree",3,"dataSource","treeControl"],["matTreeNodeToggle","",4,"matTreeNodeDef"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle",""],[1,"mat-tree-node"],[1,"row","flex-nowrap",3,"click"],["mat-icon-button",""],[1,"mt-auto","mb-auto",3,"ngStyle"],["class","text-muted ml-2",4,"ngIf"],[1,"text-muted","ml-3"],[1,"text-muted","ml-2"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mr-3"],["matTreeNodeOutlet",""]],template:function(we,lt){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_e,1,0,"mat-spinner",2),s.YNc(5,li,9,9,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"div",5),s.TgZ(8,"button",6),s.NdJ("click",function(){return lt.onCancel()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(2),s.hij(" ",s.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",s.VKq(9,fi,lt.userName))," "),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,X.Nt,H.Fj,H.JJ,H.oH,Wt.w,G.gi,G.fQ,G.uo,G.eu,Y.lW,O.PC,G.GZ,Oe.Hw,G.Ar,T.H8],pipes:[b.X$,ee],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.act-disabled[_ngcontent-%COMP%]{pointer-events:none}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),q})();var Si=d(30325);let Vi=(()=>{class q{constructor(we,lt){this.dialogRef=we,this.router=lt}onClose(){this.router.navigate([]),this.dialogRef.close()}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(Si.F0))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"app-alert",2),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return lt.onClose()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),s.xp6(4),s.Oqu(s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[T.uh,T.xY,Wt.w,T.H8,Y.lW],pipes:[b.X$],styles:[""]}),q})();var nn=d(79814),$i=d(86856),Yi=d(62383);function bn(q,ut){1&q&&(s.TgZ(0,"mat-radio-button",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Qi(q,ut){1&q&&(s.TgZ(0,"mat-radio-button",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}function $e(q,ut){1&q&&(s.TgZ(0,"app-alert",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.STATUS_CHANGE_INFO")))}let vt=(()=>{class q{constructor(we){this.dialogRef=we,this.canExtendMembership=!1,this.expirationChanged=new s.vpe,this.statusChange=new s.vpe,this.expirationControl=new H.NI(null)}ngOnInit(){const we=new Date;this.currentDate=(0,O.p6)(new Date(we.getFullYear(),we.getMonth(),we.getDate()),"yyyy-MM-dd","en_US"),"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}parseDate(we){return(0,O.p6)(we,"yyyy-MM-dd","en_US")}onChange(){"EXPIRED"===this.status&&("never"===this.newExpiration||this.parseDate(this.expirationControl.value)>this.currentDate)&&this.statusChange.emit(!0),this.expirationChanged.emit(this.newExpiration)}onCancel(){this.dialogRef.close({success:!1})}setExpiration(){this.newExpiration=(0,O.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,O.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode",status:"status"},outputs:{expirationChanged:"expirationChanged",statusChange:"statusChange"},decls:37,vars:37,consts:[[1,"member-theme"],["mat-dialog-content",""],[1,"d-flex","flex-column",3,"ngModel","ngModelChange"],[3,"value"],["color","primary",1,"cursor-pointer",3,"click"],["readonly","","matInput","",1,"disable",3,"min","max","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""],["class","bottom-padding","value","voRules",4,"ngIf"],["class","bottom-padding","value","groupRules",4,"ngIf"],["value","never"],["alert_type","info",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["value","voRules",1,"bottom-padding"],["value","groupRules",1,"bottom-padding"],["alert_type","info"]],template:function(we,lt){if(1&we){const Ft=s.EpF();s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"p"),s.TgZ(3,"strong"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._uU(6),s.ALo(7,"parseDate"),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.ALo(13,"parseDate"),s.qZA(),s.TgZ(14,"mat-radio-group",2),s.NdJ("ngModelChange",function(di){return lt.newExpiration=di}),s.TgZ(15,"mat-radio-button",3),s.TgZ(16,"mat-form-field",4),s.NdJ("click",function(){return s.CHM(Ft),s.MAs(23).open()}),s.TgZ(17,"mat-label"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"input",5),s.NdJ("dateChange",function(){return lt.setExpiration()}),s.qZA(),s._UZ(21,"mat-datepicker-toggle",6),s._UZ(22,"mat-datepicker",7,8),s.qZA(),s.qZA(),s.YNc(24,bn,3,3,"mat-radio-button",9),s.YNc(25,Qi,3,3,"mat-radio-button",10),s.TgZ(26,"mat-radio-button",11),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.qZA(),s.YNc(29,$e,3,3,"app-alert",12),s.qZA(),s.TgZ(30,"div",13),s.TgZ(31,"button",14),s.NdJ("click",function(){return lt.onCancel()}),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.TgZ(34,"button",15),s.NdJ("click",function(){return lt.onChange()}),s._uU(35),s.ALo(36,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&we){const Ft=s.MAs(23);s.xp6(4),s.Oqu(s.lcZ(5,21,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),s.xp6(2),s.hij(" ",s.lcZ(7,23,lt.currentExpiration)," "),s.xp6(4),s.Oqu(s.lcZ(11,25,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),s.xp6(2),s.hij(" ",lt.newExpiration?s.lcZ(13,27,lt.newExpiration):"never"," "),s.xp6(2),s.Q6J("ngModel",lt.newExpiration),s.xp6(1),s.s9C("value",lt.expirationControl.value),s.xp6(3),s.Oqu(s.lcZ(19,29,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),s.xp6(2),s.Q6J("min",lt.minDate)("max",lt.maxDate)("formControl",lt.expirationControl)("matDatepicker",Ft),s.xp6(1),s.Q6J("for",Ft)("disabled",!1),s.xp6(1),s.Q6J("disabled",!1),s.xp6(2),s.Q6J("ngIf",lt.canExtendMembership&&"vo"===lt.mode),s.xp6(1),s.Q6J("ngIf",lt.canExtendMembership&&"group"===lt.mode),s.xp6(2),s.hij(" ",s.lcZ(28,31,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),s.xp6(2),s.Q6J("ngIf","EXPIRED"===lt.status&&("never"===lt.newExpiration||lt.parseDate(lt.expirationControl.value)>lt.currentDate)),s.xp6(3),s.hij(" ",s.lcZ(33,33,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",lt.expirationControl.invalid),s.xp6(1),s.hij(" ",s.lcZ(36,35,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[T.xY,nn.VQ,H.JJ,H.On,nn.U0,h.KE,h.hX,X.Nt,H.Fj,$i.hl,H.oH,$i.nW,h.R9,$i.Mq,O.O5,Wt.w,T.H8,Y.lW],pipes:[b.X$,Yi.M],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bottom-padding[_ngcontent-%COMP%]{padding-bottom:20px} .mat-form-field.mat-focused .mat-form-field-underline{display:none}"]}),q})();function Qe(q,ut){1&q&&s._UZ(0,"mat-spinner",4)}function Ze(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(we),s.oxw().changeStatus=!0})("expirationChanged",function(Ft){return s.CHM(we),s.oxw().onExpirationChanged(Ft)}),s.qZA()}if(2&q){const we=s.oxw();s.Q6J("minDate",we.minDate)("maxDate",we.maxDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("canExtendMembership",we.canExtendMembership)("mode","group")("status",we.status)}}let gt=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi,zi){this.dialogRef=we,this.data=lt,this.attributesManagerService=Ft,this.memberManager=Jt,this.groupManager=di,this.translate=Oi,this.notificator=zi,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,Oi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.status=this.data.status,this.loading=!0;const we=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(we.getFullYear(),we.getMonth(),we.getDate()):this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,O.p6)(we,"yyyy-MM-dd","en"),this.maxDate=we):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,te.r.GROUP_DEF_EXPIRATION_RULES).subscribe(lt=>{null!==lt.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(Ft=>{this.canExtendMembership=!!Ft,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(we){this.loading=!0,"groupRules"===we?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===we?null:we,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.groupManager.setGroupsMemberStatus(this.data.memberId,this.data.groupId,"VALID").subscribe(lt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Ft=>{this.notificator.showSuccess(Ft),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:lt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-group-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(we,lt){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Qe,1,0,"mat-spinner",2),s.YNc(5,Ze,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading))},directives:[T.uh,O.O5,E.$g,vt],pipes:[b.X$],styles:[""]}),q})();var F=d(13469);function Be(q,ut){1&q&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function dt(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"form",5),s.TgZ(1,"div",6),s.TgZ(2,"mat-form-field"),s.TgZ(3,"mat-label"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"input",7),s.TgZ(7,"mat-icon",8),s.NdJ("click",function(){s.CHM(we);const Ft=s.oxw();return Ft.showOldPassword=!Ft.showOldPassword}),s._uU(8),s.qZA(),s.YNc(9,Be,3,3,"mat-error",9),s.qZA(),s._UZ(10,"perun-web-apps-password-form",10),s.qZA(),s.qZA()}if(2&q){const we=s.oxw();s.Q6J("formGroup",we.formGroup),s.xp6(4),s.Oqu(s.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),s.xp6(2),s.Q6J("type",we.showOldPassword?"text":"password"),s.xp6(2),s.hij(" ",we.showOldPassword?"visibility_off":"visibility"," "),s.xp6(1),s.Q6J("ngIf",we.oldPwd.hasError("required")),s.xp6(1),s.Q6J("formGroup",we.formGroup)("namespace",we.data.namespace)}}function Dt(q,ut){1&q&&s._UZ(0,"mat-spinner",11)}function ei(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"div",12),s.TgZ(1,"div",13),s.TgZ(2,"button",14),s.NdJ("click",function(){return s.CHM(we),s.oxw().close()}),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"button",15),s.NdJ("click",function(){return s.CHM(we),s.oxw().changePassword()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&q){const we=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",we.formGroup.invalid||we.formGroup.pending),s.xp6(1),s.hij(" ",s.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Qt=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi,zi){this.dialogRef=we,this.data=lt,this._formBuilder=Ft,this.usersManagerService=Jt,this.apiRequestConfiguration=di,this.notificator=Oi,this.translate=zi,this.showOldPassword=!1,zi.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",H.kI.required],passwordCtrl:["",H.kI.required,[(0,f.yT)(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:R.dN.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(H.qu),s.Y36(m.Fv),s.Y36(A.F5),s.Y36(A.V6),s.Y36(b.sK))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(we,lt){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,dt,11,9,"form",2),s.YNc(5,Dt,1,0,"mat-spinner",3),s.qZA(),s.YNc(6,ei,8,7,"div",4)),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),s.xp6(3),s.Q6J("ngIf",!lt.loading),s.xp6(1),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading))},directives:[T.uh,T.xY,O.O5,H._Y,H.JL,H.sg,h.KE,h.hX,H.Fj,X.Nt,H.JJ,H.u,H.Q7,Oe.Hw,h.R9,h.TO,F.G,E.$g,T.H8,Y.lW],pipes:[b.X$],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),q})();function Ri(q,ut){1&q&&s._UZ(0,"mat-spinner",4)}function bi(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(we),s.oxw().changeStatus=!0})("expirationChanged",function(Ft){return s.CHM(we),s.oxw().onExpirationChanged(Ft)}),s.qZA()}if(2&q){const we=s.oxw();s.Q6J("minDate",we.minDate)("maxDate",we.maxDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("canExtendMembership",we.canExtendMembership)("mode","vo")("status",we.status)}}let Li=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi){this.dialogRef=we,this.data=lt,this.attributesManagerService=Ft,this.memberManager=Jt,this.translate=di,this.notificator=Oi,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,di.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(zi=>this.successMessage=zi)}ngOnInit(){this.status=this.data.status,this.loading=!0;const we=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(we.getFullYear(),we.getMonth(),we.getDate()):this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,O.p6)(we,"yyyy-MM-dd","en"),this.maxDate=we):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,te.r.VO_DEF_EXPIRATION_RULES).subscribe(lt=>{null!==lt.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(Ft=>{this.canExtendMembership=!!Ft,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(we){this.loading=!0,"voRules"===we?this.memberManager.extendMembership(this.data.memberId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===we?null:we,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.memberManager.setStatus(this.data.memberId,"VALID").subscribe(lt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Ft=>{this.notificator.showSuccess(Ft),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:lt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(b.sK),s.Y36(A.V6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-vo-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(we,lt){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ri,1,0,"mat-spinner",2),s.YNc(5,bi,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading))},directives:[T.uh,O.O5,E.$g,vt],pipes:[b.X$],styles:[""]}),q})();function Ji(q,ut){1&q&&s._UZ(0,"mat-spinner",4)}function Ni(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("expirationChanged",function(Ft){return s.CHM(we),s.oxw().onExpirationChanged(Ft)}),s.qZA()}if(2&q){const we=s.oxw();s.Q6J("minDate",we.minDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("mode","sponsor")}}let Hi=(()=>{class q{constructor(we,lt,Ft,Jt,di,Oi,zi){this.dialogRef=we,this.data=lt,this.attributesManagerService=Ft,this.memberManager=Jt,this.groupManager=di,this.translate=Oi,this.notificator=zi,this.loading=!1,Oi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const we=new Date;this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.loading=!1}onExpirationChanged(we){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===we?null:we).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-sponsorship-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged"]],template:function(we,lt){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ji,1,0,"mat-spinner",2),s.YNc(5,Ni,1,4,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading))},directives:[T.uh,O.O5,E.$g,vt],pipes:[b.X$],styles:[""]}),q})();function pn(q,ut){1&q&&s._UZ(0,"mat-spinner",4)}function Pi(q,ut){1&q&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function Ti(q,ut){1&q&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function Ui(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"mat-radio-group",12),s.NdJ("ngModelChange",function(Ft){return s.CHM(we),s.oxw(2).asyncValidation=Ft}),s.TgZ(1,"span",13),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-radio-button",14),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"mat-radio-button",14),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()}if(2&q){const we=s.oxw(2);s.Q6J("ngModel",we.asyncValidation),s.xp6(2),s.hij(" ",s.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),s.xp6(2),s.Q6J("value",!1),s.xp6(1),s.hij(" ",s.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),s.xp6(2),s.Q6J("value",!0),s.xp6(1),s.hij(" ",s.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function fn(q,ut){1&q&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function sn(q,ut){1&q&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&q&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function qi(q,ut){if(1&q&&(s.TgZ(0,"div",5),s.TgZ(1,"p",6),s._uU(2),s.TgZ(3,"span",7),s._uU(4),s.qZA(),s._uU(5),s.TgZ(6,"span",7),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong",8),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.qZA(),s.TgZ(13,"p"),s.TgZ(14,"strong",8),s._uU(15),s.ALo(16,"translate"),s.qZA(),s._uU(17),s.qZA(),s.YNc(18,Pi,3,3,"span",9),s.YNc(19,Ti,3,3,"span",9),s.YNc(20,Ui,10,12,"mat-radio-group",10),s.YNc(21,fn,3,3,"span",9),s.YNc(22,sn,3,3,"span",9),s.qZA()),2&q){const we=s.oxw();s.xp6(2),s.hij(" ",we.group.name," "),s.xp6(2),s.hij("#",we.group.id,""),s.xp6(1),s.hij(" - ",we.resource.name," "),s.xp6(2),s.hij("#",we.resource.id,""),s.xp6(3),s.hij(" ",s.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),s.xp6(2),s.hij(" ",we.status," "),s.xp6(3),s.hij(" ",s.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),s.xp6(2),s.hij(" ",we.getReversedStatus()," "),s.xp6(1),s.Q6J("ngIf","INACTIVE"===we.status||"FAILED"===we.status),s.xp6(1),s.Q6J("ngIf","ACTIVE"===we.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===we.status||"FAILED"===we.status),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===we.status||"FAILED"===we.status)&&!1===we.asyncValidation),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===we.status||"FAILED"===we.status)&&!0===we.asyncValidation)}}function Tt(q,ut){if(1&q){const we=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(we),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",17),s.NdJ("click",function(){return s.CHM(we),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&q){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===we.status?"DEACTIVATE":"ACTIVATE"))," ")}}let $t=(()=>{class q{constructor(we,lt,Ft,Jt){this.dialogRef=we,this.data=lt,this.resourceService=Ft,this.groupService=Jt,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(we=>{this.resource=we,this.groupService.getGroupById(this.data.groupId).subscribe(lt=>{this.group=lt,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return q.\u0275fac=function(we){return new(we||q)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.xk),s.Y36(m.ff))},q.\u0275cmp=s.Xpm({type:q,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(we,lt){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,pn,1,0,"mat-spinner",1),s.YNc(5,qi,23,17,"div",2),s.YNc(6,Tt,7,7,"div",3),s.qZA()),2&we&&(s.Tol(lt.theme),s.xp6(2),s.hij(" ",s.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),s.xp6(2),s.Q6J("ngIf",lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading),s.xp6(1),s.Q6J("ngIf",!lt.loading))},directives:[T.uh,O.O5,E.$g,T.xY,nn.VQ,H.JJ,H.On,nn.U0,T.H8,Y.lW],pipes:[b.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),q})()},50301:(Ke,be,d)=>{"use strict";d.d(be,{hT:()=>f,Kd:()=>T,YH:()=>m});var e=d(5e3);let f=(()=>{class A{constructor(b){this.elementRef=b}ngOnInit(){this.elementRef.nativeElement.focus()}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsAutoFocus",""]]}),A})();var g=d(36908);let T=(()=>{class A{constructor(b,O){this.el=b,this.router=O}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq),e.Y36(g.xw))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(b,O){1&b&&e.NdJ("click",function(){return O.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),A})(),m=(()=>{class A{constructor(){}onClick(b){if(1===b.button&&null!=this.perunWebAppsMiddleClickRouterLink){const O=this.perunWebAppsMiddleClickRouterLink.join("/"),E=location.search;window.open(O+E)}}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(b,O){1&b&&e.NdJ("mouseup",function(h){return O.onClick(h)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),A})()},45323:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>e});var e=(()=>{return(f=e||(e={})).PERUNADMIN="PERUNADMIN",f.PERUNOBSERVER="PERUNOBSERVER",f.VOADMIN="VOADMIN",f.GROUPADMIN="GROUPADMIN",f.SELF="SELF",f.FACILITYADMIN="FACILITYADMIN",f.FACILITIYOBSERVER="FACILITYOBSERVER",f.RESOURCEADMIN="RESOURCEADMIN",f.RESOURCESELFSERVICE="RESOURCESELFSERVICE",f.REGISTRAR="REGISTRAR",f.ENGINE="ENGINE",f.RPC="RPC",f.NOTIFICATIONS="NOTIFICATIONS",f.SERVICEUSER="SERVICEUSER",f.SPONSOR="SPONSOR",f.VOOBSERVER="VOOBSERVER",f.TOPGROUPCREATOR="TOPGROUPCREATOR",f.SECURITYADMIN="SECURITYADMIN",f.CABINETADMIN="CABINETADMIN",f.UNKNOWNROLENAME="UNKNOWNROLENAME",e;var f})()},28499:(Ke,be,d)=>{"use strict";d.d(be,{E3:()=>h,yT:()=>k.y});var e=d(69808),f=d(67322),g=d(29772),T=d(93075),m=d(98833),A=d(51062),s=d(20773),b=d(25245),O=d(63189),E=d(5e3);let h=(()=>{class Y{}return Y.\u0275fac=function(ue){return new(ue||Y)},Y.\u0275mod=E.oAB({type:Y}),Y.\u0275inj=E.cJS({providers:[],imports:[[e.ez,f.lN,g.AV,T.UX,m.c,A.aw,s.Cq,b.Ps,O.r]]}),Y})();var k=d(47549);d(13469)},13469:(Ke,be,d)=>{"use strict";d.d(be,{G:()=>ke});var e=d(47549),f=d(36908),g=d(9315),T=d(5e3),m=d(51062),A=d(93075),s=d(67322),b=d(29772),O=d(98833),E=d(69808),h=d(20773),k=d(25245),L=d(98380);function Y(ae,V){1&ae&&T._UZ(0,"mat-spinner",12),2&ae&&T.Q6J("diameter",18)}function J(ae,V){if(1&ae&&(T.TgZ(0,"mat-icon",13),T._uU(1," error "),T.qZA()),2&ae){const H=T.oxw();T.Q6J("matTooltip",H.getErrorTooltip())("matTooltipDisabled",!H.formGroup.get("passwordCtrl").hasError("backendError"))}}function ue(ae,V){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function ce(ae,V){if(1&ae&&(T.TgZ(0,"mat-error",14),T._uU(1),T.qZA()),2&ae){const H=T.oxw();T.Q6J("matTooltip",H.getErrorTooltip()),T.xp6(1),T.Oqu(H.getErrorTooltip())}}function Le(ae,V){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function de(ae,V){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let ke=(()=>{class ae{constructor(H,X,ie){this.translator=H,this.usersManagerService=X,this.store=ie,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new e.S}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(H=>{const X=H.userAttributes.find(ie=>"preferredLanguage"===ie.friendlyName);this.language=X&&X.value?X.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let H=this.formGroup.get("passwordCtrl").getError("backendError");return H&&(H=H.replace(":null","")),H}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(H=>H.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(H=>"default"===H.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return ae.\u0275fac=function(H){return new(H||ae)(T.Y36(m.sK),T.Y36(g.Fv),T.Y36(f.d6))},ae.\u0275cmp=T.Xpm({type:ae,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[T.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(H,X){1&H&&(T.TgZ(0,"div",0),T.TgZ(1,"mat-form-field",1),T._UZ(2,"input",2),T.ALo(3,"translate"),T.YNc(4,Y,1,1,"mat-spinner",3),T.TgZ(5,"mat-icon",4),T.NdJ("click",function(){return X.showNewPassword=!X.showNewPassword}),T._uU(6),T.qZA(),T.YNc(7,J,2,2,"mat-icon",5),T.YNc(8,ue,3,3,"mat-error",6),T.YNc(9,ce,2,2,"mat-error",7),T.qZA(),T.TgZ(10,"mat-form-field",8),T.TgZ(11,"mat-label"),T._uU(12),T.ALo(13,"translate"),T.qZA(),T._UZ(14,"input",9),T.TgZ(15,"mat-icon",4),T.NdJ("click",function(){return X.showPasswordConfirm=!X.showPasswordConfirm}),T._uU(16),T.qZA(),T.YNc(17,Le,3,3,"mat-error",6),T.YNc(18,de,3,3,"mat-error",6),T.qZA(),T.TgZ(19,"app-alert",10),T._UZ(20,"div",11),T.qZA(),T.qZA()),2&H&&(T.Q6J("formGroup",X.formGroup),T.xp6(1),T.Q6J("matTooltip",X.getPasswordDisabledTooltip())("matTooltipDisabled",X.formGroup.get("passwordCtrl").enabled),T.xp6(1),T.s9C("placeholder",T.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),T.Q6J("type",X.showNewPassword?"text":"password")("required",X.passwordRequired)("errorStateMatcher",X.passwordStateMatcher),T.xp6(2),T.Q6J("ngIf",X.formGroup.get("passwordCtrl").pending),T.xp6(2),T.hij(" ",X.showNewPassword?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",X.formGroup.get("passwordCtrl").dirty&&null!==X.formGroup.get("passwordCtrl").errors),T.xp6(1),T.Q6J("ngIf",X.formGroup.get("passwordCtrl").hasError("required")),T.xp6(1),T.Q6J("ngIf",X.formGroup.get("passwordCtrl").hasError("backendError")),T.xp6(3),T.Oqu(T.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),T.xp6(2),T.Q6J("type",X.showPasswordConfirm?"text":"password")("required",X.passwordRequired),T.xp6(2),T.hij(" ",X.showPasswordConfirm?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",X.formGroup.get("passwordAgainCtrl").hasError("required")),T.xp6(1),T.Q6J("ngIf",X.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),T.xp6(2),T.Q6J("innerHTML",X.passwordRequirement,T.oJD))},directives:[A.JL,A.sg,s.KE,b.gM,O.Nt,A.Fj,A.JJ,A.u,A.Q7,E.O5,h.$g,s.R9,k.Hw,s.TO,s.hX,L.w],pipes:[m.X$],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),ae})()},47549:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>A,y:()=>s});var e=d(98723),f=d(21086),g=d(87545),T=d(24850),m=d(27221);class A{isErrorState(O){return!!(O&&O.invalid&&O.dirty)}}const s=(b,O,E,h=500)=>k=>(0,e.H)(h).pipe((0,g.w)(()=>(E.dontHandleErrorForNext(),b&&"No namespace"!==b?O.checkPasswordStrength(k.value,b):(0,f.of)(null))),(0,T.U)(()=>null),(0,m.K)(L=>(0,f.of)({backendError:L.error.message.substr(L.error.message.indexOf(":")+1)})))},9315:(Ke,be,d)=>{"use strict";d.d(be,{Us:()=>Ne,au:()=>S,sY:()=>Me,H8:()=>s,jw:()=>b,Ct:()=>O,VK:()=>A,KG:()=>k,IQ:()=>L,ff:()=>J,uq:()=>ce,aC:()=>Le,Hr:()=>de,tk:()=>ke,xk:()=>ae,KK:()=>V,Ob:()=>H,Dy:()=>at,Fv:()=>X,FW:()=>ie,YF:()=>oe});var e=d(40520);class f{encodeKey(P){return encodeURIComponent(P)}encodeValue(P){return encodeURIComponent(P)}decodeKey(P){return decodeURIComponent(P)}decodeValue(P){return decodeURIComponent(P)}}var g=d(5e3);const T=new g.OlP("basePath");class A{constructor(P={}){this.apiKeys=P.apiKeys,this.username=P.username,this.password=P.password,this.accessToken=P.accessToken,this.basePath=P.basePath,this.withCredentials=P.withCredentials,this.encoder=P.encoder}selectHeaderContentType(P){if(0===P.length)return;const i=P.find(r=>this.isJsonMime(r));return void 0===i?P[0]:i}selectHeaderAccept(P){if(0===P.length)return;const i=P.find(r=>this.isJsonMime(r));return void 0===i?P[0]:i}isJsonMime(P){const i=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==P&&(i.test(P)||"application/json-patch+json"===P.toLowerCase())}}let s=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}convertAttributeToNonunique(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}convertAttributeToUnique(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attribute",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteAttributeDefinitions(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attributes[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllAttributeDefinitions(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAttribute(i,r,p,o,t,n,c,u,y,M,j,Ve="body",nt=!1){let Mt=new e.LE({encoder:this.encoder});null!=i&&(Mt=Mt.set("attributeName",i)),null!=r&&(Mt=Mt.set("attributeId",r)),null!=p&&(Mt=Mt.set("facility",p)),null!=o&&(Mt=Mt.set("user",o)),null!=t&&(Mt=Mt.set("vo",t)),null!=n&&(Mt=Mt.set("resource",n)),null!=c&&(Mt=Mt.set("member",c)),null!=u&&(Mt=Mt.set("group",u)),null!=y&&(Mt=Mt.set("host",y)),null!=M&&(Mt=Mt.set("userExtSource",M)),null!=j&&(Mt=Mt.set("key",j));let zt=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(zt=zt.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(zt=zt.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const At="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;zt=zt.set("Authorization","Bearer "+At)}const Wt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Wt&&(zt=zt.set("Accept",Wt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:Mt,withCredentials:this.configuration.withCredentials,headers:zt,observe:Ve,reportProgress:nt})}getAttributeDefinitionById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeDefinitionByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeDefinitionsByNamespace(i,r="body",p=!1){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("namespace",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeModulesDependenciesForAttributeGraphText(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==r)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("format",i)),null!=r&&(t=t.set("attrName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAttributeModulesDependenciesGraphText(i,r="body",p=!1){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("format",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeRights(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributesDefinitionWithRights(i,r,p,o,t,n,c,u,y="body",M=!1){let j=new e.LE({encoder:this.encoder});null!=i&&(j=j.set("member",i)),null!=r&&(j=j.set("user",r)),null!=p&&(j=j.set("vo",p)),null!=o&&(j=j.set("group",o)),null!=t&&(j=j.set("resource",t)),null!=n&&(j=j.set("facility",n)),null!=c&&(j=j.set("host",c)),null!=u&&(j=j.set("userExtSource",u));let Ve=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Ve=Ve.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Ve=Ve.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const zt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Ve=Ve.set("Authorization","Bearer "+zt)}const Mt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Mt&&(Ve=Ve.set("Accept",Mt)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:j,withCredentials:this.configuration.withCredentials,headers:Ve,observe:y,reportProgress:M})}getEntitylessAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("key",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEntitylessAttributesByKey(i,r="body",p=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("key",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEntitylessAttributesByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attrName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEntitylessAttributesWithKeys(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attrName",i)),r&&r.forEach(y=>{t=t.append("keys[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEntitylessKeys(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityResourceUserMemberAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==p)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),null!=r&&(c=c.set("resource",r)),null!=p&&(c=c.set("user",p)),null!=o&&(c=c.set("member",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getFacilityUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupResourceAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getLogins(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getLogins.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberAndUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("workWithUserAttributes",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAndUserAttributesByNames(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroupAndUserAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(j=>{c=c.append("attrNames[]",j)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getMemberGroupAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroupAttributesByNames(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),p&&p.forEach(M=>{n=n.append("attrNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(j=>{c=c.append("attrNames[]",j)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getMemberResourceAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesFacilityService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesFacilityServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("services[]",y)}),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesGroupResourceService(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("group",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesHostService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==r)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("host",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("workWithUserAttributes",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesMemberGroup(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberGroupResourceService(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("service",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("group",p)),null!=o&&(u=u.set("member",o)),null!=t&&(u=u.set("workWithUserAttributes",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getRequiredAttributesMemberGroupService(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("group",r)),null!=p&&(c=c.set("member",p)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRequiredAttributesMemberResource(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberResourceService(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("resource",r)),null!=p&&(c=c.set("member",p)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRequiredAttributesResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesResourceService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesResourceServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("services[]",y)}),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesUserFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesVoService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceGroupAndGroupAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==p)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("resource",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("workWithGroupAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourceGroupAndGroupAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(j=>{c=c.append("attrNames[]",j)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getResourceGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceGroupMemberAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),null!=r&&(c=c.set("group",r)),null!=p&&(c=c.set("member",p)),o&&o.forEach(j=>{c=c.append("attrNames[]",j)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getUserAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userExtSource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserFacilityAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAttributesForFacilityResourceGroupUserMember(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==p)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("facility",i)),null!=r&&(y=y.set("resource",r)),null!=p&&(y=y.set("group",p)),null!=o&&(y=y.set("user",o)),null!=t&&(y=y.set("member",t)),n&&n.forEach(nt=>{y=y.append("attributes[]",nt)});let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const nt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+nt)}const Ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Ve&&(M=M.set("Accept",Ve)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}removeAttributesForFacilityResourceUserMember(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==p)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("facility",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("user",p)),null!=o&&(u=u.set("member",o)),t&&t.forEach(Ve=>{u=u.append("attributes[]",Ve)});let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}removeEntitylessAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("key",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupResourceAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributesWorkWithGroupAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(j=>{c=c.append("attributes[]",j)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeHostAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHostAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttributesWorkWithUserAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),r&&r.forEach(M=>{n=n.append("attributes[]",M)}),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributesWorkWithUserAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(j=>{c=c.append("attributes[]",j)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeMemberResourceAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberResourceAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeResourceAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUesAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserExtSourceAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserFacilityAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeUserFacilityAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeVoAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setAttributeRights(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setEntitylessAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityResourceGroupUserMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityResourceUserMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setHostAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setHostAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupWithUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAndUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberWithUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceGroupWithGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserExtSourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserExtSourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserFacilityAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setVoAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setVoAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),b=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}auditMessagesManagerLog(i,r="body",p=!1){if(null==i)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("msg",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createAuditerConsumer(i,r="body",p=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("consumerName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllAuditerConsumers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAuditerMessagesCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getLastMessageId(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getMessages(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("count",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMessagesByCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("count",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMessagesPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}pollConsumerMessages(i,r="body",p=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("consumerName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}setLastProcessedId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==r)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("consumerName",i)),null!=r&&(t=t.set("lastProcessedId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),O=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAllPolicies(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllRolesManagementRules(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAuthzAdminGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==p)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("role",i)),null!=r&&(n=n.set("complementaryObjectId",r)),null!=p&&(n=n.set("complementaryObjectName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAuthzRichAdmins(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==p)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("role",i)),null!=r&&(y=y.set("complementaryObjectId",r)),null!=p&&(y=y.set("complementaryObjectName",p)),o&&o.forEach(nt=>{y=y.append("specificAttributes",nt)}),null!=t&&(y=y.set("allUserAttributes",t)),null!=n&&(y=y.set("onlyDirectAdmins",n));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const nt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+nt)}const Ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Ve&&(M=M.set("Accept",Ve)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}getFacilitiesWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupRoleNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupRoles(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("groupId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getLoggedUser(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getMembersWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getPerunPrincipal(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPrincipalRoleNames(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getResourcesWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSecurityTeamsWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserRoleNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserRoles(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}isFacilityAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isGroupAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isPerunAdmin(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}isVoAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}keepAlive(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}loadAuthorizationComponents(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}setRoleWithGroupComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setRoleWithUserComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unsetRoleWithGroupComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unsetRoleWithUserComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),E=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createAutorship(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createCategoryCat(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createCategoryNR(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createPublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createPublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createThanks(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAuthorship(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==r)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("publicationId",i)),null!=r&&(t=t.set("userId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteCategory(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deletePublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deletePublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteThanks(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findAllAuthors(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}findAuthorsByPublicationId(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findExternalPublications(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==r)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==p)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("yearSince",r)),null!=p&&(c=c.set("yearTill",p)),null!=o&&(c=c.set("pubSysNamespace",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}findNewAuthors(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findPublicationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findPublicationsByFilter(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let n=new e.LE({encoder:this.encoder});null!=r&&(n=n.set("yearSince",r)),null!=p&&(n=n.set("yearTill",p)),null!=i&&(n=n.set("userId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findPublicationsByGUIFilter(i,r,p,o,t,n,c,u,y,M="body",j=!1){let Ve=new e.LE({encoder:this.encoder});null!=i&&(Ve=Ve.set("title",i)),null!=r&&(Ve=Ve.set("isbn",r)),null!=p&&(Ve=Ve.set("doi",p)),null!=o&&(Ve=Ve.set("id",o)),null!=t&&(Ve=Ve.set("year",t)),null!=n&&(Ve=Ve.set("category",n)),null!=c&&(Ve=Ve.set("yearSince",c)),null!=u&&(Ve=Ve.set("yearTill",u)),null!=y&&(Ve=Ve.set("userId",y));let nt=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(nt=nt.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(nt=nt.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Vt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;nt=nt.set("Authorization","Bearer "+Vt)}const zt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==zt&&(nt=nt.set("Accept",zt)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:Ve,withCredentials:this.configuration.withCredentials,headers:nt,observe:M,reportProgress:j})}findSimilarPublications(i,r,p,o="body",t=!1){let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("title",i)),null!=r&&(n=n.set("doi",r)),null!=p&&(n=n.set("isbn",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCategories(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPublicationSystems(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getRank(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRank.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichThanksByPublicationId(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}lockPublications(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateCategory(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updatePublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updatePublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),h=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getCurrentDatabaseVersion(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getDatabaseDriverInformation(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getDatabaseInformation(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getTimeOfQueryPerformance(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),k=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addExtSourceWithGroupSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addExtSourceWithVoSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createExtSourceFromExtSourceObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createExtSourceWithNameType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==r)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSourceByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSources(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getGroupExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}loadExtSourcesDefinitions(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeExtSourceWithGroupSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeExtSourceWithVoSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),L=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addFacilityAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminGroupByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminUserByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByFacilityNameOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHost(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("hostname",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHostByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("hostname",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hostnames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHostsByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hostnames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignSecurityTeam(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignSecurityTeamByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwners(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("description",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllowedGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedGroupsByFacilityName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedRichGroupsWithAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),r&&r.forEach(j=>{c=c.append("attrNames[]",j)}),null!=p&&(c=c.set("vo",p)),null!=o&&(c=c.set("service",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllowedRichGroupsWithAttributesByFacilityName(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),r&&r.forEach(j=>{c=c.append("attrNames[]",j)}),null!=p&&(c=c.set("vo",p)),null!=o&&(c=c.set("service",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllowedUsersOfFacility(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedUsersOfFacilityByFacilityName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedVos(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedVosByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesByAssignedServiceForFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedResourcesForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesForFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedSecurityTeams(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedSecurityTeamsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedUsers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedUsersByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getBansForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facilityId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEnrichedFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getEnrichedHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilitiesByAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeName",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilitiesByDestination(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesByHostName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFacilitiesWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAdminGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAdminUsers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAdminUsersByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityBan(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityForHost(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityOwners(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityOwnersByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getHostById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHosts(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsByHostname(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsCountByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getOwnerFacilities(i,r="body",p=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("owner",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeBanByUserIdFacilityId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminGroupByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminUserByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeFacilityOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByFacilityNameOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHost(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHost.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeHostByHostname(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hosts[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHostsByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hosts[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSecurityTeam(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSecurityTeamByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setFacilityBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFacilityBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Y=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getFacilityAdminGroupsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),J=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling addMember.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling addMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("members[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}canExtendMembershipInGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createGroupUnion(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resultGroup",i)),null!=r&&(t=t.set("operandGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createGroupWithParentGroupNameDescription(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==p)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("parentGroup",i)),null!=r&&(n=n.set("name",r)),null!=p&&(n=n.set("description",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createGroupWithVoNameDescription(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==p)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("name",r)),null!=p&&(n=n.set("description",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deleteGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}extendMembershipInGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}forceAllSubGroupsSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceGroupStructureSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceGroupSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllGroupsFromAllVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllMemberGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attrNames[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichGroupsWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllRichSubGroupsWithGroupAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==r)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("name",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupMemberById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCountsByGroupStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCountsByVoStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupRichMembersByIds(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==r)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),r&&r.forEach(M=>{n=n.append("members[]",M)}),p&&p.forEach(M=>{n=n.append("attrNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupUnions(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==r)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("reverseDirection",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getIndirectMembershipPaths(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberRichGroupsWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRichGroupByIdWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("groupId",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSubgroupsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}isGroupMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==r)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}moveGroupWithDestinationGroupMovingGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("destinationGroup",r)),null!=i&&(t=t.set("movingGroup",i));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupUnion(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resultGroup",i)),null!=r&&(t=t.set("operandGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeMember.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("members[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setGroupsMemberStatus(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==r)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==p)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("status",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ue=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getGroupMemberData(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ce=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}canExtendMembership(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createMemberForCandidate(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createMemberForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createMemberFromExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSpecificMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMembersFromCSV(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("members[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}extendMembership(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findCompleteRichMembersByAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(M=>{n=n.append("attrsNames[]",M)}),null!=r&&(n=n.set("searchString",r)),p&&p.forEach(M=>{n=n.append("allowedStatuses[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCompleteRichMembersForGroup(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("group",i)),r&&r.forEach(nt=>{y=y.append("attrsNames[]",nt)}),t&&t.forEach(nt=>{y=y.append("allowedStatuses[]",nt)}),n&&n.forEach(nt=>{y=y.append("allowedGroupStatuses[]",nt)}),null!=p&&(y=y.set("searchString",p)),null!=o&&(y=y.set("lookingInParentGroup",o));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const nt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+nt)}const Ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Ve&&(M=M.set("Accept",Ve)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}findCompleteRichMembersForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(j=>{c=c.append("attrsNames[]",j)}),o&&o.forEach(j=>{c=c.append("allowedStatuses[]",j)}),null!=p&&(c=c.set("searchString",p));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}findMembersInVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("searchString",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findSponsoredCompleteRichMembersForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(j=>{c=c.append("attrsNames[]",j)}),null!=p&&(c=c.set("searchString",p)),null!=o&&(c=c.set("onlySponsored",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllMembers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllNamespacesRules(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllSponsoredMembersAndTheirSponsors(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getCompleteRichMembersForGroup(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),p&&p.forEach(Ve=>{u=u.append("allowedStatuses[]",Ve)}),o&&o.forEach(Ve=>{u=u.append("allowedGroupStatuses[]",Ve)}),null!=r&&(u=u.set("lookingInParentGroup",r)),t&&t.forEach(Ve=>{u=u.append("attrsNames[]",Ve)});let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getCompleteRichMembersForGroupResource(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==p)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(j=>{c=c.append("attrsNames[]",j)}),o&&o.forEach(j=>{c=c.append("allowedStatuses[]",j)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getCompleteRichMembersForVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),r&&r.forEach(M=>{n=n.append("allowedStatuses[]",M)}),p&&p.forEach(M=>{n=n.append("attrsNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberByExtSourceNameAndExtLogin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==p)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("extLogin",r)),null!=p&&(n=n.set("extSourceName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberByUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMembersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getMembersWithStatusCount(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRichMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichMemberWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichMembersByIds(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("ids[]",y)}),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSponsoredMembersAndTheirSponsors(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsByMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsByVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==p)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("extSourceName",r)),null!=p&&(c=c.set("extLogin",p)),o&&o.forEach(j=>{c=c.append("attrNames[]",j)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}moveMembership(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==r)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==p)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("sourceUser",r)),null!=p&&(n=n.set("targetUser",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeSponsor(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("sponsor",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendAccountActivationLinkEmail(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==p)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("namespace",r)),null!=p&&(c=c.set("emailAttributeURN",p)),null!=o&&(c=c.set("language",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sendPasswordResetLinkEmail(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==p)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("member",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("emailAttributeURN",p)),null!=o&&(u=u.set("language",o)),null!=t&&(u=u.set("baseUrl",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}setSponsoredMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setSponsorshipForMember(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("sponsoredMember",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}setStatus(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling setStatus.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sponsorMember(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateSponsorshipValidity(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}validateMemberAsync(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Le=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createOwner(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("owner",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllOwners(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getOwnerById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getOwnerByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("owner",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),de=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}sentMessageToRTWithMemberQueue(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==p)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("memberId",i)),null!=r&&(c=c.set("queue",r)),null!=p&&(c=c.set("subject",p)),null!=o&&(c=c.set("text",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sentMessageToRTWithQueue(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==p)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("queue",i)),null!=r&&(n=n.set("subject",r)),null!=p&&(n=n.set("text",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==p)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("voId",i)),null!=r&&(n=n.set("subject",r)),null!=p&&(n=n.set("text",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVoQueue(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==p)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("voId",i)),null!=r&&(c=c.set("queue",r)),null!=p&&(c=c.set("subject",p)),null!=o&&(c=c.set("text",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ke=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addApplicationMailForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addApplicationMailForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addGroupsToAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("groups[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}approveApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}checkForSimilarUsersWithAuthInfo(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}consolidateIdentityUsingToken(i,r="body",p=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("token",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}copyFormFromGroupToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromGroupToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromVoToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromVoToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromGroupToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromGroupToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromVoToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromVoToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createApplicationFormInGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createApplicationFormInVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteApplicationMailForGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("id",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteApplicationMailForVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("id",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteGroupsFromAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("groups[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationDataById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationMailsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationMailsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationsForGroup(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),r&&r.forEach(j=>{c=c.append("state[]",j)}),null!=p&&(c=c.set("dateFrom",p)),null!=o&&(c=c.set("dateTo",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getApplicationsForMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getApplicationsForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(j=>{c=c.append("state[]",j)}),null!=p&&(c=c.set("dateFrom",p)),null!=o&&(c=c.set("dateTo",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getApplicationsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getConsolidatorToken(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFormItemsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFormItemsForGroupWithType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFormItemsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFormItemsForVoWithType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupApplicationForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsToAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoApplicationForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}rejectApplication(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("id",i)),null!=r&&(t=t.set("reason",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendInvitation(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let c=new e.LE({encoder:this.encoder});null!=p&&(c=c.set("voId",p)),null!=o&&(c=c.set("name",o)),null!=i&&(c=c.set("email",i)),null!=r&&(c=c.set("language",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sendInvitationForGroup(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let u=new e.LE({encoder:this.encoder});null!=p&&(u=u.set("voId",p)),null!=o&&(u=u.set("groupId",o)),null!=t&&(u=u.set("name",t)),null!=i&&(u=u.set("email",i)),null!=r&&(u=u.set("language",r));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}sendInvitationGroupToExistingUser(i,r,p,o="body",t=!1){let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("userId",i)),null!=r&&(n=n.set("voId",r)),null!=p&&(n=n.set("groupId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sendInvitationToExistingUser(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userId",i)),null!=r&&(t=t.set("voId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendMessage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setSendingEnabled(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}submitApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateApplicationMail(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemData(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsData(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}verifyApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ae=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}activateGroupResourceAssignment(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("async",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}addAdminToGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addAdminToUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addResourceSelfServiceGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addResourceSelfServiceUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}allowGroupsToResources(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(M=>{n=n.append("groups[]",M)}),r&&r.forEach(M=>{n=n.append("resources[]",M)}),null!=p&&(n=n.set("async",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}assignGroupToResource(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignGroupToResources(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),r&&r.forEach(Ve=>{u=u.append("resources[]",Ve)}),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignGroupsToResource(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let u=new e.LE({encoder:this.encoder});i&&i.forEach(Ve=>{u=u.append("groups[]",Ve)}),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignResourceTagToResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}assignService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling assignService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling assignServices.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("services[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("servicesPackage",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createResource(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==p)throw new Error("Required parameter name was null or undefined when calling createResource.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("facility",r)),null!=p&&(c=c.set("name",p)),null!=o&&(c=c.set("description",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}createResourceTagWithResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createResourceTagWithTagName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("tagName",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deactivateGroupResourceAssignment(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteAllResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteAllResourcesTagsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAdminGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAdmins(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllResourcesByResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAllResourcesTagsForResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesTagsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedUsersOfResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedGroups(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedMembersWithStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithMemberService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedServicesToResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEnrichedResourceById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("id",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEnrichedResourcesForFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEnrichedResourcesForVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupAssignments(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAssignments(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceBan(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==p)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("name",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesCountForAll(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getResourcesCountForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesFromVoWhereUserIsAdmin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourcesWhereGroupIsAdmin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("group",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourcesWhereUserIsAdmin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==p)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("user",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichAdmins(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==r)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==p)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),r&&r.forEach(j=>{c=c.append("specificAttributes",j)}),null!=p&&(c=c.set("allUserAttributes",p)),null!=o&&(c=c.set("onlyDirectAdmins",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRichResourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichResourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeAllResourceTagsFromResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeBanByMemberAndResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAdminResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupFromResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupFromResources(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("resources[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupsFromResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeResourceSelfServiceGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceSelfServiceUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceTagFromResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}removeService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling removeServices.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("services[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("servicesPackage",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAdminResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setResourceBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unallowGroupsFromResources(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),r&&r.forEach(y=>{t=t.append("resources[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateResourceBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),V=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addDestination(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==p)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestination.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("service",i)),null!=r&&(u=u.set("facility",r)),null!=p&&(u=u.set("destination",p)),null!=o&&(u=u.set("type",o)),null!=t&&(u=u.set("propagationType",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}addDestinationToMultipleServices(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addDestinationsForAllServicesOnFacility(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==p)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),null!=r&&(c=c.set("destination",r)),null!=p&&(c=c.set("type",p)),null!=o&&(c=c.set("propagationType",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}addRequiredAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addRequiredAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addServiceToServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("servicesPackage",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockAllServicesOnDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}blockAllServicesOnDestinationByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("destination",i)),null!=r&&(t=t.set("destinationType",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockAllServicesOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}blockServiceOnDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockServiceOnDestinationWithNameAndType(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==p)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("destination",r)),null!=p&&(n=n.set("destinationType",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}blockServiceOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createService(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==p)throw new Error("Required parameter script was null or undefined when calling createService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("name",i)),null!=r&&(n=n.set("description",r)),null!=p&&(n=n.set("script",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createServiceWithService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createServicesPackageByNameAndDescription(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("description",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling deleteService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceServicePropagation(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllDestinations(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllRichDestinationsForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichDestinationsForService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedServices(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getDataWithGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDataWithVos(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getDestinationsCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFacilitiesDestinations(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAssignedServicesForGUI(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFlatData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedDataWithGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedHierarchicalData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHierarchicalData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getServiceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServiceByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServices(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getServicesBlockedOnDestination(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesBlockedOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesByAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesFromServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackageById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackageByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackages(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}isServiceBlockedOnDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}isServiceBlockedOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}planServicePropagation(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAllDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAllRequiredAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeDestination(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==p)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("facility",r)),null!=p&&(c=c.set("destination",p)),null!=o&&(c=c.set("type",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeRequiredAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeRequiredAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServiceFromServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("servicesPackage",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockAllServicesOnDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}unblockAllServicesOnDestinationByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("destination",i)),null!=r&&(t=t.set("destinationType",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockAllServicesOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}unblockServiceOnDestinationById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockServiceOnDestinationByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==p)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("destination",r)),null!=p&&(n=n.set("destinationType",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}unblockServiceOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),H=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}countTasks(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}deleteTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultsIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultsNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAllFacilitiesStates(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("voId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityServicesState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTask(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getTask.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getTaskById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("taskResult",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResults(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getTaskResultsByTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForDestinations(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("destinations[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForGUIByTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForGUIByTaskAndDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("task",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getTaskResultsForGUIByTaskOnlyNewest(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isThereSuchTask(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}listAllTasks(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}listAllTasksForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}suspendTasksPropagation(i,r="body",p=!1){if(null==i)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("suspend",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),X=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSpecificUserOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("specificUser",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addUserExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}anonymizeUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}changeNonAuthzPasswordByToken(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==r)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("token",i)),null!=r&&(n=n.set("password",r)),null!=p&&(n=n.set("lang",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}changePasswordForLogin(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==p)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("login",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("newPassword",p)),null!=o&&(u=u.set("oldPassword",o)),null!=t&&(u=u.set("checkOldPassword",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}changePasswordForUser(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==p)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("user",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("newPassword",p)),null!=o&&(u=u.set("oldPassword",o)),null!=t&&(u=u.set("checkOldPassword",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}checkPasswordResetRequestByTokenIsValid(i,r="body",p=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("token",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}checkPasswordStrength(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("password",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createAlternativePassword(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==p)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("description",r)),null!=p&&(c=c.set("loginNamespace",p)),null!=o&&(c=c.set("password",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}createServiceUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAlternativePassword(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==r)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==p)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("loginNamespace",r)),null!=p&&(n=n.set("passwordId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deletePasswordForLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("login",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deletePasswordForUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findRichUsers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findRichUsersWithAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("searchString",i)),r&&r.forEach(y=>{t=t.append("attrsNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findUsers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}generateAccountForName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("namespace",i)),null!=r&&(t=t.set("name",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllRichUsersWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("includedSpecificUsers",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsForFacilityWhereUserIsActive(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsForResourceWhereUserIsActive(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsInVoWhereUserIsAdmin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getPendingPreferredEmailChanges(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUserExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUserWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersWithAttributesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersWithoutVoWithAttributes(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attrsNames[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSpecificUsersByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSponsorsForMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsForMemberByVoAndLogin(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==p)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("extSourceName",r)),null!=p&&(c=c.set("extLogin",p)),o&&o.forEach(j=>{c=c.append("attrNames[]",j)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const j="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+j)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getUserByExtSourceNameAndExtLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("extLogin",i)),null!=r&&(t=t.set("extSourceName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getUserById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userExtSource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceByUniqueAttributeValueAndAttributeId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeId",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeName",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getUsersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsersBySpecificUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("specificUser",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsersPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getVosWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosWhereUserIsMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isLoginAvailable(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==r)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("loginNamespace",i)),null!=r&&(t=t.set("login",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}loginExist(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSpecificUserOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("specificUser",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserExtSource(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==r)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("userExtSource",r)),null!=p&&(n=n.set("force",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}requestPreferredEmailChange(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==r)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("user",i)),null!=r&&(y=y.set("email",r)),null!=p&&(y=y.set("lang",p)),null!=o&&(y=y.set("linkPath",o)),null!=t&&(y=y.set("customUrl",t)),null!=n&&(y=y.set("idpFilter",n));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const nt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+nt)}const Ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Ve&&(M=M.set("Accept",Ve)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}reservePasswordForLogin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==p)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("login",i)),null!=r&&(n=n.set("namespace",r)),null!=p&&(n=n.set("password",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reservePasswordForUser(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==p)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("namespace",r)),null!=p&&(n=n.set("password",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reserveRandomPassword(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}validatePasswordForLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("login",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}validatePasswordForUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}validatePreferredEmailChangeWithToken(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==r)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("token",i)),null!=r&&(t=t.set("u",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ie=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAppsConfig(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getGuiConfiguration(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunRPCVersion(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunStatistics(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunStatus(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunSystemTimeInMillis(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),oe=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSponsorRoleToGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addSponsorRoleToUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addVoAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addVoAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createVoWithName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==r)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("shortName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createVoWithVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findCandidates(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("id",i)),null!=r&&(n=n.set("searchString",r)),null!=p&&(n=n.set("maxNumOfResults",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCandidatesForGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("searchString",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getCompleteCandidatesForGroup(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("searchString",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCompleteCandidatesForVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("searchString",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMyVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getRichAdminsForVo(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==p)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("vo",i)),null!=r&&(u=u.set("role",r)),p&&p.forEach(Ve=>{u=u.append("specificAttributes",Ve)}),null!=o&&(u=u.set("allUserAttributes",o)),null!=t&&(u=u.set("onlyDirectAdmins",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ve="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+Ve)}const j=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==j&&(y=y.set("Accept",j)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getVoAdminGroups(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("role",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAdminUsers(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==p)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("role",r)),null!=p&&(n=n.set("onlyDirectAdmins",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getVoBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoBanForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoBansForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getVoById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoByShortName(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("shortName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoMembersCountsByStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeSponsorRoleFromGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSponsorRoleFromUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeVoBanForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}setVoBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Ne={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"},Me={ID:"ID",DATECREATED:"DATE_CREATED",TYPE:"TYPE",STATE:"STATE",SUBMITTER:"SUBMITTER",GROUPNAME:"GROUP_NAME",MODIFIEDBY:"MODIFIED_BY"},at={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"};let S=(()=>{class I{constructor(i,r){if(i)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!r)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(i){return{ngModule:I,providers:[{provide:A,useFactory:i}]}}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(I,12),g.LFG(e.eN,8))},I.\u0275mod=g.oAB({type:I}),I.\u0275inj=g.cJS({providers:[s,b,O,E,h,k,L,Y,J,ue,ce,Le,de,ke,ae,V,H,X,ie,oe],imports:[[]]}),I})()},19516:(Ke,be,d)=>{"use strict";d.d(be,{r5:()=>A.r,d4:()=>g,dp:()=>T.d});var e=d(69808),f=d(5e3);let g=(()=>{class Y{}return Y.\u0275fac=function(ue){return new(ue||Y)},Y.\u0275mod=f.oAB({type:Y}),Y.\u0275inj=f.cJS({imports:[[e.ez]]}),Y})();var T=d(31359),A=(d(34447),d(82895));d(12856),d(20919),d(5865),d(53561),d(16119),d(7598),d(9954)},34447:(Ke,be,d)=>{"use strict";d.d(be,{a:()=>T});var e=d(36908),f=d(5e3),g=d(51062);let T=(()=>{class m{constructor(s,b){this.translate=s,this.storage=b}transform(s,b="en"){const O=this.storage.get("custom_labels");if(O){const E=Object.keys(O);for(const h of E){const k=this.storage.get("custom_labels",h);if(k.label===s)return k[b]}}return s}}return m.\u0275fac=function(s){return new(s||m)(f.Y36(g.sK,16),f.Y36(e.d6,16))},m.\u0275pipe=f.Yjl({name:"customTranslate",type:m,pure:!0}),m})()},82895:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m,A){return A?`/organizations/${m.voId}/resources/${m.id}`:`/facilities/${m.facilityId}/resources/${m.id}`}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"getResourceRoute",type:g,pure:!0}),g})()},28764:(Ke,be,d)=>{"use strict";d.d(be,{F:()=>T});var e=d(9244),f=d(64080),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),O=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=O.value;if("true"===b.value){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),Y=k.value,J=L.value;return null!=Y&&Y.trim().length>0?"red":null!==J&&J.trim().length>0?"green":""}if(E){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),Y=k.value,J=L.value;return null!=Y&&Y.trim().length>0?"red":null!==J&&J.trim().length>0?"green":""}return""}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIconColor",type:m,pure:!0}),m})()},29218:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>T});var e=d(64080),f=d(9244),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"";const b=(0,f.IL)(s.attributes,e.r.GROUP_SYNC_ENABLED),O=(0,f.IL)(s.attributes,e.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"";const E=O.value;if("true"===b.value){const k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_STATE),L=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_TIMESTAMP),Y=k.value,J=L.value;return null!=Y&&Y.trim().length>0?"sync_problem":(null!==J&&J.trim(),"sync")}if(E){const k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),Y=k.value,J=L.value;return null!=Y&&Y.trim().length>0?"sync_problem":(null!==J&&J.trim(),"sync")}return"sync_disabled"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIcon",type:m,pure:!0}),m})()},45942:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>T});var e=d(9244),f=d(64080),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),O=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=O.value;if("true"===b.value){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),Y=k.value,J=L.value;return null!=Y&&Y.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==J&&J.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(E){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),Y=k.value,J=L.value;return null!=Y&&Y.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==J&&J.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncToolTip",type:m,pure:!0}),m})()},20919:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.g$)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberEmail",type:T,pure:!0}),T})()},5865:(Ke,be,d)=>{"use strict";d.d(be,{p:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.lt)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberLogins",type:T,pure:!0}),T})()},96974:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.Gw)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberOrganization",type:T,pure:!0}),T})()},69773:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIconColor",type:g,pure:!0}),g})()},21757:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return m}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIcon",type:g,pure:!0}),g})()},12856:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A,s){let b=null,O=null;null!==A.memberAttributes&&(b=A.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName),O=A.memberAttributes.find(h=>"groupMembershipExpiration"===h.friendlyName));let E="";return E=s?`\n Group status: ${(0,e.Oe)(A.groupStatus)}, Expiration: ${O&&O.value?O.value:"never"}`:`Status: ${(0,e.Oe)(A.status,A.groupStatus)}\n Vo status: ${(0,e.Oe)(A.status)}, Expiration: ${b&&b.value?b.value:"never"}`,E}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberStatusTooltip",type:T,pure:!0}),T})()},20551:(Ke,be,d)=>{"use strict";d.d(be,{l:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace("VALID","ACTIVE")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatus",type:g,pure:!0}),g})()},64597:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace(/\s/g,"-").toLowerCase()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"multiWordDataCy",type:g,pure:!0}),g})()},62383:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class T{transform(A,s){return"voRules"===A?"Vo rules":"groupRules"===A?"Group rules":A&&"never"!==A.toLowerCase()?(0,e.p6)(A.replace(" ","T"),"d.M.yyyy "+(s?"H:mm:ss":""),"en"):"never"}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"parseDate",type:T,pure:!0}),T})()},53561:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.te)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"technicalOwners",type:T,pure:!0}),T})()},16119:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.kN)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userEmail",type:T,pure:!0}),T})()},31359:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){let s="";return null!==m.titleBefore&&(s+=m.titleBefore+" "),null!==m.firstName&&(s+=m.firstName+" "),null!==m.middleName&&(s+=m.middleName+" "),null!==m.lastName&&(s+=m.lastName+" "),null!==m.titleAfter&&(s+=m.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"userFullName",type:g,pure:!0}),g})()},7598:(Ke,be,d)=>{"use strict";d.d(be,{g:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.$0)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userLogins",type:T,pure:!0}),T})()},9954:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.OV)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userVo",type:T,pure:!0}),T})()},36908:(Ke,be,d)=>{"use strict";d.d(be,{yC:()=>oe,F5:()=>X,sM:()=>Fe,e8:()=>E,EB:()=>Le,Be:()=>Xe,Hy:()=>R,ly:()=>ve,fb:()=>tt,xw:()=>se,x4:()=>T,v0:()=>Y,SZ:()=>ge,V6:()=>ie,jq:()=>Ce,BN:()=>Oe,Ip:()=>at,HV:()=>fe,d6:()=>s,UA:()=>Me});var e=d(9315),f=d(45323),g=d(5e3);let T=(()=>{class N{constructor(D){this.authzSevice=D,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(D){this.principal=D,this.initData(D)}setPerunPolicies(D){this.perunPolicies=D}getPerunPolicies(){return this.perunPolicies}isAuthorized(D,S){if(null===this.principal.roles)return!1;const I=this.fetchPolicyWithAllIncludedPolicies(D);let P=[];for(const r of I)P=P.concat(r.perunRoles);const i=this.fetchAllRelatedObjects(S);return this.resolveAuthorization(P,i)}resolveAuthorization(D,S){for(const I of D){let P=!0;for(const i of Object.keys(I)){const r=I[i];if(null===r)this.principalRoles.has(i)||(P=!1);else if(S[r]){for(const p of S[r])if(!this.principalHasRole(i,r,p)){P=!1;break}}else P=!1;if(!P)break}if(P)return!0}return!1}fetchAllRelatedObjects(D){const S={};for(const I of D){let P=I.beanName;switch(I.beanName.startsWith("Rich")&&(P=I.beanName.substring(4)),S[P]?S[P].push(I.id):S[P]=[I.id],P){case"Member":S.User?S.User.push(I.userId):S.User=[I.userId],S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId];break;case"Group":case"ResourceTag":S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId];break;case"Resource":S.Facility?S.Facility.push(I.facilityId):S.Facility=[I.facilityId],S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId]}}return S}principalHasRole(D,S,I){let P=S;return S.startsWith("Rich")&&(P=S.substring(4)),!(!this.principal.roles[D]||!this.principal.roles[D][P])&&this.principal.roles[D][P].includes(Number(I.toString()))}fetchPolicyWithAllIncludedPolicies(D){const S=new Map;let I=[];for(I.push(D);0!==I.length;){const i=I.shift();if(S.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,D);continue}const r=this.getPerunPolicy(i);if(!r)return[];S.set(i,r),I=I.concat(r.includePolicies)}const P=[];for(const i of S.values())P.push(i);return P}getPerunPolicy(D){for(const S of this.perunPolicies)if(S.policyName===D)return S;return console.log("policy with name"+D+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER,f.u.FACILITYADMIN,f.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(f.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOADMIN)}isThisVoAdminOrObserver(D){return this.editableVos.includes(Number(D.toString()))||this.observableVos.includes(Number(D.toString()))||this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isThisVoAdmin(D){return this.editableVos.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(f.u.SPONSOR)}isThisGroupAdmin(D){return this.editableGroups.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdminInThisVo(D){return this.hasGroupInTheseVos.includes(D)}isFacilityAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.FACILITYADMIN)}isThisFacilityAdmin(D){return this.editableFacilities.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(f.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOOBSERVER,f.u.PERUNOBSERVER)}isThisVoObserver(D){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)||this.observableVos.includes(D)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((D,S)=>{this.authzSevice.getAllRolesManagementRules().subscribe(I=>{this.allRolesManagementRules=I,D()},I=>S(I))})}assignAvailableRoles(D,S){this.allRolesManagementRules.forEach(I=>{I.primaryObject===S&&D.push(I.roleName)}),D.sort(),"Vo"===S&&this.voCustomSort(D)}isManagerPagePrivileged(D){const S=[];let I=D.beanName;I.startsWith("Rich")&&(I=I.substr(4)),this.assignAvailableRoles(S,I);const P=new Map;this.getRolesAuthorization(S,D,P);for(const i of P.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(D,S,I){for(const P of D){let i=[],r=[],p=[];for(const c of this.allRolesManagementRules)if(c.roleName===P){i=i.concat(c.privilegedRolesToRead),r=r.concat(c.privilegedRolesToManage);for(const u of Object.keys(c.entitiesToManage))p="User"===u?[u].concat(p):p.concat(u);break}const o=this.fetchAllRelatedObjects([S]),t=this.resolveAuthorization(i,o),n=this.resolveAuthorization(r,o);I.set(P,{readAuth:t,manageAuth:n,modes:p})}}voCustomSort(D){for(let S=0;S{class N{constructor(){this.branding=""}setInstanceConfig(D){this.instanceConfig=D}setDefaultConfig(D){this.defaultConfig=D}getAppsConfig(){return this.appsConfig}setAppsConfig(D){this.appsConfig=D}setPerunPrincipal(D){this.principal=D}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(D){this.initialPageId=D}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(D){this.branding=D}skipOidc(){return this.get("skip_oidc")}get(...D){let S;if(""!==this.branding){const I=this.instanceConfig.brandings[this.branding];for(let P=0;P{class N{constructor(D,S,I,P,i){this.injector=D,this.store=S,this.dialog=I,this.route=P,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(A.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(r=>{r.idpFilter&&(this.filterShortname=r.idpFilter)})}getClientConfig(){const D=this.setIdpFilter(),S=D?{acr_values:D}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(S.prompt="consent"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:S}}setIdpFilter(){const D=location.search.substr(1).split("&");this.filterShortname=null;const S=this.store.get("oidc_client","filters");if(!S)return null;let I=null;return D.forEach(P=>{const i=P.split("=");"idpFilter"===i[0]&&S[i[1]]&&(this.filterShortname=i[1],I=S[i[1]])}),S.default&&!I?(this.filterShortname="default",S.default):I}startIdpFilterKeeper(){this.router.events.pipe((0,m.h)(D=>D instanceof A.m2)).subscribe(()=>{const D={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===D.idpFilter?{}:D,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const D=location.pathname,S=location.search.substr(1);return"/api-callback"===D?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(D,S).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(D=>!!D&&(this.oauthService.events.pipe((0,m.h)(S=>"token_expires"===S.type)).subscribe(()=>{this.oauthService.refreshToken().then(S=>{localStorage.setItem("refresh_token",S.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(D){const S=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===D)return!0;for(const I of S)if(D.startsWith(I))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(D=>D)):Promise.resolve()}verifyAuthentication(D,S){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(I=>I?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(D)?(sessionStorage.setItem("auth:redirect",D),sessionStorage.setItem("auth:queryParams",S),!1):new Promise((P,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const D=sessionStorage.getItem("mfa_route");if(D)return this.router.navigate([D],{replaceUrl:!0});let S=sessionStorage.getItem("auth:redirect");const I=sessionStorage.getItem("auth:queryParams");let P=[];I&&(P=I.split("&"));const i={};return P.forEach(r=>{const p=r.split("=");i[p[0]]=p[1]}),(!S||"/login"===S)&&(S="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([S],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(g.zs3),g.LFG(s),g.LFG(b.uw),g.LFG(A.gz),g.LFG(O.Ct))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var h=d(51062);let k=(()=>{class N{constructor(D){this.dialogRef=D}}return N.\u0275fac=function(D){return new(D||N)(g.Y36(b.so))},N.\u0275cmp=g.Xpm({type:N,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(D,S){1&D&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&D&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[b.xY],pipes:[h.X$],styles:[""]}),N})();var L=d(9244);let Y=(()=>{class N{constructor(D,S,I,P,i,r){this.authService=D,this.storeService=S,this.authResolver=I,this.authzService=P,this.dialog=i,this.router=r,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(D){this.loginScreenShown=D}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(D=>D(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(D=>{if(null===D.user){const S=(0,L.kZ)();this.dialog.open(k,S)}else this.storeService.setPerunPrincipal(D),this.authResolver.init(D)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(D=>{D()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const D=location.search.substr(1).split("&"),S={};for(const I of D){const P=I.split("=");S[P[0]]=P[1]}return this.router.navigate(["login"],{queryParams:S,queryParamsHandling:"merge"}).then(()=>null)}}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(E),g.LFG(s),g.LFG(T),g.LFG(e.Ct),g.LFG(b.uw),g.LFG(A.F0))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var J=d(25245),ue=d(22313);let Le=(()=>{class N{constructor(D,S){this.matIconRegistry=D,this.domSanitizer=S,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(D=>{this.matIconRegistry.addSvgIcon(D.name,this.domSanitizer.bypassSecurityTrustResourceUrl(D.url))})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(J.jv),g.LFG(ue.H7))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})();var de=d(40520),ke=d(61737),ae=d(22868),V=d(47423);let H=(()=>{class N{constructor(D){this.dialogRef=D}close(){this.dialogRef.close(!0)}}return N.\u0275fac=function(D){return new(D||N)(g.Y36(b.so))},N.\u0275cmp=g.Xpm({type:N,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(D,S){1&D&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g._uU(4),g.ALo(5,"translate"),g.qZA(),g.TgZ(6,"div",2),g.TgZ(7,"div",3),g.TgZ(8,"button",4),g.NdJ("click",function(){return S.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&D&&(g.xp6(1),g.Oqu(g.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),g.xp6(3),g.hij(" ",g.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),g.xp6(5),g.hij(" ",g.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[b.uh,b.xY,b.H8,V.lW],pipes:[h.X$],styles:[""]}),N})(),X=(()=>{class N{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const D=this.handleNextError;return this.handleNextError=!0,D}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),ie=(()=>{class N{constructor(D){this.translate=D,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new g.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(D,S=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===D.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===D.name?S:S+"\n"+D.name,D,D.message)}showRouteError(){const D=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),S=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(D,null,S)}showError(D,S,I,P,i){this.addNotification.emit({type:"error",error:S,description:I,title:D,actionText:void 0===P&&void 0!==I?this.getDefaultActionMessage():P,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(D,S,I,P){this.addNotification.emit({type:"success",description:S,title:D,actionText:void 0===I&&void 0!==S?this.getDefaultActionMessage():I,delay:this.defaultSuccessDelayMs,icon:"done",action:P,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(h.sK))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),oe=(()=>{class N{constructor(D,S,I,P,i,r){this.authService=D,this.apiRequestConfiguration=S,this.notificator=I,this.store=P,this.dialog=i,this.initAuthService=r}intercept(D,S){const I=this.store.get("api_url");if(-1!==D.url.indexOf("i18n")&&(D=D.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==I&&-1!==D.url.toString().indexOf(I)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const r=(0,L.kZ)();r.width="450px",this.dialog.open(H,r).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}D=this.initAuthService.isServiceAccess()?D.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):D.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const P=this.apiRequestConfiguration.shouldHandleError(),i="POST"===D.method&&!this.store.skipOidc()&&this.isCallToPerunApi(D.url);return S.handle(D).pipe((0,ae.b)(r=>{r instanceof de.Zn&&i&&this.initAuthService.loadPrincipal()},r=>{const p=this.formatErrors(r,D);return void 0===p?(0,ke._)(r):P?void this.notificator.showRPCError(p):(0,ke._)(p)}))}isCallToPerunApi(D){return D.startsWith(this.store.get("api_url"))}formatErrors(D,S){let I;if(console.error(D),D.error.errorId?I=D.error:D.errorId&&(I=JSON.parse(D.error)),void 0!==I)return I.urlWithParams=S.urlWithParams,I.call=S.url,I.payload=S.body,I}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(E),g.LFG(X),g.LFG(ie),g.LFG(s),g.LFG(b.uw),g.LFG(Y))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})(),ge=(()=>{class N{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(D){this.newNotificationsCount++,this.notificationData.push(D)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ne=d(27221);let Fe=(()=>{class N{constructor(D,S,I,P){this.http=D,this.notificator=S,this.authService=I,this.storeService=P}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(D,S,I,P){const i=D.error;return i.call=S,i.payload=I,P&&this.notificator.showRPCError(D.error),(0,ke._)(i)}getHeaders(){let D=new de.WM;return D=D.set("Authorization",this.authService.getAuthorizationHeaderValue()),D}get(D,S=!0){const I=`${this.getApiUrl()}${D}`;return this.http.get(I,{headers:this.getHeaders()}).pipe((0,Ne.K)(P=>this.formatErrors(P,I,null,S)))}put(D,S={},I=!0){const P=`${this.getApiUrl()}${D}`,i=JSON.stringify(S);return this.http.put(P,i,{headers:this.getHeaders()}).pipe((0,Ne.K)(r=>this.formatErrors(r,P,i,I)))}post(D,S={},I=!0){const P=`${this.getApiUrl()}${D}`,i=JSON.stringify(S);let r=this.getHeaders();return r=r.set("Content-Type","application/json; charset=utf-8"),this.http.post(P,i,{headers:r}).pipe((0,Ne.K)(p=>this.formatErrors(p,P,i,I)))}delete(D,S=!0){const I=`${this.getApiUrl()}${D}`;return this.http.delete(I,{headers:this.getHeaders()}).pipe((0,Ne.K)(P=>this.formatErrors(P,I,null,S)))}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(de.eN),g.LFG(ie),g.LFG(E),g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),se=(()=>{class N{constructor(D){this.router=D,this.lastState="forward",this.history=new Set,D.events.subscribe(S=>{S instanceof A.OD&&("popstate"===S.navigationTrigger?this.history.has(S.restoredState.navigationId)?(this.lastState="back",this.history.delete(S.restoredState.navigationId)):(this.lastState="forward",this.history.add(S.id)):(this.history.add(S.id),this.lastState="forward"))})}forceNavigate(D,S){if(null===D)return;let I="";D.forEach(P=>I+="/"+P),I.length>0&&(I=I.substring(1)),void 0===S&&(S={}),S.queryParams={redirectTo:I},this.router.navigate(["redirect"],S)}getLastState(){return this.lastState}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(A.F0))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Me=(()=>{class N{constructor(){}isAllSelectedWithDisabledCheckbox(D,S,I,P,i,r,p,o){return this.numSelected=D,this.numCanBeSelected=0,this.pageStart=i*I,this.pageEnd=this.pageStart+I,this.pageIterator=0,this.dataLength=""===S?r.data.length:r.filteredData.length,P||(this.modulo=this.dataLength%I,this.pageEnd=0===this.modulo?this.pageStart+I:this.pageStart+this.modulo),r.sortData(r.filteredData,p).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{o?t(n)&&this.pageStart<=this.pageIterator&&this.pageIterator{class N{constructor(D,S,I,P){this.membersService=D,this.usersService=S,this.auditMessagesManagerService=I,this.registrarService=P}getMembers(D,S,I,P,i,r,p,o,t,n){return this.membersService.getMembersPage({vo:D,attrNames:S,query:{pageSize:i,offset:P*i,order:I,sortColumn:r,statuses:p,searchString:o,groupId:t,groupStatuses:n}})}getUsers(D,S,I,P,i,r,p,o,t,n,c,u){return this.usersService.getUsersPage({attrNames:D,query:{offset:P*I,pageSize:P,order:S,sortColumn:i,searchString:r,withoutVo:p,facilityId:o,voId:t,resourceId:n,serviceId:c,onlyAllowed:u}})}getAuditMessages(D,S,I){return this.auditMessagesManagerService.getMessagesPage({query:{offset:I*S,pageSize:I,order:D}})}getApplications(D,S,I,P,i,r,p,o,t,n,c,u){return this.registrarService.getApplicationsPage({vo:c,query:{pageSize:D,offset:S*D,order:I,sortColumn:P,includeGroupApplications:i,searchString:r,states:p,dateFrom:o,dateTo:t,userId:n,groupId:u}})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(e.uq),g.LFG(e.Fv),g.LFG(e.jw),g.LFG(e.tk))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var me=d(591),Te=d(21086),te=d(40537);class R{constructor(he,D){this.dynamicPaginatingService=he,this.authzService=D,this.dataSubject=new me.X([]),this.loadingSubject=new me.X(!1),this.loading$=this.loadingSubject.asObservable(),this.allObjectCount=0,this.routeAuth=!0}loadMembers(he,D,S,I,P,i,r,p,o,t){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const n=this.latestQueryTime;this.dynamicPaginatingService.getMembers(he,D,S,I,P,i,r,p,o,t).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,te.x)(()=>this.loadingSubject.next(!1))).subscribe(c=>{if(this.latestQueryTime<=n){const u=c.data;null!==u&&0!==u.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:he},u[0]])),this.allObjectCount=c.totalCount,this.dataSubject.next(u)}})}loadUsers(he,D,S,I,P,i,r,p,o,t,n,c){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const u=this.latestQueryTime;this.dynamicPaginatingService.getUsers(he,I,S,D,P,i,r,p,o,t,n,c).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,te.x)(()=>this.loadingSubject.next(!1))).subscribe(y=>{if(this.latestQueryTime<=u){const M=y.data;this.allObjectCount=y.totalCount,this.dataSubject.next(M)}})}loadAuditMessages(he,D,S){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const I=this.latestQueryTime;this.dynamicPaginatingService.getAuditMessages(S,D,he).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,te.x)(()=>this.loadingSubject.next(!1))).subscribe(P=>{if(this.latestQueryTime<=I){const i=P.data;this.allObjectCount=P.totalCount,this.dataSubject.next(i)}})}loadApplications(he,D,S,I,P,i,r,p,o,t,n,c){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const u=this.latestQueryTime;this.dynamicPaginatingService.getApplications(he,D,S,I,i,P,r,p,o,t,c,n).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,te.x)(()=>this.loadingSubject.next(!1))).subscribe(y=>{if(this.latestQueryTime<=u){const M=y.data;null!==M&&0!==M.length&&(this.routeAuth=M[0].group?this.authzService.isAuthorized("getApplicationsForGroup_Group_List_policy",[M[0].group]):this.authzService.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[M[0].vo])),this.allObjectCount=y.totalCount,this.dataSubject.next(M)}})}connect(){return this.dataSubject.asObservable()}disconnect(){this.dataSubject.complete(),this.loadingSubject.complete()}getData(){return this.dataSubject.value}}let Oe=(()=>{class N{constructor(D,S){this.route=D,this.store=S}getPreferredLanguage(D){const S=this.store.get("supported_languages"),I=navigator.languages.map(r=>r.split("-")[0]),P=location.search.substr(1).split("&");let i=null;for(const r of P){const p=r.split("=");"lang"===p[0]&&(i=p[1])}return i&&S.includes(i)?i:D&&S.includes(D)?D:I&&S.includes(I[0])?I[0]:"en"}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(A.gz),g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ie=d(70655);let He=(()=>{class N{constructor(){}loadPdfMake(){return(0,Ie.mG)(this,void 0,void 0,function*(){if(!this.pdfMake){const D=yield d.e(641).then(d.t.bind(d,54641,23)),S=yield d.e(493).then(d.t.bind(d,58493,19));this.pdfMake=D.default,this.pdfMake.vfs=S.default.pdfMake.vfs}})}generatePdf(D){return(0,Ie.mG)(this,void 0,void 0,function*(){yield this.loadPdfMake(),this.pdfMake.createPdf(D).open()})}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),fe=(()=>{class N{constructor(D){this.pdfService=D}static generateTableForUser(D){const S=D.name.replace(";"," ").split(";")[0];return"OK"!==D.status?this.generateErrorRowForUser(S,D.status):N.generateRowForUser(S,D.login,D.password)}static generateErrorRowForUser(D,S){return{table:{heights:[30,1,1],widths:[249,249],body:[[{text:D,colSpan:1,alignment:"center",bold:!0,fontSize:12,margin:[20,25],color:"red"},{text:S,alignment:"center",bold:!0,color:"red"}]]}}}static generateRowForUser(D,S,I){return{table:{heights:[30,0],widths:[120,120,120,120],body:[[N.generateNameCell(D),{},N.getPasswordLabelCell(),N.generatePasswordCell(I)],[N.getLoginLabelCell(),N.generateLoginCell(S),{},{}]]}}}static generateNameCell(D){return{text:D,colSpan:2,alignment:"center",border:[!0,!0,!0,!1],bold:!0,fontSize:12,margin:[10,10]}}static generatePasswordCell(D){return{text:null==D?"N/A":D,border:[!1,!0,!0,!0],bold:!0,margin:[0,25],rowSpan:2,alignment:"left"}}static generateLoginCell(D){return{text:null==D?"N/A":D,border:[!1,!1,!0,!0],bold:!0}}static getLoginLabelCell(){return{text:"Login:",border:[!0,!1,!1,!0],alignment:"right",margin:[0,0,0,10]}}static getPasswordLabelCell(){return{text:"Password:",border:[!0,!0,!1,!0],alignment:"right",margin:[0,25],rowSpan:2}}generate(D){return(0,Ie.mG)(this,void 0,void 0,function*(){const S=[];for(const P of D)S.push(N.generateTableForUser(P));return this.pdfService.generatePdf({content:S})})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(He))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Ce=(()=>{class N{constructor(D){this.storeService=D}static getBrandContainingDomain(D,S){for(const I of D)if(I.newApps.admin===S||I.newApps.profile===S||I.newApps.pwdReset===S)return I;return D[0]}getUrlForOtherApplication(D,S){const P=window.location.href.split("/"),i=P[0]+"//"+P[2],r=N.getBrandContainingDomain(this.storeService.getAppsConfig().brands,i);let p;if(r.newApps[D])p=r.newApps[D],"pwdReset"===D&&(p+=`?login-namespace=${S}`);else switch(p=r.oldGuiDomain+"/fed",D){case"admin":p+="/gui/";break;case"profile":p+="/profile/";break;case"pwdReset":p+=`/pwd-reset/?login-namespace=${S}`}return p}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ye=d(86087);let Xe=(()=>{class N extends Ye.ye{constructor(){super(...arguments),this.getRangeLabel=function(D,S,I){let P;return P=I<1e3?I:I<1e4?"1 000":I<1e5?"10 000":"100 000",`${D*S+1} \u2013 ${(D+1)*S} of ${P} +`}}}return N.\u0275fac=function(){let he;return function(S){return(he||(he=g.n5z(N)))(S||N)}}(),N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})(),tt=(()=>{class N{setEntity(D){this.entity=D}getEntity(){return this.entity}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),at=(()=>{class N{constructor(D){this.authResolver=D,this.routePolicies=new Map([["organizations-members",S=>this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[S])],["organizations-groups",S=>this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[S])],["organizations-resources",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])||this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])||this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-resources-preview",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])],["organizations-resources-tags",S=>this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])],["organizations-resources-states",S=>this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-applications",S=>this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[S])],["organizations-sponsoredMembers",S=>this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[S])],["organizations-serviceAccounts",S=>this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[S])],["organizations-attributes",()=>!0],["organizations-statistics",S=>this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[S])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[S])],["organizations-settings",S=>this.authResolver.isManagerPagePrivileged(S)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])||this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-expiration",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-managers",S=>this.authResolver.isManagerPagePrivileged(S)],["organizations-settings-applicationForm",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-notifications",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-extsources",S=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])]])}canNavigate(D,S){const I=this.routePolicies.get(D);return!I||I(S)}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(T))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})()},64080:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>e});let e=(()=>{class f{}return f.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",f.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",f.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",f.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",f.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",f.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",f.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",f.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",f.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",f.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",f.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",f.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",f.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",f.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",f.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",f.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",f.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",f.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",f.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",f.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",f.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",f})()},9244:(Ke,be,d)=>{"use strict";d.d(be,{dN:()=>h,Je:()=>b,f7:()=>O.f7,l9:()=>E.l,sF:()=>O.sF,XI:()=>O.XI,aC:()=>O.aC,fx:()=>O.fx,dv:()=>O.dv,i5:()=>O.i5,Sd:()=>O.Sd,pR:()=>O.pR,ys:()=>O.ys,O6:()=>O.O6,B2:()=>O.B2,mH:()=>O.mH,MX:()=>O.MX,oU:()=>O.oU,IL:()=>O.IL,Jc:()=>O.Jc,Xn:()=>O.Xn,kZ:()=>O.kZ,v$:()=>O.v$,x2:()=>O.x2,vL:()=>O.vL,Hm:()=>O.Hm,Cz:()=>O.Cz,sG:()=>O.sG,g$:()=>O.g$,bD:()=>O.bD,lt:()=>O.lt,Oe:()=>O.Oe,hu:()=>O.hu,Gw:()=>O.Gw,te:()=>O.te,kN:()=>O.kN,$0:()=>O.$0,OV:()=>O.OV});var e=d(86087),f=d(92181),g=d(25245),T=d(47423),m=d(51062),A=d(69808),s=d(5e3);let b=(()=>{class k{}return k.\u0275fac=function(Y){return new(Y||k)},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({providers:[],imports:[[e.TU,f.Tx,g.Ps,T.ot,m.aw,A.ez]]}),k})();var O=d(17218),E=d(18750);class h{static passwordMatchValidator(L){const Y=L.get("passwordCtrl").value,J=L.get("passwordAgainCtrl").value;return L.get("passwordAgainCtrl").setErrors(Y!==J?{noPasswordMatch:!0}:null),null}static patternValidator(L){return Y=>{if(!Y.value)return null;let J=0;for(const ue of L)J+=ue.test(Y.value)?1:0;return J>=3?null:{isWeak:!0}}}}},17218:(Ke,be,d)=>{"use strict";d.d(be,{f7:()=>A,B2:()=>s,g$:()=>b,kN:()=>O,$0:()=>E,lt:()=>h,bD:()=>L,hu:()=>Y,Cz:()=>J,te:()=>ce,ys:()=>Le,vL:()=>ke,sF:()=>ae,XI:()=>V,OV:()=>ie,MX:()=>oe,oU:()=>ge,IL:()=>Ne,Jc:()=>Fe,v$:()=>se,i5:()=>Te,kZ:()=>te,dv:()=>R,Hm:()=>Oe,Oe:()=>Ie,Gw:()=>He,x2:()=>fe,sG:()=>Ce,pR:()=>Xe,Sd:()=>tt,Xn:()=>N,O6:()=>he,aC:()=>D,fx:()=>S,mH:()=>I});var e=d(70655),f=d(48966),g=d(69808),T=d(94327);const A=[5,10,25,100],s=/^(([^<>+()[\]\\.,;:\s@"-#$%&=]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]+))$/;function b(P){let i="";return P&&null!==P.userAttributes&&(P.userAttributes.forEach(r=>{"preferredMail"===r.friendlyName&&(i=r.value)}),i&&0===i.length&&null!==P.memberAttributes&&P.memberAttributes.forEach(r=>{"mail"===r.friendlyName&&null!==r.value&&(i=r.value)})),i}function O(P){let i="";return P&&P.userAttributes.forEach(r=>{"preferredMail"===r.friendlyName&&(i=r.value)}),i}function E(P){let i="";return!!P&&!!P.userAttributes&&P.userAttributes.filter(r=>"login-namespace"===r.baseFriendlyName).filter(r=>null!==r.value).forEach(r=>{i+=r.friendlyNameParameter+": "+r.value+", "}),i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function h(P){let i="";return!!P&&!!P.userAttributes&&P.userAttributes.filter(r=>"login-namespace"===r.baseFriendlyName).filter(r=>null!==r.value).forEach(r=>{i+=r.friendlyNameParameter+": "+r.value+", "}),i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function L(P){let i="";return null!==P.titleBefore&&(i+=P.titleBefore+" "),null!==P.firstName&&(i+=P.firstName+" "),null!==P.middleName&&(i+=P.middleName+" "),null!==P.lastName&&(i+=P.lastName+" "),null!==P.titleAfter&&(i+=P.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}function Y(P){let i="";return null!==P.firstName&&(i+=P.firstName+" "),null!==P.middleName&&(i+=P.middleName+" "),null!==P.lastName&&(i+=P.lastName+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}function J(P){let i="";return P.split(/(?=[A-Z])/g).forEach(p=>{i=i.concat(p.toLowerCase()),i=i.concat(" ")}),i=i.charAt(0).toUpperCase()+i.slice(1,i.length-1),i}function ce(P){let i="";for(const r of P)"technical"===r.type&&(i+=r.name+", ");return i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function Le(P,i){return(0,e.mG)(this,void 0,void 0,function*(){yield function de(P){return new Promise(i=>setTimeout(i,P))}(P),i()})}function ke(P){return JSON.parse(localStorage.getItem(P))||[]}function ae(P,i){if(null===localStorage.getItem(P)){const r=[];r.unshift(i.id),localStorage.setItem(P,JSON.stringify(r))}else{const r=JSON.parse(localStorage.getItem(P)),p=function X(P,i){for(let r=0;r0&&r.splice(p,1),0!==p&&r.unshift(i.id),r.length>5&&r.pop(),localStorage.setItem(P,JSON.stringify(r))}}function V(P,i){if(null===localStorage.getItem("recent")){let r;r="Group"===P.beanName?[{id:P.id,name:P.shortName,fullName:P.name,type:P.beanName,voId:P.voId,voName:i}]:[{id:P.id,name:P.name,type:P.beanName,voId:P.voId}],localStorage.setItem("recent",JSON.stringify(r))}else{const r=JSON.parse(localStorage.getItem("recent"));let p;p="Group"===P.beanName?{id:P.id,name:P.shortName,fullName:P.name,type:P.beanName,voId:P.voId,voName:i}:{id:P.id,name:P.name,type:P.beanName,voId:P.voId};const o=function H(P,i){for(let r=0;r0&&r.splice(o,1),0!==o&&r.unshift(p),r.length>5&&r.pop(),localStorage.setItem("recent",JSON.stringify(r))}}function ie(P){let i="";return P&&P.userAttributes.forEach(r=>{"organization"===r.friendlyName&&(i=r.value)}),i}function oe(P){return P.filter(i=>!i.namespace.includes("def:core"))}function ge(P,i){const r=i.find(p=>p.id===P);return r?r.parentGroupId?ge(r.parentGroupId,i).concat(r):[r]:[]}function Ne(P,i){for(const r of P)if(r.namespace+":"+r.friendlyName===i)return r;return null}function Fe(P){return null!=P.attributes["urn:perun:member:attribute-def:def:mail"]?P.attributes["urn:perun:member:attribute-def:def:mail"]:null!=P.attributes["urn:perun:user:attribute-def:def:preferredMail"]?P.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function se(P){return P.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function Me(P){if(P.includes("/CN=")){const i=P.split("/");for(const r in i)if(r.startsWith("CN="))return ve(r.substring(3))}return P}(P.userExtSource.extSource.name):P.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function me(P){switch(P){case"https://idp.upce.cz/idp/shibboleth":return"University in Pardubice";case"https://idp.slu.cz/idp/shibboleth":return"University in Opava";case"https://login.feld.cvut.cz/idp/shibboleth":return"Faculty of Electrical Engineering, Czech Technical University In Prague";case"https://www.vutbr.cz/SSO/saml2/idp":return"Brno University of Technology";case"https://shibboleth.nkp.cz/idp/shibboleth":return"The National Library of the Czech Republic";case"https://idp2.civ.cvut.cz/idp/shibboleth":return"Czech Technical University In Prague";case"https://shibbo.tul.cz/idp/shibboleth":return"Technical University of Liberec";case"https://idp.mendelu.cz/idp/shibboleth":return"Mendel University in Brno";case"https://cas.cuni.cz/idp/shibboleth":return"Charles University in Prague";case"https://wsso.vscht.cz/idp/shibboleth":return"Institute of Chemical Technology Prague";case"https://idp.vsb.cz/idp/shibboleth":return"VSB \u2013 Technical University of Ostrava";case"https://whoami.cesnet.cz/idp/shibboleth":return"CESNET";case"https://helium.jcu.cz/idp/shibboleth":return"University of South Bohemia";case"https://idp.ujep.cz/idp/shibboleth":return"Jan Evangelista Purkyne University in Usti nad Labem";case"https://idp.amu.cz/idp/shibboleth":return"Academy of Performing Arts in Prague";case"https://idp.lib.cas.cz/idp/shibboleth":return"Academy of Sciences Library";case"https://shibboleth.mzk.cz/simplesaml/metadata.xml":return"Moravian Library";case"https://idp2.ics.muni.cz/idp/shibboleth":return"Masaryk University";case"https://idp.upol.cz/idp/shibboleth":return"Palacky University, Olomouc";case"https://idp.fnplzen.cz/idp/shibboleth":return"FN Plzen";case"https://id.vse.cz/idp/shibboleth":return"University of Economics, Prague";case"https://shib.zcu.cz/idp/shibboleth":return"University of West Bohemia";case"https://idptoo.osu.cz/simplesaml/saml2/idp/metadata.php":return"University of Ostrava";case"https://login.ics.muni.cz/idp/shibboleth":return"MetaCentrum";case"https://idp.hostel.eduid.cz/idp/shibboleth":return"eduID.cz Hostel";case"https://shibboleth.techlib.cz/idp/shibboleth":return"National Library of Technology";case"https://eduid.jamu.cz/idp/shibboleth":return"Janacek Academy of Music and Performing Arts in Brno";case"https://marisa.uochb.cas.cz/simplesaml/saml2/idp/metadata.php":return"Institute of Organic Chemistry and Biochemistry AS CR";case"https://shibboleth.utb.cz/idp/shibboleth":return"Tomas Bata University in Zlin";case"https://engine.elixir-czech.org/authentication/idp/metadata":case"@elixir-europe.org":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":case"@mojeid.extidp.cesnet.cz":return"MojeID";case"https://www.egi.eu/idp/shibboleth":return"EGI SSO";case"@google.extidp.cesnet.cz":return"Google";case"@facebook.extidp.cesnet.cz":return"Facebook";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return P}}(P.userExtSource.extSource.name):P.userExtSource.extSource.name}function ve(P){return decodeURIComponent(P.replace(/\\x/g,"%"))}function Te(P=["en","cs"]){const i={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return P.forEach(r=>{i.message[r]={locale:r,subject:"",text:""}}),i}function te(){const P=new f.vA;return P.disableClose=!0,P.autoFocus=!1,P}function R(P){const i={applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null};for(const r of P)i.i18n[r]={locale:r,errorMessage:"",help:"",label:"",options:""};return i}function Oe(P){return"virt"===P.namespace.split(":")[4]}function Ie(P,i){return"valid"!==P.toLowerCase()||i&&"valid"!==P.toLowerCase()?P:"ACTIVE"}function He(P){let i="";return P&&null!==P.memberAttributes&&(P.memberAttributes.forEach(r=>{"organization"===r.friendlyName&&null!==r.value&&(i=r.value)}),0===i.length&&null!==P.userAttributes&&P.userAttributes.forEach(r=>{"organization"===r.friendlyName&&(i=r.value)})),i}function fe(P){const i=P.attributes.find(r=>"groupMembershipExpiration"===r.baseFriendlyName);return i&&i.value?i.value:"Never"}function Ce(P){return P&&"never"!==P.toLowerCase()?(0,g.p6)(P,"d.M.yyyy","en"):P}const Ye=new Intl.Collator("cs",{numeric:!0});function Xe(P,i,r,p){const o=i.active,t=i.direction;return o&&""!==t?P.sort((n,c)=>{const u=r(n,o,p),y=r(c,o,p);return Ye.compare(u,y)*("asc"===t?1:-1)}):P}function tt(P,i,r,p,o,t){i=i.toLowerCase();let n="";return r.forEach(c=>{n+=";"+p(P,c,o)}),t&&(n+=";"+p(P,"uuid",o)),-1!==n.toLowerCase().indexOf(i)}function N(P,i,r,p){const o=[],t=["checkbox","select","edit","menu","cite","extend","recent"];return i=i.filter(n=>!t.includes(n)),P.forEach(n=>{const c={};i.forEach(u=>{var y;c[u]=(null!==(y=r(n,u,p))&&void 0!==y?y:"").split('"').join("''").trim()}),o.push(c)}),o}function he(P,i="csv",r="export"){if("csv"===i){const p=(u,y)=>null===y?"":y,o=Object.keys(P[0]),t=P.map(u=>o.map(y=>JSON.stringify(u[y],p)).join(","));t.unshift(o.join(",").split(" ").join("_").split('"').join("''"));const n=t.join("\r\n"),c=new Blob([n],{type:"text/csv"});(0,T.saveAs)(c,`${r}.${i}`)}}function D(P,i){return P.name.toLowerCase()>i.name.toLowerCase()?1:P.name.toLowerCase()===i.name.toLowerCase()?0:-1}function S(P,i){var r,p,o,t;let n,c;return P.user?(n=P.user.lastName?P.user.lastName:null!==(r=P.user.firstName)&&void 0!==r?r:"",c=i.user.lastName?i.user.lastName:null!==(p=i.user.firstName)&&void 0!==p?p:""):(n=P.lastName?P.lastName:null!==(o=P.firstName)&&void 0!==o?o:"",c=i.lastName?i.lastName:null!==(t=i.firstName)&&void 0!==t?t:""),n>c?1:n===c?0:-1}function I(P,i,r=[]){P.enable(),P.clearValidators(),P.clearAsyncValidators(),P.setValidators(i),P.setAsyncValidators(r),P.updateValueAndValidity()}},18750:(Ke,be,d)=>{"use strict";d.d(be,{l:()=>Y});var e=d(5e3),f=d(86087),g=d(17218),T=d(10036),m=d(69808),A=d(47423),s=d(92181),b=d(25245),O=d(51062);let E=(()=>{class J{constructor(){this.exportData=new e.vpe}}return J.\u0275fac=function(ce){return new(ce||J)},J.\u0275cmp=e.Xpm({type:J,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(ce,Le){if(1&ce&&(e.TgZ(0,"div",0),e.TgZ(1,"button",1),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,2),e.TgZ(6,"button",3),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.qZA(),e.TgZ(9,"mat-menu",null,4),e.TgZ(11,"button",5),e.NdJ("click",function(){return Le.exportData.emit("csv")}),e._uU(12,"Csv"),e.qZA(),e.qZA(),e.qZA()),2&ce){const de=e.MAs(5),ke=e.MAs(10);e.xp6(1),e.Q6J("matMenuTriggerFor",de),e.xp6(5),e.Q6J("matMenuTriggerFor",ke),e.xp6(1),e.hij(" ",e.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[A.lW,s.p6,b.Hw,s.VK,s.OP],pipes:[O.X$],styles:[""]}),J})();function h(J,ue){if(1&J){const ce=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(de){return e.CHM(ce),e.oxw().exportData.emit(de)}),e.qZA()}}function k(J,ue){if(1&J){const ce=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(de){return e.CHM(ce),e.oxw().exportData.emit(de)}),e.qZA()}}const L=["*"];let Y=(()=>{class J{constructor(ce){this.tableConfigService=ce,this.hideExport=!1,this.pageSizeOptions=g.f7,this.dataLength=0,this.exportData=new e.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(ce){this.paginator=ce}pageChangedTop(ce){this.pageSize=ce.pageSize,this.tableConfigService.setTablePageSize(this.tableId,ce.pageSize)}pageChangedBottom(ce){this.paginator.pageSize=ce.pageSize,this.paginator.pageIndex=ce.pageIndex,this.paginator.page.emit(ce),this.pageSize=ce.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,ce.pageSize)}}return J.\u0275fac=function(ce){return new(ce||J)(e.Y36(T.dB))},J.\u0275cmp=e.Xpm({type:J,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(ce,Le){if(1&ce&&e.Gf(f.NW,7),2&ce){let de;e.iGM(de=e.CRH())&&(Le.matPaginator=de.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:L,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(ce,Le){1&ce&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"mat-paginator",2),e.NdJ("page",function(ke){return Le.pageChangedTop(ke)}),e.qZA(),e.YNc(3,h,1,0,"perun-web-apps-table-options",3),e.qZA(),e.TgZ(4,"div",4),e.Hsn(5),e.qZA(),e.TgZ(6,"div",1),e.TgZ(7,"mat-paginator",5),e.NdJ("page",function(ke){return Le.pageChangedBottom(ke)}),e.qZA(),e.YNc(8,k,1,0,"perun-web-apps-table-options",3),e.qZA(),e.qZA()),2&ce&&(e.xp6(2),e.Q6J("length",Le.dataLength)("pageSizeOptions",Le.pageSizeOptions)("pageSize",Le.pageSize),e.xp6(1),e.Q6J("ngIf",!Le.hideExport),e.xp6(4),e.Q6J("length",Le.paginator.length)("pageIndex",Le.paginator.pageIndex)("pageSizeOptions",Le.paginator.pageSizeOptions)("pageSize",Le.paginator.pageSize),e.xp6(1),e.Q6J("ngIf",!Le.hideExport))},directives:[f.NW,m.O5,E],styles:[""]}),J})()},98380:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>O});var e=d(5e3),f=d(69808),g=d(25245);function T(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," info "),e.qZA())}function m(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," warning "),e.qZA())}function A(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," dangerous "),e.qZA())}function s(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," check_circle "),e.qZA())}const b=["*"];let O=(()=>{class E{constructor(){}}return E.\u0275fac=function(k){return new(k||E)},E.\u0275cmp=e.Xpm({type:E,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:b,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(k,L){1&k&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,T,2,0,"mat-icon",1),e.YNc(2,m,2,0,"mat-icon",1),e.YNc(3,A,2,0,"mat-icon",1),e.YNc(4,s,2,0,"mat-icon",1),e.Hsn(5),e.qZA()),2&k&&(e.ekj("warn-alert","warn"===L.alert_type)("error-alert","error"===L.alert_type)("success-alert","success"===L.alert_type)("info-alert","info"===L.alert_type),e.xp6(1),e.Q6J("ngIf","info"===L.alert_type),e.xp6(1),e.Q6J("ngIf","warn"===L.alert_type),e.xp6(1),e.Q6J("ngIf","error"===L.alert_type),e.xp6(1),e.Q6J("ngIf","success"===L.alert_type))},directives:[f.O5,g.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),E})()},63189:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>T});var e=d(25245),f=d(69808),g=d(5e3);let T=(()=>{class m{}return m.\u0275fac=function(s){return new(s||m)},m.\u0275mod=g.oAB({type:m}),m.\u0275inj=g.cJS({imports:[[e.Ps,f.ez]]}),m})()},1302:function(Ke,be,d){var e;!function(f,g){var T={};!function(f){"use strict";f.__esModule=!0,f.digestLength=32,f.blockSize=64;var g=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function T(L,Y,J,ue,ce){for(var Le,de,ke,ae,V,H,X,ie,oe,ge,Ne,Fe,se;ce>=64;){for(Le=Y[0],de=Y[1],ke=Y[2],ae=Y[3],V=Y[4],H=Y[5],X=Y[6],ie=Y[7],ge=0;ge<16;ge++)L[ge]=(255&J[Ne=ue+4*ge])<<24|(255&J[Ne+1])<<16|(255&J[Ne+2])<<8|255&J[Ne+3];for(ge=16;ge<64;ge++)L[ge]=((Fe=((oe=L[ge-2])>>>17|oe<<15)^(oe>>>19|oe<<13)^oe>>>10)+L[ge-7]|0)+((se=((oe=L[ge-15])>>>7|oe<<25)^(oe>>>18|oe<<14)^oe>>>3)+L[ge-16]|0);for(ge=0;ge<64;ge++)Fe=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&H^~V&X)|0)+(ie+(g[ge]+L[ge]|0)|0)|0,se=((Le>>>2|Le<<30)^(Le>>>13|Le<<19)^(Le>>>22|Le<<10))+(Le&de^Le&ke^de&ke)|0,ie=X,X=H,H=V,V=ae+Fe|0,ae=ke,ke=de,de=Le,Le=Fe+se|0;Y[0]+=Le,Y[1]+=de,Y[2]+=ke,Y[3]+=ae,Y[4]+=V,Y[5]+=H,Y[6]+=X,Y[7]+=ie,ue+=64,ce-=64}return ue}var m=function(){function L(){this.digestLength=f.digestLength,this.blockSize=f.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return L.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},L.prototype.clean=function(){for(var Y=0;Y0){for(;this.bufferLength<64&&J>0;)this.buffer[this.bufferLength++]=Y[ue++],J--;64===this.bufferLength&&(T(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(J>=64&&(ue=T(this.temp,this.state,Y,ue,J),J%=64);J>0;)this.buffer[this.bufferLength++]=Y[ue++],J--;return this},L.prototype.finish=function(Y){if(!this.finished){var J=this.bytesHashed,ue=this.bufferLength,ce=J/536870912|0,Le=J<<3,de=J%64<56?64:128;this.buffer[ue]=128;for(var ke=ue+1;ke>>24&255,this.buffer[de-7]=ce>>>16&255,this.buffer[de-6]=ce>>>8&255,this.buffer[de-5]=ce>>>0&255,this.buffer[de-4]=Le>>>24&255,this.buffer[de-3]=Le>>>16&255,this.buffer[de-2]=Le>>>8&255,this.buffer[de-1]=Le>>>0&255,T(this.temp,this.state,this.buffer,0,de),this.finished=!0}for(ke=0;ke<8;ke++)Y[4*ke+0]=this.state[ke]>>>24&255,Y[4*ke+1]=this.state[ke]>>>16&255,Y[4*ke+2]=this.state[ke]>>>8&255,Y[4*ke+3]=this.state[ke]>>>0&255;return this},L.prototype.digest=function(){var Y=new Uint8Array(this.digestLength);return this.finish(Y),Y},L.prototype._saveState=function(Y){for(var J=0;Jthis.blockSize)(new m).update(Y).finish(J).clean();else for(var ue=0;ue1&&Y.update(L),J&&Y.update(J),Y.update(ue),Y.finish(L),ue[0]++}f.HMAC=A,f.hash=s,f.default=s,f.hmac=b;var E=new Uint8Array(f.digestLength);f.hkdf=function h(L,Y,J,ue){void 0===Y&&(Y=E),void 0===ue&&(ue=32);for(var ce=new Uint8Array([1]),Le=b(Y,L),de=new A(Le),ke=new Uint8Array(de.digestLength),ae=ke.length,V=new Uint8Array(ue),H=0;H>>24&255,de[1]=X>>>16&255,de[2]=X>>>8&255,de[3]=X>>>0&255,ce.reset(),ce.update(Y),ce.update(de),ce.finish(ae);for(var ie=0;ie=h.status}function A(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(k){var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(h)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,b=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),O=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!b?function(E,h,k){var L=s.URL||s.webkitURL,Y=document.createElement("a");Y.download=h=h||E.name||"download",Y.rel="noopener","string"==typeof E?(Y.href=E,Y.origin===location.origin?A(Y):m(Y.href)?T(E,h,k):A(Y,Y.target="_blank")):(Y.href=L.createObjectURL(E),setTimeout(function(){L.revokeObjectURL(Y.href)},4e4),setTimeout(function(){A(Y)},0))}:"msSaveOrOpenBlob"in navigator?function(E,h,k){if(h=h||E.name||"download","string"!=typeof E)navigator.msSaveOrOpenBlob(function g(E,h){return void 0===h?h={autoBom:!1}:"object"!=typeof h&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(E.type)?new Blob(["\ufeff",E],{type:E.type}):E}(E,k),h);else if(m(E))T(E,h,k);else{var L=document.createElement("a");L.href=E,L.target="_blank",setTimeout(function(){A(L)})}}:function(E,h,k,L){if((L=L||open("","_blank"))&&(L.document.title=L.document.body.innerText="downloading..."),"string"==typeof E)return T(E,h,k);var Y="application/octet-stream"===E.type,J=/constructor/i.test(s.HTMLElement)||s.safari,ue=/CriOS\/[\d]+/.test(navigator.userAgent);if((ue||Y&&J||b)&&"undefined"!=typeof FileReader){var ce=new FileReader;ce.onloadend=function(){var ke=ce.result;ke=ue?ke:ke.replace(/^data:[^;]*;/,"data:attachment/file;"),L?L.location.href=ke:location=ke,L=null},ce.readAsDataURL(E)}else{var Le=s.URL||s.webkitURL,de=Le.createObjectURL(E);L?L.location=de:location.href=de,L=null,setTimeout(function(){Le.revokeObjectURL(de)},4e4)}});s.saveAs=O.saveAs=O,Ke.exports=O}.apply(be,[]))&&(Ke.exports=f)},591:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>g});var e=d(8929),f=d(95279);class g extends e.xQ{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const A=super._subscribe(m);return A&&!A.closed&&m.next(this._value),A}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new f.N;return this._value}next(m){super.next(this._value=m)}}},51869:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(43489);class f extends e.L{constructor(T,m,A){super(),this.parent=T,this.outerValue=m,this.outerIndex=A,this.index=0}_next(T){this.parent.notifyNext(this.outerValue,T,this.outerIndex,this.index++,this)}_error(T){this.parent.notifyError(T,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},29312:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>m});var e=d(68896),f=d(21086),g=d(61737);class m{constructor(s,b,O){this.kind=s,this.value=b,this.error=O,this.hasValue="N"===s}observe(s){switch(this.kind){case"N":return s.next&&s.next(this.value);case"E":return s.error&&s.error(this.error);case"C":return s.complete&&s.complete()}}do(s,b,O){switch(this.kind){case"N":return s&&s(this.value);case"E":return b&&b(this.error);case"C":return O&&O()}}accept(s,b,O){return s&&"function"==typeof s.next?this.observe(s):this.do(s,b,O)}toObservable(){switch(this.kind){case"N":return(0,f.of)(this.value);case"E":return(0,g._)(this.error);case"C":return(0,e.c)()}throw new Error("unexpected notification kind value")}static createNext(s){return void 0!==s?new m("N",s):m.undefinedValueNotification}static createError(s){return new m("E",void 0,s)}static createComplete(){return m.completeNotification}}m.completeNotification=new m("C"),m.undefinedValueNotification=new m("N",void 0)},32916:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>h});var e=d(43489),g=d(57668),T=d(73292),A=d(93821),s=d(35379);var E=d(92830);let h=(()=>{class L{constructor(J){this._isScalar=!1,J&&(this._subscribe=J)}lift(J){const ue=new L;return ue.source=this,ue.operator=J,ue}subscribe(J,ue,ce){const{operator:Le}=this,de=function m(L,Y,J){if(L){if(L instanceof e.L)return L;if(L[g.b])return L[g.b]()}return L||Y||J?new e.L(L,Y,J):new e.L(T.c)}(J,ue,ce);if(de.add(Le?Le.call(de,this.source):this.source||E.v.useDeprecatedSynchronousErrorHandling&&!de.syncErrorThrowable?this._subscribe(de):this._trySubscribe(de)),E.v.useDeprecatedSynchronousErrorHandling&&de.syncErrorThrowable&&(de.syncErrorThrowable=!1,de.syncErrorThrown))throw de.syncErrorValue;return de}_trySubscribe(J){try{return this._subscribe(J)}catch(ue){E.v.useDeprecatedSynchronousErrorHandling&&(J.syncErrorThrown=!0,J.syncErrorValue=ue),function f(L){for(;L;){const{closed:Y,destination:J,isStopped:ue}=L;if(Y||ue)return!1;L=J&&J instanceof e.L?J:null}return!0}(J)?J.error(ue):console.warn(ue)}}forEach(J,ue){return new(ue=k(ue))((ce,Le)=>{let de;de=this.subscribe(ke=>{try{J(ke)}catch(ae){Le(ae),de&&de.unsubscribe()}},Le,ce)})}_subscribe(J){const{source:ue}=this;return ue&&ue.subscribe(J)}[A.L](){return this}pipe(...J){return 0===J.length?this:function O(L){return 0===L.length?s.y:1===L.length?L[0]:function(J){return L.reduce((ue,ce)=>ce(ue),J)}}(J)(this)}toPromise(J){return new(J=k(J))((ue,ce)=>{let Le;this.subscribe(de=>Le=de,de=>ce(de),()=>ue(Le))})}}return L.create=Y=>new L(Y),L})();function k(L){if(L||(L=E.v.Promise||Promise),!L)throw new Error("no Promise impl found");return L}},73292:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>g});var e=d(92830),f=d(22782);const g={closed:!0,next(T){},error(T){if(e.v.useDeprecatedSynchronousErrorHandling)throw T;(0,f.z)(T)},complete(){}}},826:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>f});var e=d(43489);class f extends e.L{notifyNext(T,m,A,s,b){this.destination.next(m)}notifyError(T,m){this.destination.error(T)}notifyComplete(T){this.destination.complete()}}},96831:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>ue});var e=d(8929),f=d(56686),T=d(32268);const A=new class m extends T.v{}(class g extends f.o{constructor(de,ke){super(de,ke),this.scheduler=de,this.work=ke}schedule(de,ke=0){return ke>0?super.schedule(de,ke):(this.delay=ke,this.state=de,this.scheduler.flush(this),this)}execute(de,ke){return ke>0||this.closed?super.execute(de,ke):this._execute(de,ke)}requestAsyncId(de,ke,ae=0){return null!==ae&&ae>0||null===ae&&this.delay>0?super.requestAsyncId(de,ke,ae):de.flush(this)}});var s=d(42654),b=d(43489),O=d(29312);class k extends b.L{constructor(de,ke,ae=0){super(de),this.scheduler=ke,this.delay=ae}static dispatch(de){const{notification:ke,destination:ae}=de;ke.observe(ae),this.unsubscribe()}scheduleMessage(de){this.destination.add(this.scheduler.schedule(k.dispatch,this.delay,new L(de,this.destination)))}_next(de){this.scheduleMessage(O.P.createNext(de))}_error(de){this.scheduleMessage(O.P.createError(de)),this.unsubscribe()}_complete(){this.scheduleMessage(O.P.createComplete()),this.unsubscribe()}}class L{constructor(de,ke){this.notification=de,this.destination=ke}}var Y=d(95279),J=d(45283);class ue extends e.xQ{constructor(de=Number.POSITIVE_INFINITY,ke=Number.POSITIVE_INFINITY,ae){super(),this.scheduler=ae,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=de<1?1:de,this._windowTime=ke<1?1:ke,ke===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(de){const ke=this._events;ke.push(de),ke.length>this._bufferSize&&ke.shift(),super.next(de)}nextTimeWindow(de){this._events.push(new ce(this._getNow(),de)),this._trimBufferThenGetEvents(),super.next(de)}_subscribe(de){const ke=this._infiniteTimeWindow,ae=ke?this._events:this._trimBufferThenGetEvents(),V=this.scheduler,H=ae.length;let X;if(this.closed)throw new Y.N;if(this.isStopped||this.hasError?X=s.w.EMPTY:(this.observers.push(de),X=new J.W(this,de)),V&&de.add(de=new k(de,V)),ke)for(let ie=0;ieke&&(X=Math.max(X,H-ke)),X>0&&V.splice(0,X),V}}class ce{constructor(de,ke){this.time=de,this.value=ke}}},8929:(Ke,be,d)=>{"use strict";d.d(be,{Yc:()=>s,xQ:()=>b});var e=d(32916),f=d(43489),g=d(42654),T=d(95279),m=d(45283),A=d(57668);class s extends f.L{constructor(h){super(h),this.destination=h}}let b=(()=>{class E extends e.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[A.b](){return new s(this)}lift(k){const L=new O(this,this);return L.operator=k,L}next(k){if(this.closed)throw new T.N;if(!this.isStopped){const{observers:L}=this,Y=L.length,J=L.slice();for(let ue=0;uenew O(h,k),E})();class O extends b{constructor(h,k){super(),this.destination=h,this.source=k}next(h){const{destination:k}=this;k&&k.next&&k.next(h)}error(h){const{destination:k}=this;k&&k.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:k}=this;return k?this.source.subscribe(h):g.w.EMPTY}}},45283:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>f});var e=d(42654);class f extends e.w{constructor(T,m){super(),this.subject=T,this.subscriber=m,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const T=this.subject,m=T.observers;if(this.subject=null,!m||0===m.length||T.isStopped||T.closed)return;const A=m.indexOf(this.subscriber);-1!==A&&m.splice(A,1)}}},43489:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>s});var e=d(67043),f=d(73292),g=d(42654),T=d(57668),m=d(92830),A=d(22782);class s extends g.w{constructor(E,h,k){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=f.c;break;case 1:if(!E){this.destination=f.c;break}if("object"==typeof E){E instanceof s?(this.syncErrorThrowable=E.syncErrorThrowable,this.destination=E,E.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,E));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,E,h,k)}}[T.b](){return this}static create(E,h,k){const L=new s(E,h,k);return L.syncErrorThrowable=!1,L}next(E){this.isStopped||this._next(E)}error(E){this.isStopped||(this.isStopped=!0,this._error(E))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(E){this.destination.next(E)}_error(E){this.destination.error(E),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:E}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=E,this}}class b extends s{constructor(E,h,k,L){super(),this._parentSubscriber=E;let Y,J=this;(0,e.m)(h)?Y=h:h&&(Y=h.next,k=h.error,L=h.complete,h!==f.c&&(J=Object.create(h),(0,e.m)(J.unsubscribe)&&this.add(J.unsubscribe.bind(J)),J.unsubscribe=this.unsubscribe.bind(this))),this._context=J,this._next=Y,this._error=k,this._complete=L}next(E){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;m.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,E)&&this.unsubscribe():this.__tryOrUnsub(this._next,E)}}error(E){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:k}=m.v;if(this._error)k&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,E),this.unsubscribe()):(this.__tryOrUnsub(this._error,E),this.unsubscribe());else if(h.syncErrorThrowable)k?(h.syncErrorValue=E,h.syncErrorThrown=!0):(0,A.z)(E),this.unsubscribe();else{if(this.unsubscribe(),k)throw E;(0,A.z)(E)}}}complete(){if(!this.isStopped){const{_parentSubscriber:E}=this;if(this._complete){const h=()=>this._complete.call(this._context);m.v.useDeprecatedSynchronousErrorHandling&&E.syncErrorThrowable?(this.__tryOrSetError(E,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(E,h){try{E.call(this._context,h)}catch(k){if(this.unsubscribe(),m.v.useDeprecatedSynchronousErrorHandling)throw k;(0,A.z)(k)}}__tryOrSetError(E,h,k){if(!m.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,k)}catch(L){return m.v.useDeprecatedSynchronousErrorHandling?(E.syncErrorValue=L,E.syncErrorThrown=!0,!0):((0,A.z)(L),!0)}return!1}_unsubscribe(){const{_parentSubscriber:E}=this;this._context=null,this._parentSubscriber=null,E.unsubscribe()}}},42654:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>A});var e=d(66688),f=d(57830),g=d(67043);const m=(()=>{function b(O){return Error.call(this),this.message=O?`${O.length} errors occurred during unsubscription:\n${O.map((E,h)=>`${h+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=O,this}return b.prototype=Object.create(Error.prototype),b})();class A{constructor(O){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,O&&(this._unsubscribe=O)}unsubscribe(){let O;if(this.closed)return;let{_parentOrParents:E,_unsubscribe:h,_subscriptions:k}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,E instanceof A)E.remove(this);else if(null!==E)for(let L=0;LO.concat(E instanceof m?E.errors:E),[])}A.EMPTY=((b=new A).closed=!0,b)},92830:(Ke,be,d)=>{"use strict";d.d(be,{v:()=>f});let e=!1;const f={Promise:void 0,set useDeprecatedSynchronousErrorHandling(g){if(g){const T=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+T.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=g},get useDeprecatedSynchronousErrorHandling(){return e}}},71762:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>m,N:()=>A});var e=d(8929),f=d(32916),g=d(42654),T=d(74327);class m extends f.y{constructor(h,k){super(),this.source=h,this.subjectFactory=k,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new g.w,h.add(this.source.subscribe(new s(this.getSubject(),this))),h.closed&&(this._connection=null,h=g.w.EMPTY)),h}refCount(){return(0,T.x)()(this)}}const A=(()=>{const E=m.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:E._subscribe},_isComplete:{value:E._isComplete,writable:!0},getSubject:{value:E.getSubject},connect:{value:E.connect},refCount:{value:E.refCount}}})();class s extends e.Yc{constructor(h,k){super(h),this.connectable=k}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const k=h._connection;h._refCount=0,h._subject=null,h._connection=null,k&&k.unsubscribe()}}}},36053:(Ke,be,d)=>{"use strict";d.d(be,{aj:()=>s});var e=d(72866),f=d(66688),g=d(826),T=d(69054),m=d(33009);const A={};function s(...E){let h=null,k=null;return(0,e.K)(E[E.length-1])&&(k=E.pop()),"function"==typeof E[E.length-1]&&(h=E.pop()),1===E.length&&(0,f.k)(E[0])&&(E=E[0]),(0,m.n)(E,k).lift(new b(h))}class b{constructor(h){this.resultSelector=h}call(h,k){return k.subscribe(new O(h,this.resultSelector))}}class O extends g.L{constructor(h,k){super(h),this.resultSelector=k,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(A),this.observables.push(h)}_complete(){const h=this.observables,k=h.length;if(0===k)this.destination.complete();else{this.active=k,this.toRespond=k;for(let L=0;L{"use strict";d.d(be,{z:()=>T});var e=d(21086),f=d(89146);function T(...m){return function g(){return(0,f.J)(1)}()((0,e.of)(...m))}},88514:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>T});var e=d(32916),f=d(5254),g=d(68896);function T(m){return new e.y(A=>{let s;try{s=m()}catch(O){return void A.error(O)}return(s?(0,f.D)(s):(0,g.c)()).subscribe(A)})}},68896:(Ke,be,d)=>{"use strict";d.d(be,{E:()=>f,c:()=>g});var e=d(32916);const f=new e.y(m=>m.complete());function g(m){return m?function T(m){return new e.y(A=>m.schedule(()=>A.complete()))}(m):f}},30567:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>A});var e=d(32916),f=d(66688),g=d(24850),T=d(57830),m=d(5254);function A(...b){if(1===b.length){const O=b[0];if((0,f.k)(O))return s(O,null);if((0,T.K)(O)&&Object.getPrototypeOf(O)===Object.prototype){const E=Object.keys(O);return s(E.map(h=>O[h]),E)}}if("function"==typeof b[b.length-1]){const O=b.pop();return s(b=1===b.length&&(0,f.k)(b[0])?b[0]:b,null).pipe((0,g.U)(E=>O(...E)))}return s(b,null)}function s(b,O){return new e.y(E=>{const h=b.length;if(0===h)return void E.complete();const k=new Array(h);let L=0,Y=0;for(let J=0;J{ce||(ce=!0,Y++),k[J]=Le},error:Le=>E.error(Le),complete:()=>{L++,(L===h||!ce)&&(Y===h&&E.next(O?O.reduce((Le,de,ke)=>(Le[de]=k[ke],Le),{}):k),E.complete())}}))}})}},5254:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>J});var e=d(32916),f=d(59249),g=d(42654),T=d(93821),s=d(66454),b=d(5430),h=d(98955),k=d(58515);function J(ue,ce){return ce?function Y(ue,ce){if(null!=ue){if(function E(ue){return ue&&"function"==typeof ue[T.L]}(ue))return function m(ue,ce){return new e.y(Le=>{const de=new g.w;return de.add(ce.schedule(()=>{const ke=ue[T.L]();de.add(ke.subscribe({next(ae){de.add(ce.schedule(()=>Le.next(ae)))},error(ae){de.add(ce.schedule(()=>Le.error(ae)))},complete(){de.add(ce.schedule(()=>Le.complete()))}}))})),de})}(ue,ce);if((0,h.t)(ue))return function A(ue,ce){return new e.y(Le=>{const de=new g.w;return de.add(ce.schedule(()=>ue.then(ke=>{de.add(ce.schedule(()=>{Le.next(ke),de.add(ce.schedule(()=>Le.complete()))}))},ke=>{de.add(ce.schedule(()=>Le.error(ke)))}))),de})}(ue,ce);if((0,k.z)(ue))return(0,s.r)(ue,ce);if(function L(ue){return ue&&"function"==typeof ue[b.hZ]}(ue)||"string"==typeof ue)return function O(ue,ce){if(!ue)throw new Error("Iterable cannot be null");return new e.y(Le=>{const de=new g.w;let ke;return de.add(()=>{ke&&"function"==typeof ke.return&&ke.return()}),de.add(ce.schedule(()=>{ke=ue[b.hZ](),de.add(ce.schedule(function(){if(Le.closed)return;let ae,V;try{const H=ke.next();ae=H.value,V=H.done}catch(H){return void Le.error(H)}V?Le.complete():(Le.next(ae),this.schedule())}))})),de})}(ue,ce)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,ce):ue instanceof e.y?ue:new e.y((0,f.s)(ue))}},33009:(Ke,be,d)=>{"use strict";d.d(be,{n:()=>T});var e=d(32916),f=d(13650),g=d(66454);function T(m,A){return A?(0,g.r)(m,A):new e.y((0,f.V)(m))}},23753:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>A});var e=d(32916),f=d(66688),g=d(67043),T=d(24850);function A(h,k,L,Y){return(0,g.m)(L)&&(Y=L,L=void 0),Y?A(h,k,L).pipe((0,T.U)(J=>(0,f.k)(J)?Y(...J):Y(J))):new e.y(J=>{s(h,k,function ue(ce){J.next(arguments.length>1?Array.prototype.slice.call(arguments):ce)},J,L)})}function s(h,k,L,Y,J){let ue;if(function E(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const ce=h;h.addEventListener(k,L,J),ue=()=>ce.removeEventListener(k,L,J)}else if(function O(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const ce=h;h.on(k,L),ue=()=>ce.off(k,L)}else if(function b(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const ce=h;h.addListener(k,L),ue=()=>ce.removeListener(k,L)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let ce=0,Le=h.length;ce{"use strict";d.d(be,{F:()=>T});var e=d(32916),f=d(20353),g=d(84241);function T(A=0,s=f.P){return(!(0,g.k)(A)||A<0)&&(A=0),(!s||"function"!=typeof s.schedule)&&(s=f.P),new e.y(b=>(b.add(s.schedule(m,A,{subscriber:b,counter:0,period:A})),b))}function m(A){const{subscriber:s,counter:b,period:O}=A;s.next(b),this.schedule({subscriber:s,counter:b+1,period:O},O)}},36787:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>m});var e=d(32916),f=d(72866),g=d(89146),T=d(33009);function m(...A){let s=Number.POSITIVE_INFINITY,b=null,O=A[A.length-1];return(0,f.K)(O)?(b=A.pop(),A.length>1&&"number"==typeof A[A.length-1]&&(s=A.pop())):"number"==typeof O&&(s=A.pop()),null===b&&1===A.length&&A[0]instanceof e.y?A[0]:(0,g.J)(s)((0,T.n)(A,b))}},21086:(Ke,be,d)=>{"use strict";d.d(be,{of:()=>T});var e=d(72866),f=d(33009),g=d(66454);function T(...m){let A=m[m.length-1];return(0,e.K)(A)?(m.pop(),(0,g.r)(m,A)):(0,f.n)(m)}},61946:(Ke,be,d)=>{"use strict";d.d(be,{S3:()=>m});var e=d(66688),f=d(33009),g=d(826),T=d(69054);function m(...b){if(1===b.length){if(!(0,e.k)(b[0]))return b[0];b=b[0]}return(0,f.n)(b,void 0).lift(new A)}class A{call(O,E){return E.subscribe(new s(O))}}class s extends g.L{constructor(O){super(O),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(O){this.observables.push(O)}_complete(){const O=this.observables,E=O.length;if(0===E)this.destination.complete();else{for(let h=0;h{"use strict";d.d(be,{_:()=>f});var e=d(32916);function f(T,m){return new e.y(m?A=>m.schedule(g,0,{error:T,subscriber:A}):A=>A.error(T))}function g({error:T,subscriber:m}){m.error(T)}},98723:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>m});var e=d(32916),f=d(20353),g=d(84241),T=d(72866);function m(s=0,b,O){let E=-1;return(0,g.k)(b)?E=Number(b)<1?1:Number(b):(0,T.K)(b)&&(O=b),(0,T.K)(O)||(O=f.P),new e.y(h=>{const k=(0,g.k)(s)?s:+s-O.now();return O.schedule(A,k,{index:0,period:E,subscriber:h})})}function A(s){const{index:b,period:O,subscriber:E}=s;if(E.next(b),!E.closed){if(-1===O)return E.complete();s.index=b+1,this.schedule(s,O)}}},57138:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>b});var e=d(20353),f=d(826),g=d(69054);class m{constructor(E){this.durationSelector=E}call(E,h){return h.subscribe(new A(E,this.durationSelector))}}class A extends f.L{constructor(E,h){super(E),this.durationSelector=h,this.hasValue=!1}_next(E){if(this.value=E,this.hasValue=!0,!this.throttled){let h;try{const{durationSelector:L}=this;h=L(E)}catch(L){return this.destination.error(L)}const k=(0,g.D)(this,h);!k||k.closed?this.clearThrottle():this.add(this.throttled=k)}}clearThrottle(){const{value:E,hasValue:h,throttled:k}=this;k&&(this.remove(k),this.throttled=null,k.unsubscribe()),h&&(this.value=null,this.hasValue=!1,this.destination.next(E))}notifyNext(E,h,k,L){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=d(98723);function b(O,E=e.P){return function T(O){return function(h){return h.lift(new m(O))}}(()=>(0,s.H)(O,E))}},27221:(Ke,be,d)=>{"use strict";d.d(be,{K:()=>T});var e=d(826),f=d(51869),g=d(69054);function T(s){return function(O){const E=new m(s),h=O.lift(E);return E.caught=h}}class m{constructor(b){this.selector=b}call(b,O){return O.subscribe(new A(b,this.selector,this.caught))}}class A extends e.L{constructor(b,O,E){super(b),this.selector=O,this.caught=E}error(b){if(!this.isStopped){let O;try{O=this.selector(b,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const E=new f.d(this,void 0,void 0);this.add(E);const h=(0,g.D)(this,O,void 0,void 0,E);h!==E&&this.add(h)}}}},21406:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>f});var e=d(61709);function f(g,T){return(0,e.zg)(g,T,1)}},80013:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>g});var e=d(43489),f=d(20353);function g(s,b=f.P){return O=>O.lift(new T(s,b))}class T{constructor(b,O){this.dueTime=b,this.scheduler=O}call(b,O){return O.subscribe(new m(b,this.dueTime,this.scheduler))}}class m extends e.L{constructor(b,O,E){super(b),this.dueTime=O,this.scheduler=E,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(A,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function A(s){s.debouncedNext()}},47314:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(43489);function f(m=null){return A=>A.lift(new g(m))}class g{constructor(A){this.defaultValue=A}call(A,s){return s.subscribe(new T(A,this.defaultValue))}}class T extends e.L{constructor(A,s){super(A),this.defaultValue=s,this.isEmpty=!0}_next(A){this.isEmpty=!1,this.destination.next(A)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},40943:(Ke,be,d)=>{"use strict";d.d(be,{g:()=>m});var e=d(20353),f=d(82697),g=d(43489),T=d(29312);function m(O,E=e.P){const k=(0,f.J)(O)?+O-E.now():Math.abs(O);return L=>L.lift(new A(k,E))}class A{constructor(E,h){this.delay=E,this.scheduler=h}call(E,h){return h.subscribe(new s(E,this.delay,this.scheduler))}}class s extends g.L{constructor(E,h,k){super(E),this.delay=h,this.scheduler=k,this.queue=[],this.active=!1,this.errored=!1}static dispatch(E){const h=E.source,k=h.queue,L=E.scheduler,Y=E.destination;for(;k.length>0&&k[0].time-L.now()<=0;)k.shift().notification.observe(Y);if(k.length>0){const J=Math.max(0,k[0].time-L.now());this.schedule(E,J)}else this.unsubscribe(),h.active=!1}_schedule(E){this.active=!0,this.destination.add(E.schedule(s.dispatch,this.delay,{source:this,destination:this.destination,scheduler:E}))}scheduleNotification(E){if(!0===this.errored)return;const h=this.scheduler,k=new b(h.now()+this.delay,E);this.queue.push(k),!1===this.active&&this._schedule(h)}_next(E){this.scheduleNotification(T.P.createNext(E))}_error(E){this.errored=!0,this.queue=[],this.destination.error(E),this.unsubscribe()}_complete(){this.scheduleNotification(T.P.createComplete()),this.unsubscribe()}}class b{constructor(E,h){this.time=E,this.notification=h}}},75778:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>f});var e=d(43489);function f(m,A){return s=>s.lift(new g(m,A))}class g{constructor(A,s){this.compare=A,this.keySelector=s}call(A,s){return s.subscribe(new T(A,this.compare,this.keySelector))}}class T extends e.L{constructor(A,s,b){super(A),this.keySelector=b,this.hasKey=!1,"function"==typeof s&&(this.compare=s)}compare(A,s){return A===s}_next(A){let s;try{const{keySelector:O}=this;s=O?O(A):A}catch(O){return this.destination.error(O)}let b=!1;if(this.hasKey)try{const{compare:O}=this;b=O(this.key,s)}catch(O){return this.destination.error(O)}else this.hasKey=!0;b||(this.key=s,this.destination.next(A))}}},92198:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>f});var e=d(43489);function f(m,A){return function(b){return b.lift(new g(m,A))}}class g{constructor(A,s){this.predicate=A,this.thisArg=s}call(A,s){return s.subscribe(new T(A,this.predicate,this.thisArg))}}class T extends e.L{constructor(A,s,b){super(A),this.predicate=s,this.thisArg=b,this.count=0}_next(A){let s;try{s=this.predicate.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}s&&this.destination.next(A)}}},40537:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>g});var e=d(43489),f=d(42654);function g(A){return s=>s.lift(new T(A))}class T{constructor(s){this.callback=s}call(s,b){return b.subscribe(new m(s,this.callback))}}class m extends e.L{constructor(s,b){super(s),this.add(new f.w(b))}}},87224:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>s});var e=d(84450),f=d(92198),g=d(72986),T=d(47314),m=d(34907),A=d(35379);function s(b,O){const E=arguments.length>=2;return h=>h.pipe(b?(0,f.h)((k,L)=>b(k,L,h)):A.y,(0,g.q)(1),E?(0,T.d)(O):(0,m.T)(()=>new e.K))}},24850:(Ke,be,d)=>{"use strict";d.d(be,{U:()=>f});var e=d(43489);function f(m,A){return function(b){if("function"!=typeof m)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new g(m,A))}}class g{constructor(A,s){this.project=A,this.thisArg=s}call(A,s){return s.subscribe(new T(A,this.project,this.thisArg))}}class T extends e.L{constructor(A,s,b){super(A),this.project=s,this.count=0,this.thisArg=b||this}_next(A){let s;try{s=this.project.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(s)}}},77604:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.value=A}call(A,s){return s.subscribe(new T(A,this.value))}}class T extends e.L{constructor(A,s){super(A),this.value=s}_next(A){this.destination.next(this.value)}}},89146:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>g});var e=d(61709),f=d(35379);function g(T=Number.POSITIVE_INFINITY){return(0,e.zg)(f.y,T)}},61709:(Ke,be,d)=>{"use strict";d.d(be,{zg:()=>A});var e=d(69054),f=d(826),g=d(51869),T=d(24850),m=d(5254);function A(O,E,h=Number.POSITIVE_INFINITY){return"function"==typeof E?k=>k.pipe(A((L,Y)=>(0,m.D)(O(L,Y)).pipe((0,T.U)((J,ue)=>E(L,J,Y,ue))),h)):("number"==typeof E&&(h=E),k=>k.lift(new s(O,h)))}class s{constructor(E,h=Number.POSITIVE_INFINITY){this.project=E,this.concurrent=h}call(E,h){return h.subscribe(new b(E,this.project,this.concurrent))}}class b extends f.L{constructor(E,h,k=Number.POSITIVE_INFINITY){super(E),this.project=h,this.concurrent=k,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(E){this.active0?this._next(h.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},74327:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>f});var e=d(43489);function f(){return function(A){return A.lift(new g(A))}}class g{constructor(A){this.connectable=A}call(A,s){const{connectable:b}=this;b._refCount++;const O=new T(A,b),E=s.subscribe(O);return O.closed||(O.connection=b.connect()),E}}class T extends e.L{constructor(A,s){super(A),this.connectable=s}_unsubscribe(){const{connectable:A}=this;if(!A)return void(this.connection=null);this.connectable=null;const s=A._refCount;if(s<=0)return void(this.connection=null);if(A._refCount=s-1,s>1)return void(this.connection=null);const{connection:b}=this,O=A._connection;this.connection=null,O&&(!b||O===b)&&O.unsubscribe()}}},12474:(Ke,be,d)=>{"use strict";d.d(be,{B:()=>s});var e=d(71762);class g{constructor(O,E){this.subjectFactory=O,this.selector=E}call(O,E){const{selector:h}=this,k=this.subjectFactory(),L=h(k).subscribe(O);return L.add(E.subscribe(k)),L}}var T=d(74327),m=d(8929);function A(){return new m.xQ}function s(){return b=>(0,T.x)()(function f(b,O){return function(h){let k;if(k="function"==typeof b?b:function(){return b},"function"==typeof O)return h.lift(new g(k,O));const L=Object.create(h,e.N);return L.source=h,L.subjectFactory=k,L}}(A)(b))}},5154:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(96831);function f(T,m,A){let s;return s=T&&"object"==typeof T?T:{bufferSize:T,windowTime:m,refCount:!1,scheduler:A},b=>b.lift(function g({bufferSize:T=Number.POSITIVE_INFINITY,windowTime:m=Number.POSITIVE_INFINITY,refCount:A,scheduler:s}){let b,E,O=0,h=!1,k=!1;return function(Y){O++,(!b||h)&&(h=!1,b=new e.t(T,m,s),E=Y.subscribe({next(ue){b.next(ue)},error(ue){h=!0,b.error(ue)},complete(){k=!0,E=void 0,b.complete()}}));const J=b.subscribe(this);this.add(()=>{O--,J.unsubscribe(),E&&!k&&A&&0===O&&(E.unsubscribe(),E=void 0,b=void 0)})}}(s))}},31307:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.total=A}call(A,s){return s.subscribe(new T(A,this.total))}}class T extends e.L{constructor(A,s){super(A),this.total=s,this.count=0}_next(A){++this.count>this.total&&this.destination.next(A)}}},1059:(Ke,be,d)=>{"use strict";d.d(be,{O:()=>g});var e=d(61221),f=d(72866);function g(...T){const m=T[T.length-1];return(0,f.K)(m)?(T.pop(),A=>(0,e.z)(T,A,m)):A=>(0,e.z)(T,A)}},87545:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>A});var e=d(826),f=d(51869),g=d(69054),T=d(24850),m=d(5254);function A(O,E){return"function"==typeof E?h=>h.pipe(A((k,L)=>(0,m.D)(O(k,L)).pipe((0,T.U)((Y,J)=>E(k,Y,L,J))))):h=>h.lift(new s(O))}class s{constructor(E){this.project=E}call(E,h){return h.subscribe(new b(E,this.project))}}class b extends e.L{constructor(E,h){super(E),this.project=h,this.index=0}_next(E){let h;const k=this.index++;try{h=this.project(E,k)}catch(L){return void this.destination.error(L)}this._innerSub(h,E,k)}_innerSub(E,h,k){const L=this.innerSubscription;L&&L.unsubscribe();const Y=new f.d(this,h,k),J=this.destination;J.add(Y),this.innerSubscription=(0,g.D)(this,E,void 0,void 0,Y),this.innerSubscription!==Y&&J.add(this.innerSubscription)}_complete(){const{innerSubscription:E}=this;(!E||E.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(E){this.destination.remove(E),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(E,h,k,L,Y){this.destination.next(h)}}},72986:(Ke,be,d)=>{"use strict";d.d(be,{q:()=>T});var e=d(43489),f=d(94231),g=d(68896);function T(s){return b=>0===s?(0,g.c)():b.lift(new m(s))}class m{constructor(b){if(this.total=b,this.total<0)throw new f.W}call(b,O){return O.subscribe(new A(b,this.total))}}class A extends e.L{constructor(b,O){super(b),this.total=O,this.count=0}_next(b){const O=this.total,E=++this.count;E<=O&&(this.destination.next(b),E===O&&(this.destination.complete(),this.unsubscribe()))}}},7625:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>g});var e=d(826),f=d(69054);function g(A){return s=>s.lift(new T(A))}class T{constructor(s){this.notifier=s}call(s,b){const O=new m(s),E=(0,f.D)(O,this.notifier);return E&&!O.seenValue?(O.add(E),b.subscribe(O)):O}}class m extends e.L{constructor(s){super(s),this.seenValue=!1}notifyNext(s,b,O,E,h){this.seenValue=!0,this.complete()}notifyComplete(){}}},22868:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>T});var e=d(43489);function f(){}var g=d(67043);function T(s,b,O){return function(h){return h.lift(new m(s,b,O))}}class m{constructor(b,O,E){this.nextOrObserver=b,this.error=O,this.complete=E}call(b,O){return O.subscribe(new A(b,this.nextOrObserver,this.error,this.complete))}}class A extends e.L{constructor(b,O,E,h){super(b),this._tapNext=f,this._tapError=f,this._tapComplete=f,this._tapError=E||f,this._tapComplete=h||f,(0,g.m)(O)?(this._context=this,this._tapNext=O):O&&(this._context=O,this._tapNext=O.next||f,this._tapError=O.error||f,this._tapComplete=O.complete||f)}_next(b){try{this._tapNext.call(this._context,b)}catch(O){return void this.destination.error(O)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(O){return void this.destination.error(O)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},34907:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>g});var e=d(84450),f=d(43489);function g(s=A){return b=>b.lift(new T(s))}class T{constructor(b){this.errorFactory=b}call(b,O){return O.subscribe(new m(b,this.errorFactory))}}class m extends f.L{constructor(b,O){super(b),this.errorFactory=O,this.hasValue=!1}_next(b){this.hasValue=!0,this.destination.next(b)}_complete(){if(this.hasValue)return this.destination.complete();{let b;try{b=this.errorFactory()}catch(O){b=O}this.destination.error(b)}}}function A(){return new e.K}},46227:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>h});var e=d(20353);const g=(()=>{function k(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return k.prototype=Object.create(Error.prototype),k})();var T=d(82697),m=d(826),A=d(69054);class b{constructor(L,Y,J,ue){this.waitFor=L,this.absoluteTimeout=Y,this.withObservable=J,this.scheduler=ue}call(L,Y){return Y.subscribe(new O(L,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class O extends m.L{constructor(L,Y,J,ue,ce){super(L),this.absoluteTimeout=Y,this.waitFor=J,this.withObservable=ue,this.scheduler=ce,this.action=null,this.scheduleTimeout()}static dispatchTimeout(L){const{withObservable:Y}=L;L._unsubscribeAndRecycle(),L.add((0,A.D)(L,Y))}scheduleTimeout(){const{action:L}=this;L?this.action=L.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(O.dispatchTimeout,this.waitFor,this))}_next(L){this.absoluteTimeout||this.scheduleTimeout(),super._next(L)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var E=d(61737);function h(k,L=e.P){return function s(k,L,Y=e.P){return J=>{let ue=(0,T.J)(k),ce=ue?+k-Y.now():Math.abs(k);return J.lift(new b(ce,ue,L,Y))}}(k,(0,E._)(new g),L)}},66454:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>g});var e=d(32916),f=d(42654);function g(T,m){return new e.y(A=>{const s=new f.w;let b=0;return s.add(m.schedule(function(){b!==T.length?(A.next(T[b++]),A.closed||s.add(this.schedule())):A.complete()})),s})}},56686:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>g});var e=d(42654);class f extends e.w{constructor(m,A){super()}schedule(m,A=0){return this}}class g extends f{constructor(m,A){super(m,A),this.scheduler=m,this.work=A,this.pending=!1}schedule(m,A=0){if(this.closed)return this;this.state=m;const s=this.id,b=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(b,s,A)),this.pending=!0,this.delay=A,this.id=this.id||this.requestAsyncId(b,this.id,A),this}requestAsyncId(m,A,s=0){return setInterval(m.flush.bind(m,this),s)}recycleAsyncId(m,A,s=0){if(null!==s&&this.delay===s&&!1===this.pending)return A;clearInterval(A)}execute(m,A){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(m,A);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,A){let b,s=!1;try{this.work(m)}catch(O){s=!0,b=!!O&&O||new Error(O)}if(s)return this.unsubscribe(),b}_unsubscribe(){const m=this.id,A=this.scheduler,s=A.actions,b=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&s.splice(b,1),null!=m&&(this.id=this.recycleAsyncId(A,m,null)),this.delay=null}}},32268:(Ke,be,d)=>{"use strict";d.d(be,{v:()=>f});let e=(()=>{class g{constructor(m,A=g.now){this.SchedulerAction=m,this.now=A}schedule(m,A=0,s){return new this.SchedulerAction(this,m).schedule(s,A)}}return g.now=()=>Date.now(),g})();class f extends e{constructor(T,m=e.now){super(T,()=>f.delegate&&f.delegate!==this?f.delegate.now():m()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(T,m=0,A){return f.delegate&&f.delegate!==this?f.delegate.schedule(T,m,A):super.schedule(T,m,A)}flush(T){const{actions:m}=this;if(this.active)return void m.push(T);let A;this.active=!0;do{if(A=T.execute(T.state,T.delay))break}while(T=m.shift());if(this.active=!1,A){for(;T=m.shift();)T.unsubscribe();throw A}}}},90352:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>m});var e=d(56686),g=d(32268);const m=new class T extends g.v{flush(s){this.active=!0,this.scheduled=void 0;const{actions:b}=this;let O,E=-1,h=b.length;s=s||b.shift();do{if(O=s.execute(s.state,s.delay))break}while(++E0?super.requestAsyncId(s,b,O):(s.actions.push(this),s.scheduled||(s.scheduled=requestAnimationFrame(()=>s.flush(null))))}recycleAsyncId(s,b,O=0){if(null!==O&&O>0||null===O&&this.delay>0)return super.recycleAsyncId(s,b,O);0===s.actions.length&&(cancelAnimationFrame(b),s.scheduled=void 0)}})},8139:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>h});let e=1;const f=Promise.resolve(),g={};function T(k){return k in g&&(delete g[k],!0)}const m={setImmediate(k){const L=e++;return g[L]=!0,f.then(()=>T(L)&&k()),L},clearImmediate(k){T(k)}};var s=d(56686),O=d(32268);const h=new class E extends O.v{flush(L){this.active=!0,this.scheduled=void 0;const{actions:Y}=this;let J,ue=-1,ce=Y.length;L=L||Y.shift();do{if(J=L.execute(L.state,L.delay))break}while(++ue0?super.requestAsyncId(L,Y,J):(L.actions.push(this),L.scheduled||(L.scheduled=m.setImmediate(L.flush.bind(L,null))))}recycleAsyncId(L,Y,J=0){if(null!==J&&J>0||null===J&&this.delay>0)return super.recycleAsyncId(L,Y,J);0===L.actions.length&&(m.clearImmediate(Y),L.scheduled=void 0)}})},20353:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>g});var e=d(56686);const g=new(d(32268).v)(e.o)},5430:(Ke,be,d)=>{"use strict";d.d(be,{hZ:()=>f});const f=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>e});const e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})()},84450:(Ke,be,d)=>{"use strict";d.d(be,{K:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})()},95279:(Ke,be,d)=>{"use strict";d.d(be,{N:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return g.prototype=Object.create(Error.prototype),g})()},22782:(Ke,be,d)=>{"use strict";function e(f){setTimeout(()=>{throw f},0)}d.d(be,{z:()=>e})},35379:(Ke,be,d)=>{"use strict";function e(f){return f}d.d(be,{y:()=>e})},66688:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>e});const e=Array.isArray||(f=>f&&"number"==typeof f.length)},58515:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>e});const e=f=>f&&"number"==typeof f.length&&"function"!=typeof f},82697:(Ke,be,d)=>{"use strict";function e(f){return f instanceof Date&&!isNaN(+f)}d.d(be,{J:()=>e})},67043:(Ke,be,d)=>{"use strict";function e(f){return"function"==typeof f}d.d(be,{m:()=>e})},84241:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>f});var e=d(66688);function f(g){return!(0,e.k)(g)&&g-parseFloat(g)+1>=0}},57830:(Ke,be,d)=>{"use strict";function e(f){return null!==f&&"object"==typeof f}d.d(be,{K:()=>e})},54715:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>f});var e=d(32916);function f(g){return!!g&&(g instanceof e.y||"function"==typeof g.lift&&"function"==typeof g.subscribe)}},98955:(Ke,be,d)=>{"use strict";function e(f){return!!f&&"function"!=typeof f.subscribe&&"function"==typeof f.then}d.d(be,{t:()=>e})},72866:(Ke,be,d)=>{"use strict";function e(f){return f&&"function"==typeof f.schedule}d.d(be,{K:()=>e})},59249:(Ke,be,d)=>{"use strict";d.d(be,{s:()=>h});var e=d(13650),f=d(22782),T=d(5430),A=d(93821),b=d(58515),O=d(98955),E=d(57830);const h=k=>{if(k&&"function"==typeof k[A.L])return(k=>L=>{const Y=k[A.L]();if("function"!=typeof Y.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Y.subscribe(L)})(k);if((0,b.z)(k))return(0,e.V)(k);if((0,O.t)(k))return(k=>L=>(k.then(Y=>{L.closed||(L.next(Y),L.complete())},Y=>L.error(Y)).then(null,f.z),L))(k);if(k&&"function"==typeof k[T.hZ])return(k=>L=>{const Y=k[T.hZ]();for(;;){const J=Y.next();if(J.done){L.complete();break}if(L.next(J.value),L.closed)break}return"function"==typeof Y.return&&L.add(()=>{Y.return&&Y.return()}),L})(k);{const Y=`You provided ${(0,E.K)(k)?"an invalid object":`'${k}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Y)}}},13650:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>e});const e=f=>g=>{for(let T=0,m=f.length;T{"use strict";d.d(be,{D:()=>T});var e=d(51869),f=d(59249),g=d(32916);function T(m,A,s,b,O=new e.d(m,s,b)){if(!O.closed)return A instanceof g.y?A.subscribe(O):(0,f.s)(A)(O)}},70655:(Ke,be,d)=>{"use strict";function m(ge,Ne,Fe,se){var me,Me=arguments.length,ve=Me<3?Ne:null===se?se=Object.getOwnPropertyDescriptor(Ne,Fe):se;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ve=Reflect.decorate(ge,Ne,Fe,se);else for(var Te=ge.length-1;Te>=0;Te--)(me=ge[Te])&&(ve=(Me<3?me(ve):Me>3?me(Ne,Fe,ve):me(Ne,Fe))||ve);return Me>3&&ve&&Object.defineProperty(Ne,Fe,ve),ve}function b(ge,Ne,Fe,se){return new(Fe||(Fe=Promise))(function(ve,me){function Te(Oe){try{R(se.next(Oe))}catch(Ie){me(Ie)}}function te(Oe){try{R(se.throw(Oe))}catch(Ie){me(Ie)}}function R(Oe){Oe.done?ve(Oe.value):function Me(ve){return ve instanceof Fe?ve:new Fe(function(me){me(ve)})}(Oe.value).then(Te,te)}R((se=se.apply(ge,Ne||[])).next())})}d.d(be,{gn:()=>m,mG:()=>b})},41777:(Ke,be,d)=>{"use strict";d.d(be,{l3:()=>g,_j:()=>e,LC:()=>f,ZN:()=>Le,jt:()=>m,pV:()=>L,ru:()=>A,F4:()=>E,IO:()=>J,vP:()=>s,SB:()=>O,oB:()=>b,eR:()=>h,X$:()=>T,ZE:()=>de,k1:()=>ke});class e{}class f{}const g="*";function T(ae,V){return{type:7,name:ae,definitions:V,options:{}}}function m(ae,V=null){return{type:4,styles:V,timings:ae}}function A(ae,V=null){return{type:3,steps:ae,options:V}}function s(ae,V=null){return{type:2,steps:ae,options:V}}function b(ae){return{type:6,styles:ae,offset:null}}function O(ae,V,H){return{type:0,name:ae,styles:V,options:H}}function E(ae){return{type:5,steps:ae}}function h(ae,V,H=null){return{type:1,expr:ae,animation:V,options:H}}function L(ae=null){return{type:9,options:ae}}function J(ae,V,H=null){return{type:11,selector:ae,animation:V,options:H}}function ce(ae){Promise.resolve(null).then(ae)}class Le{constructor(V=0,H=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=V+H}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._onStartFns.push(V)}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const H="start"==V?this._onStartFns:this._onDoneFns;H.forEach(X=>X()),H.length=0}}class de{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let H=0,X=0,ie=0;const oe=this.players.length;0==oe?ce(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++H==oe&&this._onFinish()}),ge.onDestroy(()=>{++X==oe&&this._onDestroy()}),ge.onStart(()=>{++ie==oe&&this._onStart()})}),this.totalTime=this.players.reduce((ge,Ne)=>Math.max(ge,Ne.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const H=V*this.totalTime;this.players.forEach(X=>{const ie=X.totalTime?Math.min(1,H/X.totalTime):1;X.setPosition(ie)})}getPosition(){const V=this.players.reduce((H,X)=>null===H||X.totalTime>H.totalTime?X:H,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const H="start"==V?this._onStartFns:this._onDoneFns;H.forEach(X=>X()),H.length=0}}const ke="!"},15664:(Ke,be,d)=>{"use strict";d.d(be,{rt:()=>It,s1:()=>Me,$s:()=>ge,Qr:()=>zt,kH:()=>Ht,mK:()=>S,Em:()=>ve,tE:()=>At,qV:()=>D,qm:()=>pt,ic:()=>Te,Kd:()=>Mt,X6:()=>o,yG:()=>t});var e=d(69808),f=d(5e3),g=d(70925),T=d(8929),m=d(42654),A=d(591),s=d(21086),b=d(91159),O=d(22868),E=d(80013),h=d(92198),k=d(24850),L=d(72986),Y=d(31307),J=d(75778),ue=d(7625),ce=d(63191),Le=d(17144);function V(We,qe){return(We.getAttribute(qe)||"").match(/\S+/g)||[]}const X="cdk-describedby-message",ie="cdk-describedby-host";let oe=0,ge=(()=>{class We{constructor(re,Z){this._platform=Z,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+oe++,this._document=re}describe(re,Z,G){if(!this._canBeDescribed(re,Z))return;const ee=Ne(Z,G);"string"!=typeof Z?(Fe(Z),this._messageRegistry.set(ee,{messageElement:Z,referenceCount:0})):this._messageRegistry.has(ee)||this._createMessageElement(Z,G),this._isElementDescribedByMessage(re,ee)||this._addMessageReference(re,ee)}removeDescription(re,Z,G){var ee;if(!Z||!this._isElementNode(re))return;const _e=Ne(Z,G);if(this._isElementDescribedByMessage(re,_e)&&this._removeMessageReference(re,_e),"string"==typeof Z){const Ue=this._messageRegistry.get(_e);Ue&&0===Ue.referenceCount&&this._deleteMessageElement(_e)}0===(null===(ee=this._messagesContainer)||void 0===ee?void 0:ee.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var re;const Z=this._document.querySelectorAll(`[${ie}="${this._id}"]`);for(let G=0;G0!=G.indexOf(X));re.setAttribute("aria-describedby",Z.join(" "))}_addMessageReference(re,Z){const G=this._messageRegistry.get(Z);(function ke(We,qe,re){const Z=V(We,qe);Z.some(G=>G.trim()==re.trim())||(Z.push(re.trim()),We.setAttribute(qe,Z.join(" ")))})(re,"aria-describedby",G.messageElement.id),re.setAttribute(ie,this._id),G.referenceCount++}_removeMessageReference(re,Z){const G=this._messageRegistry.get(Z);G.referenceCount--,function ae(We,qe,re){const G=V(We,qe).filter(ee=>ee!=re.trim());G.length?We.setAttribute(qe,G.join(" ")):We.removeAttribute(qe)}(re,"aria-describedby",G.messageElement.id),re.removeAttribute(ie)}_isElementDescribedByMessage(re,Z){const G=V(re,"aria-describedby"),ee=this._messageRegistry.get(Z),_e=ee&&ee.messageElement.id;return!!_e&&-1!=G.indexOf(_e)}_canBeDescribed(re,Z){if(!this._isElementNode(re))return!1;if(Z&&"object"==typeof Z)return!0;const G=null==Z?"":`${Z}`.trim(),ee=re.getAttribute("aria-label");return!(!G||ee&&ee.trim()===G)}_isElementNode(re){return re.nodeType===this._document.ELEMENT_NODE}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(e.K0),f.LFG(g.t4))},We.\u0275prov=f.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();function Ne(We,qe){return"string"==typeof We?`${qe||""}/${We}`:We}function Fe(We){We.id||(We.id=`${X}-${oe++}`)}class se{constructor(qe){this._items=qe,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.xQ,this._typeaheadSubscription=m.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=re=>re.disabled,this._pressedLetters=[],this.tabOut=new T.xQ,this.change=new T.xQ,qe instanceof f.n_E&&qe.changes.subscribe(re=>{if(this._activeItem){const G=re.toArray().indexOf(this._activeItem);G>-1&&G!==this._activeItemIndex&&(this._activeItemIndex=G)}})}skipPredicate(qe){return this._skipPredicateFn=qe,this}withWrap(qe=!0){return this._wrap=qe,this}withVerticalOrientation(qe=!0){return this._vertical=qe,this}withHorizontalOrientation(qe){return this._horizontal=qe,this}withAllowedModifierKeys(qe){return this._allowedModifierKeys=qe,this}withTypeAhead(qe=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,O.b)(re=>this._pressedLetters.push(re)),(0,E.b)(qe),(0,h.h)(()=>this._pressedLetters.length>0),(0,k.U)(()=>this._pressedLetters.join(""))).subscribe(re=>{const Z=this._getItemsArray();for(let G=1;G!qe[ee]||this._allowedModifierKeys.indexOf(ee)>-1);switch(re){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&G){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&G){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&G){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&G){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&G){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&G){this.setLastItemActive();break}return;default:return void((G||(0,b.Vb)(qe,"shiftKey"))&&(qe.key&&1===qe.key.length?this._letterKeyStream.next(qe.key.toLocaleUpperCase()):(re>=b.A&&re<=b.Z||re>=b.xE&&re<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(re))))}this._pressedLetters=[],qe.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(qe){const re=this._getItemsArray(),Z="number"==typeof qe?qe:re.indexOf(qe),G=re[Z];this._activeItem=null==G?null:G,this._activeItemIndex=Z}_setActiveItemByDelta(qe){this._wrap?this._setActiveInWrapMode(qe):this._setActiveInDefaultMode(qe)}_setActiveInWrapMode(qe){const re=this._getItemsArray();for(let Z=1;Z<=re.length;Z++){const G=(this._activeItemIndex+qe*Z+re.length)%re.length;if(!this._skipPredicateFn(re[G]))return void this.setActiveItem(G)}}_setActiveInDefaultMode(qe){this._setActiveItemByIndex(this._activeItemIndex+qe,qe)}_setActiveItemByIndex(qe,re){const Z=this._getItemsArray();if(Z[qe]){for(;this._skipPredicateFn(Z[qe]);)if(!Z[qe+=re])return;this.setActiveItem(qe)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class Me extends se{setActiveItem(qe){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(qe),this.activeItem&&this.activeItem.setActiveStyles()}}class ve extends se{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(qe){return this._origin=qe,this}setActiveItem(qe){super.setActiveItem(qe),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class We{constructor(re){this._platform=re}isDisabled(re){return re.hasAttribute("disabled")}isVisible(re){return function R(We){return!!(We.offsetWidth||We.offsetHeight||"function"==typeof We.getClientRects&&We.getClientRects().length)}(re)&&"visible"===getComputedStyle(re).visibility}isTabbable(re){if(!this._platform.isBrowser)return!1;const Z=function te(We){try{return We.frameElement}catch(qe){return null}}(function N(We){return We.ownerDocument&&We.ownerDocument.defaultView||window}(re));if(Z&&(-1===Xe(Z)||!this.isVisible(Z)))return!1;let G=re.nodeName.toLowerCase(),ee=Xe(re);return re.hasAttribute("contenteditable")?-1!==ee:!("iframe"===G||"object"===G||this._platform.WEBKIT&&this._platform.IOS&&!function tt(We){let qe=We.nodeName.toLowerCase(),re="input"===qe&&We.type;return"text"===re||"password"===re||"select"===qe||"textarea"===qe}(re))&&("audio"===G?!!re.hasAttribute("controls")&&-1!==ee:"video"===G?-1!==ee&&(null!==ee||this._platform.FIREFOX||re.hasAttribute("controls")):re.tabIndex>=0)}isFocusable(re,Z){return function at(We){return!function Ie(We){return function fe(We){return"input"==We.nodeName.toLowerCase()}(We)&&"hidden"==We.type}(We)&&(function Oe(We){let qe=We.nodeName.toLowerCase();return"input"===qe||"select"===qe||"button"===qe||"textarea"===qe}(We)||function He(We){return function Ce(We){return"a"==We.nodeName.toLowerCase()}(We)&&We.hasAttribute("href")}(We)||We.hasAttribute("contenteditable")||Ye(We))}(re)&&!this.isDisabled(re)&&((null==Z?void 0:Z.ignoreVisibility)||this.isVisible(re))}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(g.t4))},We.\u0275prov=f.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();function Ye(We){if(!We.hasAttribute("tabindex")||void 0===We.tabIndex)return!1;let qe=We.getAttribute("tabindex");return!(!qe||isNaN(parseInt(qe,10)))}function Xe(We){if(!Ye(We))return null;const qe=parseInt(We.getAttribute("tabindex")||"",10);return isNaN(qe)?-1:qe}class he{constructor(qe,re,Z,G,ee=!1){this._element=qe,this._checker=re,this._ngZone=Z,this._document=G,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ee||this.attachAnchors()}get enabled(){return this._enabled}set enabled(qe){this._enabled=qe,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(qe,this._startAnchor),this._toggleAnchorTabIndex(qe,this._endAnchor))}destroy(){const qe=this._startAnchor,re=this._endAnchor;qe&&(qe.removeEventListener("focus",this.startAnchorListener),qe.remove()),re&&(re.removeEventListener("focus",this.endAnchorListener),re.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(qe){return new Promise(re=>{this._executeOnStable(()=>re(this.focusInitialElement(qe)))})}focusFirstTabbableElementWhenReady(qe){return new Promise(re=>{this._executeOnStable(()=>re(this.focusFirstTabbableElement(qe)))})}focusLastTabbableElementWhenReady(qe){return new Promise(re=>{this._executeOnStable(()=>re(this.focusLastTabbableElement(qe)))})}_getRegionBoundary(qe){const re=this._element.querySelectorAll(`[cdk-focus-region-${qe}], [cdkFocusRegion${qe}], [cdk-focus-${qe}]`);return"start"==qe?re.length?re[0]:this._getFirstTabbableElement(this._element):re.length?re[re.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(qe){const re=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(re){if(!this._checker.isFocusable(re)){const Z=this._getFirstTabbableElement(re);return null==Z||Z.focus(qe),!!Z}return re.focus(qe),!0}return this.focusFirstTabbableElement(qe)}focusFirstTabbableElement(qe){const re=this._getRegionBoundary("start");return re&&re.focus(qe),!!re}focusLastTabbableElement(qe){const re=this._getRegionBoundary("end");return re&&re.focus(qe),!!re}hasAttached(){return this._hasAttached}_getFirstTabbableElement(qe){if(this._checker.isFocusable(qe)&&this._checker.isTabbable(qe))return qe;const re=qe.children;for(let Z=0;Z=0;Z--){const G=re[Z].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(re[Z]):null;if(G)return G}return null}_createAnchor(){const qe=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,qe),qe.classList.add("cdk-visually-hidden"),qe.classList.add("cdk-focus-trap-anchor"),qe.setAttribute("aria-hidden","true"),qe}_toggleAnchorTabIndex(qe,re){qe?re.setAttribute("tabindex","0"):re.removeAttribute("tabindex")}toggleAnchors(qe){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(qe,this._startAnchor),this._toggleAnchorTabIndex(qe,this._endAnchor))}_executeOnStable(qe){this._ngZone.isStable?qe():this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(qe)}}let D=(()=>{class We{constructor(re,Z,G){this._checker=re,this._ngZone=Z,this._document=G}create(re,Z=!1){return new he(re,this._checker,this._ngZone,this._document,Z)}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(Te),f.LFG(f.R0b),f.LFG(e.K0))},We.\u0275prov=f.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),S=(()=>{class We{constructor(re,Z,G){this._elementRef=re,this._focusTrapFactory=Z,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(re){this.focusTrap.enabled=(0,ce.Ig)(re)}get autoCapture(){return this._autoCapture}set autoCapture(re){this._autoCapture=(0,ce.Ig)(re)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(re){const Z=re.autoCapture;Z&&!Z.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return We.\u0275fac=function(re){return new(re||We)(f.Y36(f.SBq),f.Y36(D),f.Y36(e.K0))},We.\u0275dir=f.lG2({type:We,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),We})();function o(We){return 0===We.buttons||0===We.offsetX&&0===We.offsetY}function t(We){const qe=We.touches&&We.touches[0]||We.changedTouches&&We.changedTouches[0];return!(!qe||-1!==qe.identifier||null!=qe.radiusX&&1!==qe.radiusX||null!=qe.radiusY&&1!==qe.radiusY)}const n=new f.OlP("cdk-input-modality-detector-options"),c={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},y=(0,g.i$)({passive:!0,capture:!0});let M=(()=>{class We{constructor(re,Z,G,ee){this._platform=re,this._mostRecentTarget=null,this._modality=new A.X(null),this._lastTouchMs=0,this._onKeydown=_e=>{var Ue,Et;(null===(Et=null===(Ue=this._options)||void 0===Ue?void 0:Ue.ignoreKeys)||void 0===Et?void 0:Et.some(Bt=>Bt===_e.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(_e))},this._onMousedown=_e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(o(_e)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(_e))},this._onTouchstart=_e=>{t(_e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(_e))},this._options=Object.assign(Object.assign({},c),ee),this.modalityDetected=this._modality.pipe((0,Y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,J.x)()),re.isBrowser&&Z.runOutsideAngular(()=>{G.addEventListener("keydown",this._onKeydown,y),G.addEventListener("mousedown",this._onMousedown,y),G.addEventListener("touchstart",this._onTouchstart,y)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,y),document.removeEventListener("mousedown",this._onMousedown,y),document.removeEventListener("touchstart",this._onTouchstart,y))}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(g.t4),f.LFG(f.R0b),f.LFG(e.K0),f.LFG(n,8))},We.\u0275prov=f.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const j=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Ve(){return null}}),nt=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Mt=(()=>{class We{constructor(re,Z,G,ee){this._ngZone=Z,this._defaultOptions=ee,this._document=G,this._liveElement=re||this._createLiveElement()}announce(re,...Z){const G=this._defaultOptions;let ee,_e;return 1===Z.length&&"number"==typeof Z[0]?_e=Z[0]:[ee,_e]=Z,this.clear(),clearTimeout(this._previousTimeout),ee||(ee=G&&G.politeness?G.politeness:"polite"),null==_e&&G&&(_e=G.duration),this._liveElement.setAttribute("aria-live",ee),this._ngZone.runOutsideAngular(()=>new Promise(Ue=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=re,Ue(),"number"==typeof _e&&(this._previousTimeout=setTimeout(()=>this.clear(),_e))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var re;clearTimeout(this._previousTimeout),null===(re=this._liveElement)||void 0===re||re.remove(),this._liveElement=null}_createLiveElement(){const re="cdk-live-announcer-element",Z=this._document.getElementsByClassName(re),G=this._document.createElement("div");for(let ee=0;ee{class We{constructor(re,Z,G,ee){this._elementRef=re,this._liveAnnouncer=Z,this._contentObserver=G,this._ngZone=ee,this._politeness="polite"}get politeness(){return this._politeness}set politeness(re){this._politeness="off"===re||"assertive"===re?re:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const Z=this._elementRef.nativeElement.textContent;Z!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(Z,this._politeness),this._previousAnnouncedText=Z)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return We.\u0275fac=function(re){return new(re||We)(f.Y36(f.SBq),f.Y36(Mt),f.Y36(Le.yq),f.Y36(f.R0b))},We.\u0275dir=f.lG2({type:We,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),We})();const Vt=new f.OlP("cdk-focus-monitor-default-options"),Wt=(0,g.i$)({passive:!0,capture:!0});let At=(()=>{class We{constructor(re,Z,G,ee,_e){this._ngZone=re,this._platform=Z,this._inputModalityDetector=G,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 T.xQ,this._rootNodeFocusAndBlurListener=Ue=>{const Et=(0,g.sA)(Ue),Bt="focus"===Ue.type?this._onFocus:this._onBlur;for(let jt=Et;jt;jt=jt.parentElement)Bt.call(this,Ue,jt)},this._document=ee,this._detectionMode=(null==_e?void 0:_e.detectionMode)||0}monitor(re,Z=!1){const G=(0,ce.fI)(re);if(!this._platform.isBrowser||1!==G.nodeType)return(0,s.of)(null);const ee=(0,g.kV)(G)||this._getDocument(),_e=this._elementInfo.get(G);if(_e)return Z&&(_e.checkChildren=!0),_e.subject;const Ue={checkChildren:Z,subject:new T.xQ,rootNode:ee};return this._elementInfo.set(G,Ue),this._registerGlobalListeners(Ue),Ue.subject}stopMonitoring(re){const Z=(0,ce.fI)(re),G=this._elementInfo.get(Z);G&&(G.subject.complete(),this._setClasses(Z),this._elementInfo.delete(Z),this._removeGlobalListeners(G))}focusVia(re,Z,G){const ee=(0,ce.fI)(re);ee===this._getDocument().activeElement?this._getClosestElementsInfo(ee).forEach(([Ue,Et])=>this._originChanged(Ue,Z,Et)):(this._setOrigin(Z),"function"==typeof ee.focus&&ee.focus(G))}ngOnDestroy(){this._elementInfo.forEach((re,Z)=>this.stopMonitoring(Z))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(re){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(re)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(re){return 1===this._detectionMode||!!(null==re?void 0:re.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(re,Z){re.classList.toggle("cdk-focused",!!Z),re.classList.toggle("cdk-touch-focused","touch"===Z),re.classList.toggle("cdk-keyboard-focused","keyboard"===Z),re.classList.toggle("cdk-mouse-focused","mouse"===Z),re.classList.toggle("cdk-program-focused","program"===Z)}_setOrigin(re,Z=!1){this._ngZone.runOutsideAngular(()=>{this._origin=re,this._originFromTouchInteraction="touch"===re&&Z,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(re,Z){const G=this._elementInfo.get(Z),ee=(0,g.sA)(re);!G||!G.checkChildren&&Z!==ee||this._originChanged(Z,this._getFocusOrigin(ee),G)}_onBlur(re,Z){const G=this._elementInfo.get(Z);!G||G.checkChildren&&re.relatedTarget instanceof Node&&Z.contains(re.relatedTarget)||(this._setClasses(Z),this._emitOrigin(G.subject,null))}_emitOrigin(re,Z){this._ngZone.run(()=>re.next(Z))}_registerGlobalListeners(re){if(!this._platform.isBrowser)return;const Z=re.rootNode,G=this._rootNodeFocusListenerCount.get(Z)||0;G||this._ngZone.runOutsideAngular(()=>{Z.addEventListener("focus",this._rootNodeFocusAndBlurListener,Wt),Z.addEventListener("blur",this._rootNodeFocusAndBlurListener,Wt)}),this._rootNodeFocusListenerCount.set(Z,G+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ue.R)(this._stopInputModalityDetector)).subscribe(ee=>{this._setOrigin(ee,!0)}))}_removeGlobalListeners(re){const Z=re.rootNode;if(this._rootNodeFocusListenerCount.has(Z)){const G=this._rootNodeFocusListenerCount.get(Z);G>1?this._rootNodeFocusListenerCount.set(Z,G-1):(Z.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Wt),Z.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Wt),this._rootNodeFocusListenerCount.delete(Z))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(re,Z,G){this._setClasses(re,Z),this._emitOrigin(G.subject,Z),this._lastFocusOrigin=Z}_getClosestElementsInfo(re){const Z=[];return this._elementInfo.forEach((G,ee)=>{(ee===re||G.checkChildren&&ee.contains(re))&&Z.push([ee,G])}),Z}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(f.R0b),f.LFG(g.t4),f.LFG(M),f.LFG(e.K0,8),f.LFG(Vt,8))},We.\u0275prov=f.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),Ht=(()=>{class We{constructor(re,Z){this._elementRef=re,this._focusMonitor=Z,this.cdkFocusChange=new f.vpe}ngAfterViewInit(){const re=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(re,1===re.nodeType&&re.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Z=>this.cdkFocusChange.emit(Z))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return We.\u0275fac=function(re){return new(re||We)(f.Y36(f.SBq),f.Y36(At))},We.\u0275dir=f.lG2({type:We,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),We})();const bt="cdk-high-contrast-black-on-white",et="cdk-high-contrast-white-on-black",kt="cdk-high-contrast-active";let pt=(()=>{class We{constructor(re,Z){this._platform=re,this._document=Z}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const re=this._document.createElement("div");re.style.backgroundColor="rgb(1,2,3)",re.style.position="absolute",this._document.body.appendChild(re);const Z=this._document.defaultView||window,G=Z&&Z.getComputedStyle?Z.getComputedStyle(re):null,ee=(G&&G.backgroundColor||"").replace(/ /g,"");switch(re.remove(),ee){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const re=this._document.body.classList;re.remove(kt),re.remove(bt),re.remove(et),this._hasCheckedHighContrastMode=!0;const Z=this.getHighContrastMode();1===Z?(re.add(kt),re.add(bt)):2===Z&&(re.add(kt),re.add(et))}}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(g.t4),f.LFG(e.K0))},We.\u0275prov=f.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),It=(()=>{class We{constructor(re){re._applyBodyHighContrastModeCssClasses()}}return We.\u0275fac=function(re){return new(re||We)(f.LFG(pt))},We.\u0275mod=f.oAB({type:We}),We.\u0275inj=f.cJS({imports:[[g.ud,Le.Q8]]}),We})()},50226:(Ke,be,d)=>{"use strict";d.d(be,{vT:()=>O,Is:()=>s});var e=d(5e3),f=d(69808);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,e.f3M)(f.K0)}}),m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class E{constructor(k){if(this.value="ltr",this.change=new e.vpe,k){const Y=k.documentElement?k.documentElement.dir:null;this.value=function A(E){const h=(null==E?void 0:E.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?m.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((k.body?k.body.dir:null)||Y||"ltr")}}ngOnDestroy(){this.change.complete()}}return E.\u0275fac=function(k){return new(k||E)(e.LFG(g,8))},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),O=(()=>{class E{}return E.\u0275fac=function(k){return new(k||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({}),E})()},69287:(Ke,be,d)=>{"use strict";d.d(be,{i3:()=>A,TU:()=>T,Iq:()=>s});var e=d(69808),f=d(5e3);class g{constructor(O,E){this._document=E;const h=this._textarea=this._document.createElement("textarea"),k=h.style;k.position="fixed",k.top=k.opacity="0",k.left="-999em",h.setAttribute("aria-hidden","true"),h.value=O,this._document.body.appendChild(h)}copy(){const O=this._textarea;let E=!1;try{if(O){const h=this._document.activeElement;O.select(),O.setSelectionRange(0,O.value.length),E=this._document.execCommand("copy"),h&&h.focus()}}catch(h){}return E}destroy(){const O=this._textarea;O&&(O.remove(),this._textarea=void 0)}}let T=(()=>{class b{constructor(E){this._document=E}copy(E){const h=this.beginCopy(E),k=h.copy();return h.destroy(),k}beginCopy(E){return new g(E,this._document)}}return b.\u0275fac=function(E){return new(E||b)(f.LFG(e.K0))},b.\u0275prov=f.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();const m=new f.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let A=(()=>{class b{constructor(E,h,k){this._clipboard=E,this._ngZone=h,this.text="",this.attempts=1,this.copied=new f.vpe,this._pending=new Set,k&&null!=k.attempts&&(this.attempts=k.attempts)}copy(E=this.attempts){if(E>1){let h=E;const k=this._clipboard.beginCopy(this.text);this._pending.add(k);const L=()=>{const Y=k.copy();Y||!--h||this._destroyed?(this._currentTimeout=null,this._pending.delete(k),k.destroy(),this.copied.emit(Y)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(L,1))};L()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(E=>E.destroy()),this._pending.clear(),this._destroyed=!0}}return b.\u0275fac=function(E){return new(E||b)(f.Y36(T),f.Y36(f.R0b),f.Y36(m,8))},b.\u0275dir=f.lG2({type:b,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(E,h){1&E&&f.NdJ("click",function(){return h.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),b})(),s=(()=>{class b{}return b.\u0275fac=function(E){return new(E||b)},b.\u0275mod=f.oAB({type:b}),b.\u0275inj=f.cJS({}),b})()},63191:(Ke,be,d)=>{"use strict";d.d(be,{t6:()=>T,Eq:()=>m,Ig:()=>f,HM:()=>A,fI:()=>s,su:()=>g,du:()=>b});var e=d(5e3);function f(O){return null!=O&&"false"!=`${O}`}function g(O,E=0){return T(O)?Number(O):E}function T(O){return!isNaN(parseFloat(O))&&!isNaN(Number(O))}function m(O){return Array.isArray(O)?O:[O]}function A(O){return null==O?"":"string"==typeof O?O:`${O}px`}function s(O){return O instanceof e.SBq?O.nativeElement:O}function b(O,E=/\s+/){const h=[];if(null!=O){const k=Array.isArray(O)?O:`${O}`.split(E);for(const L of k){const Y=`${L}`.trim();Y&&h.push(Y)}}return h}},20449:(Ke,be,d)=>{"use strict";d.d(be,{P3:()=>s,o2:()=>m,Ov:()=>E,A8:()=>k,yy:()=>b,eX:()=>O,k:()=>L,Z9:()=>A});var e=d(54715),f=d(21086),g=d(8929),T=d(5e3);class m{}function A(Y){return Y&&"function"==typeof Y.connect}class s extends m{constructor(J){super(),this._data=J}connect(){return(0,e.b)(this._data)?this._data:(0,f.of)(this._data)}disconnect(){}}class b{applyChanges(J,ue,ce,Le,de){J.forEachOperation((ke,ae,V)=>{let H,X;if(null==ke.previousIndex){const ie=ce(ke,ae,V);H=ue.createEmbeddedView(ie.templateRef,ie.context,ie.index),X=1}else null==V?(ue.remove(ae),X=3):(H=ue.get(ae),ue.move(H,V),X=2);de&&de({context:null==H?void 0:H.context,operation:X,record:ke})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(J,ue,ce,Le,de){J.forEachOperation((ke,ae,V)=>{let H,X;null==ke.previousIndex?(H=this._insertView(()=>ce(ke,ae,V),V,ue,Le(ke)),X=H?1:0):null==V?(this._detachAndCacheView(ae,ue),X=3):(H=this._moveView(ae,V,ue,Le(ke)),X=2),de&&de({context:null==H?void 0:H.context,operation:X,record:ke})})}detach(){for(const J of this._viewCache)J.destroy();this._viewCache=[]}_insertView(J,ue,ce,Le){const de=this._insertViewFromCache(ue,ce);if(de)return void(de.context.$implicit=Le);const ke=J();return ce.createEmbeddedView(ke.templateRef,ke.context,ke.index)}_detachAndCacheView(J,ue){const ce=ue.detach(J);this._maybeCacheView(ce,ue)}_moveView(J,ue,ce,Le){const de=ce.get(J);return ce.move(de,ue),de.context.$implicit=Le,de}_maybeCacheView(J,ue){if(this._viewCache.lengththis._markSelected(Le)):this._markSelected(ue[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...J){this._verifyValueAssignment(J),J.forEach(ue=>this._markSelected(ue)),this._emitChangeEvent()}deselect(...J){this._verifyValueAssignment(J),J.forEach(ue=>this._unmarkSelected(ue)),this._emitChangeEvent()}toggle(J){this.isSelected(J)?this.deselect(J):this.select(J)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(J){return this._selection.has(J)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(J){this._multiple&&this.selected&&this._selected.sort(J)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(J){this.isSelected(J)||(this._multiple||this._unmarkAll(),this._selection.add(J),this._emitChanges&&this._selectedToEmit.push(J))}_unmarkSelected(J){this.isSelected(J)&&(this._selection.delete(J),this._emitChanges&&this._deselectedToEmit.push(J))}_unmarkAll(){this.isEmpty()||this._selection.forEach(J=>this._unmarkSelected(J))}_verifyValueAssignment(J){}}let k=(()=>{class Y{constructor(){this._listeners=[]}notify(ue,ce){for(let Le of this._listeners)Le(ue,ce)}listen(ue){return this._listeners.push(ue),()=>{this._listeners=this._listeners.filter(ce=>ue!==ce)}}ngOnDestroy(){this._listeners=[]}}return Y.\u0275fac=function(ue){return new(ue||Y)},Y.\u0275prov=T.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const L=new T.OlP("_ViewRepeater")},44409:(Ke,be,d)=>{"use strict";d.d(be,{Zt:()=>We,Wj:()=>Wt,_t:()=>qe,bA:()=>he});var e=d(5e3),f=d(69808),g=d(70925),T=d(63191),m=d(15664),A=d(8929),s=d(42654),b=d(61715),O=d(90352),E=d(32916),h=d(36787),k=d(7625),L=d(1059),Y=d(24850),J=d(72986),ue=d(22868),ce=d(87545),Le=d(53435),de=d(50226);function ke(re,Z,G){for(let ee in Z)if(Z.hasOwnProperty(ee)){const _e=Z[ee];_e?re.setProperty(ee,_e,(null==G?void 0:G.has(ee))?"important":""):re.removeProperty(ee)}return re}function ae(re,Z){const G=Z?"":"none";ke(re.style,{"touch-action":Z?"":"none","-webkit-user-drag":Z?"":"none","-webkit-tap-highlight-color":Z?"":"transparent","user-select":G,"-ms-user-select":G,"-webkit-user-select":G,"-moz-user-select":G})}function V(re,Z,G){ke(re.style,{position:Z?"":"fixed",top:Z?"":"0",opacity:Z?"":"0",left:Z?"":"-999em"},G)}function H(re,Z){return Z&&"none"!=Z?re+" "+Z:re}function X(re){const Z=re.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(re)*Z}function oe(re,Z){return re.getPropertyValue(Z).split(",").map(ee=>ee.trim())}function ge(re){const Z=re.getBoundingClientRect();return{top:Z.top,right:Z.right,bottom:Z.bottom,left:Z.left,width:Z.width,height:Z.height,x:Z.x,y:Z.y}}function Ne(re,Z,G){const{top:ee,bottom:_e,left:Ue,right:Et}=re;return G>=ee&&G<=_e&&Z>=Ue&&Z<=Et}function Fe(re,Z,G){re.top+=Z,re.bottom=re.top+re.height,re.left+=G,re.right=re.left+re.width}function se(re,Z,G,ee){const{top:_e,right:Ue,bottom:Et,left:Bt,width:jt,height:St}=re,Ct=jt*Z,mt=St*Z;return ee>_e-mt&&eeBt-Ct&&G{this.positions.set(G,{scrollPosition:{top:G.scrollTop,left:G.scrollLeft},clientRect:ge(G)})})}handleScroll(Z){const G=(0,g.sA)(Z),ee=this.positions.get(G);if(!ee)return null;const _e=ee.scrollPosition;let Ue,Et;if(G===this._document){const St=this._viewportRuler.getViewportScrollPosition();Ue=St.top,Et=St.left}else Ue=G.scrollTop,Et=G.scrollLeft;const Bt=_e.top-Ue,jt=_e.left-Et;return this.positions.forEach((St,Ct)=>{St.clientRect&&G!==Ct&&G.contains(Ct)&&Fe(St.clientRect,Bt,jt)}),_e.top=Ue,_e.left=Et,{top:Bt,left:jt}}}function ve(re){const Z=re.cloneNode(!0),G=Z.querySelectorAll("[id]"),ee=re.nodeName.toLowerCase();Z.removeAttribute("id");for(let _e=0;_e{if(this.beforeStarted.next(),this._handles.length){const jt=this._handles.find(St=>Bt.target&&(Bt.target===St||St.contains(Bt.target)));jt&&!this._disabledHandles.has(jt)&&!this.disabled&&this._initializeDragSequence(jt,Bt)}else this.disabled||this._initializeDragSequence(this._rootElement,Bt)},this._pointerMove=Bt=>{const jt=this._getPointerPositionOnPage(Bt);if(!this._hasStartedDragging){if(Math.abs(jt.x-this._pickupPositionOnPage.x)+Math.abs(jt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Gt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Bt),li=this._dropContainer;if(!Gt)return void this._endDragSequence(Bt);(!li||!li.isDragging()&&!li.isReceiving())&&(Bt.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Bt)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),Bt.preventDefault();const St=this._getConstrainedPointerPosition(jt);if(this._hasMoved=!0,this._lastKnownPointerPosition=jt,this._updatePointerDirectionDelta(St),this._dropContainer)this._updateActiveDropContainer(St,jt);else{const Ct=this._activeTransform;Ct.x=St.x-this._pickupPositionOnPage.x+this._passiveTransform.x,Ct.y=St.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(Ct.x,Ct.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:St,event:Bt,distance:this._getDragDistance(St),delta:this._pointerDirectionDelta})})},this._pointerUp=Bt=>{this._endDragSequence(Bt)},this.withRootElement(Z).withParent(G.parentDragRef||null),this._parentPositions=new Me(ee,Ue),Et.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(Z){const G=(0,T.Ig)(Z);G!==this._disabled&&(this._disabled=G,this._toggleNativeDragInteractions(),this._handles.forEach(ee=>ae(ee,G)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Z){this._handles=Z.map(ee=>(0,T.fI)(ee)),this._handles.forEach(ee=>ae(ee,this.disabled)),this._toggleNativeDragInteractions();const G=new Set;return this._disabledHandles.forEach(ee=>{this._handles.indexOf(ee)>-1&&G.add(ee)}),this._disabledHandles=G,this}withPreviewTemplate(Z){return this._previewTemplate=Z,this}withPlaceholderTemplate(Z){return this._placeholderTemplate=Z,this}withRootElement(Z){const G=(0,T.fI)(Z);return G!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{G.addEventListener("mousedown",this._pointerDown,Ie),G.addEventListener("touchstart",this._pointerDown,Oe)}),this._initialTransform=void 0,this._rootElement=G),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Z){return this._boundaryElement=Z?(0,T.fI)(Z):null,this._resizeSubscription.unsubscribe(),Z&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Z){return this._parentDragRef=Z,this}dispose(){var Z,G;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(Z=this._rootElement)||void 0===Z||Z.remove()),null===(G=this._anchor)||void 0===G||G.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(Z){!this._disabledHandles.has(Z)&&this._handles.indexOf(Z)>-1&&(this._disabledHandles.add(Z),ae(Z,!0))}enableHandle(Z){this._disabledHandles.has(Z)&&(this._disabledHandles.delete(Z),ae(Z,this.disabled))}withDirection(Z){return this._direction=Z,this}_withDropContainer(Z){this._dropContainer=Z}getFreeDragPosition(){const Z=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Z.x,y:Z.y}}setFreeDragPosition(Z){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Z.x,this._passiveTransform.y=Z.y,this._dropContainer||this._applyRootElementTransform(Z.x,Z.y),this}withPreviewContainer(Z){return this._previewContainer=Z,this}_sortFromLastPointerPosition(){const Z=this._lastKnownPointerPosition;Z&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Z),Z)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var Z,G;null===(Z=this._preview)||void 0===Z||Z.remove(),null===(G=this._previewRef)||void 0===G||G.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var Z,G;null===(Z=this._placeholder)||void 0===Z||Z.remove(),null===(G=this._placeholderRef)||void 0===G||G.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(Z){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Z),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const G=this._getPointerPositionOnPage(Z);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(G),dropPoint:G})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Z){tt(Z)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const G=this._dropContainer;if(G){const ee=this._rootElement,_e=ee.parentNode,Ue=this._placeholder=this._createPlaceholderElement(),Et=this._anchor=this._anchor||this._document.createComment(""),Bt=this._getShadowRoot();_e.insertBefore(Et,ee),this._initialTransform=ee.style.transform||"",this._preview=this._createPreviewElement(),V(ee,!1,fe),this._document.body.appendChild(_e.replaceChild(Ue,ee)),this._getPreviewInsertionPoint(_e,Bt).appendChild(this._preview),this.started.next({source:this}),G.start(),this._initialContainer=G,this._initialIndex=G.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(G?G.getScrollableParents():[])}_initializeDragSequence(Z,G){this._parentDragRef&&G.stopPropagation();const ee=this.isDragging(),_e=tt(G),Ue=!_e&&0!==G.button,Et=this._rootElement,Bt=(0,g.sA)(G),jt=!_e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),St=_e?(0,m.yG)(G):(0,m.X6)(G);if(Bt&&Bt.draggable&&"mousedown"===G.type&&G.preventDefault(),ee||Ue||jt||St)return;if(this._handles.length){const Rt=Et.style;this._rootElementTapHighlight=Rt.webkitTapHighlightColor||"",Rt.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Rt=>this._updateOnScroll(Rt)),this._boundaryElement&&(this._boundaryRect=ge(this._boundaryElement));const Ct=this._previewTemplate;this._pickupPositionInElement=Ct&&Ct.template&&!Ct.matchSize?{x:0,y:0}:this._getPointerPositionInElement(Z,G);const mt=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(G);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:mt.x,y:mt.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,G)}_cleanupDragArtifacts(Z){V(this._rootElement,!0,fe),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const G=this._dropContainer,ee=G.getItemIndex(this),_e=this._getPointerPositionOnPage(Z),Ue=this._getDragDistance(_e),Et=G._isOverContainer(_e.x,_e.y);this.ended.next({source:this,distance:Ue,dropPoint:_e}),this.dropped.next({item:this,currentIndex:ee,previousIndex:this._initialIndex,container:G,previousContainer:this._initialContainer,isPointerOverContainer:Et,distance:Ue,dropPoint:_e}),G.drop(this,ee,this._initialIndex,this._initialContainer,Et,Ue,_e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Z,y:G},{x:ee,y:_e}){let Ue=this._initialContainer._getSiblingContainerFromPosition(this,Z,G);!Ue&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Z,G)&&(Ue=this._initialContainer),Ue&&Ue!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Ue,this._dropContainer.enter(this,Z,G,Ue===this._initialContainer&&Ue.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Ue,currentIndex:Ue.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(ee,_e),this._dropContainer._sortItem(this,Z,G,this._pointerDirectionDelta),this._applyPreviewTransform(Z-this._pickupPositionInElement.x,G-this._pickupPositionInElement.y))}_createPreviewElement(){const Z=this._previewTemplate,G=this.previewClass,ee=Z?Z.template:null;let _e;if(ee&&Z){const Ue=Z.matchSize?this._rootElement.getBoundingClientRect():null,Et=Z.viewContainer.createEmbeddedView(ee,Z.context);Et.detectChanges(),_e=at(Et,this._document),this._previewRef=Et,Z.matchSize?N(_e,Ue):_e.style.transform=Ye(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const Ue=this._rootElement;_e=ve(Ue),N(_e,Ue.getBoundingClientRect()),this._initialTransform&&(_e.style.transform=this._initialTransform)}return ke(_e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},fe),ae(_e,!1),_e.classList.add("cdk-drag-preview"),_e.setAttribute("dir",this._direction),G&&(Array.isArray(G)?G.forEach(Ue=>_e.classList.add(Ue)):_e.classList.add(G)),_e}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Z=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(Z.left,Z.top);const G=function ie(re){const Z=getComputedStyle(re),G=oe(Z,"transition-property"),ee=G.find(Bt=>"transform"===Bt||"all"===Bt);if(!ee)return 0;const _e=G.indexOf(ee),Ue=oe(Z,"transition-duration"),Et=oe(Z,"transition-delay");return X(Ue[_e])+X(Et[_e])}(this._preview);return 0===G?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(ee=>{const _e=Et=>{var Bt;(!Et||(0,g.sA)(Et)===this._preview&&"transform"===Et.propertyName)&&(null===(Bt=this._preview)||void 0===Bt||Bt.removeEventListener("transitionend",_e),ee(),clearTimeout(Ue))},Ue=setTimeout(_e,1.5*G);this._preview.addEventListener("transitionend",_e)}))}_createPlaceholderElement(){const Z=this._placeholderTemplate,G=Z?Z.template:null;let ee;return G?(this._placeholderRef=Z.viewContainer.createEmbeddedView(G,Z.context),this._placeholderRef.detectChanges(),ee=at(this._placeholderRef,this._document)):ee=ve(this._rootElement),ee.classList.add("cdk-drag-placeholder"),ee}_getPointerPositionInElement(Z,G){const ee=this._rootElement.getBoundingClientRect(),_e=Z===this._rootElement?null:Z,Ue=_e?_e.getBoundingClientRect():ee,Et=tt(G)?G.targetTouches[0]:G,Bt=this._getViewportScrollPosition();return{x:Ue.left-ee.left+(Et.pageX-Ue.left-Bt.left),y:Ue.top-ee.top+(Et.pageY-Ue.top-Bt.top)}}_getPointerPositionOnPage(Z){const G=this._getViewportScrollPosition(),ee=tt(Z)?Z.touches[0]||Z.changedTouches[0]||{pageX:0,pageY:0}:Z,_e=ee.pageX-G.left,Ue=ee.pageY-G.top;if(this._ownerSVGElement){const Et=this._ownerSVGElement.getScreenCTM();if(Et){const Bt=this._ownerSVGElement.createSVGPoint();return Bt.x=_e,Bt.y=Ue,Bt.matrixTransform(Et.inverse())}}return{x:_e,y:Ue}}_getConstrainedPointerPosition(Z){const G=this._dropContainer?this._dropContainer.lockAxis:null;let{x:ee,y:_e}=this.constrainPosition?this.constrainPosition(Z,this):Z;if("x"===this.lockAxis||"x"===G?_e=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===G)&&(ee=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Ue,y:Et}=this._pickupPositionInElement,Bt=this._boundaryRect,jt=this._previewRect,St=Bt.top+Et,Ct=Bt.bottom-(jt.height-Et);ee=Xe(ee,Bt.left+Ue,Bt.right-(jt.width-Ue)),_e=Xe(_e,St,Ct)}return{x:ee,y:_e}}_updatePointerDirectionDelta(Z){const{x:G,y:ee}=Z,_e=this._pointerDirectionDelta,Ue=this._pointerPositionAtLastDirectionChange,Et=Math.abs(G-Ue.x),Bt=Math.abs(ee-Ue.y);return Et>this._config.pointerDirectionChangeThreshold&&(_e.x=G>Ue.x?1:-1,Ue.x=G),Bt>this._config.pointerDirectionChangeThreshold&&(_e.y=ee>Ue.y?1:-1,Ue.y=ee),_e}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Z=this._handles.length>0||!this.isDragging();Z!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Z,ae(this._rootElement,Z))}_removeRootElementListeners(Z){Z.removeEventListener("mousedown",this._pointerDown,Ie),Z.removeEventListener("touchstart",this._pointerDown,Oe)}_applyRootElementTransform(Z,G){const ee=Ye(Z,G),_e=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=_e.transform&&"none"!=_e.transform?_e.transform:""),_e.transform=H(ee,this._initialTransform)}_applyPreviewTransform(Z,G){var ee;const _e=(null===(ee=this._previewTemplate)||void 0===ee?void 0:ee.template)?void 0:this._initialTransform,Ue=Ye(Z,G);this._preview.style.transform=H(Ue,_e)}_getDragDistance(Z){const G=this._pickupPositionOnPage;return G?{x:Z.x-G.x,y:Z.y-G.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Z,y:G}=this._passiveTransform;if(0===Z&&0===G||this.isDragging()||!this._boundaryElement)return;const ee=this._boundaryElement.getBoundingClientRect(),_e=this._rootElement.getBoundingClientRect();if(0===ee.width&&0===ee.height||0===_e.width&&0===_e.height)return;const Ue=ee.left-_e.left,Et=_e.right-ee.right,Bt=ee.top-_e.top,jt=_e.bottom-ee.bottom;ee.width>_e.width?(Ue>0&&(Z+=Ue),Et>0&&(Z-=Et)):Z=0,ee.height>_e.height?(Bt>0&&(G+=Bt),jt>0&&(G-=jt)):G=0,(Z!==this._passiveTransform.x||G!==this._passiveTransform.y)&&this.setFreeDragPosition({y:G,x:Z})}_getDragStartDelay(Z){const G=this.dragStartDelay;return"number"==typeof G?G:tt(Z)?G.touch:G?G.mouse:0}_updateOnScroll(Z){const G=this._parentPositions.handleScroll(Z);if(G){const ee=(0,g.sA)(Z);this._boundaryRect&&ee!==this._boundaryElement&&ee.contains(this._boundaryElement)&&Fe(this._boundaryRect,G.top,G.left),this._pickupPositionOnPage.x+=G.left,this._pickupPositionOnPage.y+=G.top,this._dropContainer||(this._activeTransform.x-=G.left,this._activeTransform.y-=G.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const Z=this._parentPositions.positions.get(this._document);return Z?Z.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Z,G){const ee=this._previewContainer||"global";if("parent"===ee)return Z;if("global"===ee){const _e=this._document;return G||_e.fullscreenElement||_e.webkitFullscreenElement||_e.mozFullScreenElement||_e.msFullscreenElement||_e.body}return(0,T.fI)(ee)}}function Ye(re,Z){return`translate3d(${Math.round(re)}px, ${Math.round(Z)}px, 0)`}function Xe(re,Z,G){return Math.max(Z,Math.min(G,re))}function tt(re){return"t"===re.type[0]}function at(re,Z){const G=re.rootNodes;if(1===G.length&&G[0].nodeType===Z.ELEMENT_NODE)return G[0];const ee=Z.createElement("div");return G.forEach(_e=>ee.appendChild(_e)),ee}function N(re,Z){re.style.width=`${Z.width}px`,re.style.height=`${Z.height}px`,re.style.transform=Ye(Z.left,Z.top)}function he(re,Z,G){const ee=I(Z,re.length-1),_e=I(G,re.length-1);if(ee===_e)return;const Ue=re[ee],Et=_e!0,this.sortPredicate=()=>!0,this.beforeStarted=new A.xQ,this.entered=new A.xQ,this.exited=new A.xQ,this.dropped=new A.xQ,this.sorted=new A.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=s.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new A.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,b.F)(0,O.r).pipe((0,k.R)(this._stopScrollTimers)).subscribe(()=>{const Et=this._scrollNode,Bt=this.autoScrollStep;1===this._verticalScrollDirection?Et.scrollBy(0,-Bt):2===this._verticalScrollDirection&&Et.scrollBy(0,Bt),1===this._horizontalScrollDirection?Et.scrollBy(-Bt,0):2===this._horizontalScrollDirection&&Et.scrollBy(Bt,0)})},this.element=(0,T.fI)(Z),this._document=ee,this.withScrollableParents([this.element]),G.registerDropContainer(this),this._parentPositions=new Me(ee,Ue)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Z,G,ee,_e){let Ue;this._draggingStarted(),null==_e?(Ue=this.sortingDisabled?this._draggables.indexOf(Z):-1,-1===Ue&&(Ue=this._getItemIndexFromPointerPosition(Z,G,ee))):Ue=_e;const Et=this._activeDraggables,Bt=Et.indexOf(Z),jt=Z.getPlaceholderElement();let St=Et[Ue];if(St===Z&&(St=Et[Ue+1]),!St&&(null==Ue||-1===Ue||Ue-1&&Et.splice(Bt,1),St&&!this._dragDropRegistry.isDragging(St)){const Ct=St.getRootElement();Ct.parentElement.insertBefore(jt,Ct),Et.splice(Ue,0,Z)}else(0,T.fI)(this.element).appendChild(jt),Et.push(Z);jt.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Z,container:this,currentIndex:this.getItemIndex(Z)})}exit(Z){this._reset(),this.exited.next({item:Z,container:this})}drop(Z,G,ee,_e,Ue,Et,Bt){this._reset(),this.dropped.next({item:Z,currentIndex:G,previousIndex:ee,container:this,previousContainer:_e,isPointerOverContainer:Ue,distance:Et,dropPoint:Bt})}withItems(Z){const G=this._draggables;return this._draggables=Z,Z.forEach(ee=>ee._withDropContainer(this)),this.isDragging()&&(G.filter(_e=>_e.isDragging()).every(_e=>-1===Z.indexOf(_e))?this._reset():this._cacheItems()),this}withDirection(Z){return this._direction=Z,this}connectedTo(Z){return this._siblings=Z.slice(),this}withOrientation(Z){return this._orientation=Z,this}withScrollableParents(Z){const G=(0,T.fI)(this.element);return this._scrollableElements=-1===Z.indexOf(G)?[G,...Z]:Z.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(Z){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(ee=>ee.drag===Z):this._draggables.indexOf(Z)}isReceiving(){return this._activeSiblings.size>0}_sortItem(Z,G,ee,_e){if(this.sortingDisabled||!this._clientRect||!se(this._clientRect,.05,G,ee))return;const Ue=this._itemPositions,Et=this._getItemIndexFromPointerPosition(Z,G,ee,_e);if(-1===Et&&Ue.length>0)return;const Bt="horizontal"===this._orientation,jt=Ue.findIndex(Ci=>Ci.drag===Z),St=Ue[Et],mt=St.clientRect,Rt=jt>Et?1:-1,Gt=this._getItemOffsetPx(Ue[jt].clientRect,mt,Rt),li=this._getSiblingOffsetPx(jt,Ue,Rt),fi=Ue.slice();he(Ue,jt,Et),this.sorted.next({previousIndex:jt,currentIndex:Et,container:this,item:Z}),Ue.forEach((Ci,Si)=>{if(fi[Si]===Ci)return;const Vi=Ci.drag===Z,nn=Vi?Gt:li,$i=Vi?Z.getPlaceholderElement():Ci.drag.getRootElement();Ci.offset+=nn,Bt?($i.style.transform=H(`translate3d(${Math.round(Ci.offset)}px, 0, 0)`,Ci.initialTransform),Fe(Ci.clientRect,0,nn)):($i.style.transform=H(`translate3d(0, ${Math.round(Ci.offset)}px, 0)`,Ci.initialTransform),Fe(Ci.clientRect,nn,0))}),this._previousSwap.overlaps=Ne(mt,G,ee),this._previousSwap.drag=St.drag,this._previousSwap.delta=Bt?_e.x:_e.y}_startScrollingIfNecessary(Z,G){if(this.autoScrollDisabled)return;let ee,_e=0,Ue=0;if(this._parentPositions.positions.forEach((Et,Bt)=>{Bt===this._document||!Et.clientRect||ee||se(Et.clientRect,.05,Z,G)&&([_e,Ue]=function t(re,Z,G,ee){const _e=p(Z,ee),Ue=o(Z,G);let Et=0,Bt=0;if(_e){const jt=re.scrollTop;1===_e?jt>0&&(Et=1):re.scrollHeight-jt>re.clientHeight&&(Et=2)}if(Ue){const jt=re.scrollLeft;1===Ue?jt>0&&(Bt=1):re.scrollWidth-jt>re.clientWidth&&(Bt=2)}return[Et,Bt]}(Bt,Et.clientRect,Z,G),(_e||Ue)&&(ee=Bt))}),!_e&&!Ue){const{width:Et,height:Bt}=this._viewportRuler.getViewportSize(),jt={width:Et,height:Bt,top:0,right:Et,bottom:Bt,left:0};_e=p(jt,G),Ue=o(jt,Z),ee=window}ee&&(_e!==this._verticalScrollDirection||Ue!==this._horizontalScrollDirection||ee!==this._scrollNode)&&(this._verticalScrollDirection=_e,this._horizontalScrollDirection=Ue,this._scrollNode=ee,(_e||Ue)&&ee?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Z=(0,T.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Z.msScrollSnapType||Z.scrollSnapType||"",Z.scrollSnapType=Z.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const Z=(0,T.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(Z).clientRect}_cacheItemPositions(){const Z="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(G=>{const ee=G.getVisibleElement();return{drag:G,offset:0,initialTransform:ee.style.transform||"",clientRect:ge(ee)}}).sort((G,ee)=>Z?G.clientRect.left-ee.clientRect.left:G.clientRect.top-ee.clientRect.top)}_reset(){this._isDragging=!1;const Z=(0,T.fI)(this.element).style;Z.scrollSnapType=Z.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(G=>{var ee;const _e=G.getRootElement();if(_e){const Ue=null===(ee=this._itemPositions.find(Et=>Et.drag===G))||void 0===ee?void 0:ee.initialTransform;_e.style.transform=Ue||""}}),this._siblings.forEach(G=>G._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(Z,G,ee){const _e="horizontal"===this._orientation,Ue=G[Z].clientRect,Et=G[Z+-1*ee];let Bt=Ue[_e?"width":"height"]*ee;if(Et){const jt=_e?"left":"top",St=_e?"right":"bottom";-1===ee?Bt-=Et.clientRect[jt]-Ue[St]:Bt+=Ue[jt]-Et.clientRect[St]}return Bt}_getItemOffsetPx(Z,G,ee){const _e="horizontal"===this._orientation;let Ue=_e?G.left-Z.left:G.top-Z.top;return-1===ee&&(Ue+=_e?G.width-Z.width:G.height-Z.height),Ue}_shouldEnterAsFirstChild(Z,G){if(!this._activeDraggables.length)return!1;const ee=this._itemPositions,_e="horizontal"===this._orientation;if(ee[0].drag!==this._activeDraggables[0]){const Et=ee[ee.length-1].clientRect;return _e?Z>=Et.right:G>=Et.bottom}{const Et=ee[0].clientRect;return _e?Z<=Et.left:G<=Et.top}}_getItemIndexFromPointerPosition(Z,G,ee,_e){const Ue="horizontal"===this._orientation,Et=this._itemPositions.findIndex(({drag:Bt,clientRect:jt})=>{if(Bt===Z)return!1;if(_e){const St=Ue?_e.x:_e.y;if(Bt===this._previousSwap.drag&&this._previousSwap.overlaps&&St===this._previousSwap.delta)return!1}return Ue?G>=Math.floor(jt.left)&&G=Math.floor(jt.top)&&ee_e._canReceive(Z,G,ee))}_canReceive(Z,G,ee){if(!this._clientRect||!Ne(this._clientRect,G,ee)||!this.enterPredicate(Z,this))return!1;const _e=this._getShadowRoot().elementFromPoint(G,ee);if(!_e)return!1;const Ue=(0,T.fI)(this.element);return _e===Ue||Ue.contains(_e)}_startReceiving(Z,G){const ee=this._activeSiblings;!ee.has(Z)&&G.every(_e=>this.enterPredicate(_e,this)||this._draggables.indexOf(_e)>-1)&&(ee.add(Z),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(Z){this._activeSiblings.delete(Z),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Z=>{if(this.isDragging()){const G=this._parentPositions.handleScroll(Z);G&&(this._itemPositions.forEach(({clientRect:ee})=>{Fe(ee,G.top,G.left)}),this._itemPositions.forEach(({drag:ee})=>{this._dragDropRegistry.isDragging(ee)&&ee._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Z=(0,g.kV)((0,T.fI)(this.element));this._cachedShadowRoot=Z||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Z=this._activeDraggables.filter(G=>G.isDragging());this._siblings.forEach(G=>G._startReceiving(this,Z))}}function p(re,Z){const{top:G,bottom:ee,height:_e}=re,Ue=.05*_e;return Z>=G-Ue&&Z<=G+Ue?1:Z>=ee-Ue&&Z<=ee+Ue?2:0}function o(re,Z){const{left:G,right:ee,width:_e}=re,Ue=.05*_e;return Z>=G-Ue&&Z<=G+Ue?1:Z>=ee-Ue&&Z<=ee+Ue?2:0}const n=(0,g.i$)({passive:!1,capture:!0});let c=(()=>{class re{constructor(G,ee){this._ngZone=G,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=_e=>_e.isDragging(),this.pointerMove=new A.xQ,this.pointerUp=new A.xQ,this.scroll=new A.xQ,this._preventDefaultWhileDragging=_e=>{this._activeDragInstances.length>0&&_e.preventDefault()},this._persistentTouchmoveListener=_e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&_e.preventDefault(),this.pointerMove.next(_e))},this._document=ee}registerDropContainer(G){this._dropInstances.has(G)||this._dropInstances.add(G)}registerDragItem(G){this._dragInstances.add(G),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,n)})}removeDropContainer(G){this._dropInstances.delete(G)}removeDragItem(G){this._dragInstances.delete(G),this.stopDragging(G),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,n)}startDragging(G,ee){if(!(this._activeDragInstances.indexOf(G)>-1)&&(this._activeDragInstances.push(G),1===this._activeDragInstances.length)){const _e=ee.type.startsWith("touch");this._globalListeners.set(_e?"touchend":"mouseup",{handler:Ue=>this.pointerUp.next(Ue),options:!0}).set("scroll",{handler:Ue=>this.scroll.next(Ue),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:n}),_e||this._globalListeners.set("mousemove",{handler:Ue=>this.pointerMove.next(Ue),options:n}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Ue,Et)=>{this._document.addEventListener(Et,Ue.handler,Ue.options)})})}}stopDragging(G){const ee=this._activeDragInstances.indexOf(G);ee>-1&&(this._activeDragInstances.splice(ee,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(G){return this._activeDragInstances.indexOf(G)>-1}scrolled(G){const ee=[this.scroll];return G&&G!==this._document&&ee.push(new E.y(_e=>this._ngZone.runOutsideAngular(()=>{const Et=Bt=>{this._activeDragInstances.length&&_e.next(Bt)};return G.addEventListener("scroll",Et,!0),()=>{G.removeEventListener("scroll",Et,!0)}}))),(0,h.T)(...ee)}ngOnDestroy(){this._dragInstances.forEach(G=>this.removeDragItem(G)),this._dropInstances.forEach(G=>this.removeDropContainer(G)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((G,ee)=>{this._document.removeEventListener(ee,G.handler,G.options)}),this._globalListeners.clear()}}return re.\u0275fac=function(G){return new(G||re)(e.LFG(e.R0b),e.LFG(f.K0))},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();const u={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let y=(()=>{class re{constructor(G,ee,_e,Ue){this._document=G,this._ngZone=ee,this._viewportRuler=_e,this._dragDropRegistry=Ue}createDrag(G,ee=u){return new Ce(G,ee,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(G){return new r(G,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return re.\u0275fac=function(G){return new(G||re)(e.LFG(f.K0),e.LFG(e.R0b),e.LFG(Le.rL),e.LFG(c))},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();const M=new e.OlP("CDK_DRAG_PARENT"),j=new e.OlP("CdkDropListGroup"),nt=new e.OlP("CDK_DRAG_CONFIG");let zt=0;const Vt=new e.OlP("CdkDropList");let Wt=(()=>{class re{constructor(G,ee,_e,Ue,Et,Bt,jt){this.element=G,this._changeDetectorRef=_e,this._scrollDispatcher=Ue,this._dir=Et,this._group=Bt,this._destroyed=new A.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+zt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=ee.createDropList(G),this._dropListRef.data=this,jt&&this._assignDefaults(jt),this._dropListRef.enterPredicate=(St,Ct)=>this.enterPredicate(St.data,Ct.data),this._dropListRef.sortPredicate=(St,Ct,mt)=>this.sortPredicate(St,Ct.data,mt.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),re._dropLists.push(this),Bt&&Bt._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(G){this._dropListRef.disabled=this._disabled=(0,T.Ig)(G)}addItem(G){this._unsortedItems.add(G),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(G){this._unsortedItems.delete(G),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((G,ee)=>G._dragRef.getVisibleElement().compareDocumentPosition(ee._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const G=re._dropLists.indexOf(this);G>-1&&re._dropLists.splice(G,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(G){this._dir&&this._dir.change.pipe((0,L.O)(this._dir.value),(0,k.R)(this._destroyed)).subscribe(ee=>G.withDirection(ee)),G.beforeStarted.subscribe(()=>{const ee=(0,T.Eq)(this.connectedTo).map(_e=>"string"==typeof _e?re._dropLists.find(Et=>Et.id===_e):_e);if(this._group&&this._group._items.forEach(_e=>{-1===ee.indexOf(_e)&&ee.push(_e)}),!this._scrollableParentsResolved){const _e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Ue=>Ue.getElementRef().nativeElement);this._dropListRef.withScrollableParents(_e),this._scrollableParentsResolved=!0}G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.sortingDisabled=(0,T.Ig)(this.sortingDisabled),G.autoScrollDisabled=(0,T.Ig)(this.autoScrollDisabled),G.autoScrollStep=(0,T.su)(this.autoScrollStep,2),G.connectedTo(ee.filter(_e=>_e&&_e!==this).map(_e=>_e._dropListRef)).withOrientation(this.orientation)})}_handleEvents(G){G.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(ee=>{this.entered.emit({container:this,item:ee.item.data,currentIndex:ee.currentIndex})}),G.exited.subscribe(ee=>{this.exited.emit({container:this,item:ee.item.data}),this._changeDetectorRef.markForCheck()}),G.sorted.subscribe(ee=>{this.sorted.emit({previousIndex:ee.previousIndex,currentIndex:ee.currentIndex,container:this,item:ee.item.data})}),G.dropped.subscribe(ee=>{this.dropped.emit({previousIndex:ee.previousIndex,currentIndex:ee.currentIndex,previousContainer:ee.previousContainer.data,container:ee.container.data,item:ee.item.data,isPointerOverContainer:ee.isPointerOverContainer,distance:ee.distance,dropPoint:ee.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(G){const{lockAxis:ee,draggingDisabled:_e,sortingDisabled:Ue,listAutoScrollDisabled:Et,listOrientation:Bt}=G;this.disabled=null!=_e&&_e,this.sortingDisabled=null!=Ue&&Ue,this.autoScrollDisabled=null!=Et&&Et,this.orientation=Bt||"vertical",ee&&(this.lockAxis=ee)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(G=>G._dragRef))}}return re._dropLists=[],re.\u0275fac=function(G){return new(G||re)(e.Y36(e.SBq),e.Y36(y),e.Y36(e.sBO),e.Y36(Le.mF),e.Y36(de.Is,8),e.Y36(j,12),e.Y36(nt,8))},re.\u0275dir=e.lG2({type:re,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(G,ee){2&G&&(e.uIk("id",ee.id),e.ekj("cdk-drop-list-disabled",ee.disabled)("cdk-drop-list-dragging",ee._dropListRef.isDragging())("cdk-drop-list-receiving",ee._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:j,useValue:void 0},{provide:Vt,useExisting:re}])]}),re})();const At=new e.OlP("CdkDragHandle"),bt=new e.OlP("CdkDragPlaceholder"),kt=new e.OlP("CdkDragPreview");let We=(()=>{class re{constructor(G,ee,_e,Ue,Et,Bt,jt,St,Ct,mt,Rt){this.element=G,this.dropContainer=ee,this._ngZone=Ue,this._viewContainerRef=Et,this._dir=jt,this._changeDetectorRef=Ct,this._selfHandle=mt,this._parentDrag=Rt,this._destroyed=new A.xQ,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new E.y(Gt=>{const li=this._dragRef.moved.pipe((0,Y.U)(fi=>({source:this,pointerPosition:fi.pointerPosition,event:fi.event,delta:fi.delta,distance:fi.distance}))).subscribe(Gt);return()=>{li.unsubscribe()}}),this._dragRef=St.createDrag(G,{dragStartThreshold:Bt&&null!=Bt.dragStartThreshold?Bt.dragStartThreshold:5,pointerDirectionChangeThreshold:Bt&&null!=Bt.pointerDirectionChangeThreshold?Bt.pointerDirectionChangeThreshold:5,zIndex:null==Bt?void 0:Bt.zIndex}),this._dragRef.data=this,re._dragInstances.push(this),Bt&&this._assignDefaults(Bt),ee&&(this._dragRef._withDropContainer(ee._dropListRef),ee.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(G){this._disabled=(0,T.Ig)(G),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,J.q)(1),(0,k.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(G){const ee=G.rootElementSelector,_e=G.freeDragPosition;ee&&!ee.firstChange&&this._updateRootElement(),_e&&!_e.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const G=re._dragInstances.indexOf(this);G>-1&&re._dragInstances.splice(G,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var G;const ee=this.element.nativeElement;let _e=ee;this.rootElementSelector&&(_e=void 0!==ee.closest?ee.closest(this.rootElementSelector):null===(G=ee.parentElement)||void 0===G?void 0:G.closest(this.rootElementSelector)),this._dragRef.withRootElement(_e||ee)}_getBoundaryElement(){const G=this.boundaryElement;return G?"string"==typeof G?this.element.nativeElement.closest(G):(0,T.fI)(G):null}_syncInputs(G){G.beforeStarted.subscribe(()=>{if(!G.isDragging()){const ee=this._dir,_e=this.dragStartDelay,Ue=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Et=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.dragStartDelay="object"==typeof _e&&_e?_e:(0,T.su)(_e),G.constrainPosition=this.constrainPosition,G.previewClass=this.previewClass,G.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Ue).withPreviewTemplate(Et).withPreviewContainer(this.previewContainer||"global"),ee&&G.withDirection(ee.value)}}),G.beforeStarted.pipe((0,J.q)(1)).subscribe(()=>{var ee;if(this._parentDrag)return void G.withParent(this._parentDrag._dragRef);let _e=this.element.nativeElement.parentElement;for(;_e;){if(_e.classList.contains("cdk-drag")){G.withParent((null===(ee=re._dragInstances.find(Ue=>Ue.element.nativeElement===_e))||void 0===ee?void 0:ee._dragRef)||null);break}_e=_e.parentElement}})}_handleEvents(G){G.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),G.released.subscribe(()=>{this.released.emit({source:this})}),G.ended.subscribe(ee=>{this.ended.emit({source:this,distance:ee.distance,dropPoint:ee.dropPoint}),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(ee=>{this.entered.emit({container:ee.container.data,item:this,currentIndex:ee.currentIndex})}),G.exited.subscribe(ee=>{this.exited.emit({container:ee.container.data,item:this})}),G.dropped.subscribe(ee=>{this.dropped.emit({previousIndex:ee.previousIndex,currentIndex:ee.currentIndex,previousContainer:ee.previousContainer.data,container:ee.container.data,isPointerOverContainer:ee.isPointerOverContainer,item:this,distance:ee.distance,dropPoint:ee.dropPoint})})}_assignDefaults(G){const{lockAxis:ee,dragStartDelay:_e,constrainPosition:Ue,previewClass:Et,boundaryElement:Bt,draggingDisabled:jt,rootElementSelector:St,previewContainer:Ct}=G;this.disabled=null!=jt&&jt,this.dragStartDelay=_e||0,ee&&(this.lockAxis=ee),Ue&&(this.constrainPosition=Ue),Et&&(this.previewClass=Et),Bt&&(this.boundaryElement=Bt),St&&(this.rootElementSelector=St),Ct&&(this.previewContainer=Ct)}_setupHandlesListener(){this._handles.changes.pipe((0,L.O)(this._handles),(0,ue.b)(G=>{const ee=G.filter(_e=>_e._parentDrag===this).map(_e=>_e.element);this._selfHandle&&this.rootElementSelector&&ee.push(this.element),this._dragRef.withHandles(ee)}),(0,ce.w)(G=>(0,h.T)(...G.map(ee=>ee._stateChanges.pipe((0,L.O)(ee))))),(0,k.R)(this._destroyed)).subscribe(G=>{const ee=this._dragRef,_e=G.element.nativeElement;G.disabled?ee.disableHandle(_e):ee.enableHandle(_e)})}}return re._dragInstances=[],re.\u0275fac=function(G){return new(G||re)(e.Y36(e.SBq),e.Y36(Vt,12),e.Y36(f.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(nt,8),e.Y36(de.Is,8),e.Y36(y),e.Y36(e.sBO),e.Y36(At,10),e.Y36(M,12))},re.\u0275dir=e.lG2({type:re,selectors:[["","cdkDrag",""]],contentQueries:function(G,ee,_e){if(1&G&&(e.Suo(_e,kt,5),e.Suo(_e,bt,5),e.Suo(_e,At,5)),2&G){let Ue;e.iGM(Ue=e.CRH())&&(ee._previewTemplate=Ue.first),e.iGM(Ue=e.CRH())&&(ee._placeholderTemplate=Ue.first),e.iGM(Ue=e.CRH())&&(ee._handles=Ue)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(G,ee){2&G&&e.ekj("cdk-drag-disabled",ee.disabled)("cdk-drag-dragging",ee._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:M,useExisting:re}]),e.TTD]}),re})(),qe=(()=>{class re{}return re.\u0275fac=function(G){return new(G||re)},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({providers:[y],imports:[Le.ZD]}),re})()},91159:(Ke,be,d)=>{"use strict";d.d(be,{A:()=>He,zL:()=>b,ZH:()=>f,OC:()=>dt,jx:()=>s,yY:()=>X,JH:()=>ke,uR:()=>J,K5:()=>m,hY:()=>h,Sd:()=>ue,oh:()=>ce,b2:()=>pn,MW:()=>Mt,aO:()=>Te,VM:()=>Y,Ku:()=>L,SV:()=>de,JU:()=>A,L_:()=>k,Mf:()=>g,LH:()=>Le,Z:()=>nt,xE:()=>ie,Vb:()=>Pi});const f=8,g=9,m=13,A=16,s=17,b=18,h=27,k=32,L=33,Y=34,J=35,ue=36,ce=37,Le=38,de=39,ke=40,X=46,ie=48,Te=57,He=65,nt=90,Mt=91,dt=188,pn=224;function Pi(Ti,...Ui){return Ui.length?Ui.some(fn=>Ti[fn]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},17144:(Ke,be,d)=>{"use strict";d.d(be,{wD:()=>b,yq:()=>s,Q8:()=>O});var e=d(63191),f=d(5e3),g=d(32916),T=d(8929),m=d(80013);let A=(()=>{class E{create(k){return"undefined"==typeof MutationObserver?null:new MutationObserver(k)}}return E.\u0275fac=function(k){return new(k||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),s=(()=>{class E{constructor(k){this._mutationObserverFactory=k,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((k,L)=>this._cleanupObserver(L))}observe(k){const L=(0,e.fI)(k);return new g.y(Y=>{const ue=this._observeElement(L).subscribe(Y);return()=>{ue.unsubscribe(),this._unobserveElement(L)}})}_observeElement(k){if(this._observedElements.has(k))this._observedElements.get(k).count++;else{const L=new T.xQ,Y=this._mutationObserverFactory.create(J=>L.next(J));Y&&Y.observe(k,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(k,{observer:Y,stream:L,count:1})}return this._observedElements.get(k).stream}_unobserveElement(k){this._observedElements.has(k)&&(this._observedElements.get(k).count--,this._observedElements.get(k).count||this._cleanupObserver(k))}_cleanupObserver(k){if(this._observedElements.has(k)){const{observer:L,stream:Y}=this._observedElements.get(k);L&&L.disconnect(),Y.complete(),this._observedElements.delete(k)}}}return E.\u0275fac=function(k){return new(k||E)(f.LFG(A))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),b=(()=>{class E{constructor(k,L,Y){this._contentObserver=k,this._elementRef=L,this._ngZone=Y,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,e.Ig)(k),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(k){this._debounce=(0,e.su)(k),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const k=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?k.pipe((0,m.b)(this.debounce)):k).subscribe(this.event)})}_unsubscribe(){var k;null===(k=this._currentSubscription)||void 0===k||k.unsubscribe()}}return E.\u0275fac=function(k){return new(k||E)(f.Y36(s),f.Y36(f.SBq),f.Y36(f.R0b))},E.\u0275dir=f.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),E})(),O=(()=>{class E{}return E.\u0275fac=function(k){return new(k||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({providers:[A]}),E})()},92845:(Ke,be,d)=>{"use strict";d.d(be,{pI:()=>i,xu:()=>P,_G:()=>Oe,aV:()=>D,X_:()=>ge,Xj:()=>Te,U8:()=>o});var e=d(53435),f=d(69808),g=d(5e3),T=d(63191),m=d(70925),A=d(50226),s=d(47429),b=d(8929),O=d(42654),E=d(36787),h=d(43489);class L{constructor(c,u){this.predicate=c,this.inclusive=u}call(c,u){return u.subscribe(new Y(c,this.predicate,this.inclusive))}}class Y extends h.L{constructor(c,u,y){super(c),this.predicate=u,this.inclusive=y,this.index=0}_next(c){const u=this.destination;let y;try{y=this.predicate(c,this.index++)}catch(M){return void u.error(M)}this.nextOrComplete(c,y)}nextOrComplete(c,u){const y=this.destination;Boolean(u)?y.next(c):(this.inclusive&&y.next(c),y.complete())}}var J=d(72986),ue=d(7625),ce=d(91159);const Le=(0,m.Mq)();class de{constructor(c,u){this._viewportRuler=c,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=u}attach(){}enable(){if(this._canBeEnabled()){const c=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=c.style.left||"",this._previousHTMLStyles.top=c.style.top||"",c.style.left=(0,T.HM)(-this._previousScrollPosition.left),c.style.top=(0,T.HM)(-this._previousScrollPosition.top),c.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const c=this._document.documentElement,y=c.style,M=this._document.body.style,j=y.scrollBehavior||"",Ve=M.scrollBehavior||"";this._isEnabled=!1,y.left=this._previousHTMLStyles.left,y.top=this._previousHTMLStyles.top,c.classList.remove("cdk-global-scrollblock"),Le&&(y.scrollBehavior=M.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Le&&(y.scrollBehavior=j,M.scrollBehavior=Ve)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const u=this._document.body,y=this._viewportRuler.getViewportSize();return u.scrollHeight>y.height||u.scrollWidth>y.width}}class ae{constructor(c,u,y,M){this._scrollDispatcher=c,this._ngZone=u,this._viewportRuler=y,this._config=M,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(c){this._overlayRef=c}enable(){if(this._scrollSubscription)return;const c=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=c.subscribe(()=>{const u=this._viewportRuler.getViewportScrollPosition().top;Math.abs(u-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=c.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class V{enable(){}disable(){}attach(){}}function H(n,c){return c.some(u=>n.bottomu.bottom||n.rightu.right)}function X(n,c){return c.some(u=>n.topu.bottom||n.leftu.right)}class ie{constructor(c,u,y,M){this._scrollDispatcher=c,this._viewportRuler=u,this._ngZone=y,this._config=M,this._scrollSubscription=null}attach(c){this._overlayRef=c}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const u=this._overlayRef.overlayElement.getBoundingClientRect(),{width:y,height:M}=this._viewportRuler.getViewportSize();H(u,[{width:y,height:M,bottom:M,right:y,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let oe=(()=>{class n{constructor(u,y,M,j){this._scrollDispatcher=u,this._viewportRuler=y,this._ngZone=M,this.noop=()=>new V,this.close=Ve=>new ae(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ve),this.block=()=>new de(this._viewportRuler,this._document),this.reposition=Ve=>new ie(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ve),this._document=j}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class ge{constructor(c){if(this.scrollStrategy=new V,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,c){const u=Object.keys(c);for(const y of u)void 0!==c[y]&&(this[y]=c[y])}}}class se{constructor(c,u){this.connectionPair=c,this.scrollableViewProperties=u}}class me{constructor(c,u,y,M,j,Ve,nt,Mt,zt){this._portalOutlet=c,this._host=u,this._pane=y,this._config=M,this._ngZone=j,this._keyboardDispatcher=Ve,this._document=nt,this._location=Mt,this._outsideClickDispatcher=zt,this._backdropElement=null,this._backdropClick=new b.xQ,this._attachments=new b.xQ,this._detachments=new b.xQ,this._locationChanges=O.w.EMPTY,this._backdropClickHandler=Vt=>this._backdropClick.next(Vt),this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,M.scrollStrategy&&(this._scrollStrategy=M.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=M.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(c){let u=this._portalOutlet.attach(c);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,J.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),u}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const c=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),c}dispose(){var c;const u=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(c=this._host)||void 0===c||c.remove(),this._previousHostParent=this._pane=this._host=null,u&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(c){c!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=c,this.hasAttached()&&(c.attach(this),this.updatePosition()))}updateSize(c){this._config=Object.assign(Object.assign({},this._config),c),this._updateElementSize()}setDirection(c){this._config=Object.assign(Object.assign({},this._config),{direction:c}),this._updateElementDirection()}addPanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!0)}removePanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!1)}getDirection(){const c=this._config.direction;return c?"string"==typeof c?c:c.value:"ltr"}updateScrollStrategy(c){c!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=c,this.hasAttached()&&(c.attach(this),c.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const c=this._pane.style;c.width=(0,T.HM)(this._config.width),c.height=(0,T.HM)(this._config.height),c.minWidth=(0,T.HM)(this._config.minWidth),c.minHeight=(0,T.HM)(this._config.minHeight),c.maxWidth=(0,T.HM)(this._config.maxWidth),c.maxHeight=(0,T.HM)(this._config.maxHeight)}_togglePointerEvents(c){this._pane.style.pointerEvents=c?"":"none"}_attachBackdrop(){const c="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(c)})}):this._backdropElement.classList.add(c)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const c=this._backdropElement;if(!c)return;let u;const y=()=>{c&&(c.removeEventListener("click",this._backdropClickHandler),c.removeEventListener("transitionend",y),this._disposeBackdrop(c)),this._config.backdropClass&&this._toggleClasses(c,this._config.backdropClass,!1),clearTimeout(u)};c.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{c.addEventListener("transitionend",y)}),c.style.pointerEvents="none",u=this._ngZone.runOutsideAngular(()=>setTimeout(y,500))}_toggleClasses(c,u,y){const M=(0,T.Eq)(u||[]).filter(j=>!!j);M.length&&(y?c.classList.add(...M):c.classList.remove(...M))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const c=this._ngZone.onStable.pipe((0,ue.R)((0,E.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),c.unsubscribe())})})}_disposeScrollStrategy(){const c=this._scrollStrategy;c&&(c.disable(),c.detach&&c.detach())}_disposeBackdrop(c){c&&(c.remove(),this._backdropElement===c&&(this._backdropElement=null))}}let Te=(()=>{class n{constructor(u,y){this._platform=y,this._document=u}ngOnDestroy(){var u;null===(u=this._containerElement)||void 0===u||u.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const u="cdk-overlay-container";if(this._platform.isBrowser||(0,m.Oy)()){const M=this._document.querySelectorAll(`.${u}[platform="server"], .${u}[platform="test"]`);for(let j=0;j{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const c=this._originRect,u=this._overlayRect,y=this._viewportRect,M=this._containerRect,j=[];let Ve;for(let nt of this._preferredPositions){let Mt=this._getOriginPoint(c,M,nt),zt=this._getOverlayPoint(Mt,u,nt),Vt=this._getOverlayFit(zt,u,y,nt);if(Vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(nt,Mt);this._canFitWithFlexibleDimensions(Vt,zt,y)?j.push({position:nt,origin:Mt,overlayRect:u,boundingBoxRect:this._calculateBoundingBoxRect(Mt,nt)}):(!Ve||Ve.overlayFit.visibleAreaMt&&(Mt=Vt,nt=zt)}return this._isPushed=!1,void this._applyPosition(nt.position,nt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ve.position,Ve.originPoint);this._applyPosition(Ve.position,Ve.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ie(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(te),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const c=this._lastPosition;if(c){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const u=this._getOriginPoint(this._originRect,this._containerRect,c);this._applyPosition(c,u)}else this.apply()}withScrollableContainers(c){return this._scrollables=c,this}withPositions(c){return this._preferredPositions=c,-1===c.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(c){return this._viewportMargin=c,this}withFlexibleDimensions(c=!0){return this._hasFlexibleDimensions=c,this}withGrowAfterOpen(c=!0){return this._growAfterOpen=c,this}withPush(c=!0){return this._canPush=c,this}withLockedPosition(c=!0){return this._positionLocked=c,this}setOrigin(c){return this._origin=c,this}withDefaultOffsetX(c){return this._offsetX=c,this}withDefaultOffsetY(c){return this._offsetY=c,this}withTransformOriginOn(c){return this._transformOriginSelector=c,this}_getOriginPoint(c,u,y){let M,j;if("center"==y.originX)M=c.left+c.width/2;else{const Ve=this._isRtl()?c.right:c.left,nt=this._isRtl()?c.left:c.right;M="start"==y.originX?Ve:nt}return u.left<0&&(M-=u.left),j="center"==y.originY?c.top+c.height/2:"top"==y.originY?c.top:c.bottom,u.top<0&&(j-=u.top),{x:M,y:j}}_getOverlayPoint(c,u,y){let M,j;return M="center"==y.overlayX?-u.width/2:"start"===y.overlayX?this._isRtl()?-u.width:0:this._isRtl()?0:-u.width,j="center"==y.overlayY?-u.height/2:"top"==y.overlayY?0:-u.height,{x:c.x+M,y:c.y+j}}_getOverlayFit(c,u,y,M){const j=fe(u);let{x:Ve,y:nt}=c,Mt=this._getOffset(M,"x"),zt=this._getOffset(M,"y");Mt&&(Ve+=Mt),zt&&(nt+=zt);let At=0-nt,Ht=nt+j.height-y.height,bt=this._subtractOverflows(j.width,0-Ve,Ve+j.width-y.width),et=this._subtractOverflows(j.height,At,Ht),kt=bt*et;return{visibleArea:kt,isCompletelyWithinViewport:j.width*j.height===kt,fitsInViewportVertically:et===j.height,fitsInViewportHorizontally:bt==j.width}}_canFitWithFlexibleDimensions(c,u,y){if(this._hasFlexibleDimensions){const M=y.bottom-u.y,j=y.right-u.x,Ve=He(this._overlayRef.getConfig().minHeight),nt=He(this._overlayRef.getConfig().minWidth),zt=c.fitsInViewportHorizontally||null!=nt&&nt<=j;return(c.fitsInViewportVertically||null!=Ve&&Ve<=M)&&zt}return!1}_pushOverlayOnScreen(c,u,y){if(this._previousPushAmount&&this._positionLocked)return{x:c.x+this._previousPushAmount.x,y:c.y+this._previousPushAmount.y};const M=fe(u),j=this._viewportRect,Ve=Math.max(c.x+M.width-j.width,0),nt=Math.max(c.y+M.height-j.height,0),Mt=Math.max(j.top-y.top-c.y,0),zt=Math.max(j.left-y.left-c.x,0);let Vt=0,Wt=0;return Vt=M.width<=j.width?zt||-Ve:c.xbt&&!this._isInitialRender&&!this._growAfterOpen&&(Ve=c.y-bt/2)}if("end"===u.overlayX&&!M||"start"===u.overlayX&&M)At=y.width-c.x+this._viewportMargin,Vt=c.x-this._viewportMargin;else if("start"===u.overlayX&&!M||"end"===u.overlayX&&M)Wt=c.x,Vt=y.right-c.x;else{const Ht=Math.min(y.right-c.x+y.left,c.x),bt=this._lastBoundingBoxSize.width;Vt=2*Ht,Wt=c.x-Ht,Vt>bt&&!this._isInitialRender&&!this._growAfterOpen&&(Wt=c.x-bt/2)}return{top:Ve,left:Wt,bottom:nt,right:At,width:Vt,height:j}}_setBoundingBoxStyles(c,u){const y=this._calculateBoundingBoxRect(c,u);!this._isInitialRender&&!this._growAfterOpen&&(y.height=Math.min(y.height,this._lastBoundingBoxSize.height),y.width=Math.min(y.width,this._lastBoundingBoxSize.width));const M={};if(this._hasExactPosition())M.top=M.left="0",M.bottom=M.right=M.maxHeight=M.maxWidth="",M.width=M.height="100%";else{const j=this._overlayRef.getConfig().maxHeight,Ve=this._overlayRef.getConfig().maxWidth;M.height=(0,T.HM)(y.height),M.top=(0,T.HM)(y.top),M.bottom=(0,T.HM)(y.bottom),M.width=(0,T.HM)(y.width),M.left=(0,T.HM)(y.left),M.right=(0,T.HM)(y.right),M.alignItems="center"===u.overlayX?"center":"end"===u.overlayX?"flex-end":"flex-start",M.justifyContent="center"===u.overlayY?"center":"bottom"===u.overlayY?"flex-end":"flex-start",j&&(M.maxHeight=(0,T.HM)(j)),Ve&&(M.maxWidth=(0,T.HM)(Ve))}this._lastBoundingBoxSize=y,Ie(this._boundingBox.style,M)}_resetBoundingBoxStyles(){Ie(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ie(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(c,u){const y={},M=this._hasExactPosition(),j=this._hasFlexibleDimensions,Ve=this._overlayRef.getConfig();if(M){const Vt=this._viewportRuler.getViewportScrollPosition();Ie(y,this._getExactOverlayY(u,c,Vt)),Ie(y,this._getExactOverlayX(u,c,Vt))}else y.position="static";let nt="",Mt=this._getOffset(u,"x"),zt=this._getOffset(u,"y");Mt&&(nt+=`translateX(${Mt}px) `),zt&&(nt+=`translateY(${zt}px)`),y.transform=nt.trim(),Ve.maxHeight&&(M?y.maxHeight=(0,T.HM)(Ve.maxHeight):j&&(y.maxHeight="")),Ve.maxWidth&&(M?y.maxWidth=(0,T.HM)(Ve.maxWidth):j&&(y.maxWidth="")),Ie(this._pane.style,y)}_getExactOverlayY(c,u,y){let M={top:"",bottom:""},j=this._getOverlayPoint(u,this._overlayRect,c);return this._isPushed&&(j=this._pushOverlayOnScreen(j,this._overlayRect,y)),"bottom"===c.overlayY?M.bottom=this._document.documentElement.clientHeight-(j.y+this._overlayRect.height)+"px":M.top=(0,T.HM)(j.y),M}_getExactOverlayX(c,u,y){let Ve,M={left:"",right:""},j=this._getOverlayPoint(u,this._overlayRect,c);return this._isPushed&&(j=this._pushOverlayOnScreen(j,this._overlayRect,y)),Ve=this._isRtl()?"end"===c.overlayX?"left":"right":"end"===c.overlayX?"right":"left","right"===Ve?M.right=this._document.documentElement.clientWidth-(j.x+this._overlayRect.width)+"px":M.left=(0,T.HM)(j.x),M}_getScrollVisibility(){const c=this._getOriginRect(),u=this._pane.getBoundingClientRect(),y=this._scrollables.map(M=>M.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:X(c,y),isOriginOutsideView:H(c,y),isOverlayClipped:X(u,y),isOverlayOutsideView:H(u,y)}}_subtractOverflows(c,...u){return u.reduce((y,M)=>y-Math.max(M,0),c)}_getNarrowedViewportRect(){const c=this._document.documentElement.clientWidth,u=this._document.documentElement.clientHeight,y=this._viewportRuler.getViewportScrollPosition();return{top:y.top+this._viewportMargin,left:y.left+this._viewportMargin,right:y.left+c-this._viewportMargin,bottom:y.top+u-this._viewportMargin,width:c-2*this._viewportMargin,height:u-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(c,u){return"x"===u?null==c.offsetX?this._offsetX:c.offsetX:null==c.offsetY?this._offsetY:c.offsetY}_validatePositions(){}_addPanelClasses(c){this._pane&&(0,T.Eq)(c).forEach(u=>{""!==u&&-1===this._appliedPanelClasses.indexOf(u)&&(this._appliedPanelClasses.push(u),this._pane.classList.add(u))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(c=>{this._pane.classList.remove(c)}),this._appliedPanelClasses=[])}_getOriginRect(){const c=this._origin;if(c instanceof g.SBq)return c.nativeElement.getBoundingClientRect();if(c instanceof Element)return c.getBoundingClientRect();const u=c.width||0,y=c.height||0;return{top:c.y,bottom:c.y+y,left:c.x,right:c.x+u,height:y,width:u}}}function Ie(n,c){for(let u in c)c.hasOwnProperty(u)&&(n[u]=c[u]);return n}function He(n){if("number"!=typeof n&&null!=n){const[c,u]=n.split(R);return u&&"px"!==u?null:parseFloat(c)}return n||null}function fe(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const Ce="cdk-global-overlay-wrapper";class Ye{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(c){const u=c.getConfig();this._overlayRef=c,this._width&&!u.width&&c.updateSize({width:this._width}),this._height&&!u.height&&c.updateSize({height:this._height}),c.hostElement.classList.add(Ce),this._isDisposed=!1}top(c=""){return this._bottomOffset="",this._topOffset=c,this._alignItems="flex-start",this}left(c=""){return this._rightOffset="",this._leftOffset=c,this._justifyContent="flex-start",this}bottom(c=""){return this._topOffset="",this._bottomOffset=c,this._alignItems="flex-end",this}right(c=""){return this._leftOffset="",this._rightOffset=c,this._justifyContent="flex-end",this}width(c=""){return this._overlayRef?this._overlayRef.updateSize({width:c}):this._width=c,this}height(c=""){return this._overlayRef?this._overlayRef.updateSize({height:c}):this._height=c,this}centerHorizontally(c=""){return this.left(c),this._justifyContent="center",this}centerVertically(c=""){return this.top(c),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const c=this._overlayRef.overlayElement.style,u=this._overlayRef.hostElement.style,y=this._overlayRef.getConfig(),{width:M,height:j,maxWidth:Ve,maxHeight:nt}=y,Mt=!("100%"!==M&&"100vw"!==M||Ve&&"100%"!==Ve&&"100vw"!==Ve),zt=!("100%"!==j&&"100vh"!==j||nt&&"100%"!==nt&&"100vh"!==nt);c.position=this._cssPosition,c.marginLeft=Mt?"0":this._leftOffset,c.marginTop=zt?"0":this._topOffset,c.marginBottom=this._bottomOffset,c.marginRight=this._rightOffset,Mt?u.justifyContent="flex-start":"center"===this._justifyContent?u.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?u.justifyContent="flex-end":"flex-end"===this._justifyContent&&(u.justifyContent="flex-start"):u.justifyContent=this._justifyContent,u.alignItems=zt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const c=this._overlayRef.overlayElement.style,u=this._overlayRef.hostElement,y=u.style;u.classList.remove(Ce),y.justifyContent=y.alignItems=c.marginTop=c.marginBottom=c.marginLeft=c.marginRight=c.position="",this._overlayRef=null,this._isDisposed=!0}}let Xe=(()=>{class n{constructor(u,y,M,j){this._viewportRuler=u,this._document=y,this._platform=M,this._overlayContainer=j}global(){return new Ye}flexibleConnectedTo(u){return new Oe(u,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(e.rL),g.LFG(f.K0),g.LFG(m.t4),g.LFG(Te))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tt=(()=>{class n{constructor(u){this._attachedOverlays=[],this._document=u}ngOnDestroy(){this.detach()}add(u){this.remove(u),this._attachedOverlays.push(u)}remove(u){const y=this._attachedOverlays.indexOf(u);y>-1&&this._attachedOverlays.splice(y,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),at=(()=>{class n extends tt{constructor(u){super(u),this._keydownListener=y=>{const M=this._attachedOverlays;for(let j=M.length-1;j>-1;j--)if(M[j]._keydownEvents.observers.length>0){M[j]._keydownEvents.next(y);break}}}add(u){super.add(u),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N=(()=>{class n extends tt{constructor(u,y){super(u),this._platform=y,this._cursorStyleIsSet=!1,this._pointerDownListener=M=>{this._pointerDownEventTarget=(0,m.sA)(M)},this._clickListener=M=>{const j=(0,m.sA)(M),Ve="click"===M.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:j;this._pointerDownEventTarget=null;const nt=this._attachedOverlays.slice();for(let Mt=nt.length-1;Mt>-1;Mt--){const zt=nt[Mt];if(!(zt._outsidePointerEvents.observers.length<1)&&zt.hasAttached()){if(zt.overlayElement.contains(j)||zt.overlayElement.contains(Ve))break;zt._outsidePointerEvents.next(M)}}}}add(u){if(super.add(u),!this._isAttached){const y=this._document.body;y.addEventListener("pointerdown",this._pointerDownListener,!0),y.addEventListener("click",this._clickListener,!0),y.addEventListener("auxclick",this._clickListener,!0),y.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=y.style.cursor,y.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const u=this._document.body;u.removeEventListener("pointerdown",this._pointerDownListener,!0),u.removeEventListener("click",this._clickListener,!0),u.removeEventListener("auxclick",this._clickListener,!0),u.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(u.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0),g.LFG(m.t4))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),he=0,D=(()=>{class n{constructor(u,y,M,j,Ve,nt,Mt,zt,Vt,Wt,At){this.scrollStrategies=u,this._overlayContainer=y,this._componentFactoryResolver=M,this._positionBuilder=j,this._keyboardDispatcher=Ve,this._injector=nt,this._ngZone=Mt,this._document=zt,this._directionality=Vt,this._location=Wt,this._outsideClickDispatcher=At}create(u){const y=this._createHostElement(),M=this._createPaneElement(y),j=this._createPortalOutlet(M),Ve=new ge(u);return Ve.direction=Ve.direction||this._directionality.value,new me(j,y,M,Ve,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(u){const y=this._document.createElement("div");return y.id="cdk-overlay-"+he++,y.classList.add("cdk-overlay-pane"),u.appendChild(y),y}_createHostElement(){const u=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(u),u}_createPortalOutlet(u){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new s.u0(u,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(oe),g.LFG(Te),g.LFG(g._Vd),g.LFG(Xe),g.LFG(at),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(f.K0),g.LFG(A.Is),g.LFG(f.Ye),g.LFG(N))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac}),n})();const S=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],I=new g.OlP("cdk-connected-overlay-scroll-strategy");let P=(()=>{class n{constructor(u){this.elementRef=u}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(g.SBq))},n.\u0275dir=g.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),i=(()=>{class n{constructor(u,y,M,j,Ve){this._overlay=u,this._dir=Ve,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=O.w.EMPTY,this._attachSubscription=O.w.EMPTY,this._detachSubscription=O.w.EMPTY,this._positionSubscription=O.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new s.UE(y,M),this._scrollStrategyFactory=j,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(u){this._offsetX=u,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(u){this._offsetY=u,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(u){this._hasBackdrop=(0,T.Ig)(u)}get lockPosition(){return this._lockPosition}set lockPosition(u){this._lockPosition=(0,T.Ig)(u)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(u){this._flexibleDimensions=(0,T.Ig)(u)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(u){this._growAfterOpen=(0,T.Ig)(u)}get push(){return this._push}set push(u){this._push=(0,T.Ig)(u)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(u){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),u.origin&&this.open&&this._position.apply()),u.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=S);const u=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=u.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=u.detachments().subscribe(()=>this.detach.emit()),u.keydownEvents().subscribe(y=>{this.overlayKeydown.next(y),y.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(y)&&(y.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(y=>{this.overlayOutsideClick.next(y)})}_buildConfig(){const u=this._position=this.positionStrategy||this._createPositionStrategy(),y=new ge({direction:this._dir,positionStrategy:u,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(y.width=this.width),(this.height||0===this.height)&&(y.height=this.height),(this.minWidth||0===this.minWidth)&&(y.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(y.minHeight=this.minHeight),this.backdropClass&&(y.backdropClass=this.backdropClass),this.panelClass&&(y.panelClass=this.panelClass),y}_updatePositionStrategy(u){const y=this.positions.map(M=>({originX:M.originX,originY:M.originY,overlayX:M.overlayX,overlayY:M.overlayY,offsetX:M.offsetX||this.offsetX,offsetY:M.offsetY||this.offsetY,panelClass:M.panelClass||void 0}));return u.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(y).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const u=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(u),u}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof P?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(u=>{this.backdropClick.emit(u)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function k(n,c=!1){return u=>u.lift(new L(n,c))}(()=>this.positionChange.observers.length>0)).subscribe(u=>{this.positionChange.emit(u),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(D),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(I),g.Y36(A.Is,8))},n.\u0275dir=g.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[g.TTD]}),n})();const p={provide:I,deps:[D],useFactory:function r(n){return()=>n.scrollStrategies.reposition()}};let o=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({providers:[D,p],imports:[[A.vT,s.eL,e.Cl],e.Cl]}),n})()},70925:(Ke,be,d)=>{"use strict";d.d(be,{t4:()=>T,ud:()=>m,sA:()=>ke,ht:()=>de,kV:()=>Le,Oy:()=>ae,_i:()=>J,qK:()=>b,i$:()=>h,Mq:()=>Y});var e=d(5e3),f=d(69808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(V){g=!1}let A,T=(()=>{class V{constructor(X){this._platformId=X,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&"undefined"!=typeof CSS&&!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}}return V.\u0275fac=function(X){return new(X||V)(e.LFG(e.Lbi))},V.\u0275prov=e.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),m=(()=>{class V{}return V.\u0275fac=function(X){return new(X||V)},V.\u0275mod=e.oAB({type:V}),V.\u0275inj=e.cJS({}),V})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(s),A;let V=document.createElement("input");return A=new Set(s.filter(H=>(V.setAttribute("type",H),V.type===H))),A}let O,k,L,ue;function h(V){return function E(){if(null==O&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>O=!0}))}finally{O=O||!1}return O}()?V:!!V.capture}function Y(){if(null==L){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return L=!1,L;if("scrollBehavior"in document.documentElement.style)L=!0;else{const V=Element.prototype.scrollTo;L=!!V&&!/\{\s*\[native code\]\s*\}/.test(V.toString())}}return L}function J(){if("object"!=typeof document||!document)return 0;if(null==k){const V=document.createElement("div"),H=V.style;V.dir="rtl",H.width="1px",H.overflow="auto",H.visibility="hidden",H.pointerEvents="none",H.position="absolute";const X=document.createElement("div"),ie=X.style;ie.width="2px",ie.height="1px",V.appendChild(X),document.body.appendChild(V),k=0,0===V.scrollLeft&&(V.scrollLeft=1,k=0===V.scrollLeft?1:2),V.remove()}return k}function Le(V){if(function ce(){if(null==ue){const V="undefined"!=typeof document?document.head:null;ue=!(!V||!V.createShadowRoot&&!V.attachShadow)}return ue}()){const H=V.getRootNode?V.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&H instanceof ShadowRoot)return H}return null}function de(){let V="undefined"!=typeof document&&document?document.activeElement:null;for(;V&&V.shadowRoot;){const H=V.shadowRoot.activeElement;if(H===V)break;V=H}return V}function ke(V){return V.composedPath?V.composedPath()[0]:V.target}function ae(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},47429:(Ke,be,d)=>{"use strict";d.d(be,{en:()=>L,ig:()=>ce,Pl:()=>de,C5:()=>E,u0:()=>J,eL:()=>ae,UE:()=>h});var e=d(5e3),f=d(69808);class O{attach(X){return this._attachedHost=X,X.attach(this)}detach(){let X=this._attachedHost;null!=X&&(this._attachedHost=null,X.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(X){this._attachedHost=X}}class E extends O{constructor(X,ie,oe,ge){super(),this.component=X,this.viewContainerRef=ie,this.injector=oe,this.componentFactoryResolver=ge}}class h extends O{constructor(X,ie,oe){super(),this.templateRef=X,this.viewContainerRef=ie,this.context=oe}get origin(){return this.templateRef.elementRef}attach(X,ie=this.context){return this.context=ie,super.attach(X)}detach(){return this.context=void 0,super.detach()}}class k extends O{constructor(X){super(),this.element=X instanceof e.SBq?X.nativeElement:X}}class L{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(X){return X instanceof E?(this._attachedPortal=X,this.attachComponentPortal(X)):X instanceof h?(this._attachedPortal=X,this.attachTemplatePortal(X)):this.attachDomPortal&&X instanceof k?(this._attachedPortal=X,this.attachDomPortal(X)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(X){this._disposeFn=X}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class J extends L{constructor(X,ie,oe,ge,Ne){super(),this.outletElement=X,this._componentFactoryResolver=ie,this._appRef=oe,this._defaultInjector=ge,this.attachDomPortal=Fe=>{const se=Fe.element,Me=this._document.createComment("dom-portal");se.parentNode.insertBefore(Me,se),this.outletElement.appendChild(se),this._attachedPortal=Fe,super.setDisposeFn(()=>{Me.parentNode&&Me.parentNode.replaceChild(se,Me)})},this._document=Ne}attachComponentPortal(X){const oe=(X.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(X.component);let ge;return X.viewContainerRef?(ge=X.viewContainerRef.createComponent(oe,X.viewContainerRef.length,X.injector||X.viewContainerRef.injector),this.setDisposeFn(()=>ge.destroy())):(ge=oe.create(X.injector||this._defaultInjector),this._appRef.attachView(ge.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ge.hostView),ge.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ge)),this._attachedPortal=X,ge}attachTemplatePortal(X){let ie=X.viewContainerRef,oe=ie.createEmbeddedView(X.templateRef,X.context);return oe.rootNodes.forEach(ge=>this.outletElement.appendChild(ge)),oe.detectChanges(),this.setDisposeFn(()=>{let ge=ie.indexOf(oe);-1!==ge&&ie.remove(ge)}),this._attachedPortal=X,oe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(X){return X.hostView.rootNodes[0]}}let ce=(()=>{class H extends h{constructor(ie,oe){super(ie,oe)}}return H.\u0275fac=function(ie){return new(ie||H)(e.Y36(e.Rgc),e.Y36(e.s_b))},H.\u0275dir=e.lG2({type:H,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),H})(),de=(()=>{class H extends L{constructor(ie,oe,ge){super(),this._componentFactoryResolver=ie,this._viewContainerRef=oe,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Ne=>{const Fe=Ne.element,se=this._document.createComment("dom-portal");Ne.setAttachedHost(this),Fe.parentNode.insertBefore(se,Fe),this._getRootNode().appendChild(Fe),this._attachedPortal=Ne,super.setDisposeFn(()=>{se.parentNode&&se.parentNode.replaceChild(Fe,se)})},this._document=ge}get portal(){return this._attachedPortal}set portal(ie){this.hasAttached()&&!ie&&!this._isInitialized||(this.hasAttached()&&super.detach(),ie&&super.attach(ie),this._attachedPortal=ie||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(ie){ie.setAttachedHost(this);const oe=null!=ie.viewContainerRef?ie.viewContainerRef:this._viewContainerRef,Ne=(ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ie.component),Fe=oe.createComponent(Ne,oe.length,ie.injector||oe.injector);return oe!==this._viewContainerRef&&this._getRootNode().appendChild(Fe.hostView.rootNodes[0]),super.setDisposeFn(()=>Fe.destroy()),this._attachedPortal=ie,this._attachedRef=Fe,this.attached.emit(Fe),Fe}attachTemplatePortal(ie){ie.setAttachedHost(this);const oe=this._viewContainerRef.createEmbeddedView(ie.templateRef,ie.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ie,this._attachedRef=oe,this.attached.emit(oe),oe}_getRootNode(){const ie=this._viewContainerRef.element.nativeElement;return ie.nodeType===ie.ELEMENT_NODE?ie:ie.parentNode}}return H.\u0275fac=function(ie){return new(ie||H)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(f.K0))},H.\u0275dir=e.lG2({type:H,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=e.oAB({type:H}),H.\u0275inj=e.cJS({}),H})()},53435:(Ke,be,d)=>{"use strict";d.d(be,{xd:()=>Me,PQ:()=>Te,ZD:()=>Ye,x0:()=>Ce,N7:()=>He,mF:()=>me,Cl:()=>Xe,rL:()=>R});var e=d(63191),f=d(5e3),g=d(8929),T=d(21086),m=d(32916),A=d(23753),s=d(90352),b=d(8139),O=d(42654),E=d(54715),h=d(43489);class L{call(at,N){return N.subscribe(new Y(at))}}class Y extends h.L{constructor(at){super(at),this.hasPrev=!1}_next(at){let N;this.hasPrev?N=[this.prev,at]:this.hasPrev=!0,this.prev=at,N&&this.destination.next(N)}}var J=d(75778),ue=d(57138),ce=d(92198),Le=d(7625),de=d(1059),ke=d(87545),ae=d(5154),V=d(69808),H=d(70925),X=d(50226),ie=d(20449);const oe=["contentWrapper"],ge=["*"],Ne=new f.OlP("VIRTUAL_SCROLL_STRATEGY");class Fe{constructor(at,N,he){this._scrolledIndexChange=new g.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,J.x)()),this._viewport=null,this._itemSize=at,this._minBufferPx=N,this._maxBufferPx=he}attach(at){this._viewport=at,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(at,N,he){this._itemSize=at,this._minBufferPx=N,this._maxBufferPx=he,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(at,N){this._viewport&&this._viewport.scrollToOffset(at*this._itemSize,N)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const at=this._viewport.getRenderedRange(),N={start:at.start,end:at.end},he=this._viewport.getViewportSize(),D=this._viewport.getDataLength();let S=this._viewport.measureScrollOffset(),I=this._itemSize>0?S/this._itemSize:0;if(N.end>D){const i=Math.ceil(he/this._itemSize),r=Math.max(0,Math.min(I,D-i));I!=r&&(I=r,S=r*this._itemSize,N.start=Math.floor(I)),N.end=Math.max(0,Math.min(D,N.start+i))}const P=S-N.start*this._itemSize;if(P0&&(N.end=Math.min(D,N.end+r),N.start=Math.max(0,Math.floor(I-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(N),this._viewport.setRenderedContentOffset(this._itemSize*N.start),this._scrolledIndexChange.next(Math.floor(I))}}function se(tt){return tt._scrollStrategy}let Me=(()=>{class tt{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Fe(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(N){this._itemSize=(0,e.su)(N)}get minBufferPx(){return this._minBufferPx}set minBufferPx(N){this._minBufferPx=(0,e.su)(N)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(N){this._maxBufferPx=(0,e.su)(N)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=f.lG2({type:tt,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[f._Bn([{provide:Ne,useFactory:se,deps:[(0,f.Gpc)(()=>tt)]}]),f.TTD]}),tt})(),me=(()=>{class tt{constructor(N,he,D){this._ngZone=N,this._platform=he,this._scrolled=new g.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=D}register(N){this.scrollContainers.has(N)||this.scrollContainers.set(N,N.elementScrolled().subscribe(()=>this._scrolled.next(N)))}deregister(N){const he=this.scrollContainers.get(N);he&&(he.unsubscribe(),this.scrollContainers.delete(N))}scrolled(N=20){return this._platform.isBrowser?new m.y(he=>{this._globalSubscription||this._addGlobalListener();const D=N>0?this._scrolled.pipe((0,ue.e)(N)).subscribe(he):this._scrolled.subscribe(he);return this._scrolledCount++,()=>{D.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((N,he)=>this.deregister(he)),this._scrolled.complete()}ancestorScrolled(N,he){const D=this.getAncestorScrollContainers(N);return this.scrolled(he).pipe((0,ce.h)(S=>!S||D.indexOf(S)>-1))}getAncestorScrollContainers(N){const he=[];return this.scrollContainers.forEach((D,S)=>{this._scrollableContainsElement(S,N)&&he.push(S)}),he}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(N,he){let D=(0,e.fI)(he),S=N.getElementRef().nativeElement;do{if(D==S)return!0}while(D=D.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const N=this._getWindow();return(0,A.R)(N.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return tt.\u0275fac=function(N){return new(N||tt)(f.LFG(f.R0b),f.LFG(H.t4),f.LFG(V.K0,8))},tt.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Te=(()=>{class tt{constructor(N,he,D,S){this.elementRef=N,this.scrollDispatcher=he,this.ngZone=D,this.dir=S,this._destroyed=new g.xQ,this._elementScrolled=new m.y(I=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,Le.R)(this._destroyed)).subscribe(I)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(N){const he=this.elementRef.nativeElement,D=this.dir&&"rtl"==this.dir.value;null==N.left&&(N.left=D?N.end:N.start),null==N.right&&(N.right=D?N.start:N.end),null!=N.bottom&&(N.top=he.scrollHeight-he.clientHeight-N.bottom),D&&0!=(0,H._i)()?(null!=N.left&&(N.right=he.scrollWidth-he.clientWidth-N.left),2==(0,H._i)()?N.left=N.right:1==(0,H._i)()&&(N.left=N.right?-N.right:N.right)):null!=N.right&&(N.left=he.scrollWidth-he.clientWidth-N.right),this._applyScrollToOptions(N)}_applyScrollToOptions(N){const he=this.elementRef.nativeElement;(0,H.Mq)()?he.scrollTo(N):(null!=N.top&&(he.scrollTop=N.top),null!=N.left&&(he.scrollLeft=N.left))}measureScrollOffset(N){const he="left",D="right",S=this.elementRef.nativeElement;if("top"==N)return S.scrollTop;if("bottom"==N)return S.scrollHeight-S.clientHeight-S.scrollTop;const I=this.dir&&"rtl"==this.dir.value;return"start"==N?N=I?D:he:"end"==N&&(N=I?he:D),I&&2==(0,H._i)()?N==he?S.scrollWidth-S.clientWidth-S.scrollLeft:S.scrollLeft:I&&1==(0,H._i)()?N==he?S.scrollLeft+S.scrollWidth-S.clientWidth:-S.scrollLeft:N==he?S.scrollLeft:S.scrollWidth-S.clientWidth-S.scrollLeft}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.SBq),f.Y36(me),f.Y36(f.R0b),f.Y36(X.Is,8))},tt.\u0275dir=f.lG2({type:tt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),tt})(),R=(()=>{class tt{constructor(N,he,D){this._platform=N,this._change=new g.xQ,this._changeListener=S=>{this._change.next(S)},this._document=D,he.runOutsideAngular(()=>{if(N.isBrowser){const S=this._getWindow();S.addEventListener("resize",this._changeListener),S.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const N=this._getWindow();N.removeEventListener("resize",this._changeListener),N.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const N={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),N}getViewportRect(){const N=this.getViewportScrollPosition(),{width:he,height:D}=this.getViewportSize();return{top:N.top,left:N.left,bottom:N.top+D,right:N.left+he,height:D,width:he}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const N=this._document,he=this._getWindow(),D=N.documentElement,S=D.getBoundingClientRect();return{top:-S.top||N.body.scrollTop||he.scrollY||D.scrollTop||0,left:-S.left||N.body.scrollLeft||he.scrollX||D.scrollLeft||0}}change(N=20){return N>0?this._change.pipe((0,ue.e)(N)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const N=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:N.innerWidth,height:N.innerHeight}:{width:0,height:0}}}return tt.\u0275fac=function(N){return new(N||tt)(f.LFG(H.t4),f.LFG(f.R0b),f.LFG(V.K0,8))},tt.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();const Ie="undefined"!=typeof requestAnimationFrame?s.r:b.e;let He=(()=>{class tt extends Te{constructor(N,he,D,S,I,P,i){super(N,P,D,I),this.elementRef=N,this._changeDetectorRef=he,this._scrollStrategy=S,this._detachedSubject=new g.xQ,this._renderedRangeSubject=new g.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new m.y(r=>this._scrollStrategy.scrolledIndexChange.subscribe(p=>Promise.resolve().then(()=>this.ngZone.run(()=>r.next(p))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=O.w.EMPTY,this._viewportChanges=i.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(N){this._orientation!==N&&(this._orientation=N,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(N){this._appendOnly=(0,e.Ig)(N)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,de.O)(null),(0,ue.e)(0,Ie)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(N){this.ngZone.runOutsideAngular(()=>{this._forOf=N,this._forOf.dataStream.pipe((0,Le.R)(this._detachedSubject)).subscribe(he=>{const D=he.length;D!==this._dataLength&&(this._dataLength=D,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(N){this._totalContentSize!==N&&(this._totalContentSize=N,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(N){(function Oe(tt,at){return tt.start==at.start&&tt.end==at.end})(this._renderedRange,N)||(this.appendOnly&&(N={start:0,end:Math.max(this._renderedRange.end,N.end)}),this._renderedRangeSubject.next(this._renderedRange=N),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(N,he="to-start"){const S="horizontal"==this.orientation,I=S?"X":"Y";let i=`translate${I}(${Number((S&&this.dir&&"rtl"==this.dir.value?-1:1)*N)}px)`;this._renderedContentOffset=N=this.appendOnly&&"to-start"===he?0:N,"to-end"===he&&(i+=` translate${I}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=i&&(this._renderedContentTransform=i,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(N,he="auto"){const D={behavior:he};"horizontal"===this.orientation?D.start=N:D.top=N,this.scrollTo(D)}scrollToIndex(N,he="auto"){this._scrollStrategy.scrollToIndex(N,he)}measureScrollOffset(N){return super.measureScrollOffset(N||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const N=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?N.offsetWidth:N.offsetHeight}measureRangeSize(N){return this._forOf?this._forOf.measureRangeSize(N,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const N=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?N.clientWidth:N.clientHeight}_markChangeDetectionNeeded(N){N&&this._runAfterChangeDetection.push(N),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const N=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const he of N)he()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(f.R0b),f.Y36(Ne,8),f.Y36(X.Is,8),f.Y36(me),f.Y36(R))},tt.\u0275cmp=f.Xpm({type:tt,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(N,he){if(1&N&&f.Gf(oe,7),2&N){let D;f.iGM(D=f.CRH())&&(he._contentWrapper=D.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(N,he){2&N&&f.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===he.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==he.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[f._Bn([{provide:Te,useExisting:tt}]),f.qOj],ngContentSelectors:ge,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(N,he){1&N&&(f.F$t(),f.TgZ(0,"div",0,1),f.Hsn(2),f.qZA(),f._UZ(3,"div",2)),2&N&&(f.xp6(3),f.Udp("width",he._totalContentWidth)("height",he._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),tt})();function fe(tt,at,N){if(!N.getBoundingClientRect)return 0;const D=N.getBoundingClientRect();return"horizontal"===tt?"start"===at?D.left:D.right:"start"===at?D.top:D.bottom}let Ce=(()=>{class tt{constructor(N,he,D,S,I,P){this._viewContainerRef=N,this._template=he,this._differs=D,this._viewRepeater=S,this._viewport=I,this.viewChange=new g.xQ,this._dataSourceChanges=new g.xQ,this.dataStream=this._dataSourceChanges.pipe((0,de.O)(null),function k(){return tt=>tt.lift(new L)}(),(0,ke.w)(([i,r])=>this._changeDataSource(i,r)),(0,ae.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.xQ,this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Le.R)(this._destroyed)).subscribe(i=>{this._renderedRange=i,P.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(N){this._cdkVirtualForOf=N,(0,ie.Z9)(N)?this._dataSourceChanges.next(N):this._dataSourceChanges.next(new ie.P3((0,E.b)(N)?N:Array.from(N||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(N){this._needsUpdate=!0,this._cdkVirtualForTrackBy=N?(he,D)=>N(he+(this._renderedRange?this._renderedRange.start:0),D):void 0}set cdkVirtualForTemplate(N){N&&(this._needsUpdate=!0,this._template=N)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(N){this._viewRepeater.viewCacheSize=(0,e.su)(N)}measureRangeSize(N,he){if(N.start>=N.end)return 0;const D=N.start-this._renderedRange.start,S=N.end-N.start;let I,P;for(let i=0;i-1;i--){const r=this._viewContainerRef.get(i+D);if(r&&r.rootNodes.length){P=r.rootNodes[r.rootNodes.length-1];break}}return I&&P?fe(he,"end",P)-fe(he,"start",I):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const N=this._differ.diff(this._renderedItems);N?this._applyChanges(N):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((N,he)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(N,he):he)),this._needsUpdate=!0)}_changeDataSource(N,he){return N&&N.disconnect(this),this._needsUpdate=!0,he?he.connect(this):(0,T.of)()}_updateContext(){const N=this._data.length;let he=this._viewContainerRef.length;for(;he--;){const D=this._viewContainerRef.get(he);D.context.index=this._renderedRange.start+he,D.context.count=N,this._updateComputedContextProperties(D.context),D.detectChanges()}}_applyChanges(N){this._viewRepeater.applyChanges(N,this._viewContainerRef,(S,I,P)=>this._getEmbeddedViewArgs(S,P),S=>S.item),N.forEachIdentityChange(S=>{this._viewContainerRef.get(S.currentIndex).context.$implicit=S.item});const he=this._data.length;let D=this._viewContainerRef.length;for(;D--;){const S=this._viewContainerRef.get(D);S.context.index=this._renderedRange.start+D,S.context.count=he,this._updateComputedContextProperties(S.context)}}_updateComputedContextProperties(N){N.first=0===N.index,N.last=N.index===N.count-1,N.even=N.index%2==0,N.odd=!N.even}_getEmbeddedViewArgs(N,he){return{templateRef:this._template,context:{$implicit:N.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:he}}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(ie.k),f.Y36(He,4),f.Y36(f.R0b))},tt.\u0275dir=f.lG2({type:tt,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[f._Bn([{provide:ie.k,useClass:ie.eX}])]}),tt})(),Ye=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=f.oAB({type:tt}),tt.\u0275inj=f.cJS({}),tt})(),Xe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=f.oAB({type:tt}),tt.\u0275inj=f.cJS({imports:[[X.vT,H.ud,Ye],X.vT,Ye]}),tt})()},74533:(Ke,be,d)=>{"use strict";d.d(be,{Lq:()=>h,IC:()=>L,Ky:()=>Y});var e=d(70925),f=d(5e3),g=d(63191),T=d(68896),m=d(8929),A=d(23753),s=d(57138),b=d(7625),O=d(69808);const E=(0,e.i$)({passive:!0});let h=(()=>{class J{constructor(ce,Le){this._platform=ce,this._ngZone=Le,this._monitoredElements=new Map}monitor(ce){if(!this._platform.isBrowser)return T.E;const Le=(0,g.fI)(ce),de=this._monitoredElements.get(Le);if(de)return de.subject;const ke=new m.xQ,ae="cdk-text-field-autofilled",V=H=>{"cdk-text-field-autofill-start"!==H.animationName||Le.classList.contains(ae)?"cdk-text-field-autofill-end"===H.animationName&&Le.classList.contains(ae)&&(Le.classList.remove(ae),this._ngZone.run(()=>ke.next({target:H.target,isAutofilled:!1}))):(Le.classList.add(ae),this._ngZone.run(()=>ke.next({target:H.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Le.addEventListener("animationstart",V,E),Le.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Le,{subject:ke,unlisten:()=>{Le.removeEventListener("animationstart",V,E)}}),ke}stopMonitoring(ce){const Le=(0,g.fI)(ce),de=this._monitoredElements.get(Le);de&&(de.unlisten(),de.subject.complete(),Le.classList.remove("cdk-text-field-autofill-monitored"),Le.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Le))}ngOnDestroy(){this._monitoredElements.forEach((ce,Le)=>this.stopMonitoring(Le))}}return J.\u0275fac=function(ce){return new(ce||J)(f.LFG(e.t4),f.LFG(f.R0b))},J.\u0275prov=f.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),L=(()=>{class J{constructor(ce,Le,de,ke){this._elementRef=ce,this._platform=Le,this._ngZone=de,this._destroyed=new m.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=ae=>{this._hasFocus="focus"===ae.type},this._document=ke,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(ce){this._minRows=(0,g.su)(ce),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(ce){this._maxRows=(0,g.su)(ce),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(ce){ce=(0,g.Ig)(ce),this._enabled!==ce&&((this._enabled=ce)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(ce){this._cachedPlaceholderHeight=void 0,ce?this._textareaElement.setAttribute("placeholder",ce):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const ce=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;ce&&(this._textareaElement.style.minHeight=ce)}_setMaxHeight(){const ce=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;ce&&(this._textareaElement.style.maxHeight=ce)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const ce=this._getWindow();(0,A.R)(ce,"resize").pipe((0,s.e)(16),(0,b.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let ce=this._textareaElement.cloneNode(!1);ce.rows=1,ce.style.position="absolute",ce.style.visibility="hidden",ce.style.border="none",ce.style.padding="0",ce.style.height="",ce.style.minHeight="",ce.style.maxHeight="",ce.style.overflow="hidden",this._textareaElement.parentNode.appendChild(ce),this._cachedLineHeight=ce.clientHeight,ce.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const ce=this._textareaElement,Le=ce.style.marginBottom||"",de=this._platform.FIREFOX,ke=de&&this._hasFocus,ae=de?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ke&&(ce.style.marginBottom=`${ce.clientHeight}px`),ce.classList.add(ae);const V=ce.scrollHeight-4;return ce.classList.remove(ae),ke&&(ce.style.marginBottom=Le),V}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const ce=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=ce}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(ce=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Le=this._elementRef.nativeElement,de=Le.value;if(!ce&&this._minRows===this._previousMinRows&&de===this._previousValue)return;const ke=this._measureScrollHeight(),ae=Math.max(ke,this._cachedPlaceholderHeight||0);Le.style.height=`${ae}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Le)):setTimeout(()=>this._scrollToCaretPosition(Le))}),this._previousValue=de,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(ce){const{selectionStart:Le,selectionEnd:de}=ce;!this._destroyed.isStopped&&this._hasFocus&&ce.setSelectionRange(Le,de)}}return J.\u0275fac=function(ce){return new(ce||J)(f.Y36(f.SBq),f.Y36(e.t4),f.Y36(f.R0b),f.Y36(O.K0,8))},J.\u0275dir=f.lG2({type:J,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ce,Le){1&ce&&f.NdJ("input",function(){return Le._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),J})(),Y=(()=>{class J{}return J.\u0275fac=function(ce){return new(ce||J)},J.\u0275mod=f.oAB({type:J}),J.\u0275inj=f.cJS({imports:[[e.ud]]}),J})()},28258:(Ke,be,d)=>{"use strict";d.d(be,{HI:()=>J,Xx:()=>Ne,_0:()=>X,nZ:()=>me,Hs:()=>ie,rO:()=>Le,cu:()=>ue,XJ:()=>se,Ud:()=>Me,C2:()=>L,VY:()=>Y});var e=d(20449),f=d(54715),g=d(8929),T=d(591),m=d(21086),A=d(72986),s=d(92198),b=d(7625),O=d(5e3),E=d(63191),h=d(50226);class k{constructor(){this.expansionModel=new e.Ov(!0)}toggle(te){this.expansionModel.toggle(this._trackByValue(te))}expand(te){this.expansionModel.select(this._trackByValue(te))}collapse(te){this.expansionModel.deselect(this._trackByValue(te))}isExpanded(te){return this.expansionModel.isSelected(this._trackByValue(te))}toggleDescendants(te){this.expansionModel.isSelected(this._trackByValue(te))?this.collapseDescendants(te):this.expandDescendants(te)}collapseAll(){this.expansionModel.clear()}expandDescendants(te){let R=[te];R.push(...this.getDescendants(te)),this.expansionModel.select(...R.map(Oe=>this._trackByValue(Oe)))}collapseDescendants(te){let R=[te];R.push(...this.getDescendants(te)),this.expansionModel.deselect(...R.map(Oe=>this._trackByValue(Oe)))}_trackByValue(te){return this.trackBy?this.trackBy(te):te}}class L extends k{constructor(te,R,Oe){super(),this.getLevel=te,this.isExpandable=R,this.options=Oe,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(te){const Oe=[];for(let Ie=this.dataNodes.indexOf(te)+1;Iethis._trackByValue(te)))}}class Y extends k{constructor(te,R){super(),this.getChildren=te,this.options=R,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const te=this.dataNodes.reduce((R,Oe)=>[...R,...this.getDescendants(Oe),Oe],[]);this.expansionModel.select(...te.map(R=>this._trackByValue(R)))}getDescendants(te){const R=[];return this._getDescendants(R,te),R.splice(1)}_getDescendants(te,R){te.push(R);const Oe=this.getChildren(R);Array.isArray(Oe)?Oe.forEach(Ie=>this._getDescendants(te,Ie)):(0,f.b)(Oe)&&Oe.pipe((0,A.q)(1),(0,s.h)(Boolean)).subscribe(Ie=>{for(const He of Ie)this._getDescendants(te,He)})}}const J=new O.OlP("CDK_TREE_NODE_OUTLET_NODE");let ue=(()=>{class Te{constructor(R,Oe){this.viewContainer=R,this._node=Oe}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.s_b),O.Y36(J,8))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeOutlet",""]]}),Te})();class ce{constructor(te){this.$implicit=te}}let Le=(()=>{class Te{constructor(R){this.template=R}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.Rgc))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Te})(),X=(()=>{class Te{constructor(R,Oe){this._differs=R,this._changeDetectorRef=Oe,this._onDestroy=new g.xQ,this._levels=new Map,this.viewChange=new T.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(R){this._dataSource!==R&&this._switchDataSource(R)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const R=this._nodeDefs.filter(Oe=>!Oe.when);this._defaultNodeDef=R[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(R){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),R||this._nodeOutlet.viewContainer.clear(),this._dataSource=R,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let R;(0,e.Z9)(this._dataSource)?R=this._dataSource.connect(this):(0,f.b)(this._dataSource)?R=this._dataSource:Array.isArray(this._dataSource)&&(R=(0,m.of)(this._dataSource)),R&&(this._dataSubscription=R.pipe((0,b.R)(this._onDestroy)).subscribe(Oe=>this.renderNodeChanges(Oe)))}renderNodeChanges(R,Oe=this._dataDiffer,Ie=this._nodeOutlet.viewContainer,He){const fe=Oe.diff(R);!fe||(fe.forEachOperation((Ce,Ye,Xe)=>{if(null==Ce.previousIndex)this.insertNode(R[Xe],Xe,Ie,He);else if(null==Xe)Ie.remove(Ye),this._levels.delete(Ce.item);else{const tt=Ie.get(Ye);Ie.move(tt,Xe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(R,Oe){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(He=>He.when&&He.when(Oe,R))||this._defaultNodeDef}insertNode(R,Oe,Ie,He){const fe=this._getNodeDef(R,Oe),Ce=new ce(R);Ce.level=this.treeControl.getLevel?this.treeControl.getLevel(R):void 0!==He&&this._levels.has(He)?this._levels.get(He)+1:0,this._levels.set(R,Ce.level),(Ie||this._nodeOutlet.viewContainer).createEmbeddedView(fe.template,Ce,Oe),ie.mostRecentTreeNode&&(ie.mostRecentTreeNode.data=R)}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.ZZ4),O.Y36(O.sBO))},Te.\u0275cmp=O.Xpm({type:Te,selectors:[["cdk-tree"]],contentQueries:function(R,Oe,Ie){if(1&R&&O.Suo(Ie,Le,5),2&R){let He;O.iGM(He=O.CRH())&&(Oe._nodeDefs=He)}},viewQuery:function(R,Oe){if(1&R&&O.Gf(ue,7),2&R){let Ie;O.iGM(Ie=O.CRH())&&(Oe._nodeOutlet=Ie.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(R,Oe){1&R&&O.GkF(0,0)},directives:[ue],encapsulation:2}),Te})(),ie=(()=>{class Te{constructor(R,Oe){this._elementRef=R,this._tree=Oe,this._destroyed=new g.xQ,this._dataChanges=new g.xQ,Te.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(R){this._elementRef.nativeElement.setAttribute("role",R)}get data(){return this._data}set data(R){R!==this._data&&(this._data=R,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function oe(Te){let te=Te.parentElement;for(;te&&!ge(te);)te=te.parentElement;return te?te.classList.contains("cdk-nested-tree-node")?(0,E.su)(te.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Te.mostRecentTreeNode===this&&(Te.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Te.mostRecentTreeNode=null,Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.SBq),O.Y36(X))},Te.\u0275dir=O.lG2({type:Te,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(R,Oe){2&R&&O.uIk("aria-expanded",Oe.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Te})();function ge(Te){const te=Te.classList;return!(!(null==te?void 0:te.contains("cdk-nested-tree-node"))&&!(null==te?void 0:te.contains("cdk-tree")))}let Ne=(()=>{class Te extends ie{constructor(R,Oe,Ie){super(R,Oe),this._differs=Ie}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const R=this._tree.treeControl.getChildren(this.data);Array.isArray(R)?this.updateChildrenNodes(R):(0,f.b)(R)&&R.pipe((0,b.R)(this._destroyed)).subscribe(Oe=>this.updateChildrenNodes(Oe)),this.nodeOutlet.changes.pipe((0,b.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(R){const Oe=this._getNodeOutlet();R&&(this._children=R),Oe&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Oe.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const R=this._getNodeOutlet();R&&(R.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const R=this.nodeOutlet;return R&&R.find(Oe=>!Oe._node||Oe._node===this)}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.SBq),O.Y36(X),O.Y36(O.ZZ4))},Te.\u0275dir=O.lG2({type:Te,selectors:[["cdk-nested-tree-node"]],contentQueries:function(R,Oe,Ie){if(1&R&&O.Suo(Ie,ue,5),2&R){let He;O.iGM(He=O.CRH())&&(Oe.nodeOutlet=He)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[O._Bn([{provide:ie,useExisting:Te},{provide:J,useExisting:Te}]),O.qOj]}),Te})();const Fe=/([A-Za-z%]+)$/;let se=(()=>{class Te{constructor(R,Oe,Ie,He){this._treeNode=R,this._tree=Oe,this._element=Ie,this._dir=He,this._destroyed=new g.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),He&&He.change.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),R._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(R){this._setLevelInput(R)}get indent(){return this._indent}set indent(R){this._setIndentInput(R)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const R=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Oe=null==this._level?R:this._level;return"number"==typeof Oe?`${Oe*this._indent}${this.indentUnits}`:null}_setPadding(R=!1){const Oe=this._paddingIndent();if(Oe!==this._currentPadding||R){const Ie=this._element.nativeElement,He=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",fe="paddingLeft"===He?"paddingRight":"paddingLeft";Ie.style[He]=Oe||"",Ie.style[fe]="",this._currentPadding=Oe}}_setLevelInput(R){this._level=(0,E.su)(R,null),this._setPadding()}_setIndentInput(R){let Oe=R,Ie="px";if("string"==typeof R){const He=R.split(Fe);Oe=He[0],Ie=He[1]||Ie}this.indentUnits=Ie,this._indent=(0,E.su)(Oe),this._setPadding()}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(ie),O.Y36(X),O.Y36(O.SBq),O.Y36(h.Is,8))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Te})(),Me=(()=>{class Te{constructor(R,Oe){this._tree=R,this._treeNode=Oe,this._recursive=!1}get recursive(){return this._recursive}set recursive(R){this._recursive=(0,E.Ig)(R)}_toggle(R){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),R.stopPropagation()}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(X),O.Y36(ie))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(R,Oe){1&R&&O.NdJ("click",function(He){return Oe._toggle(He)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Te})(),me=(()=>{class Te{}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275mod=O.oAB({type:Te}),Te.\u0275inj=O.cJS({}),Te})()},69808:(Ke,be,d)=>{"use strict";d.d(be,{mr:()=>de,Ov:()=>In,ez:()=>Hn,K0:()=>s,uU:()=>Gn,Do:()=>ae,V_:()=>E,Ye:()=>V,S$:()=>ce,i8:()=>Wi,mk:()=>bi,sg:()=>Ni,O5:()=>Pi,PC:()=>we,RF:()=>sn,n9:()=>qi,ED:()=>Tt,tP:()=>lt,b0:()=>ke,lw:()=>b,gd:()=>kn,EM:()=>rt,JF:()=>ft,p6:()=>zt,NF:()=>_n,PM:()=>es,w_:()=>A,bD:()=>hs,q:()=>g,Mx:()=>Ri,HT:()=>m});var e=d(5e3);let f=null;function g(){return f}function m(W){f||(f=W)}class A{}const s=new e.OlP("DocumentToken");let b=(()=>{class W{historyGo(ne){throw new Error("Not implemented")}}return W.\u0275fac=function(ne){return new(ne||W)},W.\u0275prov=e.Yz7({token:W,factory:function(){return function O(){return(0,e.LFG)(h)}()},providedIn:"platform"}),W})();const E=new e.OlP("Location Initialized");let h=(()=>{class W extends b{constructor(ne){super(),this._doc=ne,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(ne){const Ge=g().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("popstate",ne,!1),()=>Ge.removeEventListener("popstate",ne)}onHashChange(ne){const Ge=g().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("hashchange",ne,!1),()=>Ge.removeEventListener("hashchange",ne)}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(ne){this.location.pathname=ne}pushState(ne,Ge,_t){k()?this._history.pushState(ne,Ge,_t):this.location.hash=_t}replaceState(ne,Ge,_t){k()?this._history.replaceState(ne,Ge,_t):this.location.hash=_t}forward(){this._history.forward()}back(){this._history.back()}historyGo(ne=0){this._history.go(ne)}getState(){return this._history.state}}return W.\u0275fac=function(ne){return new(ne||W)(e.LFG(s))},W.\u0275prov=e.Yz7({token:W,factory:function(){return function L(){return new h((0,e.LFG)(s))}()},providedIn:"platform"}),W})();function k(){return!!window.history.pushState}function Y(W,De){if(0==W.length)return De;if(0==De.length)return W;let ne=0;return W.endsWith("/")&&ne++,De.startsWith("/")&&ne++,2==ne?W+De.substring(1):1==ne?W+De:W+"/"+De}function J(W){const De=W.match(/#|\?|$/),ne=De&&De.index||W.length;return W.slice(0,ne-("/"===W[ne-1]?1:0))+W.slice(ne)}function ue(W){return W&&"?"!==W[0]?"?"+W:W}let ce=(()=>{class W{historyGo(ne){throw new Error("Not implemented")}}return W.\u0275fac=function(ne){return new(ne||W)},W.\u0275prov=e.Yz7({token:W,factory:function(){return function Le(W){const De=(0,e.LFG)(s).location;return new ke((0,e.LFG)(b),De&&De.origin||"")}()},providedIn:"root"}),W})();const de=new e.OlP("appBaseHref");let ke=(()=>{class W extends ce{constructor(ne,Ge){if(super(),this._platformLocation=ne,this._removeListenerFns=[],null==Ge&&(Ge=this._platformLocation.getBaseHrefFromDOM()),null==Ge)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Ge}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ne){this._removeListenerFns.push(this._platformLocation.onPopState(ne),this._platformLocation.onHashChange(ne))}getBaseHref(){return this._baseHref}prepareExternalUrl(ne){return Y(this._baseHref,ne)}path(ne=!1){const Ge=this._platformLocation.pathname+ue(this._platformLocation.search),_t=this._platformLocation.hash;return _t&&ne?`${Ge}${_t}`:Ge}pushState(ne,Ge,_t,Nt){const Zt=this.prepareExternalUrl(_t+ue(Nt));this._platformLocation.pushState(ne,Ge,Zt)}replaceState(ne,Ge,_t,Nt){const Zt=this.prepareExternalUrl(_t+ue(Nt));this._platformLocation.replaceState(ne,Ge,Zt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ne=0){var Ge,_t;null===(_t=(Ge=this._platformLocation).historyGo)||void 0===_t||_t.call(Ge,ne)}}return W.\u0275fac=function(ne){return new(ne||W)(e.LFG(b),e.LFG(de,8))},W.\u0275prov=e.Yz7({token:W,factory:W.\u0275fac}),W})(),ae=(()=>{class W extends ce{constructor(ne,Ge){super(),this._platformLocation=ne,this._baseHref="",this._removeListenerFns=[],null!=Ge&&(this._baseHref=Ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ne){this._removeListenerFns.push(this._platformLocation.onPopState(ne),this._platformLocation.onHashChange(ne))}getBaseHref(){return this._baseHref}path(ne=!1){let Ge=this._platformLocation.hash;return null==Ge&&(Ge="#"),Ge.length>0?Ge.substring(1):Ge}prepareExternalUrl(ne){const Ge=Y(this._baseHref,ne);return Ge.length>0?"#"+Ge:Ge}pushState(ne,Ge,_t,Nt){let Zt=this.prepareExternalUrl(_t+ue(Nt));0==Zt.length&&(Zt=this._platformLocation.pathname),this._platformLocation.pushState(ne,Ge,Zt)}replaceState(ne,Ge,_t,Nt){let Zt=this.prepareExternalUrl(_t+ue(Nt));0==Zt.length&&(Zt=this._platformLocation.pathname),this._platformLocation.replaceState(ne,Ge,Zt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ne=0){var Ge,_t;null===(_t=(Ge=this._platformLocation).historyGo)||void 0===_t||_t.call(Ge,ne)}}return W.\u0275fac=function(ne){return new(ne||W)(e.LFG(b),e.LFG(de,8))},W.\u0275prov=e.Yz7({token:W,factory:W.\u0275fac}),W})(),V=(()=>{class W{constructor(ne,Ge){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=ne;const _t=this._platformStrategy.getBaseHref();this._platformLocation=Ge,this._baseHref=J(ie(_t)),this._platformStrategy.onPopState(Nt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Nt.state,type:Nt.type})})}path(ne=!1){return this.normalize(this._platformStrategy.path(ne))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(ne,Ge=""){return this.path()==this.normalize(ne+ue(Ge))}normalize(ne){return W.stripTrailingSlash(function X(W,De){return W&&De.startsWith(W)?De.substring(W.length):De}(this._baseHref,ie(ne)))}prepareExternalUrl(ne){return ne&&"/"!==ne[0]&&(ne="/"+ne),this._platformStrategy.prepareExternalUrl(ne)}go(ne,Ge="",_t=null){this._platformStrategy.pushState(_t,"",ne,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ne+ue(Ge)),_t)}replaceState(ne,Ge="",_t=null){this._platformStrategy.replaceState(_t,"",ne,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ne+ue(Ge)),_t)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(ne=0){var Ge,_t;null===(_t=(Ge=this._platformStrategy).historyGo)||void 0===_t||_t.call(Ge,ne)}onUrlChange(ne){this._urlChangeListeners.push(ne),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ge=>{this._notifyUrlChangeListeners(Ge.url,Ge.state)}))}_notifyUrlChangeListeners(ne="",Ge){this._urlChangeListeners.forEach(_t=>_t(ne,Ge))}subscribe(ne,Ge,_t){return this._subject.subscribe({next:ne,error:Ge,complete:_t})}}return W.normalizeQueryParams=ue,W.joinWithSlash=Y,W.stripTrailingSlash=J,W.\u0275fac=function(ne){return new(ne||W)(e.LFG(ce),e.LFG(b))},W.\u0275prov=e.Yz7({token:W,factory:function(){return function H(){return new V((0,e.LFG)(ce),(0,e.LFG)(b))}()},providedIn:"root"}),W})();function ie(W){return W.replace(/\/index.html$/,"")}var Ne=(()=>((Ne=Ne||{})[Ne.Zero=0]="Zero",Ne[Ne.One=1]="One",Ne[Ne.Two=2]="Two",Ne[Ne.Few=3]="Few",Ne[Ne.Many=4]="Many",Ne[Ne.Other=5]="Other",Ne))(),Fe=(()=>((Fe=Fe||{})[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe))(),se=(()=>((se=se||{})[se.Narrow=0]="Narrow",se[se.Abbreviated=1]="Abbreviated",se[se.Wide=2]="Wide",se[se.Short=3]="Short",se))(),Me=(()=>((Me=Me||{})[Me.Short=0]="Short",Me[Me.Medium=1]="Medium",Me[Me.Long=2]="Long",Me[Me.Full=3]="Full",Me))(),ve=(()=>((ve=ve||{})[ve.Decimal=0]="Decimal",ve[ve.Group=1]="Group",ve[ve.List=2]="List",ve[ve.PercentSign=3]="PercentSign",ve[ve.PlusSign=4]="PlusSign",ve[ve.MinusSign=5]="MinusSign",ve[ve.Exponential=6]="Exponential",ve[ve.SuperscriptingExponent=7]="SuperscriptingExponent",ve[ve.PerMille=8]="PerMille",ve[ve.Infinity=9]="Infinity",ve[ve.NaN=10]="NaN",ve[ve.TimeSeparator=11]="TimeSeparator",ve[ve.CurrencyDecimal=12]="CurrencyDecimal",ve[ve.CurrencyGroup=13]="CurrencyGroup",ve))();function Ce(W,De){return o((0,e.cg1)(W)[e.wAp.DateFormat],De)}function Ye(W,De){return o((0,e.cg1)(W)[e.wAp.TimeFormat],De)}function Xe(W,De){return o((0,e.cg1)(W)[e.wAp.DateTimeFormat],De)}function tt(W,De){const ne=(0,e.cg1)(W),Ge=ne[e.wAp.NumberSymbols][De];if(void 0===Ge){if(De===ve.CurrencyDecimal)return ne[e.wAp.NumberSymbols][ve.Decimal];if(De===ve.CurrencyGroup)return ne[e.wAp.NumberSymbols][ve.Group]}return Ge}const I=e.kL8;function P(W){if(!W[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${W[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function o(W,De){for(let ne=De;ne>-1;ne--)if(void 0!==W[ne])return W[ne];throw new Error("Locale data API: locale data undefined")}function t(W){const[De,ne]=W.split(":");return{hours:+De,minutes:+ne}}const y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,M={},j=/((?:[^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 Ve=(()=>((Ve=Ve||{})[Ve.Short=0]="Short",Ve[Ve.ShortGMT=1]="ShortGMT",Ve[Ve.Long=2]="Long",Ve[Ve.Extended=3]="Extended",Ve))(),nt=(()=>((nt=nt||{})[nt.FullYear=0]="FullYear",nt[nt.Month=1]="Month",nt[nt.Date=2]="Date",nt[nt.Hours=3]="Hours",nt[nt.Minutes=4]="Minutes",nt[nt.Seconds=5]="Seconds",nt[nt.FractionalSeconds=6]="FractionalSeconds",nt[nt.Day=7]="Day",nt))(),Mt=(()=>((Mt=Mt||{})[Mt.DayPeriods=0]="DayPeriods",Mt[Mt.Days=1]="Days",Mt[Mt.Months=2]="Months",Mt[Mt.Eras=3]="Eras",Mt))();function zt(W,De,ne,Ge){let _t=function Ct(W){if(Rt(W))return W;if("number"==typeof W&&!isNaN(W))return new Date(W);if("string"==typeof W){if(W=W.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(W)){const[_t,Nt=1,Zt=1]=W.split("-").map(ii=>+ii);return Vt(_t,Nt-1,Zt)}const ne=parseFloat(W);if(!isNaN(W-ne))return new Date(ne);let Ge;if(Ge=W.match(y))return function mt(W){const De=new Date(0);let ne=0,Ge=0;const _t=W[8]?De.setUTCFullYear:De.setFullYear,Nt=W[8]?De.setUTCHours:De.setHours;W[9]&&(ne=Number(W[9]+W[10]),Ge=Number(W[9]+W[11])),_t.call(De,Number(W[1]),Number(W[2])-1,Number(W[3]));const Zt=Number(W[4]||0)-ne,ii=Number(W[5]||0)-Ge,ai=Number(W[6]||0),hi=Math.floor(1e3*parseFloat("0."+(W[7]||0)));return Nt.call(De,Zt,ii,ai,hi),De}(Ge)}const De=new Date(W);if(!Rt(De))throw new Error(`Unable to convert "${W}" into a date`);return De}(W);De=Wt(ne,De)||De;let ii,Zt=[];for(;De;){if(ii=j.exec(De),!ii){Zt.push(De);break}{Zt=Zt.concat(ii.slice(1));const mi=Zt.pop();if(!mi)break;De=mi}}let ai=_t.getTimezoneOffset();Ge&&(ai=Bt(Ge,ai),_t=function St(W,De,ne){const Ge=ne?-1:1,_t=W.getTimezoneOffset();return function jt(W,De){return(W=new Date(W.getTime())).setMinutes(W.getMinutes()+De),W}(W,Ge*(Bt(De,_t)-_t))}(_t,Ge,!0));let hi="";return Zt.forEach(mi=>{const yi=function Et(W){if(Ue[W])return Ue[W];let De;switch(W){case"G":case"GG":case"GGG":De=pt(Mt.Eras,se.Abbreviated);break;case"GGGG":De=pt(Mt.Eras,se.Wide);break;case"GGGGG":De=pt(Mt.Eras,se.Narrow);break;case"y":De=et(nt.FullYear,1,0,!1,!0);break;case"yy":De=et(nt.FullYear,2,0,!0,!0);break;case"yyy":De=et(nt.FullYear,3,0,!1,!0);break;case"yyyy":De=et(nt.FullYear,4,0,!1,!0);break;case"Y":De=_e(1);break;case"YY":De=_e(2,!0);break;case"YYY":De=_e(3);break;case"YYYY":De=_e(4);break;case"M":case"L":De=et(nt.Month,1,1);break;case"MM":case"LL":De=et(nt.Month,2,1);break;case"MMM":De=pt(Mt.Months,se.Abbreviated);break;case"MMMM":De=pt(Mt.Months,se.Wide);break;case"MMMMM":De=pt(Mt.Months,se.Narrow);break;case"LLL":De=pt(Mt.Months,se.Abbreviated,Fe.Standalone);break;case"LLLL":De=pt(Mt.Months,se.Wide,Fe.Standalone);break;case"LLLLL":De=pt(Mt.Months,se.Narrow,Fe.Standalone);break;case"w":De=ee(1);break;case"ww":De=ee(2);break;case"W":De=ee(1,!0);break;case"d":De=et(nt.Date,1);break;case"dd":De=et(nt.Date,2);break;case"c":case"cc":De=et(nt.Day,1);break;case"ccc":De=pt(Mt.Days,se.Abbreviated,Fe.Standalone);break;case"cccc":De=pt(Mt.Days,se.Wide,Fe.Standalone);break;case"ccccc":De=pt(Mt.Days,se.Narrow,Fe.Standalone);break;case"cccccc":De=pt(Mt.Days,se.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":De=pt(Mt.Days,se.Abbreviated);break;case"EEEE":De=pt(Mt.Days,se.Wide);break;case"EEEEE":De=pt(Mt.Days,se.Narrow);break;case"EEEEEE":De=pt(Mt.Days,se.Short);break;case"a":case"aa":case"aaa":De=pt(Mt.DayPeriods,se.Abbreviated);break;case"aaaa":De=pt(Mt.DayPeriods,se.Wide);break;case"aaaaa":De=pt(Mt.DayPeriods,se.Narrow);break;case"b":case"bb":case"bbb":De=pt(Mt.DayPeriods,se.Abbreviated,Fe.Standalone,!0);break;case"bbbb":De=pt(Mt.DayPeriods,se.Wide,Fe.Standalone,!0);break;case"bbbbb":De=pt(Mt.DayPeriods,se.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":De=pt(Mt.DayPeriods,se.Abbreviated,Fe.Format,!0);break;case"BBBB":De=pt(Mt.DayPeriods,se.Wide,Fe.Format,!0);break;case"BBBBB":De=pt(Mt.DayPeriods,se.Narrow,Fe.Format,!0);break;case"h":De=et(nt.Hours,1,-12);break;case"hh":De=et(nt.Hours,2,-12);break;case"H":De=et(nt.Hours,1);break;case"HH":De=et(nt.Hours,2);break;case"m":De=et(nt.Minutes,1);break;case"mm":De=et(nt.Minutes,2);break;case"s":De=et(nt.Seconds,1);break;case"ss":De=et(nt.Seconds,2);break;case"S":De=et(nt.FractionalSeconds,1);break;case"SS":De=et(nt.FractionalSeconds,2);break;case"SSS":De=et(nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":De=We(Ve.Short);break;case"ZZZZZ":De=We(Ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":De=We(Ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":De=We(Ve.Long);break;default:return null}return Ue[W]=De,De}(mi);hi+=yi?yi(_t,ne,ai):"''"===mi?"'":mi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),hi}function Vt(W,De,ne){const Ge=new Date(0);return Ge.setFullYear(W,De,ne),Ge.setHours(0,0,0),Ge}function Wt(W,De){const ne=function Te(W){return(0,e.cg1)(W)[e.wAp.LocaleId]}(W);if(M[ne]=M[ne]||{},M[ne][De])return M[ne][De];let Ge="";switch(De){case"shortDate":Ge=Ce(W,Me.Short);break;case"mediumDate":Ge=Ce(W,Me.Medium);break;case"longDate":Ge=Ce(W,Me.Long);break;case"fullDate":Ge=Ce(W,Me.Full);break;case"shortTime":Ge=Ye(W,Me.Short);break;case"mediumTime":Ge=Ye(W,Me.Medium);break;case"longTime":Ge=Ye(W,Me.Long);break;case"fullTime":Ge=Ye(W,Me.Full);break;case"short":const _t=Wt(W,"shortTime"),Nt=Wt(W,"shortDate");Ge=At(Xe(W,Me.Short),[_t,Nt]);break;case"medium":const Zt=Wt(W,"mediumTime"),ii=Wt(W,"mediumDate");Ge=At(Xe(W,Me.Medium),[Zt,ii]);break;case"long":const ai=Wt(W,"longTime"),hi=Wt(W,"longDate");Ge=At(Xe(W,Me.Long),[ai,hi]);break;case"full":const mi=Wt(W,"fullTime"),yi=Wt(W,"fullDate");Ge=At(Xe(W,Me.Full),[mi,yi])}return Ge&&(M[ne][De]=Ge),Ge}function At(W,De){return De&&(W=W.replace(/\{([^}]+)}/g,function(ne,Ge){return null!=De&&Ge in De?De[Ge]:ne})),W}function Ht(W,De,ne="-",Ge,_t){let Nt="";(W<0||_t&&W<=0)&&(_t?W=1-W:(W=-W,Nt=ne));let Zt=String(W);for(;Zt.length0||ii>-ne)&&(ii+=ne),W===nt.Hours)0===ii&&-12===ne&&(ii=12);else if(W===nt.FractionalSeconds)return function bt(W,De){return Ht(W,3).substr(0,De)}(ii,De);const ai=tt(Zt,ve.MinusSign);return Ht(ii,De,ai,Ge,_t)}}function pt(W,De,ne=Fe.Format,Ge=!1){return function(_t,Nt){return function It(W,De,ne,Ge,_t,Nt){switch(ne){case Mt.Months:return function Oe(W,De,ne){const Ge=(0,e.cg1)(W),Nt=o([Ge[e.wAp.MonthsFormat],Ge[e.wAp.MonthsStandalone]],De);return o(Nt,ne)}(De,_t,Ge)[W.getMonth()];case Mt.Days:return function R(W,De,ne){const Ge=(0,e.cg1)(W),Nt=o([Ge[e.wAp.DaysFormat],Ge[e.wAp.DaysStandalone]],De);return o(Nt,ne)}(De,_t,Ge)[W.getDay()];case Mt.DayPeriods:const Zt=W.getHours(),ii=W.getMinutes();if(Nt){const hi=function i(W){const De=(0,e.cg1)(W);return P(De),(De[e.wAp.ExtraData][2]||[]).map(Ge=>"string"==typeof Ge?t(Ge):[t(Ge[0]),t(Ge[1])])}(De),mi=function r(W,De,ne){const Ge=(0,e.cg1)(W);P(Ge);const Nt=o([Ge[e.wAp.ExtraData][0],Ge[e.wAp.ExtraData][1]],De)||[];return o(Nt,ne)||[]}(De,_t,Ge),yi=hi.findIndex(xi=>{if(Array.isArray(xi)){const[xe,Ee]=xi,ye=Zt>=xe.hours&&ii>=xe.minutes,ot=Zt0?Math.floor(_t/60):Math.ceil(_t/60);switch(W){case Ve.Short:return(_t>=0?"+":"")+Ht(Zt,2,Nt)+Ht(Math.abs(_t%60),2,Nt);case Ve.ShortGMT:return"GMT"+(_t>=0?"+":"")+Ht(Zt,1,Nt);case Ve.Long:return"GMT"+(_t>=0?"+":"")+Ht(Zt,2,Nt)+":"+Ht(Math.abs(_t%60),2,Nt);case Ve.Extended:return 0===Ge?"Z":(_t>=0?"+":"")+Ht(Zt,2,Nt)+":"+Ht(Math.abs(_t%60),2,Nt);default:throw new Error(`Unknown zone width "${W}"`)}}}function G(W){return Vt(W.getFullYear(),W.getMonth(),W.getDate()+(4-W.getDay()))}function ee(W,De=!1){return function(ne,Ge){let _t;if(De){const Nt=new Date(ne.getFullYear(),ne.getMonth(),1).getDay()-1,Zt=ne.getDate();_t=1+Math.floor((Zt+Nt)/7)}else{const Nt=G(ne),Zt=function Z(W){const De=Vt(W,0,1).getDay();return Vt(W,0,1+(De<=4?4:11)-De)}(Nt.getFullYear()),ii=Nt.getTime()-Zt.getTime();_t=1+Math.round(ii/6048e5)}return Ht(_t,W,tt(Ge,ve.MinusSign))}}function _e(W,De=!1){return function(ne,Ge){return Ht(G(ne).getFullYear(),W,tt(Ge,ve.MinusSign),De)}}const Ue={};function Bt(W,De){W=W.replace(/:/g,"");const ne=Date.parse("Jan 01, 1970 00:00:00 "+W)/6e4;return isNaN(ne)?De:ne}function Rt(W){return W instanceof Date&&!isNaN(W.valueOf())}class dt{}let ei=(()=>{class W extends dt{constructor(ne){super(),this.locale=ne}getPluralCategory(ne,Ge){switch(I(Ge||this.locale)(ne)){case Ne.Zero:return"zero";case Ne.One:return"one";case Ne.Two:return"two";case Ne.Few:return"few";case Ne.Many:return"many";default:return"other"}}}return W.\u0275fac=function(ne){return new(ne||W)(e.LFG(e.soG))},W.\u0275prov=e.Yz7({token:W,factory:W.\u0275fac}),W})();function Ri(W,De){De=encodeURIComponent(De);for(const ne of W.split(";")){const Ge=ne.indexOf("="),[_t,Nt]=-1==Ge?[ne,""]:[ne.slice(0,Ge),ne.slice(Ge+1)];if(_t.trim()===De)return decodeURIComponent(Nt)}return null}let bi=(()=>{class W{constructor(ne,Ge,_t,Nt){this._iterableDiffers=ne,this._keyValueDiffers=Ge,this._ngEl=_t,this._renderer=Nt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ne){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ne?ne.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ne){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ne?ne.split(/\s+/):ne,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ne=this._iterableDiffer.diff(this._rawClass);ne&&this._applyIterableChanges(ne)}else if(this._keyValueDiffer){const ne=this._keyValueDiffer.diff(this._rawClass);ne&&this._applyKeyValueChanges(ne)}}_applyKeyValueChanges(ne){ne.forEachAddedItem(Ge=>this._toggleClass(Ge.key,Ge.currentValue)),ne.forEachChangedItem(Ge=>this._toggleClass(Ge.key,Ge.currentValue)),ne.forEachRemovedItem(Ge=>{Ge.previousValue&&this._toggleClass(Ge.key,!1)})}_applyIterableChanges(ne){ne.forEachAddedItem(Ge=>{if("string"!=typeof Ge.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(Ge.item)}`);this._toggleClass(Ge.item,!0)}),ne.forEachRemovedItem(Ge=>this._toggleClass(Ge.item,!1))}_applyClasses(ne){ne&&(Array.isArray(ne)||ne instanceof Set?ne.forEach(Ge=>this._toggleClass(Ge,!0)):Object.keys(ne).forEach(Ge=>this._toggleClass(Ge,!!ne[Ge])))}_removeClasses(ne){ne&&(Array.isArray(ne)||ne instanceof Set?ne.forEach(Ge=>this._toggleClass(Ge,!1)):Object.keys(ne).forEach(Ge=>this._toggleClass(Ge,!1)))}_toggleClass(ne,Ge){(ne=ne.trim())&&ne.split(/\s+/g).forEach(_t=>{Ge?this._renderer.addClass(this._ngEl.nativeElement,_t):this._renderer.removeClass(this._ngEl.nativeElement,_t)})}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),W})();class Ji{constructor(De,ne,Ge,_t){this.$implicit=De,this.ngForOf=ne,this.index=Ge,this.count=_t}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 Ni=(()=>{class W{constructor(ne,Ge,_t){this._viewContainer=ne,this._template=Ge,this._differs=_t,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ne){this._ngForOf=ne,this._ngForOfDirty=!0}set ngForTrackBy(ne){this._trackByFn=ne}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ne){ne&&(this._template=ne)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ne=this._ngForOf;!this._differ&&ne&&(this._differ=this._differs.find(ne).create(this.ngForTrackBy))}if(this._differ){const ne=this._differ.diff(this._ngForOf);ne&&this._applyChanges(ne)}}_applyChanges(ne){const Ge=this._viewContainer;ne.forEachOperation((_t,Nt,Zt)=>{if(null==_t.previousIndex)Ge.createEmbeddedView(this._template,new Ji(_t.item,this._ngForOf,-1,-1),null===Zt?void 0:Zt);else if(null==Zt)Ge.remove(null===Nt?void 0:Nt);else if(null!==Nt){const ii=Ge.get(Nt);Ge.move(ii,Zt),Hi(ii,_t)}});for(let _t=0,Nt=Ge.length;_t{Hi(Ge.get(_t.currentIndex),_t)})}static ngTemplateContextGuard(ne,Ge){return!0}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),W})();function Hi(W,De){W.context.$implicit=De.item}let Pi=(()=>{class W{constructor(ne,Ge){this._viewContainer=ne,this._context=new Ti,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ge}set ngIf(ne){this._context.$implicit=this._context.ngIf=ne,this._updateView()}set ngIfThen(ne){Ui("ngIfThen",ne),this._thenTemplateRef=ne,this._thenViewRef=null,this._updateView()}set ngIfElse(ne){Ui("ngIfElse",ne),this._elseTemplateRef=ne,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(ne,Ge){return!0}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.s_b),e.Y36(e.Rgc))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),W})();class Ti{constructor(){this.$implicit=null,this.ngIf=null}}function Ui(W,De){if(De&&!De.createEmbeddedView)throw new Error(`${W} must be a TemplateRef, but received '${(0,e.AaK)(De)}'.`)}class fn{constructor(De,ne){this._viewContainerRef=De,this._templateRef=ne,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(De){De&&!this._created?this.create():!De&&this._created&&this.destroy()}}let sn=(()=>{class W{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ne){this._ngSwitch=ne,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ne){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ne)}_matchCase(ne){const Ge=ne==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ge}_updateDefaultCases(ne){if(this._defaultViews&&ne!==this._defaultUsed){this._defaultUsed=ne;for(let Ge=0;Ge{class W{constructor(ne,Ge,_t){this.ngSwitch=_t,_t._addCase(),this._view=new fn(ne,Ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(sn,9))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),W})(),Tt=(()=>{class W{constructor(ne,Ge,_t){_t._addDefault(new fn(ne,Ge))}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(sn,9))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngSwitchDefault",""]]}),W})(),we=(()=>{class W{constructor(ne,Ge,_t){this._ngEl=ne,this._differs=Ge,this._renderer=_t,this._ngStyle=null,this._differ=null}set ngStyle(ne){this._ngStyle=ne,!this._differ&&ne&&(this._differ=this._differs.find(ne).create())}ngDoCheck(){if(this._differ){const ne=this._differ.diff(this._ngStyle);ne&&this._applyChanges(ne)}}_setStyle(ne,Ge){const[_t,Nt]=ne.split(".");null!=(Ge=null!=Ge&&Nt?`${Ge}${Nt}`:Ge)?this._renderer.setStyle(this._ngEl.nativeElement,_t,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,_t)}_applyChanges(ne){ne.forEachRemovedItem(Ge=>this._setStyle(Ge.key,null)),ne.forEachAddedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue)),ne.forEachChangedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue))}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),W})(),lt=(()=>{class W{constructor(ne){this._viewContainerRef=ne,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(ne){if(ne.ngTemplateOutlet){const Ge=this._viewContainerRef;this._viewRef&&Ge.remove(Ge.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?Ge.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&ne.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.s_b))},W.\u0275dir=e.lG2({type:W,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),W})();function Jt(W,De){return new e.vHH(2100,"")}class di{createSubscription(De,ne){return De.subscribe({next:ne,error:Ge=>{throw Ge}})}dispose(De){De.unsubscribe()}onDestroy(De){De.unsubscribe()}}class Oi{createSubscription(De,ne){return De.then(ne,Ge=>{throw Ge})}dispose(De){}onDestroy(De){}}const zi=new Oi,mn=new di;let In=(()=>{class W{constructor(ne){this._ref=ne,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(ne){return this._obj?ne!==this._obj?(this._dispose(),this.transform(ne)):this._latestValue:(ne&&this._subscribe(ne),this._latestValue)}_subscribe(ne){this._obj=ne,this._strategy=this._selectStrategy(ne),this._subscription=this._strategy.createSubscription(ne,Ge=>this._updateLatestValue(ne,Ge))}_selectStrategy(ne){if((0,e.QGY)(ne))return zi;if((0,e.F4k)(ne))return mn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ne,Ge){ne===this._obj&&(this._latestValue=Ge,this._ref.markForCheck())}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.sBO,16))},W.\u0275pipe=e.Yjl({name:"async",type:W,pure:!1}),W})(),Wi=(()=>{class W{transform(ne){if(null==ne)return null;if("string"!=typeof ne)throw Jt();return ne.toLowerCase()}}return W.\u0275fac=function(ne){return new(ne||W)},W.\u0275pipe=e.Yjl({name:"lowercase",type:W,pure:!0}),W})(),kn=(()=>{class W{transform(ne){if(null==ne)return null;if("string"!=typeof ne)throw Jt();return ne.toUpperCase()}}return W.\u0275fac=function(ne){return new(ne||W)},W.\u0275pipe=e.Yjl({name:"uppercase",type:W,pure:!0}),W})();const Rn=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Gn=(()=>{class W{constructor(ne,Ge){this.locale=ne,this.defaultTimezone=Ge}transform(ne,Ge="mediumDate",_t,Nt){var Zt;if(null==ne||""===ne||ne!=ne)return null;try{return zt(ne,Ge,Nt||this.locale,null!==(Zt=null!=_t?_t:this.defaultTimezone)&&void 0!==Zt?Zt:void 0)}catch(ii){throw Jt()}}}return W.\u0275fac=function(ne){return new(ne||W)(e.Y36(e.soG,16),e.Y36(Rn,24))},W.\u0275pipe=e.Yjl({name:"date",type:W,pure:!0}),W})(),Hn=(()=>{class W{}return W.\u0275fac=function(ne){return new(ne||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({providers:[{provide:dt,useClass:ei}]}),W})();const hs="browser";function _n(W){return W===hs}function es(W){return"server"===W}let rt=(()=>{class W{}return W.\u0275prov=(0,e.Yz7)({token:W,providedIn:"root",factory:()=>new B((0,e.LFG)(s),window)}),W})();class B{constructor(De,ne){this.document=De,this.window=ne,this.offset=()=>[0,0]}setOffset(De){this.offset=Array.isArray(De)?()=>De:De}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(De){this.supportsScrolling()&&this.window.scrollTo(De[0],De[1])}scrollToAnchor(De){if(!this.supportsScrolling())return;const ne=function Se(W,De){const ne=W.getElementById(De)||W.getElementsByName(De)[0];if(ne)return ne;if("function"==typeof W.createTreeWalker&&W.body&&(W.body.createShadowRoot||W.body.attachShadow)){const Ge=W.createTreeWalker(W.body,NodeFilter.SHOW_ELEMENT);let _t=Ge.currentNode;for(;_t;){const Nt=_t.shadowRoot;if(Nt){const Zt=Nt.getElementById(De)||Nt.querySelector(`[name="${De}"]`);if(Zt)return Zt}_t=Ge.nextNode()}}return null}(this.document,De);ne&&(this.scrollToElement(ne),ne.focus())}setHistoryScrollRestoration(De){if(this.supportScrollRestoration()){const ne=this.window.history;ne&&ne.scrollRestoration&&(ne.scrollRestoration=De)}}scrollToElement(De){const ne=De.getBoundingClientRect(),Ge=ne.left+this.window.pageXOffset,_t=ne.top+this.window.pageYOffset,Nt=this.offset();this.window.scrollTo(Ge-Nt[0],_t-Nt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const De=U(this.window.history)||U(Object.getPrototypeOf(this.window.history));return!(!De||!De.writable&&!De.set)}catch(De){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(De){return!1}}}function U(W){return Object.getOwnPropertyDescriptor(W,"scrollRestoration")}class ft{}},40520:(Ke,be,d)=>{"use strict";d.d(be,{TP:()=>Te,eN:()=>ve,JF:()=>o,WM:()=>E,LE:()=>ce,Zn:()=>Fe});var e=d(69808),f=d(5e3),g=d(21086),T=d(32916),m=d(21406),A=d(92198),s=d(24850);class b{}class O{}class E{constructor(u){this.normalizedNames=new Map,this.lazyUpdate=null,u?this.lazyInit="string"==typeof u?()=>{this.headers=new Map,u.split("\n").forEach(y=>{const M=y.indexOf(":");if(M>0){const j=y.slice(0,M),Ve=j.toLowerCase(),nt=y.slice(M+1).trim();this.maybeSetNormalizedName(j,Ve),this.headers.has(Ve)?this.headers.get(Ve).push(nt):this.headers.set(Ve,[nt])}})}:()=>{this.headers=new Map,Object.keys(u).forEach(y=>{let M=u[y];const j=y.toLowerCase();"string"==typeof M&&(M=[M]),M.length>0&&(this.headers.set(j,M),this.maybeSetNormalizedName(y,j))})}:this.headers=new Map}has(u){return this.init(),this.headers.has(u.toLowerCase())}get(u){this.init();const y=this.headers.get(u.toLowerCase());return y&&y.length>0?y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(u){return this.init(),this.headers.get(u.toLowerCase())||null}append(u,y){return this.clone({name:u,value:y,op:"a"})}set(u,y){return this.clone({name:u,value:y,op:"s"})}delete(u,y){return this.clone({name:u,value:y,op:"d"})}maybeSetNormalizedName(u,y){this.normalizedNames.has(y)||this.normalizedNames.set(y,u)}init(){this.lazyInit&&(this.lazyInit instanceof E?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(u=>this.applyUpdate(u)),this.lazyUpdate=null))}copyFrom(u){u.init(),Array.from(u.headers.keys()).forEach(y=>{this.headers.set(y,u.headers.get(y)),this.normalizedNames.set(y,u.normalizedNames.get(y))})}clone(u){const y=new E;return y.lazyInit=this.lazyInit&&this.lazyInit instanceof E?this.lazyInit:this,y.lazyUpdate=(this.lazyUpdate||[]).concat([u]),y}applyUpdate(u){const y=u.name.toLowerCase();switch(u.op){case"a":case"s":let M=u.value;if("string"==typeof M&&(M=[M]),0===M.length)return;this.maybeSetNormalizedName(u.name,y);const j=("a"===u.op?this.headers.get(y):void 0)||[];j.push(...M),this.headers.set(y,j);break;case"d":const Ve=u.value;if(Ve){let nt=this.headers.get(y);if(!nt)return;nt=nt.filter(Mt=>-1===Ve.indexOf(Mt)),0===nt.length?(this.headers.delete(y),this.normalizedNames.delete(y)):this.headers.set(y,nt)}else this.headers.delete(y),this.normalizedNames.delete(y)}}forEach(u){this.init(),Array.from(this.normalizedNames.keys()).forEach(y=>u(this.normalizedNames.get(y),this.headers.get(y)))}}class h{encodeKey(u){return J(u)}encodeValue(u){return J(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}const L=/%(\d[a-f0-9])/gi,Y={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function J(c){return encodeURIComponent(c).replace(L,(u,y)=>{var M;return null!==(M=Y[y])&&void 0!==M?M:u})}function ue(c){return`${c}`}class ce{constructor(u={}){if(this.updates=null,this.cloneFrom=null,this.encoder=u.encoder||new h,u.fromString){if(u.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(c,u){const y=new Map;return c.length>0&&c.replace(/^\?/,"").split("&").forEach(j=>{const Ve=j.indexOf("="),[nt,Mt]=-1==Ve?[u.decodeKey(j),""]:[u.decodeKey(j.slice(0,Ve)),u.decodeValue(j.slice(Ve+1))],zt=y.get(nt)||[];zt.push(Mt),y.set(nt,zt)}),y}(u.fromString,this.encoder)}else u.fromObject?(this.map=new Map,Object.keys(u.fromObject).forEach(y=>{const M=u.fromObject[y];this.map.set(y,Array.isArray(M)?M:[M])})):this.map=null}has(u){return this.init(),this.map.has(u)}get(u){this.init();const y=this.map.get(u);return y?y[0]:null}getAll(u){return this.init(),this.map.get(u)||null}keys(){return this.init(),Array.from(this.map.keys())}append(u,y){return this.clone({param:u,value:y,op:"a"})}appendAll(u){const y=[];return Object.keys(u).forEach(M=>{const j=u[M];Array.isArray(j)?j.forEach(Ve=>{y.push({param:M,value:Ve,op:"a"})}):y.push({param:M,value:j,op:"a"})}),this.clone(y)}set(u,y){return this.clone({param:u,value:y,op:"s"})}delete(u,y){return this.clone({param:u,value:y,op:"d"})}toString(){return this.init(),this.keys().map(u=>{const y=this.encoder.encodeKey(u);return this.map.get(u).map(M=>y+"="+this.encoder.encodeValue(M)).join("&")}).filter(u=>""!==u).join("&")}clone(u){const y=new ce({encoder:this.encoder});return y.cloneFrom=this.cloneFrom||this,y.updates=(this.updates||[]).concat(u),y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(u=>this.map.set(u,this.cloneFrom.map.get(u))),this.updates.forEach(u=>{switch(u.op){case"a":case"s":const y=("a"===u.op?this.map.get(u.param):void 0)||[];y.push(ue(u.value)),this.map.set(u.param,y);break;case"d":if(void 0===u.value){this.map.delete(u.param);break}{let M=this.map.get(u.param)||[];const j=M.indexOf(ue(u.value));-1!==j&&M.splice(j,1),M.length>0?this.map.set(u.param,M):this.map.delete(u.param)}}}),this.cloneFrom=this.updates=null)}}class de{constructor(){this.map=new Map}set(u,y){return this.map.set(u,y),this}get(u){return this.map.has(u)||this.map.set(u,u.defaultValue()),this.map.get(u)}delete(u){return this.map.delete(u),this}has(u){return this.map.has(u)}keys(){return this.map.keys()}}function ae(c){return"undefined"!=typeof ArrayBuffer&&c instanceof ArrayBuffer}function V(c){return"undefined"!=typeof Blob&&c instanceof Blob}function H(c){return"undefined"!=typeof FormData&&c instanceof FormData}class ie{constructor(u,y,M,j){let Ve;if(this.url=y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=u.toUpperCase(),function ke(c){switch(c){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||j?(this.body=void 0!==M?M:null,Ve=j):Ve=M,Ve&&(this.reportProgress=!!Ve.reportProgress,this.withCredentials=!!Ve.withCredentials,Ve.responseType&&(this.responseType=Ve.responseType),Ve.headers&&(this.headers=Ve.headers),Ve.context&&(this.context=Ve.context),Ve.params&&(this.params=Ve.params)),this.headers||(this.headers=new E),this.context||(this.context=new de),this.params){const nt=this.params.toString();if(0===nt.length)this.urlWithParams=y;else{const Mt=y.indexOf("?");this.urlWithParams=y+(-1===Mt?"?":MtHt.set(bt,u.setHeaders[bt]),Vt)),u.setParams&&(Wt=Object.keys(u.setParams).reduce((Ht,bt)=>Ht.set(bt,u.setParams[bt]),Wt)),new ie(M,j,nt,{params:Wt,headers:Vt,context:At,reportProgress:zt,responseType:Ve,withCredentials:Mt})}}var oe=(()=>((oe=oe||{})[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe))();class ge{constructor(u,y=200,M="OK"){this.headers=u.headers||new E,this.status=void 0!==u.status?u.status:y,this.statusText=u.statusText||M,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}}class Ne extends ge{constructor(u={}){super(u),this.type=oe.ResponseHeader}clone(u={}){return new Ne({headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class Fe extends ge{constructor(u={}){super(u),this.type=oe.Response,this.body=void 0!==u.body?u.body:null}clone(u={}){return new Fe({body:void 0!==u.body?u.body:this.body,headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class se extends ge{constructor(u){super(u,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${u.url||"(unknown url)"}`:`Http failure response for ${u.url||"(unknown url)"}: ${u.status} ${u.statusText}`,this.error=u.error||null}}function Me(c,u){return{body:u,headers:c.headers,context:c.context,observe:c.observe,params:c.params,reportProgress:c.reportProgress,responseType:c.responseType,withCredentials:c.withCredentials}}let ve=(()=>{class c{constructor(y){this.handler=y}request(y,M,j={}){let Ve;if(y instanceof ie)Ve=y;else{let zt,Vt;zt=j.headers instanceof E?j.headers:new E(j.headers),j.params&&(Vt=j.params instanceof ce?j.params:new ce({fromObject:j.params})),Ve=new ie(y,M,void 0!==j.body?j.body:null,{headers:zt,context:j.context,params:Vt,reportProgress:j.reportProgress,responseType:j.responseType||"json",withCredentials:j.withCredentials})}const nt=(0,g.of)(Ve).pipe((0,m.b)(zt=>this.handler.handle(zt)));if(y instanceof ie||"events"===j.observe)return nt;const Mt=nt.pipe((0,A.h)(zt=>zt instanceof Fe));switch(j.observe||"body"){case"body":switch(Ve.responseType){case"arraybuffer":return Mt.pipe((0,s.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zt.body}));case"blob":return Mt.pipe((0,s.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof Blob))throw new Error("Response is not a Blob.");return zt.body}));case"text":return Mt.pipe((0,s.U)(zt=>{if(null!==zt.body&&"string"!=typeof zt.body)throw new Error("Response is not a string.");return zt.body}));default:return Mt.pipe((0,s.U)(zt=>zt.body))}case"response":return Mt;default:throw new Error(`Unreachable: unhandled observe type ${j.observe}}`)}}delete(y,M={}){return this.request("DELETE",y,M)}get(y,M={}){return this.request("GET",y,M)}head(y,M={}){return this.request("HEAD",y,M)}jsonp(y,M){return this.request("JSONP",y,{params:(new ce).append(M,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(y,M={}){return this.request("OPTIONS",y,M)}patch(y,M,j={}){return this.request("PATCH",y,Me(j,M))}post(y,M,j={}){return this.request("POST",y,Me(j,M))}put(y,M,j={}){return this.request("PUT",y,Me(j,M))}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(b))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();class me{constructor(u,y){this.next=u,this.interceptor=y}handle(u){return this.interceptor.intercept(u,this.next)}}const Te=new f.OlP("HTTP_INTERCEPTORS");let te=(()=>{class c{intercept(y,M){return M.handle(y)}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();const Xe=/^\)\]\}',?\n/;let at=(()=>{class c{constructor(y){this.xhrFactory=y}handle(y){if("JSONP"===y.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new T.y(M=>{const j=this.xhrFactory.build();if(j.open(y.method,y.urlWithParams),y.withCredentials&&(j.withCredentials=!0),y.headers.forEach((bt,et)=>j.setRequestHeader(bt,et.join(","))),y.headers.has("Accept")||j.setRequestHeader("Accept","application/json, text/plain, */*"),!y.headers.has("Content-Type")){const bt=y.detectContentTypeHeader();null!==bt&&j.setRequestHeader("Content-Type",bt)}if(y.responseType){const bt=y.responseType.toLowerCase();j.responseType="json"!==bt?bt:"text"}const Ve=y.serializeBody();let nt=null;const Mt=()=>{if(null!==nt)return nt;const bt=j.statusText||"OK",et=new E(j.getAllResponseHeaders()),kt=function tt(c){return"responseURL"in c&&c.responseURL?c.responseURL:/^X-Request-URL:/m.test(c.getAllResponseHeaders())?c.getResponseHeader("X-Request-URL"):null}(j)||y.url;return nt=new Ne({headers:et,status:j.status,statusText:bt,url:kt}),nt},zt=()=>{let{headers:bt,status:et,statusText:kt,url:pt}=Mt(),It=null;204!==et&&(It=void 0===j.response?j.responseText:j.response),0===et&&(et=It?200:0);let We=et>=200&&et<300;if("json"===y.responseType&&"string"==typeof It){const qe=It;It=It.replace(Xe,"");try{It=""!==It?JSON.parse(It):null}catch(re){It=qe,We&&(We=!1,It={error:re,text:It})}}We?(M.next(new Fe({body:It,headers:bt,status:et,statusText:kt,url:pt||void 0})),M.complete()):M.error(new se({error:It,headers:bt,status:et,statusText:kt,url:pt||void 0}))},Vt=bt=>{const{url:et}=Mt(),kt=new se({error:bt,status:j.status||0,statusText:j.statusText||"Unknown Error",url:et||void 0});M.error(kt)};let Wt=!1;const At=bt=>{Wt||(M.next(Mt()),Wt=!0);let et={type:oe.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(et.total=bt.total),"text"===y.responseType&&!!j.responseText&&(et.partialText=j.responseText),M.next(et)},Ht=bt=>{let et={type:oe.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(et.total=bt.total),M.next(et)};return j.addEventListener("load",zt),j.addEventListener("error",Vt),j.addEventListener("timeout",Vt),j.addEventListener("abort",Vt),y.reportProgress&&(j.addEventListener("progress",At),null!==Ve&&j.upload&&j.upload.addEventListener("progress",Ht)),j.send(Ve),M.next({type:oe.Sent}),()=>{j.removeEventListener("error",Vt),j.removeEventListener("abort",Vt),j.removeEventListener("load",zt),j.removeEventListener("timeout",Vt),y.reportProgress&&(j.removeEventListener("progress",At),null!==Ve&&j.upload&&j.upload.removeEventListener("progress",Ht)),j.readyState!==j.DONE&&j.abort()}})}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(e.JF))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();const N=new f.OlP("XSRF_COOKIE_NAME"),he=new f.OlP("XSRF_HEADER_NAME");class D{}let S=(()=>{class c{constructor(y,M,j){this.doc=y,this.platform=M,this.cookieName=j,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const y=this.doc.cookie||"";return y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(y,this.cookieName),this.lastCookieString=y),this.lastToken}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(e.K0),f.LFG(f.Lbi),f.LFG(N))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),I=(()=>{class c{constructor(y,M){this.tokenService=y,this.headerName=M}intercept(y,M){const j=y.url.toLowerCase();if("GET"===y.method||"HEAD"===y.method||j.startsWith("http://")||j.startsWith("https://"))return M.handle(y);const Ve=this.tokenService.getToken();return null!==Ve&&!y.headers.has(this.headerName)&&(y=y.clone({headers:y.headers.set(this.headerName,Ve)})),M.handle(y)}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(D),f.LFG(he))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),P=(()=>{class c{constructor(y,M){this.backend=y,this.injector=M,this.chain=null}handle(y){if(null===this.chain){const M=this.injector.get(Te,[]);this.chain=M.reduceRight((j,Ve)=>new me(j,Ve),this.backend)}return this.chain.handle(y)}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(O),f.LFG(f.zs3))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),p=(()=>{class c{static disable(){return{ngModule:c,providers:[{provide:I,useClass:te}]}}static withOptions(y={}){return{ngModule:c,providers:[y.cookieName?{provide:N,useValue:y.cookieName}:[],y.headerName?{provide:he,useValue:y.headerName}:[]]}}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({providers:[I,{provide:Te,useExisting:I,multi:!0},{provide:D,useClass:S},{provide:N,useValue:"XSRF-TOKEN"},{provide:he,useValue:"X-XSRF-TOKEN"}]}),c})(),o=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({providers:[ve,{provide:b,useClass:P},at,{provide:O,useExisting:at}],imports:[[p.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),c})()},5e3:(Ke,be,d)=>{"use strict";d.d(be,{deG:()=>kg,tb:()=>lg,AFp:()=>rg,ip1:()=>Vl,CZH:()=>sr,hGG:()=>ZT,z2F:()=>jr,sBO:()=>AT,Sil:()=>ql,_Vd:()=>Br,EJc:()=>dg,SBq:()=>Fr,qLn:()=>Cr,vpe:()=>qs,tBr:()=>_r,XFs:()=>r,OlP:()=>Cn,zs3:()=>Ms,ZZ4:()=>Ba,aQg:()=>Fa,soG:()=>ka,YKP:()=>ff,h0i:()=>tr,PXZ:()=>dT,R0b:()=>_s,FiY:()=>po,Lbi:()=>cg,g9A:()=>ag,n_E:()=>Ma,Qsj:()=>Qy,FYo:()=>uf,JOm:()=>Gs,q3G:()=>Mn,tp0:()=>Io,Rgc:()=>Zr,dDg:()=>fg,GfV:()=>df,s_b:()=>Ra,ifc:()=>Ve,eFA:()=>_g,G48:()=>_T,Gpc:()=>h,f3M:()=>qg,_c5:()=>LT,VLi:()=>cT,c2e:()=>ug,zSh:()=>Zc,wAp:()=>Mi,vHH:()=>J,EiD:()=>Uu,mCW:()=>br,qzn:()=>Po,JVY:()=>pm,pB0:()=>_m,eBb:()=>gm,L6k:()=>fm,LAX:()=>mm,cg1:()=>El,kL8:()=>xp,yhl:()=>Pu,dqk:()=>Wt,sIi:()=>Ir,CqO:()=>Kh,QGY:()=>cl,F4k:()=>jh,RDi:()=>U,AaK:()=>b,z3N:()=>Xs,qOj:()=>Yc,TTD:()=>Jn,_Bn:()=>af,xp6:()=>Cd,uIk:()=>$c,Q2q:()=>Jc,Tol:()=>dp,Gre:()=>Cp,ekj:()=>gl,Suo:()=>Ff,Xpm:()=>G,lG2:()=>Ct,Yz7:()=>Ce,cJS:()=>Xe,oAB:()=>Bt,Yjl:()=>mt,Y36:()=>Or,_UZ:()=>zh,GkF:()=>Zh,BQk:()=>al,ynx:()=>rl,qZA:()=>ol,TgZ:()=>sl,EpF:()=>Gh,n5z:()=>Xr,Ikx:()=>Tl,LFG:()=>Bn,$8M:()=>Ga,$Z:()=>Uh,NdJ:()=>ll,CRH:()=>Hf,kcU:()=>Yn,O4$:()=>rn,oxw:()=>qh,ALo:()=>Df,lcZ:()=>Mf,xi3:()=>If,Dn7:()=>Rf,Hsn:()=>$h,F$t:()=>Wh,Q6J:()=>il,s9C:()=>hl,MGl:()=>ba,hYB:()=>pl,DdM:()=>Af,VKq:()=>bf,WLB:()=>yf,kEZ:()=>vf,iGM:()=>Nf,MAs:()=>Ih,evT:()=>Ju,Jf7:()=>$u,CHM:()=>vi,oJD:()=>zu,LSH:()=>nc,B6R:()=>ee,kYT:()=>jt,Udp:()=>fl,WFA:()=>ul,d8E:()=>Cl,YNc:()=>Mh,W1O:()=>Gf,_uU:()=>Ap,Oqu:()=>_l,hij:()=>va,AsE:()=>Al,lnq:()=>bl,HOy:()=>yl,xDo:()=>vl,Gf:()=>Bf});var e=d(8929),f=d(42654),g=d(32916),T=d(36787),m=d(12474);function A(a){for(let l in a)if(a[l]===A)return l;throw Error("Could not find renamed property on target object.")}function s(a,l){for(const _ in l)l.hasOwnProperty(_)&&!a.hasOwnProperty(_)&&(a[_]=l[_])}function b(a){if("string"==typeof a)return a;if(Array.isArray(a))return"["+a.map(b).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return`${a.overriddenName}`;if(a.name)return`${a.name}`;const l=a.toString();if(null==l)return""+l;const _=l.indexOf("\n");return-1===_?l:l.substring(0,_)}function O(a,l){return null==a||""===a?null===l?"":l:null==l||""===l?a:a+" "+l}const E=A({__forward_ref__:A});function h(a){return a.__forward_ref__=h,a.toString=function(){return b(this())},a}function k(a){return L(a)?a():a}function L(a){return"function"==typeof a&&a.hasOwnProperty(E)&&a.__forward_ref__===h}class J extends Error{constructor(l,_){super(function ue(a,l){return`NG0${Math.abs(a)}${l?": "+l:""}`}(l,_)),this.code=l}}function ce(a){return"string"==typeof a?a:null==a?"":String(a)}function Le(a){return"function"==typeof a?a.name||a.toString():"object"==typeof a&&null!=a&&"function"==typeof a.type?a.type.name||a.type.toString():ce(a)}function V(a,l){const _=l?` in ${l}`:"";throw new J(-201,`No provider for ${Le(a)} found${_}`)}function R(a,l){null==a&&function Oe(a,l,_,v){throw new Error(`ASSERTION ERROR: ${a}`+(null==v?"":` [Expected=> ${_} ${v} ${l} <=Actual]`))}(l,a,null,"!=")}function Ce(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}}function Xe(a){return{providers:a.providers||[],imports:a.imports||[]}}function tt(a){return at(a,S)||at(a,P)}function at(a,l){return a.hasOwnProperty(l)?a[l]:null}function D(a){return a&&(a.hasOwnProperty(I)||a.hasOwnProperty(i))?a[I]:null}const S=A({\u0275prov:A}),I=A({\u0275inj:A}),P=A({ngInjectableDef:A}),i=A({ngInjectorDef:A});var r=(()=>((r=r||{})[r.Default=0]="Default",r[r.Host=1]="Host",r[r.Self=2]="Self",r[r.SkipSelf=4]="SkipSelf",r[r.Optional=8]="Optional",r))();let p;function t(a){const l=p;return p=a,l}function n(a,l,_){const v=tt(a);return v&&"root"==v.providedIn?void 0===v.value?v.value=v.factory():v.value:_&r.Optional?null:void 0!==l?l:void V(b(a),"Injector")}function u(a){return{toString:a}.toString()}var y=(()=>((y=y||{})[y.OnPush=0]="OnPush",y[y.Default=1]="Default",y))(),Ve=(()=>{return(a=Ve||(Ve={}))[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",Ve;var a})();const nt="undefined"!=typeof globalThis&&globalThis,Mt="undefined"!=typeof window&&window,zt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Wt=nt||"undefined"!=typeof global&&global||Mt||zt,bt={},et=[],kt=A({\u0275cmp:A}),pt=A({\u0275dir:A}),It=A({\u0275pipe:A}),We=A({\u0275mod:A}),qe=A({\u0275fac:A}),re=A({__NG_ELEMENT_ID__:A});let Z=0;function G(a){return u(()=>{const _={},v={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:_,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:a.changeDetection===y.OnPush,directiveDefs:null,pipeDefs:null,selectors:a.selectors||et,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||Ve.Emulated,id:"c",styles:a.styles||et,_:null,setInput:null,schemas:a.schemas||null,tView:null},C=a.directives,w=a.features,x=a.pipes;return v.id+=Z++,v.inputs=St(a.inputs,_),v.outputs=St(a.outputs),w&&w.forEach(Q=>Q(v)),v.directiveDefs=C?()=>("function"==typeof C?C():C).map(_e):null,v.pipeDefs=x?()=>("function"==typeof x?x():x).map(Ue):null,v})}function ee(a,l,_){const v=a.\u0275cmp;v.directiveDefs=()=>l.map(_e),v.pipeDefs=()=>_.map(Ue)}function _e(a){return Rt(a)||function Gt(a){return a[pt]||null}(a)}function Ue(a){return function li(a){return a[It]||null}(a)}const Et={};function Bt(a){return u(()=>{const l={type:a.type,bootstrap:a.bootstrap||et,declarations:a.declarations||et,imports:a.imports||et,exports:a.exports||et,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null};return null!=a.id&&(Et[a.id]=a.type),l})}function jt(a,l){return u(()=>{const _=fi(a,!0);_.declarations=l.declarations||et,_.imports=l.imports||et,_.exports=l.exports||et})}function St(a,l){if(null==a)return bt;const _={};for(const v in a)if(a.hasOwnProperty(v)){let C=a[v],w=C;Array.isArray(C)&&(w=C[1],C=C[0]),_[C]=v,l&&(l[C]=w)}return _}const Ct=G;function mt(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,onDestroy:a.type.prototype.ngOnDestroy||null}}function Rt(a){return a[kt]||null}function fi(a,l){const _=a[We]||null;if(!_&&!0===l)throw new Error(`Type ${b(a)} does not have '\u0275mod' property.`);return _}function sn(a){return Array.isArray(a)&&"object"==typeof a[1]}function qi(a){return Array.isArray(a)&&!0===a[1]}function Tt(a){return 0!=(8&a.flags)}function $t(a){return 2==(2&a.flags)}function q(a){return 1==(1&a.flags)}function ut(a){return null!==a.template}function we(a){return 0!=(512&a[2])}function gn(a,l){return a.hasOwnProperty(qe)?a[qe]:null}class Fn{constructor(l,_,v){this.previousValue=l,this.currentValue=_,this.firstChange=v}isFirstChange(){return this.firstChange}}function Jn(){return Qn}function Qn(a){return a.type.prototype.ngOnChanges&&(a.setInput=Ln),Xn}function Xn(){const a=hs(this),l=null==a?void 0:a.current;if(l){const _=a.previous;if(_===bt)a.previous=l;else for(let v in l)_[v]=l[v];a.current=null,this.ngOnChanges(l)}}function Ln(a,l,_,v){const C=hs(a)||function jn(a,l){return a[Hn]=l}(a,{previous:bt,current:null}),w=C.current||(C.current={}),x=C.previous,Q=this.declaredInputs[_],Ae=x[Q];w[Q]=new Fn(Ae&&Ae.currentValue,l,x===bt),a[v]=l}Jn.ngInherit=!0;const Hn="__ngSimpleChanges__";function hs(a){return a[Hn]||null}let B;function U(a){B=a}function Se(){return void 0!==B?B:"undefined"!=typeof document?document:void 0}function ft(a){return!!a.listen}const W={createRenderer:(a,l)=>Se()};function ne(a){for(;Array.isArray(a);)a=a[0];return a}function Nt(a,l){return ne(l[a])}function Zt(a,l){return ne(l[a.index])}function ai(a,l){return a.data[l]}function hi(a,l){return a[l]}function mi(a,l){const _=l[a];return sn(_)?_:_[0]}function yi(a){return 4==(4&a[2])}function xi(a){return 128==(128&a[2])}function Ee(a,l){return null==l?null:a[l]}function ye(a){a[18]=0}function ot(a,l){a[5]+=l;let _=a,v=a[3];for(;null!==v&&(1===l&&1===_[5]||-1===l&&0===_[5]);)v[5]+=l,_=v,v=v[3]}const Lt={lFrame:oi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Kn(){return Lt.bindingsEnabled}function ti(){return Lt.lFrame.lView}function si(){return Lt.lFrame.tView}function vi(a){return Lt.lFrame.contextLView=a,a[8]}function gi(){let a=Fi();for(;null!==a&&64===a.type;)a=a.parent;return a}function Fi(){return Lt.lFrame.currentTNode}function An(a,l){const _=Lt.lFrame;_.currentTNode=a,_.isParent=l}function Dn(){return Lt.lFrame.isParent}function Vn(){Lt.lFrame.isParent=!1}function rs(){return Lt.isInCheckNoChangesMode}function yn(a){Lt.isInCheckNoChangesMode=a}function hn(){const a=Lt.lFrame;let l=a.bindingRootIndex;return-1===l&&(l=a.bindingRootIndex=a.tView.bindingStartIndex),l}function Tn(){return Lt.lFrame.bindingIndex}function cs(){return Lt.lFrame.bindingIndex++}function ls(a){const l=Lt.lFrame,_=l.bindingIndex;return l.bindingIndex=l.bindingIndex+a,_}function yo(a,l){const _=Lt.lFrame;_.bindingIndex=_.bindingRootIndex=a,le(l)}function le(a){Lt.lFrame.currentDirectiveIndex=a}function Je(a){const l=Lt.lFrame.currentDirectiveIndex;return-1===l?null:a[l]}function Re(){return Lt.lFrame.currentQueryIndex}function ct(a){Lt.lFrame.currentQueryIndex=a}function xt(a){const l=a[1];return 2===l.type?l.declTNode:1===l.type?a[6]:null}function Kt(a,l,_){if(_&r.SkipSelf){let C=l,w=a;for(;!(C=C.parent,null!==C||_&r.Host||(C=xt(w),null===C||(w=w[15],10&C.type))););if(null===C)return!1;l=C,a=w}const v=Lt.lFrame=ui();return v.currentTNode=l,v.lView=a,!0}function ni(a){const l=ui(),_=a[1];Lt.lFrame=l,l.currentTNode=_.firstChild,l.lView=a,l.tView=_,l.contextLView=a,l.bindingIndex=_.bindingStartIndex,l.inI18n=!1}function ui(){const a=Lt.lFrame,l=null===a?null:a.child;return null===l?oi(a):l}function oi(a){const l={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:a,child:null,inI18n:!1};return null!==a&&(a.child=l),l}function Di(){const a=Lt.lFrame;return Lt.lFrame=a.parent,a.currentTNode=null,a.lView=null,a}const Zi=Di;function en(){const a=Di();a.isParent=!0,a.tView=null,a.selectedIndex=-1,a.contextLView=null,a.elementDepthCount=0,a.currentDirectiveIndex=-1,a.currentNamespace=null,a.bindingRootIndex=-1,a.bindingIndex=-1,a.currentQueryIndex=0}function Ii(){return Lt.lFrame.selectedIndex}function on(a){Lt.lFrame.selectedIndex=a}function Gi(){const a=Lt.lFrame;return ai(a.tView,a.selectedIndex)}function rn(){Lt.lFrame.currentNamespace="svg"}function Yn(){!function vn(){Lt.lFrame.currentNamespace=null}()}function $s(a,l){for(let _=l.directiveStart,v=l.directiveEnd;_=v)break}else l[Ae]<0&&(a[18]+=65536),(Q>11>16&&(3&a[2])===l){a[2]+=2048;try{w.call(Q)}finally{}}}else try{w.call(Q)}finally{}}class Qs{constructor(l,_,v){this.factory=l,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=v}}function Co(a,l,_){const v=ft(a);let C=0;for(;C<_.length;){const w=_[C];if("number"==typeof w){if(0!==w)break;C++;const x=_[C++],Q=_[C++],Ae=_[C++];v?a.setAttribute(l,Q,Ae,x):l.setAttributeNS(x,Q,Ae)}else{const x=w,Q=_[++C];cr(x)?v&&a.setProperty(l,x,Q):v?a.setAttribute(l,x,Q):l.setAttribute(x,Q),C++}}return C}function $r(a){return 3===a||4===a||6===a}function cr(a){return 64===a.charCodeAt(0)}function co(a,l){if(null!==l&&0!==l.length)if(null===a||0===a.length)a=l.slice();else{let _=-1;for(let v=0;vl){x=w-1;break}}}for(;w>16}(a),v=l;for(;_>0;)v=v[15],_--;return v}let ur=!0;function lo(a){const l=ur;return ur=a,l}let $=0;function Pe(a,l){const _=ht(a,l);if(-1!==_)return _;const v=l[1];v.firstCreatePass&&(a.injectorIndex=l.length,ze(v.data,a),ze(l,null),ze(v.blueprint,null));const C=wt(a,l),w=a.injectorIndex;if(Qr(C)){const x=no(C),Q=so(C,l),Ae=Q[1].data;for(let je=0;je<8;je++)l[w+je]=Q[x+je]|Ae[x+je]}return l[w+8]=C,w}function ze(a,l){a.push(0,0,0,0,0,0,0,0,l)}function ht(a,l){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===l[a.injectorIndex+8]?-1:a.injectorIndex}function wt(a,l){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let _=0,v=null,C=l;for(;null!==C;){const w=C[1],x=w.type;if(v=2===x?w.declTNode:1===x?C[6]:null,null===v)return-1;if(_++,C=C[15],-1!==v.injectorIndex)return v.injectorIndex|_<<16}return-1}function Pt(a,l,_){!function z(a,l,_){let v;"string"==typeof _?v=_.charCodeAt(0)||0:_.hasOwnProperty(re)&&(v=_[re]),null==v&&(v=_[re]=$++);const C=255&v;l.data[a+(C>>5)]|=1<=0?255&l:an:l}(_);if("function"==typeof w){if(!Kt(l,a,v))return v&r.Host?_i(C,_,v):ji(l,_,v,C);try{const x=w(v);if(null!=x||v&r.Optional)return x;V(_)}finally{Zi()}}else if("number"==typeof w){let x=null,Q=ht(a,l),Ae=-1,je=v&r.Host?l[16][6]:null;for((-1===Q||v&r.SkipSelf)&&(Ae=-1===Q?wt(a,l):l[Q+8],-1!==Ae&&Ss(v,!1)?(x=l[1],Q=no(Ae),l=so(Ae,l)):Q=-1);-1!==Q;){const it=l[1];if(ho(w,Q,it.data)){const yt=uo(Q,l,_,x,v,je);if(yt!==tn)return yt}Ae=l[Q+8],-1!==Ae&&Ss(v,l[1].data[Q+8]===je)&&ho(w,Q,l)?(x=it,Q=no(Ae),l=so(Ae,l)):Q=-1}}}return ji(l,_,v,C)}const tn={};function an(){return new fs(gi(),ti())}function uo(a,l,_,v,C,w){const x=l[1],Q=x.data[a+8],it=ds(Q,x,_,null==v?$t(Q)&&ur:v!=x&&0!=(3&Q.type),C&r.Host&&w===Q);return null!==it?ts(l,x,it,Q):tn}function ds(a,l,_,v,C){const w=a.providerIndexes,x=l.data,Q=1048575&w,Ae=a.directiveStart,it=w>>20,Ot=C?Q+it:a.directiveEnd;for(let Ut=v?Q:Q+it;Ut=Ae&&qt.type===_)return Ut}if(C){const Ut=x[Ae];if(Ut&&ut(Ut)&&Ut.type===_)return Ae}return null}function ts(a,l,_,v){let C=a[_];const w=l.data;if(function qr(a){return a instanceof Qs}(C)){const x=C;x.resolving&&function de(a,l){const _=l?`. Dependency path: ${l.join(" > ")} > ${a}`:"";throw new J(-200,`Circular dependency in DI detected for ${a}${_}`)}(Le(w[_]));const Q=lo(x.canSeeViewProviders);x.resolving=!0;const Ae=x.injectImpl?t(x.injectImpl):null;Kt(a,v,r.Default);try{C=a[_]=x.factory(void 0,w,a,v),l.firstCreatePass&&_>=v.directiveStart&&function vo(a,l,_){const{ngOnChanges:v,ngOnInit:C,ngDoCheck:w}=l.type.prototype;if(v){const x=Qn(l);(_.preOrderHooks||(_.preOrderHooks=[])).push(a,x),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,x)}C&&(_.preOrderHooks||(_.preOrderHooks=[])).push(0-a,C),w&&((_.preOrderHooks||(_.preOrderHooks=[])).push(a,w),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,w))}(_,w[_],l)}finally{null!==Ae&&t(Ae),lo(Q),x.resolving=!1,Zi()}}return C}function ho(a,l,_){return!!(_[l+(a>>5)]&1<{const l=a.prototype.constructor,_=l[qe]||Za(l),v=Object.prototype;let C=Object.getPrototypeOf(a.prototype).constructor;for(;C&&C!==v;){const w=C[qe]||Za(C);if(w&&w!==_)return w;C=Object.getPrototypeOf(C)}return w=>new w})}function Za(a){return L(a)?()=>{const l=Za(k(a));return l&&l()}:gn(a)}function Ga(a){return function Yt(a,l){if("class"===l)return a.classes;if("style"===l)return a.styles;const _=a.attrs;if(_){const v=_.length;let C=0;for(;C{const v=function ja(a){return function(..._){if(a){const v=a(..._);for(const C in v)this[C]=v[C]}}}(l);function C(...w){if(this instanceof C)return v.apply(this,w),this;const x=new C(...w);return Q.annotation=x,Q;function Q(Ae,je,it){const yt=Ae.hasOwnProperty(wo)?Ae[wo]:Object.defineProperty(Ae,wo,{value:[]})[wo];for(;yt.length<=it;)yt.push(null);return(yt[it]=yt[it]||[]).push(x),Ae}}return _&&(C.prototype=Object.create(_.prototype)),C.prototype.ngMetadataName=a,C.annotationCls=C,C})}class Cn{constructor(l,_){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=Ce({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}toString(){return`InjectionToken ${this._desc}`}}const kg=new Cn("AnalyzeForEntryComponents");function Ds(a,l){void 0===l&&(l=a);for(let _=0;_Array.isArray(_)?Us(_,l):l(_))}function _u(a,l,_){l>=a.length?a.push(_):a.splice(l,0,_)}function ea(a,l){return l>=a.length-1?a.pop():a.splice(l,1)[0]}function pr(a,l){const _=[];for(let v=0;v=0?a[1|v]=_:(v=~v,function Bg(a,l,_,v){let C=a.length;if(C==l)a.push(_,v);else if(1===C)a.push(v,a[0]),a[0]=_;else{for(C--,a.push(a[C-1],a[C]);C>l;)a[C]=a[C-2],C--;a[l]=_,a[l+1]=v}}(a,v,l,_)),v}function Va(a,l){const _=Mo(a,l);if(_>=0)return a[1|_]}function Mo(a,l){return function yu(a,l,_){let v=0,C=a.length>>_;for(;C!==v;){const w=v+(C-v>>1),x=a[w<<_];if(l===x)return w<<_;x>l?C=w:v=w+1}return~(C<<_)}(a,l,1)}const fr={},qa="__NG_DI_FLAG__",ia="ngTempTokenPath",jg=/\n/gm,Tu="__source",Vg=A({provide:String,useValue:A});let gr;function Cu(a){const l=gr;return gr=a,l}function Yg(a,l=r.Default){if(void 0===gr)throw new J(203,"");return null===gr?n(a,void 0,l):gr.get(a,l&r.Optional?null:void 0,l)}function Bn(a,l=r.Default){return(function o(){return p}()||Yg)(k(a),l)}const qg=Bn;function Wa(a){const l=[];for(let _=0;_({token:a})),-1),po=mr(Do("Optional"),8),Io=mr(Do("SkipSelf"),4);let sa,oa;function Oo(a){var l;return(null===(l=function Ja(){if(void 0===sa&&(sa=null,Wt.trustedTypes))try{sa=Wt.trustedTypes.createPolicy("angular",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return sa}())||void 0===l?void 0:l.createHTML(a))||a}function Iu(a){var l;return(null===(l=function Qa(){if(void 0===oa&&(oa=null,Wt.trustedTypes))try{oa=Wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return oa}())||void 0===l?void 0:l.createHTML(a))||a}class fo{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class cm extends fo{getTypeName(){return"HTML"}}class lm extends fo{getTypeName(){return"Style"}}class um extends fo{getTypeName(){return"Script"}}class dm extends fo{getTypeName(){return"URL"}}class hm extends fo{getTypeName(){return"ResourceURL"}}function Xs(a){return a instanceof fo?a.changingThisBreaksApplicationSecurity:a}function Po(a,l){const _=Pu(a);if(null!=_&&_!==l){if("ResourceURL"===_&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${_} (see https://g.co/ng/security#xss)`)}return _===l}function Pu(a){return a instanceof fo&&a.getTypeName()||null}function pm(a){return new cm(a)}function fm(a){return new lm(a)}function gm(a){return new um(a)}function mm(a){return new dm(a)}function _m(a){return new hm(a)}class Am{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const _=(new window.DOMParser).parseFromString(Oo(l),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(l):(_.removeChild(_.firstChild),_)}catch(_){return null}}}class bm{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const _=this.inertDocument.createElement("html");this.inertDocument.appendChild(_);const v=this.inertDocument.createElement("body");_.appendChild(v)}}getInertBodyElement(l){const _=this.inertDocument.createElement("template");if("content"in _)return _.innerHTML=Oo(l),_;const v=this.inertDocument.createElement("body");return v.innerHTML=Oo(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(v),v}stripCustomNsAttrs(l){const _=l.attributes;for(let C=_.length-1;0br(l.trim())).join(", ")),this.buf.push(" ",x,'="',Hu(Ae),'"')}var a;return this.buf.push(">"),!0}endElement(l){const _=l.nodeName.toLowerCase();Xa.hasOwnProperty(_)&&!Lu.hasOwnProperty(_)&&(this.buf.push(""))}chars(l){this.buf.push(Hu(l))}checkClobberedElement(l,_){if(_&&(l.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return _}}const wm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sm=/([^\#-~ |!])/g;function Hu(a){return a.replace(/&/g,"&").replace(wm,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(Sm,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let ra;function Uu(a,l){let _=null;try{ra=ra||function xu(a){const l=new bm(a);return function ym(){try{return!!(new window.DOMParser).parseFromString(Oo(""),"text/html")}catch(a){return!1}}()?new Am(l):l}(a);let v=l?String(l):"";_=ra.getInertBodyElement(v);let C=5,w=v;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,v=w,w=_.innerHTML,_=ra.getInertBodyElement(v)}while(v!==w);return Oo((new Em).sanitizeChildren(ic(_)||_))}finally{if(_){const v=ic(_)||_;for(;v.firstChild;)v.removeChild(v.firstChild)}}}function ic(a){return"content"in a&&function Dm(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var Mn=(()=>((Mn=Mn||{})[Mn.NONE=0]="NONE",Mn[Mn.HTML=1]="HTML",Mn[Mn.STYLE=2]="STYLE",Mn[Mn.SCRIPT=3]="SCRIPT",Mn[Mn.URL=4]="URL",Mn[Mn.RESOURCE_URL=5]="RESOURCE_URL",Mn))();function zu(a){const l=vr();return l?Iu(l.sanitize(Mn.HTML,a)||""):Po(a,"HTML")?Iu(Xs(a)):Uu(Se(),ce(a))}function nc(a){const l=vr();return l?l.sanitize(Mn.URL,a)||"":Po(a,"URL")?Xs(a):br(ce(a))}function vr(){const a=ti();return a&&a[12]}const ju="__ngContext__";function qn(a,l){a[ju]=l}function oc(a){const l=function Tr(a){return a[ju]||null}(a);return l?Array.isArray(l)?l:l.lView:null}function ac(a){return a.ngOriginalError}function Gm(a,...l){a.error(...l)}class Cr{constructor(){this._console=console}handleError(l){const _=this._findOriginalError(l),v=function Zm(a){return a&&a.ngErrorLogger||Gm}(l);v(this._console,"ERROR",l),_&&v(this._console,"ORIGINAL ERROR",_)}_findOriginalError(l){let _=l&&ac(l);for(;_&&ac(_);)_=ac(_);return _||null}}const Wu=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Wt))();function $u(a){return a.ownerDocument.defaultView}function Ju(a){return a.ownerDocument}function Zs(a){return a instanceof Function?a():a}var Gs=(()=>((Gs=Gs||{})[Gs.Important=1]="Important",Gs[Gs.DashCase=2]="DashCase",Gs))();function lc(a,l){return undefined(a,l)}function Er(a){const l=a[3];return qi(l)?l[3]:l}function uc(a){return id(a[13])}function dc(a){return id(a[4])}function id(a){for(;null!==a&&!qi(a);)a=a[4];return a}function ko(a,l,_,v,C){if(null!=v){let w,x=!1;qi(v)?w=v:sn(v)&&(x=!0,v=v[0]);const Q=ne(v);0===a&&null!==_?null==C?cd(l,_,Q):go(l,_,Q,C||null,!0):1===a&&null!==_?go(l,_,Q,C||null,!0):2===a?function gd(a,l,_){const v=aa(a,l);v&&function u_(a,l,_,v){ft(a)?a.removeChild(l,_,v):l.removeChild(_)}(a,v,l,_)}(l,Q,x):3===a&&l.destroyNode(Q),null!=w&&function p_(a,l,_,v,C){const w=_[7];w!==ne(_)&&ko(l,a,v,w,C);for(let Q=10;Q<_.length;Q++){const Ae=_[Q];wr(Ae[1],Ae,a,l,v,w)}}(l,a,w,_,C)}}function pc(a,l,_){if(ft(a))return a.createElement(l,_);{const v=null!==_?function rt(a){const l=a.toLowerCase();return"svg"===l?"http://www.w3.org/2000/svg":"math"===l?"http://www.w3.org/1998/MathML/":null}(_):null;return null===v?a.createElement(l):a.createElementNS(v,l)}}function sd(a,l){const _=a[9],v=_.indexOf(l),C=l[3];1024&l[2]&&(l[2]&=-1025,ot(C,-1)),_.splice(v,1)}function fc(a,l){if(a.length<=10)return;const _=10+l,v=a[_];if(v){const C=v[17];null!==C&&C!==a&&sd(C,v),l>0&&(a[_-1][4]=v[4]);const w=ea(a,10+l);!function i_(a,l){wr(a,l,l[11],2,null,null),l[0]=null,l[6]=null}(v[1],v);const x=w[19];null!==x&&x.detachView(w[1]),v[3]=null,v[4]=null,v[2]&=-129}return v}function od(a,l){if(!(256&l[2])){const _=l[11];ft(_)&&_.destroyNode&&wr(a,l,_,3,null,null),function o_(a){let l=a[13];if(!l)return gc(a[1],a);for(;l;){let _=null;if(sn(l))_=l[13];else{const v=l[10];v&&(_=v)}if(!_){for(;l&&!l[4]&&l!==a;)sn(l)&&gc(l[1],l),l=l[3];null===l&&(l=a),sn(l)&&gc(l[1],l),_=l&&l[4]}l=_}}(l)}}function gc(a,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function l_(a,l){let _;if(null!=a&&null!=(_=a.destroyHooks))for(let v=0;v<_.length;v+=2){const C=l[_[v]];if(!(C instanceof Qs)){const w=_[v+1];if(Array.isArray(w))for(let x=0;x=0?v[C=je]():v[C=-je].unsubscribe(),w+=2}else{const x=v[C=_[w+1]];_[w].call(x)}if(null!==v){for(let w=C+1;ww?"":C[yt+1].toLowerCase();const Ut=8&v?Ot:null;if(Ut&&-1!==Ad(Ut,je,0)||2&v&&je!==Ot){if(Ps(v))return!1;x=!0}}}}else{if(!x&&!Ps(v)&&!Ps(Ae))return!1;if(x&&Ps(Ae))continue;x=!1,v=Ae|1&v}}return Ps(v)||x}function Ps(a){return 0==(1&a)}function A_(a,l,_,v){if(null===l)return-1;let C=0;if(v||!_){let w=!1;for(;C-1)for(_++;_0?'="'+Q+'"':"")+"]"}else 8&v?C+="."+x:4&v&&(C+=" "+x);else""!==C&&!Ps(x)&&(l+=Td(w,C),C=""),v=x,w=w||!Ps(v);_++}return""!==C&&(l+=Td(w,C)),l}const ki={};function Cd(a){Ed(si(),ti(),Ii()+a,rs())}function Ed(a,l,_,v){if(!v)if(3==(3&l[2])){const w=a.preOrderCheckHooks;null!==w&&Js(l,w,_)}else{const w=a.preOrderHooks;null!==w&&Rs(l,w,0,_)}on(_)}function ua(a,l){return a<<17|l<<2}function xs(a){return a>>17&32767}function yc(a){return 2|a}function eo(a){return(131068&a)>>2}function vc(a,l){return-131069&a|l<<2}function Tc(a){return 1|a}function Ld(a,l){const _=a.contentQueries;if(null!==_)for(let v=0;v<_.length;v+=2){const C=_[v],w=_[v+1];if(-1!==w){const x=a.data[w];ct(C),x.contentQueries(2,l[w],w)}}}function Sr(a,l,_,v,C,w,x,Q,Ae,je){const it=l.blueprint.slice();return it[0]=C,it[2]=140|v,ye(it),it[3]=it[15]=a,it[8]=_,it[10]=x||a&&a[10],it[11]=Q||a&&a[11],it[12]=Ae||a&&a[12]||null,it[9]=je||a&&a[9]||null,it[6]=w,it[16]=2==l.type?a[16]:it,it}function Lo(a,l,_,v,C){let w=a.data[l];if(null===w)w=function Oc(a,l,_,v,C){const w=Fi(),x=Dn(),Ae=a.data[l]=function z_(a,l,_,v,C,w){return{type:_,index:v,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:C,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?w:w&&w.parent,_,l,v,C);return null===a.firstChild&&(a.firstChild=Ae),null!==w&&(x?null==w.child&&null!==Ae.parent&&(w.child=Ae):null===w.next&&(w.next=Ae)),Ae}(a,l,_,v,C),function Kr(){return Lt.lFrame.inI18n}()&&(w.flags|=64);else if(64&w.type){w.type=_,w.value=v,w.attrs=C;const x=function un(){const a=Lt.lFrame,l=a.currentTNode;return a.isParent?l:l.parent}();w.injectorIndex=null===x?-1:x.injectorIndex}return An(w,!0),w}function No(a,l,_,v){if(0===_)return-1;const C=l.length;for(let w=0;w<_;w++)l.push(v),a.blueprint.push(v),a.data.push(null);return C}function Dr(a,l,_){ni(l);try{const v=a.viewQuery;null!==v&&Uc(1,v,_);const C=a.template;null!==C&&Nd(a,l,C,1,_),a.firstCreatePass&&(a.firstCreatePass=!1),a.staticContentQueries&&Ld(a,l),a.staticViewQueries&&Uc(2,a.viewQuery,_);const w=a.components;null!==w&&function F_(a,l){for(let _=0;_20&&Ed(a,l,20,rs()),_(v,C)}finally{on(w)}}function Bd(a,l,_){if(Tt(l)){const C=l.directiveEnd;for(let w=l.directiveStart;w0;){const _=a[--l];if("number"==typeof _&&_<0)return _}return 0})(Q)!=Ae&&Q.push(Ae),Q.push(v,C,x)}}function Kd(a,l){null!==a.hostBindings&&a.hostBindings(1,l)}function Vd(a,l){l.flags|=2,(a.components||(a.components=[])).push(l.index)}function Q_(a,l,_){if(_){if(l.exportAs)for(let v=0;v0&&Nc(_)}}function Nc(a){for(let v=uc(a);null!==v;v=dc(v))for(let C=10;C0&&Nc(w)}const _=a[1].components;if(null!==_)for(let v=0;v<_.length;v++){const C=mi(_[v],a);xi(C)&&C[5]>0&&Nc(C)}}function oA(a,l){const _=mi(l,a),v=_[1];(function rA(a,l){for(let _=l.length;_Promise.resolve(null))();function Jd(a){return a[7]||(a[7]=[])}function Qd(a){return a.cleanup||(a.cleanup=[])}function Xd(a,l,_){return(null===a||ut(a))&&(_=function Ge(a){for(;Array.isArray(a);){if("object"==typeof a[1])return a;a=a[0]}return null}(_[l.index])),_[11]}function eh(a,l){const _=a[9],v=_?_.get(Cr,null):null;v&&v.handleError(l)}function th(a,l,_,v,C){for(let w=0;w<_.length;){const x=_[w++],Q=_[w++],Ae=l[x],je=a.data[x];null!==je.setInput?je.setInput(Ae,C,v,Q):Ae[Q]=C}}function to(a,l,_){const v=Nt(l,a);!function nd(a,l,_){ft(a)?a.setValue(l,_):l.textContent=_}(a[11],v,_)}function ga(a,l,_){let v=_?a.styles:null,C=_?a.classes:null,w=0;if(null!==l)for(let x=0;xthis.processProvider(Q,l,_)),Us([l],Q=>this.processInjectorType(Q,[],w)),this.records.set(zc,Fo(void 0,this));const x=this.records.get(Zc);this.scope=null!=x?x.value:null,this.source=C||("object"==typeof l?null:b(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,_=fr,v=r.Default){this.assertNotDestroyed();const C=Cu(this),w=t(void 0);try{if(!(v&r.SkipSelf)){let Q=this.records.get(l);if(void 0===Q){const Ae=function TA(a){return"function"==typeof a||"object"==typeof a&&a instanceof Cn}(l)&&tt(l);Q=Ae&&this.injectableDefInScope(Ae)?Fo(jc(l),Mr):null,this.records.set(l,Q)}if(null!=Q)return this.hydrate(l,Q)}return(v&r.Self?nh():this.parent).get(l,_=v&r.Optional&&_===fr?null:_)}catch(x){if("NullInjectorError"===x.name){if((x[ia]=x[ia]||[]).unshift(b(l)),C)throw x;return function $g(a,l,_,v){const C=a[ia];throw l[Tu]&&C.unshift(l[Tu]),a.message=function Jg(a,l,_,v=null){a=a&&"\n"===a.charAt(0)&&"\u0275"==a.charAt(1)?a.substr(2):a;let C=b(l);if(Array.isArray(l))C=l.map(b).join(" -> ");else if("object"==typeof l){let w=[];for(let x in l)if(l.hasOwnProperty(x)){let Q=l[x];w.push(x+":"+("string"==typeof Q?JSON.stringify(Q):b(Q)))}C=`{${w.join(", ")}}`}return`${_}${v?"("+v+")":""}[${C}]: ${a.replace(jg,"\n ")}`}("\n"+a.message,C,_,v),a.ngTokenPath=C,a[ia]=null,a}(x,l,"R3InjectorError",this.source)}throw x}finally{t(w),Cu(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((v,C)=>l.push(b(C))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processInjectorType(l,_,v){if(!(l=k(l)))return!1;let C=D(l);const w=null==C&&l.ngModule||void 0,x=void 0===w?l:w,Q=-1!==v.indexOf(x);if(void 0!==w&&(C=D(w)),null==C)return!1;if(null!=C.imports&&!Q){let it;v.push(x);try{Us(C.imports,yt=>{this.processInjectorType(yt,_,v)&&(void 0===it&&(it=[]),it.push(yt))})}finally{}if(void 0!==it)for(let yt=0;ytthis.processProvider(qt,Ot,Ut||et))}}this.injectorDefTypes.add(x);const Ae=gn(x)||(()=>new x);this.records.set(x,Fo(Ae,Mr));const je=C.providers;if(null!=je&&!Q){const it=l;Us(je,yt=>this.processProvider(yt,it,je))}return void 0!==w&&void 0!==l.providers}processProvider(l,_,v){let C=Ho(l=k(l))?l:k(l&&l.provide);const w=function mA(a,l,_){return ah(a)?Fo(void 0,a.useValue):Fo(rh(a),Mr)}(l);if(Ho(l)||!0!==l.multi)this.records.get(C);else{let x=this.records.get(C);x||(x=Fo(void 0,Mr,!0),x.factory=()=>Wa(x.multi),this.records.set(C,x)),C=l,x.multi.push(l)}this.records.set(C,w)}hydrate(l,_){return _.value===Mr&&(_.value=pA,_.value=_.factory()),"object"==typeof _.value&&_.value&&function vA(a){return null!==a&&"object"==typeof a&&"function"==typeof a.ngOnDestroy}(_.value)&&this.onDestroy.add(_.value),_.value}injectableDefInScope(l){if(!l.providedIn)return!1;const _=k(l.providedIn);return"string"==typeof _?"any"===_||_===this.scope:this.injectorDefTypes.has(_)}}function jc(a){const l=tt(a),_=null!==l?l.factory:gn(a);if(null!==_)return _;if(a instanceof Cn)throw new J(204,!1);if(a instanceof Function)return function gA(a){const l=a.length;if(l>0)throw pr(l,"?"),new J(204,!1);const _=function N(a){const l=a&&(a[S]||a[P]);if(l){const _=function he(a){if(a.hasOwnProperty("name"))return a.name;const l=(""+a).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(a);return console.warn(`DEPRECATED: DI is instantiating a token "${_}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${_}" class.`),l}return null}(a);return null!==_?()=>_.factory(a):()=>new a}(a);throw new J(204,!1)}function rh(a,l,_){let v;if(Ho(a)){const C=k(a);return gn(C)||jc(C)}if(ah(a))v=()=>k(a.useValue);else if(function AA(a){return!(!a||!a.useFactory)}(a))v=()=>a.useFactory(...Wa(a.deps||[]));else if(function _A(a){return!(!a||!a.useExisting)}(a))v=()=>Bn(k(a.useExisting));else{const C=k(a&&(a.useClass||a.provide));if(!function yA(a){return!!a.deps}(a))return gn(C)||jc(C);v=()=>new C(...Wa(a.deps))}return v}function Fo(a,l,_=!1){return{factory:a,value:l,multi:_?[]:void 0}}function ah(a){return null!==a&&"object"==typeof a&&Vg in a}function Ho(a){return"function"==typeof a}let Ms=(()=>{class a{static create(_,v){var C;if(Array.isArray(_))return sh({name:""},v,_,"");{const w=null!==(C=_.name)&&void 0!==C?C:"";return sh({name:w},_.parent,_.providers,w)}}}return a.THROW_IF_NOT_FOUND=fr,a.NULL=new ih,a.\u0275prov=Ce({token:a,providedIn:"any",factory:()=>Bn(zc)}),a.__NG_ELEMENT_ID__=-1,a})();function RA(a,l){$s(oc(a)[1],gi())}function Yc(a){let l=function bh(a){return Object.getPrototypeOf(a.prototype).constructor}(a.type),_=!0;const v=[a];for(;l;){let C;if(ut(a))C=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new J(903,"");C=l.\u0275dir}if(C){if(_){v.push(C);const x=a;x.inputs=qc(a.inputs),x.declaredInputs=qc(a.declaredInputs),x.outputs=qc(a.outputs);const Q=C.hostBindings;Q&&kA(a,Q);const Ae=C.viewQuery,je=C.contentQueries;if(Ae&&PA(a,Ae),je&&xA(a,je),s(a.inputs,C.inputs),s(a.declaredInputs,C.declaredInputs),s(a.outputs,C.outputs),ut(C)&&C.data.animation){const it=a.data;it.animation=(it.animation||[]).concat(C.data.animation)}}const w=C.features;if(w)for(let x=0;x=0;v--){const C=a[v];C.hostVars=l+=C.hostVars,C.hostAttrs=co(C.hostAttrs,_=co(_,C.hostAttrs))}}(v)}function qc(a){return a===bt?{}:a===et?[]:a}function PA(a,l){const _=a.viewQuery;a.viewQuery=_?(v,C)=>{l(v,C),_(v,C)}:l}function xA(a,l){const _=a.contentQueries;a.contentQueries=_?(v,C,w)=>{l(v,C,w),_(v,C,w)}:l}function kA(a,l){const _=a.hostBindings;a.hostBindings=_?(v,C)=>{l(v,C),_(v,C)}:l}let ma=null;function Uo(){if(!ma){const a=Wt.Symbol;if(a&&a.iterator)ma=a.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let _=0;_Q(ne(Ki[v.index])):v.index;if(ft(_)){let Ki=null;if(!Q&&Ae&&(Ki=function ub(a,l,_,v){const C=a.cleanup;if(null!=C)for(let w=0;wAe?Q[Ae]:null}"string"==typeof x&&(w+=2)}return null}(a,l,C,v.index)),null!==Ki)(Ki.__ngLastListenerFn__||Ki).__ngNextListenerFn__=w,Ki.__ngLastListenerFn__=w,Ut=!1;else{w=dl(v,l,yt,w,!1);const cn=_.listen(Ai,C,w);Ot.push(w,cn),it&&it.push(C,wi,Xt,Xt+1)}}else w=dl(v,l,yt,w,!0),Ai.addEventListener(C,w,x),Ot.push(w),it&&it.push(C,wi,Xt,x)}else w=dl(v,l,yt,w,!1);const qt=v.outputs;let ri;if(Ut&&null!==qt&&(ri=qt[C])){const pi=ri.length;if(pi)for(let Ai=0;Ai0;)l=l[15],a--;return l}(a,Lt.lFrame.contextLView))[8]}(a)}function db(a,l){let _=null;const v=function b_(a){const l=a.attrs;if(null!=l){const _=l.indexOf(5);if(0==(1&_))return l[_+1]}return null}(a);for(let C=0;C=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(a){return a.substring(xn.key,xn.keyEnd)}function rp(a,l){const _=xn.textEnd;return _===l?-1:(l=xn.keyEnd=function Ab(a,l,_){for(;l<_&&a.charCodeAt(l)>32;)l++;return l}(a,xn.key=l,_),Jo(a,l,_))}function Jo(a,l,_){for(;l<_&&a.charCodeAt(l)<=32;)l++;return l}function fl(a,l,_){return Ls(a,l,_,!1),fl}function gl(a,l){return Ls(a,l,null,!0),gl}function dp(a){Ns(gs,Ys,a,!0)}function Ys(a,l){for(let _=function mb(a){return function cp(a){xn.key=0,xn.keyEnd=0,xn.value=0,xn.valueEnd=0,xn.textEnd=a.length}(a),rp(a,Jo(a,0,xn.textEnd))}(l);_>=0;_=rp(l,_))gs(a,op(l),!0)}function Ls(a,l,_,v){const C=ti(),w=si(),x=ls(2);w.firstUpdatePass&&pp(w,a,x,v),l!==ki&&Wn(C,x,l)&&gp(w,w.data[Ii()],C,C[11],a,C[x+1]=function Mb(a,l){return null==a||("string"==typeof l?a+=l:"object"==typeof a&&(a=b(Xs(a)))),a}(l,_),v,x)}function Ns(a,l,_,v){const C=si(),w=ls(2);C.firstUpdatePass&&pp(C,null,w,v);const x=ti();if(_!==ki&&Wn(x,w,_)){const Q=C.data[Ii()];if(_p(Q,v)&&!hp(C,w)){let Ae=v?Q.classesWithoutHost:Q.stylesWithoutHost;null!==Ae&&(_=O(Ae,_||"")),nl(C,Q,x,_,v)}else!function Db(a,l,_,v,C,w,x,Q){C===ki&&(C=et);let Ae=0,je=0,it=0=a.expandoStartIndex}function pp(a,l,_,v){const C=a.data;if(null===C[_+1]){const w=C[Ii()],x=hp(a,_);_p(w,v)&&null===l&&!x&&(l=!1),l=function Tb(a,l,_,v){const C=Je(a);let w=v?l.residualClasses:l.residualStyles;if(null===C)0===(v?l.classBindings:l.styleBindings)&&(_=Pr(_=ml(null,a,l,_,v),l.attrs,v),w=null);else{const x=l.directiveStylingLast;if(-1===x||a[x]!==C)if(_=ml(C,a,l,_,v),null===w){let Ae=function Cb(a,l,_){const v=_?l.classBindings:l.styleBindings;if(0!==eo(v))return a[xs(v)]}(a,l,v);void 0!==Ae&&Array.isArray(Ae)&&(Ae=ml(null,a,l,Ae[1],v),Ae=Pr(Ae,l.attrs,v),function Eb(a,l,_,v){a[xs(_?l.classBindings:l.styleBindings)]=v}(a,l,v,Ae))}else w=function wb(a,l,_){let v;const C=l.directiveEnd;for(let w=1+l.directiveStylingLast;w0)&&(je=!0)}else it=_;if(C)if(0!==Ae){const Ot=xs(a[Q+1]);a[v+1]=ua(Ot,Q),0!==Ot&&(a[Ot+1]=vc(a[Ot+1],v)),a[Q+1]=function S_(a,l){return 131071&a|l<<17}(a[Q+1],v)}else a[v+1]=ua(Q,0),0!==Q&&(a[Q+1]=vc(a[Q+1],v)),Q=v;else a[v+1]=ua(Ae,0),0===Q?Q=v:a[Ae+1]=vc(a[Ae+1],v),Ae=v;je&&(a[v+1]=yc(a[v+1])),sp(a,it,v,!0),sp(a,it,v,!1),function pb(a,l,_,v,C){const w=C?a.residualClasses:a.residualStyles;null!=w&&"string"==typeof l&&Mo(w,l)>=0&&(_[v+1]=Tc(_[v+1]))}(l,it,a,v,w),x=ua(Q,Ae),w?l.classBindings=x:l.styleBindings=x}(C,w,l,_,x,v)}}function ml(a,l,_,v,C){let w=null;const x=_.directiveEnd;let Q=_.directiveStylingLast;for(-1===Q?Q=_.directiveStart:Q++;Q0;){const Ae=a[C],je=Array.isArray(Ae),it=je?Ae[1]:Ae,yt=null===it;let Ot=_[C+1];Ot===ki&&(Ot=yt?et:void 0);let Ut=yt?Va(Ot,v):it===v?Ot:void 0;if(je&&!ya(Ut)&&(Ut=Va(Ae,v)),ya(Ut)&&(Q=Ut,x))return Q;const qt=a[C+1];C=x?xs(qt):eo(qt)}if(null!==l){let Ae=w?l.residualClasses:l.residualStyles;null!=Ae&&(Q=Va(Ae,v))}return Q}function ya(a){return void 0!==a}function _p(a,l){return 0!=(a.flags&(l?16:32))}function Ap(a,l=""){const _=ti(),v=si(),C=a+20,w=v.firstCreatePass?Lo(v,C,1,l,null):v.data[C],x=_[C]=function hc(a,l){return ft(a)?a.createText(l):a.createTextNode(l)}(_[11],l);ca(v,_,x,w),An(w,!1)}function _l(a){return va("",a,""),_l}function va(a,l,_){const v=ti(),C=Zo(v,a,l,_);return C!==ki&&to(v,Ii(),C),va}function Al(a,l,_,v,C){const w=ti(),x=Go(w,a,l,_,v,C);return x!==ki&&to(w,Ii(),x),Al}function bl(a,l,_,v,C,w,x){const Q=ti(),Ae=function jo(a,l,_,v,C,w,x,Q){const je=_a(a,Tn(),_,C,x);return ls(3),je?l+ce(_)+v+ce(C)+w+ce(x)+Q:ki}(Q,a,l,_,v,C,w,x);return Ae!==ki&&to(Q,Ii(),Ae),bl}function yl(a,l,_,v,C,w,x,Q,Ae){const je=ti(),it=function Ko(a,l,_,v,C,w,x,Q,Ae,je){const yt=Is(a,Tn(),_,C,x,Ae);return ls(4),yt?l+ce(_)+v+ce(C)+w+ce(x)+Q+ce(Ae)+je:ki}(je,a,l,_,v,C,w,x,Q,Ae);return it!==ki&&to(je,Ii(),it),yl}function vl(a,l,_,v,C,w,x,Q,Ae,je,it){const yt=ti(),Ot=function Vo(a,l,_,v,C,w,x,Q,Ae,je,it,yt){const Ot=Tn();let Ut=Is(a,Ot,_,C,x,Ae);return Ut=Wn(a,Ot+4,it)||Ut,ls(5),Ut?l+ce(_)+v+ce(C)+w+ce(x)+Q+ce(Ae)+je+ce(it)+yt:ki}(yt,a,l,_,v,C,w,x,Q,Ae,je,it);return Ot!==ki&&to(yt,Ii(),Ot),vl}function Cp(a,l,_){Ns(gs,Ys,Zo(ti(),a,l,_),!0)}function Tl(a,l,_){const v=ti();return Wn(v,cs(),l)&&ms(si(),Gi(),v,a,l,v[11],_,!0),Tl}function Cl(a,l,_){const v=ti();if(Wn(v,cs(),l)){const w=si(),x=Gi();ms(w,x,v,a,l,Xd(Je(w.data),x,v),_,!0)}return Cl}const _o=void 0;var Yb=["en",[["a","p"],["AM","PM"],_o],[["AM","PM"],_o,_o],[["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"]],_o,[["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"]],_o,[["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}",_o,"{1} 'at' {0}",_o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Vb(a){const _=Math.floor(Math.abs(a)),v=a.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===v?1:5}];let Qo={};function El(a){const l=function qb(a){return a.toLowerCase().replace(/_/g,"-")}(a);let _=kp(l);if(_)return _;const v=l.split("-")[0];if(_=kp(v),_)return _;if("en"===v)return Yb;throw new Error(`Missing locale data for the locale "${a}".`)}function xp(a){return El(a)[Mi.PluralCase]}function kp(a){return a in Qo||(Qo[a]=Wt.ng&&Wt.ng.common&&Wt.ng.common.locales&&Wt.ng.common.locales[a]),Qo[a]}var Mi=(()=>((Mi=Mi||{})[Mi.LocaleId=0]="LocaleId",Mi[Mi.DayPeriodsFormat=1]="DayPeriodsFormat",Mi[Mi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Mi[Mi.DaysFormat=3]="DaysFormat",Mi[Mi.DaysStandalone=4]="DaysStandalone",Mi[Mi.MonthsFormat=5]="MonthsFormat",Mi[Mi.MonthsStandalone=6]="MonthsStandalone",Mi[Mi.Eras=7]="Eras",Mi[Mi.FirstDayOfWeek=8]="FirstDayOfWeek",Mi[Mi.WeekendRange=9]="WeekendRange",Mi[Mi.DateFormat=10]="DateFormat",Mi[Mi.TimeFormat=11]="TimeFormat",Mi[Mi.DateTimeFormat=12]="DateTimeFormat",Mi[Mi.NumberSymbols=13]="NumberSymbols",Mi[Mi.NumberFormats=14]="NumberFormats",Mi[Mi.CurrencyCode=15]="CurrencyCode",Mi[Mi.CurrencySymbol=16]="CurrencySymbol",Mi[Mi.CurrencyName=17]="CurrencyName",Mi[Mi.Currencies=18]="Currencies",Mi[Mi.Directionality=19]="Directionality",Mi[Mi.PluralCase=20]="PluralCase",Mi[Mi.ExtraData=21]="ExtraData",Mi))();const Ta="en-US";let Lp=Ta;function Dl(a,l,_,v,C){if(a=k(a),Array.isArray(a))for(let w=0;w>20;if(Ho(a)||!a.multi){const Ut=new Qs(Ae,C,Or),qt=Il(Q,l,C?it:it+Ot,yt);-1===qt?(Pt(Pe(je,x),w,Q),Ml(w,a,l.length),l.push(Q),je.directiveStart++,je.directiveEnd++,C&&(je.providerIndexes+=1048576),_.push(Ut),x.push(Ut)):(_[qt]=Ut,x[qt]=Ut)}else{const Ut=Il(Q,l,it+Ot,yt),qt=Il(Q,l,it,it+Ot),ri=Ut>=0&&_[Ut],pi=qt>=0&&_[qt];if(C&&!pi||!C&&!ri){Pt(Pe(je,x),w,Q);const Ai=function Vy(a,l,_,v,C){const w=new Qs(a,_,Or);return w.multi=[],w.index=l,w.componentProviders=0,rf(w,C,v&&!_),w}(C?Ky:jy,_.length,C,v,Ae);!C&&pi&&(_[qt].providerFactory=Ai),Ml(w,a,l.length,0),l.push(Q),je.directiveStart++,je.directiveEnd++,C&&(je.providerIndexes+=1048576),_.push(Ai),x.push(Ai)}else Ml(w,a,Ut>-1?Ut:qt,rf(_[C?qt:Ut],Ae,!C&&v));!C&&v&&pi&&_[qt].componentProviders++}}}function Ml(a,l,_,v){const C=Ho(l),w=function bA(a){return!!a.useClass}(l);if(C||w){const Ae=(w?k(l.useClass):l).prototype.ngOnDestroy;if(Ae){const je=a.destroyHooks||(a.destroyHooks=[]);if(!C&&l.multi){const it=je.indexOf(_);-1===it?je.push(_,[v,Ae]):je[it+1].push(v,Ae)}else je.push(_,Ae)}}}function rf(a,l,_){return _&&a.componentProviders++,a.multi.push(l)-1}function Il(a,l,_,v){for(let C=_;C{_.providersResolver=(v,C)=>function Gy(a,l,_){const v=si();if(v.firstCreatePass){const C=ut(a);Dl(_,v.data,v.blueprint,C,!0),Dl(l,v.data,v.blueprint,C,!1)}}(v,C?C(a):a,l)}}class cf{}class Wy{resolveComponentFactory(l){throw function qy(a){const l=Error(`No component factory found for ${b(a)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=a,l}(l)}}let Br=(()=>{class a{}return a.NULL=new Wy,a})();function $y(){return er(gi(),ti())}function er(a,l){return new Fr(Zt(a,l))}let Fr=(()=>{class a{constructor(_){this.nativeElement=_}}return a.__NG_ELEMENT_ID__=$y,a})();function Jy(a){return a instanceof Fr?a.nativeElement:a}class uf{}let Qy=(()=>{class a{}return a.__NG_ELEMENT_ID__=()=>function ev(){const a=ti(),_=mi(gi().index,a);return function Xy(a){return a[11]}(sn(_)?_:a)}(),a})(),tv=(()=>{class a{}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:()=>null}),a})();class df{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const iv=new df("13.2.2"),Ol={};function Da(a,l,_,v,C=!1){for(;null!==_;){const w=l[_.index];if(null!==w&&v.push(ne(w)),qi(w))for(let Q=10;Q-1&&(fc(l,v),ea(_,v))}this._attachedToViewContainer=!1}od(this._lView[1],this._lView)}onDestroy(l){zd(this._lView[1],this._lView,null,l)}markForCheck(){Bc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function cA(a,l,_){yn(!0);try{Hc(a,l,_)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new J(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function s_(a,l){wr(a,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new J(902,"");this._appRef=l}}class nv extends Hr{constructor(l){super(l),this._view=l}detectChanges(){$d(this._view)}checkNoChanges(){!function lA(a){yn(!0);try{$d(a)}finally{yn(!1)}}(this._view)}get context(){return null}}class hf extends Br{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const _=Rt(l);return new Pl(_,this.ngModule)}}function pf(a){const l=[];for(let _ in a)a.hasOwnProperty(_)&&l.push({propName:a[_],templateName:_});return l}const ov=new Cn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Wu});class Pl extends cf{constructor(l,_){super(),this.componentDef=l,this.ngModule=_,this.componentType=l.type,this.selector=function E_(a){return a.map(C_).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!_}get inputs(){return pf(this.componentDef.inputs)}get outputs(){return pf(this.componentDef.outputs)}create(l,_,v,C){const w=(C=C||this.ngModule)?function rv(a,l){return{get:(_,v,C)=>{const w=a.get(_,Ol,C);return w!==Ol||v===Ol?w:l.get(_,v,C)}}}(l,C.injector):l,x=w.get(uf,W),Q=w.get(tv,null),Ae=x.createRenderer(null,this.componentDef),je=this.componentDef.selectors[0][0]||"div",it=v?function Ud(a,l,_){if(ft(a))return a.selectRootElement(l,_===Ve.ShadowDom);let v="string"==typeof l?a.querySelector(l):l;return v.textContent="",v}(Ae,v,this.componentDef.encapsulation):pc(x.createRenderer(null,this.componentDef),je,function sv(a){const l=a.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(je)),yt=this.componentDef.onPush?576:528,Ot=function Ah(a,l){return{components:[],scheduler:a||Wu,clean:uA,playerHandler:l||null,flags:0}}(),Ut=pa(0,null,null,1,0,null,null,null,null,null),qt=Sr(null,Ut,Ot,yt,null,null,x,Ae,Q,w);let ri,pi;ni(qt);try{const Ai=function mh(a,l,_,v,C,w){const x=_[1];_[20]=a;const Ae=Lo(x,20,2,"#host",null),je=Ae.mergedAttrs=l.hostAttrs;null!==je&&(ga(Ae,je,!0),null!==a&&(Co(C,a,je),null!==Ae.classes&&bc(C,a,Ae.classes),null!==Ae.styles&&_d(C,a,Ae.styles)));const it=v.createRenderer(a,l),yt=Sr(_,Fd(l),null,l.onPush?64:16,_[20],Ae,v,it,w||null,null);return x.firstCreatePass&&(Pt(Pe(Ae,_),x,l.type),Vd(x,Ae),Yd(Ae,_.length,1)),fa(_,yt),_[20]=yt}(it,this.componentDef,qt,x,Ae);if(it)if(v)Co(Ae,it,["ng-version",iv.full]);else{const{attrs:Xt,classes:wi}=function w_(a){const l=[],_=[];let v=1,C=2;for(;v0&&bc(Ae,it,wi.join(" "))}if(pi=ai(Ut,20),void 0!==_){const Xt=pi.projection=[];for(let wi=0;wiAe(x,l)),l.contentQueries){const Ae=gi();l.contentQueries(1,x,Ae.directiveStart)}const Q=gi();return!w.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(on(Q.index),jd(_[1],Q,0,Q.directiveStart,Q.directiveEnd,l),Kd(l,x)),x}(Ai,this.componentDef,qt,Ot,[RA]),Dr(Ut,qt,null)}finally{en()}return new cv(this.componentType,ri,er(pi,qt),qt,pi)}}class cv extends class Yy{}{constructor(l,_,v,C,w){super(),this.location=v,this._rootLView=C,this._tNode=w,this.instance=_,this.hostView=this.changeDetectorRef=new nv(C),this.componentType=l}get injector(){return new fs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class tr{}class ff{}const ir=new Map;class _f extends tr{constructor(l,_){super(),this._parent=_,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hf(this);const v=fi(l);this._bootstrapComponents=Zs(v.bootstrap),this._r3Injector=oh(l,_,[{provide:tr,useValue:this},{provide:Br,useValue:this.componentFactoryResolver}],b(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,_=Ms.THROW_IF_NOT_FOUND,v=r.Default){return l===Ms||l===tr||l===zc?this:this._r3Injector.get(l,_,v)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class xl extends ff{constructor(l){super(),this.moduleType=l,null!==fi(l)&&function uv(a){const l=new Set;!function _(v){const C=fi(v,!0),w=C.id;null!==w&&(function gf(a,l,_){if(l&&l!==_)throw new Error(`Duplicate module registered for ${a} - ${b(l)} vs ${b(l.name)}`)}(w,ir.get(w),v),ir.set(w,v));const x=Zs(C.imports);for(const Q of x)l.has(Q)||(l.add(Q),_(Q))}(a)}(l)}create(l){return new _f(this.moduleType,l)}}function Af(a,l,_){const v=hn()+a,C=ti();return C[v]===ki?Ks(C,v,_?l.call(_):l()):function Rr(a,l){return a[l]}(C,v)}function bf(a,l,_,v){return Tf(ti(),hn(),a,l,_,v)}function yf(a,l,_,v,C){return Cf(ti(),hn(),a,l,_,v,C)}function vf(a,l,_,v,C,w){return Ef(ti(),hn(),a,l,_,v,C,w)}function Ur(a,l){const _=a[l];return _===ki?void 0:_}function Tf(a,l,_,v,C,w){const x=l+_;return Wn(a,x,C)?Ks(a,x+1,w?v.call(w,C):v(C)):Ur(a,x+1)}function Cf(a,l,_,v,C,w,x){const Q=l+_;return mo(a,Q,C,w)?Ks(a,Q+2,x?v.call(x,C,w):v(C,w)):Ur(a,Q+2)}function Ef(a,l,_,v,C,w,x,Q){const Ae=l+_;return _a(a,Ae,C,w,x)?Ks(a,Ae+3,Q?v.call(Q,C,w,x):v(C,w,x)):Ur(a,Ae+3)}function Df(a,l){const _=si();let v;const C=a+20;_.firstCreatePass?(v=function _v(a,l){if(l)for(let _=l.length-1;_>=0;_--){const v=l[_];if(a===v.name)return v}}(l,_.pipeRegistry),_.data[C]=v,v.onDestroy&&(_.destroyHooks||(_.destroyHooks=[])).push(C,v.onDestroy)):v=_.data[C];const w=v.factory||(v.factory=gn(v.type)),x=t(Or);try{const Q=lo(!1),Ae=w();return lo(Q),function ZA(a,l,_,v){_>=a.data.length&&(a.data[_]=null,a.blueprint[_]=null),l[_]=v}(_,ti(),C,Ae),Ae}finally{t(x)}}function Mf(a,l,_){const v=a+20,C=ti(),w=hi(C,v);return zr(C,v)?Tf(C,hn(),l,w.transform,_,w):w.transform(_)}function If(a,l,_,v){const C=a+20,w=ti(),x=hi(w,C);return zr(w,C)?Cf(w,hn(),l,x.transform,_,v,x):x.transform(_,v)}function Rf(a,l,_,v,C){const w=a+20,x=ti(),Q=hi(x,w);return zr(x,w)?Ef(x,hn(),l,Q.transform,_,v,C,Q):Q.transform(_,v,C)}function zr(a,l){return a[1].data[l].pure}function kl(a){return l=>{setTimeout(a,void 0,l)}}const qs=class yv extends e.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,_,v){var C,w,x;let Q=l,Ae=_||(()=>null),je=v;if(l&&"object"==typeof l){const yt=l;Q=null===(C=yt.next)||void 0===C?void 0:C.bind(yt),Ae=null===(w=yt.error)||void 0===w?void 0:w.bind(yt),je=null===(x=yt.complete)||void 0===x?void 0:x.bind(yt)}this.__isAsync&&(Ae=kl(Ae),Q&&(Q=kl(Q)),je&&(je=kl(je)));const it=super.subscribe({next:Q,error:Ae,complete:je});return l instanceof f.w&&l.add(it),it}};function vv(){return this._results[Uo()]()}class Ma{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const _=Uo(),v=Ma.prototype;v[_]||(v[_]=vv)}get changes(){return this._changes||(this._changes=new qs)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,_){return this._results.reduce(l,_)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,_){const v=this;v.dirty=!1;const C=Ds(l);(this._changesDetected=!function Lg(a,l,_){if(a.length!==l.length)return!1;for(let v=0;v{class a{}return a.__NG_ELEMENT_ID__=Ev,a})();const Tv=Zr,Cv=class extends Tv{constructor(l,_,v){super(),this._declarationLView=l,this._declarationTContainer=_,this.elementRef=v}createEmbeddedView(l){const _=this._declarationTContainer.tViews,v=Sr(this._declarationLView,_,l,16,null,_.declTNode,null,null,null,null);v[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(v[19]=w.createEmbeddedView(_)),Dr(_,v,l),new Hr(v)}};function Ev(){return Ia(gi(),ti())}function Ia(a,l){return 4&a.type?new Cv(l,a,er(a,l)):null}let Ra=(()=>{class a{}return a.__NG_ELEMENT_ID__=wv,a})();function wv(){return xf(gi(),ti())}const Sv=Ra,Of=class extends Sv{constructor(l,_,v){super(),this._lContainer=l,this._hostTNode=_,this._hostLView=v}get element(){return er(this._hostTNode,this._hostLView)}get injector(){return new fs(this._hostTNode,this._hostLView)}get parentInjector(){const l=wt(this._hostTNode,this._hostLView);if(Qr(l)){const _=so(l,this._hostLView),v=no(l);return new fs(_[1].data[v+8],_)}return new fs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const _=Pf(this._lContainer);return null!==_&&_[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,_,v){const C=l.createEmbeddedView(_||{});return this.insert(C,v),C}createComponent(l,_,v,C,w){const x=l&&!function hr(a){return"function"==typeof a}(l);let Q;if(x)Q=_;else{const yt=_||{};Q=yt.index,v=yt.injector,C=yt.projectableNodes,w=yt.ngModuleRef}const Ae=x?l:new Pl(Rt(l)),je=v||this.parentInjector;if(!w&&null==Ae.ngModule&&je){const yt=je.get(tr,null);yt&&(w=yt)}const it=Ae.create(je,C,void 0,w);return this.insert(it.hostView,Q),it}insert(l,_){const v=l._lView,C=v[1];if(function xe(a){return qi(a[3])}(v)){const it=this.indexOf(l);if(-1!==it)this.detach(it);else{const yt=v[3],Ot=new Of(yt,yt[6],yt[3]);Ot.detach(Ot.indexOf(l))}}const w=this._adjustIndex(_),x=this._lContainer;!function r_(a,l,_,v){const C=10+v,w=_.length;v>0&&(_[C-1][4]=l),v0)v.push(x[Q/2]);else{const je=w[Q+1],it=l[-Ae];for(let yt=10;yt{class a{constructor(_){this.appInits=_,this.resolve=xa,this.reject=xa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((v,C)=>{this.resolve=v,this.reject=C})}runInitializers(){if(this.initialized)return;const _=[],v=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{w.subscribe({complete:Q,error:Ae})});_.push(x)}}Promise.all(_).then(()=>{v()}).catch(C=>{this.reject(C)}),0===_.length&&v(),this.initialized=!0}}return a.\u0275fac=function(_){return new(_||a)(Bn(Vl,8))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const rg=new Cn("AppId"),Qv={provide:rg,useFactory:function Jv(){return`${Yl()}${Yl()}${Yl()}`},deps:[]};function Yl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ag=new Cn("Platform Initializer"),cg=new Cn("Platform ID"),lg=new Cn("appBootstrapListener");let ug=(()=>{class a{log(_){console.log(_)}warn(_){console.warn(_)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const ka=new Cn("LocaleId"),dg=new Cn("DefaultCurrencyCode");class Xv{constructor(l,_){this.ngModuleFactory=l,this.componentFactories=_}}let ql=(()=>{class a{compileModuleSync(_){return new xl(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const v=this.compileModuleSync(_),w=Zs(fi(_).declarations).reduce((x,Q)=>{const Ae=Rt(Q);return Ae&&x.push(new Pl(Ae)),x},[]);return new Xv(v,w)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const tT=(()=>Promise.resolve(0))();function Wl(a){"undefined"==typeof Zone?tT.then(()=>{a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)}class _s{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:v=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qs(!1),this.onMicrotaskEmpty=new qs(!1),this.onStable=new qs(!1),this.onError=new qs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const C=this;C._nesting=0,C._outer=C._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(C._inner=C._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!v&&_,C.shouldCoalesceRunChangeDetection=v,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function iT(){let a=Wt.requestAnimationFrame,l=Wt.cancelAnimationFrame;if("undefined"!=typeof Zone&&a&&l){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const v=l[Zone.__symbol__("OriginalDelegate")];v&&(l=v)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function oT(a){const l=()=>{!function sT(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Wt,()=>{a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{a.lastRequestAnimationFrameId=-1,Jl(a),a.isCheckStableRunning=!0,$l(a),a.isCheckStableRunning=!1},void 0,()=>{},()=>{})),a.fakeTopEventTask.invoke()}),Jl(a))}(a)};a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(_,v,C,w,x,Q)=>{try{return hg(a),_.invokeTask(C,w,x,Q)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||a.shouldCoalesceRunChangeDetection)&&l(),pg(a)}},onInvoke:(_,v,C,w,x,Q,Ae)=>{try{return hg(a),_.invoke(C,w,x,Q,Ae)}finally{a.shouldCoalesceRunChangeDetection&&l(),pg(a)}},onHasTask:(_,v,C,w)=>{_.hasTask(C,w),v===C&&("microTask"==w.change?(a._hasPendingMicrotasks=w.microTask,Jl(a),$l(a)):"macroTask"==w.change&&(a.hasPendingMacrotasks=w.macroTask))},onHandleError:(_,v,C,w)=>(_.handleError(C,w),a.runOutsideAngular(()=>a.onError.emit(w)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_s.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_s.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,_,v){return this._inner.run(l,_,v)}runTask(l,_,v,C){const w=this._inner,x=w.scheduleEventTask("NgZoneEvent: "+C,l,nT,xa,xa);try{return w.runTask(x,_,v)}finally{w.cancelTask(x)}}runGuarded(l,_,v){return this._inner.runGuarded(l,_,v)}runOutsideAngular(l){return this._outer.run(l)}}const nT={};function $l(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function Jl(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId)}function hg(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function pg(a){a._nesting--,$l(a)}class rT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qs,this.onMicrotaskEmpty=new qs,this.onStable=new qs,this.onError=new qs}run(l,_,v){return l.apply(_,v)}runGuarded(l,_,v){return l.apply(_,v)}runOutsideAngular(l){return l()}runTask(l,_,v,C){return l.apply(_,v)}}let fg=(()=>{class a{constructor(_){this._ngZone=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_s.assertNotInAngularZone(),Wl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())Wl(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb(this._didWork)}this._didWork=!1});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(v=>!v.updateCb||!v.updateCb(_)||(clearTimeout(v.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,v,C){let w=-1;v&&v>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==w),_(this._didWork,this.getPendingTasks())},v)),this._callbacks.push({doneCb:_,timeoutId:w,updateCb:C})}whenStable(_,v,C){if(C&&!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(_,v,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(_,v,C){return[]}}return a.\u0275fac=function(_){return new(_||a)(Bn(_s))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})(),gg=(()=>{class a{constructor(){this._applications=new Map,Ql.addToWindow(this)}registerApplication(_,v){this._applications.set(_,v)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,v=!0){return Ql.findTestabilityInTree(this,_,v)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();class aT{addToWindow(l){}findTestabilityInTree(l,_,v){return null}}function cT(a){Ql=a}let Bs,Ql=new aT;const mg=new Cn("AllowMultipleToken");class dT{constructor(l,_){this.name=l,this.token=_}}function _g(a,l,_=[]){const v=`Platform: ${l}`,C=new Cn(v);return(w=[])=>{let x=Ag();if(!x||x.injector.get(mg,!1))if(a)a(_.concat(w).concat({provide:C,useValue:!0}));else{const Q=_.concat(w).concat({provide:C,useValue:!0},{provide:Zc,useValue:"platform"});!function hT(a){if(Bs&&!Bs.destroyed&&!Bs.injector.get(mg,!1))throw new J(400,"");Bs=a.get(bg);const l=a.get(ag,null);l&&l.forEach(_=>_())}(Ms.create({providers:Q,name:v}))}return function pT(a){const l=Ag();if(!l)throw new J(401,"");return l}()}}function Ag(){return Bs&&!Bs.destroyed?Bs:null}let bg=(()=>{class a{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,v){const Q=function fT(a,l){let _;return _="noop"===a?new rT:("zone.js"===a?void 0:a)||new _s({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),_}(v?v.ngZone:void 0,{ngZoneEventCoalescing:v&&v.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:v&&v.ngZoneRunCoalescing||!1}),Ae=[{provide:_s,useValue:Q}];return Q.run(()=>{const je=Ms.create({providers:Ae,parent:this.injector,name:_.moduleType.name}),it=_.create(je),yt=it.injector.get(Cr,null);if(!yt)throw new J(402,"");return Q.runOutsideAngular(()=>{const Ot=Q.onError.subscribe({next:Ut=>{yt.handleError(Ut)}});it.onDestroy(()=>{Xl(this._modules,it),Ot.unsubscribe()})}),function gT(a,l,_){try{const v=_();return cl(v)?v.catch(C=>{throw l.runOutsideAngular(()=>a.handleError(C)),C}):v}catch(v){throw l.runOutsideAngular(()=>a.handleError(v)),v}}(yt,Q,()=>{const Ot=it.injector.get(sr);return Ot.runInitializers(),Ot.donePromise.then(()=>(function Qb(a){R(a,"Expected localeId to be defined"),"string"==typeof a&&(Lp=a.toLowerCase().replace(/_/g,"-"))}(it.injector.get(ka,Ta)||Ta),this._moduleDoBootstrap(it),it))})})}bootstrapModule(_,v=[]){const C=yg({},v);return function lT(a,l,_){const v=new xl(_);return Promise.resolve(v)}(0,0,_).then(w=>this.bootstrapModuleFactory(w,C))}_moduleDoBootstrap(_){const v=_.injector.get(jr);if(_._bootstrapComponents.length>0)_._bootstrapComponents.forEach(C=>v.bootstrap(C));else{if(!_.instance.ngDoBootstrap)throw new J(403,"");_.instance.ngDoBootstrap(v)}this._modules.push(_)}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,"");this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_()),this._destroyed=!0}get destroyed(){return this._destroyed}}return a.\u0275fac=function(_){return new(_||a)(Bn(Ms))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();function yg(a,l){return Array.isArray(l)?l.reduce(yg,a):Object.assign(Object.assign({},a),l)}let jr=(()=>{class a{constructor(_,v,C,w,x){this._zone=_,this._injector=v,this._exceptionHandler=C,this._componentFactoryResolver=w,this._initStatus=x,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const Q=new g.y(je=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{je.next(this._stable),je.complete()})}),Ae=new g.y(je=>{let it;this._zone.runOutsideAngular(()=>{it=this._zone.onStable.subscribe(()=>{_s.assertNotInAngularZone(),Wl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,je.next(!0))})})});const yt=this._zone.onUnstable.subscribe(()=>{_s.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{je.next(!1)}))});return()=>{it.unsubscribe(),yt.unsubscribe()}});this.isStable=(0,T.T)(Q,Ae.pipe((0,m.B)()))}bootstrap(_,v){if(!this._initStatus.done)throw new J(405,"");let C;C=_ instanceof cf?_:this._componentFactoryResolver.resolveComponentFactory(_),this.componentTypes.push(C.componentType);const w=function uT(a){return a.isBoundToModule}(C)?void 0:this._injector.get(tr),Q=C.create(Ms.NULL,[],v||C.selector,w),Ae=Q.location.nativeElement,je=Q.injector.get(fg,null),it=je&&Q.injector.get(gg);return je&&it&&it.registerApplication(Ae,je),Q.onDestroy(()=>{this.detachView(Q.hostView),Xl(this.components,Q),it&&it.unregisterApplication(Ae)}),this._loadComponent(Q),Q}tick(){if(this._runningTick)throw new J(101,"");try{this._runningTick=!0;for(let _ of this._views)_.detectChanges()}catch(_){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(_))}finally{this._runningTick=!1}}attachView(_){const v=_;this._views.push(v),v.attachToAppRef(this)}detachView(_){const v=_;Xl(this._views,v),v.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_),this._injector.get(lg,[]).concat(this._bootstrapListeners).forEach(C=>C(_))}ngOnDestroy(){this._views.slice().forEach(_=>_.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return a.\u0275fac=function(_){return new(_||a)(Bn(_s),Bn(Ms),Bn(Cr),Bn(Br),Bn(sr))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();function Xl(a,l){const _=a.indexOf(l);_>-1&&a.splice(_,1)}let Tg=!0;function _T(){Tg=!1}let AT=(()=>{class a{}return a.__NG_ELEMENT_ID__=bT,a})();function bT(a){return function yT(a,l,_){if($t(a)&&!_){const v=mi(a.index,l);return new Hr(v,v)}return 47&a.type?new Hr(l[16],l):null}(gi(),ti(),16==(16&a))}class Dg{constructor(){}supports(l){return Ir(l)}create(l){return new ST(l)}}const wT=(a,l)=>l;class ST{constructor(l){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=l||wT}forEachItem(l){let _;for(_=this._itHead;null!==_;_=_._next)l(_)}forEachOperation(l){let _=this._itHead,v=this._removalsHead,C=0,w=null;for(;_||v;){const x=!v||_&&_.currentIndex{x=this._trackByFn(C,Q),null!==_&&Object.is(_.trackById,x)?(v&&(_=this._verifyReinsertion(_,Q,x,C)),Object.is(_.item,Q)||this._addIdentityChange(_,Q)):(_=this._mismatch(_,Q,x,C),v=!0),_=_._next,C++}),this.length=C;return this._truncate(_),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,_,v,C){let w;return null===l?w=this._itTail:(w=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(v,null))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._reinsertAfter(l,w,C)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(v,C))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._moveAfter(l,w,C)):l=this._addAfter(new DT(_,v),w,C),l}_verifyReinsertion(l,_,v,C){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(v,null);return null!==w?l=this._reinsertAfter(w,l._prev,C):l.currentIndex!=C&&(l.currentIndex=C,this._addToMoves(l,C)),l}_truncate(l){for(;null!==l;){const _=l._next;this._addToRemovals(this._unlink(l)),l=_}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(l,_,v){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const C=l._prevRemoved,w=l._nextRemoved;return null===C?this._removalsHead=w:C._nextRemoved=w,null===w?this._removalsTail=C:w._prevRemoved=C,this._insertAfter(l,_,v),this._addToMoves(l,v),l}_moveAfter(l,_,v){return this._unlink(l),this._insertAfter(l,_,v),this._addToMoves(l,v),l}_addAfter(l,_,v){return this._insertAfter(l,_,v),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,_,v){const C=null===_?this._itHead:_._next;return l._next=C,l._prev=_,null===C?this._itTail=l:C._prev=l,null===_?this._itHead=l:_._next=l,null===this._linkedRecords&&(this._linkedRecords=new Mg),this._linkedRecords.put(l),l.currentIndex=v,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const _=l._prev,v=l._next;return null===_?this._itHead=v:_._next=v,null===v?this._itTail=_:v._prev=_,l}_addToMoves(l,_){return l.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mg),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,_){return l.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class DT{constructor(l,_){this.item=l,this.trackById=_,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 MT{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,_){let v;for(v=this._head;null!==v;v=v._nextDup)if((null===_||_<=v.currentIndex)&&Object.is(v.trackById,l))return v;return null}remove(l){const _=l._prevDup,v=l._nextDup;return null===_?this._head=v:_._nextDup=v,null===v?this._tail=_:v._prevDup=_,null===this._head}}class Mg{constructor(){this.map=new Map}put(l){const _=l.trackById;let v=this.map.get(_);v||(v=new MT,this.map.set(_,v)),v.add(l)}get(l,_){const C=this.map.get(l);return C?C.get(l,_):null}remove(l){const _=l.trackById;return this.map.get(_).remove(l)&&this.map.delete(_),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ig(a,l,_){const v=a.previousIndex;if(null===v)return v;let C=0;return _&&v<_.length&&(C=_[v]),v+l+C}class Rg{constructor(){}supports(l){return l instanceof Map||Wc(l)}create(){return new IT}}class IT{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(l){let _;for(_=this._mapHead;null!==_;_=_._next)l(_)}forEachPreviousItem(l){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)l(_)}forEachChangedItem(l){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)l(_)}forEachAddedItem(l){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)l(_)}forEachRemovedItem(l){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)l(_)}diff(l){if(l){if(!(l instanceof Map||Wc(l)))throw new J(900,"")}else l=new Map;return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(l,(v,C)=>{if(_&&_.key===C)this._maybeAddToChanges(_,v),this._appendAfter=_,_=_._next;else{const w=this._getOrCreateRecordForKey(C,v);_=this._insertBeforeOrAppend(_,w)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let v=_;null!==v;v=v._nextRemoved)v===this._mapHead&&(this._mapHead=null),this._records.delete(v.key),v._nextRemoved=v._next,v.previousValue=v.currentValue,v.currentValue=null,v._prev=null,v._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,_){if(l){const v=l._prev;return _._next=l,_._prev=v,l._prev=_,v&&(v._next=_),l===this._mapHead&&(this._mapHead=_),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(l,_){if(this._records.has(l)){const C=this._records.get(l);this._maybeAddToChanges(C,_);const w=C._prev,x=C._next;return w&&(w._next=x),x&&(x._prev=w),C._next=null,C._prev=null,C}const v=new RT(l);return this._records.set(l,v),v.currentValue=_,this._addToAdditions(v),v}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,_){Object.is(_,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=_,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,_){l instanceof Map?l.forEach(_):Object.keys(l).forEach(v=>_(l[v],v))}}class RT{constructor(l){this.key=l,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 Og(){return new Ba([new Dg])}let Ba=(()=>{class a{constructor(_){this.factories=_}static create(_,v){if(null!=v){const C=v.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:v=>a.create(_,v||Og()),deps:[[a,new Io,new po]]}}find(_){const v=this.factories.find(C=>C.supports(_));if(null!=v)return v;throw new J(901,"")}}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:Og}),a})();function Pg(){return new Fa([new Rg])}let Fa=(()=>{class a{constructor(_){this.factories=_}static create(_,v){if(v){const C=v.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:v=>a.create(_,v||Pg()),deps:[[a,new Io,new po]]}}find(_){const v=this.factories.find(w=>w.supports(_));if(v)return v;throw new J(901,"")}}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:Pg}),a})();const OT=[new Rg],xT=new Ba([new Dg]),kT=new Fa(OT),LT=_g(null,"core",[{provide:cg,useValue:"unknown"},{provide:bg,deps:[Ms]},{provide:gg,deps:[]},{provide:ug,deps:[]}]),UT=[{provide:jr,useClass:jr,deps:[_s,Ms,Cr,Br,sr]},{provide:ov,deps:[_s],useFactory:function zT(a){let l=[];return a.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(_){l.push(_)}}},{provide:sr,useClass:sr,deps:[[new po,Vl]]},{provide:ql,useClass:ql,deps:[]},Qv,{provide:Ba,useFactory:function NT(){return xT},deps:[]},{provide:Fa,useFactory:function BT(){return kT},deps:[]},{provide:ka,useFactory:function FT(a){return a||function HT(){return"undefined"!=typeof $localize&&$localize.locale||Ta}()},deps:[[new _r(ka),new po,new Io]]},{provide:dg,useValue:"USD"}];let ZT=(()=>{class a{constructor(_){}}return a.\u0275fac=function(_){return new(_||a)(Bn(jr))},a.\u0275mod=Bt({type:a}),a.\u0275inj=Xe({providers:UT}),a})()},93075:(Ke,be,d)=>{"use strict";d.d(be,{Zs:()=>B,Fj:()=>Y,qu:()=>yi,NI:()=>Dt,oH:()=>In,u:()=>vs,sg:()=>$n,u5:()=>ai,Cf:()=>ce,JU:()=>b,a5:()=>D,JJ:()=>r,JL:()=>p,F:()=>Li,On:()=>qi,YN:()=>Cs,wV:()=>q,c5:()=>Ge,UX:()=>hi,Q7:()=>rt,EJ:()=>wn,kI:()=>ke,_Y:()=>Tt,Kr:()=>Ln});var e=d(5e3),f=d(69808),g=d(5254),T=d(30567),m=d(24850);let A=(()=>{class xe{constructor(ye,ot){this._renderer=ye,this._elementRef=ot,this.onChange=Lt=>{},this.onTouched=()=>{}}setProperty(ye,ot){this._renderer.setProperty(this._elementRef.nativeElement,ye,ot)}registerOnTouched(ye){this.onTouched=ye}registerOnChange(ye){this.onChange=ye}setDisabledState(ye){this.setProperty("disabled",ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.Qsj),e.Y36(e.SBq))},xe.\u0275dir=e.lG2({type:xe}),xe})(),s=(()=>{class xe extends A{}return xe.\u0275fac=function(){let Ee;return function(ot){return(Ee||(Ee=e.n5z(xe)))(ot||xe)}}(),xe.\u0275dir=e.lG2({type:xe,features:[e.qOj]}),xe})();const b=new e.OlP("NgValueAccessor"),h={provide:b,useExisting:(0,e.Gpc)(()=>Y),multi:!0},L=new e.OlP("CompositionEventMode");let Y=(()=>{class xe extends A{constructor(ye,ot,Lt){super(ye,ot),this._compositionMode=Lt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const xe=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(xe.toLowerCase())}())}writeValue(ye){this.setProperty("value",null==ye?"":ye)}_handleInput(ye){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ye)}_compositionStart(){this._composing=!0}_compositionEnd(ye){this._composing=!1,this._compositionMode&&this.onChange(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(L,8))},xe.\u0275dir=e.lG2({type:xe,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(ye,ot){1&ye&&e.NdJ("input",function(ci){return ot._handleInput(ci.target.value)})("blur",function(){return ot.onTouched()})("compositionstart",function(){return ot._compositionStart()})("compositionend",function(ci){return ot._compositionEnd(ci.target.value)})},features:[e._Bn([h]),e.qOj]}),xe})();function J(xe){return null==xe||0===xe.length}function ue(xe){return null!=xe&&"number"==typeof xe.length}const ce=new e.OlP("NgValidators"),Le=new e.OlP("NgAsyncValidators"),de=/^(?=.{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 ke{static min(Ee){return function ae(xe){return Ee=>{if(J(Ee.value)||J(xe))return null;const ye=parseFloat(Ee.value);return!isNaN(ye)&&ye{if(J(Ee.value)||J(xe))return null;const ye=parseFloat(Ee.value);return!isNaN(ye)&&ye>xe?{max:{max:xe,actual:Ee.value}}:null}}(Ee)}static required(Ee){return H(Ee)}static requiredTrue(Ee){return X(Ee)}static email(Ee){return function ie(xe){return J(xe.value)||de.test(xe.value)?null:{email:!0}}(Ee)}static minLength(Ee){return function oe(xe){return Ee=>J(Ee.value)||!ue(Ee.value)?null:Ee.value.lengthue(Ee.value)&&Ee.value.length>xe?{maxlength:{requiredLength:xe,actualLength:Ee.value.length}}:null}(Ee)}static pattern(Ee){return Ne(Ee)}static nullValidator(Ee){return null}static compose(Ee){return R(Ee)}static composeAsync(Ee){return Ie(Ee)}}function H(xe){return J(xe.value)?{required:!0}:null}function X(xe){return!0===xe.value?null:{required:!0}}function Ne(xe){if(!xe)return Fe;let Ee,ye;return"string"==typeof xe?(ye="","^"!==xe.charAt(0)&&(ye+="^"),ye+=xe,"$"!==xe.charAt(xe.length-1)&&(ye+="$"),Ee=new RegExp(ye)):(ye=xe.toString(),Ee=xe),ot=>{if(J(ot.value))return null;const Lt=ot.value;return Ee.test(Lt)?null:{pattern:{requiredPattern:ye,actualValue:Lt}}}}function Fe(xe){return null}function se(xe){return null!=xe}function Me(xe){const Ee=(0,e.QGY)(xe)?(0,g.D)(xe):xe;return(0,e.CqO)(Ee),Ee}function ve(xe){let Ee={};return xe.forEach(ye=>{Ee=null!=ye?Object.assign(Object.assign({},Ee),ye):Ee}),0===Object.keys(Ee).length?null:Ee}function me(xe,Ee){return Ee.map(ye=>ye(xe))}function te(xe){return xe.map(Ee=>function Te(xe){return!xe.validate}(Ee)?Ee:ye=>Ee.validate(ye))}function R(xe){if(!xe)return null;const Ee=xe.filter(se);return 0==Ee.length?null:function(ye){return ve(me(ye,Ee))}}function Oe(xe){return null!=xe?R(te(xe)):null}function Ie(xe){if(!xe)return null;const Ee=xe.filter(se);return 0==Ee.length?null:function(ye){const ot=me(ye,Ee).map(Me);return(0,T.D)(ot).pipe((0,m.U)(ve))}}function He(xe){return null!=xe?Ie(te(xe)):null}function fe(xe,Ee){return null===xe?[Ee]:Array.isArray(xe)?[...xe,Ee]:[xe,Ee]}function Ce(xe){return xe._rawValidators}function Ye(xe){return xe._rawAsyncValidators}function Xe(xe){return xe?Array.isArray(xe)?xe:[xe]:[]}function tt(xe,Ee){return Array.isArray(xe)?xe.includes(Ee):xe===Ee}function at(xe,Ee){const ye=Xe(Ee);return Xe(xe).forEach(Lt=>{tt(ye,Lt)||ye.push(Lt)}),ye}function N(xe,Ee){return Xe(Ee).filter(ye=>!tt(xe,ye))}class he{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(Ee){this._rawValidators=Ee||[],this._composedValidatorFn=Oe(this._rawValidators)}_setAsyncValidators(Ee){this._rawAsyncValidators=Ee||[],this._composedAsyncValidatorFn=He(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ee){this._onDestroyCallbacks.push(Ee)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ee=>Ee()),this._onDestroyCallbacks=[]}reset(Ee){this.control&&this.control.reset(Ee)}hasError(Ee,ye){return!!this.control&&this.control.hasError(Ee,ye)}getError(Ee,ye){return this.control?this.control.getError(Ee,ye):null}}class D extends he{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class S extends he{get formDirective(){return null}get path(){return null}}class I{constructor(Ee){this._cd=Ee}is(Ee){var ye,ot,Lt;return"submitted"===Ee?!!(null===(ye=this._cd)||void 0===ye?void 0:ye.submitted):!!(null===(Lt=null===(ot=this._cd)||void 0===ot?void 0:ot.control)||void 0===Lt?void 0:Lt[Ee])}}let r=(()=>{class xe extends I{constructor(ye){super(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(D,2))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ye,ot){2&ye&&e.ekj("ng-untouched",ot.is("untouched"))("ng-touched",ot.is("touched"))("ng-pristine",ot.is("pristine"))("ng-dirty",ot.is("dirty"))("ng-valid",ot.is("valid"))("ng-invalid",ot.is("invalid"))("ng-pending",ot.is("pending"))},features:[e.qOj]}),xe})(),p=(()=>{class xe extends I{constructor(ye){super(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ye,ot){2&ye&&e.ekj("ng-untouched",ot.is("untouched"))("ng-touched",ot.is("touched"))("ng-pristine",ot.is("pristine"))("ng-dirty",ot.is("dirty"))("ng-valid",ot.is("valid"))("ng-invalid",ot.is("invalid"))("ng-pending",ot.is("pending"))("ng-submitted",ot.is("submitted"))},features:[e.qOj]}),xe})();function bt(xe,Ee){return[...Ee.path,xe]}function et(xe,Ee){We(xe,Ee),Ee.valueAccessor.writeValue(xe.value),function re(xe,Ee){Ee.valueAccessor.registerOnChange(ye=>{xe._pendingValue=ye,xe._pendingChange=!0,xe._pendingDirty=!0,"change"===xe.updateOn&&G(xe,Ee)})}(xe,Ee),function ee(xe,Ee){const ye=(ot,Lt)=>{Ee.valueAccessor.writeValue(ot),Lt&&Ee.viewToModelUpdate(ot)};xe.registerOnChange(ye),Ee._registerOnDestroy(()=>{xe._unregisterOnChange(ye)})}(xe,Ee),function Z(xe,Ee){Ee.valueAccessor.registerOnTouched(()=>{xe._pendingTouched=!0,"blur"===xe.updateOn&&xe._pendingChange&&G(xe,Ee),"submit"!==xe.updateOn&&xe.markAsTouched()})}(xe,Ee),function It(xe,Ee){if(Ee.valueAccessor.setDisabledState){const ye=ot=>{Ee.valueAccessor.setDisabledState(ot)};xe.registerOnDisabledChange(ye),Ee._registerOnDestroy(()=>{xe._unregisterOnDisabledChange(ye)})}}(xe,Ee)}function kt(xe,Ee,ye=!0){const ot=()=>{};Ee.valueAccessor&&(Ee.valueAccessor.registerOnChange(ot),Ee.valueAccessor.registerOnTouched(ot)),qe(xe,Ee),xe&&(Ee._invokeOnDestroyCallbacks(),xe._registerOnCollectionChange(()=>{}))}function pt(xe,Ee){xe.forEach(ye=>{ye.registerOnValidatorChange&&ye.registerOnValidatorChange(Ee)})}function We(xe,Ee){const ye=Ce(xe);null!==Ee.validator?xe.setValidators(fe(ye,Ee.validator)):"function"==typeof ye&&xe.setValidators([ye]);const ot=Ye(xe);null!==Ee.asyncValidator?xe.setAsyncValidators(fe(ot,Ee.asyncValidator)):"function"==typeof ot&&xe.setAsyncValidators([ot]);const Lt=()=>xe.updateValueAndValidity();pt(Ee._rawValidators,Lt),pt(Ee._rawAsyncValidators,Lt)}function qe(xe,Ee){let ye=!1;if(null!==xe){if(null!==Ee.validator){const Lt=Ce(xe);if(Array.isArray(Lt)&&Lt.length>0){const ci=Lt.filter(Bi=>Bi!==Ee.validator);ci.length!==Lt.length&&(ye=!0,xe.setValidators(ci))}}if(null!==Ee.asyncValidator){const Lt=Ye(xe);if(Array.isArray(Lt)&&Lt.length>0){const ci=Lt.filter(Bi=>Bi!==Ee.asyncValidator);ci.length!==Lt.length&&(ye=!0,xe.setAsyncValidators(ci))}}}const ot=()=>{};return pt(Ee._rawValidators,ot),pt(Ee._rawAsyncValidators,ot),ye}function G(xe,Ee){xe._pendingDirty&&xe.markAsDirty(),xe.setValue(xe._pendingValue,{emitModelToViewChange:!1}),Ee.viewToModelUpdate(xe._pendingValue),xe._pendingChange=!1}function _e(xe,Ee){We(xe,Ee)}function jt(xe,Ee){if(!xe.hasOwnProperty("model"))return!1;const ye=xe.model;return!!ye.isFirstChange()||!Object.is(Ee,ye.currentValue)}function Ct(xe,Ee){xe._syncPendingControls(),Ee.forEach(ye=>{const ot=ye.control;"submit"===ot.updateOn&&ot._pendingChange&&(ye.viewToModelUpdate(ot._pendingValue),ot._pendingChange=!1)})}function mt(xe,Ee){if(!Ee)return null;let ye,ot,Lt;return Array.isArray(Ee),Ee.forEach(ci=>{ci.constructor===Y?ye=ci:function St(xe){return Object.getPrototypeOf(xe.constructor)===s}(ci)?ot=ci:Lt=ci}),Lt||ot||ye||null}function Rt(xe,Ee){const ye=xe.indexOf(Ee);ye>-1&&xe.splice(ye,1)}const fi="VALID",Ci="INVALID",Si="PENDING",Vi="DISABLED";function $i(xe){return($e(xe)?xe.validators:xe)||null}function Yi(xe){return Array.isArray(xe)?Oe(xe):xe||null}function bn(xe,Ee){return($e(Ee)?Ee.asyncValidators:xe)||null}function Qi(xe){return Array.isArray(xe)?He(xe):xe||null}function $e(xe){return null!=xe&&!Array.isArray(xe)&&"object"==typeof xe}const vt=xe=>xe instanceof Dt,Qe=xe=>xe instanceof ei,Ze=xe=>xe instanceof Qt;function gt(xe){return vt(xe)?xe.value:xe.getRawValue()}function F(xe,Ee){const ye=Qe(xe),ot=xe.controls;if(!(ye?Object.keys(ot):ot).length)throw new e.vHH(1e3,"");if(!ot[Ee])throw new e.vHH(1001,"")}function Be(xe,Ee){Qe(xe),xe._forEachChild((ot,Lt)=>{if(void 0===Ee[Lt])throw new e.vHH(1002,"")})}class dt{constructor(Ee,ye){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=Ee,this._rawAsyncValidators=ye,this._composedValidatorFn=Yi(this._rawValidators),this._composedAsyncValidatorFn=Qi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(Ee){this._rawValidators=this._composedValidatorFn=Ee}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ee){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ee}get parent(){return this._parent}get valid(){return this.status===fi}get invalid(){return this.status===Ci}get pending(){return this.status==Si}get disabled(){return this.status===Vi}get enabled(){return this.status!==Vi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ee){this._rawValidators=Ee,this._composedValidatorFn=Yi(Ee)}setAsyncValidators(Ee){this._rawAsyncValidators=Ee,this._composedAsyncValidatorFn=Qi(Ee)}addValidators(Ee){this.setValidators(at(Ee,this._rawValidators))}addAsyncValidators(Ee){this.setAsyncValidators(at(Ee,this._rawAsyncValidators))}removeValidators(Ee){this.setValidators(N(Ee,this._rawValidators))}removeAsyncValidators(Ee){this.setAsyncValidators(N(Ee,this._rawAsyncValidators))}hasValidator(Ee){return tt(this._rawValidators,Ee)}hasAsyncValidator(Ee){return tt(this._rawAsyncValidators,Ee)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ee={}){this.touched=!0,this._parent&&!Ee.onlySelf&&this._parent.markAsTouched(Ee)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ee=>Ee.markAllAsTouched())}markAsUntouched(Ee={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ye=>{ye.markAsUntouched({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}markAsDirty(Ee={}){this.pristine=!1,this._parent&&!Ee.onlySelf&&this._parent.markAsDirty(Ee)}markAsPristine(Ee={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ye=>{ye.markAsPristine({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}markAsPending(Ee={}){this.status=Si,!1!==Ee.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ee.onlySelf&&this._parent.markAsPending(Ee)}disable(Ee={}){const ye=this._parentMarkedDirty(Ee.onlySelf);this.status=Vi,this.errors=null,this._forEachChild(ot=>{ot.disable(Object.assign(Object.assign({},Ee),{onlySelf:!0}))}),this._updateValue(),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},Ee),{skipPristineCheck:ye})),this._onDisabledChange.forEach(ot=>ot(!0))}enable(Ee={}){const ye=this._parentMarkedDirty(Ee.onlySelf);this.status=fi,this._forEachChild(ot=>{ot.enable(Object.assign(Object.assign({},Ee),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},Ee),{skipPristineCheck:ye})),this._onDisabledChange.forEach(ot=>ot(!1))}_updateAncestors(Ee){this._parent&&!Ee.onlySelf&&(this._parent.updateValueAndValidity(Ee),Ee.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ee){this._parent=Ee}updateValueAndValidity(Ee={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fi||this.status===Si)&&this._runAsyncValidator(Ee.emitEvent)),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ee.onlySelf&&this._parent.updateValueAndValidity(Ee)}_updateTreeValidity(Ee={emitEvent:!0}){this._forEachChild(ye=>ye._updateTreeValidity(Ee)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vi:fi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ee){if(this.asyncValidator){this.status=Si,this._hasOwnPendingAsyncValidator=!0;const ye=Me(this.asyncValidator(this));this._asyncValidationSubscription=ye.subscribe(ot=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ot,{emitEvent:Ee})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ee,ye={}){this.errors=Ee,this._updateControlsErrors(!1!==ye.emitEvent)}get(Ee){return function nn(xe,Ee,ye){if(null==Ee||(Array.isArray(Ee)||(Ee=Ee.split(ye)),Array.isArray(Ee)&&0===Ee.length))return null;let ot=xe;return Ee.forEach(Lt=>{ot=Qe(ot)?ot.controls.hasOwnProperty(Lt)?ot.controls[Lt]:null:Ze(ot)&&ot.at(Lt)||null}),ot}(this,Ee,".")}getError(Ee,ye){const ot=ye?this.get(ye):this;return ot&&ot.errors?ot.errors[Ee]:null}hasError(Ee,ye){return!!this.getError(Ee,ye)}get root(){let Ee=this;for(;Ee._parent;)Ee=Ee._parent;return Ee}_updateControlsErrors(Ee){this.status=this._calculateStatus(),Ee&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ee)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Vi:this.errors?Ci:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Si)?Si:this._anyControlsHaveStatus(Ci)?Ci:fi}_anyControlsHaveStatus(Ee){return this._anyControls(ye=>ye.status===Ee)}_anyControlsDirty(){return this._anyControls(Ee=>Ee.dirty)}_anyControlsTouched(){return this._anyControls(Ee=>Ee.touched)}_updatePristine(Ee={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}_updateTouched(Ee={}){this.touched=this._anyControlsTouched(),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}_isBoxedValue(Ee){return"object"==typeof Ee&&null!==Ee&&2===Object.keys(Ee).length&&"value"in Ee&&"disabled"in Ee}_registerOnCollectionChange(Ee){this._onCollectionChange=Ee}_setUpdateStrategy(Ee){$e(Ee)&&null!=Ee.updateOn&&(this._updateOn=Ee.updateOn)}_parentMarkedDirty(Ee){return!Ee&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Dt extends dt{constructor(Ee=null,ye,ot){super($i(ye),bn(ot,ye)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ee),this._setUpdateStrategy(ye),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$e(ye)&&ye.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(Ee)?Ee.value:Ee)}setValue(Ee,ye={}){this.value=this._pendingValue=Ee,this._onChange.length&&!1!==ye.emitModelToViewChange&&this._onChange.forEach(ot=>ot(this.value,!1!==ye.emitViewToModelChange)),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){this.setValue(Ee,ye)}reset(Ee=this.defaultValue,ye={}){this._applyFormState(Ee),this.markAsPristine(ye),this.markAsUntouched(ye),this.setValue(this.value,ye),this._pendingChange=!1}_updateValue(){}_anyControls(Ee){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ee){this._onChange.push(Ee)}_unregisterOnChange(Ee){Rt(this._onChange,Ee)}registerOnDisabledChange(Ee){this._onDisabledChange.push(Ee)}_unregisterOnDisabledChange(Ee){Rt(this._onDisabledChange,Ee)}_forEachChild(Ee){}_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(Ee){this._isBoxedValue(Ee)?(this.value=this._pendingValue=Ee.value,Ee.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ee}}class ei extends dt{constructor(Ee,ye,ot){super($i(ye),bn(ot,ye)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(ye),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ee,ye){return this.controls[Ee]?this.controls[Ee]:(this.controls[Ee]=ye,ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange),ye)}addControl(Ee,ye,ot={}){this.registerControl(Ee,ye),this.updateValueAndValidity({emitEvent:ot.emitEvent}),this._onCollectionChange()}removeControl(Ee,ye={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}setControl(Ee,ye,ot={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],ye&&this.registerControl(Ee,ye),this.updateValueAndValidity({emitEvent:ot.emitEvent}),this._onCollectionChange()}contains(Ee){return this.controls.hasOwnProperty(Ee)&&this.controls[Ee].enabled}setValue(Ee,ye={}){Be(this,Ee),Object.keys(Ee).forEach(ot=>{F(this,ot),this.controls[ot].setValue(Ee[ot],{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){null!=Ee&&(Object.keys(Ee).forEach(ot=>{this.controls[ot]&&this.controls[ot].patchValue(Ee[ot],{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye))}reset(Ee={},ye={}){this._forEachChild((ot,Lt)=>{ot.reset(Ee[Lt],{onlySelf:!0,emitEvent:ye.emitEvent})}),this._updatePristine(ye),this._updateTouched(ye),this.updateValueAndValidity(ye)}getRawValue(){return this._reduceChildren({},(Ee,ye,ot)=>(Ee[ot]=gt(ye),Ee))}_syncPendingControls(){let Ee=this._reduceChildren(!1,(ye,ot)=>!!ot._syncPendingControls()||ye);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){Object.keys(this.controls).forEach(ye=>{const ot=this.controls[ye];ot&&Ee(ot,ye)})}_setUpControls(){this._forEachChild(Ee=>{Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ee){for(const ye of Object.keys(this.controls)){const ot=this.controls[ye];if(this.contains(ye)&&Ee(ot))return!0}return!1}_reduceValue(){return this._reduceChildren({},(Ee,ye,ot)=>((ye.enabled||this.disabled)&&(Ee[ot]=ye.value),Ee))}_reduceChildren(Ee,ye){let ot=Ee;return this._forEachChild((Lt,ci)=>{ot=ye(ot,Lt,ci)}),ot}_allControlsDisabled(){for(const Ee of Object.keys(this.controls))if(this.controls[Ee].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Qt extends dt{constructor(Ee,ye,ot){super($i(ye),bn(ot,ye)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(ye),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ee){return this.controls[Ee]}push(Ee,ye={}){this.controls.push(Ee),this._registerControl(Ee),this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}insert(Ee,ye,ot={}){this.controls.splice(Ee,0,ye),this._registerControl(ye),this.updateValueAndValidity({emitEvent:ot.emitEvent})}removeAt(Ee,ye={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),this.updateValueAndValidity({emitEvent:ye.emitEvent})}setControl(Ee,ye,ot={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),ye&&(this.controls.splice(Ee,0,ye),this._registerControl(ye)),this.updateValueAndValidity({emitEvent:ot.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ee,ye={}){Be(this,Ee),Ee.forEach((ot,Lt)=>{F(this,Lt),this.at(Lt).setValue(ot,{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){null!=Ee&&(Ee.forEach((ot,Lt)=>{this.at(Lt)&&this.at(Lt).patchValue(ot,{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye))}reset(Ee=[],ye={}){this._forEachChild((ot,Lt)=>{ot.reset(Ee[Lt],{onlySelf:!0,emitEvent:ye.emitEvent})}),this._updatePristine(ye),this._updateTouched(ye),this.updateValueAndValidity(ye)}getRawValue(){return this.controls.map(Ee=>gt(Ee))}clear(Ee={}){this.controls.length<1||(this._forEachChild(ye=>ye._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ee.emitEvent}))}_syncPendingControls(){let Ee=this.controls.reduce((ye,ot)=>!!ot._syncPendingControls()||ye,!1);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){this.controls.forEach((ye,ot)=>{Ee(ye,ot)})}_updateValue(){this.value=this.controls.filter(Ee=>Ee.enabled||this.disabled).map(Ee=>Ee.value)}_anyControls(Ee){return this.controls.some(ye=>ye.enabled&&Ee(ye))}_setUpControls(){this._forEachChild(Ee=>this._registerControl(Ee))}_allControlsDisabled(){for(const Ee of this.controls)if(Ee.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ee){Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)}}const Ri={provide:S,useExisting:(0,e.Gpc)(()=>Li)},bi=(()=>Promise.resolve(null))();let Li=(()=>{class xe extends S{constructor(ye,ot){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ei({},Oe(ye),He(ot))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ye){bi.then(()=>{const ot=this._findContainer(ye.path);ye.control=ot.registerControl(ye.name,ye.control),et(ye.control,ye),ye.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ye)})}getControl(ye){return this.form.get(ye.path)}removeControl(ye){bi.then(()=>{const ot=this._findContainer(ye.path);ot&&ot.removeControl(ye.name),this._directives.delete(ye)})}addFormGroup(ye){bi.then(()=>{const ot=this._findContainer(ye.path),Lt=new ei({});_e(Lt,ye),ot.registerControl(ye.name,Lt),Lt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ye){bi.then(()=>{const ot=this._findContainer(ye.path);ot&&ot.removeControl(ye.name)})}getFormGroup(ye){return this.form.get(ye.path)}updateModel(ye,ot){bi.then(()=>{this.form.get(ye.path).setValue(ot)})}setValue(ye){this.control.setValue(ye)}onSubmit(ye){return this.submitted=!0,Ct(this.form,this._directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ye){return ye.pop(),ye.length?this.form.get(ye):this.form}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ye,ot){1&ye&&e.NdJ("submit",function(ci){return ot.onSubmit(ci)})("reset",function(){return ot.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ri]),e.qOj]}),xe})();const fn={provide:D,useExisting:(0,e.Gpc)(()=>qi)},sn=(()=>Promise.resolve(null))();let qi=(()=>{class xe extends D{constructor(ye,ot,Lt,ci,Bi){super(),this._changeDetectorRef=Bi,this.control=new Dt,this._registered=!1,this.update=new e.vpe,this._parent=ye,this._setValidators(ot),this._setAsyncValidators(Lt),this.valueAccessor=mt(0,ci)}ngOnChanges(ye){if(this._checkForErrors(),!this._registered||"name"in ye){if(this._registered&&(this._checkName(),this.formDirective)){const ot=ye.name.previousValue;this.formDirective.removeControl({name:ot,path:this._getPath(ot)})}this._setUpControl()}"isDisabled"in ye&&this._updateDisabled(ye),jt(ye,this.viewModel)&&(this._updateValue(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(ye){this.viewModel=ye,this.update.emit(ye)}_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(){et(this.control,this),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(ye){sn.then(()=>{var ot;this.control.setValue(ye,{emitViewToModelChange:!1}),null===(ot=this._changeDetectorRef)||void 0===ot||ot.markForCheck()})}_updateDisabled(ye){const ot=ye.isDisabled.currentValue,Lt=""===ot||ot&&"false"!==ot;sn.then(()=>{var ci;Lt&&!this.control.disabled?this.control.disable():!Lt&&this.control.disabled&&this.control.enable(),null===(ci=this._changeDetectorRef)||void 0===ci||ci.markForCheck()})}_getPath(ye){return this._parent?bt(ye,this._parent):[ye]}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,9),e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(e.sBO,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([fn]),e.qOj,e.TTD]}),xe})(),Tt=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275dir=e.lG2({type:xe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),xe})();const $t={provide:b,useExisting:(0,e.Gpc)(()=>q),multi:!0};let q=(()=>{class xe extends s{writeValue(ye){this.setProperty("value",null==ye?"":ye)}registerOnChange(ye){this.onChange=ot=>{ye(""==ot?null:parseFloat(ot))}}}return xe.\u0275fac=function(){let Ee;return function(ot){return(Ee||(Ee=e.n5z(xe)))(ot||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ye,ot){1&ye&&e.NdJ("input",function(ci){return ot.onChange(ci.target.value)})("blur",function(){return ot.onTouched()})},features:[e._Bn([$t]),e.qOj]}),xe})(),lt=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({}),xe})();const zi=new e.OlP("NgModelWithFormControlWarning"),mn={provide:D,useExisting:(0,e.Gpc)(()=>In)};let In=(()=>{class xe extends D{constructor(ye,ot,Lt,ci){super(),this._ngModelWarningConfig=ci,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(ye),this._setAsyncValidators(ot),this.valueAccessor=mt(0,Lt)}set isDisabled(ye){}ngOnChanges(ye){if(this._isControlChanged(ye)){const ot=ye.form.previousValue;ot&&kt(ot,this,!1),et(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}jt(ye,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&kt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}_isControlChanged(ye){return ye.hasOwnProperty("form")}}return xe._ngModelWarningSentOnce=!1,xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(zi,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([mn]),e.qOj,e.TTD]}),xe})();const Wi={provide:S,useExisting:(0,e.Gpc)(()=>$n)};let $n=(()=>{class xe extends S{constructor(ye,ot){super(),this.validators=ye,this.asyncValidators=ot,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(ye),this._setAsyncValidators(ot)}ngOnChanges(ye){this._checkFormPresent(),ye.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ye){const ot=this.form.get(ye.path);return et(ot,ye),ot.updateValueAndValidity({emitEvent:!1}),this.directives.push(ye),ot}getControl(ye){return this.form.get(ye.path)}removeControl(ye){kt(ye.control||null,ye,!1),Rt(this.directives,ye)}addFormGroup(ye){this._setUpFormContainer(ye)}removeFormGroup(ye){this._cleanUpFormContainer(ye)}getFormGroup(ye){return this.form.get(ye.path)}addFormArray(ye){this._setUpFormContainer(ye)}removeFormArray(ye){this._cleanUpFormContainer(ye)}getFormArray(ye){return this.form.get(ye.path)}updateModel(ye,ot){this.form.get(ye.path).setValue(ot)}onSubmit(ye){return this.submitted=!0,Ct(this.form,this.directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_updateDomValue(){this.directives.forEach(ye=>{const ot=ye.control,Lt=this.form.get(ye.path);ot!==Lt&&(kt(ot||null,ye),vt(Lt)&&(et(Lt,ye),ye.control=Lt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ye){const ot=this.form.get(ye.path);_e(ot,ye),ot.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ye){if(this.form){const ot=this.form.get(ye.path);ot&&function Ue(xe,Ee){return qe(xe,Ee)}(ot,ye)&&ot.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){We(this.form,this),this._oldForm&&qe(this._oldForm,this)}_checkFormPresent(){}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formGroup",""]],hostBindings:function(ye,ot){1&ye&&e.NdJ("submit",function(ci){return ot.onSubmit(ci)})("reset",function(){return ot.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Wi]),e.qOj,e.TTD]}),xe})();const ys={provide:D,useExisting:(0,e.Gpc)(()=>vs)};let vs=(()=>{class xe extends D{constructor(ye,ot,Lt,ci,Bi){super(),this._ngModelWarningConfig=Bi,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=ye,this._setValidators(ot),this._setAsyncValidators(Lt),this.valueAccessor=mt(0,ci)}set isDisabled(ye){}ngOnChanges(ye){this._added||this._setUpControl(),jt(ye,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}get path(){return bt(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return xe._ngModelWarningSentOnce=!1,xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,13),e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(zi,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([ys]),e.qOj,e.TTD]}),xe})();const ss={provide:b,useExisting:(0,e.Gpc)(()=>wn),multi:!0};function os(xe,Ee){return null==xe?`${Ee}`:(Ee&&"object"==typeof Ee&&(Ee="Object"),`${xe}: ${Ee}`.slice(0,50))}let wn=(()=>{class xe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){this.value=ye;const Lt=os(this._getOptionId(ye),ye);this.setProperty("value",Lt)}registerOnChange(ye){this.onChange=ot=>{this.value=this._getOptionValue(ot),ye(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ye){for(const ot of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ot),ye))return ot;return null}_getOptionValue(ye){const ot=function Ts(xe){return xe.split(":")[0]}(ye);return this._optionMap.has(ot)?this._optionMap.get(ot):ye}}return xe.\u0275fac=function(){let Ee;return function(ot){return(Ee||(Ee=e.n5z(xe)))(ot||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ye,ot){1&ye&&e.NdJ("change",function(ci){return ot.onChange(ci.target.value)})("blur",function(){return ot.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([ss]),e.qOj]}),xe})(),Cs=(()=>{class xe{constructor(ye,ot,Lt){this._element=ye,this._renderer=ot,this._select=Lt,this._select&&(this.id=this._select._registerOption())}set ngValue(ye){null!=this._select&&(this._select._optionMap.set(this.id,ye),this._setElementValue(os(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._setElementValue(ye),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(wn,9))},xe.\u0275dir=e.lG2({type:xe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),xe})();const gn={provide:b,useExisting:(0,e.Gpc)(()=>Xn),multi:!0};function Fn(xe,Ee){return null==xe?`${Ee}`:("string"==typeof Ee&&(Ee=`'${Ee}'`),Ee&&"object"==typeof Ee&&(Ee="Object"),`${xe}: ${Ee}`.slice(0,50))}let Xn=(()=>{class xe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){let ot;if(this.value=ye,Array.isArray(ye)){const Lt=ye.map(ci=>this._getOptionId(ci));ot=(ci,Bi)=>{ci._setSelected(Lt.indexOf(Bi.toString())>-1)}}else ot=(Lt,ci)=>{Lt._setSelected(!1)};this._optionMap.forEach(ot)}registerOnChange(ye){this.onChange=ot=>{const Lt=[],ci=ot.selectedOptions;if(void 0!==ci){const Bi=ci;for(let ln=0;ln{class xe{constructor(ye,ot,Lt){this._element=ye,this._renderer=ot,this._select=Lt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ye){null!=this._select&&(this._value=ye,this._setElementValue(Fn(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._select?(this._value=ye,this._setElementValue(Fn(this.id,ye)),this._select.writeValue(this._select.value)):this._setElementValue(ye)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}_setSelected(ye){this._renderer.setProperty(this._element.nativeElement,"selected",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Xn,9))},xe.\u0275dir=e.lG2({type:xe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),xe})(),Sn=(()=>{class xe{constructor(){this._validator=Fe}ngOnChanges(ye){if(this.inputName in ye){const ot=this.normalizeInput(ye[this.inputName].currentValue);this._enabled=this.enabled(ot),this._validator=this._enabled?this.createValidator(ot):Fe,this._onChange&&this._onChange()}}validate(ye){return this._validator(ye)}registerOnValidatorChange(ye){this._onChange=ye}enabled(ye){return null!=ye}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275dir=e.lG2({type:xe,features:[e.TTD]}),xe})();const Un={provide:ce,useExisting:(0,e.Gpc)(()=>rt),multi:!0},ws={provide:ce,useExisting:(0,e.Gpc)(()=>B),multi:!0};let rt=(()=>{class xe extends Sn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ye=>function hs(xe){return null!=xe&&!1!==xe&&"false"!=`${xe}`}(ye),this.createValidator=ye=>H}enabled(ye){return ye}}return xe.\u0275fac=function(){let Ee;return function(ot){return(Ee||(Ee=e.n5z(xe)))(ot||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ye,ot){2&ye&&e.uIk("required",ot._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Un]),e.qOj]}),xe})(),B=(()=>{class xe extends rt{constructor(){super(...arguments),this.createValidator=ye=>X}}return xe.\u0275fac=function(){let Ee;return function(ot){return(Ee||(Ee=e.n5z(xe)))(ot||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ye,ot){2&ye&&e.uIk("required",ot._enabled?"":null)},features:[e._Bn([ws]),e.qOj]}),xe})();const ne={provide:ce,useExisting:(0,e.Gpc)(()=>Ge),multi:!0};let Ge=(()=>{class xe extends Sn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ye=>ye,this.createValidator=ye=>Ne(ye)}}return xe.\u0275fac=function(){let Ee;return function(ot){return(Ee||(Ee=e.n5z(xe)))(ot||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ye,ot){2&ye&&e.uIk("pattern",ot._enabled?ot.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([ne]),e.qOj]}),xe})(),ii=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[[lt]]}),xe})(),ai=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[ii]}),xe})(),hi=(()=>{class xe{static withConfig(ye){return{ngModule:xe,providers:[{provide:zi,useValue:ye.warnOnNgModelWithFormControl}]}}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[ii]}),xe})(),yi=(()=>{class xe{group(ye,ot=null){const Lt=this._reduceControls(ye);let ln,ci=null,Bi=null;return null!=ot&&(function mi(xe){return void 0!==xe.asyncValidators||void 0!==xe.validators||void 0!==xe.updateOn}(ot)?(ci=null!=ot.validators?ot.validators:null,Bi=null!=ot.asyncValidators?ot.asyncValidators:null,ln=null!=ot.updateOn?ot.updateOn:void 0):(ci=null!=ot.validator?ot.validator:null,Bi=null!=ot.asyncValidator?ot.asyncValidator:null)),new ei(Lt,{asyncValidators:Bi,updateOn:ln,validators:ci})}control(ye,ot,Lt){return new Dt(ye,ot,Lt)}array(ye,ot,Lt){const ci=ye.map(Bi=>this._createControl(Bi));return new Qt(ci,ot,Lt)}_reduceControls(ye){const ot={};return Object.keys(ye).forEach(Lt=>{ot[Lt]=this._createControl(ye[Lt])}),ot}_createControl(ye){return vt(ye)||Qe(ye)||Ze(ye)?ye:Array.isArray(ye)?this.control(ye[0],ye.length>1?ye[1]:null,ye.length>2?ye[2]:null):this.control(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac,providedIn:hi}),xe})()},91079:(Ke,be,d)=>{"use strict";d.d(be,{XC:()=>R,Bb:()=>N,ZL:()=>Xe});var e=d(15664),f=d(63191),g=d(5e3),T=d(90508),m=d(42654),A=d(8929),s=d(88514),b=d(36787),O=d(21086),E=d(23753),h=d(70925),k=d(69808),L=d(92845),Y=d(53435),J=d(91159),ue=d(47429),ce=d(93075),Le=d(67322),de=d(1059),ke=d(87545),ae=d(72986),V=d(92198),H=d(24850),X=d(22868),ie=d(40943),oe=d(50226);const ge=["panel"];function Ne(he,D){if(1&he&&(g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA()),2&he){const S=D.id,I=g.oxw();g.Q6J("id",I.id)("ngClass",I._classList),g.uIk("aria-label",I.ariaLabel||null)("aria-labelledby",I._getPanelAriaLabelledby(S))}}const Fe=["*"];let se=0;class Me{constructor(D,S){this.source=D,this.option=S}}const ve=(0,T.Kr)(class{}),me=new g.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Te(){return{autoActiveFirstOption:!1}}});let te=(()=>{class he extends ve{constructor(S,I,P,i){super(),this._changeDetectorRef=S,this._elementRef=I,this._activeOptionChanges=m.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new g.vpe,this.opened=new g.vpe,this.closed=new g.vpe,this.optionActivated=new g.vpe,this._classList={},this.id="mat-autocomplete-"+se++,this.inertGroups=(null==i?void 0:i.SAFARI)||!1,this._autoActiveFirstOption=!!P.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(S){this._autoActiveFirstOption=(0,f.Ig)(S)}set classList(S){this._classList=S&&S.length?(0,f.du)(S).reduce((I,P)=>(I[P]=!0,I),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new e.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(S=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[S]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(S){this.panel&&(this.panel.nativeElement.scrollTop=S)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(S){const I=new Me(this,S);this.optionSelected.emit(I)}_getPanelAriaLabelledby(S){return this.ariaLabel?null:this.ariaLabelledby?(S?S+" ":"")+this.ariaLabelledby:S}_setVisibilityClasses(S){S[this._visibleClass]=this.showPanel,S[this._hiddenClass]=!this.showPanel}}return he.\u0275fac=function(S){return new(S||he)(g.Y36(g.sBO),g.Y36(g.SBq),g.Y36(me),g.Y36(h.t4))},he.\u0275dir=g.lG2({type:he,viewQuery:function(S,I){if(1&S&&(g.Gf(g.Rgc,7),g.Gf(ge,5)),2&S){let P;g.iGM(P=g.CRH())&&(I.template=P.first),g.iGM(P=g.CRH())&&(I.panel=P.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[g.qOj]}),he})(),R=(()=>{class he extends te{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=g.n5z(he)))(I||he)}}(),he.\u0275cmp=g.Xpm({type:he,selectors:[["mat-autocomplete"]],contentQueries:function(S,I,P){if(1&S&&(g.Suo(P,T.K7,5),g.Suo(P,T.ey,5)),2&S){let i;g.iGM(i=g.CRH())&&(I.optionGroups=i),g.iGM(i=g.CRH())&&(I.options=i)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[g._Bn([{provide:T.HF,useExisting:he}]),g.qOj],ngContentSelectors:Fe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(S,I){1&S&&(g.F$t(),g.YNc(0,Ne,3,4,"ng-template"))},directives:[k.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),he})();const Oe=new g.OlP("mat-autocomplete-scroll-strategy"),He={provide:Oe,deps:[L.aV],useFactory:function Ie(he){return()=>he.scrollStrategies.reposition()}},fe={provide:ce.JU,useExisting:(0,g.Gpc)(()=>Xe),multi:!0};let Ye=(()=>{class he{constructor(S,I,P,i,r,p,o,t,n,c,u){this._element=S,this._overlay=I,this._viewContainerRef=P,this._zone=i,this._changeDetectorRef=r,this._dir=o,this._formField=t,this._document=n,this._viewportRuler=c,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=m.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new A.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,s.P)(()=>{const y=this.autocomplete?this.autocomplete.options:null;return y?y.changes.pipe((0,de.O)(y),(0,ke.w)(()=>(0,b.T)(...y.map(M=>M.onSelectionChange)))):this._zone.onStable.pipe((0,ae.q)(1),(0,ke.w)(()=>this.optionSelections))}),this._scrollStrategy=p}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(S){this._autocompleteDisabled=(0,f.Ig)(S)}ngAfterViewInit(){const S=this._getWindow();void 0!==S&&this._zone.runOutsideAngular(()=>S.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(S){S.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const S=this._getWindow();void 0!==S&&S.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,b.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,V.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,V.h)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,H.U)(S=>S instanceof T.rN?S:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,b.T)((0,E.R)(this._document,"click"),(0,E.R)(this._document,"auxclick"),(0,E.R)(this._document,"touchend")).pipe((0,V.h)(S=>{const I=(0,h.sA)(S),P=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&I!==this._element.nativeElement&&(!P||!P.contains(I))&&(!i||!i.contains(I))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(I)}))}writeValue(S){Promise.resolve().then(()=>this._setTriggerValue(S))}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this._element.nativeElement.disabled=S}_handleKeydown(S){const I=S.keyCode;if(I===J.hY&&!(0,J.Vb)(S)&&S.preventDefault(),this.activeOption&&I===J.K5&&this.panelOpen&&!(0,J.Vb)(S))this.activeOption._selectViaInteraction(),this._resetActiveItem(),S.preventDefault();else if(this.autocomplete){const P=this.autocomplete._keyManager.activeItem,i=I===J.LH||I===J.JH;this.panelOpen||I===J.Mf?this.autocomplete._keyManager.onKeydown(S):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==P)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(S){let I=S.target,P=I.value;"number"===I.type&&(P=""==P?null:parseFloat(P)),this._previousValue!==P&&(this._previousValue=P,this._onChange(P),this._canOpen()&&this._document.activeElement===S.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(S=!1){this._formField&&"auto"===this._formField.floatLabel&&(S?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const S=this._zone.onStable.pipe((0,ae.q)(1)),I=this.autocomplete.options.changes.pipe((0,X.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,ie.g)(0));return(0,b.T)(S,I).pipe((0,ke.w)(()=>{const P=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),P!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,ae.q)(1)).subscribe(P=>this._setValueAndClose(P))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(S){const I=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(S):S,P=null!=I?I:"";this._formField?this._formField._control.value=P:this._element.nativeElement.value=P,this._previousValue=P}_setValueAndClose(S){const I=S&&S.source;I&&(this._clearPreviousSelectedOption(I),this._setTriggerValue(I.value),this._onChange(I.value),this.autocomplete._emitSelectEvent(I),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(S){this.autocomplete.options.forEach(I=>{I!==S&&I.selected&&I.deselect()})}_attachOverlay(){var S;let I=this._overlayRef;I?(this._positionStrategy.setOrigin(this._getConnectedElement()),I.updateSize({width:this._getPanelWidth()})):(this._portal=new ue.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(S=this._formField)||void 0===S?void 0:S.getLabelId()}),I=this._overlay.create(this._getOverlayConfig()),this._overlayRef=I,I.keydownEvents().subscribe(i=>{(i.keyCode===J.hY&&!(0,J.Vb)(i)||i.keyCode===J.LH&&(0,J.Vb)(i,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&I&&I.updateSize({width:this._getPanelWidth()})})),I&&!I.hasAttached()&&(I.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const P=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&P!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var S;return new L.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(S=this._defaults)||void 0===S?void 0:S.overlayPanelClass})}_getOverlayPosition(){const S=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(S),this._positionStrategy=S,S}_setStrategyPositions(S){const I=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],P=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:P},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:P}];let r;r="above"===this.position?i:"below"===this.position?I:[...I,...i],S.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const S=this.autocomplete;S.autoActiveFirstOption?S._keyManager.setFirstItemActive():S._keyManager.setActiveItem(-1)}_canOpen(){const S=this._element.nativeElement;return!S.readOnly&&!S.disabled&&!this._autocompleteDisabled}_getWindow(){var S;return(null===(S=this._document)||void 0===S?void 0:S.defaultView)||window}_scrollToOption(S){const I=this.autocomplete,P=(0,T.CB)(S,I.options,I.optionGroups);if(0===S&&1===P)I._setScrollTop(0);else if(I.panel){const i=I.options.toArray()[S];if(i){const r=i._getHostElement(),p=(0,T.jH)(r.offsetTop,r.offsetHeight,I._getScrollTop(),I.panel.nativeElement.offsetHeight);I._setScrollTop(p)}}}}return he.\u0275fac=function(S){return new(S||he)(g.Y36(g.SBq),g.Y36(L.aV),g.Y36(g.s_b),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(Oe),g.Y36(oe.Is,8),g.Y36(Le.G_,9),g.Y36(k.K0,8),g.Y36(Y.rL),g.Y36(me,8))},he.\u0275dir=g.lG2({type:he,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[g.TTD]}),he})(),Xe=(()=>{class he extends Ye{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=g.n5z(he)))(I||he)}}(),he.\u0275dir=g.lG2({type:he,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(S,I){1&S&&g.NdJ("focusin",function(){return I._handleFocus()})("blur",function(){return I._onTouched()})("input",function(i){return I._handleInput(i)})("keydown",function(i){return I._handleKeydown(i)}),2&S&&g.uIk("autocomplete",I.autocompleteAttribute)("role",I.autocompleteDisabled?null:"combobox")("aria-autocomplete",I.autocompleteDisabled?null:"list")("aria-activedescendant",I.panelOpen&&I.activeOption?I.activeOption.id:null)("aria-expanded",I.autocompleteDisabled?null:I.panelOpen.toString())("aria-owns",I.autocompleteDisabled||!I.panelOpen||null==I.autocomplete?null:I.autocomplete.id)("aria-haspopup",!I.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[g._Bn([fe]),g.qOj]}),he})(),N=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[He],imports:[[L.U8,T.Ng,T.BQ,k.ez],Y.ZD,T.Ng,T.BQ]}),he})()},27544:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>O,g:()=>E});var e=d(5e3),f=d(90508),g=d(15664),T=d(63191),m=d(76360);let A=0;const s=(0,f.Id)(class{}),b="mat-badge-content";let O=(()=>{class h extends s{constructor(L,Y,J,ue,ce){super(),this._ngZone=L,this._elementRef=Y,this._ariaDescriber=J,this._renderer=ue,this._animationMode=ce,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=A++,this._isInitialized=!1}get color(){return this._color}set color(L){this._setColor(L),this._color=L}get overlap(){return this._overlap}set overlap(L){this._overlap=(0,T.Ig)(L)}get content(){return this._content}set content(L){this._updateRenderedContent(L)}get description(){return this._description}set description(L){this._updateHostAriaDescription(L)}get hidden(){return this._hidden}set hidden(L){this._hidden=(0,T.Ig)(L)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const L=this._renderer.createElement("span"),Y="mat-badge-active";return L.setAttribute("id",`mat-badge-content-${this._id}`),L.setAttribute("aria-hidden","true"),L.classList.add(b),"NoopAnimations"===this._animationMode&&L.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(L),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{L.classList.add(Y)})}):L.classList.add(Y),L}_updateRenderedContent(L){const Y=`${null!=L?L:""}`.trim();this._isInitialized&&Y&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=Y),this._content=Y}_updateHostAriaDescription(L){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),L&&this._ariaDescriber.describe(this._elementRef.nativeElement,L),this._description=L}_setColor(L){const Y=this._elementRef.nativeElement.classList;Y.remove(`mat-badge-${this._color}`),L&&Y.add(`mat-badge-${L}`)}_clearExistingBadges(){const L=this._elementRef.nativeElement.querySelectorAll(`:scope > .${b}`);for(const Y of Array.from(L))Y!==this._badgeElement&&Y.remove()}}return h.\u0275fac=function(L){return new(L||h)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(m.Qb,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(L,Y){2&L&&e.ekj("mat-badge-overlap",Y.overlap)("mat-badge-above",Y.isAbove())("mat-badge-below",!Y.isAbove())("mat-badge-before",!Y.isAfter())("mat-badge-after",Y.isAfter())("mat-badge-small","small"===Y.size)("mat-badge-medium","medium"===Y.size)("mat-badge-large","large"===Y.size)("mat-badge-hidden",Y.hidden||!Y.content)("mat-badge-disabled",Y.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),h})(),E=(()=>{class h{}return h.\u0275fac=function(L){return new(L||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[[g.rt,f.BQ],f.BQ]}),h})()},47423:(Ke,be,d)=>{"use strict";d.d(be,{lW:()=>h,ot:()=>L});var e=d(5e3),f=d(90508),g=d(76360),T=d(15664);const m=["mat-button",""],A=["*"],O=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],E=(0,f.pj)((0,f.Id)((0,f.Kr)(class{constructor(Y){this._elementRef=Y}})));let h=(()=>{class Y extends E{constructor(ue,ce,Le){super(ue),this._focusMonitor=ce,this._animationMode=Le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const de of O)this._hasHostAttributes(de)&&this._getHostElement().classList.add(de);ue.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ue,ce){ue?this._focusMonitor.focusVia(this._getHostElement(),ue,ce):this._getHostElement().focus(ce)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...ue){return ue.some(ce=>this._getHostElement().hasAttribute(ce))}}return Y.\u0275fac=function(ue){return new(ue||Y)(e.Y36(e.SBq),e.Y36(T.tE),e.Y36(g.Qb,8))},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(ue,ce){if(1&ue&&e.Gf(f.wG,5),2&ue){let Le;e.iGM(Le=e.CRH())&&(ce.ripple=Le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(ue,ce){2&ue&&(e.uIk("disabled",ce.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mat-button-disabled",ce.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:m,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(ue,ce){1&ue&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&ue&&(e.xp6(2),e.ekj("mat-button-ripple-round",ce.isRoundButton||ce.isIconButton),e.Q6J("matRippleDisabled",ce._isRippleDisabled())("matRippleCentered",ce.isIconButton)("matRippleTrigger",ce._getHostElement()))},directives:[f.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),Y})(),L=(()=>{class Y{}return Y.\u0275fac=function(ue){return new(ue||Y)},Y.\u0275mod=e.oAB({type:Y}),Y.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),Y})()},9224:(Ke,be,d)=>{"use strict";d.d(be,{a8:()=>ae,kc:()=>ke,dn:()=>E,dk:()=>V,QW:()=>X,$j:()=>k,n5:()=>h});var e=d(5e3),f=d(76360),g=d(90508);const T=["*",[["mat-card-footer"]]],m=["*","mat-card-footer"],A=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],s=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let E=(()=>{class ie{}return ie.\u0275fac=function(ge){return new(ge||ie)},ie.\u0275dir=e.lG2({type:ie,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),ie})(),h=(()=>{class ie{}return ie.\u0275fac=function(ge){return new(ge||ie)},ie.\u0275dir=e.lG2({type:ie,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),ie})(),k=(()=>{class ie{}return ie.\u0275fac=function(ge){return new(ge||ie)},ie.\u0275dir=e.lG2({type:ie,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),ie})(),ke=(()=>{class ie{}return ie.\u0275fac=function(ge){return new(ge||ie)},ie.\u0275dir=e.lG2({type:ie,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),ie})(),ae=(()=>{class ie{constructor(ge){this._animationMode=ge}}return ie.\u0275fac=function(ge){return new(ge||ie)(e.Y36(f.Qb,8))},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(ge,Ne){2&ge&&e.ekj("_mat-animation-noopable","NoopAnimations"===Ne._animationMode)},exportAs:["matCard"],ngContentSelectors:m,decls:2,vars:0,template:function(ge,Ne){1&ge&&(e.F$t(T),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),ie})(),V=(()=>{class ie{}return ie.\u0275fac=function(ge){return new(ge||ie)},ie.\u0275cmp=e.Xpm({type:ie,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:s,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(ge,Ne){1&ge&&(e.F$t(A),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),ie})(),X=(()=>{class ie{}return ie.\u0275fac=function(ge){return new(ge||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),ie})()},77446:(Ke,be,d)=>{"use strict";d.d(be,{oG:()=>Le,p9:()=>V});var e=d(63191),f=d(5e3),g=d(93075),T=d(90508),m=d(76360),A=d(15664),s=d(17144);const b=["input"],O=function(H){return{enterDuration:H}},E=["*"],h=new f.OlP("mat-checkbox-default-options",{providedIn:"root",factory:k});function k(){return{color:"accent",clickAction:"check-indeterminate"}}let L=0;const Y=k(),J={provide:g.JU,useExisting:(0,f.Gpc)(()=>Le),multi:!0};class ue{}const ce=(0,T.sb)((0,T.pj)((0,T.Kr)((0,T.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends ce{constructor(ie,oe,ge,Ne,Fe,se,Me){super(ie),this._changeDetectorRef=oe,this._focusMonitor=ge,this._ngZone=Ne,this._animationMode=se,this._options=Me,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++L,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new f.vpe,this.indeterminateChange=new f.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Y,this.color=this.defaultColor=this._options.color||Y.color,this.tabIndex=parseInt(Fe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ie){this._required=(0,e.Ig)(ie)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ie=>{ie||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(ie){ie!=this.checked&&(this._checked=ie,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){const oe=(0,e.Ig)(ie);oe!==this.disabled&&(this._disabled=oe,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const oe=ie!=this._indeterminate;this._indeterminate=(0,e.Ig)(ie),oe&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(ie){let oe=this._currentCheckState,ge=this._elementRef.nativeElement;if(oe!==ie&&(this._currentAnimationClass.length>0&&ge.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(oe,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){ge.classList.add(this._currentAnimationClass);const Ne=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ge.classList.remove(Ne)},1e3)})}}_emitChangeEvent(){const ie=new ue;ie.source=this,ie.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(ie),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(ie){var oe;const ge=null===(oe=this._options)||void 0===oe?void 0:oe.clickAction;ie.stopPropagation(),this.disabled||"noop"===ge?!this.disabled&&"noop"===ge&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ge&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(ie,oe){ie?this._focusMonitor.focusVia(this._inputElement,ie,oe):this._inputElement.nativeElement.focus(oe)}_onInteractionEvent(ie){ie.stopPropagation()}_getAnimationClassForCheckStateTransition(ie,oe){if("NoopAnimations"===this._animationMode)return"";let ge="";switch(ie){case 0:if(1===oe)ge="unchecked-checked";else{if(3!=oe)return"";ge="unchecked-indeterminate"}break;case 2:ge=1===oe?"unchecked-checked":"unchecked-indeterminate";break;case 1:ge=2===oe?"checked-unchecked":"checked-indeterminate";break;case 3:ge=1===oe?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${ge}`}_syncIndeterminate(ie){const oe=this._inputElement;oe&&(oe.nativeElement.indeterminate=ie)}}return H.\u0275fac=function(ie){return new(ie||H)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(A.tE),f.Y36(f.R0b),f.$8M("tabindex"),f.Y36(m.Qb,8),f.Y36(h,8))},H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-checkbox"]],viewQuery:function(ie,oe){if(1&ie&&(f.Gf(b,5),f.Gf(T.wG,5)),2&ie){let ge;f.iGM(ge=f.CRH())&&(oe._inputElement=ge.first),f.iGM(ge=f.CRH())&&(oe.ripple=ge.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(ie,oe){2&ie&&(f.Ikx("id",oe.id),f.uIk("tabindex",null),f.ekj("mat-checkbox-indeterminate",oe.indeterminate)("mat-checkbox-checked",oe.checked)("mat-checkbox-disabled",oe.disabled)("mat-checkbox-label-before","before"==oe.labelPosition)("_mat-animation-noopable","NoopAnimations"===oe._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[f._Bn([J]),f.qOj],ngContentSelectors:E,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(ie,oe){if(1&ie&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2),f.TgZ(3,"input",3,4),f.NdJ("change",function(Ne){return oe._onInteractionEvent(Ne)})("click",function(Ne){return oe._onInputClick(Ne)}),f.qZA(),f.TgZ(5,"span",5),f._UZ(6,"span",6),f.qZA(),f._UZ(7,"span",7),f.TgZ(8,"span",8),f.O4$(),f.TgZ(9,"svg",9),f._UZ(10,"path",10),f.qZA(),f.kcU(),f._UZ(11,"span",11),f.qZA(),f.qZA(),f.TgZ(12,"span",12,13),f.NdJ("cdkObserveContent",function(){return oe._onLabelTextChange()}),f.TgZ(14,"span",14),f._uU(15,"\xa0"),f.qZA(),f.Hsn(16),f.qZA(),f.qZA()),2&ie){const ge=f.MAs(1),Ne=f.MAs(13);f.uIk("for",oe.inputId),f.xp6(2),f.ekj("mat-checkbox-inner-container-no-side-margin",!Ne.textContent||!Ne.textContent.trim()),f.xp6(1),f.Q6J("id",oe.inputId)("required",oe.required)("checked",oe.checked)("disabled",oe.disabled)("tabIndex",oe.tabIndex),f.uIk("value",oe.value)("name",oe.name)("aria-label",oe.ariaLabel||null)("aria-labelledby",oe.ariaLabelledby)("aria-checked",oe._getAriaChecked())("aria-describedby",oe.ariaDescribedby),f.xp6(2),f.Q6J("matRippleTrigger",ge)("matRippleDisabled",oe._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",f.VKq(19,O,"NoopAnimations"===oe._animationMode?0:150))}},directives:[T.wG,s.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})(),V=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[T.si,T.BQ,s.Q8,ae],T.BQ,ae]}),H})()},26688:(Ke,be,d)=>{"use strict";d.d(be,{HS:()=>ge,oH:()=>Me,qn:()=>te,Hi:()=>Oe});var e=d(91159),f=d(5e3),g=d(90508),T=d(63191),m=d(69808),A=d(76360),s=d(8929),b=d(36787),O=d(72986),E=d(7625),h=d(1059),k=d(70925),L=d(15664),Y=d(20449),J=d(93075),ue=d(67322),ce=d(50226);const Le=["*"],ke=new f.OlP("MatChipRemove"),ae=new f.OlP("MatChipAvatar"),V=new f.OlP("MatChipTrailingIcon");class H{constructor(He){this._elementRef=He}}const X=(0,g.sb)((0,g.pj)((0,g.Kr)(H),"primary"),-1);let ge=(()=>{class Ie extends X{constructor(fe,Ce,Ye,Xe,tt,at,N,he){super(fe),this._ngZone=Ce,this._changeDetectorRef=tt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new s.xQ,this._onBlur=new s.xQ,this.selectionChange=new f.vpe,this.destroyed=new f.vpe,this.removed=new f.vpe,this._addHostClassName(),this._chipRippleTarget=at.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.IR(this,Ce,this._chipRippleTarget,Ye),this._chipRipple.setupTriggerEvents(fe),this.rippleConfig=Xe||{},this._animationsDisabled="NoopAnimations"===N,this.tabIndex=null!=he&&parseInt(he)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(fe){const Ce=(0,T.Ig)(fe);Ce!==this._selected&&(this._selected=Ce,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(fe){this._value=fe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(fe){this._selectable=(0,T.Ig)(fe)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe)}get removable(){return this._removable}set removable(fe){this._removable=(0,T.Ig)(fe)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const fe="mat-basic-chip",Ce=this._elementRef.nativeElement;Ce.hasAttribute(fe)||Ce.tagName.toLowerCase()===fe?Ce.classList.add(fe):Ce.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(fe=!1){return this._selected=!this.selected,this._dispatchSelectionChange(fe),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(fe){this.disabled&&fe.preventDefault()}_handleKeydown(fe){if(!this.disabled)switch(fe.keyCode){case e.yY:case e.ZH:this.remove(),fe.preventDefault();break;case e.L_:this.selectable&&this.toggleSelected(!0),fe.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(fe=!1){this.selectionChange.emit({source:this,isUserInput:fe,selected:this._selected})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(k.t4),f.Y36(g.Y2,8),f.Y36(f.sBO),f.Y36(m.K0),f.Y36(A.Qb,8),f.$8M("tabindex"))},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(fe,Ce,Ye){if(1&fe&&(f.Suo(Ye,ae,5),f.Suo(Ye,V,5),f.Suo(Ye,ke,5)),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce.avatar=Xe.first),f.iGM(Xe=f.CRH())&&(Ce.trailingIcon=Xe.first),f.iGM(Xe=f.CRH())&&(Ce.removeIcon=Xe.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(fe,Ce){1&fe&&f.NdJ("click",function(Xe){return Ce._handleClick(Xe)})("keydown",function(Xe){return Ce._handleKeydown(Xe)})("focus",function(){return Ce.focus()})("blur",function(){return Ce._blur()}),2&fe&&(f.uIk("tabindex",Ce.disabled?null:Ce.tabIndex)("disabled",Ce.disabled||null)("aria-disabled",Ce.disabled.toString())("aria-selected",Ce.ariaSelected),f.ekj("mat-chip-selected",Ce.selected)("mat-chip-with-avatar",Ce.avatar)("mat-chip-with-trailing-icon",Ce.trailingIcon||Ce.removeIcon)("mat-chip-disabled",Ce.disabled)("_mat-animation-noopable",Ce._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[f.qOj]}),Ie})();const Fe=new f.OlP("mat-chips-default-options");let se=0,Me=(()=>{class Ie{constructor(fe,Ce){this._elementRef=fe,this._defaultOptions=Ce,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new f.vpe,this.placeholder="",this.id="mat-chip-list-input-"+se++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(fe){fe&&(this._chipList=fe,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(fe){this._addOnBlur=(0,T.Ig)(fe)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(fe){if(fe){if(fe.keyCode===e.Mf&&!(0,e.Vb)(fe,"shiftKey")&&this._chipList._allowFocusEscape(),fe.keyCode===e.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void fe.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(fe)}_keyup(fe){!this._focusLastChipOnBackspace&&fe.keyCode===e.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,fe.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(fe){!this.inputElement.value&&!!fe&&this._chipList._keydown(fe),(!fe||this._isSeparatorKey(fe))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==fe||fe.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(fe){this.inputElement.focus(fe)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(fe){return!(0,e.Vb)(fe)&&new Set(this.separatorKeyCodes).has(fe.keyCode)}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(Fe))},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(fe,Ce){1&fe&&f.NdJ("keydown",function(Xe){return Ce._keydown(Xe)})("keyup",function(Xe){return Ce._keyup(Xe)})("blur",function(){return Ce._blur()})("focus",function(){return Ce._focus()})("input",function(){return Ce._onInput()}),2&fe&&(f.Ikx("id",Ce.id),f.uIk("disabled",Ce.disabled||null)("placeholder",Ce.placeholder||null)("aria-invalid",Ce._chipList&&Ce._chipList.ngControl?Ce._chipList.ngControl.invalid:null)("aria-required",Ce._chipList&&Ce._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[f.TTD]}),Ie})();const ve=(0,g.FD)(class{constructor(Ie,He,fe,Ce){this._defaultErrorStateMatcher=Ie,this._parentForm=He,this._parentFormGroup=fe,this.ngControl=Ce}});let me=0;class Te{constructor(He,fe){this.source=He,this.value=fe}}let te=(()=>{class Ie extends ve{constructor(fe,Ce,Ye,Xe,tt,at,N){super(at,Xe,tt,N),this._elementRef=fe,this._changeDetectorRef=Ce,this._dir=Ye,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new s.xQ,this._uid="mat-chip-list-"+me++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(he,D)=>he===D,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new f.vpe,this.valueChange=new f.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var fe,Ce;return this.multiple?(null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected)||[]:null===(Ce=this._selectionModel)||void 0===Ce?void 0:Ce.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(fe){this._multiple=(0,T.Ig)(fe),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(fe){this._compareWith=fe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(fe){this.writeValue(fe),this._value=fe}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var fe,Ce,Ye,Xe;return null!==(Xe=null!==(fe=this._required)&&void 0!==fe?fe:null===(Ye=null===(Ce=this.ngControl)||void 0===Ce?void 0:Ce.control)||void 0===Ye?void 0:Ye.hasValidator(J.kI.required))&&void 0!==Xe&&Xe}set required(fe){this._required=(0,T.Ig)(fe),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(fe){this._placeholder=fe,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe),this._syncChipsState()}get selectable(){return this._selectable}set selectable(fe){this._selectable=(0,T.Ig)(fe),this.chips&&this.chips.forEach(Ce=>Ce.chipListSelectable=this._selectable)}set tabIndex(fe){this._userTabIndex=fe,this._tabIndex=fe}get chipSelectionChanges(){return(0,b.T)(...this.chips.map(fe=>fe.selectionChange))}get chipFocusChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onFocus))}get chipBlurChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onBlur))}get chipRemoveChanges(){return(0,b.T)(...this.chips.map(fe=>fe.destroyed))}ngAfterContentInit(){this._keyManager=new L.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(fe=>this._keyManager.withHorizontalOrientation(fe)),this._keyManager.tabOut.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,h.O)(null),(0,E.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Y.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(fe){this._chipInput=fe,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",fe.id)}setDescribedByIds(fe){this._ariaDescribedby=fe.join(" ")}writeValue(fe){this.chips&&this._setSelectionByValue(fe,!1)}registerOnChange(fe){this._onChange=fe}registerOnTouched(fe){this._onTouched=fe}setDisabledState(fe){this.disabled=fe,this.stateChanges.next()}onContainerClick(fe){this._originatesFromChip(fe)||this.focus()}focus(fe){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(fe),this.stateChanges.next()))}_focusInput(fe){this._chipInput&&this._chipInput.focus(fe)}_keydown(fe){const Ce=fe.target;Ce&&Ce.classList.contains("mat-chip")&&(this._keyManager.onKeydown(fe),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const fe=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(fe)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(fe){return fe>=0&&feYe.deselect()),Array.isArray(fe))fe.forEach(Ye=>this._selectValue(Ye,Ce)),this._sortValues();else{const Ye=this._selectValue(fe,Ce);Ye&&Ce&&this._keyManager.setActiveItem(Ye)}}_selectValue(fe,Ce=!0){const Ye=this.chips.find(Xe=>null!=Xe.value&&this._compareWith(Xe.value,fe));return Ye&&(Ce?Ye.selectViaInteraction():Ye.select(),this._selectionModel.select(Ye)),Ye}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(fe){this._selectionModel.clear(),this.chips.forEach(Ce=>{Ce!==fe&&Ce.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(fe=>{fe.selected&&this._selectionModel.select(fe)}),this.stateChanges.next())}_propagateChanges(fe){let Ce=null;Ce=Array.isArray(this.selected)?this.selected.map(Ye=>Ye.value):this.selected?this.selected.value:fe,this._value=Ce,this.change.emit(new Te(this,Ce)),this.valueChange.emit(Ce),this._onChange(Ce),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(fe=>{fe.source.selected?this._selectionModel.select(fe.source):this._selectionModel.deselect(fe.source),this.multiple||this.chips.forEach(Ce=>{!this._selectionModel.isSelected(Ce)&&Ce.selected&&Ce.deselect()}),fe.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(fe=>{let Ce=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(Ce)&&this._keyManager.updateActiveItem(Ce),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(fe=>{const Ce=fe.chip,Ye=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(Ye)&&Ce._hasFocus&&(this._lastDestroyedChipIndex=Ye)})}_originatesFromChip(fe){let Ce=fe.target;for(;Ce&&Ce!==this._elementRef.nativeElement;){if(Ce.classList.contains("mat-chip"))return!0;Ce=Ce.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(fe=>fe._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(fe=>{fe._chipListDisabled=this._disabled,fe._chipListMultiple=this.multiple})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(ce.Is,8),f.Y36(J.F,8),f.Y36(J.sg,8),f.Y36(g.rD),f.Y36(J.a5,10))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-chip-list"]],contentQueries:function(fe,Ce,Ye){if(1&fe&&f.Suo(Ye,ge,5),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce.chips=Xe)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(fe,Ce){1&fe&&f.NdJ("focus",function(){return Ce.focus()})("blur",function(){return Ce._blur()})("keydown",function(Xe){return Ce._keydown(Xe)}),2&fe&&(f.Ikx("id",Ce._uid),f.uIk("tabindex",Ce.disabled?null:Ce._tabIndex)("aria-describedby",Ce._ariaDescribedby||null)("aria-required",Ce.role?Ce.required:null)("aria-disabled",Ce.disabled.toString())("aria-invalid",Ce.errorState)("aria-multiselectable",Ce.multiple)("role",Ce.role)("aria-orientation",Ce.ariaOrientation),f.ekj("mat-chip-list-disabled",Ce.disabled)("mat-chip-list-invalid",Ce.errorState)("mat-chip-list-required",Ce.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[f._Bn([{provide:ue.Eo,useExisting:Ie}]),f.qOj],ngContentSelectors:Le,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(fe,Ce){1&fe&&(f.F$t(),f.TgZ(0,"div",0),f.Hsn(1),f.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=f.oAB({type:Ie}),Ie.\u0275inj=f.cJS({providers:[g.rD,{provide:Fe,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[g.BQ]]}),Ie})()},90508:(Ke,be,d)=>{"use strict";d.d(be,{yN:()=>de,mZ:()=>ke,_A:()=>te,rD:()=>tt,sG:()=>R,K7:()=>Vt,HF:()=>Ve,Y2:()=>c,BQ:()=>H,X2:()=>at,uc:()=>D,XK:()=>Ye,ey:()=>et,Ng:()=>It,rN:()=>Ht,nP:()=>M,us:()=>j,wG:()=>u,si:()=>y,LF:()=>He,IR:()=>o,CB:()=>kt,jH:()=>pt,pj:()=>Ne,Kr:()=>Fe,Id:()=>ge,FD:()=>Me,dB:()=>ve,sb:()=>se,E0:()=>N});var e=d(5e3),f=d(50226),T=d(69808),m=d(70925),A=d(15664),s=d(63191),b=d(8929),O=d(32916),E=d(1059),h=d(76360),k=d(91159);function J(We,qe){if(1&We&&e._UZ(0,"mat-pseudo-checkbox",4),2&We){const re=e.oxw();e.Q6J("state",re.selected?"checked":"unchecked")("disabled",re.disabled)}}function ue(We,qe){if(1&We&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&We){const re=e.oxw();e.xp6(1),e.hij("(",re.group.label,")")}}const ce=["*"];let de=(()=>{class We{}return We.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",We.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",We.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",We.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",We})(),ke=(()=>{class We{}return We.COMPLEX="375ms",We.ENTERING="225ms",We.EXITING="195ms",We})();const V=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ae(){return!0}});let H=(()=>{class We{constructor(re,Z,G){this._sanityChecks=Z,this._document=G,this._hasDoneGlobalChecks=!1,re._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(re){return!(0,m.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[re])}}return We.\u0275fac=function(re){return new(re||We)(e.LFG(A.qm),e.LFG(V,8),e.LFG(T.K0))},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[f.vT],f.vT]}),We})();function ge(We){return class extends We{constructor(...qe){super(...qe),this._disabled=!1}get disabled(){return this._disabled}set disabled(qe){this._disabled=(0,s.Ig)(qe)}}}function Ne(We,qe){return class extends We{constructor(...re){super(...re),this.defaultColor=qe,this.color=qe}get color(){return this._color}set color(re){const Z=re||this.defaultColor;Z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Z&&this._elementRef.nativeElement.classList.add(`mat-${Z}`),this._color=Z)}}}function Fe(We){return class extends We{constructor(...qe){super(...qe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(qe){this._disableRipple=(0,s.Ig)(qe)}}}function se(We,qe=0){return class extends We{constructor(...re){super(...re),this._tabIndex=qe,this.defaultTabIndex=qe}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(re){this._tabIndex=null!=re?(0,s.su)(re):this.defaultTabIndex}}}function Me(We){return class extends We{constructor(...qe){super(...qe),this.stateChanges=new b.xQ,this.errorState=!1}updateErrorState(){const qe=this.errorState,ee=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ee!==qe&&(this.errorState=ee,this.stateChanges.next())}}}function ve(We){return class extends We{constructor(...qe){super(...qe),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new O.y(re=>{this._isInitialized?this._notifySubscriber(re):this._pendingSubscribers.push(re)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(qe){qe.next(),qe.complete()}}}const me=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Te(){return(0,e.f3M)(e.soG)}});class te{constructor(){this._localeChanges=new b.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(qe){return this.isDateInstance(qe)&&this.isValid(qe)?qe:null}deserialize(qe){return null==qe||this.isDateInstance(qe)&&this.isValid(qe)?qe:this.invalid()}setLocale(qe){this.locale=qe,this._localeChanges.next()}compareDate(qe,re){return this.getYear(qe)-this.getYear(re)||this.getMonth(qe)-this.getMonth(re)||this.getDate(qe)-this.getDate(re)}sameDate(qe,re){if(qe&&re){let Z=this.isValid(qe),G=this.isValid(re);return Z&&G?!this.compareDate(qe,re):Z==G}return qe==re}clampDate(qe,re,Z){return re&&this.compareDate(qe,re)<0?re:Z&&this.compareDate(qe,Z)>0?Z:qe}}const R=new e.OlP("mat-date-formats"),Oe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ie(We,qe){const re=Array(We);for(let Z=0;Z{class We extends te{constructor(re,Z){super(),this.useUtcForDisplay=!1,super.setLocale(re)}getYear(re){return re.getFullYear()}getMonth(re){return re.getMonth()}getDate(re){return re.getDate()}getDayOfWeek(re){return re.getDay()}getMonthNames(re){const Z=new Intl.DateTimeFormat(this.locale,{month:re,timeZone:"utc"});return Ie(12,G=>this._format(Z,new Date(2017,G,1)))}getDateNames(){const re=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ie(31,Z=>this._format(re,new Date(2017,0,Z+1)))}getDayOfWeekNames(re){const Z=new Intl.DateTimeFormat(this.locale,{weekday:re,timeZone:"utc"});return Ie(7,G=>this._format(Z,new Date(2017,0,G+1)))}getYearName(re){const Z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Z,re)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(re){return this.getDate(this._createDateWithOverflow(this.getYear(re),this.getMonth(re)+1,0))}clone(re){return new Date(re.getTime())}createDate(re,Z,G){let ee=this._createDateWithOverflow(re,Z,G);return ee.getMonth(),ee}today(){return new Date}parse(re){return"number"==typeof re?new Date(re):re?new Date(Date.parse(re)):null}format(re,Z){if(!this.isValid(re))throw Error("NativeDateAdapter: Cannot format invalid date.");const G=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},Z),{timeZone:"utc"}));return this._format(G,re)}addCalendarYears(re,Z){return this.addCalendarMonths(re,12*Z)}addCalendarMonths(re,Z){let G=this._createDateWithOverflow(this.getYear(re),this.getMonth(re)+Z,this.getDate(re));return this.getMonth(G)!=((this.getMonth(re)+Z)%12+12)%12&&(G=this._createDateWithOverflow(this.getYear(G),this.getMonth(G),0)),G}addCalendarDays(re,Z){return this._createDateWithOverflow(this.getYear(re),this.getMonth(re),this.getDate(re)+Z)}toIso8601(re){return[re.getUTCFullYear(),this._2digit(re.getUTCMonth()+1),this._2digit(re.getUTCDate())].join("-")}deserialize(re){if("string"==typeof re){if(!re)return null;if(Oe.test(re)){let Z=new Date(re);if(this.isValid(Z))return Z}}return super.deserialize(re)}isDateInstance(re){return re instanceof Date}isValid(re){return!isNaN(re.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(re,Z,G){const ee=new Date;return ee.setFullYear(re,Z,G),ee.setHours(0,0,0,0),ee}_2digit(re){return("00"+re).slice(-2)}_format(re,Z){const G=new Date;return G.setUTCFullYear(Z.getFullYear(),Z.getMonth(),Z.getDate()),G.setUTCHours(Z.getHours(),Z.getMinutes(),Z.getSeconds(),Z.getMilliseconds()),re.format(G)}}return We.\u0275fac=function(re){return new(re||We)(e.LFG(me,8),e.LFG(m.t4))},We.\u0275prov=e.Yz7({token:We,factory:We.\u0275fac}),We})();const fe={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ce=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({providers:[{provide:te,useClass:He}],imports:[[m.ud]]}),We})(),Ye=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({providers:[{provide:R,useValue:fe}],imports:[[Ce]]}),We})(),tt=(()=>{class We{isErrorState(re,Z){return!!(re&&re.invalid&&(re.touched||Z&&Z.submitted))}}return We.\u0275fac=function(re){return new(re||We)},We.\u0275prov=e.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),at=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275dir=e.lG2({type:We,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),We})();function N(We,qe,re="mat"){We.changes.pipe((0,E.O)(We)).subscribe(({length:Z})=>{he(qe,`${re}-2-line`,!1),he(qe,`${re}-3-line`,!1),he(qe,`${re}-multi-line`,!1),2===Z||3===Z?he(qe,`${re}-${Z}-line`,!0):Z>3&&he(qe,`${re}-multi-line`,!0)})}function he(We,qe,re){We.nativeElement.classList.toggle(qe,re)}let D=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[H],H]}),We})();class S{constructor(qe,re,Z){this._renderer=qe,this.element=re,this.config=Z,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const I={enterDuration:225,exitDuration:150},i=(0,m.i$)({passive:!0}),r=["mousedown","touchstart"],p=["mouseup","mouseleave","touchend","touchcancel"];class o{constructor(qe,re,Z,G){this._target=qe,this._ngZone=re,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,G.isBrowser&&(this._containerElement=(0,s.fI)(Z))}fadeInRipple(qe,re,Z={}){const G=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ee=Object.assign(Object.assign({},I),Z.animation);Z.centered&&(qe=G.left+G.width/2,re=G.top+G.height/2);const _e=Z.radius||function n(We,qe,re){const Z=Math.max(Math.abs(We-re.left),Math.abs(We-re.right)),G=Math.max(Math.abs(qe-re.top),Math.abs(qe-re.bottom));return Math.sqrt(Z*Z+G*G)}(qe,re,G),Ue=qe-G.left,Et=re-G.top,Bt=ee.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left=Ue-_e+"px",jt.style.top=Et-_e+"px",jt.style.height=2*_e+"px",jt.style.width=2*_e+"px",null!=Z.color&&(jt.style.backgroundColor=Z.color),jt.style.transitionDuration=`${Bt}ms`,this._containerElement.appendChild(jt),function t(We){window.getComputedStyle(We).getPropertyValue("opacity")}(jt),jt.style.transform="scale(1)";const St=new S(this,jt,Z);return St.state=0,this._activeRipples.add(St),Z.persistent||(this._mostRecentTransientRipple=St),this._runTimeoutOutsideZone(()=>{const Ct=St===this._mostRecentTransientRipple;St.state=1,!Z.persistent&&(!Ct||!this._isPointerDown)&&St.fadeOut()},Bt),St}fadeOutRipple(qe){const re=this._activeRipples.delete(qe);if(qe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!re)return;const Z=qe.element,G=Object.assign(Object.assign({},I),qe.config.animation);Z.style.transitionDuration=`${G.exitDuration}ms`,Z.style.opacity="0",qe.state=2,this._runTimeoutOutsideZone(()=>{qe.state=3,Z.remove()},G.exitDuration)}fadeOutAll(){this._activeRipples.forEach(qe=>qe.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(qe=>{qe.config.persistent||qe.fadeOut()})}setupTriggerEvents(qe){const re=(0,s.fI)(qe);!re||re===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=re,this._registerEvents(r))}handleEvent(qe){"mousedown"===qe.type?this._onMousedown(qe):"touchstart"===qe.type?this._onTouchStart(qe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(p),this._pointerUpEventsRegistered=!0)}_onMousedown(qe){const re=(0,A.X6)(qe),Z=this._lastTouchStartEvent&&Date.now(){!qe.config.persistent&&(1===qe.state||qe.config.terminateOnPointerUp&&0===qe.state)&&qe.fadeOut()}))}_runTimeoutOutsideZone(qe,re=0){this._ngZone.runOutsideAngular(()=>setTimeout(qe,re))}_registerEvents(qe){this._ngZone.runOutsideAngular(()=>{qe.forEach(re=>{this._triggerElement.addEventListener(re,this,i)})})}_removeTriggerEvents(){this._triggerElement&&(r.forEach(qe=>{this._triggerElement.removeEventListener(qe,this,i)}),this._pointerUpEventsRegistered&&p.forEach(qe=>{this._triggerElement.removeEventListener(qe,this,i)}))}}const c=new e.OlP("mat-ripple-global-options");let u=(()=>{class We{constructor(re,Z,G,ee,_e){this._elementRef=re,this._animationMode=_e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ee||{},this._rippleRenderer=new o(this,Z,re,G)}get disabled(){return this._disabled}set disabled(re){re&&this.fadeOutAllNonPersistent(),this._disabled=re,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(re){this._trigger=re,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(re,Z=0,G){return"number"==typeof re?this._rippleRenderer.fadeInRipple(re,Z,Object.assign(Object.assign({},this.rippleConfig),G)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),re))}}return We.\u0275fac=function(re){return new(re||We)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(m.t4),e.Y36(c,8),e.Y36(h.Qb,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(re,Z){2&re&&e.ekj("mat-ripple-unbounded",Z.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),We})(),y=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[H,m.ud],H]}),We})(),M=(()=>{class We{constructor(re){this._animationMode=re,this.state="unchecked",this.disabled=!1}}return We.\u0275fac=function(re){return new(re||We)(e.Y36(h.Qb,8))},We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(re,Z){2&re&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Z.state)("mat-pseudo-checkbox-checked","checked"===Z.state)("mat-pseudo-checkbox-disabled",Z.disabled)("_mat-animation-noopable","NoopAnimations"===Z._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(re,Z){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),We})(),j=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[H]]}),We})();const Ve=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),Vt=new e.OlP("MatOptgroup");let At=0;class Ht{constructor(qe,re=!1){this.source=qe,this.isUserInput=re}}let bt=(()=>{class We{constructor(re,Z,G,ee){this._element=re,this._changeDetectorRef=Z,this._parent=G,this.group=ee,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+At++,this.onSelectionChange=new e.vpe,this._stateChanges=new b.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(re){this._disabled=(0,s.Ig)(re)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(re,Z){const G=this._getHostElement();"function"==typeof G.focus&&G.focus(Z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(re){(re.keyCode===k.K5||re.keyCode===k.L_)&&!(0,k.Vb)(re)&&(this._selectViaInteraction(),re.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const re=this.viewValue;re!==this._mostRecentViewValue&&(this._mostRecentViewValue=re,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(re=!1){this.onSelectionChange.emit(new Ht(this,re))}}return We.\u0275fac=function(re){e.$Z()},We.\u0275dir=e.lG2({type:We,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),We})(),et=(()=>{class We extends bt{constructor(re,Z,G,ee){super(re,Z,G,ee)}}return We.\u0275fac=function(re){return new(re||We)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ve,8),e.Y36(Vt,8))},We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(re,Z){1&re&&e.NdJ("click",function(){return Z._selectViaInteraction()})("keydown",function(ee){return Z._handleKeydown(ee)}),2&re&&(e.Ikx("id",Z.id),e.uIk("tabindex",Z._getTabIndex())("aria-selected",Z._getAriaSelected())("aria-disabled",Z.disabled.toString()),e.ekj("mat-selected",Z.selected)("mat-option-multiple",Z.multiple)("mat-active",Z.active)("mat-option-disabled",Z.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:ce,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(re,Z){1&re&&(e.F$t(),e.YNc(0,J,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,ue,2,1,"span",2),e._UZ(4,"div",3)),2&re&&(e.Q6J("ngIf",Z.multiple),e.xp6(3),e.Q6J("ngIf",Z.group&&Z.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",Z._getHostElement())("matRippleDisabled",Z.disabled||Z.disableRipple))},directives:[M,T.O5,u],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),We})();function kt(We,qe,re){if(re.length){let Z=qe.toArray(),G=re.toArray(),ee=0;for(let _e=0;_ere+Z?Math.max(0,We-Z+qe):re}let It=(()=>{class We{}return We.\u0275fac=function(re){return new(re||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[y,T.ez,H,j]]}),We})()},86856:(Ke,be,d)=>{"use strict";d.d(be,{Mq:()=>Et,hl:()=>Rt,FA:()=>Qe,nW:()=>li});var e=d(15664),f=d(92845),g=d(47429),T=d(69808),m=d(5e3),A=d(47423),s=d(53435),b=d(90508),O=d(8929),E=d(42654),h=d(36787),k=d(21086),L=d(91159),Y=d(72986),J=d(1059),ue=d(92198),ce=d(50226),Le=d(63191),de=d(70925),ke=d(41777),ae=d(93075),V=d(67322),H=d(98833);const X=["mat-calendar-body",""];function ie(Ze,gt){if(1&Ze&&(m.TgZ(0,"tr",2),m.TgZ(1,"td",3),m._uU(2),m.qZA(),m.qZA()),2&Ze){const F=m.oxw();m.xp6(1),m.Udp("padding-top",F._cellPadding)("padding-bottom",F._cellPadding),m.uIk("colspan",F.numCols),m.xp6(1),m.hij(" ",F.label," ")}}function oe(Ze,gt){if(1&Ze&&(m.TgZ(0,"td",3),m._uU(1),m.qZA()),2&Ze){const F=m.oxw(2);m.Udp("padding-top",F._cellPadding)("padding-bottom",F._cellPadding),m.uIk("colspan",F._firstRowOffset),m.xp6(1),m.hij(" ",F._firstRowOffset>=F.labelMinRequiredCells?F.label:""," ")}}function ge(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"td",7),m.TgZ(1,"button",8),m.NdJ("click",function(dt){const ei=m.CHM(F).$implicit;return m.oxw(2)._cellClicked(ei,dt)}),m.TgZ(2,"div",9),m._uU(3),m.qZA(),m._UZ(4,"div",10),m.qZA(),m.qZA()}if(2&Ze){const F=gt.$implicit,Be=gt.index,dt=m.oxw().index,Dt=m.oxw();m.Udp("width",Dt._cellWidth)("padding-top",Dt._cellPadding)("padding-bottom",Dt._cellPadding),m.uIk("data-mat-row",dt)("data-mat-col",Be),m.xp6(1),m.ekj("mat-calendar-body-disabled",!F.enabled)("mat-calendar-body-active",Dt._isActiveCell(dt,Be))("mat-calendar-body-range-start",Dt._isRangeStart(F.compareValue))("mat-calendar-body-range-end",Dt._isRangeEnd(F.compareValue))("mat-calendar-body-in-range",Dt._isInRange(F.compareValue))("mat-calendar-body-comparison-bridge-start",Dt._isComparisonBridgeStart(F.compareValue,dt,Be))("mat-calendar-body-comparison-bridge-end",Dt._isComparisonBridgeEnd(F.compareValue,dt,Be))("mat-calendar-body-comparison-start",Dt._isComparisonStart(F.compareValue))("mat-calendar-body-comparison-end",Dt._isComparisonEnd(F.compareValue))("mat-calendar-body-in-comparison-range",Dt._isInComparisonRange(F.compareValue))("mat-calendar-body-preview-start",Dt._isPreviewStart(F.compareValue))("mat-calendar-body-preview-end",Dt._isPreviewEnd(F.compareValue))("mat-calendar-body-in-preview",Dt._isInPreview(F.compareValue)),m.Q6J("ngClass",F.cssClasses)("tabindex",Dt._isActiveCell(dt,Be)?0:-1),m.uIk("aria-label",F.ariaLabel)("aria-disabled",!F.enabled||null)("aria-pressed",Dt._isSelected(F.compareValue))("aria-current",Dt.todayValue===F.compareValue?"date":null),m.xp6(1),m.ekj("mat-calendar-body-selected",Dt._isSelected(F.compareValue))("mat-calendar-body-comparison-identical",Dt._isComparisonIdentical(F.compareValue))("mat-calendar-body-today",Dt.todayValue===F.compareValue),m.xp6(1),m.hij(" ",F.displayValue," ")}}function Ne(Ze,gt){if(1&Ze&&(m.TgZ(0,"tr",4),m.YNc(1,oe,2,6,"td",5),m.YNc(2,ge,5,47,"td",6),m.qZA()),2&Ze){const F=gt.$implicit,Be=gt.index,dt=m.oxw();m.xp6(1),m.Q6J("ngIf",0===Be&&dt._firstRowOffset),m.xp6(1),m.Q6J("ngForOf",F)}}function Fe(Ze,gt){if(1&Ze&&(m.TgZ(0,"th",5),m._uU(1),m.qZA()),2&Ze){const F=gt.$implicit;m.uIk("aria-label",F.long),m.xp6(1),m.hij(" ",F.narrow," ")}}const se=["*"];function Me(Ze,gt){}function ve(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-month-view",5),m.NdJ("activeDateChange",function(dt){return m.CHM(F),m.oxw().activeDate=dt})("_userSelection",function(dt){return m.CHM(F),m.oxw()._dateSelected(dt)}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)("comparisonStart",F.comparisonStart)("comparisonEnd",F.comparisonEnd)}}function me(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-year-view",6),m.NdJ("activeDateChange",function(dt){return m.CHM(F),m.oxw().activeDate=dt})("monthSelected",function(dt){return m.CHM(F),m.oxw()._monthSelectedInYearView(dt)})("selectedChange",function(dt){return m.CHM(F),m.oxw()._goToDateInView(dt,"month")}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)}}function Te(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-multi-year-view",7),m.NdJ("activeDateChange",function(dt){return m.CHM(F),m.oxw().activeDate=dt})("yearSelected",function(dt){return m.CHM(F),m.oxw()._yearSelectedInMultiYearView(dt)})("selectedChange",function(dt){return m.CHM(F),m.oxw()._goToDateInView(dt,"year")}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)}}function te(Ze,gt){}const R=["button"];function Oe(Ze,gt){1&Ze&&(m.O4$(),m.TgZ(0,"svg",3),m._UZ(1,"path",4),m.qZA())}const Ie=[[["","matDatepickerToggleIcon",""]]],He=["[matDatepickerToggleIcon]"];class tt{constructor(gt,F,Be,dt,Dt={},ei=gt,Qt){this.value=gt,this.displayValue=F,this.ariaLabel=Be,this.enabled=dt,this.cssClasses=Dt,this.compareValue=ei,this.rawValue=Qt}}let at=(()=>{class Ze{constructor(F,Be){this._elementRef=F,this._ngZone=Be,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new m.vpe,this.previewChange=new m.vpe,this._enterHandler=dt=>{if(this._skipNextFocus&&"focus"===dt.type)this._skipNextFocus=!1;else if(dt.target&&this.isRange){const Dt=this._getCellFromElement(dt.target);Dt&&this._ngZone.run(()=>this.previewChange.emit({value:Dt.enabled?Dt:null,event:dt}))}},this._leaveHandler=dt=>{null!==this.previewEnd&&this.isRange&&dt.target&&this._getCellFromElement(dt.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:dt}))},Be.runOutsideAngular(()=>{const dt=F.nativeElement;dt.addEventListener("mouseenter",this._enterHandler,!0),dt.addEventListener("focus",this._enterHandler,!0),dt.addEventListener("mouseleave",this._leaveHandler,!0),dt.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(F,Be){F.enabled&&this.selectedValueChange.emit({value:F.value,event:Be})}_isSelected(F){return this.startValue===F||this.endValue===F}ngOnChanges(F){const Be=F.numCols,{rows:dt,numCols:Dt}=this;(F.rows||Be)&&(this._firstRowOffset=dt&&dt.length&&dt[0].length?Dt-dt[0].length:0),(F.cellAspectRatio||Be||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Dt+"%"),(Be||!this._cellWidth)&&(this._cellWidth=100/Dt+"%")}ngOnDestroy(){const F=this._elementRef.nativeElement;F.removeEventListener("mouseenter",this._enterHandler,!0),F.removeEventListener("focus",this._enterHandler,!0),F.removeEventListener("mouseleave",this._leaveHandler,!0),F.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(F,Be){let dt=F*this.numCols+Be;return F&&(dt-=this._firstRowOffset),dt==this.activeCell}_focusActiveCell(F=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Y.q)(1)).subscribe(()=>{const Be=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Be&&(F||(this._skipNextFocus=!0),Be.focus())})})}_isRangeStart(F){return he(F,this.startValue,this.endValue)}_isRangeEnd(F){return D(F,this.startValue,this.endValue)}_isInRange(F){return S(F,this.startValue,this.endValue,this.isRange)}_isComparisonStart(F){return he(F,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(F,Be,dt){if(!this._isComparisonStart(F)||this._isRangeStart(F)||!this._isInRange(F))return!1;let Dt=this.rows[Be][dt-1];if(!Dt){const ei=this.rows[Be-1];Dt=ei&&ei[ei.length-1]}return Dt&&!this._isRangeEnd(Dt.compareValue)}_isComparisonBridgeEnd(F,Be,dt){if(!this._isComparisonEnd(F)||this._isRangeEnd(F)||!this._isInRange(F))return!1;let Dt=this.rows[Be][dt+1];if(!Dt){const ei=this.rows[Be+1];Dt=ei&&ei[0]}return Dt&&!this._isRangeStart(Dt.compareValue)}_isComparisonEnd(F){return D(F,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(F){return S(F,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(F){return this.comparisonStart===this.comparisonEnd&&F===this.comparisonStart}_isPreviewStart(F){return he(F,this.previewStart,this.previewEnd)}_isPreviewEnd(F){return D(F,this.previewStart,this.previewEnd)}_isInPreview(F){return S(F,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(F){let Be;if(N(F)?Be=F:N(F.parentNode)&&(Be=F.parentNode),Be){const dt=Be.getAttribute("data-mat-row"),Dt=Be.getAttribute("data-mat-col");if(dt&&Dt)return this.rows[parseInt(dt)][parseInt(Dt)]}return null}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(m.R0b))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[m.TTD],attrs:X,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(F,Be){1&F&&(m.YNc(0,ie,3,6,"tr",0),m.YNc(1,Ne,3,2,"tr",1)),2&F&&(m.Q6J("ngIf",Be._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),Ze})();function N(Ze){return"TD"===Ze.nodeName}function he(Ze,gt,F){return null!==F&>!==F&&Ze=gt&&Ze===F}function S(Ze,gt,F,Be){return Be&&null!==gt&&null!==F&>!==F&&Ze>=gt&&Ze<=F}class I{constructor(gt,F){this.start=gt,this.end=F}}let P=(()=>{class Ze{constructor(F,Be){this.selection=F,this._adapter=Be,this._selectionChanged=new O.xQ,this.selectionChanged=this._selectionChanged,this.selection=F}updateSelection(F,Be){const dt=this.selection;this.selection=F,this._selectionChanged.next({selection:F,source:Be,oldValue:dt})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(F){return this._adapter.isDateInstance(F)&&this._adapter.isValid(F)}}return Ze.\u0275fac=function(F){m.$Z()},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),i=(()=>{class Ze extends P{constructor(F){super(null,F)}add(F){super.updateSelection(F,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const F=new Ze(this._adapter);return F.updateSelection(this.selection,this),F}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.LFG(b._A))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const o={provide:P,deps:[[new m.FiY,new m.tp0,P],b._A],useFactory:function p(Ze,gt){return Ze||new i(gt)}},c=new m.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Ve=(()=>{class Ze{constructor(F,Be,dt,Dt,ei){this._changeDetectorRef=F,this._dateFormats=Be,this._dateAdapter=dt,this._dir=Dt,this._rangeStrategy=ei,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this._userSelection=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){const Be=this._activeDate,dt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(dt,this.minDate,this.maxDate),this._hasSameMonthAndYear(Be,this._activeDate)||this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,J.O)(null)).subscribe(()=>this._init())}ngOnChanges(F){const Be=F.comparisonStart||F.comparisonEnd;Be&&!Be.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(F){const Be=F.value,dt=this._dateAdapter.getYear(this.activeDate),Dt=this._dateAdapter.getMonth(this.activeDate),ei=this._dateAdapter.createDate(dt,Dt,Be);let Qt,Ri;this._selected instanceof I?(Qt=this._getDateInCurrentMonth(this._selected.start),Ri=this._getDateInCurrentMonth(this._selected.end)):Qt=Ri=this._getDateInCurrentMonth(this._selected),(Qt!==Be||Ri!==Be)&&this.selectedChange.emit(ei),this._userSelection.emit({value:ei,event:F.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(F){const Be=this._activeDate,dt=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,dt?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,dt?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case L.Ku:this.activeDate=F.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case L.VM:this.activeDate=F.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case L.K5:case L.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&F.preventDefault());case L.hY:return void(null!=this._previewEnd&&!(0,L.Vb)(F)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:F}),F.preventDefault(),F.stopPropagation()));default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let F=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(F)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(F){this._matCalendarBody._focusActiveCell(F)}_previewChanged({event:F,value:Be}){if(this._rangeStrategy){const Dt=this._rangeStrategy.createPreview(Be?Be.rawValue:null,this.selected,F);this._previewStart=this._getCellCompareValue(Dt.start),this._previewEnd=this._getCellCompareValue(Dt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const F=this._dateAdapter.getFirstDayOfWeek(),Be=this._dateAdapter.getDayOfWeekNames("narrow");let Dt=this._dateAdapter.getDayOfWeekNames("long").map((ei,Qt)=>({long:ei,narrow:Be[Qt]}));this._weekdays=Dt.slice(F).concat(Dt.slice(0,F))}_createWeekCells(){const F=this._dateAdapter.getNumDaysInMonth(this.activeDate),Be=this._dateAdapter.getDateNames();this._weeks=[[]];for(let dt=0,Dt=this._firstWeekOffset;dt=0)&&(!this.maxDate||this._dateAdapter.compareDate(F,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(F))}_getDateInCurrentMonth(F){return F&&this._hasSameMonthAndYear(F,this.activeDate)?this._dateAdapter.getDate(F):null}_hasSameMonthAndYear(F,Be){return!(!F||!Be||this._dateAdapter.getMonth(F)!=this._dateAdapter.getMonth(Be)||this._dateAdapter.getYear(F)!=this._dateAdapter.getYear(Be))}_getCellCompareValue(F){if(F){const Be=this._dateAdapter.getYear(F),dt=this._dateAdapter.getMonth(F),Dt=this._dateAdapter.getDate(F);return new Date(Be,dt,Dt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(F){F instanceof I?(this._rangeStart=this._getCellCompareValue(F.start),this._rangeEnd=this._getCellCompareValue(F.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(F),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(F){return!this.dateFilter||this.dateFilter(F)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.sBO),m.Y36(b.sG,8),m.Y36(b._A,8),m.Y36(ce.Is,8),m.Y36(c,8))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-month-view"]],viewQuery:function(F,Be){if(1&F&&m.Gf(at,5),2&F){let dt;m.iGM(dt=m.CRH())&&(Be._matCalendarBody=dt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[m.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(F,Be){1&F&&(m.TgZ(0,"table",0),m.TgZ(1,"thead",1),m.TgZ(2,"tr"),m.YNc(3,Fe,2,2,"th",2),m.qZA(),m.TgZ(4,"tr"),m._UZ(5,"th",3),m.qZA(),m.qZA(),m.TgZ(6,"tbody",4),m.NdJ("selectedValueChange",function(Dt){return Be._dateSelected(Dt)})("previewChange",function(Dt){return Be._previewChanged(Dt)})("keyup",function(Dt){return Be._handleCalendarBodyKeyup(Dt)})("keydown",function(Dt){return Be._handleCalendarBodyKeydown(Dt)}),m.qZA(),m.qZA()),2&F&&(m.xp6(3),m.Q6J("ngForOf",Be._weekdays),m.xp6(3),m.Q6J("label",Be._monthLabel)("rows",Be._weeks)("todayValue",Be._todayDate)("startValue",Be._rangeStart)("endValue",Be._rangeEnd)("comparisonStart",Be._comparisonRangeStart)("comparisonEnd",Be._comparisonRangeEnd)("previewStart",Be._previewStart)("previewEnd",Be._previewEnd)("isRange",Be._isRange)("labelMinRequiredCells",3)("activeCell",Be._dateAdapter.getDate(Be.activeDate)-1))},directives:[at,T.sg],encapsulation:2,changeDetection:0}),Ze})(),zt=(()=>{class Ze{constructor(F,Be,dt){this._changeDetectorRef=F,this._dateAdapter=Be,this._dir=dt,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){let Be=this._activeDate;const dt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(dt,this.minDate,this.maxDate),Vt(this._dateAdapter,Be,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setSelectedYear(F)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,J.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Be=this._dateAdapter.getYear(this._activeDate)-Wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let dt=0,Dt=[];dt<24;dt++)Dt.push(Be+dt),4==Dt.length&&(this._years.push(Dt.map(ei=>this._createCellForYear(ei))),Dt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(F){const Be=F.value;this.yearSelected.emit(this._dateAdapter.createDate(Be,0,1));let dt=this._dateAdapter.getMonth(this.activeDate),Dt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Be,dt,1));this.selectedChange.emit(this._dateAdapter.createDate(Be,dt,Math.min(this._dateAdapter.getDate(this.activeDate),Dt)))}_handleCalendarBodyKeydown(F){const Be=this._activeDate,dt=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,dt?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,dt?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case L.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?-240:-24);break;case L.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?240:24);break;case L.K5:case L.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_getActiveCell(){return Wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(F){const Be=this._dateAdapter.createDate(F,0,1),dt=this._dateAdapter.getYearName(Be),Dt=this.dateClass?this.dateClass(Be,"multi-year"):void 0;return new tt(F,dt,dt,this._shouldEnableYear(F),Dt)}_shouldEnableYear(F){if(null==F||this.maxDate&&F>this._dateAdapter.getYear(this.maxDate)||this.minDate&&F{class Ze{constructor(F,Be,dt,Dt){this._changeDetectorRef=F,this._dateFormats=Be,this._dateAdapter=dt,this._dir=Dt,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.monthSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){let Be=this._activeDate;const dt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(dt,this.minDate,this.maxDate),this._dateAdapter.getYear(Be)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setSelectedMonth(F)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,J.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(F){const Be=F.value,dt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Be,1);this.monthSelected.emit(dt);const Dt=this._dateAdapter.getNumDaysInMonth(dt);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Be,Math.min(this._dateAdapter.getDate(this.activeDate),Dt)))}_handleCalendarBodyKeydown(F){const Be=this._activeDate,dt=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,dt?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,dt?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case L.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?-10:-1);break;case L.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?10:1);break;case L.K5:case L.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let F=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Be=>Be.map(dt=>this._createCellForMonth(dt,F[dt]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(F){return F&&this._dateAdapter.getYear(F)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(F):null}_createCellForMonth(F,Be){const dt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),F,1),Dt=this._dateAdapter.format(dt,this._dateFormats.display.monthYearA11yLabel),ei=this.dateClass?this.dateClass(dt,"year"):void 0;return new tt(F,Be.toLocaleUpperCase(),Dt,this._shouldEnableMonth(F),ei)}_shouldEnableMonth(F){const Be=this._dateAdapter.getYear(this.activeDate);if(null==F||this._isYearAndMonthAfterMaxDate(Be,F)||this._isYearAndMonthBeforeMinDate(Be,F))return!1;if(!this.dateFilter)return!0;for(let Dt=this._dateAdapter.createDate(Be,F,1);this._dateAdapter.getMonth(Dt)==F;Dt=this._dateAdapter.addCalendarDays(Dt,1))if(this.dateFilter(Dt))return!0;return!1}_isYearAndMonthAfterMaxDate(F,Be){if(this.maxDate){const dt=this._dateAdapter.getYear(this.maxDate),Dt=this._dateAdapter.getMonth(this.maxDate);return F>dt||F===dt&&Be>Dt}return!1}_isYearAndMonthBeforeMinDate(F,Be){if(this.minDate){const dt=this._dateAdapter.getYear(this.minDate),Dt=this._dateAdapter.getMonth(this.minDate);return F{class Ze{constructor(){this.changes=new O.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(F,Be){return`${F} \u2013 ${Be}`}}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),kt=0,pt=(()=>{class Ze{constructor(F,Be,dt,Dt,ei){this._intl=F,this.calendar=Be,this._dateAdapter=dt,this._dateFormats=Dt,this._buttonDescriptionId="mat-calendar-button-"+kt++,this.calendar.stateChanges.subscribe(()=>ei.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const Be=this._dateAdapter.getYear(this.calendar.activeDate)-Wt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),dt=Be+24-1,Dt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Be,0,1)),ei=this._dateAdapter.getYearName(this._dateAdapter.createDate(dt,0,1));return this._intl.formatYearRange(Dt,ei)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(F,Be){return"month"==this.calendar.currentView?this._dateAdapter.getYear(F)==this._dateAdapter.getYear(Be)&&this._dateAdapter.getMonth(F)==this._dateAdapter.getMonth(Be):"year"==this.calendar.currentView?this._dateAdapter.getYear(F)==this._dateAdapter.getYear(Be):Vt(this._dateAdapter,F,Be,this.calendar.minDate,this.calendar.maxDate)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(et),m.Y36((0,m.Gpc)(()=>It)),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:se,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(F,Be){1&F&&(m.F$t(),m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"button",2),m.NdJ("click",function(){return Be.currentPeriodClicked()}),m.TgZ(3,"span"),m._uU(4),m.qZA(),m.O4$(),m.TgZ(5,"svg",3),m._UZ(6,"polygon",4),m.qZA(),m.qZA(),m.kcU(),m._UZ(7,"div",5),m.Hsn(8),m.TgZ(9,"button",6),m.NdJ("click",function(){return Be.previousClicked()}),m.qZA(),m.TgZ(10,"button",7),m.NdJ("click",function(){return Be.nextClicked()}),m.qZA(),m.qZA(),m.qZA()),2&F&&(m.xp6(2),m.uIk("aria-label",Be.periodButtonLabel)("aria-describedby",Be._buttonDescriptionId),m.xp6(1),m.uIk("id",Be._buttonDescriptionId),m.xp6(1),m.Oqu(Be.periodButtonText),m.xp6(1),m.ekj("mat-calendar-invert","month"!==Be.calendar.currentView),m.xp6(4),m.Q6J("disabled",!Be.previousEnabled()),m.uIk("aria-label",Be.prevButtonLabel),m.xp6(1),m.Q6J("disabled",!Be.nextEnabled()),m.uIk("aria-label",Be.nextButtonLabel))},directives:[A.lW,e.Qr],encapsulation:2,changeDetection:0}),Ze})(),It=(()=>{class Ze{constructor(F,Be,dt,Dt){this._dateAdapter=Be,this._dateFormats=dt,this._changeDetectorRef=Dt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this._userSelection=new m.vpe,this.stateChanges=new O.xQ,this._intlChanges=F.changes.subscribe(()=>{Dt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(F){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get activeDate(){return this._clampedActiveDate}set activeDate(F){this._clampedActiveDate=this._dateAdapter.clampDate(F,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(F){const Be=this._currentView!==F?F:null;this._currentView=F,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Be&&this.viewChanged.emit(Be)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||pt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(F){const Be=F.minDate||F.maxDate||F.dateFilter;if(Be&&!Be.firstChange){const dt=this._getCurrentViewComponent();dt&&(this._changeDetectorRef.detectChanges(),dt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(F){const Be=F.value;(this.selected instanceof I||Be&&!this._dateAdapter.sameDate(Be,this.selected))&&this.selectedChange.emit(Be),this._userSelection.emit(F)}_yearSelectedInMultiYearView(F){this.yearSelected.emit(F)}_monthSelectedInYearView(F){this.monthSelected.emit(F)}_goToDateInView(F,Be){this.activeDate=F,this.currentView=Be}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(et),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-calendar"]],viewQuery:function(F,Be){if(1&F&&(m.Gf(Ve,5),m.Gf(bt,5),m.Gf(zt,5)),2&F){let dt;m.iGM(dt=m.CRH())&&(Be.monthView=dt.first),m.iGM(dt=m.CRH())&&(Be.yearView=dt.first),m.iGM(dt=m.CRH())&&(Be.multiYearView=dt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[m._Bn([o]),m.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(F,Be){1&F&&(m.YNc(0,Me,0,0,"ng-template",0),m.TgZ(1,"div",1),m.YNc(2,ve,1,8,"mat-month-view",2),m.YNc(3,me,1,6,"mat-year-view",3),m.YNc(4,Te,1,6,"mat-multi-year-view",4),m.qZA()),2&F&&(m.Q6J("cdkPortalOutlet",Be._calendarHeaderPortal),m.xp6(1),m.Q6J("ngSwitch",Be.currentView),m.xp6(1),m.Q6J("ngSwitchCase","month"),m.xp6(1),m.Q6J("ngSwitchCase","year"),m.xp6(1),m.Q6J("ngSwitchCase","multi-year"))},directives:[Ve,bt,zt,g.Pl,e.kH,T.RF,T.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),Ze})();const We={transformPanel:(0,ke.X$)("transformPanel",[(0,ke.eR)("void => enter-dropdown",(0,ke.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ke.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ke.eR)("void => enter-dialog",(0,ke.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(0.7)"}),(0,ke.oB)({transform:"none",opacity:1})]))),(0,ke.eR)("* => void",(0,ke.jt)("100ms linear",(0,ke.oB)({opacity:0})))]),fadeInCalendar:(0,ke.X$)("fadeInCalendar",[(0,ke.SB)("void",(0,ke.oB)({opacity:0})),(0,ke.SB)("enter",(0,ke.oB)({opacity:1})),(0,ke.eR)("void => *",(0,ke.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let qe=0;const re=new m.OlP("mat-datepicker-scroll-strategy"),G={provide:re,deps:[f.aV],useFactory:function Z(Ze){return()=>Ze.scrollStrategies.reposition()}},ee=(0,b.pj)(class{constructor(Ze){this._elementRef=Ze}});let _e=(()=>{class Ze extends ee{constructor(F,Be,dt,Dt,ei,Qt){super(F),this._changeDetectorRef=Be,this._globalModel=dt,this._dateAdapter=Dt,this._rangeSelectionStrategy=ei,this._subscriptions=new E.w,this._animationDone=new O.xQ,this._actionsPortal=null,this._closeButtonText=Qt.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(F){const Be=this._model.selection,dt=F.value,Dt=Be instanceof I;if(Dt&&this._rangeSelectionStrategy){const ei=this._rangeSelectionStrategy.selectionFinished(dt,Be,F.event);this._model.updateSelection(ei,this)}else dt&&(Dt||!this._dateAdapter.sameDate(dt,Be))&&this._model.add(dt);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(P),m.Y36(b._A),m.Y36(c,8),m.Y36(et))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker-content"]],viewQuery:function(F,Be){if(1&F&&m.Gf(It,5),2&F){let dt;m.iGM(dt=m.CRH())&&(Be._calendar=dt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(F,Be){1&F&&m.WFA("@transformPanel.done",function(){return Be._animationDone.next()}),2&F&&(m.d8E("@transformPanel",Be._animationState),m.ekj("mat-datepicker-content-touch",Be.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[m.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(F,Be){if(1&F&&(m.TgZ(0,"div",0),m.TgZ(1,"mat-calendar",1),m.NdJ("yearSelected",function(Dt){return Be.datepicker._selectYear(Dt)})("monthSelected",function(Dt){return Be.datepicker._selectMonth(Dt)})("viewChanged",function(Dt){return Be.datepicker._viewChanged(Dt)})("_userSelection",function(Dt){return Be._handleUserSelection(Dt)}),m.qZA(),m.YNc(2,te,0,0,"ng-template",2),m.TgZ(3,"button",3),m.NdJ("focus",function(){return Be._closeButtonFocused=!0})("blur",function(){return Be._closeButtonFocused=!1})("click",function(){return Be.datepicker.close()}),m._uU(4),m.qZA(),m.qZA()),2&F){let dt;m.ekj("mat-datepicker-content-container-with-custom-header",Be.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Be._actionsPortal),m.uIk("aria-modal",!0)("aria-labelledby",null!==(dt=Be._dialogLabelId)&&void 0!==dt?dt:void 0),m.xp6(1),m.Q6J("id",Be.datepicker.id)("ngClass",Be.datepicker.panelClass)("startAt",Be.datepicker.startAt)("startView",Be.datepicker.startView)("minDate",Be.datepicker._getMinDate())("maxDate",Be.datepicker._getMaxDate())("dateFilter",Be.datepicker._getDateFilter())("headerComponent",Be.datepicker.calendarHeaderComponent)("selected",Be._getSelected())("dateClass",Be.datepicker.dateClass)("comparisonStart",Be.comparisonStart)("comparisonEnd",Be.comparisonEnd)("@fadeInCalendar","enter"),m.xp6(1),m.Q6J("cdkPortalOutlet",Be._actionsPortal),m.xp6(1),m.ekj("cdk-visually-hidden",!Be._closeButtonFocused),m.Q6J("color",Be.color||"primary"),m.xp6(1),m.Oqu(Be._closeButtonText)}},directives:[It,A.lW,e.mK,T.mk,g.Pl],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[We.transformPanel,We.fadeInCalendar]},changeDetection:0}),Ze})(),Ue=(()=>{class Ze{constructor(F,Be,dt,Dt,ei,Qt,Ri){this._overlay=F,this._ngZone=Be,this._viewContainerRef=dt,this._dateAdapter=ei,this._dir=Qt,this._model=Ri,this._inputStateChanges=E.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this.openedStream=new m.vpe,this.closedStream=new m.vpe,this._opened=!1,this.id="mat-datepicker-"+qe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new O.xQ,this._scrollStrategy=Dt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(F){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(F){this._color=F}get touchUi(){return this._touchUi}set touchUi(F){this._touchUi=(0,Le.Ig)(F)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(F){const Be=(0,Le.Ig)(F);Be!==this._disabled&&(this._disabled=Be,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(F){this._restoreFocus=(0,Le.Ig)(F)}get panelClass(){return this._panelClass}set panelClass(F){this._panelClass=(0,Le.du)(F)}get opened(){return this._opened}set opened(F){(0,Le.Ig)(F)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(F){const Be=F.xPosition||F.yPosition;if(Be&&!Be.firstChange&&this._overlayRef){const dt=this._overlayRef.getConfig().positionStrategy;dt instanceof f._G&&(this._setConnectedPositions(dt),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(F){this._model.add(F)}_selectYear(F){this.yearSelected.emit(F)}_selectMonth(F){this.monthSelected.emit(F)}_viewChanged(F){this.viewChanged.emit(F)}registerInput(F){return this._inputStateChanges.unsubscribe(),this.datepickerInput=F,this._inputStateChanges=F.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(F){this._actionsPortal=F}removeActions(F){F===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,de.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const Be=this._componentRef.instance;Be._startExitAnimation(),Be._animationDone.pipe((0,Y.q)(1)).subscribe(()=>this._destroyOverlay())}const F=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(F)):F()}_applyPendingSelection(){var F,Be;null===(Be=null===(F=this._componentRef)||void 0===F?void 0:F.instance)||void 0===Be||Be._applyPendingSelection()}_forwardContentValues(F){F.datepicker=this,F.color=this.color,F._actionsPortal=this._actionsPortal,F._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const F=this.touchUi,Be=new g.C5(_e,this._viewContainerRef),dt=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:F?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[F?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:F?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(F?"dialog":"popup")}));this._getCloseStream(dt).subscribe(Dt=>{Dt&&Dt.preventDefault(),this.close()}),this._componentRef=dt.attach(Be),this._forwardContentValues(this._componentRef.instance),F||this._ngZone.onStable.pipe((0,Y.q)(1)).subscribe(()=>dt.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const F=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(F)}_setConnectedPositions(F){const Be="end"===this.xPosition?"end":"start",dt="start"===Be?"end":"start",Dt="above"===this.yPosition?"bottom":"top",ei="top"===Dt?"bottom":"top";return F.withPositions([{originX:Be,originY:ei,overlayX:Be,overlayY:Dt},{originX:Be,originY:Dt,overlayX:Be,overlayY:ei},{originX:dt,originY:ei,overlayX:dt,overlayY:Dt},{originX:dt,originY:Dt,overlayX:dt,overlayY:ei}])}_getCloseStream(F){return(0,h.T)(F.backdropClick(),F.detachments(),F.keydownEvents().pipe((0,ue.h)(Be=>Be.keyCode===L.hY&&!(0,L.Vb)(Be)||this.datepickerInput&&(0,L.Vb)(Be,"altKey")&&Be.keyCode===L.LH)))}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(f.aV),m.Y36(m.R0b),m.Y36(m.s_b),m.Y36(re),m.Y36(b._A,8),m.Y36(ce.Is,8),m.Y36(P))},Ze.\u0275dir=m.lG2({type:Ze,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[m.TTD]}),Ze})(),Et=(()=>{class Ze extends Ue{}return Ze.\u0275fac=function(){let gt;return function(Be){return(gt||(gt=m.n5z(Ze)))(Be||Ze)}}(),Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[m._Bn([o,{provide:Ue,useExisting:Ze}]),m.qOj],decls:0,vars:0,template:function(F,Be){},encapsulation:2,changeDetection:0}),Ze})();class Bt{constructor(gt,F){this.target=gt,this.targetElement=F,this.value=this.target.value}}let jt=(()=>{class Ze{constructor(F,Be,dt){this._elementRef=F,this._dateAdapter=Be,this._dateFormats=dt,this.dateChange=new m.vpe,this.dateInput=new m.vpe,this.stateChanges=new O.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w.EMPTY,this._localeSubscription=E.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Dt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value));return!ei||this._matchesFilter(ei)?null:{matDatepickerFilter:!0}},this._minValidator=Dt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value)),Qt=this._getMinDate();return!Qt||!ei||this._dateAdapter.compareDate(Qt,ei)<=0?null:{matDatepickerMin:{min:Qt,actual:ei}}},this._maxValidator=Dt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value)),Qt=this._getMaxDate();return!Qt||!ei||this._dateAdapter.compareDate(Qt,ei)>=0?null:{matDatepickerMax:{max:Qt,actual:ei}}},this._lastValueValid=!1,this._localeSubscription=Be.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(F){this._assignValueProgrammatically(F)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(F){const Be=(0,Le.Ig)(F),dt=this._elementRef.nativeElement;this._disabled!==Be&&(this._disabled=Be,this.stateChanges.next(void 0)),Be&&this._isInitialized&&dt.blur&&dt.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(F){this._model=F,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Be=>{if(this._shouldHandleChangeEvent(Be)){const dt=this._getValueFromModel(Be.selection);this._lastValueValid=this._isValidValue(dt),this._cvaOnChange(dt),this._onTouched(),this._formatValue(dt),this.dateInput.emit(new Bt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Bt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(F){(function St(Ze,gt){const F=Object.keys(Ze);for(let Be of F){const{previousValue:dt,currentValue:Dt}=Ze[Be];if(!gt.isDateInstance(dt)||!gt.isDateInstance(Dt))return!0;if(!gt.sameDate(dt,Dt))return!0}return!1})(F,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(F){this._validatorOnChange=F}validate(F){return this._validator?this._validator(F):null}writeValue(F){this._assignValueProgrammatically(F)}registerOnChange(F){this._cvaOnChange=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this.disabled=F}_onKeydown(F){F.altKey&&F.keyCode===L.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),F.preventDefault())}_onInput(F){const Be=this._lastValueValid;let dt=this._dateAdapter.parse(F,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(dt),dt=this._dateAdapter.getValidDateOrNull(dt),this._dateAdapter.sameDate(dt,this.value)?(F&&!this.value&&this._cvaOnChange(dt),Be!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(dt),this._cvaOnChange(dt),this.dateInput.emit(new Bt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Bt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(F){this._elementRef.nativeElement.value=F?this._dateAdapter.format(F,this._dateFormats.display.dateInput):""}_assignValue(F){this._model?(this._assignValueToModel(F),this._pendingValue=null):this._pendingValue=F}_isValidValue(F){return!F||this._dateAdapter.isValid(F)}_parentDisabled(){return!1}_assignValueProgrammatically(F){F=this._dateAdapter.deserialize(F),this._lastValueValid=this._isValidValue(F),F=this._dateAdapter.getValidDateOrNull(F),this._assignValue(F),this._formatValue(F)}_matchesFilter(F){const Be=this._getDateFilter();return!Be||Be(F)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8))},Ze.\u0275dir=m.lG2({type:Ze,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[m.TTD]}),Ze})();const Ct={provide:ae.JU,useExisting:(0,m.Gpc)(()=>Rt),multi:!0},mt={provide:ae.Cf,useExisting:(0,m.Gpc)(()=>Rt),multi:!0};let Rt=(()=>{class Ze extends jt{constructor(F,Be,dt,Dt){super(F,Be,dt),this._formField=Dt,this._closedSubscription=E.w.EMPTY,this._validator=ae.kI.compose(super._getValidators())}set matDatepicker(F){F&&(this._datepicker=F,this._closedSubscription=F.closedStream.subscribe(()=>this._onTouched()),this._registerModel(F.registerInput(this)))}get min(){return this._min}set min(F){const Be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F));this._dateAdapter.sameDate(Be,this._min)||(this._min=Be,this._validatorOnChange())}get max(){return this._max}set max(F){const Be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F));this._dateAdapter.sameDate(Be,this._max)||(this._max=Be,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(F){const Be=this._matchesFilter(this.value);this._dateFilter=F,this._matchesFilter(this.value)!==Be&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(F){return F}_assignValueToModel(F){this._model&&this._model.updateSelection(F,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(F){return F.source!==this}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(V.G_,8))},Ze.\u0275dir=m.lG2({type:Ze,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(F,Be){1&F&&m.NdJ("input",function(Dt){return Be._onInput(Dt.target.value)})("change",function(){return Be._onChange()})("blur",function(){return Be._onBlur()})("keydown",function(Dt){return Be._onKeydown(Dt)}),2&F&&(m.Ikx("disabled",Be.disabled),m.uIk("aria-haspopup",Be._datepicker?"dialog":null)("aria-owns",(null==Be._datepicker?null:Be._datepicker.opened)&&Be._datepicker.id||null)("min",Be.min?Be._dateAdapter.toIso8601(Be.min):null)("max",Be.max?Be._dateAdapter.toIso8601(Be.max):null)("data-mat-calendar",Be._datepicker?Be._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[m._Bn([Ct,mt,{provide:H.Jk,useExisting:Ze}]),m.qOj]}),Ze})(),Gt=(()=>{class Ze{}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275dir=m.lG2({type:Ze,selectors:[["","matDatepickerToggleIcon",""]]}),Ze})(),li=(()=>{class Ze{constructor(F,Be,dt){this._intl=F,this._changeDetectorRef=Be,this._stateChanges=E.w.EMPTY;const Dt=Number(dt);this.tabIndex=Dt||0===Dt?Dt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(F){this._disabled=(0,Le.Ig)(F)}ngOnChanges(F){F.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(F){this.datepicker&&!this.disabled&&(this.datepicker.open(),F.stopPropagation())}_watchStateChanges(){const F=this.datepicker?this.datepicker.stateChanges:(0,k.of)(),Be=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,k.of)(),dt=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,k.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,F,Be,dt).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(et),m.Y36(m.sBO),m.$8M("tabindex"))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker-toggle"]],contentQueries:function(F,Be,dt){if(1&F&&m.Suo(dt,Gt,5),2&F){let Dt;m.iGM(Dt=m.CRH())&&(Be._customIcon=Dt.first)}},viewQuery:function(F,Be){if(1&F&&m.Gf(R,5),2&F){let dt;m.iGM(dt=m.CRH())&&(Be._button=dt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(F,Be){1&F&&m.NdJ("click",function(Dt){return Be._open(Dt)}),2&F&&(m.uIk("tabindex",null)("data-mat-calendar",Be.datepicker?Be.datepicker.id:null),m.ekj("mat-datepicker-toggle-active",Be.datepicker&&Be.datepicker.opened)("mat-accent",Be.datepicker&&"accent"===Be.datepicker.color)("mat-warn",Be.datepicker&&"warn"===Be.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[m.TTD],ngContentSelectors:He,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(F,Be){1&F&&(m.F$t(Ie),m.TgZ(0,"button",0,1),m.YNc(2,Oe,2,0,"svg",2),m.Hsn(3),m.qZA()),2&F&&(m.Q6J("disabled",Be.disabled)("disableRipple",Be.disableRipple),m.uIk("aria-haspopup",Be.datepicker?"dialog":null)("aria-label",Be.ariaLabel||Be._intl.openCalendarLabel)("tabindex",Be.disabled?-1:Be.tabIndex),m.xp6(2),m.Q6J("ngIf",!Be._customIcon))},directives:[A.lW,T.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),Ze})(),Qe=(()=>{class Ze{}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275mod=m.oAB({type:Ze}),Ze.\u0275inj=m.cJS({providers:[et,G],imports:[[T.ez,A.ot,f.U8,e.rt,g.eL,b.BQ],s.ZD]}),Ze})()},48966:(Ke,be,d)=>{"use strict";d.d(be,{WI:()=>Ne,uw:()=>te,H8:()=>Ce,vA:()=>ke,xY:()=>fe,Is:()=>Xe,so:()=>oe,uh:()=>He});var e=d(92845),f=d(47429),g=d(5e3),T=d(90508),m=d(50226),A=d(8929),s=d(88514),b=d(42654),O=d(21086),E=d(92198),h=d(72986),k=d(1059),L=d(70925),Y=d(69808),J=d(41777),ue=d(15664),ce=d(91159),Le=d(76360);function de(tt,at){}class ke{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const ae={dialogContainer:(0,J.X$)("dialogContainer",[(0,J.SB)("void, exit",(0,J.oB)({opacity:0,transform:"scale(0.7)"})),(0,J.SB)("enter",(0,J.oB)({transform:"none"})),(0,J.eR)("* => enter",(0,J.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,J.oB)({transform:"none",opacity:1}))),(0,J.eR)("* => void, * => exit",(0,J.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,J.oB)({opacity:0})))])};let H=(()=>{class tt extends f.en{constructor(N,he,D,S,I,P,i,r){super(),this._elementRef=N,this._focusTrapFactory=he,this._changeDetectorRef=D,this._config=I,this._interactivityChecker=P,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=p=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(p)),this._ariaLabelledBy=I.ariaLabelledBy||null,this._document=S}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(N){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(N)}attachTemplatePortal(N){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(N)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(N,he){this._interactivityChecker.isFocusable(N)||(N.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{N.addEventListener("blur",()=>N.removeAttribute("tabindex")),N.addEventListener("mousedown",()=>N.removeAttribute("tabindex"))})),N.focus(he)}_focusByCssSelector(N,he){let D=this._elementRef.nativeElement.querySelector(N);D&&this._forceFocus(D,he)}_trapFocus(){const N=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||N.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(he=>{he||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const N=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&N&&"function"==typeof N.focus){const he=(0,L.ht)(),D=this._elementRef.nativeElement;(!he||he===this._document.body||he===D||D.contains(he))&&(this._focusMonitor?(this._focusMonitor.focusVia(N,this._closeInteractionType),this._closeInteractionType=null):N.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,L.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const N=this._elementRef.nativeElement,he=(0,L.ht)();return N===he||N.contains(he)}}return tt.\u0275fac=function(N){return new(N||tt)(g.Y36(g.SBq),g.Y36(ue.qV),g.Y36(g.sBO),g.Y36(Y.K0,8),g.Y36(ke),g.Y36(ue.ic),g.Y36(g.R0b),g.Y36(ue.tE))},tt.\u0275dir=g.lG2({type:tt,viewQuery:function(N,he){if(1&N&&g.Gf(f.Pl,7),2&N){let D;g.iGM(D=g.CRH())&&(he._portalOutlet=D.first)}},features:[g.qOj]}),tt})(),X=(()=>{class tt extends H{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:N,totalTime:he}){"enter"===N?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:he})):"exit"===N&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:he}))}_onAnimationStart({toState:N,totalTime:he}){"enter"===N?this._animationStateChanged.next({state:"opening",totalTime:he}):("exit"===N||"void"===N)&&this._animationStateChanged.next({state:"closing",totalTime:he})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return tt.\u0275fac=function(){let at;return function(he){return(at||(at=g.n5z(tt)))(he||tt)}}(),tt.\u0275cmp=g.Xpm({type:tt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(N,he){1&N&&g.WFA("@dialogContainer.start",function(S){return he._onAnimationStart(S)})("@dialogContainer.done",function(S){return he._onAnimationDone(S)}),2&N&&(g.Ikx("id",he._id),g.uIk("role",he._config.role)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledBy)("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null),g.d8E("@dialogContainer",he._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(N,he){1&N&&g.YNc(0,de,0,0,"ng-template",0)},directives:[f.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ae.dialogContainer]}}),tt})(),ie=0;class oe{constructor(at,N,he="mat-dialog-"+ie++){this._overlayRef=at,this._containerInstance=N,this.id=he,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.xQ,this._afterClosed=new A.xQ,this._beforeClosed=new A.xQ,this._state=0,N._id=he,N._animationStateChanged.pipe((0,E.h)(D=>"opened"===D.state),(0,h.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),N._animationStateChanged.pipe((0,E.h)(D=>"closed"===D.state),(0,h.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),at.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),at.keydownEvents().pipe((0,E.h)(D=>D.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(D))).subscribe(D=>{D.preventDefault(),ge(this,"keyboard")}),at.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():ge(this,"mouse")})}close(at){this._result=at,this._containerInstance._animationStateChanged.pipe((0,E.h)(N=>"closing"===N.state),(0,h.q)(1)).subscribe(N=>{this._beforeClosed.next(at),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),N.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(at){let N=this._getPositionStrategy();return at&&(at.left||at.right)?at.left?N.left(at.left):N.right(at.right):N.centerHorizontally(),at&&(at.top||at.bottom)?at.top?N.top(at.top):N.bottom(at.bottom):N.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(at="",N=""){return this._overlayRef.updateSize({width:at,height:N}),this._overlayRef.updatePosition(),this}addPanelClass(at){return this._overlayRef.addPanelClass(at),this}removePanelClass(at){return this._overlayRef.removePanelClass(at),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function ge(tt,at,N){return void 0!==tt._containerInstance&&(tt._containerInstance._closeInteractionType=at),tt.close(N)}const Ne=new g.OlP("MatDialogData"),Fe=new g.OlP("mat-dialog-default-options"),se=new g.OlP("mat-dialog-scroll-strategy"),me={provide:se,deps:[e.aV],useFactory:function ve(tt){return()=>tt.scrollStrategies.block()}};let Te=(()=>{class tt{constructor(N,he,D,S,I,P,i,r,p,o){this._overlay=N,this._injector=he,this._defaultOptions=D,this._parentDialog=S,this._overlayContainer=I,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=p,this._animationMode=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.xQ,this._afterOpenedAtThisLevel=new A.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,s.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,k.O)(void 0))),this._scrollStrategy=P}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const N=this._parentDialog;return N?N._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(N,he){if(he=function R(tt,at){return Object.assign(Object.assign({},at),tt)}(he,this._defaultOptions||new ke),he.id&&this.getDialogById(he.id),this._dialogAnimatingOpen)return this._lastDialogRef;const D=this._createOverlay(he),S=this._attachDialogContainer(D,he);if("NoopAnimations"!==this._animationMode){const P=S._animationStateChanged.subscribe(i=>{"opening"===i.state&&(this._dialogAnimatingOpen=!0),"opened"===i.state&&(this._dialogAnimatingOpen=!1,P.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new b.w),this._animationStateSubscriptions.add(P)}const I=this._attachDialogContent(N,S,D,he);return this._lastDialogRef=I,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(I),I.afterClosed().subscribe(()=>this._removeOpenDialog(I)),this.afterOpened.next(I),S._initializeWithAttachedContent(),I}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(N){return this.openDialogs.find(he=>he.id===N)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(N){const he=this._getOverlayConfig(N);return this._overlay.create(he)}_getOverlayConfig(N){const he=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:N.scrollStrategy||this._scrollStrategy(),panelClass:N.panelClass,hasBackdrop:N.hasBackdrop,direction:N.direction,minWidth:N.minWidth,minHeight:N.minHeight,maxWidth:N.maxWidth,maxHeight:N.maxHeight,disposeOnNavigation:N.closeOnNavigation});return N.backdropClass&&(he.backdropClass=N.backdropClass),he}_attachDialogContainer(N,he){const S=g.zs3.create({parent:he&&he.viewContainerRef&&he.viewContainerRef.injector||this._injector,providers:[{provide:ke,useValue:he}]}),I=new f.C5(this._dialogContainerType,he.viewContainerRef,S,he.componentFactoryResolver);return N.attach(I).instance}_attachDialogContent(N,he,D,S){const I=new this._dialogRefConstructor(D,he,S.id);if(N instanceof g.Rgc)he.attachTemplatePortal(new f.UE(N,null,{$implicit:S.data,dialogRef:I}));else{const P=this._createInjector(S,I,he),i=he.attachComponentPortal(new f.C5(N,S.viewContainerRef,P));I.componentInstance=i.instance}return I.updateSize(S.width,S.height).updatePosition(S.position),I}_createInjector(N,he,D){const S=N&&N.viewContainerRef&&N.viewContainerRef.injector,I=[{provide:this._dialogContainerType,useValue:D},{provide:this._dialogDataToken,useValue:N.data},{provide:this._dialogRefConstructor,useValue:he}];return N.direction&&(!S||!S.get(m.Is,null,g.XFs.Optional))&&I.push({provide:m.Is,useValue:{value:N.direction,change:(0,O.of)()}}),g.zs3.create({parent:S||this._injector,providers:I})}_removeOpenDialog(N){const he=this.openDialogs.indexOf(N);he>-1&&(this.openDialogs.splice(he,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((D,S)=>{D?S.setAttribute("aria-hidden",D):S.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const N=this._overlayContainer.getContainerElement();if(N.parentElement){const he=N.parentElement.children;for(let D=he.length-1;D>-1;D--){let S=he[D];S!==N&&"SCRIPT"!==S.nodeName&&"STYLE"!==S.nodeName&&!S.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(S,S.getAttribute("aria-hidden")),S.setAttribute("aria-hidden","true"))}}}_closeDialogs(N){let he=N.length;for(;he--;)N[he].close()}}return tt.\u0275fac=function(N){g.$Z()},tt.\u0275dir=g.lG2({type:tt}),tt})(),te=(()=>{class tt extends Te{constructor(N,he,D,S,I,P,i,r){super(N,he,S,P,i,I,oe,X,Ne,r)}}return tt.\u0275fac=function(N){return new(N||tt)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(Y.Ye,8),g.LFG(Fe,8),g.LFG(se),g.LFG(tt,12),g.LFG(e.Xj),g.LFG(Le.Qb,8))},tt.\u0275prov=g.Yz7({token:tt,factory:tt.\u0275fac}),tt})(),Oe=0,He=(()=>{class tt{constructor(N,he,D){this._dialogRef=N,this._elementRef=he,this._dialog=D,this.id="mat-dialog-title-"+Oe++}ngOnInit(){this._dialogRef||(this._dialogRef=function Ye(tt,at){let N=tt.nativeElement.parentElement;for(;N&&!N.classList.contains("mat-dialog-container");)N=N.parentElement;return N?at.find(he=>he.id===N.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const N=this._dialogRef._containerInstance;N&&!N._ariaLabelledBy&&(N._ariaLabelledBy=this.id)})}}return tt.\u0275fac=function(N){return new(N||tt)(g.Y36(oe,8),g.Y36(g.SBq),g.Y36(te))},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(N,he){2&N&&g.Ikx("id",he.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),tt})(),fe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),tt})(),Ce=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),tt})(),Xe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=g.oAB({type:tt}),tt.\u0275inj=g.cJS({providers:[te,me],imports:[[e.U8,f.eL,T.BQ],T.BQ]}),tt})()},4834:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>T,t:()=>m});var e=d(5e3),f=d(63191),g=d(90508);let T=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(b){this._vertical=(0,f.Ig)(b)}get inset(){return this._inset}set inset(b){this._inset=(0,f.Ig)(b)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(b,O){2&b&&(e.uIk("aria-orientation",O.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(b,O){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),A})(),m=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),A})()},81125:(Ke,be,d)=>{"use strict";d.d(be,{pp:()=>at,To:()=>N,ib:()=>Ie,HS:()=>te,u4:()=>Xe,yz:()=>Ye,yK:()=>tt});var e=d(5e3),f=d(63191),g=d(8929),T=d(42654),m=d(20449);let A=0;const s=new e.OlP("CdkAccordion");let b=(()=>{class he{constructor(){this._stateChanges=new g.xQ,this._openCloseAllActions=new g.xQ,this.id="cdk-accordion-"+A++,this._multi=!1}get multi(){return this._multi}set multi(S){this._multi=(0,f.Ig)(S)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(S){this._stateChanges.next(S)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:s,useExisting:he}]),e.TTD]}),he})(),O=0,E=(()=>{class he{constructor(S,I,P){this.accordion=S,this._changeDetectorRef=I,this._expansionDispatcher=P,this._openCloseAllSubscription=T.w.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+O++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=P.listen((i,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==i&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(S){S=(0,f.Ig)(S),this._expanded!==S&&(this._expanded=S,this.expandedChange.emit(S),S?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(S){this._disabled=(0,f.Ig)(S)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(S=>{this.disabled||(this.expanded=S)})}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(s,12),e.Y36(e.sBO),e.Y36(m.A8))},he.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:s,useValue:void 0}])]}),he})(),h=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({}),he})();var k=d(47429),L=d(69808),Y=d(90508),J=d(15664),ue=d(75778),ce=d(1059),Le=d(92198),de=d(72986),ke=d(91159),ae=d(76360),V=d(68896),H=d(36787),X=d(41777);const ie=["body"];function oe(he,D){}const ge=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ne=["mat-expansion-panel-header","*","mat-action-row"];function Fe(he,D){if(1&he&&e._UZ(0,"span",2),2&he){const S=e.oxw();e.Q6J("@indicatorRotate",S._getExpandedState())}}const se=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Me=["mat-panel-title","mat-panel-description","*"],ve=new e.OlP("MAT_ACCORDION"),me="225ms cubic-bezier(0.4,0.0,0.2,1)",Te={indicatorRotate:(0,X.X$)("indicatorRotate",[(0,X.SB)("collapsed, void",(0,X.oB)({transform:"rotate(0deg)"})),(0,X.SB)("expanded",(0,X.oB)({transform:"rotate(180deg)"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)(me))]),bodyExpansion:(0,X.X$)("bodyExpansion",[(0,X.SB)("collapsed, void",(0,X.oB)({height:"0px",visibility:"hidden"})),(0,X.SB)("expanded",(0,X.oB)({height:"*",visibility:"visible"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)(me))])};let te=(()=>{class he{constructor(S){this._template=S}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(e.Rgc))},he.\u0275dir=e.lG2({type:he,selectors:[["ng-template","matExpansionPanelContent",""]]}),he})(),R=0;const Oe=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Ie=(()=>{class he extends E{constructor(S,I,P,i,r,p,o){super(S,I,P),this._viewContainerRef=i,this._animationMode=p,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new g.xQ,this._headerId="mat-expansion-panel-header-"+R++,this._bodyAnimationDone=new g.xQ,this.accordion=S,this._document=r,this._bodyAnimationDone.pipe((0,ue.x)((t,n)=>t.fromState===n.fromState&&t.toState===n.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(S){this._togglePosition=S}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,ce.O)(null),(0,Le.h)(()=>this.expanded&&!this._portal),(0,de.q)(1)).subscribe(()=>{this._portal=new k.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(S){this._inputChanges.next(S)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const S=this._document.activeElement,I=this._body.nativeElement;return S===I||I.contains(S)}return!1}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(ve,12),e.Y36(e.sBO),e.Y36(m.A8),e.Y36(e.s_b),e.Y36(L.K0),e.Y36(ae.Qb,8),e.Y36(Oe,8))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel"]],contentQueries:function(S,I,P){if(1&S&&e.Suo(P,te,5),2&S){let i;e.iGM(i=e.CRH())&&(I._lazyContent=i.first)}},viewQuery:function(S,I){if(1&S&&e.Gf(ie,5),2&S){let P;e.iGM(P=e.CRH())&&(I._body=P.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(S,I){2&S&&e.ekj("mat-expanded",I.expanded)("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-expansion-panel-spacing",I._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:ve,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Ne,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(S,I){1&S&&(e.F$t(ge),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(i){return I._bodyAnimationDone.next(i)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,oe,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&S&&(e.xp6(1),e.Q6J("@bodyExpansion",I._getExpandedState())("id",I.id),e.uIk("aria-labelledby",I._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",I._portal))},directives:[k.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Te.bodyExpansion]},changeDetection:0}),he})();class fe{}const Ce=(0,Y.sb)(fe);let Ye=(()=>{class he extends Ce{constructor(S,I,P,i,r,p,o){super(),this.panel=S,this._element=I,this._focusMonitor=P,this._changeDetectorRef=i,this._animationMode=p,this._parentChangeSubscription=T.w.EMPTY;const t=S.accordion?S.accordion._stateChanges.pipe((0,Le.h)(n=>!(!n.hideToggle&&!n.togglePosition))):V.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,H.T)(S.opened,S.closed,t,S._inputChanges.pipe((0,Le.h)(n=>!!(n.hideToggle||n.disabled||n.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),S.closed.pipe((0,Le.h)(()=>S._containsFocus())).subscribe(()=>P.focusVia(I,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const S=this._isExpanded();return S&&this.expandedHeight?this.expandedHeight:!S&&this.collapsedHeight?this.collapsedHeight:null}_keydown(S){switch(S.keyCode){case ke.L_:case ke.K5:(0,ke.Vb)(S)||(S.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(S))}}focus(S,I){S?this._focusMonitor.focusVia(this._element,S,I):this._element.nativeElement.focus(I)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(S=>{S&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(Ie,1),e.Y36(e.SBq),e.Y36(J.tE),e.Y36(e.sBO),e.Y36(Oe,8),e.Y36(ae.Qb,8),e.$8M("tabindex"))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(S,I){1&S&&e.NdJ("click",function(){return I._toggle()})("keydown",function(i){return I._keydown(i)}),2&S&&(e.uIk("id",I.panel._headerId)("tabindex",I.tabIndex)("aria-controls",I._getPanelId())("aria-expanded",I._isExpanded())("aria-disabled",I.panel.disabled),e.Udp("height",I._getHeaderHeight()),e.ekj("mat-expanded",I._isExpanded())("mat-expansion-toggle-indicator-after","after"===I._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===I._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===I._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:Me,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(S,I){1&S&&(e.F$t(se),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Fe,1,1,"span",1)),2&S&&(e.xp6(4),e.Q6J("ngIf",I._showToggle()))},directives:[L.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[Te.indicatorRotate]},changeDetection:0}),he})(),Xe=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),he})(),tt=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),he})(),at=(()=>{class he extends b{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}ngAfterContentInit(){this._headers.changes.pipe((0,ce.O)(this._headers)).subscribe(S=>{this._ownHeaders.reset(S.filter(I=>I.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new J.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(S){this._keyManager.onKeydown(S)}_handleHeaderFocus(S){this._keyManager.updateActiveItem(S)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=e.n5z(he)))(I||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["mat-accordion"]],contentQueries:function(S,I,P){if(1&S&&e.Suo(P,Ye,5),2&S){let i;e.iGM(i=e.CRH())&&(I._headers=i)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(S,I){2&S&&e.ekj("mat-accordion-multi",I.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:ve,useExisting:he}]),e.qOj]}),he})(),N=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[[L.ez,Y.BQ,h,k.eL]]}),he})()},67322:(Ke,be,d)=>{"use strict";d.d(be,{G_:()=>p,TO:()=>Te,KE:()=>o,Eo:()=>R,lN:()=>t,bx:()=>Ye,hX:()=>Xe,UY:()=>tt,R9:()=>D});var e=d(17144),f=d(69808),g=d(5e3),T=d(90508),m=d(63191),A=d(8929),s=d(36787),b=d(23753),O=d(1059),E=d(7625),h=d(72986),k=d(41777),L=d(76360),Y=d(50226),J=d(70925);const ue=["connectionContainer"],ce=["inputContainer"],Le=["label"];function de(n,c){1&n&&(g.ynx(0),g.TgZ(1,"div",14),g._UZ(2,"div",15),g._UZ(3,"div",16),g._UZ(4,"div",17),g.qZA(),g.TgZ(5,"div",18),g._UZ(6,"div",15),g._UZ(7,"div",16),g._UZ(8,"div",17),g.qZA(),g.BQk())}function ke(n,c){if(1&n){const u=g.EpF();g.TgZ(0,"div",19),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.Hsn(1,1),g.qZA()}if(2&n){const u=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)}}function ae(n,c){if(1&n&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&n){const u=g.oxw(2);g.xp6(3),g.Oqu(u._control.placeholder)}}function V(n,c){1&n&&g.Hsn(0,3,["*ngSwitchCase","true"])}function H(n,c){1&n&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function X(n,c){if(1&n){const u=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.YNc(2,ae,4,1,"ng-container",12),g.YNc(3,V,1,0,"ng-content",12),g.YNc(4,H,2,0,"span",22),g.qZA()}if(2&n){const u=g.oxw();g.ekj("mat-empty",u._control.empty&&!u._shouldAlwaysFloat())("mat-form-field-empty",u._control.empty&&!u._shouldAlwaysFloat())("mat-accent","accent"==u.color)("mat-warn","warn"==u.color),g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)("id",u._labelId)("ngSwitch",u._hasLabel()),g.uIk("for",u._control.id)("aria-owns",u._control.id),g.xp6(2),g.Q6J("ngSwitchCase",!1),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngIf",!u.hideRequiredMarker&&u._control.required&&!u._control.disabled)}}function ie(n,c){1&n&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function oe(n,c){if(1&n&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&n){const u=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==u.color)("mat-warn","warn"==u.color)}}function ge(n,c){if(1&n&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&n){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState)}}function Ne(n,c){if(1&n&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&n){const u=g.oxw(2);g.Q6J("id",u._hintLabelId),g.xp6(1),g.Oqu(u.hintLabel)}}function Fe(n,c){if(1&n&&(g.TgZ(0,"div",27),g.YNc(1,Ne,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&n){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",u.hintLabel)}}const se=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Me=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let ve=0;const me=new g.OlP("MatError");let Te=(()=>{class n{constructor(u,y){this.id="mat-error-"+ve++,u||y.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(u){return new(u||n)(g.$8M("aria-live"),g.Y36(g.SBq))},n.\u0275dir=g.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(u,y){2&u&&g.uIk("id",y.id)},inputs:{id:"id"},features:[g._Bn([{provide:me,useExisting:n}])]}),n})();const te={transitionMessages:(0,k.X$)("transitionMessages",[(0,k.SB)("enter",(0,k.oB)({opacity:1,transform:"translateY(0%)"})),(0,k.eR)("void => enter",[(0,k.oB)({opacity:0,transform:"translateY(-5px)"}),(0,k.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let R=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n}),n})(),fe=0;const Ce=new g.OlP("MatHint");let Ye=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+fe++}}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(u,y){2&u&&(g.uIk("id",y.id)("align",null),g.ekj("mat-form-field-hint-end","end"===y.align))},inputs:{align:"align",id:"id"},features:[g._Bn([{provide:Ce,useExisting:n}])]}),n})(),Xe=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-label"]]}),n})(),tt=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const at=new g.OlP("MatPrefix"),he=new g.OlP("MatSuffix");let D=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:he,useExisting:n}])]}),n})(),S=0;const i=(0,T.pj)(class{constructor(n){this._elementRef=n}},"primary"),r=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),p=new g.OlP("MatFormField");let o=(()=>{class n extends i{constructor(u,y,M,j,Ve,nt,Mt){super(u),this._changeDetectorRef=y,this._dir=M,this._defaults=j,this._platform=Ve,this._ngZone=nt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new A.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+S++,this._labelId="mat-form-field-label-"+S++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Mt,this.appearance=j&&j.appearance?j.appearance:"legacy",this._hideRequiredMarker=!(!j||null==j.hideRequiredMarker)&&j.hideRequiredMarker}get appearance(){return this._appearance}set appearance(u){const y=this._appearance;this._appearance=u||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&y!==u&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(u){this._hideRequiredMarker=(0,m.Ig)(u)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(u){this._hintLabel=u,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(u){u!==this._floatLabel&&(this._floatLabel=u||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(u){this._explicitFormFieldControl=u}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const u=this._control;u.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${u.controlType}`),u.stateChanges.pipe((0,O.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),u.ngControl&&u.ngControl.valueChanges&&u.ngControl.valueChanges.pipe((0,E.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,s.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(u){const y=this._control?this._control.ngControl:null;return y&&y[u]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,h.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let u=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&u.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const y=this._hintChildren?this._hintChildren.find(j=>"start"===j.align):null,M=this._hintChildren?this._hintChildren.find(j=>"end"===j.align):null;y?u.push(y.id):this._hintLabel&&u.push(this._hintLabelId),M&&u.push(M.id)}else this._errorChildren&&u.push(...this._errorChildren.map(y=>y.id));this._control.setDescribedByIds(u)}}_validateControlChild(){}updateOutlineGap(){const u=this._label?this._label.nativeElement:null,y=this._connectionContainerRef.nativeElement,M=".mat-form-field-outline-start",j=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!u||!u.children.length||!u.textContent.trim()){const Vt=y.querySelectorAll(`${M}, ${j}`);for(let Wt=0;Wt0?.75*bt+10:0}for(let Vt=0;Vt{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({imports:[[f.ez,T.BQ,e.Q8],T.BQ]}),n})()},25245:(Ke,be,d)=>{"use strict";d.d(be,{Hw:()=>Ie,Ps:()=>He,jv:()=>oe});var e=d(5e3),f=d(90508),g=d(63191),T=d(69808),m=d(21086),A=d(61737),s=d(30567),b=d(42654),O=d(22868),E=d(24850),h=d(27221),k=d(40537),L=d(12474),Y=d(72986),J=d(40520),ue=d(22313);const ce=["*"];let Le;function ke(fe){var Ce;return(null===(Ce=function de(){if(void 0===Le&&(Le=null,"undefined"!=typeof window)){const fe=window;void 0!==fe.trustedTypes&&(Le=fe.trustedTypes.createPolicy("angular#components",{createHTML:Ce=>Ce}))}return Le}())||void 0===Ce?void 0:Ce.createHTML(fe))||fe}function ae(fe){return Error(`Unable to find icon with the name "${fe}"`)}function H(fe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${fe}".`)}function X(fe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${fe}".`)}class ie{constructor(Ce,Ye,Xe){this.url=Ce,this.svgText=Ye,this.options=Xe}}let oe=(()=>{class fe{constructor(Ye,Xe,tt,at){this._httpClient=Ye,this._sanitizer=Xe,this._errorHandler=at,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=tt}addSvgIcon(Ye,Xe,tt){return this.addSvgIconInNamespace("",Ye,Xe,tt)}addSvgIconLiteral(Ye,Xe,tt){return this.addSvgIconLiteralInNamespace("",Ye,Xe,tt)}addSvgIconInNamespace(Ye,Xe,tt,at){return this._addSvgIconConfig(Ye,Xe,new ie(tt,null,at))}addSvgIconResolver(Ye){return this._resolvers.push(Ye),this}addSvgIconLiteralInNamespace(Ye,Xe,tt,at){const N=this._sanitizer.sanitize(e.q3G.HTML,tt);if(!N)throw X(tt);const he=ke(N);return this._addSvgIconConfig(Ye,Xe,new ie("",he,at))}addSvgIconSet(Ye,Xe){return this.addSvgIconSetInNamespace("",Ye,Xe)}addSvgIconSetLiteral(Ye,Xe){return this.addSvgIconSetLiteralInNamespace("",Ye,Xe)}addSvgIconSetInNamespace(Ye,Xe,tt){return this._addSvgIconSetConfig(Ye,new ie(Xe,null,tt))}addSvgIconSetLiteralInNamespace(Ye,Xe,tt){const at=this._sanitizer.sanitize(e.q3G.HTML,Xe);if(!at)throw X(Xe);const N=ke(at);return this._addSvgIconSetConfig(Ye,new ie("",N,tt))}registerFontClassAlias(Ye,Xe=Ye){return this._fontCssClassesByAlias.set(Ye,Xe),this}classNameForFontAlias(Ye){return this._fontCssClassesByAlias.get(Ye)||Ye}setDefaultFontSetClass(Ye){return this._defaultFontSetClass=Ye,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ye){const Xe=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ye);if(!Xe)throw H(Ye);const tt=this._cachedIconsByUrl.get(Xe);return tt?(0,m.of)(Fe(tt)):this._loadSvgIconFromConfig(new ie(Ye,null)).pipe((0,O.b)(at=>this._cachedIconsByUrl.set(Xe,at)),(0,E.U)(at=>Fe(at)))}getNamedSvgIcon(Ye,Xe=""){const tt=se(Xe,Ye);let at=this._svgIconConfigs.get(tt);if(at)return this._getSvgFromConfig(at);if(at=this._getIconConfigFromResolvers(Xe,Ye),at)return this._svgIconConfigs.set(tt,at),this._getSvgFromConfig(at);const N=this._iconSetConfigs.get(Xe);return N?this._getSvgFromIconSetConfigs(Ye,N):(0,A._)(ae(tt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ye){return Ye.svgText?(0,m.of)(Fe(this._svgElementFromConfig(Ye))):this._loadSvgIconFromConfig(Ye).pipe((0,E.U)(Xe=>Fe(Xe)))}_getSvgFromIconSetConfigs(Ye,Xe){const tt=this._extractIconWithNameFromAnySet(Ye,Xe);if(tt)return(0,m.of)(tt);const at=Xe.filter(N=>!N.svgText).map(N=>this._loadSvgIconSetFromConfig(N).pipe((0,h.K)(he=>{const S=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,N.url)} failed: ${he.message}`;return this._errorHandler.handleError(new Error(S)),(0,m.of)(null)})));return(0,s.D)(at).pipe((0,E.U)(()=>{const N=this._extractIconWithNameFromAnySet(Ye,Xe);if(!N)throw ae(Ye);return N}))}_extractIconWithNameFromAnySet(Ye,Xe){for(let tt=Xe.length-1;tt>=0;tt--){const at=Xe[tt];if(at.svgText&&at.svgText.toString().indexOf(Ye)>-1){const N=this._svgElementFromConfig(at),he=this._extractSvgIconFromSet(N,Ye,at.options);if(he)return he}}return null}_loadSvgIconFromConfig(Ye){return this._fetchIcon(Ye).pipe((0,O.b)(Xe=>Ye.svgText=Xe),(0,E.U)(()=>this._svgElementFromConfig(Ye)))}_loadSvgIconSetFromConfig(Ye){return Ye.svgText?(0,m.of)(null):this._fetchIcon(Ye).pipe((0,O.b)(Xe=>Ye.svgText=Xe))}_extractSvgIconFromSet(Ye,Xe,tt){const at=Ye.querySelector(`[id="${Xe}"]`);if(!at)return null;const N=at.cloneNode(!0);if(N.removeAttribute("id"),"svg"===N.nodeName.toLowerCase())return this._setSvgAttributes(N,tt);if("symbol"===N.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(N),tt);const he=this._svgElementFromString(ke(""));return he.appendChild(N),this._setSvgAttributes(he,tt)}_svgElementFromString(Ye){const Xe=this._document.createElement("DIV");Xe.innerHTML=Ye;const tt=Xe.querySelector("svg");if(!tt)throw Error(" tag not found");return tt}_toSvgElement(Ye){const Xe=this._svgElementFromString(ke("")),tt=Ye.attributes;for(let at=0;atke(I)),(0,k.x)(()=>this._inProgressUrlFetches.delete(he)),(0,L.B)());return this._inProgressUrlFetches.set(he,S),S}_addSvgIconConfig(Ye,Xe,tt){return this._svgIconConfigs.set(se(Ye,Xe),tt),this}_addSvgIconSetConfig(Ye,Xe){const tt=this._iconSetConfigs.get(Ye);return tt?tt.push(Xe):this._iconSetConfigs.set(Ye,[Xe]),this}_svgElementFromConfig(Ye){if(!Ye.svgElement){const Xe=this._svgElementFromString(Ye.svgText);this._setSvgAttributes(Xe,Ye.options),Ye.svgElement=Xe}return Ye.svgElement}_getIconConfigFromResolvers(Ye,Xe){for(let tt=0;ttCe?Ce.pathname+Ce.search:""}}}),te=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=te.map(fe=>`[${fe}]`).join(", "),Oe=/^url\(['"]?#(.*?)['"]?\)$/;let Ie=(()=>{class fe extends ve{constructor(Ye,Xe,tt,at,N){super(Ye),this._iconRegistry=Xe,this._location=at,this._errorHandler=N,this._inline=!1,this._currentIconFetch=b.w.EMPTY,tt||Ye.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ye){this._inline=(0,g.Ig)(Ye)}get svgIcon(){return this._svgIcon}set svgIcon(Ye){Ye!==this._svgIcon&&(Ye?this._updateSvgIcon(Ye):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ye)}get fontSet(){return this._fontSet}set fontSet(Ye){const Xe=this._cleanupFontValue(Ye);Xe!==this._fontSet&&(this._fontSet=Xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ye){const Xe=this._cleanupFontValue(Ye);Xe!==this._fontIcon&&(this._fontIcon=Xe,this._updateFontIconClasses())}_splitIconName(Ye){if(!Ye)return["",""];const Xe=Ye.split(":");switch(Xe.length){case 1:return["",Xe[0]];case 2:return Xe;default:throw Error(`Invalid icon name: "${Ye}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ye=this._elementsWithExternalReferences;if(Ye&&Ye.size){const Xe=this._location.getPathname();Xe!==this._previousPath&&(this._previousPath=Xe,this._prependPathToReferences(Xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ye){this._clearSvgElement();const Xe=Ye.querySelectorAll("style");for(let at=0;at{tt.forEach(N=>{at.setAttribute(N.name,`url('${Ye}#${N.value}')`)})})}_cacheChildrenWithExternalReferences(Ye){const Xe=Ye.querySelectorAll(R),tt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let at=0;at{const he=Xe[at],D=he.getAttribute(N),S=D?D.match(Oe):null;if(S){let I=tt.get(he);I||(I=[],tt.set(he,I)),I.push({name:N,value:S[1]})}})}_updateSvgIcon(Ye){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ye){const[Xe,tt]=this._splitIconName(Ye);Xe&&(this._svgNamespace=Xe),tt&&(this._svgName=tt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(tt,Xe).pipe((0,Y.q)(1)).subscribe(at=>this._setSvgElement(at),at=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Xe}:${tt}! ${at.message}`))})}}}return fe.\u0275fac=function(Ye){return new(Ye||fe)(e.Y36(e.SBq),e.Y36(oe),e.$8M("aria-hidden"),e.Y36(me),e.Y36(e.qLn))},fe.\u0275cmp=e.Xpm({type:fe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ye,Xe){2&Ye&&(e.uIk("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet),e.ekj("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:ce,decls:1,vars:0,template:function(Ye,Xe){1&Ye&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),fe})(),He=(()=>{class fe{}return fe.\u0275fac=function(Ye){return new(Ye||fe)},fe.\u0275mod=e.oAB({type:fe}),fe.\u0275inj=e.cJS({imports:[[f.BQ],f.BQ]}),fe})()},98833:(Ke,be,d)=>{"use strict";d.d(be,{Jk:()=>E,Nt:()=>Y,c:()=>J});var e=d(63191),f=d(70925),g=d(5e3),T=d(93075),m=d(90508),A=d(67322),s=d(8929),b=d(74533);const E=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),h=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let k=0;const L=(0,m.FD)(class{constructor(ue,ce,Le,de){this._defaultErrorStateMatcher=ue,this._parentForm=ce,this._parentFormGroup=Le,this.ngControl=de}});let Y=(()=>{class ue extends L{constructor(Le,de,ke,ae,V,H,X,ie,oe,ge){super(H,ae,V,ke),this._elementRef=Le,this._platform=de,this._autofillMonitor=ie,this._formField=ge,this._uid="mat-input-"+k++,this.focused=!1,this.stateChanges=new s.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(se=>(0,f.qK)().has(se));const Ne=this._elementRef.nativeElement,Fe=Ne.nodeName.toLowerCase();this._inputValueAccessor=X||Ne,this._previousNativeValue=this.value,this.id=this.id,de.IOS&&oe.runOutsideAngular(()=>{Le.nativeElement.addEventListener("keyup",se=>{const Me=se.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Fe,this._isTextarea="textarea"===Fe,this._isInFormField=!!ge,this._isNativeSelect&&(this.controlType=Ne.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Le){this._disabled=(0,e.Ig)(Le),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Le){this._id=Le||this._uid}get required(){var Le,de,ke,ae;return null!==(ae=null!==(Le=this._required)&&void 0!==Le?Le:null===(ke=null===(de=this.ngControl)||void 0===de?void 0:de.control)||void 0===ke?void 0:ke.hasValidator(T.kI.required))&&void 0!==ae&&ae}set required(Le){this._required=(0,e.Ig)(Le)}get type(){return this._type}set type(Le){this._type=Le||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Le){Le!==this.value&&(this._inputValueAccessor.value=Le,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Le){this._readonly=(0,e.Ig)(Le)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Le=>{this.autofilled=Le.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Le){this._elementRef.nativeElement.focus(Le)}_focusChanged(Le){Le!==this.focused&&(this.focused=Le,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Le,de;const ke=(null===(de=null===(Le=this._formField)||void 0===Le?void 0:Le._hideControlPlaceholder)||void 0===de?void 0:de.call(Le))?null:this.placeholder;if(ke!==this._previousPlaceholder){const ae=this._elementRef.nativeElement;this._previousPlaceholder=ke,ke?ae.setAttribute("placeholder",ke):ae.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Le=this._elementRef.nativeElement.value;this._previousNativeValue!==Le&&(this._previousNativeValue=Le,this.stateChanges.next())}_validateType(){h.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Le=this._elementRef.nativeElement.validity;return Le&&Le.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Le=this._elementRef.nativeElement,de=Le.options[0];return this.focused||Le.multiple||!this.empty||!!(Le.selectedIndex>-1&&de&&de.label)}return this.focused||!this.empty}setDescribedByIds(Le){Le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Le=this._elementRef.nativeElement;return this._isNativeSelect&&(Le.multiple||Le.size>1)}}return ue.\u0275fac=function(Le){return new(Le||ue)(g.Y36(g.SBq),g.Y36(f.t4),g.Y36(T.a5,10),g.Y36(T.F,8),g.Y36(T.sg,8),g.Y36(m.rD),g.Y36(E,10),g.Y36(b.Lq),g.Y36(g.R0b),g.Y36(A.G_,8))},ue.\u0275dir=g.lG2({type:ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Le,de){1&Le&&g.NdJ("focus",function(){return de._focusChanged(!0)})("blur",function(){return de._focusChanged(!1)})("input",function(){return de._onInput()}),2&Le&&(g.Ikx("disabled",de.disabled)("required",de.required),g.uIk("id",de.id)("data-placeholder",de.placeholder)("name",de.name||null)("readonly",de.readonly&&!de._isNativeSelect||null)("aria-invalid",de.empty&&de.required?null:de.errorState)("aria-required",de.required),g.ekj("mat-input-server",de._isServer)("mat-native-select-inline",de._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g._Bn([{provide:A.Eo,useExisting:ue}]),g.qOj,g.TTD]}),ue})(),J=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275mod=g.oAB({type:ue}),ue.\u0275inj=g.cJS({providers:[m.rD],imports:[[b.Ky,A.lN,m.BQ],b.Ky,A.lN]}),ue})()},14623:(Ke,be,d)=>{"use strict";d.d(be,{i$:()=>oe,Tg:()=>se,ie:()=>Oe});var e=d(69808),f=d(5e3),g=d(90508),T=d(63191),m=d(8929),A=d(7625),k=(d(1059),d(15664),d(20449),d(91159),d(93075),d(4834));const L=["*"],J=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],ue=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],ae=(0,g.Id)((0,g.Kr)(class{})),V=(0,g.Kr)(class{}),H=new f.OlP("MatList"),X=new f.OlP("MatNavList");let oe=(()=>{class Ie extends ae{constructor(fe){super(),this._elementRef=fe,this._stateChanges=new m.xQ,"action-list"===this._getListType()&&fe.nativeElement.classList.add("mat-action-list")}_getListType(){const fe=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===fe?"list":"mat-action-list"===fe?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[f._Bn([{provide:H,useExisting:Ie}]),f.qOj,f.TTD],ngContentSelectors:L,decls:1,vars:0,template:function(fe,Ce){1&fe&&(f.F$t(),f.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),Ie})(),ge=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Ie})(),Ne=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Ie})(),se=(()=>{class Ie extends V{constructor(fe,Ce,Ye,Xe){super(),this._element=fe,this._isInteractiveList=!1,this._destroyed=new m.xQ,this._disabled=!1,this._isInteractiveList=!!(Ye||Xe&&"action-list"===Xe._getListType()),this._list=Ye||Xe;const tt=this._getHostElement();"button"===tt.nodeName.toLowerCase()&&!tt.hasAttribute("type")&&tt.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,A.R)(this._destroyed)).subscribe(()=>{Ce.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(fe){this._disabled=(0,T.Ig)(fe)}ngAfterContentInit(){(0,g.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(X,8),f.Y36(H,8))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(fe,Ce,Ye){if(1&fe&&(f.Suo(Ye,ge,5),f.Suo(Ye,Ne,5),f.Suo(Ye,g.X2,5)),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce._avatar=Xe.first),f.iGM(Xe=f.CRH())&&(Ce._icon=Xe.first),f.iGM(Xe=f.CRH())&&(Ce._lines=Xe)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(fe,Ce){2&fe&&f.ekj("mat-list-item-disabled",Ce.disabled)("mat-list-item-avatar",Ce._avatar||Ce._icon)("mat-list-item-with-avatar",Ce._avatar||Ce._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[f.qOj],ngContentSelectors:ue,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(fe,Ce){1&fe&&(f.F$t(J),f.TgZ(0,"span",0),f._UZ(1,"span",1),f.Hsn(2),f.TgZ(3,"span",2),f.Hsn(4,1),f.qZA(),f.Hsn(5,2),f.qZA()),2&fe&&(f.xp6(1),f.Q6J("matRippleTrigger",Ce._getHostElement())("matRippleDisabled",Ce._isRippleDisabled()))},directives:[g.wG],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=f.oAB({type:Ie}),Ie.\u0275inj=f.cJS({imports:[[g.uc,g.si,g.BQ,g.us,e.ez],g.uc,g.BQ,g.us,k.t]}),Ie})()},92181:(Ke,be,d)=>{"use strict";d.d(be,{VK:()=>at,OP:()=>fe,Tx:()=>r,p6:()=>i});var e=d(15664),f=d(63191),g=d(91159),T=d(5e3),m=d(8929),A=d(42654),s=d(36787),b=d(21086),O=d(8139),E=d(1059),h=d(87545),k=d(72986),L=d(7625),Y=d(92198),J=d(40943),ue=d(41777),ce=d(47429),Le=d(69808),de=d(90508),ke=d(92845),ae=d(70925),V=d(50226),H=d(53435);const X=["mat-menu-item",""];function ie(p,o){1&p&&(T.O4$(),T.TgZ(0,"svg",2),T._UZ(1,"polygon",3),T.qZA())}const oe=["*"];function ge(p,o){if(1&p){const t=T.EpF();T.TgZ(0,"div",0),T.NdJ("keydown",function(c){return T.CHM(t),T.oxw()._handleKeydown(c)})("click",function(){return T.CHM(t),T.oxw().closed.emit("click")})("@transformMenu.start",function(c){return T.CHM(t),T.oxw()._onAnimationStart(c)})("@transformMenu.done",function(c){return T.CHM(t),T.oxw()._onAnimationDone(c)}),T.TgZ(1,"div",1),T.Hsn(2),T.qZA(),T.qZA()}if(2&p){const t=T.oxw();T.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),T.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Ne={transformMenu:(0,ue.X$)("transformMenu",[(0,ue.SB)("void",(0,ue.oB)({opacity:0,transform:"scale(0.8)"})),(0,ue.eR)("void => enter",(0,ue.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ue.oB)({opacity:1,transform:"scale(1)"}))),(0,ue.eR)("* => void",(0,ue.jt)("100ms 25ms linear",(0,ue.oB)({opacity:0})))]),fadeInItems:(0,ue.X$)("fadeInItems",[(0,ue.SB)("showing",(0,ue.oB)({opacity:1})),(0,ue.eR)("void => *",[(0,ue.oB)({opacity:0}),(0,ue.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Me=new T.OlP("MatMenuContent"),Ie=new T.OlP("MAT_MENU_PANEL"),He=(0,de.Kr)((0,de.Id)(class{}));let fe=(()=>{class p extends He{constructor(t,n,c,u,y){var M;super(),this._elementRef=t,this._focusMonitor=c,this._parentMenu=u,this._changeDetectorRef=y,this.role="menuitem",this._hovered=new m.xQ,this._focused=new m.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(M=null==u?void 0:u.addItem)||void 0===M||M.call(u,this)}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t;const n=this._elementRef.nativeElement.cloneNode(!0),c=n.querySelectorAll("mat-icon, .material-icons");for(let u=0;u{class p{constructor(t,n,c){this._elementRef=t,this._ngZone=n,this._defaultOptions=c,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new T.n_E,this._tabSubscription=A.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new m.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new T.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Xe++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,f.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,f.Ig)(t)}set panelClass(t){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(c=>{this._classList[c]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(c=>{this._classList[c]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(t=>(0,s.T)(...t.map(n=>n._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(n=>(0,s.T)(...n.map(c=>c._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const n=t.keyCode,c=this._keyManager;switch(n){case g.hY:(0,g.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(n===g.LH||n===g.JH)&&c.setFocusOrigin("keyboard"),void c.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const n=this._keyManager;if(n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&this._directDescendantItems.length){let c=this._directDescendantItems.first._getHostElement().parentElement;for(;c;){if("menu"===c.getAttribute("role")){c.focus();break}c=c.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const n=Math.min(this._baseElevation+t,24),c=`${this._elevationPrefix}${n}`,u=Object.keys(this._classList).find(y=>y.startsWith(this._elevationPrefix));(!u||u===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[c]=!0,this._previousElevation=c)}setPositionClasses(t=this.xPosition,n=this.yPosition){const c=this._classList;c["mat-menu-before"]="before"===t,c["mat-menu-after"]="after"===t,c["mat-menu-above"]="above"===n,c["mat-menu-below"]="below"===n}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,E.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(Ce))},p.\u0275dir=T.lG2({type:p,contentQueries:function(t,n,c){if(1&t&&(T.Suo(c,Me,5),T.Suo(c,fe,5),T.Suo(c,fe,4)),2&t){let u;T.iGM(u=T.CRH())&&(n.lazyContent=u.first),T.iGM(u=T.CRH())&&(n._allItems=u),T.iGM(u=T.CRH())&&(n.items=u)}},viewQuery:function(t,n){if(1&t&&T.Gf(T.Rgc,5),2&t){let c;T.iGM(c=T.CRH())&&(n.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),p})(),at=(()=>{class p extends tt{constructor(t,n,c){super(t,n,c),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(Ce))},p.\u0275cmp=T.Xpm({type:p,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&T.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[T._Bn([{provide:Ie,useExisting:p}]),T.qOj],ngContentSelectors:oe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(T.F$t(),T.YNc(0,ge,3,6,"ng-template"))},directives:[Le.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Ne.transformMenu,Ne.fadeInItems]},changeDetection:0}),p})();const N=new T.OlP("mat-menu-scroll-strategy"),D={provide:N,deps:[ke.aV],useFactory:function he(p){return()=>p.scrollStrategies.reposition()}},I=(0,ae.i$)({passive:!0});let P=(()=>{class p{constructor(t,n,c,u,y,M,j,Ve){this._overlay=t,this._element=n,this._viewContainerRef=c,this._menuItemInstance=M,this._dir=j,this._focusMonitor=Ve,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.w.EMPTY,this._hoverSubscription=A.w.EMPTY,this._menuCloseSubscription=A.w.EMPTY,this._handleTouchStart=nt=>{(0,e.yG)(nt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new T.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new T.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=u,this._parentMaterialMenu=y instanceof tt?y:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,I),M&&(M._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,I),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),n=t.getConfig(),c=n.positionStrategy;this._setPosition(c),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof tt&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,L.R)(this.menu.close)).subscribe(()=>{c.withLockedPosition(!1).reapplyLastPosition(),c.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof tt?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,Y.h)(c=>"void"===c.toState),(0,k.q)(1),(0,L.R)(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,n=this.menu.parentMenu;for(;n;)t++,n=n.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ke.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(n=>{this.menu.setPositionClasses("start"===n.connectionPair.overlayX?"after":"before","top"===n.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[n,c]="before"===this.menu.xPosition?["end","start"]:["start","end"],[u,y]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[M,j]=[u,y],[Ve,nt]=[n,c],Mt=0;this.triggersSubmenu()?(nt=n="before"===this.menu.xPosition?"start":"end",c=Ve="end"===n?"start":"end",Mt="bottom"===u?8:-8):this.menu.overlapTrigger||(M="top"===u?"bottom":"top",j="top"===y?"bottom":"top"),t.withPositions([{originX:n,originY:M,overlayX:Ve,overlayY:u,offsetY:Mt},{originX:c,originY:M,overlayX:nt,overlayY:u,offsetY:Mt},{originX:n,originY:j,overlayX:Ve,overlayY:y,offsetY:-Mt},{originX:c,originY:j,overlayX:nt,overlayY:y,offsetY:-Mt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),c=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,b.of)(),u=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Y.h)(y=>y!==this._menuItemInstance),(0,Y.h)(()=>this._menuOpen)):(0,b.of)();return(0,s.T)(t,c,u,n)}_handleMousedown(t){(0,e.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const n=t.keyCode;(n===g.K5||n===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===g.SV&&"ltr"===this.dir||n===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Y.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,J.g)(0,O.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,k.q)(1),(0,J.g)(0,O.e),(0,L.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ce.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(ke.aV),T.Y36(T.SBq),T.Y36(T.s_b),T.Y36(N),T.Y36(Ie,8),T.Y36(fe,10),T.Y36(V.Is,8),T.Y36(e.tE))},p.\u0275dir=T.lG2({type:p,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(t,n){1&t&&T.NdJ("click",function(u){return n._handleClick(u)})("mousedown",function(u){return n._handleMousedown(u)})("keydown",function(u){return n._handleKeydown(u)}),2&t&&T.uIk("aria-expanded",n.menuOpen||null)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),p})(),i=(()=>{class p extends P{}return p.\u0275fac=function(){let o;return function(n){return(o||(o=T.n5z(p)))(n||p)}}(),p.\u0275dir=T.lG2({type:p,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[T.qOj]}),p})(),r=(()=>{class p{}return p.\u0275fac=function(t){return new(t||p)},p.\u0275mod=T.oAB({type:p}),p.\u0275inj=T.cJS({providers:[D],imports:[[Le.ez,de.BQ,de.si,ke.U8],H.ZD,de.BQ]}),p})()},86087:(Ke,be,d)=>{"use strict";d.d(be,{NW:()=>X,ye:()=>ue,TU:()=>ie});var e=d(69808),f=d(5e3),g=d(90508),T=d(47423),m=d(74107),A=d(29772),s=d(63191),b=d(8929),O=d(67322);function E(oe,ge){if(1&oe&&(f.TgZ(0,"mat-option",19),f._uU(1),f.qZA()),2&oe){const Ne=ge.$implicit;f.Q6J("value",Ne),f.xp6(1),f.hij(" ",Ne," ")}}function h(oe,ge){if(1&oe){const Ne=f.EpF();f.TgZ(0,"mat-form-field",16),f.TgZ(1,"mat-select",17),f.NdJ("selectionChange",function(se){return f.CHM(Ne),f.oxw(2)._changePageSize(se.value)}),f.YNc(2,E,2,2,"mat-option",18),f.qZA(),f.qZA()}if(2&oe){const Ne=f.oxw(2);f.Q6J("appearance",Ne._formFieldAppearance)("color",Ne.color),f.xp6(1),f.Q6J("value",Ne.pageSize)("disabled",Ne.disabled)("aria-label",Ne._intl.itemsPerPageLabel),f.xp6(1),f.Q6J("ngForOf",Ne._displayedPageSizeOptions)}}function k(oe,ge){if(1&oe&&(f.TgZ(0,"div",20),f._uU(1),f.qZA()),2&oe){const Ne=f.oxw(2);f.xp6(1),f.Oqu(Ne.pageSize)}}function L(oe,ge){if(1&oe&&(f.TgZ(0,"div",12),f.TgZ(1,"div",13),f._uU(2),f.qZA(),f.YNc(3,h,3,6,"mat-form-field",14),f.YNc(4,k,2,1,"div",15),f.qZA()),2&oe){const Ne=f.oxw();f.xp6(2),f.hij(" ",Ne._intl.itemsPerPageLabel," "),f.xp6(1),f.Q6J("ngIf",Ne._displayedPageSizeOptions.length>1),f.xp6(1),f.Q6J("ngIf",Ne._displayedPageSizeOptions.length<=1)}}function Y(oe,ge){if(1&oe){const Ne=f.EpF();f.TgZ(0,"button",21),f.NdJ("click",function(){return f.CHM(Ne),f.oxw().firstPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",22),f.qZA(),f.qZA()}if(2&oe){const Ne=f.oxw();f.Q6J("matTooltip",Ne._intl.firstPageLabel)("matTooltipDisabled",Ne._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Ne._previousButtonsDisabled()),f.uIk("aria-label",Ne._intl.firstPageLabel)}}function J(oe,ge){if(1&oe){const Ne=f.EpF();f.O4$(),f.kcU(),f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Ne),f.oxw().lastPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",24),f.qZA(),f.qZA()}if(2&oe){const Ne=f.oxw();f.Q6J("matTooltip",Ne._intl.lastPageLabel)("matTooltipDisabled",Ne._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Ne._nextButtonsDisabled()),f.uIk("aria-label",Ne._intl.lastPageLabel)}}let ue=(()=>{class oe{constructor(){this.changes=new b.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Ne,Fe,se)=>{if(0==se||0==Fe)return`0 of ${se}`;const Me=Ne*Fe;return`${Me+1} \u2013 ${Me<(se=Math.max(se,0))?Math.min(Me+Fe,se):Me+Fe} of ${se}`}}}return oe.\u0275fac=function(Ne){return new(Ne||oe)},oe.\u0275prov=f.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const Le={provide:ue,deps:[[new f.FiY,new f.tp0,ue]],useFactory:function ce(oe){return oe||new ue}},ae=new f.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),V=(0,g.Id)((0,g.dB)(class{}));let H=(()=>{class oe extends V{constructor(Ne,Fe,se){if(super(),this._intl=Ne,this._changeDetectorRef=Fe,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new f.vpe,this._intlChanges=Ne.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),se){const{pageSize:Me,pageSizeOptions:ve,hidePageSize:me,showFirstLastButtons:Te}=se;null!=Me&&(this._pageSize=Me),null!=ve&&(this._pageSizeOptions=ve),null!=me&&(this._hidePageSize=me),null!=Te&&(this._showFirstLastButtons=Te)}}get pageIndex(){return this._pageIndex}set pageIndex(Ne){this._pageIndex=Math.max((0,s.su)(Ne),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Ne){this._length=(0,s.su)(Ne),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Ne){this._pageSize=Math.max((0,s.su)(Ne),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Ne){this._pageSizeOptions=(Ne||[]).map(Fe=>(0,s.su)(Fe)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Ne){this._hidePageSize=(0,s.Ig)(Ne)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Ne){this._showFirstLastButtons=(0,s.Ig)(Ne)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Ne=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Ne)}previousPage(){if(!this.hasPreviousPage())return;const Ne=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Ne)}firstPage(){if(!this.hasPreviousPage())return;const Ne=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Ne)}lastPage(){if(!this.hasNextPage())return;const Ne=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Ne)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Ne=this.getNumberOfPages()-1;return this.pageIndexNe-Fe),this._changeDetectorRef.markForCheck())}_emitPageEvent(Ne){this.page.emit({previousPageIndex:Ne,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return oe.\u0275fac=function(Ne){f.$Z()},oe.\u0275dir=f.lG2({type:oe,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[f.qOj]}),oe})(),X=(()=>{class oe extends H{constructor(Ne,Fe,se){super(Ne,Fe,se),se&&null!=se.formFieldAppearance&&(this._formFieldAppearance=se.formFieldAppearance)}}return oe.\u0275fac=function(Ne){return new(Ne||oe)(f.Y36(ue),f.Y36(f.sBO),f.Y36(ae,8))},oe.\u0275cmp=f.Xpm({type:oe,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[f.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Ne,Fe){1&Ne&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.YNc(2,L,5,3,"div",2),f.TgZ(3,"div",3),f.TgZ(4,"div",4),f._uU(5),f.qZA(),f.YNc(6,Y,3,5,"button",5),f.TgZ(7,"button",6),f.NdJ("click",function(){return Fe.previousPage()}),f.O4$(),f.TgZ(8,"svg",7),f._UZ(9,"path",8),f.qZA(),f.qZA(),f.kcU(),f.TgZ(10,"button",9),f.NdJ("click",function(){return Fe.nextPage()}),f.O4$(),f.TgZ(11,"svg",7),f._UZ(12,"path",10),f.qZA(),f.qZA(),f.YNc(13,J,3,5,"button",11),f.qZA(),f.qZA(),f.qZA()),2&Ne&&(f.xp6(2),f.Q6J("ngIf",!Fe.hidePageSize),f.xp6(3),f.hij(" ",Fe._intl.getRangeLabel(Fe.pageIndex,Fe.pageSize,Fe.length)," "),f.xp6(1),f.Q6J("ngIf",Fe.showFirstLastButtons),f.xp6(1),f.Q6J("matTooltip",Fe._intl.previousPageLabel)("matTooltipDisabled",Fe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._previousButtonsDisabled()),f.uIk("aria-label",Fe._intl.previousPageLabel),f.xp6(3),f.Q6J("matTooltip",Fe._intl.nextPageLabel)("matTooltipDisabled",Fe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._nextButtonsDisabled()),f.uIk("aria-label",Fe._intl.nextPageLabel),f.xp6(3),f.Q6J("ngIf",Fe.showFirstLastButtons))},directives:[O.KE,m.gD,g.ey,T.lW,e.O5,e.sg,A.gM],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),oe})(),ie=(()=>{class oe{}return oe.\u0275fac=function(Ne){return new(Ne||oe)},oe.\u0275mod=f.oAB({type:oe}),oe.\u0275inj=f.cJS({providers:[Le],imports:[[e.ez,T.ot,m.LD,A.AV,g.BQ]]}),oe})()},85899:(Ke,be,d)=>{"use strict";d.d(be,{Cv:()=>k});var e=d(5e3),f=d(69808),g=d(90508);let k=(()=>{class L{}return L.\u0275fac=function(J){return new(J||L)},L.\u0275mod=e.oAB({type:L}),L.\u0275inj=e.cJS({imports:[[f.ez,g.BQ],g.BQ]}),L})()},20773:(Ke,be,d)=>{"use strict";d.d(be,{Cq:()=>V,$g:()=>ae});var e=d(5e3),f=d(69808),g=d(90508),T=d(63191),m=d(70925),A=d(76360),s=d(42654),b=d(53435);function O(H,X){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const ie=e.oxw(),oe=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+ie._spinnerAnimationLabel)("stroke-dashoffset",ie._getStrokeDashOffset(),"px")("stroke-dasharray",ie._getStrokeCircumference(),"px")("stroke-width",ie._getCircleStrokeWidth(),"%")("transform-origin",ie._getCircleTransformOrigin(oe)),e.uIk("r",ie._getCircleRadius())}}function E(H,X){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const ie=e.oxw(),oe=e.MAs(1);e.Udp("stroke-dashoffset",ie._getStrokeDashOffset(),"px")("stroke-dasharray",ie._getStrokeCircumference(),"px")("stroke-width",ie._getCircleStrokeWidth(),"%")("transform-origin",ie._getCircleTransformOrigin(oe)),e.uIk("r",ie._getCircleRadius())}}function h(H,X){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const ie=e.oxw(),oe=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+ie._spinnerAnimationLabel)("stroke-dashoffset",ie._getStrokeDashOffset(),"px")("stroke-dasharray",ie._getStrokeCircumference(),"px")("stroke-width",ie._getCircleStrokeWidth(),"%")("transform-origin",ie._getCircleTransformOrigin(oe)),e.uIk("r",ie._getCircleRadius())}}function k(H,X){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const ie=e.oxw(),oe=e.MAs(1);e.Udp("stroke-dashoffset",ie._getStrokeDashOffset(),"px")("stroke-dasharray",ie._getStrokeCircumference(),"px")("stroke-width",ie._getCircleStrokeWidth(),"%")("transform-origin",ie._getCircleTransformOrigin(oe)),e.uIk("r",ie._getCircleRadius())}}const ue=(0,g.pj)(class{constructor(H){this._elementRef=H}},"primary"),ce=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Le(){return{diameter:100}}});class ke extends ue{constructor(X,ie,oe,ge,Ne,Fe,se,Me){super(X),this._document=oe,this._diameter=100,this._value=0,this._resizeSubscription=s.w.EMPTY,this.mode="determinate";const ve=ke._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),ve.has(oe.head)||ve.set(oe.head,new Set([100])),this._noopAnimations="NoopAnimations"===ge&&!!Ne&&!Ne._forceAnimations,Ne&&(Ne.diameter&&(this.diameter=Ne.diameter),Ne.strokeWidth&&(this.strokeWidth=Ne.strokeWidth)),ie.isBrowser&&ie.SAFARI&&se&&Fe&&Me&&(this._resizeSubscription=se.change(150).subscribe(()=>{"indeterminate"===this.mode&&Me.run(()=>Fe.markForCheck())}))}get diameter(){return this._diameter}set diameter(X){this._diameter=(0,T.su)(X),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(X){this._strokeWidth=(0,T.su)(X)}get value(){return"determinate"===this.mode?this._value:0}set value(X){this._value=Math.max(0,Math.min(100,(0,T.su)(X)))}ngOnInit(){const X=this._elementRef.nativeElement;this._styleRoot=(0,m.kV)(X)||this._document.head,this._attachStyleNode(),X.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const X=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${X} ${X}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(X){var ie;const oe=50*(null!==(ie=X.currentScale)&&void 0!==ie?ie:1);return`${oe}% ${oe}%`}_attachStyleNode(){const X=this._styleRoot,ie=this._diameter,oe=ke._diameters;let ge=oe.get(X);if(!ge||!ge.has(ie)){const Ne=this._document.createElement("style");Ne.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Ne.textContent=this._getAnimationText(),X.appendChild(Ne),ge||(ge=new Set,oe.set(X,ge)),ge.add(ie)}}_getAnimationText(){const X=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*X).replace(/END_VALUE/g,""+.2*X).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}ke._diameters=new WeakMap,ke.\u0275fac=function(X){return new(X||ke)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(ce),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},ke.\u0275cmp=e.Xpm({type:ke,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(X,ie){2&X&&(e.uIk("aria-valuemin","determinate"===ie.mode?0:null)("aria-valuemax","determinate"===ie.mode?100:null)("aria-valuenow","determinate"===ie.mode?ie.value:null)("mode",ie.mode),e.Udp("width",ie.diameter,"px")("height",ie.diameter,"px"),e.ekj("_mat-animation-noopable",ie._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(X,ie){1&X&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,O,1,11,"circle",2),e.YNc(3,E,1,9,"circle",3),e.qZA()),2&X&&(e.Udp("width",ie.diameter,"px")("height",ie.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===ie.mode),e.uIk("viewBox",ie._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let ae=(()=>{class H extends ke{constructor(ie,oe,ge,Ne,Fe,se,Me,ve){super(ie,oe,ge,Ne,Fe,se,Me,ve),this.mode="indeterminate"}}return H.\u0275fac=function(ie){return new(ie||H)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(ce),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},H.\u0275cmp=e.Xpm({type:H,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(ie,oe){2&ie&&(e.Udp("width",oe.diameter,"px")("height",oe.diameter,"px"),e.ekj("_mat-animation-noopable",oe._noopAnimations))},inputs:{color:"color"},features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(ie,oe){1&ie&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,h,1,11,"circle",2),e.YNc(3,k,1,9,"circle",3),e.qZA()),2&ie&&(e.Udp("width",oe.diameter,"px")("height",oe.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===oe.mode),e.uIk("viewBox",oe._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),H})(),V=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=e.oAB({type:H}),H.\u0275inj=e.cJS({imports:[[g.BQ,f.ez],g.BQ]}),H})()},79814:(Ke,be,d)=>{"use strict";d.d(be,{U0:()=>V,VQ:()=>Le,Fk:()=>H});var e=d(5e3),f=d(90508),g=d(63191),T=d(93075),m=d(76360),A=d(15664),s=d(20449);const b=["input"],O=function(X){return{enterDuration:X}},E=["*"],h=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function k(){return{color:"accent"}}});let L=0;const Y={provide:T.JU,useExisting:(0,e.Gpc)(()=>Le),multi:!0};class J{constructor(ie,oe){this.source=ie,this.value=oe}}const ue=new e.OlP("MatRadioGroup");let ce=(()=>{class X{constructor(oe){this._changeDetector=oe,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(oe){this._name=oe,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(oe){this._labelPosition="before"===oe?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(oe){this._value!==oe&&(this._value=oe,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(oe){this._selected=oe,this.value=oe?oe.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,g.Ig)(oe),this._markRadiosForCheck()}get required(){return this._required}set required(oe){this._required=(0,g.Ig)(oe),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(oe=>{oe.name=this.name,oe._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ge=>{ge.checked=this.value===ge.value,ge.checked&&(this._selected=ge)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new J(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(oe=>oe._markForCheck())}writeValue(oe){this.value=oe,this._changeDetector.markForCheck()}registerOnChange(oe){this._controlValueAccessorChangeFn=oe}registerOnTouched(oe){this.onTouched=oe}setDisabledState(oe){this.disabled=oe,this._changeDetector.markForCheck()}}return X.\u0275fac=function(oe){return new(oe||X)(e.Y36(e.sBO))},X.\u0275dir=e.lG2({type:X,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),X})(),Le=(()=>{class X extends ce{}return X.\u0275fac=function(){let ie;return function(ge){return(ie||(ie=e.n5z(X)))(ge||X)}}(),X.\u0275dir=e.lG2({type:X,selectors:[["mat-radio-group"]],contentQueries:function(oe,ge,Ne){if(1&oe&&e.Suo(Ne,V,5),2&oe){let Fe;e.iGM(Fe=e.CRH())&&(ge._radios=Fe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([Y,{provide:ue,useExisting:X}]),e.qOj]}),X})();class de{constructor(ie){this._elementRef=ie}}const ke=(0,f.Kr)((0,f.sb)(de));let ae=(()=>{class X extends ke{constructor(oe,ge,Ne,Fe,se,Me,ve,me){super(ge),this._changeDetector=Ne,this._focusMonitor=Fe,this._radioDispatcher=se,this._providerOverride=ve,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=oe,this._noopAnimations="NoopAnimations"===Me,me&&(this.tabIndex=(0,g.su)(me,0)),this._removeUniqueSelectionListener=se.listen((Te,te)=>{Te!==this.id&&te===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(oe){const ge=(0,g.Ig)(oe);this._checked!==ge&&(this._checked=ge,ge&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ge&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ge&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(oe){this._value!==oe&&(this._value=oe,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===oe),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(oe){this._labelPosition=oe}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(oe){this._setDisabled((0,g.Ig)(oe))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(oe){this._required=(0,g.Ig)(oe)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(oe){this._color=oe}get inputId(){return`${this.id||this._uniqueId}-input`}focus(oe,ge){ge?this._focusMonitor.focusVia(this._inputElement,ge,oe):this._inputElement.nativeElement.focus(oe)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(oe=>{!oe&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new J(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(oe){oe.stopPropagation()}_onInputInteraction(oe){if(oe.stopPropagation(),!this.checked&&!this.disabled){const ge=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ge&&this.radioGroup._emitChangeEvent())}}_setDisabled(oe){this._disabled!==oe&&(this._disabled=oe,this._changeDetector.markForCheck())}}return X.\u0275fac=function(oe){e.$Z()},X.\u0275dir=e.lG2({type:X,viewQuery:function(oe,ge){if(1&oe&&e.Gf(b,5),2&oe){let Ne;e.iGM(Ne=e.CRH())&&(ge._inputElement=Ne.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),X})(),V=(()=>{class X extends ae{constructor(oe,ge,Ne,Fe,se,Me,ve,me){super(oe,ge,Ne,Fe,se,Me,ve,me)}}return X.\u0275fac=function(oe){return new(oe||X)(e.Y36(ue,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(A.tE),e.Y36(s.A8),e.Y36(m.Qb,8),e.Y36(h,8),e.$8M("tabindex"))},X.\u0275cmp=e.Xpm({type:X,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(oe,ge){1&oe&&e.NdJ("focus",function(){return ge._inputElement.nativeElement.focus()}),2&oe&&(e.uIk("tabindex",null)("id",ge.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",ge.checked)("mat-radio-disabled",ge.disabled)("_mat-animation-noopable",ge._noopAnimations)("mat-primary","primary"===ge.color)("mat-accent","accent"===ge.color)("mat-warn","warn"===ge.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:E,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(oe,ge){if(1&oe&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e._UZ(3,"span",3),e._UZ(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(Fe){return ge._onInputInteraction(Fe)})("click",function(Fe){return ge._onInputClick(Fe)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA(),e.qZA(),e.TgZ(9,"span",9),e.TgZ(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA(),e.qZA()),2&oe){const Ne=e.MAs(1);e.uIk("for",ge.inputId),e.xp6(5),e.Q6J("id",ge.inputId)("checked",ge.checked)("disabled",ge.disabled)("tabIndex",ge.tabIndex)("required",ge.required),e.uIk("name",ge.name)("value",ge.value)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledby)("aria-describedby",ge.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Ne)("matRippleDisabled",ge._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(18,O,ge._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==ge.labelPosition)}},directives:[f.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),X})(),H=(()=>{class X{}return X.\u0275fac=function(oe){return new(oe||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),X})()},74107:(Ke,be,d)=>{"use strict";d.d(be,{gD:()=>r,LD:()=>p,$L:()=>P});var e=d(92845),f=d(69808),g=d(5e3),T=d(90508),m=d(67322),A=d(53435),s=d(15664),b=d(63191),O=d(20449),E=d(91159),h=d(93075),k=d(8929),L=d(88514),Y=d(36787),J=d(1059),ue=d(87545),ce=d(72986),Le=d(92198),de=d(24850),ke=d(75778),ae=d(7625),V=d(41777),H=d(50226);const X=["trigger"],ie=["panel"];function oe(o,t){if(1&o&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&o){const n=g.oxw();g.xp6(1),g.Oqu(n.placeholder)}}function ge(o,t){if(1&o&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&o){const n=g.oxw(2);g.xp6(1),g.Oqu(n.triggerValue)}}function Ne(o,t){1&o&&g.Hsn(0,0,["*ngSwitchCase","true"])}function Fe(o,t){if(1&o&&(g.TgZ(0,"span",9),g.YNc(1,ge,2,1,"span",10),g.YNc(2,Ne,1,0,"ng-content",11),g.qZA()),2&o){const n=g.oxw();g.Q6J("ngSwitch",!!n.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function se(o,t){if(1&o){const n=g.EpF();g.TgZ(0,"div",13),g.TgZ(1,"div",14,15),g.NdJ("@transformPanel.done",function(u){return g.CHM(n),g.oxw()._panelDoneAnimatingStream.next(u.toState)})("keydown",function(u){return g.CHM(n),g.oxw()._handleKeydown(u)}),g.Hsn(3,1),g.qZA(),g.qZA()}if(2&o){const n=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",n._getPanelTheme(),""),g.Udp("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),g.Q6J("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),g.uIk("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}const Me=[[["mat-select-trigger"]],"*"],ve=["mat-select-trigger","*"],me={transformPanelWrap:(0,V.X$)("transformPanelWrap",[(0,V.eR)("* => void",(0,V.IO)("@transformPanel",[(0,V.pV)()],{optional:!0}))]),transformPanel:(0,V.X$)("transformPanel",[(0,V.SB)("void",(0,V.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,V.SB)("showing",(0,V.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,V.SB)("showing-multiple",(0,V.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,V.eR)("void => *",(0,V.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,V.eR)("* => void",(0,V.jt)("100ms 25ms linear",(0,V.oB)({opacity:0})))])};let Oe=0;const tt=new g.OlP("mat-select-scroll-strategy"),N=new g.OlP("MAT_SELECT_CONFIG"),he={provide:tt,deps:[e.aV],useFactory:function at(o){return()=>o.scrollStrategies.reposition()}};class D{constructor(t,n){this.source=t,this.value=n}}const S=(0,T.Kr)((0,T.sb)((0,T.Id)((0,T.FD)(class{constructor(o,t,n,c,u){this._elementRef=o,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=c,this.ngControl=u}})))),I=new g.OlP("MatSelectTrigger");let P=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275dir=g.lG2({type:o,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:I,useExisting:o}])]}),o})(),i=(()=>{class o extends S{constructor(n,c,u,y,M,j,Ve,nt,Mt,zt,Vt,Wt,At,Ht){var bt,et,kt;super(M,y,Ve,nt,zt),this._viewportRuler=n,this._changeDetectorRef=c,this._ngZone=u,this._dir=j,this._parentFormField=Mt,this._liveAnnouncer=At,this._defaultOptions=Ht,this._panelOpen=!1,this._compareWith=(pt,It)=>pt===It,this._uid="mat-select-"+Oe++,this._triggerAriaLabelledBy=null,this._destroy=new k.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Oe++,this._panelDoneAnimatingStream=new k.xQ,this._overlayPanelClass=(null===(bt=this._defaultOptions)||void 0===bt?void 0:bt.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(kt=null===(et=this._defaultOptions)||void 0===et?void 0:et.disableOptionCentering)&&void 0!==kt&&kt,this.ariaLabel="",this.optionSelectionChanges=(0,L.P)(()=>{const pt=this.options;return pt?pt.changes.pipe((0,J.O)(pt),(0,ue.w)(()=>(0,Y.T)(...pt.map(It=>It.onSelectionChange)))):this._ngZone.onStable.pipe((0,ce.q)(1),(0,ue.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,Le.h)(pt=>pt),(0,de.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Le.h)(pt=>!pt),(0,de.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Ht?void 0:Ht.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Ht.typeaheadDebounceInterval),this._scrollStrategyFactory=Wt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Vt)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){var n,c,u,y;return null!==(y=null!==(n=this._required)&&void 0!==n?n:null===(u=null===(c=this.ngControl)||void 0===c?void 0:c.control)||void 0===u?void 0:u.hasValidator(h.kI.required))&&void 0!==y&&y}set required(n){this._required=(0,b.Ig)(n),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._multiple=(0,b.Ig)(n)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(n){this._disableOptionCentering=(0,b.Ig)(n)}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){(n!==this._value||this._multiple&&Array.isArray(n))&&(this.options&&this._setSelectionByValue(n),this._value=n)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(n){this._typeaheadDebounceInterval=(0,b.su)(n)}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new O.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ke.x)(),(0,ae.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ae.R)(this._destroy)).subscribe(n=>{n.added.forEach(c=>c.select()),n.removed.forEach(c=>c.deselect())}),this.options.changes.pipe((0,J.O)(null),(0,ae.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const n=this._getTriggerAriaLabelledby();if(n!==this._triggerAriaLabelledBy){const c=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?c.setAttribute("aria-labelledby",n):c.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(n){n.disabled&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(n){this.value=n}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var n,c;return this.multiple?(null===(n=this._selectionModel)||void 0===n?void 0:n.selected)||[]:null===(c=this._selectionModel)||void 0===c?void 0:c.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const n=this._selectionModel.selected.map(c=>c.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){const c=n.keyCode,u=c===E.JH||c===E.LH||c===E.oh||c===E.SV,y=c===E.K5||c===E.L_,M=this._keyManager;if(!M.isTyping()&&y&&!(0,E.Vb)(n)||(this.multiple||n.altKey)&&u)n.preventDefault(),this.open();else if(!this.multiple){const j=this.selected;M.onKeydown(n);const Ve=this.selected;Ve&&j!==Ve&&this._liveAnnouncer.announce(Ve.viewValue,1e4)}}_handleOpenKeydown(n){const c=this._keyManager,u=n.keyCode,y=u===E.JH||u===E.LH,M=c.isTyping();if(y&&n.altKey)n.preventDefault(),this.close();else if(M||u!==E.K5&&u!==E.L_||!c.activeItem||(0,E.Vb)(n))if(!M&&this._multiple&&u===E.A&&n.ctrlKey){n.preventDefault();const j=this.options.some(Ve=>!Ve.disabled&&!Ve.selected);this.options.forEach(Ve=>{Ve.disabled||(j?Ve.select():Ve.deselect())})}else{const j=c.activeItemIndex;c.onKeydown(n),this._multiple&&y&&n.shiftKey&&c.activeItem&&c.activeItemIndex!==j&&c.activeItem._selectViaInteraction()}else n.preventDefault(),c.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ce.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(n){if(this._selectionModel.selected.forEach(c=>c.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(c=>this._selectValue(c)),this._sortValues();else{const c=this._selectValue(n);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(n){const c=this.options.find(u=>{if(this._selectionModel.isSelected(u))return!1;try{return null!=u.value&&this._compareWith(u.value,n)}catch(y){return!1}});return c&&this._selectionModel.select(c),c}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,ae.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,ae.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const n=(0,Y.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ae.R)(n)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Y.T)(...this.options.map(c=>c._stateChanges)).pipe((0,ae.R)(n)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(n,c){const u=this._selectionModel.isSelected(n);null!=n.value||this._multiple?(u!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),c&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),c&&this.focus())):(n.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(n.value)),u!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const n=this.options.toArray();this._selectionModel.sort((c,u)=>this.sortComparator?this.sortComparator(c,u,n):n.indexOf(c)-n.indexOf(u)),this.stateChanges.next()}}_propagateChanges(n){let c=null;c=this.multiple?this.selected.map(u=>u.value):this.selected?this.selected.value:n,this._value=c,this.valueChange.emit(c),this._onChange(c),this.selectionChange.emit(this._getChangeEvent(c)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var n;return!this._panelOpen&&!this.disabled&&(null===(n=this.options)||void 0===n?void 0:n.length)>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){var n;if(this.ariaLabel)return null;const c=null===(n=this._parentFormField)||void 0===n?void 0:n.getLabelId();return this.ariaLabelledby?(c?c+" ":"")+this.ariaLabelledby:c}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var n;if(this.ariaLabel)return null;const c=null===(n=this._parentFormField)||void 0===n?void 0:n.getLabelId();let u=(c?c+" ":"")+this._valueId;return this.ariaLabelledby&&(u+=" "+this.ariaLabelledby),u}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){this._ariaDescribedby=n.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return o.\u0275fac=function(n){return new(n||o)(g.Y36(A.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(T.rD),g.Y36(g.SBq),g.Y36(H.Is,8),g.Y36(h.F,8),g.Y36(h.sg,8),g.Y36(m.G_,8),g.Y36(h.a5,10),g.$8M("tabindex"),g.Y36(tt),g.Y36(s.Kd),g.Y36(N,8))},o.\u0275dir=g.lG2({type:o,viewQuery:function(n,c){if(1&n&&(g.Gf(X,5),g.Gf(ie,5),g.Gf(e.pI,5)),2&n){let u;g.iGM(u=g.CRH())&&(c.trigger=u.first),g.iGM(u=g.CRH())&&(c.panel=u.first),g.iGM(u=g.CRH())&&(c._overlayDir=u.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[g.qOj,g.TTD]}),o})(),r=(()=>{class o extends i{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(n,c,u){const y=this._getItemHeight();return Math.min(Math.max(0,y*n-c+y/2),u)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ae.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,ce.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(n){const c=(0,T.CB)(n,this.options,this.optionGroups),u=this._getItemHeight();this.panel.nativeElement.scrollTop=0===n&&1===c?0:(0,T.jH)((n+c)*u,u,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(n){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(n)}_getChangeEvent(n){return new D(this,n)}_calculateOverlayOffsetX(){const n=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),c=this._viewportRuler.getViewportSize(),u=this._isRtl(),y=this.multiple?56:32;let M;if(this.multiple)M=40;else if(this.disableOptionCentering)M=16;else{let nt=this._selectionModel.selected[0]||this.options.first;M=nt&&nt.group?32:16}u||(M*=-1);const j=0-(n.left+M-(u?y:0)),Ve=n.right+M-c.width+(u?0:y);j>0?M+=j+8:Ve>0&&(M-=Ve+8),this._overlayDir.offsetX=Math.round(M),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(n,c,u){const y=this._getItemHeight(),M=(y-this._triggerRect.height)/2,j=Math.floor(256/y);let Ve;return this.disableOptionCentering?0:(Ve=0===this._scrollTop?n*y:this._scrollTop===u?(n-(this._getItemCount()-j))*y+(y-(this._getItemCount()*y-256)%y):c-y/2,Math.round(-1*Ve-M))}_checkOverlayWithinViewport(n){const c=this._getItemHeight(),u=this._viewportRuler.getViewportSize(),y=this._triggerRect.top-8,M=u.height-this._triggerRect.bottom-8,j=Math.abs(this._offsetY),nt=Math.min(this._getItemCount()*c,256)-j-this._triggerRect.height;nt>M?this._adjustPanelUp(nt,M):j>y?this._adjustPanelDown(j,y,n):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(n,c){const u=Math.round(n-c);this._scrollTop-=u,this._offsetY-=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(n,c,u){const y=Math.round(n-c);if(this._scrollTop+=y,this._offsetY+=y,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=u)return this._scrollTop=u,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const n=this._getItemHeight(),c=this._getItemCount(),u=Math.min(c*n,256),M=c*n-u;let j;j=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),j+=(0,T.CB)(j,this.options,this.optionGroups);const Ve=u/2;this._scrollTop=this._calculateOverlayScroll(j,Ve,M),this._offsetY=this._calculateOverlayOffsetY(j,Ve,M),this._checkOverlayWithinViewport(M)}_getOriginBasedOnOption(){const n=this._getItemHeight(),c=(n-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-c+n/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return o.\u0275fac=function(){let t;return function(c){return(t||(t=g.n5z(o)))(c||o)}}(),o.\u0275cmp=g.Xpm({type:o,selectors:[["mat-select"]],contentQueries:function(n,c,u){if(1&n&&(g.Suo(u,I,5),g.Suo(u,T.ey,5),g.Suo(u,T.K7,5)),2&n){let y;g.iGM(y=g.CRH())&&(c.customTrigger=y.first),g.iGM(y=g.CRH())&&(c.options=y),g.iGM(y=g.CRH())&&(c.optionGroups=y)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(n,c){1&n&&g.NdJ("keydown",function(y){return c._handleKeydown(y)})("focus",function(){return c._onFocus()})("blur",function(){return c._onBlur()}),2&n&&(g.uIk("id",c.id)("tabindex",c.tabIndex)("aria-controls",c.panelOpen?c.id+"-panel":null)("aria-expanded",c.panelOpen)("aria-label",c.ariaLabel||null)("aria-required",c.required.toString())("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState)("aria-describedby",c._ariaDescribedby||null)("aria-activedescendant",c._getAriaActiveDescendant()),g.ekj("mat-select-disabled",c.disabled)("mat-select-invalid",c.errorState)("mat-select-required",c.required)("mat-select-empty",c.empty)("mat-select-multiple",c.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:m.Eo,useExisting:o},{provide:T.HF,useExisting:o}]),g.qOj],ngContentSelectors:ve,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,c){if(1&n&&(g.F$t(Me),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return c.toggle()}),g.TgZ(3,"div",2),g.YNc(4,oe,2,1,"span",3),g.YNc(5,Fe,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA(),g.qZA(),g.YNc(8,se,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return c.close()})("attach",function(){return c._onAttached()})("detach",function(){return c.close()})),2&n){const u=g.MAs(1);g.uIk("aria-owns",c.panelOpen?c.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",c.empty),g.uIk("id",c._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayOpen",c.panelOpen)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayMinWidth",null==c._triggerRect?null:c._triggerRect.width)("cdkConnectedOverlayOffsetY",c._offsetY)}},directives:[e.xu,f.RF,f.n9,f.ED,e.pI,f.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[me.transformPanelWrap,me.transformPanel]},changeDetection:0}),o})(),p=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=g.oAB({type:o}),o.\u0275inj=g.cJS({providers:[he],imports:[[f.ez,e.U8,T.Ng,T.BQ],A.ZD,m.lN,T.Ng,T.BQ]}),o})()},2638:(Ke,be,d)=>{"use strict";d.d(be,{JX:()=>Xe,TM:()=>tt,Rh:()=>Ye,SJ:()=>at});var e=d(70925),f=d(53435),g=d(69808),T=d(5e3),m=d(90508),A=d(63191),s=d(91159),b=d(8929),O=d(23753),E=d(36787),h=d(92198),k=d(24850),L=d(77604),Y=d(7625),J=d(75778),ue=d(72986),ce=d(1059),Le=d(80013),de=d(41777),ke=d(76360),ae=d(15664),V=d(50226);const H=["*"],X=["content"];function ie(N,he){if(1&N){const D=T.EpF();T.TgZ(0,"div",2),T.NdJ("click",function(){return T.CHM(D),T.oxw()._onBackdropClicked()}),T.qZA()}if(2&N){const D=T.oxw();T.ekj("mat-drawer-shown",D._isShowingBackdrop())}}function oe(N,he){1&N&&(T.TgZ(0,"mat-drawer-content"),T.Hsn(1,2),T.qZA())}const ge=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ne=["mat-drawer","mat-drawer-content","*"];function Fe(N,he){if(1&N){const D=T.EpF();T.TgZ(0,"div",2),T.NdJ("click",function(){return T.CHM(D),T.oxw()._onBackdropClicked()}),T.qZA()}if(2&N){const D=T.oxw();T.ekj("mat-drawer-shown",D._isShowingBackdrop())}}function se(N,he){1&N&&(T.TgZ(0,"mat-sidenav-content"),T.Hsn(1,2),T.qZA())}const Me=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ve=["mat-sidenav","mat-sidenav-content","*"],Te={transformDrawer:(0,de.X$)("transform",[(0,de.SB)("open, open-instant",(0,de.oB)({transform:"none",visibility:"visible"})),(0,de.SB)("void",(0,de.oB)({"box-shadow":"none",visibility:"hidden"})),(0,de.eR)("void => open-instant",(0,de.jt)("0ms")),(0,de.eR)("void <=> open, open-instant => void",(0,de.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},R=new T.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ie(){return!1}}),Oe=new T.OlP("MAT_DRAWER_CONTAINER");let He=(()=>{class N extends f.PQ{constructor(D,S,I,P,i){super(I,P,i),this._changeDetectorRef=D,this._container=S}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.sBO),T.Y36((0,T.Gpc)(()=>Ce)),T.Y36(T.SBq),T.Y36(f.mF),T.Y36(T.R0b))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(D,S){2&D&&T.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[T._Bn([{provide:f.PQ,useExisting:N}]),T.qOj],ngContentSelectors:H,decls:1,vars:0,template:function(D,S){1&D&&(T.F$t(),T.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),fe=(()=>{class N{constructor(D,S,I,P,i,r,p,o){this._elementRef=D,this._focusTrapFactory=S,this._focusMonitor=I,this._platform=P,this._ngZone=i,this._interactivityChecker=r,this._doc=p,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new b.xQ,this._animationEnd=new b.xQ,this._animationState="void",this.openedChange=new T.vpe(!0),this._openedStream=this.openedChange.pipe((0,h.h)(t=>t),(0,k.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,h.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),(0,L.h)(void 0)),this._closedStream=this.openedChange.pipe((0,h.h)(t=>!t),(0,k.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,h.h)(t=>t.fromState!==t.toState&&"void"===t.toState),(0,L.h)(void 0)),this._destroyed=new b.xQ,this.onPositionChanged=new T.vpe,this._modeChanged=new b.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,O.R)(this._elementRef.nativeElement,"keydown").pipe((0,h.h)(t=>t.keyCode===s.hY&&!this.disableClose&&!(0,s.Vb)(t)),(0,Y.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,J.x)((t,n)=>t.fromState===n.fromState&&t.toState===n.toState)).subscribe(t=>{const{fromState:n,toState:c}=t;(0===c.indexOf("open")&&"void"===n||"void"===c&&0===n.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(D){(D="end"===D?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(D),this._position=D,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(D){this._mode=D,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(D){this._disableClose=(0,A.Ig)(D)}get autoFocus(){const D=this._autoFocus;return null==D?"side"===this.mode?"dialog":"first-tabbable":D}set autoFocus(D){("true"===D||"false"===D||null==D)&&(D=(0,A.Ig)(D)),this._autoFocus=D}get opened(){return this._opened}set opened(D){this.toggle((0,A.Ig)(D))}_forceFocus(D,S){this._interactivityChecker.isFocusable(D)||(D.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{D.addEventListener("blur",()=>D.removeAttribute("tabindex")),D.addEventListener("mousedown",()=>D.removeAttribute("tabindex"))})),D.focus(S)}_focusByCssSelector(D,S){let I=this._elementRef.nativeElement.querySelector(D);I&&this._forceFocus(I,S)}_takeFocus(){if(!this._focusTrap)return;const D=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(S=>{!S&&"function"==typeof this._elementRef.nativeElement.focus&&D.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(D){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,D):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const D=this._doc.activeElement;return!!D&&this._elementRef.nativeElement.contains(D)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var D;this._focusTrap&&this._focusTrap.destroy(),null===(D=this._anchor)||void 0===D||D.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(D){return this.toggle(!0,D)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(D=!this.opened,S){D&&S&&(this._openedVia=S);const I=this._setOpen(D,!D&&this._isFocusWithinDrawer(),this._openedVia||"program");return D||(this._openedVia=null),I}_setOpen(D,S,I){return this._opened=D,D?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",S&&this._restoreFocus(I)),this._updateFocusTrapState(),new Promise(P=>{this.openedChange.pipe((0,ue.q)(1)).subscribe(i=>P(i?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(D){const S=this._elementRef.nativeElement,I=S.parentNode;"end"===D?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),I.insertBefore(this._anchor,S)),I.appendChild(S)):this._anchor&&this._anchor.parentNode.insertBefore(S,this._anchor)}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.SBq),T.Y36(ae.qV),T.Y36(ae.tE),T.Y36(e.t4),T.Y36(T.R0b),T.Y36(ae.ic),T.Y36(g.K0,8),T.Y36(Oe,8))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer"]],viewQuery:function(D,S){if(1&D&&T.Gf(X,5),2&D){let I;T.iGM(I=T.CRH())&&(S._content=I.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(D,S){1&D&&T.WFA("@transform.start",function(P){return S._animationStarted.next(P)})("@transform.done",function(P){return S._animationEnd.next(P)}),2&D&&(T.uIk("align",null),T.d8E("@transform",S._animationState),T.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:H,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(D,S){1&D&&(T.F$t(),T.TgZ(0,"div",0,1),T.Hsn(2),T.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Te.transformDrawer]},changeDetection:0}),N})(),Ce=(()=>{class N{constructor(D,S,I,P,i,r=!1,p){this._dir=D,this._element=S,this._ngZone=I,this._changeDetectorRef=P,this._animationMode=p,this._drawers=new T.n_E,this.backdropClick=new T.vpe,this._destroyed=new b.xQ,this._doCheckSubject=new b.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new b.xQ,D&&D.change.pipe((0,Y.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe((0,Y.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(D){this._autosize=(0,A.Ig)(D)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(D){this._backdropOverride=null==D?null:(0,A.Ig)(D)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ce.O)(this._allDrawers),(0,Y.R)(this._destroyed)).subscribe(D=>{this._drawers.reset(D.filter(S=>!S._container||S._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ce.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(D=>{this._watchDrawerToggle(D),this._watchDrawerPosition(D),this._watchDrawerMode(D)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Le.b)(10),(0,Y.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(D=>D.open())}close(){this._drawers.forEach(D=>D.close())}updateContentMargins(){let D=0,S=0;if(this._left&&this._left.opened)if("side"==this._left.mode)D+=this._left._getWidth();else if("push"==this._left.mode){const I=this._left._getWidth();D+=I,S-=I}if(this._right&&this._right.opened)if("side"==this._right.mode)S+=this._right._getWidth();else if("push"==this._right.mode){const I=this._right._getWidth();S+=I,D-=I}D=D||null,S=S||null,(D!==this._contentMargins.left||S!==this._contentMargins.right)&&(this._contentMargins={left:D,right:S},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(D){D._animationStarted.pipe((0,h.h)(S=>S.fromState!==S.toState),(0,Y.R)(this._drawers.changes)).subscribe(S=>{"open-instant"!==S.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==D.mode&&D.openedChange.pipe((0,Y.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(D.opened))}_watchDrawerPosition(D){!D||D.onPositionChanged.pipe((0,Y.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,ue.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(D){D&&D._modeChanged.pipe((0,Y.R)((0,E.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(D){const S=this._element.nativeElement.classList,I="mat-drawer-container-has-open";D?S.add(I):S.remove(I)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(D=>{"end"==D.position?this._end=D:this._start=D}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(D=>D&&!D.disableClose&&this._canHaveBackdrop(D)).forEach(D=>D._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(D){return"side"!==D.mode||!!this._backdropOverride}_isDrawerOpen(D){return null!=D&&D.opened}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(V.Is,8),T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(T.sBO),T.Y36(f.rL),T.Y36(R),T.Y36(ke.Qb,8))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer-container"]],contentQueries:function(D,S,I){if(1&D&&(T.Suo(I,He,5),T.Suo(I,fe,5)),2&D){let P;T.iGM(P=T.CRH())&&(S._content=P.first),T.iGM(P=T.CRH())&&(S._allDrawers=P)}},viewQuery:function(D,S){if(1&D&&T.Gf(He,5),2&D){let I;T.iGM(I=T.CRH())&&(S._userContent=I.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(D,S){2&D&&T.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[T._Bn([{provide:Oe,useExisting:N}])],ngContentSelectors:Ne,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(D,S){1&D&&(T.F$t(ge),T.YNc(0,ie,1,2,"div",0),T.Hsn(1),T.Hsn(2,1),T.YNc(3,oe,2,0,"mat-drawer-content",1)),2&D&&(T.Q6J("ngIf",S.hasBackdrop),T.xp6(3),T.Q6J("ngIf",!S._content))},directives:[He,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),N})(),Ye=(()=>{class N extends He{constructor(D,S,I,P,i){super(D,S,I,P,i)}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.sBO),T.Y36((0,T.Gpc)(()=>tt)),T.Y36(T.SBq),T.Y36(f.mF),T.Y36(T.R0b))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(D,S){2&D&&T.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[T._Bn([{provide:f.PQ,useExisting:N}]),T.qOj],ngContentSelectors:H,decls:1,vars:0,template:function(D,S){1&D&&(T.F$t(),T.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),Xe=(()=>{class N extends fe{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(D){this._fixedInViewport=(0,A.Ig)(D)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(D){this._fixedTopGap=(0,A.su)(D)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(D){this._fixedBottomGap=(0,A.su)(D)}}return N.\u0275fac=function(){let he;return function(S){return(he||(he=T.n5z(N)))(S||N)}}(),N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(D,S){2&D&&(T.uIk("align",null),T.Udp("top",S.fixedInViewport?S.fixedTopGap:null,"px")("bottom",S.fixedInViewport?S.fixedBottomGap:null,"px"),T.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened)("mat-sidenav-fixed",S.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[T.qOj],ngContentSelectors:H,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(D,S){1&D&&(T.F$t(),T.TgZ(0,"div",0,1),T.Hsn(2),T.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Te.transformDrawer]},changeDetection:0}),N})(),tt=(()=>{class N extends Ce{}return N.\u0275fac=function(){let he;return function(S){return(he||(he=T.n5z(N)))(S||N)}}(),N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav-container"]],contentQueries:function(D,S,I){if(1&D&&(T.Suo(I,Ye,5),T.Suo(I,Xe,5)),2&D){let P;T.iGM(P=T.CRH())&&(S._content=P.first),T.iGM(P=T.CRH())&&(S._allDrawers=P)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(D,S){2&D&&T.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},exportAs:["matSidenavContainer"],features:[T._Bn([{provide:Oe,useExisting:N}]),T.qOj],ngContentSelectors:ve,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(D,S){1&D&&(T.F$t(Me),T.YNc(0,Fe,1,2,"div",0),T.Hsn(1),T.Hsn(2,1),T.YNc(3,se,2,0,"mat-sidenav-content",1)),2&D&&(T.Q6J("ngIf",S.hasBackdrop),T.xp6(3),T.Q6J("ngIf",!S._content))},directives:[Ye,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),N})(),at=(()=>{class N{}return N.\u0275fac=function(D){return new(D||N)},N.\u0275mod=T.oAB({type:N}),N.\u0275inj=T.cJS({imports:[[g.ez,m.BQ,e.ud,f.ZD],f.ZD,m.BQ]}),N})()},32368:(Ke,be,d)=>{"use strict";d.d(be,{Rr:()=>Le,rP:()=>V});var e=d(17144),f=d(5e3),g=d(90508),T=d(63191),m=d(93075),A=d(76360),s=d(15664);const b=["thumbContainer"],O=["toggleBar"],E=["input"],h=function(H){return{enterDuration:H}},k=["*"],L=new f.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Y=0;const J={provide:m.JU,useExisting:(0,f.Gpc)(()=>Le),multi:!0};class ue{constructor(X,ie){this.source=X,this.checked=ie}}const ce=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends ce{constructor(ie,oe,ge,Ne,Fe,se){super(ie),this._focusMonitor=oe,this._changeDetectorRef=ge,this.defaults=Fe,this._onChange=Me=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++Y,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new f.vpe,this.toggleChange=new f.vpe,this.tabIndex=parseInt(Ne)||0,this.color=this.defaultColor=Fe.color||"accent",this._noopAnimations="NoopAnimations"===se}get required(){return this._required}set required(ie){this._required=(0,T.Ig)(ie)}get checked(){return this._checked}set checked(ie){this._checked=(0,T.Ig)(ie),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ie=>{ie||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(ie){ie.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(ie){ie.stopPropagation()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._onChange=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie,this._changeDetectorRef.markForCheck()}focus(ie,oe){oe?this._focusMonitor.focusVia(this._inputElement,oe,ie):this._inputElement.nativeElement.focus(ie)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new ue(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return H.\u0275fac=function(ie){return new(ie||H)(f.Y36(f.SBq),f.Y36(s.tE),f.Y36(f.sBO),f.$8M("tabindex"),f.Y36(L),f.Y36(A.Qb,8))},H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,oe){if(1&ie&&(f.Gf(b,5),f.Gf(O,5),f.Gf(E,5)),2&ie){let ge;f.iGM(ge=f.CRH())&&(oe._thumbEl=ge.first),f.iGM(ge=f.CRH())&&(oe._thumbBarEl=ge.first),f.iGM(ge=f.CRH())&&(oe._inputElement=ge.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(ie,oe){2&ie&&(f.Ikx("id",oe.id),f.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),f.ekj("mat-checked",oe.checked)("mat-disabled",oe.disabled)("mat-slide-toggle-label-before","before"==oe.labelPosition)("_mat-animation-noopable",oe._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[f._Bn([J]),f.qOj],ngContentSelectors:k,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(ie,oe){if(1&ie&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2,3),f.TgZ(4,"input",4,5),f.NdJ("change",function(Ne){return oe._onChangeEvent(Ne)})("click",function(Ne){return oe._onInputClick(Ne)}),f.qZA(),f.TgZ(6,"span",6,7),f._UZ(8,"span",8),f.TgZ(9,"span",9),f._UZ(10,"span",10),f.qZA(),f.qZA(),f.qZA(),f.TgZ(11,"span",11,12),f.NdJ("cdkObserveContent",function(){return oe._onLabelTextChange()}),f.TgZ(13,"span",13),f._uU(14,"\xa0"),f.qZA(),f.Hsn(15),f.qZA(),f.qZA()),2&ie){const ge=f.MAs(1),Ne=f.MAs(12);f.uIk("for",oe.inputId),f.xp6(2),f.ekj("mat-slide-toggle-bar-no-side-margin",!Ne.textContent||!Ne.textContent.trim()),f.xp6(2),f.Q6J("id",oe.inputId)("required",oe.required)("tabIndex",oe.tabIndex)("checked",oe.checked)("disabled",oe.disabled),f.uIk("name",oe.name)("aria-checked",oe.checked)("aria-label",oe.ariaLabel)("aria-labelledby",oe.ariaLabelledby)("aria-describedby",oe.ariaDescribedby),f.xp6(5),f.Q6J("matRippleTrigger",ge)("matRippleDisabled",oe.disableRipple||oe.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",f.VKq(18,h,oe._noopAnimations?0:150))}},directives:[g.wG,e.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})(),V=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[ae,g.si,g.BQ,e.Q8],ae,g.BQ]}),H})()},57261:(Ke,be,d)=>{"use strict";d.d(be,{ZX:()=>ce});var e=d(92845),f=d(47429),g=d(69808),T=d(5e3),m=d(90508),A=d(47423);d(41777);let ce=(()=>{class V{}return V.\u0275fac=function(X){return new(X||V)},V.\u0275mod=T.oAB({type:V}),V.\u0275inj=T.cJS({imports:[[e.U8,f.eL,g.ez,A.ot,m.BQ],m.BQ]}),V})()},84847:(Ke,be,d)=>{"use strict";d.d(be,{YE:()=>X,nU:()=>ge,JX:()=>Ne});var e=d(5e3),f=d(63191),g=d(91159),T=d(90508),m=d(8929),A=d(36787),s=d(41777),b=d(15664),O=d(69808);const E=["mat-sort-header",""];function h(Fe,se){if(1&Fe){const Me=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(Me),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(Me),e.oxw()._disableViewStateAnimation=!1}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6),e._UZ(4,"div",7),e._UZ(5,"div",8),e.qZA(),e.qZA()}if(2&Fe){const Me=e.oxw();e.Q6J("@arrowOpacity",Me._getArrowViewState())("@arrowPosition",Me._getArrowViewState())("@allowChildren",Me._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",Me._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",Me._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",Me._getArrowDirectionState())}}const k=["*"],L=T.mZ.ENTERING+" "+T.yN.STANDARD_CURVE,Y={indicator:(0,s.X$)("indicator",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"translateY(0px)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"translateY(10px)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),leftPointer:(0,s.X$)("leftPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),rightPointer:(0,s.X$)("rightPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),arrowOpacity:(0,s.X$)("arrowOpacity",[(0,s.SB)("desc-to-active, asc-to-active, active",(0,s.oB)({opacity:1})),(0,s.SB)("desc-to-hint, asc-to-hint, hint",(0,s.oB)({opacity:.54})),(0,s.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,s.oB)({opacity:0})),(0,s.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,s.jt)("0ms")),(0,s.eR)("* <=> *",(0,s.jt)(L))]),arrowPosition:(0,s.X$)("arrowPosition",[(0,s.eR)("* => desc-to-hint, * => desc-to-active",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(-25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-desc, * => active-to-desc",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(25%)"})]))),(0,s.eR)("* => asc-to-hint, * => asc-to-active",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-asc, * => active-to-asc",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(-25%)"})]))),(0,s.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,s.oB)({transform:"translateY(0)"})),(0,s.SB)("hint-to-desc, active-to-desc, desc",(0,s.oB)({transform:"translateY(-25%)"})),(0,s.SB)("hint-to-asc, active-to-asc, asc",(0,s.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,s.X$)("allowChildren",[(0,s.eR)("* <=> *",[(0,s.IO)("@*",(0,s.pV)(),{optional:!0})])])};let de=(()=>{class Fe{constructor(){this.changes=new m.xQ}}return Fe.\u0275fac=function(Me){return new(Me||Fe)},Fe.\u0275prov=e.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const ae={provide:de,deps:[[new e.FiY,new e.tp0,de]],useFactory:function ke(Fe){return Fe||new de}},V=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),H=(0,T.dB)((0,T.Id)(class{}));let X=(()=>{class Fe extends H{constructor(Me){super(),this._defaultOptions=Me,this.sortables=new Map,this._stateChanges=new m.xQ,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(Me){this._direction=Me}get disableClear(){return this._disableClear}set disableClear(Me){this._disableClear=(0,f.Ig)(Me)}register(Me){this.sortables.set(Me.id,Me)}deregister(Me){this.sortables.delete(Me.id)}sort(Me){this.active!=Me.id?(this.active=Me.id,this.direction=Me.start?Me.start:this.start):this.direction=this.getNextSortDirection(Me),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(Me){var ve,me,Te;if(!Me)return"";const te=null!==(me=null!==(ve=null==Me?void 0:Me.disableClear)&&void 0!==ve?ve:this.disableClear)&&void 0!==me?me:!!(null===(Te=this._defaultOptions)||void 0===Te?void 0:Te.disableClear);let R=function ie(Fe,se){let Me=["asc","desc"];return"desc"==Fe&&Me.reverse(),se||Me.push(""),Me}(Me.start||this.start,te),Oe=R.indexOf(this.direction)+1;return Oe>=R.length&&(Oe=0),R[Oe]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(e.Y36(V,8))},Fe.\u0275dir=e.lG2({type:Fe,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),Fe})();const oe=(0,T.Id)(class{});let ge=(()=>{class Fe extends oe{constructor(Me,ve,me,Te,te,R,Oe){super(),this._intl=Me,this._changeDetectorRef=ve,this._sort=me,this._columnDef=Te,this._focusMonitor=te,this._elementRef=R,this._ariaDescriber=Oe,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(Me){this._updateSortActionDescription(Me)}get disableClear(){return this._disableClear}set disableClear(Me){this._disableClear=(0,f.Ig)(Me)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Me=>{const ve=!!Me;ve!==this._showIndicatorHint&&(this._setIndicatorHintVisible(ve),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(Me){this._isDisabled()&&Me||(this._showIndicatorHint=Me,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(Me){this._viewState=Me||{},this._disableViewStateAnimation&&(this._viewState={toState:Me.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(Me){!this._isDisabled()&&(Me.keyCode===g.L_||Me.keyCode===g.K5)&&(Me.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const Me=this._viewState.fromState;return(Me?`${Me}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(Me){var ve,me;this._sortButton&&(null===(ve=this._ariaDescriber)||void 0===ve||ve.removeDescription(this._sortButton,this._sortActionDescription),null===(me=this._ariaDescriber)||void 0===me||me.describe(this._sortButton,Me)),this._sortActionDescription=Me}_handleStateChanges(){this._rerenderSubscription=(0,A.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(e.Y36(de),e.Y36(e.sBO),e.Y36(X,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(b.tE),e.Y36(e.SBq),e.Y36(b.$s,8))},Fe.\u0275cmp=e.Xpm({type:Fe,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(Me,ve){1&Me&&e.NdJ("click",function(){return ve._handleClick()})("keydown",function(Te){return ve._handleKeydown(Te)})("mouseenter",function(){return ve._setIndicatorHintVisible(!0)})("mouseleave",function(){return ve._setIndicatorHintVisible(!1)}),2&Me&&(e.uIk("aria-sort",ve._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",ve._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:E,ngContentSelectors:k,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(Me,ve){1&Me&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,h,6,6,"div",2),e.qZA()),2&Me&&(e.ekj("mat-sort-header-sorted",ve._isSorted())("mat-sort-header-position-before","before"==ve.arrowPosition),e.uIk("tabindex",ve._isDisabled()?null:0),e.xp6(3),e.Q6J("ngIf",ve._renderArrow()))},directives:[O.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[Y.indicator,Y.leftPointer,Y.rightPointer,Y.arrowOpacity,Y.arrowPosition,Y.allowChildren]},changeDetection:0}),Fe})(),Ne=(()=>{class Fe{}return Fe.\u0275fac=function(Me){return new(Me||Fe)},Fe.\u0275mod=e.oAB({type:Fe}),Fe.\u0275inj=e.cJS({providers:[ae],imports:[[O.ez,T.BQ]]}),Fe})()},92081:(Ke,be,d)=>{"use strict";d.d(be,{C0:()=>nt,BY:()=>Ve,VY:()=>o,Vq:()=>Wt,T5:()=>bt,fd:()=>Ht});var e=d(47429),f=d(15664),g=d(63191),T=d(91159),m=d(69808),A=d(5e3),s=d(70925),b=d(8929),O=d(21086),E=d(1059),h=d(7625),k=d(50226);function L(et,kt){1&et&&A.Hsn(0)}const Y=["*"];let J=(()=>{class et{constructor(pt){this._elementRef=pt}focus(){this._elementRef.nativeElement.focus()}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(A.SBq))},et.\u0275dir=A.lG2({type:et,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),et})(),ue=(()=>{class et{constructor(pt){this.template=pt}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(A.Rgc))},et.\u0275dir=A.lG2({type:et,selectors:[["","cdkStepLabel",""]]}),et})(),ce=0;const ke=new A.OlP("STEPPER_GLOBAL_OPTIONS");let ae=(()=>{class et{constructor(pt,It){this._stepper=pt,this.interacted=!1,this.interactedStream=new A.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=It||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(pt){this._editable=(0,g.Ig)(pt)}get optional(){return this._optional}set optional(pt){this._optional=(0,g.Ig)(pt)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(pt){this._completedOverride=(0,g.Ig)(pt)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(pt){this._customError=(0,g.Ig)(pt)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var pt;return null!==(pt=this._stepperOptions.showError)&&void 0!==pt?pt:null!=this._customError}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36((0,A.Gpc)(()=>V)),A.Y36(ke,8))},et.\u0275cmp=A.Xpm({type:et,selectors:[["cdk-step"]],contentQueries:function(pt,It,We){if(1&pt&&A.Suo(We,ue,5),2&pt){let qe;A.iGM(qe=A.CRH())&&(It.stepLabel=qe.first)}},viewQuery:function(pt,It){if(1&pt&&A.Gf(A.Rgc,7),2&pt){let We;A.iGM(We=A.CRH())&&(It.content=We.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.TTD],ngContentSelectors:Y,decls:1,vars:0,template:function(pt,It){1&pt&&(A.F$t(),A.YNc(0,L,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),et})(),V=(()=>{class et{constructor(pt,It,We,qe){this._dir=pt,this._changeDetectorRef=It,this._elementRef=We,this._destroyed=new b.xQ,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this._orientation="horizontal",this._groupId=ce++}get linear(){return this._linear}set linear(pt){this._linear=(0,g.Ig)(pt)}get selectedIndex(){return this._selectedIndex}set selectedIndex(pt){var It;const We=(0,g.su)(pt);this.steps&&this._steps?(this._isValidIndex(We),null===(It=this.selected)||void 0===It||It._markAsInteracted(),this._selectedIndex!==We&&!this._anyControlsInvalidOrPending(We)&&(We>=this._selectedIndex||this.steps.toArray()[We].editable)&&this._updateSelectedItemIndex(We)):this._selectedIndex=We}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(pt){this.selectedIndex=pt&&this.steps?this.steps.toArray().indexOf(pt):-1}get orientation(){return this._orientation}set orientation(pt){this._orientation=pt,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===pt)}ngAfterContentInit(){this._steps.changes.pipe((0,E.O)(this._steps),(0,h.R)(this._destroyed)).subscribe(pt=>{this.steps.reset(pt.filter(It=>It._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,E.O)(this._stepHeader),(0,h.R)(this._destroyed)).subscribe(pt=>{this._sortedHeaders.reset(pt.toArray().sort((It,We)=>It._elementRef.nativeElement.compareDocumentPosition(We._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new f.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.O)(this._layoutDirection()),(0,h.R)(this._destroyed)).subscribe(pt=>this._keyManager.withHorizontalOrientation(pt)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(pt=>pt.reset()),this._stateChanged()}_getStepLabelId(pt){return`cdk-step-label-${this._groupId}-${pt}`}_getStepContentId(pt){return`cdk-step-content-${this._groupId}-${pt}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(pt){const It=pt-this._selectedIndex;return It<0?"rtl"===this._layoutDirection()?"next":"previous":It>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(pt,It="number"){const We=this.steps.toArray()[pt],qe=this._isCurrentStep(pt);return We._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(We,qe):this._getGuidelineLogic(We,qe,It)}_getDefaultIndicatorLogic(pt,It){return pt._showError()&&pt.hasError&&!It?"error":!pt.completed||It?"number":pt.editable?"edit":"done"}_getGuidelineLogic(pt,It,We="number"){return pt._showError()&&pt.hasError&&!It?"error":pt.completed&&!It?"done":pt.completed&&It?We:pt.editable&&It?"edit":We}_isCurrentStep(pt){return this._selectedIndex===pt}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(pt){const It=this.steps.toArray();this.selectionChange.emit({selectedIndex:pt,previouslySelectedIndex:this._selectedIndex,selectedStep:It[pt],previouslySelectedStep:It[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(pt):this._keyManager.updateActiveItem(pt),this._selectedIndex=pt,this._stateChanged()}_onKeydown(pt){const It=(0,T.Vb)(pt),We=pt.keyCode,qe=this._keyManager;null==qe.activeItemIndex||It||We!==T.L_&&We!==T.K5?qe.onKeydown(pt):(this.selectedIndex=qe.activeItemIndex,pt.preventDefault())}_anyControlsInvalidOrPending(pt){return!!(this._linear&&pt>=0)&&this.steps.toArray().slice(0,pt).some(It=>{const We=It.stepControl;return(We?We.invalid||We.pending||!It.interacted:!It.completed)&&!It.optional&&!It._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const pt=this._elementRef.nativeElement,It=(0,s.ht)();return pt===It||pt.contains(It)}_isValidIndex(pt){return pt>-1&&(!this.steps||pt{class et{constructor(pt){this._stepper=pt,this.type="button"}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(V))},et.\u0275dir=A.lG2({type:et,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(pt,It){1&pt&&A.NdJ("click",function(){return It._stepper.previous()}),2&pt&&A.Ikx("type",It.type)},inputs:{type:"type"}}),et})(),ie=(()=>{class et{}return et.\u0275fac=function(pt){return new(pt||et)},et.\u0275mod=A.oAB({type:et}),et.\u0275inj=A.cJS({imports:[[k.vT]]}),et})();var oe=d(47423),ge=d(90508),Ne=d(25245),Fe=d(42654),se=d(87545),Me=d(24850),ve=d(75778),me=d(41777);function Te(et,kt){if(1&et&&A.GkF(0,8),2&et){const pt=A.oxw();A.Q6J("ngTemplateOutlet",pt.iconOverrides[pt.state])("ngTemplateOutletContext",pt._getIconContext())}}function te(et,kt){if(1&et&&(A.TgZ(0,"span",13),A._uU(1),A.qZA()),2&et){const pt=A.oxw(2);A.xp6(1),A.Oqu(pt._getDefaultTextForState(pt.state))}}function R(et,kt){if(1&et&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&et){const pt=A.oxw(2);A.xp6(1),A.Oqu(pt._intl.completedLabel)}}function Oe(et,kt){if(1&et&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&et){const pt=A.oxw(2);A.xp6(1),A.Oqu(pt._intl.editableLabel)}}function Ie(et,kt){if(1&et&&(A.TgZ(0,"mat-icon",13),A._uU(1),A.qZA()),2&et){const pt=A.oxw(2);A.xp6(1),A.Oqu(pt._getDefaultTextForState(pt.state))}}function He(et,kt){if(1&et&&(A.ynx(0,9),A.YNc(1,te,2,1,"span",10),A.YNc(2,R,2,1,"span",11),A.YNc(3,Oe,2,1,"span",11),A.YNc(4,Ie,2,1,"mat-icon",12),A.BQk()),2&et){const pt=A.oxw();A.Q6J("ngSwitch",pt.state),A.xp6(1),A.Q6J("ngSwitchCase","number"),A.xp6(1),A.Q6J("ngIf","done"===pt.state),A.xp6(1),A.Q6J("ngIf","edit"===pt.state)}}function fe(et,kt){if(1&et&&(A.TgZ(0,"div",15),A.GkF(1,16),A.qZA()),2&et){const pt=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",pt._templateLabel().template)}}function Ce(et,kt){if(1&et&&(A.TgZ(0,"div",15),A._uU(1),A.qZA()),2&et){const pt=A.oxw();A.xp6(1),A.Oqu(pt.label)}}function Ye(et,kt){if(1&et&&(A.TgZ(0,"div",17),A._uU(1),A.qZA()),2&et){const pt=A.oxw();A.xp6(1),A.Oqu(pt._intl.optionalLabel)}}function Xe(et,kt){if(1&et&&(A.TgZ(0,"div",18),A._uU(1),A.qZA()),2&et){const pt=A.oxw();A.xp6(1),A.Oqu(pt.errorMessage)}}function tt(et,kt){}function at(et,kt){if(1&et&&(A.Hsn(0),A.YNc(1,tt,0,0,"ng-template",0)),2&et){const pt=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",pt._portal)}}const N=["*"];function he(et,kt){1&et&&A._UZ(0,"div",9)}const D=function(et,kt){return{step:et,i:kt}};function S(et,kt){if(1&et&&(A.ynx(0),A.GkF(1,7),A.YNc(2,he,1,0,"div",8),A.BQk()),2&et){const pt=kt.$implicit,It=kt.index,We=kt.last;A.oxw(2);const qe=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",qe)("ngTemplateOutletContext",A.WLB(3,D,pt,It)),A.xp6(1),A.Q6J("ngIf",!We)}}function I(et,kt){if(1&et){const pt=A.EpF();A.TgZ(0,"div",10),A.NdJ("@horizontalStepTransition.done",function(We){return A.CHM(pt),A.oxw(2)._animationDone.next(We)}),A.GkF(1,11),A.qZA()}if(2&et){const pt=kt.$implicit,It=kt.index,We=A.oxw(2);A.Q6J("@horizontalStepTransition",We._getAnimationDirection(It))("id",We._getStepContentId(It)),A.uIk("aria-labelledby",We._getStepLabelId(It))("aria-expanded",We.selectedIndex===It),A.xp6(1),A.Q6J("ngTemplateOutlet",pt.content)}}function P(et,kt){if(1&et&&(A.ynx(0),A.TgZ(1,"div",3),A.YNc(2,S,3,6,"ng-container",4),A.qZA(),A.TgZ(3,"div",5),A.YNc(4,I,2,5,"div",6),A.qZA(),A.BQk()),2&et){const pt=A.oxw();A.xp6(2),A.Q6J("ngForOf",pt.steps),A.xp6(2),A.Q6J("ngForOf",pt.steps)}}function i(et,kt){if(1&et){const pt=A.EpF();A.TgZ(0,"div",13),A.GkF(1,7),A.TgZ(2,"div",14),A.TgZ(3,"div",15),A.NdJ("@verticalStepTransition.done",function(We){return A.CHM(pt),A.oxw(2)._animationDone.next(We)}),A.TgZ(4,"div",16),A.GkF(5,11),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&et){const pt=kt.$implicit,It=kt.index,We=kt.last,qe=A.oxw(2),re=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",re)("ngTemplateOutletContext",A.WLB(9,D,pt,It)),A.xp6(1),A.ekj("mat-stepper-vertical-line",!We),A.xp6(1),A.Q6J("@verticalStepTransition",qe._getAnimationDirection(It))("id",qe._getStepContentId(It)),A.uIk("aria-labelledby",qe._getStepLabelId(It))("aria-expanded",qe.selectedIndex===It),A.xp6(2),A.Q6J("ngTemplateOutlet",pt.content)}}function r(et,kt){if(1&et&&(A.ynx(0),A.YNc(1,i,6,12,"div",12),A.BQk()),2&et){const pt=A.oxw();A.xp6(1),A.Q6J("ngForOf",pt.steps)}}function p(et,kt){if(1&et){const pt=A.EpF();A.TgZ(0,"mat-step-header",17),A.NdJ("click",function(){return A.CHM(pt).step.select()})("keydown",function(We){return A.CHM(pt),A.oxw()._onKeydown(We)}),A.qZA()}if(2&et){const pt=kt.step,It=kt.i,We=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===We.orientation)("mat-vertical-stepper-header","vertical"===We.orientation),A.Q6J("tabIndex",We._getFocusIndex()===It?0:-1)("id",We._getStepLabelId(It))("index",It)("state",We._getIndicatorType(It,pt.state))("label",pt.stepLabel||pt.label)("selected",We.selectedIndex===It)("active",We._stepIsNavigable(It,pt))("optional",pt.optional)("errorMessage",pt.errorMessage)("iconOverrides",We._iconOverrides)("disableRipple",We.disableRipple||!We._stepIsNavigable(It,pt))("color",pt.color||We.color),A.uIk("aria-posinset",It+1)("aria-setsize",We.steps.length)("aria-controls",We._getStepContentId(It))("aria-selected",We.selectedIndex==It)("aria-label",pt.ariaLabel||null)("aria-labelledby",!pt.ariaLabel&&pt.ariaLabelledby?pt.ariaLabelledby:null)("aria-disabled",!We._stepIsNavigable(It,pt)||null)}}let o=(()=>{class et extends ue{}return et.\u0275fac=function(){let kt;return function(It){return(kt||(kt=A.n5z(et)))(It||et)}}(),et.\u0275dir=A.lG2({type:et,selectors:[["","matStepLabel",""]],features:[A.qOj]}),et})(),t=(()=>{class et{constructor(){this.changes=new b.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return et.\u0275fac=function(pt){return new(pt||et)},et.\u0275prov=A.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})();const c={provide:t,deps:[[new A.FiY,new A.tp0,t]],useFactory:function n(et){return et||new t}},u=(0,ge.pj)(class extends J{constructor(kt){super(kt)}},"primary");let y=(()=>{class et extends u{constructor(pt,It,We,qe){super(We),this._intl=pt,this._focusMonitor=It,this._intlSubscription=pt.changes.subscribe(()=>qe.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(pt,It){pt?this._focusMonitor.focusVia(this._elementRef,pt,It):this._elementRef.nativeElement.focus(It)}_stringLabel(){return this.label instanceof o?null:this.label}_templateLabel(){return this.label instanceof o?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(pt){return"number"==pt?`${this.index+1}`:"edit"==pt?"create":"error"==pt?"warning":pt}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(t),A.Y36(f.tE),A.Y36(A.SBq),A.Y36(A.sBO))},et.\u0275cmp=A.Xpm({type:et,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(pt,It){1&pt&&(A._UZ(0,"div",0),A.TgZ(1,"div"),A.TgZ(2,"div",1),A.YNc(3,Te,1,2,"ng-container",2),A.YNc(4,He,5,4,"ng-container",3),A.qZA(),A.qZA(),A.TgZ(5,"div",4),A.YNc(6,fe,2,1,"div",5),A.YNc(7,Ce,2,1,"div",5),A.YNc(8,Ye,2,1,"div",6),A.YNc(9,Xe,2,1,"div",7),A.qZA()),2&pt&&(A.Q6J("matRippleTrigger",It._getHostElement())("matRippleDisabled",It.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",It.state," mat-step-icon"),A.ekj("mat-step-icon-selected",It.selected),A.xp6(1),A.Q6J("ngSwitch",!(!It.iconOverrides||!It.iconOverrides[It.state])),A.xp6(1),A.Q6J("ngSwitchCase",!0),A.xp6(2),A.ekj("mat-step-label-active",It.active)("mat-step-label-selected",It.selected)("mat-step-label-error","error"==It.state),A.xp6(1),A.Q6J("ngIf",It._templateLabel()),A.xp6(1),A.Q6J("ngIf",It._stringLabel()),A.xp6(1),A.Q6J("ngIf",It.optional&&"error"!=It.state),A.xp6(1),A.Q6J("ngIf","error"==It.state))},directives:[Ne.Hw,ge.wG,m.RF,m.n9,m.tP,m.ED,m.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),et})();const M={horizontalStepTransition:(0,me.X$)("horizontalStepTransition",[(0,me.SB)("previous",(0,me.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,me.SB)("current",(0,me.oB)({transform:"none",visibility:"inherit"})),(0,me.SB)("next",(0,me.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,me.eR)("* => *",(0,me.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,me.X$)("verticalStepTransition",[(0,me.SB)("previous",(0,me.oB)({height:"0px",visibility:"hidden"})),(0,me.SB)("next",(0,me.oB)({height:"0px",visibility:"hidden"})),(0,me.SB)("current",(0,me.oB)({height:"*",visibility:"inherit"})),(0,me.eR)("* <=> current",(0,me.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let j=(()=>{class et{constructor(pt){this.templateRef=pt}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(A.Rgc))},et.\u0275dir=A.lG2({type:et,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),et})(),Ve=(()=>{class et{constructor(pt){this._template=pt}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(A.Rgc))},et.\u0275dir=A.lG2({type:et,selectors:[["ng-template","matStepContent",""]]}),et})(),nt=(()=>{class et extends ae{constructor(pt,It,We,qe){super(pt,qe),this._errorStateMatcher=It,this._viewContainerRef=We,this._isSelected=Fe.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,se.w)(()=>this._stepper.selectionChange.pipe((0,Me.U)(pt=>pt.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(pt=>{pt&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(pt,It){return this._errorStateMatcher.isErrorState(pt,It)||!!(pt&&pt.invalid&&this.interacted)}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36((0,A.Gpc)(()=>Wt)),A.Y36(ge.rD,4),A.Y36(A.s_b),A.Y36(ke,8))},et.\u0275cmp=A.Xpm({type:et,selectors:[["mat-step"]],contentQueries:function(pt,It,We){if(1&pt&&(A.Suo(We,o,5),A.Suo(We,Ve,5)),2&pt){let qe;A.iGM(qe=A.CRH())&&(It.stepLabel=qe.first),A.iGM(qe=A.CRH())&&(It._lazyContent=qe.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:ge.rD,useExisting:et},{provide:ae,useExisting:et}]),A.qOj],ngContentSelectors:N,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(pt,It){1&pt&&(A.F$t(),A.YNc(0,at,2,1,"ng-template"))},directives:[e.Pl],encapsulation:2,changeDetection:0}),et})(),Mt=(()=>{class et extends V{}return et.\u0275fac=function(){let kt;return function(It){return(kt||(kt=A.n5z(et)))(It||et)}}(),et.\u0275dir=A.lG2({type:et,features:[A.qOj]}),et})(),zt=(()=>{class et extends Mt{}return et.\u0275fac=function(){let kt;return function(It){return(kt||(kt=A.n5z(et)))(It||et)}}(),et.\u0275dir=A.lG2({type:et,selectors:[["mat-horizontal-stepper"]],features:[A.qOj]}),et})(),Vt=(()=>{class et extends Mt{}return et.\u0275fac=function(){let kt;return function(It){return(kt||(kt=A.n5z(et)))(It||et)}}(),et.\u0275dir=A.lG2({type:et,selectors:[["mat-vertical-stepper"]],features:[A.qOj]}),et})(),Wt=(()=>{class et extends V{constructor(pt,It,We,qe){super(pt,It,We,qe),this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new b.xQ;const re=We.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===re?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:pt,templateRef:It})=>this._iconOverrides[pt]=It),this.steps.changes.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,ve.x)((pt,It)=>pt.fromState===It.fromState&&pt.toState===It.toState),(0,h.R)(this._destroyed)).subscribe(pt=>{"current"===pt.toState&&this.animationDone.emit()})}_stepIsNavigable(pt,It){return It.completed||this.selectedIndex===pt||!this.linear}}return et.\u0275fac=function(pt){return new(pt||et)(A.Y36(k.Is,8),A.Y36(A.sBO),A.Y36(A.SBq),A.Y36(m.K0))},et.\u0275cmp=A.Xpm({type:et,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(pt,It,We){if(1&pt&&(A.Suo(We,nt,5),A.Suo(We,j,5)),2&pt){let qe;A.iGM(qe=A.CRH())&&(It._steps=qe),A.iGM(qe=A.CRH())&&(It._icons=qe)}},viewQuery:function(pt,It){if(1&pt&&A.Gf(y,5),2&pt){let We;A.iGM(We=A.CRH())&&(It._stepHeader=We)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(pt,It){2&pt&&(A.uIk("aria-orientation",It.orientation),A.ekj("mat-stepper-horizontal","horizontal"===It.orientation)("mat-stepper-vertical","vertical"===It.orientation)("mat-stepper-label-position-end","horizontal"===It.orientation&&"end"==It.labelPosition)("mat-stepper-label-position-bottom","horizontal"===It.orientation&&"bottom"==It.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:V,useExisting:et},{provide:zt,useExisting:et},{provide:Vt,useExisting:et}]),A.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(pt,It){1&pt&&(A.ynx(0,0),A.YNc(1,P,5,2,"ng-container",1),A.YNc(2,r,2,1,"ng-container",1),A.BQk(),A.YNc(3,p,1,23,"ng-template",null,2,A.W1O)),2&pt&&(A.Q6J("ngSwitch",It.orientation),A.xp6(1),A.Q6J("ngSwitchCase","horizontal"),A.xp6(1),A.Q6J("ngSwitchCase","vertical"))},directives:[y,m.RF,m.n9,m.sg,m.tP,m.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[M.horizontalStepTransition,M.verticalStepTransition]},changeDetection:0}),et})(),Ht=(()=>{class et extends X{}return et.\u0275fac=function(){let kt;return function(It){return(kt||(kt=A.n5z(et)))(It||et)}}(),et.\u0275dir=A.lG2({type:et,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(pt,It){2&pt&&A.Ikx("type",It.type)},inputs:{type:"type"},features:[A.qOj]}),et})(),bt=(()=>{class et{}return et.\u0275fac=function(pt){return new(pt||et)},et.\u0275mod=A.oAB({type:et}),et.\u0275inj=A.cJS({providers:[c,ge.rD],imports:[[ge.BQ,m.ez,e.eL,oe.ot,ie,Ne.Ps,ge.si],ge.BQ]}),et})()},32075:(Ke,be,d)=>{"use strict";d.d(be,{ev:()=>Ct,Dz:()=>_e,w1:()=>Bt,ge:()=>jt,fO:()=>Ue,XQ:()=>li,as:()=>mt,Gk:()=>Ci,nj:()=>Gt,BZ:()=>ee,by:()=>Qi,p0:()=>$i});var e=d(5e3),f=d(63191),g=d(20449),T=d(69808),m=d(8929),A=d(5254),s=d(591),b=d(54715),O=d(21086),E=d(7625),h=d(72986),k=d(50226),L=d(70925),Y=d(53435);const J=[[["caption"]],[["colgroup"],["col"]]],ue=["caption","colgroup, col"];function de($e){return class extends $e{constructor(...vt){super(...vt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(vt){const Qe=this._sticky;this._sticky=(0,f.Ig)(vt),this._hasStickyChanged=Qe!==this._sticky}hasStickyChanged(){const vt=this._hasStickyChanged;return this._hasStickyChanged=!1,vt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ke=new e.OlP("CDK_TABLE");let V=(()=>{class $e{constructor(Qe){this.template=Qe}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellDef",""]]}),$e})(),H=(()=>{class $e{constructor(Qe){this.template=Qe}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkHeaderCellDef",""]]}),$e})(),X=(()=>{class $e{constructor(Qe){this.template=Qe}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkFooterCellDef",""]]}),$e})();class ie{}const oe=de(ie);let ge=(()=>{class $e extends oe{constructor(Qe){super(),this._table=Qe,this._stickyEnd=!1}get name(){return this._name}set name(Qe){this._setNameInput(Qe)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Qe){const Ze=this._stickyEnd;this._stickyEnd=(0,f.Ig)(Qe),this._hasStickyChanged=Ze!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Qe){Qe&&(this._name=Qe,this.cssClassFriendlyName=Qe.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(ke,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkColumnDef",""]],contentQueries:function(Qe,Ze,gt){if(1&Qe&&(e.Suo(gt,V,5),e.Suo(gt,H,5),e.Suo(gt,X,5)),2&Qe){let F;e.iGM(F=e.CRH())&&(Ze.cell=F.first),e.iGM(F=e.CRH())&&(Ze.headerCell=F.first),e.iGM(F=e.CRH())&&(Ze.footerCell=F.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),e.qOj]}),$e})();class Ne{constructor(vt,Qe){Qe.nativeElement.classList.add(...vt._columnCssClassName)}}let Fe=(()=>{class $e extends Ne{constructor(Qe,Ze){super(Qe,Ze)}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(ge),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),$e})(),Me=(()=>{class $e extends Ne{constructor(Qe,Ze){var gt;if(super(Qe,Ze),1===(null===(gt=Qe._table)||void 0===gt?void 0:gt._elementRef.nativeElement.nodeType)){const F=Qe._table._elementRef.nativeElement.getAttribute("role");Ze.nativeElement.setAttribute("role","grid"===F||"treegrid"===F?"gridcell":"cell")}}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(ge),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),$e})();class ve{constructor(){this.tasks=[],this.endTasks=[]}}const me=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Te=(()=>{class $e{constructor(Qe){this._ngZone=Qe,this._currentSchedule=null,this._destroyed=new m.xQ}schedule(Qe){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Qe)}scheduleEnd(Qe){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Qe)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ve,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Qe=this._currentSchedule;this._currentSchedule=new ve;for(const Ze of Qe.tasks)Ze();for(const Ze of Qe.endTasks)Ze()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,A.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,h.q)(1))}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.LFG(e.R0b))},$e.\u0275prov=e.Yz7({token:$e,factory:$e.\u0275fac}),$e})(),R=(()=>{class $e{constructor(Qe,Ze){this.template=Qe,this._differs=Ze}ngOnChanges(Qe){if(!this._columnsDiffer){const Ze=Qe.columns&&Qe.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ze).create(),this._columnsDiffer.diff(Ze)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Qe){return this instanceof He?Qe.headerCell.template:this instanceof Ye?Qe.footerCell.template:Qe.cell.template}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},$e.\u0275dir=e.lG2({type:$e,features:[e.TTD]}),$e})();class Oe extends R{}const Ie=de(Oe);let He=(()=>{class $e extends Ie{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),$e})();class fe extends R{}const Ce=de(fe);let Ye=(()=>{class $e extends Ce{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),$e})(),Xe=(()=>{class $e extends R{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),$e})(),tt=(()=>{class $e{constructor(Qe){this._viewContainer=Qe,$e.mostRecentCellOutlet=this}ngOnDestroy(){$e.mostRecentCellOutlet===this&&($e.mostRecentCellOutlet=null)}}return $e.mostRecentCellOutlet=null,$e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.s_b))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellOutlet",""]]}),$e})(),at=(()=>{class $e{}return $e.\u0275fac=function(Qe){return new(Qe||$e)},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),$e})(),he=(()=>{class $e{}return $e.\u0275fac=function(Qe){return new(Qe||$e)},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),$e})(),D=(()=>{class $e{constructor(Qe){this.templateRef=Qe,this._contentClassName="cdk-no-data-row"}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["ng-template","cdkNoDataRow",""]]}),$e})();const S=["top","bottom","left","right"];class I{constructor(vt,Qe,Ze,gt,F=!0,Be=!0,dt){this._isNativeHtmlTable=vt,this._stickCellCss=Qe,this.direction=Ze,this._coalescedStyleScheduler=gt,this._isBrowser=F,this._needsPositionStickyOnElement=Be,this._positionListener=dt,this._cachedCellWidths=[],this._borderCellCss={top:`${Qe}-border-elem-top`,bottom:`${Qe}-border-elem-bottom`,left:`${Qe}-border-elem-left`,right:`${Qe}-border-elem-right`}}clearStickyPositioning(vt,Qe){const Ze=[];for(const gt of vt)if(gt.nodeType===gt.ELEMENT_NODE){Ze.push(gt);for(let F=0;F{for(const gt of Ze)this._removeStickyStyle(gt,Qe)})}updateStickyColumns(vt,Qe,Ze,gt=!0){if(!vt.length||!this._isBrowser||!Qe.some(bi=>bi)&&!Ze.some(bi=>bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const F=vt[0],Be=F.children.length,dt=this._getCellWidths(F,gt),Dt=this._getStickyStartColumnPositions(dt,Qe),ei=this._getStickyEndColumnPositions(dt,Ze),Qt=Qe.lastIndexOf(!0),Ri=Ze.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const bi="rtl"===this.direction,Li=bi?"right":"left",Ji=bi?"left":"right";for(const Ni of vt)for(let Hi=0;HiQe[Hi]?Ni:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ri?[]:dt.slice(Ri).map((Ni,Hi)=>Ze[Hi+Ri]?Ni:null).reverse()}))})}stickRows(vt,Qe,Ze){if(!this._isBrowser)return;const gt="bottom"===Ze?vt.slice().reverse():vt,F="bottom"===Ze?Qe.slice().reverse():Qe,Be=[],dt=[],Dt=[];for(let Qt=0,Ri=0;Qt{var Qt,Ri;for(let bi=0;bi{Qe.some(gt=>!gt)?this._removeStickyStyle(Ze,["bottom"]):this._addStickyStyle(Ze,"bottom",0,!1)})}_removeStickyStyle(vt,Qe){for(const gt of Qe)vt.style[gt]="",vt.classList.remove(this._borderCellCss[gt]);S.some(gt=>-1===Qe.indexOf(gt)&&vt.style[gt])?vt.style.zIndex=this._getCalculatedZIndex(vt):(vt.style.zIndex="",this._needsPositionStickyOnElement&&(vt.style.position=""),vt.classList.remove(this._stickCellCss))}_addStickyStyle(vt,Qe,Ze,gt){vt.classList.add(this._stickCellCss),gt&&vt.classList.add(this._borderCellCss[Qe]),vt.style[Qe]=`${Ze}px`,vt.style.zIndex=this._getCalculatedZIndex(vt),this._needsPositionStickyOnElement&&(vt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(vt){const Qe={top:100,bottom:10,left:1,right:1};let Ze=0;for(const gt of S)vt.style[gt]&&(Ze+=Qe[gt]);return Ze?`${Ze}`:""}_getCellWidths(vt,Qe=!0){if(!Qe&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ze=[],gt=vt.children;for(let F=0;F0;F--)Qe[F]&&(Ze[F]=gt,gt+=vt[F]);return Ze}}const u=new e.OlP("CDK_SPL");let M=(()=>{class $e{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","rowOutlet",""]]}),$e})(),j=(()=>{class $e{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","headerRowOutlet",""]]}),$e})(),Ve=(()=>{class $e{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","footerRowOutlet",""]]}),$e})(),nt=(()=>{class $e{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","noDataRowOutlet",""]]}),$e})(),Vt=(()=>{class $e{constructor(Qe,Ze,gt,F,Be,dt,Dt,ei,Qt,Ri,bi,Li){this._differs=Qe,this._changeDetectorRef=Ze,this._elementRef=gt,this._dir=Be,this._platform=Dt,this._viewRepeater=ei,this._coalescedStyleScheduler=Qt,this._viewportRuler=Ri,this._stickyPositioningListener=bi,this._ngZone=Li,this._onDestroy=new m.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new s.X({start:0,end:Number.MAX_VALUE}),F||this._elementRef.nativeElement.setAttribute("role","table"),this._document=dt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(Qe){this._trackByFn=Qe}get dataSource(){return this._dataSource}set dataSource(Qe){this._dataSource!==Qe&&this._switchDataSource(Qe)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Qe){this._multiTemplateDataRows=(0,f.Ig)(Qe),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Qe){this._fixedLayout=(0,f.Ig)(Qe),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Qe,Ze)=>this.trackBy?this.trackBy(Ze.dataIndex,Ze.data):Ze),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ze=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ze,this._forceRecalculateCellWidths=Ze,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Qe=>{Qe.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Qe=this._dataDiffer.diff(this._renderRows);if(!Qe)return this._updateNoDataRow(),void this.contentChanged.next();const Ze=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Qe,Ze,(gt,F,Be)=>this._getEmbeddedViewArgs(gt.item,Be),gt=>gt.item.data,gt=>{1===gt.operation&>.context&&this._renderCellTemplateForItem(gt.record.item.rowDef,gt.context)}),this._updateRowIndexContext(),Qe.forEachIdentityChange(gt=>{Ze.get(gt.currentIndex).context.$implicit=gt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,h.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Qe){this._customColumnDefs.add(Qe)}removeColumnDef(Qe){this._customColumnDefs.delete(Qe)}addRowDef(Qe){this._customRowDefs.add(Qe)}removeRowDef(Qe){this._customRowDefs.delete(Qe)}addHeaderRowDef(Qe){this._customHeaderRowDefs.add(Qe),this._headerRowDefChanged=!0}removeHeaderRowDef(Qe){this._customHeaderRowDefs.delete(Qe),this._headerRowDefChanged=!0}addFooterRowDef(Qe){this._customFooterRowDefs.add(Qe),this._footerRowDefChanged=!0}removeFooterRowDef(Qe){this._customFooterRowDefs.delete(Qe),this._footerRowDefChanged=!0}setNoDataRow(Qe){this._customNoDataRow=Qe}updateStickyHeaderRowStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),gt=this._elementRef.nativeElement.querySelector("thead");gt&&(gt.style.display=Qe.length?"":"none");const F=this._headerRowDefs.map(Be=>Be.sticky);this._stickyStyler.clearStickyPositioning(Qe,["top"]),this._stickyStyler.stickRows(Qe,F,"top"),this._headerRowDefs.forEach(Be=>Be.resetStickyChanged())}updateStickyFooterRowStyles(){const Qe=this._getRenderedRows(this._footerRowOutlet),gt=this._elementRef.nativeElement.querySelector("tfoot");gt&&(gt.style.display=Qe.length?"":"none");const F=this._footerRowDefs.map(Be=>Be.sticky);this._stickyStyler.clearStickyPositioning(Qe,["bottom"]),this._stickyStyler.stickRows(Qe,F,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,F),this._footerRowDefs.forEach(Be=>Be.resetStickyChanged())}updateStickyColumnStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),Ze=this._getRenderedRows(this._rowOutlet),gt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Qe,...Ze,...gt],["left","right"]),this._stickyColumnStylesNeedReset=!1),Qe.forEach((F,Be)=>{this._addStickyColumnStyles([F],this._headerRowDefs[Be])}),this._rowDefs.forEach(F=>{const Be=[];for(let dt=0;dt{this._addStickyColumnStyles([F],this._footerRowDefs[Be])}),Array.from(this._columnDefsByName.values()).forEach(F=>F.resetStickyChanged())}_getAllRenderRows(){const Qe=[],Ze=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let gt=0;gt{const dt=gt&>.has(Be)?gt.get(Be):[];if(dt.length){const Dt=dt.shift();return Dt.dataIndex=Ze,Dt}return{data:Qe,rowDef:Be,dataIndex:Ze}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Wt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ze=>{this._columnDefsByName.has(Ze.name),this._columnDefsByName.set(Ze.name,Ze)})}_cacheRowDefs(){this._headerRowDefs=Wt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Wt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Wt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Qe=this._rowDefs.filter(Ze=>!Ze.when);this._defaultRowDef=Qe[0]}_renderUpdatedColumns(){const Qe=(Be,dt)=>Be||!!dt.getColumnsDiff(),Ze=this._rowDefs.reduce(Qe,!1);Ze&&this._forceRenderDataRows();const gt=this._headerRowDefs.reduce(Qe,!1);gt&&this._forceRenderHeaderRows();const F=this._footerRowDefs.reduce(Qe,!1);return F&&this._forceRenderFooterRows(),Ze||gt||F}_switchDataSource(Qe){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Qe||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Qe}_observeRenderChanges(){if(!this.dataSource)return;let Qe;(0,g.Z9)(this.dataSource)?Qe=this.dataSource.connect(this):(0,b.b)(this.dataSource)?Qe=this.dataSource:Array.isArray(this.dataSource)&&(Qe=(0,O.of)(this.dataSource)),this._renderChangeSubscription=Qe.pipe((0,E.R)(this._onDestroy)).subscribe(Ze=>{this._data=Ze||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Qe,Ze)=>this._renderRow(this._headerRowOutlet,Qe,Ze)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Qe,Ze)=>this._renderRow(this._footerRowOutlet,Qe,Ze)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Qe,Ze){const gt=Array.from(Ze.columns||[]).map(dt=>this._columnDefsByName.get(dt)),F=gt.map(dt=>dt.sticky),Be=gt.map(dt=>dt.stickyEnd);this._stickyStyler.updateStickyColumns(Qe,F,Be,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Qe){const Ze=[];for(let gt=0;gt!F.when||F.when(Ze,Qe));else{let F=this._rowDefs.find(Be=>Be.when&&Be.when(Ze,Qe))||this._defaultRowDef;F&>.push(F)}return gt}_getEmbeddedViewArgs(Qe,Ze){return{templateRef:Qe.rowDef.template,context:{$implicit:Qe.data},index:Ze}}_renderRow(Qe,Ze,gt,F={}){const Be=Qe.viewContainer.createEmbeddedView(Ze.template,F,gt);return this._renderCellTemplateForItem(Ze,F),Be}_renderCellTemplateForItem(Qe,Ze){for(let gt of this._getCellTemplates(Qe))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(gt,Ze);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Qe=this._rowOutlet.viewContainer;for(let Ze=0,gt=Qe.length;Ze{const gt=this._columnDefsByName.get(Ze);return Qe.extractCellTemplate(gt)}):[]}_applyNativeTableSections(){const Qe=this._document.createDocumentFragment(),Ze=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const gt of Ze){const F=this._document.createElement(gt.tag);F.setAttribute("role","rowgroup");for(const Be of gt.outlets)F.appendChild(Be.elementRef.nativeElement);Qe.appendChild(F)}this._elementRef.nativeElement.appendChild(Qe)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Qe=(Ze,gt)=>Ze||gt.hasStickyChanged();this._headerRowDefs.reduce(Qe,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Qe,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Qe,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new I(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Ze=>{this._stickyStyler.direction=Ze,this.updateStickyColumnStyles()})}_getOwnDefs(Qe){return Qe.filter(Ze=>!Ze._table||Ze._table===this)}_updateNoDataRow(){const Qe=this._customNoDataRow||this._noDataRow;if(!Qe)return;const Ze=0===this._rowOutlet.viewContainer.length;if(Ze===this._isShowingNoDataRow)return;const gt=this._noDataRowOutlet.viewContainer;if(Ze){const F=gt.createEmbeddedView(Qe.templateRef),Be=F.rootNodes[0];1===F.rootNodes.length&&(null==Be?void 0:Be.nodeType)===this._document.ELEMENT_NODE&&(Be.setAttribute("role","row"),Be.classList.add(Qe._contentClassName))}else gt.clear();this._isShowingNoDataRow=Ze}}return $e.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(k.Is,8),e.Y36(T.K0),e.Y36(L.t4),e.Y36(g.k),e.Y36(me),e.Y36(Y.rL),e.Y36(u,12),e.Y36(e.R0b,8))},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Qe,Ze,gt){if(1&Qe&&(e.Suo(gt,D,5),e.Suo(gt,ge,5),e.Suo(gt,Xe,5),e.Suo(gt,He,5),e.Suo(gt,Ye,5)),2&Qe){let F;e.iGM(F=e.CRH())&&(Ze._noDataRow=F.first),e.iGM(F=e.CRH())&&(Ze._contentColumnDefs=F),e.iGM(F=e.CRH())&&(Ze._contentRowDefs=F),e.iGM(F=e.CRH())&&(Ze._contentHeaderRowDefs=F),e.iGM(F=e.CRH())&&(Ze._contentFooterRowDefs=F)}},viewQuery:function(Qe,Ze){if(1&Qe&&(e.Gf(M,7),e.Gf(j,7),e.Gf(Ve,7),e.Gf(nt,7)),2&Qe){let gt;e.iGM(gt=e.CRH())&&(Ze._rowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._headerRowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._footerRowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._noDataRowOutlet=gt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Qe,Ze){2&Qe&&e.ekj("cdk-table-fixed-layout",Ze.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ke,useExisting:$e},{provide:g.k,useClass:g.yy},{provide:me,useClass:Te},{provide:u,useValue:null}])],ngContentSelectors:ue,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Ze){1&Qe&&(e.F$t(J),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[j,M,nt,Ve],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),$e})();function Wt($e,vt){return $e.concat(Array.from(vt))}let bt=(()=>{class $e{}return $e.\u0275fac=function(Qe){return new(Qe||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[[Y.Cl]]}),$e})();var et=d(90508),kt=d(36787),pt=d(36053),It=d(24850);const We=[[["caption"]],[["colgroup"],["col"]]],qe=["caption","colgroup, col"];let ee=(()=>{class $e extends Vt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(Qe,Ze){2&Qe&&e.ekj("mat-table-fixed-layout",Ze.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:g.k,useClass:g.yy},{provide:Vt,useExisting:$e},{provide:ke,useExisting:$e},{provide:me,useClass:Te},{provide:u,useValue:null}]),e.qOj],ngContentSelectors:qe,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Ze){1&Qe&&(e.F$t(We),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[j,M,nt,Ve],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),$e})(),_e=(()=>{class $e extends V{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:V,useExisting:$e}]),e.qOj]}),$e})(),Ue=(()=>{class $e extends H{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:H,useExisting:$e}]),e.qOj]}),$e})(),Bt=(()=>{class $e extends ge{get name(){return this._name}set name(Qe){this._setNameInput(Qe)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:ge,useExisting:$e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),e.qOj]}),$e})(),jt=(()=>{class $e extends Fe{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),$e})(),Ct=(()=>{class $e extends Me{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),$e})(),mt=(()=>{class $e extends He{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:He,useExisting:$e}]),e.qOj]}),$e})(),Gt=(()=>{class $e extends Xe{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Xe,useExisting:$e}]),e.qOj]}),$e})(),li=(()=>{class $e extends at{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:at,useExisting:$e}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),$e})(),Ci=(()=>{class $e extends he{}return $e.\u0275fac=function(){let vt;return function(Ze){return(vt||(vt=e.n5z($e)))(Ze||$e)}}(),$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:he,useExisting:$e}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),$e})(),$i=(()=>{class $e{}return $e.\u0275fac=function(Qe){return new(Qe||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[[bt,et.BQ],et.BQ]}),$e})();class bn extends g.o2{constructor(vt=[]){super(),this._renderData=new s.X([]),this._filter=new s.X(""),this._internalPageChanges=new m.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(Qe,Ze)=>{const gt=Qe[Ze];if((0,f.t6)(gt)){const F=Number(gt);return F<9007199254740991?F:gt}return gt},this.sortData=(Qe,Ze)=>{const gt=Ze.active,F=Ze.direction;return gt&&""!=F?Qe.sort((Be,dt)=>{let Dt=this.sortingDataAccessor(Be,gt),ei=this.sortingDataAccessor(dt,gt);const Qt=typeof Dt,Ri=typeof ei;Qt!==Ri&&("number"===Qt&&(Dt+=""),"number"===Ri&&(ei+=""));let bi=0;return null!=Dt&&null!=ei?Dt>ei?bi=1:Dt{const gt=Object.keys(Qe).reduce((Be,dt)=>Be+Qe[dt]+"\u25ec","").toLowerCase(),F=Ze.trim().toLowerCase();return-1!=gt.indexOf(F)},this._data=new s.X(vt),this._updateChangeSubscription()}get data(){return this._data.value}set data(vt){vt=Array.isArray(vt)?vt:[],this._data.next(vt),this._renderChangesSubscription||this._filterData(vt)}get filter(){return this._filter.value}set filter(vt){this._filter.next(vt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(vt){this._sort=vt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(vt){this._paginator=vt,this._updateChangeSubscription()}_updateChangeSubscription(){var vt;const Qe=this._sort?(0,kt.T)(this._sort.sortChange,this._sort.initialized):(0,O.of)(null),Ze=this._paginator?(0,kt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,O.of)(null),F=(0,pt.aj)([this._data,this._filter]).pipe((0,It.U)(([Dt])=>this._filterData(Dt))),Be=(0,pt.aj)([F,Qe]).pipe((0,It.U)(([Dt])=>this._orderData(Dt))),dt=(0,pt.aj)([Be,Ze]).pipe((0,It.U)(([Dt])=>this._pageData(Dt)));null===(vt=this._renderChangesSubscription)||void 0===vt||vt.unsubscribe(),this._renderChangesSubscription=dt.subscribe(Dt=>this._renderData.next(Dt))}_filterData(vt){return this.filteredData=null==this.filter||""===this.filter?vt:vt.filter(Qe=>this.filterPredicate(Qe,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(vt){return this.sort?this.sortData(vt.slice(),this.sort):vt}_pageData(vt){if(!this.paginator)return vt;const Qe=this.paginator.pageIndex*this.paginator.pageSize;return vt.slice(Qe,Qe+this.paginator.pageSize)}_updatePaginator(vt){Promise.resolve().then(()=>{const Qe=this.paginator;if(Qe&&(Qe.length=vt,Qe.pageIndex>0)){const Ze=Math.ceil(Qe.length/Qe.pageSize)-1||0,gt=Math.min(Qe.pageIndex,Ze);gt!==Qe.pageIndex&&(Qe.pageIndex=gt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var vt;null===(vt=this._renderChangesSubscription)||void 0===vt||vt.unsubscribe(),this._renderChangesSubscription=null}}class Qi extends bn{}},53251:(Ke,be,d)=>{"use strict";d.d(be,{uX:()=>P,Vc:()=>at,SP:()=>Ht,uD:()=>D,Nh:()=>re});var e=d(15664),f=d(17144),g=d(47429),T=d(69808),m=d(5e3),A=d(90508),s=d(76360),b=d(8929),O=d(42654),E=d(23753),h=d(21086),k=d(36787),L=d(98723),Y=d(41777),J=d(1059),ue=d(75778),ce=d(7625),Le=d(50226),de=d(63191),ke=d(91159),ae=d(70925),V=d(53435);function H(Z,G){1&Z&&m.Hsn(0)}const X=["*"];function ie(Z,G){}const oe=function(Z){return{animationDuration:Z}},ge=function(Z,G){return{value:Z,params:G}},Ne=["tabListContainer"],Fe=["tabList"],se=["tabListInner"],Me=["nextPaginator"],ve=["previousPaginator"],me=["tabBodyWrapper"],Te=["tabHeader"];function te(Z,G){}function R(Z,G){if(1&Z&&m.YNc(0,te,0,0,"ng-template",10),2&Z){const ee=m.oxw().$implicit;m.Q6J("cdkPortalOutlet",ee.templateLabel)}}function Oe(Z,G){if(1&Z&&m._uU(0),2&Z){const ee=m.oxw().$implicit;m.Oqu(ee.textLabel)}}function Ie(Z,G){if(1&Z){const ee=m.EpF();m.TgZ(0,"div",6),m.NdJ("click",function(){const Ue=m.CHM(ee),Et=Ue.$implicit,Bt=Ue.index,jt=m.oxw(),St=m.MAs(1);return jt._handleClick(Et,St,Bt)})("cdkFocusChange",function(Ue){const Bt=m.CHM(ee).index;return m.oxw()._tabFocusChanged(Ue,Bt)}),m.TgZ(1,"div",7),m.YNc(2,R,1,1,"ng-template",8),m.YNc(3,Oe,1,1,"ng-template",null,9,m.W1O),m.qZA(),m.qZA()}if(2&Z){const ee=G.$implicit,_e=G.index,Ue=m.MAs(4),Et=m.oxw();m.ekj("mat-tab-label-active",Et.selectedIndex===_e),m.Q6J("id",Et._getTabLabelId(_e))("ngClass",ee.labelClass)("disabled",ee.disabled)("matRippleDisabled",ee.disabled||Et.disableRipple),m.uIk("tabIndex",Et._getTabIndex(ee,_e))("aria-posinset",_e+1)("aria-setsize",Et._tabs.length)("aria-controls",Et._getTabContentId(_e))("aria-selected",Et.selectedIndex===_e)("aria-label",ee.ariaLabel||null)("aria-labelledby",!ee.ariaLabel&&ee.ariaLabelledby?ee.ariaLabelledby:null),m.xp6(2),m.Q6J("ngIf",ee.templateLabel)("ngIfElse",Ue)}}function He(Z,G){if(1&Z){const ee=m.EpF();m.TgZ(0,"mat-tab-body",11),m.NdJ("_onCentered",function(){return m.CHM(ee),m.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Ue){return m.CHM(ee),m.oxw()._setTabBodyWrapperHeight(Ue)}),m.qZA()}if(2&Z){const ee=G.$implicit,_e=G.index,Ue=m.oxw();m.ekj("mat-tab-body-active",Ue.selectedIndex===_e),m.Q6J("id",Ue._getTabContentId(_e))("ngClass",ee.bodyClass)("content",ee.content)("position",ee.position)("origin",ee.origin)("animationDuration",Ue.animationDuration),m.uIk("tabindex",null!=Ue.contentTabIndex&&Ue.selectedIndex===_e?Ue.contentTabIndex:null)("aria-labelledby",Ue._getTabLabelId(_e))}}const Ce=new m.OlP("MatInkBarPositioner",{providedIn:"root",factory:function Ye(){return G=>({left:G?(G.offsetLeft||0)+"px":"0",width:G?(G.offsetWidth||0)+"px":"0"})}});let Xe=(()=>{class Z{constructor(ee,_e,Ue,Et){this._elementRef=ee,this._ngZone=_e,this._inkBarPositioner=Ue,this._animationMode=Et}alignToElement(ee){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(ee))}):this._setStyles(ee)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(ee){const _e=this._inkBarPositioner(ee),Ue=this._elementRef.nativeElement;Ue.style.left=_e.left,Ue.style.width=_e.width}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(Ce),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ee,_e){2&ee&&m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode)}}),Z})();const tt=new m.OlP("MatTabContent");let at=(()=>{class Z{constructor(ee){this.template=ee}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.Rgc))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabContent",""]],features:[m._Bn([{provide:tt,useExisting:Z}])]}),Z})();const N=new m.OlP("MatTabLabel"),he=new m.OlP("MAT_TAB");let D=(()=>{class Z extends g.ig{constructor(ee,_e,Ue){super(ee,_e),this._closestTab=Ue}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.Rgc),m.Y36(m.s_b),m.Y36(he,8))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[m._Bn([{provide:N,useExisting:Z}]),m.qOj]}),Z})();const S=(0,A.Id)(class{}),I=new m.OlP("MAT_TAB_GROUP");let P=(()=>{class Z extends S{constructor(ee,_e){super(),this._viewContainerRef=ee,this._closestTabGroup=_e,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(ee){this._setTemplateLabelInput(ee)}get content(){return this._contentPortal}ngOnChanges(ee){(ee.hasOwnProperty("textLabel")||ee.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ee){ee&&ee._closestTab===this&&(this._templateLabel=ee)}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.s_b),m.Y36(I,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab"]],contentQueries:function(ee,_e,Ue){if(1&ee&&(m.Suo(Ue,N,5),m.Suo(Ue,tt,7,m.Rgc)),2&ee){let Et;m.iGM(Et=m.CRH())&&(_e.templateLabel=Et.first),m.iGM(Et=m.CRH())&&(_e._explicitContent=Et.first)}},viewQuery:function(ee,_e){if(1&ee&&m.Gf(m.Rgc,7),2&ee){let Ue;m.iGM(Ue=m.CRH())&&(_e._implicitContent=Ue.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[m._Bn([{provide:he,useExisting:Z}]),m.qOj,m.TTD],ngContentSelectors:X,decls:1,vars:0,template:function(ee,_e){1&ee&&(m.F$t(),m.YNc(0,H,1,0,"ng-template"))},encapsulation:2}),Z})();const i={translateTab:(0,Y.X$)("translateTab",[(0,Y.SB)("center, void, left-origin-center, right-origin-center",(0,Y.oB)({transform:"none"})),(0,Y.SB)("left",(0,Y.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,Y.SB)("right",(0,Y.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,Y.eR)("* => left, * => right, left => center, right => center",(0,Y.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Y.eR)("void => left-origin-center",[(0,Y.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,Y.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Y.eR)("void => right-origin-center",[(0,Y.oB)({transform:"translate3d(100%, 0, 0)"}),(0,Y.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let r=(()=>{class Z extends g.Pl{constructor(ee,_e,Ue,Et){super(ee,_e,Et),this._host=Ue,this._centeringSub=O.w.EMPTY,this._leavingSub=O.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,J.O)(this._host._isCenterPosition(this._host._position))).subscribe(ee=>{ee&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m._Vd),m.Y36(m.s_b),m.Y36((0,m.Gpc)(()=>o)),m.Y36(T.K0))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabBodyHost",""]],features:[m.qOj]}),Z})(),p=(()=>{class Z{constructor(ee,_e,Ue){this._elementRef=ee,this._dir=_e,this._dirChangeSubscription=O.w.EMPTY,this._translateTabComplete=new b.xQ,this._onCentering=new m.vpe,this._beforeCentering=new m.vpe,this._afterLeavingCenter=new m.vpe,this._onCentered=new m.vpe(!0),this.animationDuration="500ms",_e&&(this._dirChangeSubscription=_e.change.subscribe(Et=>{this._computePositionAnimationState(Et),Ue.markForCheck()})),this._translateTabComplete.pipe((0,ue.x)((Et,Bt)=>Et.fromState===Bt.fromState&&Et.toState===Bt.toState)).subscribe(Et=>{this._isCenterPosition(Et.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Et.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(ee){this._positionIndex=ee,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ee){const _e=this._isCenterPosition(ee.toState);this._beforeCentering.emit(_e),_e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ee){return"center"==ee||"left-origin-center"==ee||"right-origin-center"==ee}_computePositionAnimationState(ee=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ee?"left":"right":this._positionIndex>0?"ltr"==ee?"right":"left":"center"}_computePositionFromOrigin(ee){const _e=this._getLayoutDirection();return"ltr"==_e&&ee<=0||"rtl"==_e&&ee>0?"left-origin-center":"right-origin-center"}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(Le.Is,8),m.Y36(m.sBO))},Z.\u0275dir=m.lG2({type:Z,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Z})(),o=(()=>{class Z extends p{constructor(ee,_e,Ue){super(ee,_e,Ue)}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(Le.Is,8),m.Y36(m.sBO))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-body"]],viewQuery:function(ee,_e){if(1&ee&&m.Gf(g.Pl,5),2&ee){let Ue;m.iGM(Ue=m.CRH())&&(_e._portalHost=Ue.first)}},hostAttrs:[1,"mat-tab-body"],features:[m.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ee,_e){1&ee&&(m.TgZ(0,"div",0,1),m.NdJ("@translateTab.start",function(Et){return _e._onTranslateTabStarted(Et)})("@translateTab.done",function(Et){return _e._translateTabComplete.next(Et)}),m.YNc(2,ie,0,0,"ng-template",2),m.qZA()),2&ee&&m.Q6J("@translateTab",m.WLB(3,ge,_e._position,m.VKq(1,oe,_e.animationDuration)))},directives:[r],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[i.translateTab]}}),Z})();const t=new m.OlP("MAT_TABS_CONFIG"),n=(0,A.Id)(class{});let c=(()=>{class Z extends n{constructor(ee){super(),this.elementRef=ee}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ee,_e){2&ee&&(m.uIk("aria-disabled",!!_e.disabled),m.ekj("mat-tab-disabled",_e.disabled))},inputs:{disabled:"disabled"},features:[m.qOj]}),Z})();const u=(0,ae.i$)({passive:!0});let Ve=(()=>{class Z{constructor(ee,_e,Ue,Et,Bt,jt,St){this._elementRef=ee,this._changeDetectorRef=_e,this._viewportRuler=Ue,this._dir=Et,this._ngZone=Bt,this._platform=jt,this._animationMode=St,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new m.vpe,this.indexFocused=new m.vpe,Bt.runOutsideAngular(()=>{(0,E.R)(ee.nativeElement,"mouseleave").pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(ee){ee=(0,de.su)(ee),this._selectedIndex!=ee&&(this._selectedIndexChanged=!0,this._selectedIndex=ee,this._keyManager&&this._keyManager.updateActiveItem(ee))}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",u).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",u).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ee=this._dir?this._dir.change:(0,h.of)("ltr"),_e=this._viewportRuler.change(150),Ue=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue(),(0,k.T)(ee,_e,this._items.changes).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(Ue)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,ce.R)(this._destroyed)).subscribe(Et=>{this.indexFocused.emit(Et),this._setTabFocus(Et)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(ee){if(!(0,ke.Vb)(ee))switch(ee.keyCode){case ke.K5:case ke.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ee));break;default:this._keyManager.onKeydown(ee)}}_onContentChanges(){const ee=this._elementRef.nativeElement.textContent;ee!==this._currentTextContent&&(this._currentTextContent=ee||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(ee){!this._isValidIndex(ee)||this.focusIndex===ee||!this._keyManager||this._keyManager.setActiveItem(ee)}_isValidIndex(ee){if(!this._items)return!0;const _e=this._items?this._items.toArray()[ee]:null;return!!_e&&!_e.disabled}_setTabFocus(ee){if(this._showPaginationControls&&this._scrollToLabel(ee),this._items&&this._items.length){this._items.toArray()[ee].focus();const _e=this._tabListContainer.nativeElement;_e.scrollLeft="ltr"==this._getLayoutDirection()?0:_e.scrollWidth-_e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ee=this.scrollDistance,_e="ltr"===this._getLayoutDirection()?-ee:ee;this._tabList.nativeElement.style.transform=`translateX(${Math.round(_e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ee){this._scrollTo(ee)}_scrollHeader(ee){return this._scrollTo(this._scrollDistance+("before"==ee?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ee){this._stopInterval(),this._scrollHeader(ee)}_scrollToLabel(ee){if(this.disablePagination)return;const _e=this._items?this._items.toArray()[ee]:null;if(!_e)return;const Ue=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Et,offsetWidth:Bt}=_e.elementRef.nativeElement;let jt,St;"ltr"==this._getLayoutDirection()?(jt=Et,St=jt+Bt):(St=this._tabListInner.nativeElement.offsetWidth-Et,jt=St-Bt);const Ct=this.scrollDistance,mt=this.scrollDistance+Ue;jtmt&&(this.scrollDistance+=St-mt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ee=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ee||(this.scrollDistance=0),ee!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ee}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const ee=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,_e=ee?ee.elementRef.nativeElement:null;_e?this._inkBar.alignToElement(_e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ee,_e){_e&&null!=_e.button&&0!==_e.button||(this._stopInterval(),(0,L.H)(650,100).pipe((0,ce.R)((0,k.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ue,distance:Et}=this._scrollHeader(ee);(0===Et||Et>=Ue)&&this._stopInterval()}))}_scrollTo(ee){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const _e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(_e,ee)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:_e,distance:this._scrollDistance}}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(V.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{disablePagination:"disablePagination"}}),Z})(),nt=(()=>{class Z extends Ve{constructor(ee,_e,Ue,Et,Bt,jt,St){super(ee,_e,Ue,Et,Bt,jt,St),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=(0,de.Ig)(ee)}_itemSelected(ee){ee.preventDefault()}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(V.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{disableRipple:"disableRipple"},features:[m.qOj]}),Z})(),Mt=(()=>{class Z extends nt{constructor(ee,_e,Ue,Et,Bt,jt,St){super(ee,_e,Ue,Et,Bt,jt,St)}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(V.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-header"]],contentQueries:function(ee,_e,Ue){if(1&ee&&m.Suo(Ue,c,4),2&ee){let Et;m.iGM(Et=m.CRH())&&(_e._items=Et)}},viewQuery:function(ee,_e){if(1&ee&&(m.Gf(Xe,7),m.Gf(Ne,7),m.Gf(Fe,7),m.Gf(se,7),m.Gf(Me,5),m.Gf(ve,5)),2&ee){let Ue;m.iGM(Ue=m.CRH())&&(_e._inkBar=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabListContainer=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabList=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabListInner=Ue.first),m.iGM(Ue=m.CRH())&&(_e._nextPaginator=Ue.first),m.iGM(Ue=m.CRH())&&(_e._previousPaginator=Ue.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ee,_e){2&ee&&m.ekj("mat-tab-header-pagination-controls-enabled",_e._showPaginationControls)("mat-tab-header-rtl","rtl"==_e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[m.qOj],ngContentSelectors:X,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ee,_e){1&ee&&(m.F$t(),m.TgZ(0,"div",0,1),m.NdJ("click",function(){return _e._handlePaginatorClick("before")})("mousedown",function(Et){return _e._handlePaginatorPress("before",Et)})("touchend",function(){return _e._stopInterval()}),m._UZ(2,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.NdJ("keydown",function(Et){return _e._handleKeydown(Et)}),m.TgZ(5,"div",5,6),m.NdJ("cdkObserveContent",function(){return _e._onContentChanges()}),m.TgZ(7,"div",7,8),m.Hsn(9),m.qZA(),m._UZ(10,"mat-ink-bar"),m.qZA(),m.qZA(),m.TgZ(11,"div",9,10),m.NdJ("mousedown",function(Et){return _e._handlePaginatorPress("after",Et)})("click",function(){return _e._handlePaginatorClick("after")})("touchend",function(){return _e._stopInterval()}),m._UZ(13,"div",2),m.qZA()),2&ee&&(m.ekj("mat-tab-header-pagination-disabled",_e._disableScrollBefore),m.Q6J("matRippleDisabled",_e._disableScrollBefore||_e.disableRipple),m.xp6(5),m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode),m.xp6(6),m.ekj("mat-tab-header-pagination-disabled",_e._disableScrollAfter),m.Q6J("matRippleDisabled",_e._disableScrollAfter||_e.disableRipple))},directives:[A.wG,f.wD,Xe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),Z})(),zt=0;class Vt{}const Wt=(0,A.pj)((0,A.Kr)(class{constructor(Z){this._elementRef=Z}}),"primary");let At=(()=>{class Z extends Wt{constructor(ee,_e,Ue,Et){var Bt;super(ee),this._changeDetectorRef=_e,this._animationMode=Et,this._tabs=new m.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w.EMPTY,this._tabLabelSubscription=O.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new m.vpe,this.focusChange=new m.vpe,this.animationDone=new m.vpe,this.selectedTabChange=new m.vpe(!0),this._groupId=zt++,this.animationDuration=Ue&&Ue.animationDuration?Ue.animationDuration:"500ms",this.disablePagination=!(!Ue||null==Ue.disablePagination)&&Ue.disablePagination,this.dynamicHeight=!(!Ue||null==Ue.dynamicHeight)&&Ue.dynamicHeight,this.contentTabIndex=null!==(Bt=null==Ue?void 0:Ue.contentTabIndex)&&void 0!==Bt?Bt:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ee){this._dynamicHeight=(0,de.Ig)(ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ee){this._indexToSelect=(0,de.su)(ee,null)}get animationDuration(){return this._animationDuration}set animationDuration(ee){this._animationDuration=/^\d+$/.test(ee+"")?ee+"ms":ee}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ee){this._contentTabIndex=(0,de.su)(ee,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ee){const _e=this._elementRef.nativeElement;_e.classList.remove(`mat-background-${this.backgroundColor}`),ee&&_e.classList.add(`mat-background-${ee}`),this._backgroundColor=ee}ngAfterContentChecked(){const ee=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ee){const _e=null==this._selectedIndex;if(!_e){this.selectedTabChange.emit(this._createChangeEvent(ee));const Ue=this._tabBodyWrapper.nativeElement;Ue.style.minHeight=Ue.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ue,Et)=>Ue.isActive=Et===ee),_e||(this.selectedIndexChange.emit(ee),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((_e,Ue)=>{_e.position=Ue-ee,null!=this._selectedIndex&&0==_e.position&&!_e.origin&&(_e.origin=ee-this._selectedIndex)}),this._selectedIndex!==ee&&(this._selectedIndex=ee,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const _e=this._tabs.toArray();for(let Ue=0;Ue<_e.length;Ue++)if(_e[Ue].isActive){this._indexToSelect=this._selectedIndex=Ue;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,J.O)(this._allTabs)).subscribe(ee=>{this._tabs.reset(ee.filter(_e=>_e._closestTabGroup===this||!_e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(ee){const _e=this._tabHeader;_e&&(_e.focusIndex=ee)}_focusChanged(ee){this.focusChange.emit(this._createChangeEvent(ee))}_createChangeEvent(ee){const _e=new Vt;return _e.index=ee,this._tabs&&this._tabs.length&&(_e.tab=this._tabs.toArray()[ee]),_e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,k.T)(...this._tabs.map(ee=>ee._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ee){return Math.min(this._tabs.length-1,Math.max(ee||0,0))}_getTabLabelId(ee){return`mat-tab-label-${this._groupId}-${ee}`}_getTabContentId(ee){return`mat-tab-content-${this._groupId}-${ee}`}_setTabBodyWrapperHeight(ee){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const _e=this._tabBodyWrapper.nativeElement;_e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(_e.style.height=ee+"px")}_removeTabBodyWrapperHeight(){const ee=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ee.clientHeight,ee.style.height="",this.animationDone.emit()}_handleClick(ee,_e,Ue){ee.disabled||(this.selectedIndex=_e.focusIndex=Ue)}_getTabIndex(ee,_e){return ee.disabled?null:this.selectedIndex===_e?0:-1}_tabFocusChanged(ee,_e){ee&&"mouse"!==ee&&"touch"!==ee&&(this._tabHeader.focusIndex=_e)}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(t,8),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[m.qOj]}),Z})(),Ht=(()=>{class Z extends At{constructor(ee,_e,Ue,Et){super(ee,_e,Ue,Et)}}return Z.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(t,8),m.Y36(s.Qb,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-group"]],contentQueries:function(ee,_e,Ue){if(1&ee&&m.Suo(Ue,P,5),2&ee){let Et;m.iGM(Et=m.CRH())&&(_e._allTabs=Et)}},viewQuery:function(ee,_e){if(1&ee&&(m.Gf(me,5),m.Gf(Te,5)),2&ee){let Ue;m.iGM(Ue=m.CRH())&&(_e._tabBodyWrapper=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabHeader=Ue.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(ee,_e){2&ee&&m.ekj("mat-tab-group-dynamic-height",_e.dynamicHeight)("mat-tab-group-inverted-header","below"===_e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[m._Bn([{provide:I,useExisting:Z}]),m.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(ee,_e){1&ee&&(m.TgZ(0,"mat-tab-header",0,1),m.NdJ("indexFocused",function(Et){return _e._focusChanged(Et)})("selectFocusedIndex",function(Et){return _e.selectedIndex=Et}),m.YNc(2,Ie,5,15,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.YNc(5,He,1,10,"mat-tab-body",5),m.qZA()),2&ee&&(m.Q6J("selectedIndex",_e.selectedIndex||0)("disableRipple",_e.disableRipple)("disablePagination",_e.disablePagination),m.xp6(2),m.Q6J("ngForOf",_e._tabs),m.xp6(1),m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode),m.xp6(2),m.Q6J("ngForOf",_e._tabs))},directives:[Mt,o,T.sg,c,A.wG,e.kH,T.mk,T.O5,g.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),Z})(),re=(()=>{class Z{}return Z.\u0275fac=function(ee){return new(ee||Z)},Z.\u0275mod=m.oAB({type:Z}),Z.\u0275inj=m.cJS({imports:[[T.ez,A.BQ,g.eL,A.si,f.Q8,e.rt],A.BQ]}),Z})()},29772:(Ke,be,d)=>{"use strict";d.d(be,{gM:()=>at,AV:()=>D});var e=d(92845),f=d(15664),g=d(69808),T=d(5e3),m=d(90508),A=d(53435),s=d(63191),b=d(91159),O=d(8929),E=d(36053),h=d(61221),k=d(32916),L=d(72986),Y=d(31307),J=d(80013),ue=d(24850),ce=d(1059),Le=d(7625),de=d(70925);const ae=new Set;let V,H=(()=>{class S{constructor(P){this._platform=P,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ie}matchMedia(P){return(this._platform.WEBKIT||this._platform.BLINK)&&function X(S){if(!ae.has(S))try{V||(V=document.createElement("style"),V.setAttribute("type","text/css"),document.head.appendChild(V)),V.sheet&&(V.sheet.insertRule(`@media ${S} {body{ }}`,0),ae.add(S))}catch(I){console.error(I)}}(P),this._matchMedia(P)}}return S.\u0275fac=function(P){return new(P||S)(T.LFG(de.t4))},S.\u0275prov=T.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function ie(S){return{matches:"all"===S||""===S,media:S,addListener:()=>{},removeListener:()=>{}}}let oe=(()=>{class S{constructor(P,i){this._mediaMatcher=P,this._zone=i,this._queries=new Map,this._destroySubject=new O.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(P){return ge((0,s.Eq)(P)).some(r=>this._registerQuery(r).mql.matches)}observe(P){const r=ge((0,s.Eq)(P)).map(o=>this._registerQuery(o).observable);let p=(0,E.aj)(r);return p=(0,h.z)(p.pipe((0,L.q)(1)),p.pipe((0,Y.T)(1),(0,J.b)(0))),p.pipe((0,ue.U)(o=>{const t={matches:!1,breakpoints:{}};return o.forEach(({matches:n,query:c})=>{t.matches=t.matches||n,t.breakpoints[c]=n}),t}))}_registerQuery(P){if(this._queries.has(P))return this._queries.get(P);const i=this._mediaMatcher.matchMedia(P),p={observable:new k.y(o=>{const t=n=>this._zone.run(()=>o.next(n));return i.addListener(t),()=>{i.removeListener(t)}}).pipe((0,ce.O)(i),(0,ue.U)(({matches:o})=>({query:P,matches:o})),(0,Le.R)(this._destroySubject)),mql:i};return this._queries.set(P,p),p}}return S.\u0275fac=function(P){return new(P||S)(T.LFG(H),T.LFG(T.R0b))},S.\u0275prov=T.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function ge(S){return S.map(I=>I.split(",")).reduce((I,P)=>I.concat(P)).map(I=>I.trim())}var Fe=d(47429),se=d(41777),Me=d(50226);const ve={tooltipState:(0,se.X$)("state",[(0,se.SB)("initial, void, hidden",(0,se.oB)({opacity:0,transform:"scale(0)"})),(0,se.SB)("visible",(0,se.oB)({transform:"scale(1)"})),(0,se.eR)("* => visible",(0,se.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,se.F4)([(0,se.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,se.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,se.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,se.eR)("* => hidden",(0,se.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,se.oB)({opacity:0})))])},te="tooltip-panel",R=(0,de.i$)({passive:!0}),He=new T.OlP("mat-tooltip-scroll-strategy"),Ce={provide:He,deps:[e.aV],useFactory:function fe(S){return()=>S.scrollStrategies.reposition({scrollThrottle:20})}},Ye=new T.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let tt=(()=>{class S{constructor(P,i,r,p,o,t,n,c,u,y,M,j){this._overlay=P,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=p,this._ngZone=o,this._platform=t,this._ariaDescriber=n,this._focusMonitor=c,this._dir=y,this._defaultOptions=M,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new O.xQ,this._scrollStrategy=u,this._document=j,M&&(M.position&&(this.position=M.position),M.touchGestures&&(this.touchGestures=M.touchGestures)),y.change.pipe((0,Le.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(P){var i;P!==this._position&&(this._position=P,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(P){this._disabled=(0,s.Ig)(P),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(P){this._showDelay=(0,s.su)(P)}get hideDelay(){return this._hideDelay}set hideDelay(P){this._hideDelay=(0,s.su)(P)}get message(){return this._message}set message(P){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=P?String(P).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(P){this._tooltipClass=P,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Le.R)(this._destroyed)).subscribe(P=>{P?"keyboard"===P&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const P=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{P.removeEventListener(i,r,R)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(P,this.message,"tooltip"),this._focusMonitor.stopMonitoring(P)}show(P=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Fe.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(P)}hide(P=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(P)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const P=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(P);return i.positionChanges.pipe((0,Le.R)(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${te}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Le.R)(this._destroyed)).subscribe(()=>{var r;return null===(r=this._tooltipInstance)||void 0===r?void 0:r._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Le.R)(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===b.hY&&!(0,b.Vb)(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(P){const i=P.getConfig().positionStrategy,r=this._getOrigin(),p=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),p.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),p.fallback))])}_addOffset(P){return P}_getOrigin(){const P=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&P||"right"==i&&!P?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&P||"left"==i&&!P)&&(r={originX:"end",originY:"center"});const{x:p,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:p,originY:o}}}_getOverlayPosition(){const P=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&P||"right"==i&&!P?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&P||"left"==i&&!P)&&(r={overlayX:"start",overlayY:"center"});const{x:p,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:p,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,L.q)(1),(0,Le.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(P){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=P,this._tooltipInstance._markForCheck())}_invertPosition(P,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===P?P="start":"start"===P&&(P="end"),{x:P,y:i}}_updateCurrentPositionClass(P){const{overlayY:i,originX:r,originY:p}=P;let o;if(o="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===p?"above":"below",o!==this._currentPosition){const t=this._overlayRef;if(t){const n=`${this._cssClassPrefix}-${te}-`;t.removePanelClass(n+this._currentPosition),t.addPanelClass(n+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const P=[];if(this._platformSupportsMouseEvents())P.push(["mouseleave",()=>this.hide()],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};P.push(["touchend",i],["touchcancel",i])}this._addListeners(P),this._passiveListeners.push(...P)}_addListeners(P){P.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,R)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(P){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(P.clientX,P.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const P=this.touchGestures;if("off"!==P){const i=this._elementRef.nativeElement,r=i.style;("on"===P||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===P||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return S.\u0275fac=function(P){T.$Z()},S.\u0275dir=T.lG2({type:S,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),S})(),at=(()=>{class S extends tt{constructor(P,i,r,p,o,t,n,c,u,y,M,j){super(P,i,r,p,o,t,n,c,u,y,M,j),this._tooltipComponent=he}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(e.aV),T.Y36(T.SBq),T.Y36(A.mF),T.Y36(T.s_b),T.Y36(T.R0b),T.Y36(de.t4),T.Y36(f.$s),T.Y36(f.tE),T.Y36(He),T.Y36(Me.Is,8),T.Y36(Ye,8),T.Y36(g.K0))},S.\u0275dir=T.lG2({type:S,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[T.qOj]}),S})(),N=(()=>{class S{constructor(P){this._changeDetectorRef=P,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new O.xQ}show(P){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},P)}hide(P){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},P)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(P){const i=P.toState;"hidden"===i&&!this.isVisible()&&this._onHide.next(),("visible"===i||"hidden"===i)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(T.sBO))},S.\u0275dir=T.lG2({type:S}),S})(),he=(()=>{class S extends N{constructor(P,i){super(P),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(T.sBO),T.Y36(oe))},S.\u0275cmp=T.Xpm({type:S,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(P,i){2&P&&T.Udp("zoom","visible"===i._visibility?1:null)},features:[T.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(P,i){if(1&P&&(T.TgZ(0,"div",0),T.NdJ("@state.start",function(){return i._animationStart()})("@state.done",function(p){return i._animationDone(p)}),T.ALo(1,"async"),T._uU(2),T.qZA()),2&P){let r;T.ekj("mat-tooltip-handset",null==(r=T.lcZ(1,5,i._isHandset))?null:r.matches),T.Q6J("ngClass",i.tooltipClass)("@state",i._visibility),T.xp6(2),T.Oqu(i.message)}},directives:[g.mk],pipes:[g.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ve.tooltipState]},changeDetection:0}),S})(),D=(()=>{class S{}return S.\u0275fac=function(P){return new(P||S)},S.\u0275mod=T.oAB({type:S}),S.\u0275inj=T.cJS({providers:[Ce],imports:[[f.rt,g.ez,e.U8,m.BQ],m.BQ,A.ZD]}),S})()},90149:(Ke,be,d)=>{"use strict";d.d(be,{GZ:()=>L,gi:()=>ue,kc:()=>ae,JZ:()=>ke,dp:()=>de,WX:()=>V,uo:()=>h,fQ:()=>k,Ar:()=>J,eu:()=>ce});var e=d(28258),f=d(5e3),g=d(90508),T=d(63191),m=d(20449),A=d(591),s=d(36787),b=d(72986),O=d(24850);const E=(0,g.sb)((0,g.Id)(e.Hs));let h=(()=>{class H extends E{constructor(ie,oe,ge){super(ie,oe),this.tabIndex=Number(ge)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return H.\u0275fac=function(ie){return new(ie||H)(f.Y36(f.SBq),f.Y36(e._0),f.$8M("tabindex"))},H.\u0275dir=f.lG2({type:H,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[f._Bn([{provide:e.Hs,useExisting:H}]),f.qOj]}),H})(),k=(()=>{class H extends e.rO{}return H.\u0275fac=function(){let X;return function(oe){return(X||(X=f.n5z(H)))(oe||H)}}(),H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[f._Bn([{provide:e.rO,useExisting:H}]),f.qOj]}),H})(),L=(()=>{class H extends e.Xx{constructor(ie,oe,ge,Ne){super(ie,oe,ge),this._disabled=!1,this.tabIndex=Number(Ne)||0}get disabled(){return this._disabled}set disabled(ie){this._disabled=(0,T.Ig)(ie)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ie){this._tabIndex=null!=ie?ie:0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return H.\u0275fac=function(ie){return new(ie||H)(f.Y36(f.SBq),f.Y36(e._0),f.Y36(f.ZZ4),f.$8M("tabindex"))},H.\u0275dir=f.lG2({type:H,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[f._Bn([{provide:e.Xx,useExisting:H},{provide:e.Hs,useExisting:H},{provide:e.HI,useExisting:H}]),f.qOj]}),H})(),J=(()=>{class H{constructor(ie,oe){this.viewContainer=ie,this._node=oe}}return H.\u0275fac=function(ie){return new(ie||H)(f.Y36(f.s_b),f.Y36(e.HI,8))},H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeOutlet",""]],features:[f._Bn([{provide:e.cu,useExisting:H}])]}),H})(),ue=(()=>{class H extends e._0{}return H.\u0275fac=function(){let X;return function(oe){return(X||(X=f.n5z(H)))(oe||H)}}(),H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-tree"]],viewQuery:function(ie,oe){if(1&ie&&f.Gf(J,7),2&ie){let ge;f.iGM(ge=f.CRH())&&(oe._nodeOutlet=ge.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[f._Bn([{provide:e._0,useExisting:H}]),f.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ie,oe){1&ie&&f.GkF(0,0)},directives:[J],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),H})(),ce=(()=>{class H extends e.Ud{}return H.\u0275fac=function(){let X;return function(oe){return(X||(X=f.n5z(H)))(oe||H)}}(),H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[f._Bn([{provide:e.Ud,useExisting:H}]),f.qOj]}),H})(),de=(()=>{class H{}return H.\u0275fac=function(ie){return new(ie||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[e.nZ,g.BQ],g.BQ]}),H})();class ke{constructor(X,ie,oe,ge){this.transformFunction=X,this.getLevel=ie,this.isExpandable=oe,this.getChildren=ge}_flattenNode(X,ie,oe,ge){const Ne=this.transformFunction(X,ie);if(oe.push(Ne),this.isExpandable(Ne)){const Fe=this.getChildren(X);Fe&&(Array.isArray(Fe)?this._flattenChildren(Fe,ie,oe,ge):Fe.pipe((0,b.q)(1)).subscribe(se=>{this._flattenChildren(se,ie,oe,ge)}))}return oe}_flattenChildren(X,ie,oe,ge){X.forEach((Ne,Fe)=>{let se=ge.slice();se.push(Fe!=X.length-1),this._flattenNode(Ne,ie+1,oe,se)})}flattenNodes(X){let ie=[];return X.forEach(oe=>this._flattenNode(oe,0,ie,[])),ie}expandFlattenedNodes(X,ie){let oe=[],ge=[];return ge[0]=!0,X.forEach(Ne=>{let Fe=!0;for(let se=0;se<=this.getLevel(Ne);se++)Fe=Fe&&ge[se];Fe&&oe.push(Ne),this.isExpandable(Ne)&&(ge[this.getLevel(Ne)+1]=ie.isExpanded(Ne))}),oe}}class ae extends m.o2{constructor(X,ie,oe){super(),this._treeControl=X,this._treeFlattener=ie,this._flattenedData=new A.X([]),this._expandedData=new A.X([]),this._data=new A.X([]),oe&&(this.data=oe)}get data(){return this._data.value}set data(X){this._data.next(X),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(X){return(0,s.T)(X.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,O.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class V extends m.o2{constructor(){super(...arguments),this._data=new A.X([])}get data(){return this._data.value}set data(X){this._data.next(X)}connect(X){return(0,s.T)(X.viewChange,this._data).pipe((0,O.U)(()=>this.data))}disconnect(){}}},76360:(Ke,be,d)=>{"use strict";d.d(be,{Qb:()=>ps,PW:()=>Un});var e=d(5e3),f=d(22313),g=d(41777);function T(){return"undefined"!=typeof window&&void 0!==window.document}function m(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function A(rt){switch(rt.length){case 0:return new g.ZN;case 1:return rt[0];default:return new g.ZE(rt)}}function s(rt,B,U,Se,st={},ft={}){const W=[],De=[];let ne=-1,Ge=null;if(Se.forEach(_t=>{const Nt=_t.offset,Zt=Nt==ne,ii=Zt&&Ge||{};Object.keys(_t).forEach(ai=>{let hi=ai,mi=_t[ai];if("offset"!==ai)switch(hi=B.normalizePropertyName(hi,W),mi){case g.k1:mi=st[ai];break;case g.l3:mi=ft[ai];break;default:mi=B.normalizeStyleValue(ai,hi,mi,W)}ii[hi]=mi}),Zt||De.push(ii),Ge=ii,ne=Nt}),W.length){const _t="\n - ";throw new Error(`Unable to animate due to the following errors:${_t}${W.join(_t)}`)}return De}function b(rt,B,U,Se){switch(B){case"start":rt.onStart(()=>Se(U&&O(U,"start",rt)));break;case"done":rt.onDone(()=>Se(U&&O(U,"done",rt)));break;case"destroy":rt.onDestroy(()=>Se(U&&O(U,"destroy",rt)))}}function O(rt,B,U){const Se=U.totalTime,ft=E(rt.element,rt.triggerName,rt.fromState,rt.toState,B||rt.phaseName,null==Se?rt.totalTime:Se,!!U.disabled),W=rt._data;return null!=W&&(ft._data=W),ft}function E(rt,B,U,Se,st="",ft=0,W){return{element:rt,triggerName:B,fromState:U,toState:Se,phaseName:st,totalTime:ft,disabled:!!W}}function h(rt,B,U){let Se;return rt instanceof Map?(Se=rt.get(B),Se||rt.set(B,Se=U)):(Se=rt[B],Se||(Se=rt[B]=U)),Se}function k(rt){const B=rt.indexOf(":");return[rt.substring(1,B),rt.substr(B+1)]}let L=(rt,B)=>!1,Y=(rt,B,U)=>[];(m()||"undefined"!=typeof Element)&&(L=T()?(rt,B)=>{for(;B&&B!==document.documentElement;){if(B===rt)return!0;B=B.parentNode||B.host}return!1}:(rt,B)=>rt.contains(B),Y=(rt,B,U)=>{if(U)return Array.from(rt.querySelectorAll(B));const Se=rt.querySelector(B);return Se?[Se]:[]});let ce=null,Le=!1;function de(rt){ce||(ce=function ke(){return"undefined"!=typeof document?document.body:null}()||{},Le=!!ce.style&&"WebkitAppearance"in ce.style);let B=!0;return ce.style&&!function ue(rt){return"ebkit"==rt.substring(1,6)}(rt)&&(B=rt in ce.style,!B&&Le&&(B="Webkit"+rt.charAt(0).toUpperCase()+rt.substr(1)in ce.style)),B}const ae=L,V=Y;let X=(()=>{class rt{validateStyleProperty(U){return de(U)}matchesElement(U,Se){return!1}containsElement(U,Se){return ae(U,Se)}query(U,Se,st){return V(U,Se,st)}computeStyle(U,Se,st){return st||""}animate(U,Se,st,ft,W,De=[],ne){return new g.ZN(st,ft)}}return rt.\u0275fac=function(U){return new(U||rt)},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})(),ie=(()=>{class rt{}return rt.NOOP=new X,rt})();const Fe="ng-enter",se="ng-leave",Me="ng-trigger",ve=".ng-trigger",me="ng-animating",Te=".ng-animating";function te(rt){if("number"==typeof rt)return rt;const B=rt.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:R(parseFloat(B[1]),B[2])}function R(rt,B){return"s"===B?1e3*rt:rt}function Oe(rt,B,U){return rt.hasOwnProperty("duration")?rt:function Ie(rt,B,U){let st,ft=0,W="";if("string"==typeof rt){const De=rt.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===De)return B.push(`The provided timing value "${rt}" is invalid.`),{duration:0,delay:0,easing:""};st=R(parseFloat(De[1]),De[2]);const ne=De[3];null!=ne&&(ft=R(parseFloat(ne),De[4]));const Ge=De[5];Ge&&(W=Ge)}else st=rt;if(!U){let De=!1,ne=B.length;st<0&&(B.push("Duration values below 0 are not allowed for this animation step."),De=!0),ft<0&&(B.push("Delay values below 0 are not allowed for this animation step."),De=!0),De&&B.splice(ne,0,`The provided timing value "${rt}" is invalid.`)}return{duration:st,delay:ft,easing:W}}(rt,B,U)}function He(rt,B={}){return Object.keys(rt).forEach(U=>{B[U]=rt[U]}),B}function Ce(rt,B,U={}){if(B)for(let Se in rt)U[Se]=rt[Se];else He(rt,U);return U}function Ye(rt,B,U){return U?B+":"+U+";":""}function Xe(rt){let B="";for(let U=0;U{const st=r(Se);U&&!U.hasOwnProperty(Se)&&(U[Se]=rt.style[st]),rt.style[st]=B[Se]}),m()&&Xe(rt))}function at(rt,B){rt.style&&(Object.keys(B).forEach(U=>{const Se=r(U);rt.style[Se]=""}),m()&&Xe(rt))}function N(rt){return Array.isArray(rt)?1==rt.length?rt[0]:(0,g.vP)(rt):rt}const D=new RegExp("{{\\s*(.+?)\\s*}}","g");function S(rt){let B=[];if("string"==typeof rt){let U;for(;U=D.exec(rt);)B.push(U[1]);D.lastIndex=0}return B}function I(rt,B,U){const Se=rt.toString(),st=Se.replace(D,(ft,W)=>{let De=B[W];return B.hasOwnProperty(W)||(U.push(`Please provide a value for the animation param ${W}`),De=""),De.toString()});return st==Se?rt:st}function P(rt){const B=[];let U=rt.next();for(;!U.done;)B.push(U.value),U=rt.next();return B}const i=/-+([a-z0-9])/g;function r(rt){return rt.replace(i,(...B)=>B[1].toUpperCase())}function p(rt){return rt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function n(rt,B,U){switch(B.type){case 7:return rt.visitTrigger(B,U);case 0:return rt.visitState(B,U);case 1:return rt.visitTransition(B,U);case 2:return rt.visitSequence(B,U);case 3:return rt.visitGroup(B,U);case 4:return rt.visitAnimate(B,U);case 5:return rt.visitKeyframes(B,U);case 6:return rt.visitStyle(B,U);case 8:return rt.visitReference(B,U);case 9:return rt.visitAnimateChild(B,U);case 10:return rt.visitAnimateRef(B,U);case 11:return rt.visitQuery(B,U);case 12:return rt.visitStagger(B,U);default:throw new Error(`Unable to resolve animation metadata node #${B.type}`)}}function c(rt,B){return window.getComputedStyle(rt)[B]}const u="*";function y(rt,B){const U=[];return"string"==typeof rt?rt.split(/\s*,\s*/).forEach(Se=>function M(rt,B,U){if(":"==rt[0]){const ne=function j(rt,B){switch(rt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(U,Se)=>parseFloat(Se)>parseFloat(U);case":decrement":return(U,Se)=>parseFloat(Se) *"}}(rt,U);if("function"==typeof ne)return void B.push(ne);rt=ne}const Se=rt.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Se||Se.length<4)return U.push(`The provided transition expression "${rt}" is not supported`),B;const st=Se[1],ft=Se[2],W=Se[3];B.push(Mt(st,W));"<"==ft[0]&&!(st==u&&W==u)&&B.push(Mt(W,st))}(Se,U,B)):U.push(rt),U}const Ve=new Set(["true","1"]),nt=new Set(["false","0"]);function Mt(rt,B){const U=Ve.has(rt)||nt.has(rt),Se=Ve.has(B)||nt.has(B);return(st,ft)=>{let W=rt==u||rt==st,De=B==u||B==ft;return!W&&U&&"boolean"==typeof st&&(W=st?Ve.has(rt):nt.has(rt)),!De&&Se&&"boolean"==typeof ft&&(De=ft?Ve.has(B):nt.has(B)),W&&De}}const Vt=new RegExp("s*:selfs*,?","g");function Wt(rt,B,U){return new Ht(rt).build(B,U)}class Ht{constructor(B){this._driver=B}build(B,U){const Se=new kt(U);return this._resetContextStyleTimingState(Se),n(this,N(B),Se)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles={},B.collectedStyles[""]={},B.currentTime=0}visitTrigger(B,U){let Se=U.queryCount=0,st=U.depCount=0;const ft=[],W=[];return"@"==B.name.charAt(0)&&U.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),B.definitions.forEach(De=>{if(this._resetContextStyleTimingState(U),0==De.type){const ne=De,Ge=ne.name;Ge.toString().split(/\s*,\s*/).forEach(_t=>{ne.name=_t,ft.push(this.visitState(ne,U))}),ne.name=Ge}else if(1==De.type){const ne=this.visitTransition(De,U);Se+=ne.queryCount,st+=ne.depCount,W.push(ne)}else U.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:B.name,states:ft,transitions:W,queryCount:Se,depCount:st,options:null}}visitState(B,U){const Se=this.visitStyle(B.styles,U),st=B.options&&B.options.params||null;if(Se.containsDynamicStyles){const ft=new Set,W=st||{};if(Se.styles.forEach(De=>{if(It(De)){const ne=De;Object.keys(ne).forEach(Ge=>{S(ne[Ge]).forEach(_t=>{W.hasOwnProperty(_t)||ft.add(_t)})})}}),ft.size){const De=P(ft.values());U.errors.push(`state("${B.name}", ...) must define default values for all the following style substitutions: ${De.join(", ")}`)}}return{type:0,name:B.name,style:Se,options:st?{params:st}:null}}visitTransition(B,U){U.queryCount=0,U.depCount=0;const Se=n(this,N(B.animation),U);return{type:1,matchers:y(B.expr,U.errors),animation:Se,queryCount:U.queryCount,depCount:U.depCount,options:qe(B.options)}}visitSequence(B,U){return{type:2,steps:B.steps.map(Se=>n(this,Se,U)),options:qe(B.options)}}visitGroup(B,U){const Se=U.currentTime;let st=0;const ft=B.steps.map(W=>{U.currentTime=Se;const De=n(this,W,U);return st=Math.max(st,U.currentTime),De});return U.currentTime=st,{type:3,steps:ft,options:qe(B.options)}}visitAnimate(B,U){const Se=function We(rt,B){let U=null;if(rt.hasOwnProperty("duration"))U=rt;else if("number"==typeof rt)return re(Oe(rt,B).duration,0,"");const Se=rt;if(Se.split(/\s+/).some(ft=>"{"==ft.charAt(0)&&"{"==ft.charAt(1))){const ft=re(0,0,"");return ft.dynamic=!0,ft.strValue=Se,ft}return U=U||Oe(Se,B),re(U.duration,U.delay,U.easing)}(B.timings,U.errors);U.currentAnimateTimings=Se;let st,ft=B.styles?B.styles:(0,g.oB)({});if(5==ft.type)st=this.visitKeyframes(ft,U);else{let W=B.styles,De=!1;if(!W){De=!0;const Ge={};Se.easing&&(Ge.easing=Se.easing),W=(0,g.oB)(Ge)}U.currentTime+=Se.duration+Se.delay;const ne=this.visitStyle(W,U);ne.isEmptyStep=De,st=ne}return U.currentAnimateTimings=null,{type:4,timings:Se,style:st,options:null}}visitStyle(B,U){const Se=this._makeStyleAst(B,U);return this._validateStyleAst(Se,U),Se}_makeStyleAst(B,U){const Se=[];Array.isArray(B.styles)?B.styles.forEach(W=>{"string"==typeof W?W==g.l3?Se.push(W):U.errors.push(`The provided style string value ${W} is not allowed.`):Se.push(W)}):Se.push(B.styles);let st=!1,ft=null;return Se.forEach(W=>{if(It(W)){const De=W,ne=De.easing;if(ne&&(ft=ne,delete De.easing),!st)for(let Ge in De)if(De[Ge].toString().indexOf("{{")>=0){st=!0;break}}}),{type:6,styles:Se,easing:ft,offset:B.offset,containsDynamicStyles:st,options:null}}_validateStyleAst(B,U){const Se=U.currentAnimateTimings;let st=U.currentTime,ft=U.currentTime;Se&&ft>0&&(ft-=Se.duration+Se.delay),B.styles.forEach(W=>{"string"!=typeof W&&Object.keys(W).forEach(De=>{if(!this._driver.validateStyleProperty(De))return void U.errors.push(`The provided animation property "${De}" is not a supported CSS property for animations`);const ne=U.collectedStyles[U.currentQuerySelector],Ge=ne[De];let _t=!0;Ge&&(ft!=st&&ft>=Ge.startTime&&st<=Ge.endTime&&(U.errors.push(`The CSS property "${De}" that exists between the times of "${Ge.startTime}ms" and "${Ge.endTime}ms" is also being animated in a parallel animation between the times of "${ft}ms" and "${st}ms"`),_t=!1),ft=Ge.startTime),_t&&(ne[De]={startTime:ft,endTime:st}),U.options&&function he(rt,B,U){const Se=B.params||{},st=S(rt);st.length&&st.forEach(ft=>{Se.hasOwnProperty(ft)||U.push(`Unable to resolve the local animation param ${ft} in the given list of values`)})}(W[De],U.options,U.errors)})})}visitKeyframes(B,U){const Se={type:5,styles:[],options:null};if(!U.currentAnimateTimings)return U.errors.push("keyframes() must be placed inside of a call to animate()"),Se;let ft=0;const W=[];let De=!1,ne=!1,Ge=0;const _t=B.steps.map(yi=>{const xi=this._makeStyleAst(yi,U);let xe=null!=xi.offset?xi.offset:function pt(rt){if("string"==typeof rt)return null;let B=null;if(Array.isArray(rt))rt.forEach(U=>{if(It(U)&&U.hasOwnProperty("offset")){const Se=U;B=parseFloat(Se.offset),delete Se.offset}});else if(It(rt)&&rt.hasOwnProperty("offset")){const U=rt;B=parseFloat(U.offset),delete U.offset}return B}(xi.styles),Ee=0;return null!=xe&&(ft++,Ee=xi.offset=xe),ne=ne||Ee<0||Ee>1,De=De||Ee0&&ft{const xe=Zt>0?xi==ii?1:Zt*xi:W[xi],Ee=xe*mi;U.currentTime=ai+hi.delay+Ee,hi.duration=Ee,this._validateStyleAst(yi,U),yi.offset=xe,Se.styles.push(yi)}),Se}visitReference(B,U){return{type:8,animation:n(this,N(B.animation),U),options:qe(B.options)}}visitAnimateChild(B,U){return U.depCount++,{type:9,options:qe(B.options)}}visitAnimateRef(B,U){return{type:10,animation:this.visitReference(B.animation,U),options:qe(B.options)}}visitQuery(B,U){const Se=U.currentQuerySelector,st=B.options||{};U.queryCount++,U.currentQuery=B;const[ft,W]=function bt(rt){const B=!!rt.split(/\s*,\s*/).find(U=>":self"==U);return B&&(rt=rt.replace(Vt,"")),rt=rt.replace(/@\*/g,ve).replace(/@\w+/g,U=>ve+"-"+U.substr(1)).replace(/:animating/g,Te),[rt,B]}(B.selector);U.currentQuerySelector=Se.length?Se+" "+ft:ft,h(U.collectedStyles,U.currentQuerySelector,{});const De=n(this,N(B.animation),U);return U.currentQuery=null,U.currentQuerySelector=Se,{type:11,selector:ft,limit:st.limit||0,optional:!!st.optional,includeSelf:W,animation:De,originalSelector:B.selector,options:qe(B.options)}}visitStagger(B,U){U.currentQuery||U.errors.push("stagger() can only be used inside of query()");const Se="full"===B.timings?{duration:0,delay:0,easing:"full"}:Oe(B.timings,U.errors,!0);return{type:12,animation:n(this,N(B.animation),U),timings:Se,options:null}}}class kt{constructor(B){this.errors=B,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function It(rt){return!Array.isArray(rt)&&"object"==typeof rt}function qe(rt){return rt?(rt=He(rt)).params&&(rt.params=function et(rt){return rt?He(rt):null}(rt.params)):rt={},rt}function re(rt,B,U){return{duration:rt,delay:B,easing:U}}function Z(rt,B,U,Se,st,ft,W=null,De=!1){return{type:1,element:rt,keyframes:B,preStyleProps:U,postStyleProps:Se,duration:st,delay:ft,totalTime:st+ft,easing:W,subTimeline:De}}class G{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,U){let Se=this._map.get(B);Se||this._map.set(B,Se=[]),Se.push(...U)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const Ue=new RegExp(":enter","g"),Bt=new RegExp(":leave","g");function jt(rt,B,U,Se,st,ft={},W={},De,ne,Ge=[]){return(new St).buildKeyframes(rt,B,U,Se,st,ft,W,De,ne,Ge)}class St{buildKeyframes(B,U,Se,st,ft,W,De,ne,Ge,_t=[]){Ge=Ge||new G;const Nt=new mt(B,U,Ge,st,ft,_t,[]);Nt.options=ne,Nt.currentTimeline.setStyles([W],null,Nt.errors,ne),n(this,Se,Nt);const Zt=Nt.timelines.filter(ii=>ii.containsAnimation());if(Object.keys(De).length){let ii;for(let ai=Zt.length-1;ai>=0;ai--){const hi=Zt[ai];if(hi.element===U){ii=hi;break}}ii&&!ii.allowOnlyTimelineStyles()&&ii.setStyles([De],null,Nt.errors,ne)}return Zt.length?Zt.map(ii=>ii.buildKeyframes()):[Z(U,[],[],[],0,0,"",!1)]}visitTrigger(B,U){}visitState(B,U){}visitTransition(B,U){}visitAnimateChild(B,U){const Se=U.subInstructions.get(U.element);if(Se){const st=U.createSubContext(B.options),ft=U.currentTimeline.currentTime,W=this._visitSubInstructions(Se,st,st.options);ft!=W&&U.transformIntoNewTimeline(W)}U.previousNode=B}visitAnimateRef(B,U){const Se=U.createSubContext(B.options);Se.transformIntoNewTimeline(),this.visitReference(B.animation,Se),U.transformIntoNewTimeline(Se.currentTimeline.currentTime),U.previousNode=B}_visitSubInstructions(B,U,Se){let ft=U.currentTimeline.currentTime;const W=null!=Se.duration?te(Se.duration):null,De=null!=Se.delay?te(Se.delay):null;return 0!==W&&B.forEach(ne=>{const Ge=U.appendInstructionToTimeline(ne,W,De);ft=Math.max(ft,Ge.duration+Ge.delay)}),ft}visitReference(B,U){U.updateOptions(B.options,!0),n(this,B.animation,U),U.previousNode=B}visitSequence(B,U){const Se=U.subContextCount;let st=U;const ft=B.options;if(ft&&(ft.params||ft.delay)&&(st=U.createSubContext(ft),st.transformIntoNewTimeline(),null!=ft.delay)){6==st.previousNode.type&&(st.currentTimeline.snapshotCurrentStyles(),st.previousNode=Ct);const W=te(ft.delay);st.delayNextStep(W)}B.steps.length&&(B.steps.forEach(W=>n(this,W,st)),st.currentTimeline.applyStylesToKeyframe(),st.subContextCount>Se&&st.transformIntoNewTimeline()),U.previousNode=B}visitGroup(B,U){const Se=[];let st=U.currentTimeline.currentTime;const ft=B.options&&B.options.delay?te(B.options.delay):0;B.steps.forEach(W=>{const De=U.createSubContext(B.options);ft&&De.delayNextStep(ft),n(this,W,De),st=Math.max(st,De.currentTimeline.currentTime),Se.push(De.currentTimeline)}),Se.forEach(W=>U.currentTimeline.mergeTimelineCollectedStyles(W)),U.transformIntoNewTimeline(st),U.previousNode=B}_visitTiming(B,U){if(B.dynamic){const Se=B.strValue;return Oe(U.params?I(Se,U.params,U.errors):Se,U.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,U){const Se=U.currentAnimateTimings=this._visitTiming(B.timings,U),st=U.currentTimeline;Se.delay&&(U.incrementTime(Se.delay),st.snapshotCurrentStyles());const ft=B.style;5==ft.type?this.visitKeyframes(ft,U):(U.incrementTime(Se.duration),this.visitStyle(ft,U),st.applyStylesToKeyframe()),U.currentAnimateTimings=null,U.previousNode=B}visitStyle(B,U){const Se=U.currentTimeline,st=U.currentAnimateTimings;!st&&Se.getCurrentStyleProperties().length&&Se.forwardFrame();const ft=st&&st.easing||B.easing;B.isEmptyStep?Se.applyEmptyStep(ft):Se.setStyles(B.styles,ft,U.errors,U.options),U.previousNode=B}visitKeyframes(B,U){const Se=U.currentAnimateTimings,st=U.currentTimeline.duration,ft=Se.duration,De=U.createSubContext().currentTimeline;De.easing=Se.easing,B.styles.forEach(ne=>{De.forwardTime((ne.offset||0)*ft),De.setStyles(ne.styles,ne.easing,U.errors,U.options),De.applyStylesToKeyframe()}),U.currentTimeline.mergeTimelineCollectedStyles(De),U.transformIntoNewTimeline(st+ft),U.previousNode=B}visitQuery(B,U){const Se=U.currentTimeline.currentTime,st=B.options||{},ft=st.delay?te(st.delay):0;ft&&(6===U.previousNode.type||0==Se&&U.currentTimeline.getCurrentStyleProperties().length)&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=Ct);let W=Se;const De=U.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!st.optional,U.errors);U.currentQueryTotal=De.length;let ne=null;De.forEach((Ge,_t)=>{U.currentQueryIndex=_t;const Nt=U.createSubContext(B.options,Ge);ft&&Nt.delayNextStep(ft),Ge===U.element&&(ne=Nt.currentTimeline),n(this,B.animation,Nt),Nt.currentTimeline.applyStylesToKeyframe(),W=Math.max(W,Nt.currentTimeline.currentTime)}),U.currentQueryIndex=0,U.currentQueryTotal=0,U.transformIntoNewTimeline(W),ne&&(U.currentTimeline.mergeTimelineCollectedStyles(ne),U.currentTimeline.snapshotCurrentStyles()),U.previousNode=B}visitStagger(B,U){const Se=U.parentContext,st=U.currentTimeline,ft=B.timings,W=Math.abs(ft.duration),De=W*(U.currentQueryTotal-1);let ne=W*U.currentQueryIndex;switch(ft.duration<0?"reverse":ft.easing){case"reverse":ne=De-ne;break;case"full":ne=Se.currentStaggerTime}const _t=U.currentTimeline;ne&&_t.delayNextStep(ne);const Nt=_t.currentTime;n(this,B.animation,U),U.previousNode=B,Se.currentStaggerTime=st.currentTime-Nt+(st.startTime-Se.currentTimeline.startTime)}}const Ct={};class mt{constructor(B,U,Se,st,ft,W,De,ne){this._driver=B,this.element=U,this.subInstructions=Se,this._enterClassName=st,this._leaveClassName=ft,this.errors=W,this.timelines=De,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ne||new Rt(this._driver,U,0),De.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,U){if(!B)return;const Se=B;let st=this.options;null!=Se.duration&&(st.duration=te(Se.duration)),null!=Se.delay&&(st.delay=te(Se.delay));const ft=Se.params;if(ft){let W=st.params;W||(W=this.options.params={}),Object.keys(ft).forEach(De=>{(!U||!W.hasOwnProperty(De))&&(W[De]=I(ft[De],W,this.errors))})}}_copyOptions(){const B={};if(this.options){const U=this.options.params;if(U){const Se=B.params={};Object.keys(U).forEach(st=>{Se[st]=U[st]})}}return B}createSubContext(B=null,U,Se){const st=U||this.element,ft=new mt(this._driver,st,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(st,Se||0));return ft.previousNode=this.previousNode,ft.currentAnimateTimings=this.currentAnimateTimings,ft.options=this._copyOptions(),ft.updateOptions(B),ft.currentQueryIndex=this.currentQueryIndex,ft.currentQueryTotal=this.currentQueryTotal,ft.parentContext=this,this.subContextCount++,ft}transformIntoNewTimeline(B){return this.previousNode=Ct,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,U,Se){const st={duration:null!=U?U:B.duration,delay:this.currentTimeline.currentTime+(null!=Se?Se:0)+B.delay,easing:""},ft=new Gt(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,st,B.stretchStartingKeyframe);return this.timelines.push(ft),st}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,U,Se,st,ft,W){let De=[];if(st&&De.push(this.element),B.length>0){B=(B=B.replace(Ue,"."+this._enterClassName)).replace(Bt,"."+this._leaveClassName);let Ge=this._driver.query(this.element,B,1!=Se);0!==Se&&(Ge=Se<0?Ge.slice(Ge.length+Se,Ge.length):Ge.slice(0,Se)),De.push(...Ge)}return!ft&&0==De.length&&W.push(`\`query("${U}")\` returned zero elements. (Use \`query("${U}", { optional: true })\` if you wish to allow this.)`),De}}class Rt{constructor(B,U,Se,st){this._driver=B,this.element=U,this.startTime=Se,this._elementTimelineStylesLookup=st,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(U),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(U,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(B){const U=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||U?(this.forwardTime(this.currentTime+B),U&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,U){return this.applyStylesToKeyframe(),new Rt(this._driver,B,U||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(B){this.applyStylesToKeyframe(),this.duration=B,this._loadKeyframe()}_updateStyle(B,U){this._localTimelineStyles[B]=U,this._globalTimelineStyles[B]=U,this._styleSummary[B]={time:this.currentTime,value:U}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&(this._previousKeyframe.easing=B),Object.keys(this._globalTimelineStyles).forEach(U=>{this._backFill[U]=this._globalTimelineStyles[U]||g.l3,this._currentKeyframe[U]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,U,Se,st){U&&(this._previousKeyframe.easing=U);const ft=st&&st.params||{},W=function fi(rt,B){const U={};let Se;return rt.forEach(st=>{"*"===st?(Se=Se||Object.keys(B),Se.forEach(ft=>{U[ft]=g.l3})):Ce(st,!1,U)}),U}(B,this._globalTimelineStyles);Object.keys(W).forEach(De=>{const ne=I(W[De],ft,Se);this._pendingStyles[De]=ne,this._localTimelineStyles.hasOwnProperty(De)||(this._backFill[De]=this._globalTimelineStyles.hasOwnProperty(De)?this._globalTimelineStyles[De]:g.l3),this._updateStyle(De,ne)})}applyStylesToKeyframe(){const B=this._pendingStyles,U=Object.keys(B);0!=U.length&&(this._pendingStyles={},U.forEach(Se=>{this._currentKeyframe[Se]=B[Se]}),Object.keys(this._localTimelineStyles).forEach(Se=>{this._currentKeyframe.hasOwnProperty(Se)||(this._currentKeyframe[Se]=this._localTimelineStyles[Se])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(B=>{const U=this._localTimelineStyles[B];this._pendingStyles[B]=U,this._updateStyle(B,U)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let U in this._currentKeyframe)B.push(U);return B}mergeTimelineCollectedStyles(B){Object.keys(B._styleSummary).forEach(U=>{const Se=this._styleSummary[U],st=B._styleSummary[U];(!Se||st.time>Se.time)&&this._updateStyle(U,st.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,U=new Set,Se=1===this._keyframes.size&&0===this.duration;let st=[];this._keyframes.forEach((De,ne)=>{const Ge=Ce(De,!0);Object.keys(Ge).forEach(_t=>{const Nt=Ge[_t];Nt==g.k1?B.add(_t):Nt==g.l3&&U.add(_t)}),Se||(Ge.offset=ne/this.duration),st.push(Ge)});const ft=B.size?P(B.values()):[],W=U.size?P(U.values()):[];if(Se){const De=st[0],ne=He(De);De.offset=0,ne.offset=1,st=[De,ne]}return Z(this.element,st,ft,W,this.duration,this.startTime,this.easing,!1)}}class Gt extends Rt{constructor(B,U,Se,st,ft,W,De=!1){super(B,U,W.delay),this.keyframes=Se,this.preStyleProps=st,this.postStyleProps=ft,this._stretchStartingKeyframe=De,this.timings={duration:W.duration,delay:W.delay,easing:W.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:U,duration:Se,easing:st}=this.timings;if(this._stretchStartingKeyframe&&U){const ft=[],W=Se+U,De=U/W,ne=Ce(B[0],!1);ne.offset=0,ft.push(ne);const Ge=Ce(B[0],!1);Ge.offset=li(De),ft.push(Ge);const _t=B.length-1;for(let Nt=1;Nt<=_t;Nt++){let Zt=Ce(B[Nt],!1);Zt.offset=li((U+Zt.offset*Se)/W),ft.push(Zt)}Se=W,U=0,st="",B=ft}return Z(this.element,B,this.preStyleProps,this.postStyleProps,Se,U,st,!0)}}function li(rt,B=3){const U=Math.pow(10,B-1);return Math.round(rt*U)/U}class Si{}class nn extends Si{normalizePropertyName(B,U){return r(B)}normalizeStyleValue(B,U,Se,st){let ft="";const W=Se.toString().trim();if($i[U]&&0!==Se&&"0"!==Se)if("number"==typeof Se)ft="px";else{const De=Se.match(/^[+-]?[\d\.]+([a-z]*)$/);De&&0==De[1].length&&st.push(`Please provide a CSS unit value for ${B}:${Se}`)}return W+ft}}const $i=(()=>function Yi(rt){const B={};return rt.forEach(U=>B[U]=!0),B}("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".split(",")))();function bn(rt,B,U,Se,st,ft,W,De,ne,Ge,_t,Nt,Zt){return{type:0,element:rt,triggerName:B,isRemovalTransition:st,fromState:U,fromStyles:ft,toState:Se,toStyles:W,timelines:De,queriedElements:ne,preStyleProps:Ge,postStyleProps:_t,totalTime:Nt,errors:Zt}}const Qi={};class $e{constructor(B,U,Se){this._triggerName=B,this.ast=U,this._stateStyles=Se}match(B,U,Se,st){return function vt(rt,B,U,Se,st){return rt.some(ft=>ft(B,U,Se,st))}(this.ast.matchers,B,U,Se,st)}buildStyles(B,U,Se){const st=this._stateStyles["*"],ft=this._stateStyles[B],W=st?st.buildStyles(U,Se):{};return ft?ft.buildStyles(U,Se):W}build(B,U,Se,st,ft,W,De,ne,Ge,_t){const Nt=[],Zt=this.ast.options&&this.ast.options.params||Qi,ai=this.buildStyles(Se,De&&De.params||Qi,Nt),hi=ne&&ne.params||Qi,mi=this.buildStyles(st,hi,Nt),yi=new Set,xi=new Map,xe=new Map,Ee="void"===st,ye={params:Object.assign(Object.assign({},Zt),hi)},ot=_t?[]:jt(B,U,this.ast.animation,ft,W,ai,mi,ye,Ge,Nt);let Lt=0;if(ot.forEach(Bi=>{Lt=Math.max(Bi.duration+Bi.delay,Lt)}),Nt.length)return bn(U,this._triggerName,Se,st,Ee,ai,mi,[],[],xi,xe,Lt,Nt);ot.forEach(Bi=>{const ln=Bi.element,On=h(xi,ln,{});Bi.preStyleProps.forEach(zn=>On[zn]=!0);const Kn=h(xe,ln,{});Bi.postStyleProps.forEach(zn=>Kn[zn]=!0),ln!==U&&yi.add(ln)});const ci=P(yi.values());return bn(U,this._triggerName,Se,st,Ee,ai,mi,ot,ci,xi,xe,Lt)}}class Qe{constructor(B,U,Se){this.styles=B,this.defaultParams=U,this.normalizer=Se}buildStyles(B,U){const Se={},st=He(this.defaultParams);return Object.keys(B).forEach(ft=>{const W=B[ft];null!=W&&(st[ft]=W)}),this.styles.styles.forEach(ft=>{if("string"!=typeof ft){const W=ft;Object.keys(W).forEach(De=>{let ne=W[De];ne.length>1&&(ne=I(ne,st,U));const Ge=this.normalizer.normalizePropertyName(De,U);ne=this.normalizer.normalizeStyleValue(De,Ge,ne,U),Se[Ge]=ne})}}),Se}}class gt{constructor(B,U,Se){this.name=B,this.ast=U,this._normalizer=Se,this.transitionFactories=[],this.states={},U.states.forEach(st=>{this.states[st.name]=new Qe(st.style,st.options&&st.options.params||{},Se)}),Be(this.states,"true","1"),Be(this.states,"false","0"),U.transitions.forEach(st=>{this.transitionFactories.push(new $e(B,st,this.states))}),this.fallbackTransition=function F(rt,B,U){return new $e(rt,{type:1,animation:{type:2,steps:[],options:null},matchers:[(W,De)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,U,Se,st){return this.transitionFactories.find(W=>W.match(B,U,Se,st))||null}matchStyles(B,U,Se){return this.fallbackTransition.buildStyles(B,U,Se)}}function Be(rt,B,U){rt.hasOwnProperty(B)?rt.hasOwnProperty(U)||(rt[U]=rt[B]):rt.hasOwnProperty(U)&&(rt[B]=rt[U])}const dt=new G;class Dt{constructor(B,U,Se){this.bodyNode=B,this._driver=U,this._normalizer=Se,this._animations={},this._playersById={},this.players=[]}register(B,U){const Se=[],st=Wt(this._driver,U,Se);if(Se.length)throw new Error(`Unable to build the animation due to the following errors: ${Se.join("\n")}`);this._animations[B]=st}_buildPlayer(B,U,Se){const st=B.element,ft=s(0,this._normalizer,0,B.keyframes,U,Se);return this._driver.animate(st,ft,B.duration,B.delay,B.easing,[],!0)}create(B,U,Se={}){const st=[],ft=this._animations[B];let W;const De=new Map;if(ft?(W=jt(this._driver,U,ft,Fe,se,{},{},Se,dt,st),W.forEach(_t=>{const Nt=h(De,_t.element,{});_t.postStyleProps.forEach(Zt=>Nt[Zt]=null)})):(st.push("The requested animation doesn't exist or has already been destroyed"),W=[]),st.length)throw new Error(`Unable to create the animation due to the following errors: ${st.join("\n")}`);De.forEach((_t,Nt)=>{Object.keys(_t).forEach(Zt=>{_t[Zt]=this._driver.computeStyle(Nt,Zt,g.l3)})});const Ge=A(W.map(_t=>{const Nt=De.get(_t.element);return this._buildPlayer(_t,{},Nt)}));return this._playersById[B]=Ge,Ge.onDestroy(()=>this.destroy(B)),this.players.push(Ge),Ge}destroy(B){const U=this._getPlayer(B);U.destroy(),delete this._playersById[B];const Se=this.players.indexOf(U);Se>=0&&this.players.splice(Se,1)}_getPlayer(B){const U=this._playersById[B];if(!U)throw new Error(`Unable to find the timeline player referenced by ${B}`);return U}listen(B,U,Se,st){const ft=E(U,"","","");return b(this._getPlayer(B),Se,ft,st),()=>{}}command(B,U,Se,st){if("register"==Se)return void this.register(B,st[0]);if("create"==Se)return void this.create(B,U,st[0]||{});const ft=this._getPlayer(B);switch(Se){case"play":ft.play();break;case"pause":ft.pause();break;case"reset":ft.reset();break;case"restart":ft.restart();break;case"finish":ft.finish();break;case"init":ft.init();break;case"setPosition":ft.setPosition(parseFloat(st[0]));break;case"destroy":this.destroy(B)}}}const ei="ng-animate-queued",Ri="ng-animate-disabled",Ni=[],Hi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pi="__ng_removed";class Ti{constructor(B,U=""){this.namespaceId=U;const Se=B&&B.hasOwnProperty("value");if(this.value=function q(rt){return null!=rt?rt:null}(Se?B.value:B),Se){const ft=He(B);delete ft.value,this.options=ft}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(B){const U=B.params;if(U){const Se=this.options.params;Object.keys(U).forEach(st=>{null==Se[st]&&(Se[st]=U[st])})}}}const Ui="void",fn=new Ti(Ui);class sn{constructor(B,U,Se){this.id=B,this.hostElement=U,this._engine=Se,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,di(U,this._hostClassName)}listen(B,U,Se,st){if(!this._triggers.hasOwnProperty(U))throw new Error(`Unable to listen on the animation trigger event "${Se}" because the animation trigger "${U}" doesn't exist!`);if(null==Se||0==Se.length)throw new Error(`Unable to listen on the animation trigger "${U}" because the provided event is undefined!`);if(!function we(rt){return"start"==rt||"done"==rt}(Se))throw new Error(`The provided animation trigger event "${Se}" for the animation trigger "${U}" is not supported!`);const ft=h(this._elementListeners,B,[]),W={name:U,phase:Se,callback:st};ft.push(W);const De=h(this._engine.statesByElement,B,{});return De.hasOwnProperty(U)||(di(B,Me),di(B,Me+"-"+U),De[U]=fn),()=>{this._engine.afterFlush(()=>{const ne=ft.indexOf(W);ne>=0&&ft.splice(ne,1),this._triggers[U]||delete De[U]})}}register(B,U){return!this._triggers[B]&&(this._triggers[B]=U,!0)}_getTrigger(B){const U=this._triggers[B];if(!U)throw new Error(`The provided animation trigger "${B}" has not been registered!`);return U}trigger(B,U,Se,st=!0){const ft=this._getTrigger(U),W=new Tt(this.id,U,B);let De=this._engine.statesByElement.get(B);De||(di(B,Me),di(B,Me+"-"+U),this._engine.statesByElement.set(B,De={}));let ne=De[U];const Ge=new Ti(Se,this.id);if(!(Se&&Se.hasOwnProperty("value"))&&ne&&Ge.absorbOptions(ne.options),De[U]=Ge,ne||(ne=fn),Ge.value!==Ui&&ne.value===Ge.value){if(!function Wi(rt,B){const U=Object.keys(rt),Se=Object.keys(B);if(U.length!=Se.length)return!1;for(let st=0;st{at(B,mi),tt(B,yi)})}return}const Zt=h(this._engine.playersByElement,B,[]);Zt.forEach(hi=>{hi.namespaceId==this.id&&hi.triggerName==U&&hi.queued&&hi.destroy()});let ii=ft.matchTransition(ne.value,Ge.value,B,Ge.params),ai=!1;if(!ii){if(!st)return;ii=ft.fallbackTransition,ai=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:U,transition:ii,fromState:ne,toState:Ge,player:W,isFallbackTransition:ai}),ai||(di(B,ei),W.onStart(()=>{Oi(B,ei)})),W.onDone(()=>{let hi=this.players.indexOf(W);hi>=0&&this.players.splice(hi,1);const mi=this._engine.playersByElement.get(B);if(mi){let yi=mi.indexOf(W);yi>=0&&mi.splice(yi,1)}}),this.players.push(W),Zt.push(W),W}deregister(B){delete this._triggers[B],this._engine.statesByElement.forEach((U,Se)=>{delete U[B]}),this._elementListeners.forEach((U,Se)=>{this._elementListeners.set(Se,U.filter(st=>st.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const U=this._engine.playersByElement.get(B);U&&(U.forEach(Se=>Se.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,U){const Se=this._engine.driver.query(B,ve,!0);Se.forEach(st=>{if(st[Pi])return;const ft=this._engine.fetchNamespacesByElement(st);ft.size?ft.forEach(W=>W.triggerLeaveAnimation(st,U,!1,!0)):this.clearElementCache(st)}),this._engine.afterFlushAnimationsDone(()=>Se.forEach(st=>this.clearElementCache(st)))}triggerLeaveAnimation(B,U,Se,st){const ft=this._engine.statesByElement.get(B),W=new Map;if(ft){const De=[];if(Object.keys(ft).forEach(ne=>{if(W.set(ne,ft[ne].value),this._triggers[ne]){const Ge=this.trigger(B,ne,Ui,st);Ge&&De.push(Ge)}}),De.length)return this._engine.markElementAsRemoved(this.id,B,!0,U,W),Se&&A(De).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const U=this._elementListeners.get(B),Se=this._engine.statesByElement.get(B);if(U&&Se){const st=new Set;U.forEach(ft=>{const W=ft.name;if(st.has(W))return;st.add(W);const ne=this._triggers[W].fallbackTransition,Ge=Se[W]||fn,_t=new Ti(Ui),Nt=new Tt(this.id,W,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:W,transition:ne,fromState:Ge,toState:_t,player:Nt,isFallbackTransition:!0})})}}removeNode(B,U){const Se=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,U),this.triggerLeaveAnimation(B,U,!0))return;let st=!1;if(Se.totalAnimations){const ft=Se.players.length?Se.playersByQueriedElement.get(B):[];if(ft&&ft.length)st=!0;else{let W=B;for(;W=W.parentNode;)if(Se.statesByElement.get(W)){st=!0;break}}}if(this.prepareLeaveAnimationListeners(B),st)Se.markElementAsRemoved(this.id,B,!1,U);else{const ft=B[Pi];(!ft||ft===Hi)&&(Se.afterFlush(()=>this.clearElementCache(B)),Se.destroyInnerAnimations(B),Se._onRemovalComplete(B,U))}}insertNode(B,U){di(B,this._hostClassName)}drainQueuedTransitions(B){const U=[];return this._queue.forEach(Se=>{const st=Se.player;if(st.destroyed)return;const ft=Se.element,W=this._elementListeners.get(ft);W&&W.forEach(De=>{if(De.name==Se.triggerName){const ne=E(ft,Se.triggerName,Se.fromState.value,Se.toState.value);ne._data=B,b(Se.player,De.phase,ne,De.callback)}}),st.markedForDestroy?this._engine.afterFlush(()=>{st.destroy()}):U.push(Se)}),this._queue=[],U.sort((Se,st)=>{const ft=Se.transition.ast.depCount,W=st.transition.ast.depCount;return 0==ft||0==W?ft-W:this._engine.driver.containsElement(Se.element,st.element)?1:-1})}destroy(B){this.players.forEach(U=>U.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}elementContainsData(B){let U=!1;return this._elementListeners.has(B)&&(U=!0),U=!!this._queue.find(Se=>Se.element===B)||U,U}}class qi{constructor(B,U,Se){this.bodyNode=B,this.driver=U,this._normalizer=Se,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=(st,ft)=>{}}_onRemovalComplete(B,U){this.onRemovalComplete(B,U)}get queuedPlayers(){const B=[];return this._namespaceList.forEach(U=>{U.players.forEach(Se=>{Se.queued&&B.push(Se)})}),B}createNamespace(B,U){const Se=new sn(B,U,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,U)?this._balanceNamespaceList(Se,U):(this.newHostElements.set(U,Se),this.collectEnterElement(U)),this._namespaceLookup[B]=Se}_balanceNamespaceList(B,U){const Se=this._namespaceList.length-1;if(Se>=0){let st=!1;for(let ft=Se;ft>=0;ft--)if(this.driver.containsElement(this._namespaceList[ft].hostElement,U)){this._namespaceList.splice(ft+1,0,B),st=!0;break}st||this._namespaceList.splice(0,0,B)}else this._namespaceList.push(B);return this.namespacesByHostElement.set(U,B),B}register(B,U){let Se=this._namespaceLookup[B];return Se||(Se=this.createNamespace(B,U)),Se}registerTrigger(B,U,Se){let st=this._namespaceLookup[B];st&&st.register(U,Se)&&this.totalAnimations++}destroy(B,U){if(!B)return;const Se=this._fetchNamespace(B);this.afterFlush(()=>{this.namespacesByHostElement.delete(Se.hostElement),delete this._namespaceLookup[B];const st=this._namespaceList.indexOf(Se);st>=0&&this._namespaceList.splice(st,1)}),this.afterFlushAnimationsDone(()=>Se.destroy(U))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const U=new Set,Se=this.statesByElement.get(B);if(Se){const st=Object.keys(Se);for(let ft=0;ft=0&&this.collectedLeaveElements.splice(W,1)}if(B){const W=this._fetchNamespace(B);W&&W.insertNode(U,Se)}st&&this.collectEnterElement(U)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,U){U?this.disabledNodes.has(B)||(this.disabledNodes.add(B),di(B,Ri)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),Oi(B,Ri))}removeNode(B,U,Se,st){if(ut(U)){const ft=B?this._fetchNamespace(B):null;if(ft?ft.removeNode(U,st):this.markElementAsRemoved(B,U,!1,st),Se){const W=this.namespacesByHostElement.get(U);W&&W.id!==B&&W.removeNode(U,st)}}else this._onRemovalComplete(U,st)}markElementAsRemoved(B,U,Se,st,ft){this.collectedLeaveElements.push(U),U[Pi]={namespaceId:B,setForRemoval:st,hasAnimation:Se,removedBeforeQueried:!1,previousTriggersValues:ft}}listen(B,U,Se,st,ft){return ut(U)?this._fetchNamespace(B).listen(U,Se,st,ft):()=>{}}_buildInstruction(B,U,Se,st,ft){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,Se,st,B.fromState.options,B.toState.options,U,ft)}destroyInnerAnimations(B){let U=this.driver.query(B,ve,!0);U.forEach(Se=>this.destroyActiveAnimationsForElement(Se)),0!=this.playersByQueriedElement.size&&(U=this.driver.query(B,Te,!0),U.forEach(Se=>this.finishActiveQueriedAnimationOnElement(Se)))}destroyActiveAnimationsForElement(B){const U=this.playersByElement.get(B);U&&U.forEach(Se=>{Se.queued?Se.markedForDestroy=!0:Se.destroy()})}finishActiveQueriedAnimationOnElement(B){const U=this.playersByQueriedElement.get(B);U&&U.forEach(Se=>Se.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return A(this.players).onDone(()=>B());B()})}processLeaveNode(B){var U;const Se=B[Pi];if(Se&&Se.setForRemoval){if(B[Pi]=Hi,Se.namespaceId){this.destroyInnerAnimations(B);const st=this._fetchNamespace(Se.namespaceId);st&&st.clearElementCache(B)}this._onRemovalComplete(B,Se.setForRemoval)}(null===(U=B.classList)||void 0===U?void 0:U.contains(Ri))&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(st=>{this.markElementAsDisabled(st,!1)})}flush(B=-1){let U=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Se,st)=>this._balanceNamespaceList(Se,st)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Se=0;SeSe()),this._flushFns=[],this._whenQuietFns.length){const Se=this._whenQuietFns;this._whenQuietFns=[],U.length?A(U).onDone(()=>{Se.forEach(st=>st())}):Se.forEach(st=>st())}}reportError(B){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${B.join("\n")}`)}_flushAnimations(B,U){const Se=new G,st=[],ft=new Map,W=[],De=new Map,ne=new Map,Ge=new Map,_t=new Set;this.disabledNodes.forEach(si=>{_t.add(si);const vi=this.driver.query(si,".ng-animate-queued",!0);for(let gi=0;gi{const gi=Fe+hi++;ai.set(vi,gi),si.forEach(Fi=>di(Fi,gi))});const mi=[],yi=new Set,xi=new Set;for(let si=0;siyi.add(Fi)):xi.add(vi))}const xe=new Map,Ee=Jt(Zt,Array.from(yi));Ee.forEach((si,vi)=>{const gi=se+hi++;xe.set(vi,gi),si.forEach(Fi=>di(Fi,gi))}),B.push(()=>{ii.forEach((si,vi)=>{const gi=ai.get(vi);si.forEach(Fi=>Oi(Fi,gi))}),Ee.forEach((si,vi)=>{const gi=xe.get(vi);si.forEach(Fi=>Oi(Fi,gi))}),mi.forEach(si=>{this.processLeaveNode(si)})});const ye=[],ot=[];for(let si=this._namespaceList.length-1;si>=0;si--)this._namespaceList[si].drainQueuedTransitions(U).forEach(gi=>{const Fi=gi.player,un=gi.element;if(ye.push(Fi),this.collectedEnterElements.length){const yn=un[Pi];if(yn&&yn.setForMove){if(yn.previousTriggersValues&&yn.previousTriggersValues.has(gi.triggerName)){const hn=yn.previousTriggersValues.get(gi.triggerName),Tn=this.statesByElement.get(gi.element);Tn&&Tn[gi.triggerName]&&(Tn[gi.triggerName].value=hn)}return void Fi.destroy()}}const An=!Nt||!this.driver.containsElement(Nt,un),Dn=xe.get(un),Vn=ai.get(un),dn=this._buildInstruction(gi,Se,Vn,Dn,An);if(dn.errors&&dn.errors.length)return void ot.push(dn);if(An)return Fi.onStart(()=>at(un,dn.fromStyles)),Fi.onDestroy(()=>tt(un,dn.toStyles)),void st.push(Fi);if(gi.isFallbackTransition)return Fi.onStart(()=>at(un,dn.fromStyles)),Fi.onDestroy(()=>tt(un,dn.toStyles)),void st.push(Fi);const io=[];dn.timelines.forEach(yn=>{yn.stretchStartingKeyframe=!0,this.disabledNodes.has(yn.element)||io.push(yn)}),dn.timelines=io,Se.append(un,dn.timelines),W.push({instruction:dn,player:Fi,element:un}),dn.queriedElements.forEach(yn=>h(De,yn,[]).push(Fi)),dn.preStyleProps.forEach((yn,hn)=>{const Tn=Object.keys(yn);if(Tn.length){let as=ne.get(hn);as||ne.set(hn,as=new Set),Tn.forEach(cs=>as.add(cs))}}),dn.postStyleProps.forEach((yn,hn)=>{const Tn=Object.keys(yn);let as=Ge.get(hn);as||Ge.set(hn,as=new Set),Tn.forEach(cs=>as.add(cs))})});if(ot.length){const si=[];ot.forEach(vi=>{si.push(`@${vi.triggerName} has failed due to:\n`),vi.errors.forEach(gi=>si.push(`- ${gi}\n`))}),ye.forEach(vi=>vi.destroy()),this.reportError(si)}const Lt=new Map,ci=new Map;W.forEach(si=>{const vi=si.element;Se.has(vi)&&(ci.set(vi,vi),this._beforeAnimationBuild(si.player.namespaceId,si.instruction,Lt))}),st.forEach(si=>{const vi=si.element;this._getPreviousPlayers(vi,!1,si.namespaceId,si.triggerName,null).forEach(Fi=>{h(Lt,vi,[]).push(Fi),Fi.destroy()})});const Bi=mi.filter(si=>$n(si,ne,Ge)),ln=new Map;Ft(ln,this.driver,xi,Ge,g.l3).forEach(si=>{$n(si,ne,Ge)&&Bi.push(si)});const Kn=new Map;ii.forEach((si,vi)=>{Ft(Kn,this.driver,new Set(si),ne,g.k1)}),Bi.forEach(si=>{const vi=ln.get(si),gi=Kn.get(si);ln.set(si,Object.assign(Object.assign({},vi),gi))});const zn=[],Ws=[],ti={};W.forEach(si=>{const{element:vi,player:gi,instruction:Fi}=si;if(Se.has(vi)){if(_t.has(vi))return gi.onDestroy(()=>tt(vi,Fi.toStyles)),gi.disabled=!0,gi.overrideTotalTime(Fi.totalTime),void st.push(gi);let un=ti;if(ci.size>1){let Dn=vi;const Vn=[];for(;Dn=Dn.parentNode;){const dn=ci.get(Dn);if(dn){un=dn;break}Vn.push(Dn)}Vn.forEach(dn=>ci.set(dn,un))}const An=this._buildAnimation(gi.namespaceId,Fi,Lt,ft,Kn,ln);if(gi.setRealPlayer(An),un===ti)zn.push(gi);else{const Dn=this.playersByElement.get(un);Dn&&Dn.length&&(gi.parentPlayer=A(Dn)),st.push(gi)}}else at(vi,Fi.fromStyles),gi.onDestroy(()=>tt(vi,Fi.toStyles)),Ws.push(gi),_t.has(vi)&&st.push(gi)}),Ws.forEach(si=>{const vi=ft.get(si.element);if(vi&&vi.length){const gi=A(vi);si.setRealPlayer(gi)}}),st.forEach(si=>{si.parentPlayer?si.syncPlayerEvents(si.parentPlayer):si.destroy()});for(let si=0;si!An.destroyed);un.length?zi(this,vi,un):this.processLeaveNode(vi)}return mi.length=0,zn.forEach(si=>{this.players.push(si),si.onDone(()=>{si.destroy();const vi=this.players.indexOf(si);this.players.splice(vi,1)}),si.play()}),zn}elementContainsData(B,U){let Se=!1;const st=U[Pi];return st&&st.setForRemoval&&(Se=!0),this.playersByElement.has(U)&&(Se=!0),this.playersByQueriedElement.has(U)&&(Se=!0),this.statesByElement.has(U)&&(Se=!0),this._fetchNamespace(B).elementContainsData(U)||Se}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,U,Se,st,ft){let W=[];if(U){const De=this.playersByQueriedElement.get(B);De&&(W=De)}else{const De=this.playersByElement.get(B);if(De){const ne=!ft||ft==Ui;De.forEach(Ge=>{Ge.queued||!ne&&Ge.triggerName!=st||W.push(Ge)})}}return(Se||st)&&(W=W.filter(De=>!(Se&&Se!=De.namespaceId||st&&st!=De.triggerName))),W}_beforeAnimationBuild(B,U,Se){const ft=U.element,W=U.isRemovalTransition?void 0:B,De=U.isRemovalTransition?void 0:U.triggerName;for(const ne of U.timelines){const Ge=ne.element,_t=Ge!==ft,Nt=h(Se,Ge,[]);this._getPreviousPlayers(Ge,_t,W,De,U.toState).forEach(ii=>{const ai=ii.getRealPlayer();ai.beforeDestroy&&ai.beforeDestroy(),ii.destroy(),Nt.push(ii)})}at(ft,U.fromStyles)}_buildAnimation(B,U,Se,st,ft,W){const De=U.triggerName,ne=U.element,Ge=[],_t=new Set,Nt=new Set,Zt=U.timelines.map(ai=>{const hi=ai.element;_t.add(hi);const mi=hi[Pi];if(mi&&mi.removedBeforeQueried)return new g.ZN(ai.duration,ai.delay);const yi=hi!==ne,xi=function mn(rt){const B=[];return In(rt,B),B}((Se.get(hi)||Ni).map(Lt=>Lt.getRealPlayer())).filter(Lt=>!!Lt.element&&Lt.element===hi),xe=ft.get(hi),Ee=W.get(hi),ye=s(0,this._normalizer,0,ai.keyframes,xe,Ee),ot=this._buildPlayer(ai,ye,xi);if(ai.subTimeline&&st&&Nt.add(hi),yi){const Lt=new Tt(B,De,hi);Lt.setRealPlayer(ot),Ge.push(Lt)}return ot});Ge.forEach(ai=>{h(this.playersByQueriedElement,ai.element,[]).push(ai),ai.onDone(()=>function $t(rt,B,U){let Se;if(rt instanceof Map){if(Se=rt.get(B),Se){if(Se.length){const st=Se.indexOf(U);Se.splice(st,1)}0==Se.length&&rt.delete(B)}}else if(Se=rt[B],Se){if(Se.length){const st=Se.indexOf(U);Se.splice(st,1)}0==Se.length&&delete rt[B]}return Se}(this.playersByQueriedElement,ai.element,ai))}),_t.forEach(ai=>di(ai,me));const ii=A(Zt);return ii.onDestroy(()=>{_t.forEach(ai=>Oi(ai,me)),tt(ne,U.toStyles)}),Nt.forEach(ai=>{h(st,ai,[]).push(ii)}),ii}_buildPlayer(B,U,Se){return U.length>0?this.driver.animate(B.element,U,B.duration,B.delay,B.easing,Se):new g.ZN(B.duration,B.delay)}}class Tt{constructor(B,U,Se){this.namespaceId=B,this.triggerName=U,this.element=Se,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(B){this._containsRealPlayer||(this._player=B,Object.keys(this._queuedCallbacks).forEach(U=>{this._queuedCallbacks[U].forEach(Se=>b(B,U,void 0,Se))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(B.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(B){this.totalTime=B}syncPlayerEvents(B){const U=this._player;U.triggerCallback&&B.onStart(()=>U.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,U){h(this._queuedCallbacks,B,[]).push(U)}onDone(B){this.queued&&this._queueEvent("done",B),this._player.onDone(B)}onStart(B){this.queued&&this._queueEvent("start",B),this._player.onStart(B)}onDestroy(B){this.queued&&this._queueEvent("destroy",B),this._player.onDestroy(B)}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(B){this.queued||this._player.setPosition(B)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(B){const U=this._player;U.triggerCallback&&U.triggerCallback(B)}}function ut(rt){return rt&&1===rt.nodeType}function lt(rt,B){const U=rt.style.display;return rt.style.display=null!=B?B:"none",U}function Ft(rt,B,U,Se,st){const ft=[];U.forEach(ne=>ft.push(lt(ne)));const W=[];Se.forEach((ne,Ge)=>{const _t={};ne.forEach(Nt=>{const Zt=_t[Nt]=B.computeStyle(Ge,Nt,st);(!Zt||0==Zt.length)&&(Ge[Pi]=pn,W.push(Ge))}),rt.set(Ge,_t)});let De=0;return U.forEach(ne=>lt(ne,ft[De++])),W}function Jt(rt,B){const U=new Map;if(rt.forEach(De=>U.set(De,[])),0==B.length)return U;const st=new Set(B),ft=new Map;function W(De){if(!De)return 1;let ne=ft.get(De);if(ne)return ne;const Ge=De.parentNode;return ne=U.has(Ge)?Ge:st.has(Ge)?1:W(Ge),ft.set(De,ne),ne}return B.forEach(De=>{const ne=W(De);1!==ne&&U.get(ne).push(De)}),U}function di(rt,B){var U;null===(U=rt.classList)||void 0===U||U.add(B)}function Oi(rt,B){var U;null===(U=rt.classList)||void 0===U||U.remove(B)}function zi(rt,B,U){A(U).onDone(()=>rt.processLeaveNode(B))}function In(rt,B){for(let U=0;Ust.add(ft)):B.set(rt,Se),U.delete(rt),!0}class Zn{constructor(B,U,Se){this.bodyNode=B,this._driver=U,this._normalizer=Se,this._triggerCache={},this.onRemovalComplete=(st,ft)=>{},this._transitionEngine=new qi(B,U,Se),this._timelineEngine=new Dt(B,U,Se),this._transitionEngine.onRemovalComplete=(st,ft)=>this.onRemovalComplete(st,ft)}registerTrigger(B,U,Se,st,ft){const W=B+"-"+st;let De=this._triggerCache[W];if(!De){const ne=[],Ge=Wt(this._driver,ft,ne);if(ne.length)throw new Error(`The animation trigger "${st}" has failed to build due to the following errors:\n - ${ne.join("\n - ")}`);De=function Ze(rt,B,U){return new gt(rt,B,U)}(st,Ge,this._normalizer),this._triggerCache[W]=De}this._transitionEngine.registerTrigger(U,st,De)}register(B,U){this._transitionEngine.register(B,U)}destroy(B,U){this._transitionEngine.destroy(B,U)}onInsert(B,U,Se,st){this._transitionEngine.insertNode(B,U,Se,st)}onRemove(B,U,Se,st){this._transitionEngine.removeNode(B,U,st||!1,Se)}disableAnimations(B,U){this._transitionEngine.markElementAsDisabled(B,U)}process(B,U,Se,st){if("@"==Se.charAt(0)){const[ft,W]=k(Se);this._timelineEngine.command(ft,U,W,st)}else this._transitionEngine.trigger(B,U,Se,st)}listen(B,U,Se,st,ft){if("@"==Se.charAt(0)){const[W,De]=k(Se);return this._timelineEngine.listen(W,U,De,ft)}return this._transitionEngine.listen(B,U,Se,st,ft)}flush(B=-1){this._transitionEngine.flush(B)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Rn=(()=>{class rt{constructor(U,Se,st){this._element=U,this._startStyles=Se,this._endStyles=st,this._state=0;let ft=rt.initialStylesByElement.get(U);ft||rt.initialStylesByElement.set(U,ft={}),this._initialStyles=ft}start(){this._state<1&&(this._startStyles&&tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tt(this._element,this._initialStyles),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(rt.initialStylesByElement.delete(this._element),this._startStyles&&(at(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(at(this._element,this._endStyles),this._endStyles=null),tt(this._element,this._initialStyles),this._state=3)}}return rt.initialStylesByElement=new WeakMap,rt})();function Gn(rt){let B=null;const U=Object.keys(rt);for(let Se=0;SeB()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const B=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,B,this.options),this._finalKeyframe=B.length?B[B.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(B,U,Se){return B.animate(U,Se)}onStart(B){this._onStartFns.push(B)}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(B=>B()),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}_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(B=>B()),this._onDestroyFns=[])}setPosition(B){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=B*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const B={};if(this.hasStarted()){const U=this._finalKeyframe;Object.keys(U).forEach(Se=>{"offset"!=Se&&(B[Se]=this._finished?U[Se]:c(this.element,Se))})}this.currentSnapshot=B}triggerCallback(B){const U="start"==B?this._onStartFns:this._onDoneFns;U.forEach(Se=>Se()),U.length=0}}class vs{validateStyleProperty(B){return de(B)}matchesElement(B,U){return!1}containsElement(B,U){return ae(B,U)}query(B,U,Se){return V(B,U,Se)}computeStyle(B,U,Se){return window.getComputedStyle(B)[U]}animate(B,U,Se,st,ft,W=[]){const ne={duration:Se,delay:st,fill:0==st?"both":"forwards"};ft&&(ne.easing=ft);const Ge={},_t=W.filter(Zt=>Zt instanceof ys);(function o(rt,B){return 0===rt||0===B})(Se,st)&&_t.forEach(Zt=>{let ii=Zt.currentSnapshot;Object.keys(ii).forEach(ai=>Ge[ai]=ii[ai])}),U=function t(rt,B,U){const Se=Object.keys(U);if(Se.length&&B.length){let ft=B[0],W=[];if(Se.forEach(De=>{ft.hasOwnProperty(De)||W.push(De),ft[De]=U[De]}),W.length)for(var st=1;stCe(Zt,!1)),Ge);const Nt=function kn(rt,B){let U=null,Se=null;return Array.isArray(B)&&B.length?(U=Gn(B[0]),B.length>1&&(Se=Gn(B[B.length-1]))):B&&(U=Gn(B)),U||Se?new Rn(rt,U,Se):null}(B,U);return new ys(B,U,ne,Nt)}}var ss=d(69808);let os=(()=>{class rt extends g._j{constructor(U,Se){super(),this._nextAnimationId=0,this._renderer=U.createRenderer(Se.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(U){const Se=this._nextAnimationId.toString();this._nextAnimationId++;const st=Array.isArray(U)?(0,g.vP)(U):U;return Cs(this._renderer,null,Se,"register",[st]),new Ts(Se,this._renderer)}}return rt.\u0275fac=function(U){return new(U||rt)(e.LFG(e.FYo),e.LFG(ss.K0))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();class Ts extends g.LC{constructor(B,U){super(),this._id=B,this._renderer=U}create(B,U){return new wn(this._id,B,U||{},this._renderer)}}class wn{constructor(B,U,Se,st){this.id=B,this.element=U,this._renderer=st,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Se)}_listen(B,U){return this._renderer.listen(this.element,`@@${this.id}:${B}`,U)}_command(B,...U){return Cs(this._renderer,this.element,this.id,B,U)}onDone(B){this._listen("done",B)}onStart(B){this._listen("start",B)}onDestroy(B){this._listen("destroy",B)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(B){this._command("setPosition",B)}getPosition(){var B,U;return null!==(U=null===(B=this._renderer.engine.players[+this.id])||void 0===B?void 0:B.getPosition())&&void 0!==U?U:0}}function Cs(rt,B,U,Se,st){return rt.setProperty(B,`@@${U}:${Se}`,st)}const Fn="@.disabled";let Jn=(()=>{class rt{constructor(U,Se,st){this.delegate=U,this.engine=Se,this._zone=st,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Se.onRemovalComplete=(ft,W)=>{const De=null==W?void 0:W.parentNode(ft);De&&W.removeChild(De,ft)}}createRenderer(U,Se){const ft=this.delegate.createRenderer(U,Se);if(!(U&&Se&&Se.data&&Se.data.animation)){let _t=this._rendererCache.get(ft);return _t||(_t=new Qn("",ft,this.engine),this._rendererCache.set(ft,_t)),_t}const W=Se.id,De=Se.id+"-"+this._currentId;this._currentId++,this.engine.register(De,U);const ne=_t=>{Array.isArray(_t)?_t.forEach(ne):this.engine.registerTrigger(W,De,U,_t.name,_t)};return Se.data.animation.forEach(ne),new Xn(this,De,ft,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(U,Se,st){U>=0&&USe(st)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ft=>{const[W,De]=ft;W(De)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Se,st]))}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()}}return rt.\u0275fac=function(U){return new(U||rt)(e.LFG(e.FYo),e.LFG(Zn),e.LFG(e.R0b))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();class Qn{constructor(B,U,Se){this.namespaceId=B,this.delegate=U,this.engine=Se,this.destroyNode=this.delegate.destroyNode?st=>U.destroyNode(st):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(B,U){return this.delegate.createElement(B,U)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,U){this.delegate.appendChild(B,U),this.engine.onInsert(this.namespaceId,U,B,!1)}insertBefore(B,U,Se,st=!0){this.delegate.insertBefore(B,U,Se),this.engine.onInsert(this.namespaceId,U,B,st)}removeChild(B,U,Se){this.engine.onRemove(this.namespaceId,U,this.delegate,Se)}selectRootElement(B,U){return this.delegate.selectRootElement(B,U)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,U,Se,st){this.delegate.setAttribute(B,U,Se,st)}removeAttribute(B,U,Se){this.delegate.removeAttribute(B,U,Se)}addClass(B,U){this.delegate.addClass(B,U)}removeClass(B,U){this.delegate.removeClass(B,U)}setStyle(B,U,Se,st){this.delegate.setStyle(B,U,Se,st)}removeStyle(B,U,Se){this.delegate.removeStyle(B,U,Se)}setProperty(B,U,Se){"@"==U.charAt(0)&&U==Fn?this.disableAnimations(B,!!Se):this.delegate.setProperty(B,U,Se)}setValue(B,U){this.delegate.setValue(B,U)}listen(B,U,Se){return this.delegate.listen(B,U,Se)}disableAnimations(B,U){this.engine.disableAnimations(B,U)}}class Xn extends Qn{constructor(B,U,Se,st){super(U,Se,st),this.factory=B,this.namespaceId=U}setProperty(B,U,Se){"@"==U.charAt(0)?"."==U.charAt(1)&&U==Fn?this.disableAnimations(B,Se=void 0===Se||!!Se):this.engine.process(this.namespaceId,B,U.substr(1),Se):this.delegate.setProperty(B,U,Se)}listen(B,U,Se){if("@"==U.charAt(0)){const st=function Ln(rt){switch(rt){case"body":return document.body;case"document":return document;case"window":return window;default:return rt}}(B);let ft=U.substr(1),W="";return"@"!=ft.charAt(0)&&([ft,W]=function Hn(rt){const B=rt.indexOf(".");return[rt.substring(0,B),rt.substr(B+1)]}(ft)),this.engine.listen(this.namespaceId,st,ft,W,De=>{this.factory.scheduleListenerCallback(De._data||-1,Se,De)})}return this.delegate.listen(B,U,Se)}}let hs=(()=>{class rt extends Zn{constructor(U,Se,st){super(U.body,Se,st)}ngOnDestroy(){this.flush()}}return rt.\u0275fac=function(U){return new(U||rt)(e.LFG(ss.K0),e.LFG(ie),e.LFG(Si))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const ps=new e.OlP("AnimationModuleType"),_n=[{provide:g._j,useClass:os},{provide:Si,useFactory:function jn(){return new nn}},{provide:Zn,useClass:hs},{provide:e.FYo,useFactory:function Sn(rt,B,U){return new Jn(rt,B,U)},deps:[f.se,Zn,e.R0b]}],es=[{provide:ie,useFactory:()=>new vs},{provide:ps,useValue:"BrowserAnimations"},..._n],Es=[{provide:ie,useClass:X},{provide:ps,useValue:"NoopAnimations"},..._n];let Un=(()=>{class rt{static withConfig(U){return{ngModule:rt,providers:U.disableAnimations?Es:es}}}return rt.\u0275fac=function(U){return new(U||rt)},rt.\u0275mod=e.oAB({type:rt}),rt.\u0275inj=e.cJS({providers:es,imports:[f.b2]}),rt})()},22313:(Ke,be,d)=>{"use strict";d.d(be,{b2:()=>P,H7:()=>Ue,Dx:()=>t,q6:()=>S,se:()=>Me});var e=d(69808),f=d(5e3);class g extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends g{static makeCurrent(){(0,e.HT)(new T)}onAndCancel(Ct,mt,Rt){return Ct.addEventListener(mt,Rt,!1),()=>{Ct.removeEventListener(mt,Rt,!1)}}dispatchEvent(Ct,mt){Ct.dispatchEvent(mt)}remove(Ct){Ct.parentNode&&Ct.parentNode.removeChild(Ct)}createElement(Ct,mt){return(mt=mt||this.getDefaultDocument()).createElement(Ct)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ct){return Ct.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ct){return Ct instanceof DocumentFragment}getGlobalEventTarget(Ct,mt){return"window"===mt?window:"document"===mt?Ct:"body"===mt?Ct.body:null}getBaseHref(Ct){const mt=function A(){return m=m||document.querySelector("base"),m?m.getAttribute("href"):null}();return null==mt?null:function b(St){s=s||document.createElement("a"),s.setAttribute("href",St);const Ct=s.pathname;return"/"===Ct.charAt(0)?Ct:`/${Ct}`}(mt)}resetBaseElement(){m=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ct){return(0,e.Mx)(document.cookie,Ct)}}let s,m=null;const O=new f.OlP("TRANSITION_ID"),h=[{provide:f.ip1,useFactory:function E(St,Ct,mt){return()=>{mt.get(f.CZH).donePromise.then(()=>{const Rt=(0,e.q)(),Gt=Ct.querySelectorAll(`style[ng-transition="${St}"]`);for(let li=0;li{const li=Ct.findTestabilityInTree(Rt,Gt);if(null==li)throw new Error("Could not find testability for element.");return li},f.dqk.getAllAngularTestabilities=()=>Ct.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>Ct.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(Rt=>{const Gt=f.dqk.getAllAngularTestabilities();let li=Gt.length,fi=!1;const Ci=function(Si){fi=fi||Si,li--,0==li&&Rt(fi)};Gt.forEach(function(Si){Si.whenStable(Ci)})})}findTestabilityInTree(Ct,mt,Rt){if(null==mt)return null;const Gt=Ct.getTestability(mt);return null!=Gt?Gt:Rt?(0,e.q)().isShadowRoot(mt)?this.findTestabilityInTree(Ct,mt.host,!0):this.findTestabilityInTree(Ct,mt.parentElement,!0):null}}let L=(()=>{class St{build(){return new XMLHttpRequest}}return St.\u0275fac=function(mt){return new(mt||St)},St.\u0275prov=f.Yz7({token:St,factory:St.\u0275fac}),St})();const Y=new f.OlP("EventManagerPlugins");let J=(()=>{class St{constructor(mt,Rt){this._zone=Rt,this._eventNameToPlugin=new Map,mt.forEach(Gt=>Gt.manager=this),this._plugins=mt.slice().reverse()}addEventListener(mt,Rt,Gt){return this._findPluginFor(Rt).addEventListener(mt,Rt,Gt)}addGlobalEventListener(mt,Rt,Gt){return this._findPluginFor(Rt).addGlobalEventListener(mt,Rt,Gt)}getZone(){return this._zone}_findPluginFor(mt){const Rt=this._eventNameToPlugin.get(mt);if(Rt)return Rt;const Gt=this._plugins;for(let li=0;li{class St{constructor(){this._stylesSet=new Set}addStyles(mt){const Rt=new Set;mt.forEach(Gt=>{this._stylesSet.has(Gt)||(this._stylesSet.add(Gt),Rt.add(Gt))}),this.onStylesAdded(Rt)}onStylesAdded(mt){}getAllStyles(){return Array.from(this._stylesSet)}}return St.\u0275fac=function(mt){return new(mt||St)},St.\u0275prov=f.Yz7({token:St,factory:St.\u0275fac}),St})(),Le=(()=>{class St extends ce{constructor(mt){super(),this._doc=mt,this._hostNodes=new Map,this._hostNodes.set(mt.head,[])}_addStylesToHost(mt,Rt,Gt){mt.forEach(li=>{const fi=this._doc.createElement("style");fi.textContent=li,Gt.push(Rt.appendChild(fi))})}addHost(mt){const Rt=[];this._addStylesToHost(this._stylesSet,mt,Rt),this._hostNodes.set(mt,Rt)}removeHost(mt){const Rt=this._hostNodes.get(mt);Rt&&Rt.forEach(de),this._hostNodes.delete(mt)}onStylesAdded(mt){this._hostNodes.forEach((Rt,Gt)=>{this._addStylesToHost(mt,Gt,Rt)})}ngOnDestroy(){this._hostNodes.forEach(mt=>mt.forEach(de))}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(e.K0))},St.\u0275prov=f.Yz7({token:St,factory:St.\u0275fac}),St})();function de(St){(0,e.q)().remove(St)}const ke={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/"},ae=/%COMP%/g,H="%COMP%",X=`_nghost-${H}`,ie=`_ngcontent-${H}`;function Ne(St,Ct,mt){for(let Rt=0;Rt{if("__ngUnwrap__"===Ct)return St;!1===St(Ct)&&(Ct.preventDefault(),Ct.returnValue=!1)}}let Me=(()=>{class St{constructor(mt,Rt,Gt){this.eventManager=mt,this.sharedStylesHost=Rt,this.appId=Gt,this.rendererByCompId=new Map,this.defaultRenderer=new ve(mt)}createRenderer(mt,Rt){if(!mt||!Rt)return this.defaultRenderer;switch(Rt.encapsulation){case f.ifc.Emulated:{let Gt=this.rendererByCompId.get(Rt.id);return Gt||(Gt=new te(this.eventManager,this.sharedStylesHost,Rt,this.appId),this.rendererByCompId.set(Rt.id,Gt)),Gt.applyToHost(mt),Gt}case 1:case f.ifc.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,mt,Rt);default:if(!this.rendererByCompId.has(Rt.id)){const Gt=Ne(Rt.id,Rt.styles,[]);this.sharedStylesHost.addStyles(Gt),this.rendererByCompId.set(Rt.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(J),f.LFG(Le),f.LFG(f.AFp))},St.\u0275prov=f.Yz7({token:St,factory:St.\u0275fac}),St})();class ve{constructor(Ct){this.eventManager=Ct,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ct,mt){return mt?document.createElementNS(ke[mt]||mt,Ct):document.createElement(Ct)}createComment(Ct){return document.createComment(Ct)}createText(Ct){return document.createTextNode(Ct)}appendChild(Ct,mt){Ct.appendChild(mt)}insertBefore(Ct,mt,Rt){Ct&&Ct.insertBefore(mt,Rt)}removeChild(Ct,mt){Ct&&Ct.removeChild(mt)}selectRootElement(Ct,mt){let Rt="string"==typeof Ct?document.querySelector(Ct):Ct;if(!Rt)throw new Error(`The selector "${Ct}" did not match any elements`);return mt||(Rt.textContent=""),Rt}parentNode(Ct){return Ct.parentNode}nextSibling(Ct){return Ct.nextSibling}setAttribute(Ct,mt,Rt,Gt){if(Gt){mt=Gt+":"+mt;const li=ke[Gt];li?Ct.setAttributeNS(li,mt,Rt):Ct.setAttribute(mt,Rt)}else Ct.setAttribute(mt,Rt)}removeAttribute(Ct,mt,Rt){if(Rt){const Gt=ke[Rt];Gt?Ct.removeAttributeNS(Gt,mt):Ct.removeAttribute(`${Rt}:${mt}`)}else Ct.removeAttribute(mt)}addClass(Ct,mt){Ct.classList.add(mt)}removeClass(Ct,mt){Ct.classList.remove(mt)}setStyle(Ct,mt,Rt,Gt){Gt&(f.JOm.DashCase|f.JOm.Important)?Ct.style.setProperty(mt,Rt,Gt&f.JOm.Important?"important":""):Ct.style[mt]=Rt}removeStyle(Ct,mt,Rt){Rt&f.JOm.DashCase?Ct.style.removeProperty(mt):Ct.style[mt]=""}setProperty(Ct,mt,Rt){Ct[mt]=Rt}setValue(Ct,mt){Ct.nodeValue=mt}listen(Ct,mt,Rt){return"string"==typeof Ct?this.eventManager.addGlobalEventListener(Ct,mt,Fe(Rt)):this.eventManager.addEventListener(Ct,mt,Fe(Rt))}}class te extends ve{constructor(Ct,mt,Rt,Gt){super(Ct),this.component=Rt;const li=Ne(Gt+"-"+Rt.id,Rt.styles,[]);mt.addStyles(li),this.contentAttr=function oe(St){return ie.replace(ae,St)}(Gt+"-"+Rt.id),this.hostAttr=function ge(St){return X.replace(ae,St)}(Gt+"-"+Rt.id)}applyToHost(Ct){super.setAttribute(Ct,this.hostAttr,"")}createElement(Ct,mt){const Rt=super.createElement(Ct,mt);return super.setAttribute(Rt,this.contentAttr,""),Rt}}class R extends ve{constructor(Ct,mt,Rt,Gt){super(Ct),this.sharedStylesHost=mt,this.hostEl=Rt,this.shadowRoot=Rt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const li=Ne(Gt.id,Gt.styles,[]);for(let fi=0;fi{class St extends ue{constructor(mt){super(mt)}supports(mt){return!0}addEventListener(mt,Rt,Gt){return mt.addEventListener(Rt,Gt,!1),()=>this.removeEventListener(mt,Rt,Gt)}removeEventListener(mt,Rt,Gt){return mt.removeEventListener(Rt,Gt)}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(e.K0))},St.\u0275prov=f.Yz7({token:St,factory:St.\u0275fac}),St})();const Ie=["alt","control","meta","shift"],fe={"\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"},Ce={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ye={alt:St=>St.altKey,control:St=>St.ctrlKey,meta:St=>St.metaKey,shift:St=>St.shiftKey};let Xe=(()=>{class St extends ue{constructor(mt){super(mt)}supports(mt){return null!=St.parseEventName(mt)}addEventListener(mt,Rt,Gt){const li=St.parseEventName(Rt),fi=St.eventCallback(li.fullKey,Gt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(mt,li.domEventName,fi))}static parseEventName(mt){const Rt=mt.toLowerCase().split("."),Gt=Rt.shift();if(0===Rt.length||"keydown"!==Gt&&"keyup"!==Gt)return null;const li=St._normalizeKey(Rt.pop());let fi="";if(Ie.forEach(Si=>{const Vi=Rt.indexOf(Si);Vi>-1&&(Rt.splice(Vi,1),fi+=Si+".")}),fi+=li,0!=Rt.length||0===li.length)return null;const Ci={};return Ci.domEventName=Gt,Ci.fullKey=fi,Ci}static getEventFullKey(mt){let Rt="",Gt=function tt(St){let Ct=St.key;if(null==Ct){if(Ct=St.keyIdentifier,null==Ct)return"Unidentified";Ct.startsWith("U+")&&(Ct=String.fromCharCode(parseInt(Ct.substring(2),16)),3===St.location&&Ce.hasOwnProperty(Ct)&&(Ct=Ce[Ct]))}return fe[Ct]||Ct}(mt);return Gt=Gt.toLowerCase()," "===Gt?Gt="space":"."===Gt&&(Gt="dot"),Ie.forEach(li=>{li!=Gt&&Ye[li](mt)&&(Rt+=li+".")}),Rt+=Gt,Rt}static eventCallback(mt,Rt,Gt){return li=>{St.getEventFullKey(li)===mt&&Gt.runGuarded(()=>Rt(li))}}static _normalizeKey(mt){return"esc"===mt?"escape":mt}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(e.K0))},St.\u0275prov=f.Yz7({token:St,factory:St.\u0275fac}),St})();const S=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:e.bD},{provide:f.g9A,useValue:function at(){T.makeCurrent(),k.init()},multi:!0},{provide:e.K0,useFactory:function he(){return(0,f.RDi)(document),document},deps:[]}]),I=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function N(){return new f.qLn},deps:[]},{provide:Y,useClass:Oe,multi:!0,deps:[e.K0,f.R0b,f.Lbi]},{provide:Y,useClass:Xe,multi:!0,deps:[e.K0]},{provide:Me,useClass:Me,deps:[J,Le,f.AFp]},{provide:f.FYo,useExisting:Me},{provide:ce,useExisting:Le},{provide:Le,useClass:Le,deps:[e.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:J,useClass:J,deps:[Y,f.R0b]},{provide:e.JF,useClass:L,deps:[]}];let P=(()=>{class St{constructor(mt){if(mt)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(mt){return{ngModule:St,providers:[{provide:f.AFp,useValue:mt.appId},{provide:O,useExisting:f.AFp},h]}}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(St,12))},St.\u0275mod=f.oAB({type:St}),St.\u0275inj=f.cJS({providers:I,imports:[e.ez,f.hGG]}),St})(),t=(()=>{class St{constructor(mt){this._doc=mt}getTitle(){return this._doc.title}setTitle(mt){this._doc.title=mt||""}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(e.K0))},St.\u0275prov=f.Yz7({token:St,factory:function(mt){let Rt=null;return Rt=mt?new mt:function o(){return new t((0,f.LFG)(e.K0))}(),Rt},providedIn:"root"}),St})();"undefined"!=typeof window&&window;let Ue=(()=>{class St{}return St.\u0275fac=function(mt){return new(mt||St)},St.\u0275prov=f.Yz7({token:St,factory:function(mt){let Rt=null;return Rt=mt?new(mt||St):f.LFG(Bt),Rt},providedIn:"root"}),St})(),Bt=(()=>{class St extends Ue{constructor(mt){super(),this._doc=mt}sanitize(mt,Rt){if(null==Rt)return null;switch(mt){case f.q3G.NONE:return Rt;case f.q3G.HTML:return(0,f.qzn)(Rt,"HTML")?(0,f.z3N)(Rt):(0,f.EiD)(this._doc,String(Rt)).toString();case f.q3G.STYLE:return(0,f.qzn)(Rt,"Style")?(0,f.z3N)(Rt):Rt;case f.q3G.SCRIPT:if((0,f.qzn)(Rt,"Script"))return(0,f.z3N)(Rt);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(Rt),(0,f.qzn)(Rt,"URL")?(0,f.z3N)(Rt):(0,f.mCW)(String(Rt));case f.q3G.RESOURCE_URL:if((0,f.qzn)(Rt,"ResourceURL"))return(0,f.z3N)(Rt);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${mt} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(mt){return(0,f.JVY)(mt)}bypassSecurityTrustStyle(mt){return(0,f.L6k)(mt)}bypassSecurityTrustScript(mt){return(0,f.eBb)(mt)}bypassSecurityTrustUrl(mt){return(0,f.LAX)(mt)}bypassSecurityTrustResourceUrl(mt){return(0,f.pB0)(mt)}}return St.\u0275fac=function(mt){return new(mt||St)(f.LFG(e.K0))},St.\u0275prov=f.Yz7({token:St,factory:function(mt){let Rt=null;return Rt=mt?new mt:function Et(St){return new Bt(St.get(e.K0))}(f.LFG(f.zs3)),Rt},providedIn:"root"}),St})()},30325:(Ke,be,d)=>{"use strict";d.d(be,{gz:()=>Ji,m2:()=>Ce,OD:()=>fe,GZ:()=>Qs,wN:()=>oi,F0:()=>vn,rH:()=>$s,yS:()=>Js,Bz:()=>fu,lC:()=>Sn});var e=d(5e3),f=d(5254),g=d(21086),T=d(591),m=d(36053),A=d(32916),s=d(84450),b=d(61221),O=d(88514),E=d(68896),h=d(71762),k=d(8929),L=d(43489);function Y(pe,$){let z=!1;return arguments.length>=2&&(z=!0),function(ze){return ze.lift(new J(pe,$,z))}}class J{constructor($,z,Pe=!1){this.accumulator=$,this.seed=z,this.hasSeed=Pe}call($,z){return z.subscribe(new ue($,this.accumulator,this.seed,this.hasSeed))}}class ue extends L.L{constructor($,z,Pe,ze){super($),this.accumulator=z,this._seed=Pe,this.hasSeed=ze,this.index=0}get seed(){return this._seed}set seed($){this.hasSeed=!0,this._seed=$}_next($){if(this.hasSeed)return this._tryNext($);this.seed=$,this.destination.next($)}_tryNext($){const z=this.index++;let Pe;try{Pe=this.accumulator(this.seed,$,z)}catch(ze){this.destination.error(ze)}this.seed=Pe,this.destination.next(Pe)}}var ce=d(92198),Le=d(94231);function de(pe){return function(z){return 0===pe?(0,E.c)():z.lift(new ke(pe))}}class ke{constructor($){if(this.total=$,this.total<0)throw new Le.W}call($,z){return z.subscribe(new ae($,this.total))}}class ae extends L.L{constructor($,z){super($),this.total=z,this.ring=new Array,this.count=0}_next($){const z=this.ring,Pe=this.total,ze=this.count++;z.length0){const Pe=this.count>=this.total?this.total:this.count,ze=this.ring;for(let ht=0;htpe.length||"full"===z.pathMatch&&($.hasChildren()||Pe.lengthPe[ht]===ze)}return pe===$}function zt(pe){return Array.prototype.concat.apply([],pe)}function Vt(pe){return pe.length>0?pe[pe.length-1]:null}function At(pe,$){for(const z in pe)pe.hasOwnProperty(z)&&$(pe[z],z)}function Ht(pe){return(0,e.CqO)(pe)?pe:(0,e.QGY)(pe)?(0,f.D)(Promise.resolve(pe)):(0,g.of)(pe)}const et={exact:function We(pe,$,z){if(!Bt(pe.segments,$.segments)||!G(pe.segments,$.segments,z)||pe.numberOfChildren!==$.numberOfChildren)return!1;for(const Pe in $.children)if(!pe.children[Pe]||!We(pe.children[Pe],$.children[Pe],z))return!1;return!0},subset:re},kt={exact:function It(pe,$){return nt(pe,$)},subset:function qe(pe,$){return Object.keys($).length<=Object.keys(pe).length&&Object.keys($).every(z=>Mt(pe[z],$[z]))},ignored:()=>!0};function pt(pe,$,z){return et[z.paths](pe.root,$.root,z.matrixParams)&&kt[z.queryParams](pe.queryParams,$.queryParams)&&!("exact"===z.fragment&&pe.fragment!==$.fragment)}function re(pe,$,z){return Z(pe,$,$.segments,z)}function Z(pe,$,z,Pe){if(pe.segments.length>z.length){const ze=pe.segments.slice(0,z.length);return!(!Bt(ze,z)||$.hasChildren()||!G(ze,z,Pe))}if(pe.segments.length===z.length){if(!Bt(pe.segments,z)||!G(pe.segments,z,Pe))return!1;for(const ze in $.children)if(!pe.children[ze]||!re(pe.children[ze],$.children[ze],Pe))return!1;return!0}{const ze=z.slice(0,pe.segments.length),ht=z.slice(pe.segments.length);return!!(Bt(pe.segments,ze)&&G(pe.segments,ze,Pe)&&pe.children[t])&&Z(pe.children[t],$,ht,Pe)}}function G(pe,$,z){return $.every((Pe,ze)=>kt[z](pe[ze].parameters,Pe.parameters))}class ee{constructor($,z,Pe){this.root=$,this.queryParams=z,this.fragment=Pe}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=c(this.queryParams)),this._queryParamMap}toString(){return mt.serialize(this)}}class _e{constructor($,z){this.segments=$,this.children=z,this.parent=null,At(z,(Pe,ze)=>Pe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rt(this)}}class Ue{constructor($,z){this.path=$,this.parameters=z}get parameterMap(){return this._parameterMap||(this._parameterMap=c(this.parameters)),this._parameterMap}toString(){return $i(this)}}function Bt(pe,$){return pe.length===$.length&&pe.every((z,Pe)=>z.path===$[Pe].path)}class St{}class Ct{parse($){const z=new F($);return new ee(z.parseRootSegment(),z.parseQueryParams(),z.parseFragment())}serialize($){const z=`/${Gt($.root,!0)}`,Pe=function bn(pe){const $=Object.keys(pe).map(z=>{const Pe=pe[z];return Array.isArray(Pe)?Pe.map(ze=>`${fi(z)}=${fi(ze)}`).join("&"):`${fi(z)}=${fi(Pe)}`}).filter(z=>!!z);return $.length?`?${$.join("&")}`:""}($.queryParams);return`${z}${Pe}${"string"==typeof $.fragment?`#${function Ci(pe){return encodeURI(pe)}($.fragment)}`:""}`}}const mt=new Ct;function Rt(pe){return pe.segments.map($=>$i($)).join("/")}function Gt(pe,$){if(!pe.hasChildren())return Rt(pe);if($){const z=pe.children[t]?Gt(pe.children[t],!1):"",Pe=[];return At(pe.children,(ze,ht)=>{ht!==t&&Pe.push(`${ht}:${Gt(ze,!1)}`)}),Pe.length>0?`${z}(${Pe.join("//")})`:z}{const z=function jt(pe,$){let z=[];return At(pe.children,(Pe,ze)=>{ze===t&&(z=z.concat($(Pe,ze)))}),At(pe.children,(Pe,ze)=>{ze!==t&&(z=z.concat($(Pe,ze)))}),z}(pe,(Pe,ze)=>ze===t?[Gt(pe.children[t],!1)]:[`${ze}:${Gt(Pe,!1)}`]);return 1===Object.keys(pe.children).length&&null!=pe.children[t]?`${Rt(pe)}/${z[0]}`:`${Rt(pe)}/(${z.join("//")})`}}function li(pe){return encodeURIComponent(pe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fi(pe){return li(pe).replace(/%3B/gi,";")}function Si(pe){return li(pe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vi(pe){return decodeURIComponent(pe)}function nn(pe){return Vi(pe.replace(/\+/g,"%20"))}function $i(pe){return`${Si(pe.path)}${function Yi(pe){return Object.keys(pe).map($=>`;${Si($)}=${Si(pe[$])}`).join("")}(pe.parameters)}`}const Qi=/^[^\/()?;=#]+/;function $e(pe){const $=pe.match(Qi);return $?$[0]:""}const vt=/^[^=?&#]+/,Ze=/^[^&#]+/;class F{constructor($){this.url=$,this.remaining=$}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _e([],{}):new _e([],this.parseChildren())}parseQueryParams(){const $={};if(this.consumeOptional("?"))do{this.parseQueryParam($)}while(this.consumeOptional("&"));return $}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const $=[];for(this.peekStartsWith("(")||$.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),$.push(this.parseSegment());let z={};this.peekStartsWith("/(")&&(this.capture("/"),z=this.parseParens(!0));let Pe={};return this.peekStartsWith("(")&&(Pe=this.parseParens(!1)),($.length>0||Object.keys(z).length>0)&&(Pe[t]=new _e($,z)),Pe}parseSegment(){const $=$e(this.remaining);if(""===$&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture($),new Ue(Vi($),this.parseMatrixParams())}parseMatrixParams(){const $={};for(;this.consumeOptional(";");)this.parseParam($);return $}parseParam($){const z=$e(this.remaining);if(!z)return;this.capture(z);let Pe="";if(this.consumeOptional("=")){const ze=$e(this.remaining);ze&&(Pe=ze,this.capture(Pe))}$[Vi(z)]=Vi(Pe)}parseQueryParam($){const z=function Qe(pe){const $=pe.match(vt);return $?$[0]:""}(this.remaining);if(!z)return;this.capture(z);let Pe="";if(this.consumeOptional("=")){const wt=function gt(pe){const $=pe.match(Ze);return $?$[0]:""}(this.remaining);wt&&(Pe=wt,this.capture(Pe))}const ze=nn(z),ht=nn(Pe);if($.hasOwnProperty(ze)){let wt=$[ze];Array.isArray(wt)||(wt=[wt],$[ze]=wt),wt.push(ht)}else $[ze]=ht}parseParens($){const z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Pe=$e(this.remaining),ze=this.remaining[Pe.length];if("/"!==ze&&")"!==ze&&";"!==ze)throw new Error(`Cannot parse url '${this.url}'`);let ht;Pe.indexOf(":")>-1?(ht=Pe.substr(0,Pe.indexOf(":")),this.capture(ht),this.capture(":")):$&&(ht=t);const wt=this.parseChildren();z[ht]=1===Object.keys(wt).length?wt[t]:new _e([],wt),this.consumeOptional("//")}return z}peekStartsWith($){return this.remaining.startsWith($)}consumeOptional($){return!!this.peekStartsWith($)&&(this.remaining=this.remaining.substring($.length),!0)}capture($){if(!this.consumeOptional($))throw new Error(`Expected "${$}".`)}}class Be{constructor($){this._root=$}get root(){return this._root.value}parent($){const z=this.pathFromRoot($);return z.length>1?z[z.length-2]:null}children($){const z=dt($,this._root);return z?z.children.map(Pe=>Pe.value):[]}firstChild($){const z=dt($,this._root);return z&&z.children.length>0?z.children[0].value:null}siblings($){const z=Dt($,this._root);return z.length<2?[]:z[z.length-2].children.map(ze=>ze.value).filter(ze=>ze!==$)}pathFromRoot($){return Dt($,this._root).map(z=>z.value)}}function dt(pe,$){if(pe===$.value)return $;for(const z of $.children){const Pe=dt(pe,z);if(Pe)return Pe}return null}function Dt(pe,$){if(pe===$.value)return[$];for(const z of $.children){const Pe=Dt(pe,z);if(Pe.length)return Pe.unshift($),Pe}return[]}class ei{constructor($,z){this.value=$,this.children=z}toString(){return`TreeNode(${this.value})`}}function Qt(pe){const $={};return pe&&pe.children.forEach(z=>$[z.value.outlet]=z),$}class Ri extends Be{constructor($,z){super($),this.snapshot=z,Ti(this,$)}toString(){return this.snapshot.toString()}}function bi(pe,$){const z=function Li(pe,$){const wt=new pn([],{},{},"",{},t,$,null,pe.root,-1,{});return new Pi("",new ei(wt,[]))}(pe,$),Pe=new T.X([new Ue("",{})]),ze=new T.X({}),ht=new T.X({}),wt=new T.X({}),Pt=new T.X(""),Yt=new Ji(Pe,ze,wt,Pt,ht,t,$,z.root);return Yt.snapshot=z.root,new Ri(new ei(Yt,[]),z)}class Ji{constructor($,z,Pe,ze,ht,wt,Pt,Yt){this.url=$,this.params=z,this.queryParams=Pe,this.fragment=ze,this.data=ht,this.outlet=wt,this.component=Pt,this._futureSnapshot=Yt}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._paramMap=this.params.pipe((0,oe.U)($=>c($)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,oe.U)($=>c($)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ni(pe,$="emptyOnly"){const z=pe.pathFromRoot;let Pe=0;if("always"!==$)for(Pe=z.length-1;Pe>=1;){const ze=z[Pe],ht=z[Pe-1];if(ze.routeConfig&&""===ze.routeConfig.path)Pe--;else{if(ht.component)break;Pe--}}return function Hi(pe){return pe.reduce(($,z)=>({params:Object.assign(Object.assign({},$.params),z.params),data:Object.assign(Object.assign({},$.data),z.data),resolve:Object.assign(Object.assign({},$.resolve),z._resolvedData)}),{params:{},data:{},resolve:{}})}(z.slice(Pe))}class pn{constructor($,z,Pe,ze,ht,wt,Pt,Yt,_i,ji,Ei){this.url=$,this.params=z,this.queryParams=Pe,this.fragment=ze,this.data=ht,this.outlet=wt,this.component=Pt,this.routeConfig=Yt,this._urlSegment=_i,this._lastPathIndex=ji,this._resolve=Ei}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._paramMap=c(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=c(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Pe=>Pe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Pi extends Be{constructor($,z){super(z),this.url=$,Ti(this,z)}toString(){return Ui(this._root)}}function Ti(pe,$){$.value._routerState=pe,$.children.forEach(z=>Ti(pe,z))}function Ui(pe){const $=pe.children.length>0?` { ${pe.children.map(Ui).join(", ")} } `:"";return`${pe.value}${$}`}function fn(pe){if(pe.snapshot){const $=pe.snapshot,z=pe._futureSnapshot;pe.snapshot=z,nt($.queryParams,z.queryParams)||pe.queryParams.next(z.queryParams),$.fragment!==z.fragment&&pe.fragment.next(z.fragment),nt($.params,z.params)||pe.params.next(z.params),function Ve(pe,$){if(pe.length!==$.length)return!1;for(let z=0;znt(z.parameters,$[Pe].parameters))}(pe.url,$.url);return z&&!(!pe.parent!=!$.parent)&&(!pe.parent||sn(pe.parent,$.parent))}function Tt(pe,$,z){if(z&&pe.shouldReuseRoute($.value,z.value.snapshot)){const Pe=z.value;Pe._futureSnapshot=$.value;const ze=function $t(pe,$,z){return $.children.map(Pe=>{for(const ze of z.children)if(pe.shouldReuseRoute(Pe.value,ze.value.snapshot))return Tt(pe,Pe,ze);return Tt(pe,Pe)})}(pe,$,z);return new ei(Pe,ze)}{if(pe.shouldAttach($.value)){const ht=pe.retrieve($.value);if(null!==ht){const wt=ht.route;return wt.value._futureSnapshot=$.value,wt.children=$.children.map(Pt=>Tt(pe,Pt)),wt}}const Pe=function q(pe){return new Ji(new T.X(pe.url),new T.X(pe.params),new T.X(pe.queryParams),new T.X(pe.fragment),new T.X(pe.data),pe.outlet,pe.component,pe)}($.value),ze=$.children.map(ht=>Tt(pe,ht));return new ei(Pe,ze)}}function we(pe){return"object"==typeof pe&&null!=pe&&!pe.outlets&&!pe.segmentPath}function lt(pe){return"object"==typeof pe&&null!=pe&&pe.outlets}function Ft(pe,$,z,Pe,ze){let ht={};return Pe&&At(Pe,(wt,Pt)=>{ht[Pt]=Array.isArray(wt)?wt.map(Yt=>`${Yt}`):`${wt}`}),new ee(z.root===pe?$:Jt(z.root,pe,$),ht,ze)}function Jt(pe,$,z){const Pe={};return At(pe.children,(ze,ht)=>{Pe[ht]=ze===$?z:Jt(ze,$,z)}),new _e(pe.segments,Pe)}class di{constructor($,z,Pe){if(this.isAbsolute=$,this.numberOfDoubleDots=z,this.commands=Pe,$&&Pe.length>0&&we(Pe[0]))throw new Error("Root segment cannot have matrix parameters");const ze=Pe.find(lt);if(ze&&ze!==Vt(Pe))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zi{constructor($,z,Pe){this.segmentGroup=$,this.processChildren=z,this.index=Pe}}function $n(pe,$,z){if(pe||(pe=new _e([],{})),0===pe.segments.length&&pe.hasChildren())return Zn(pe,$,z);const Pe=function kn(pe,$,z){let Pe=0,ze=$;const ht={match:!1,pathIndex:0,commandIndex:0};for(;ze=z.length)return ht;const wt=pe.segments[ze],Pt=z[Pe];if(lt(Pt))break;const Yt=`${Pt}`,_i=Pe0&&void 0===Yt)break;if(Yt&&_i&&"object"==typeof _i&&void 0===_i.outlets){if(!ys(Yt,_i,wt))return ht;Pe+=2}else{if(!ys(Yt,{},wt))return ht;Pe++}ze++}return{match:!0,pathIndex:ze,commandIndex:Pe}}(pe,$,z),ze=z.slice(Pe.commandIndex);if(Pe.match&&Pe.pathIndex{"string"==typeof ht&&(ht=[ht]),null!==ht&&(ze[wt]=$n(pe.children[wt],$,ht))}),At(pe.children,(ht,wt)=>{void 0===Pe[wt]&&(ze[wt]=ht)}),new _e(pe.segments,ze)}}function Rn(pe,$,z){const Pe=pe.segments.slice(0,$);let ze=0;for(;ze{"string"==typeof z&&(z=[z]),null!==z&&($[Pe]=Rn(new _e([],{}),0,z))}),$}function bs(pe){const $={};return At(pe,(z,Pe)=>$[Pe]=`${z}`),$}function ys(pe,$,z){return pe==z.path&&nt($,z.parameters)}class ss{constructor($,z,Pe,ze){this.routeReuseStrategy=$,this.futureState=z,this.currState=Pe,this.forwardEvent=ze}activate($){const z=this.futureState._root,Pe=this.currState?this.currState._root:null;this.deactivateChildRoutes(z,Pe,$),fn(this.futureState.root),this.activateChildRoutes(z,Pe,$)}deactivateChildRoutes($,z,Pe){const ze=Qt(z);$.children.forEach(ht=>{const wt=ht.value.outlet;this.deactivateRoutes(ht,ze[wt],Pe),delete ze[wt]}),At(ze,(ht,wt)=>{this.deactivateRouteAndItsChildren(ht,Pe)})}deactivateRoutes($,z,Pe){const ze=$.value,ht=z?z.value:null;if(ze===ht)if(ze.component){const wt=Pe.getContext(ze.outlet);wt&&this.deactivateChildRoutes($,z,wt.children)}else this.deactivateChildRoutes($,z,Pe);else ht&&this.deactivateRouteAndItsChildren(z,Pe)}deactivateRouteAndItsChildren($,z){$.value.component&&this.routeReuseStrategy.shouldDetach($.value.snapshot)?this.detachAndStoreRouteSubtree($,z):this.deactivateRouteAndOutlet($,z)}detachAndStoreRouteSubtree($,z){const Pe=z.getContext($.value.outlet),ze=Pe&&$.value.component?Pe.children:z,ht=Qt($);for(const wt of Object.keys(ht))this.deactivateRouteAndItsChildren(ht[wt],ze);if(Pe&&Pe.outlet){const wt=Pe.outlet.detach(),Pt=Pe.children.onOutletDeactivated();this.routeReuseStrategy.store($.value.snapshot,{componentRef:wt,route:$,contexts:Pt})}}deactivateRouteAndOutlet($,z){const Pe=z.getContext($.value.outlet),ze=Pe&&$.value.component?Pe.children:z,ht=Qt($);for(const wt of Object.keys(ht))this.deactivateRouteAndItsChildren(ht[wt],ze);Pe&&Pe.outlet&&(Pe.outlet.deactivate(),Pe.children.onOutletDeactivated(),Pe.attachRef=null,Pe.resolver=null,Pe.route=null)}activateChildRoutes($,z,Pe){const ze=Qt(z);$.children.forEach(ht=>{this.activateRoutes(ht,ze[ht.value.outlet],Pe),this.forwardEvent(new p(ht.value.snapshot))}),$.children.length&&this.forwardEvent(new i($.value.snapshot))}activateRoutes($,z,Pe){const ze=$.value,ht=z?z.value:null;if(fn(ze),ze===ht)if(ze.component){const wt=Pe.getOrCreateContext(ze.outlet);this.activateChildRoutes($,z,wt.children)}else this.activateChildRoutes($,z,Pe);else if(ze.component){const wt=Pe.getOrCreateContext(ze.outlet);if(this.routeReuseStrategy.shouldAttach(ze.snapshot)){const Pt=this.routeReuseStrategy.retrieve(ze.snapshot);this.routeReuseStrategy.store(ze.snapshot,null),wt.children.onOutletReAttached(Pt.contexts),wt.attachRef=Pt.componentRef,wt.route=Pt.route.value,wt.outlet&&wt.outlet.attach(Pt.componentRef,Pt.route.value),fn(Pt.route.value),this.activateChildRoutes($,null,wt.children)}else{const Pt=function os(pe){for(let $=pe.parent;$;$=$.parent){const z=$.routeConfig;if(z&&z._loadedConfig)return z._loadedConfig;if(z&&z.component)return null}return null}(ze.snapshot),Yt=Pt?Pt.module.componentFactoryResolver:null;wt.attachRef=null,wt.route=ze,wt.resolver=Yt,wt.outlet&&wt.outlet.activateWith(ze,Yt),this.activateChildRoutes($,null,wt.children)}}else this.activateChildRoutes($,null,Pe)}}class Ts{constructor($,z){this.routes=$,this.module=z}}function wn(pe){return"function"==typeof pe}function gn(pe){return pe instanceof ee}const Ln=Symbol("INITIAL_VALUE");function Hn(){return(0,ge.w)(pe=>(0,m.aj)(pe.map($=>$.pipe((0,Ne.q)(1),(0,Fe.O)(Ln)))).pipe(Y(($,z)=>{let Pe=!1;return z.reduce((ze,ht,wt)=>ze!==Ln?ze:(ht===Ln&&(Pe=!0),Pe||!1!==ht&&wt!==z.length-1&&!gn(ht)?ze:ht),$)},Ln),(0,ce.h)($=>$!==Ln),(0,oe.U)($=>gn($)?$:!0===$),(0,Ne.q)(1)))}class hs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new jn,this.attachRef=null}}class jn{constructor(){this.contexts=new Map}onChildOutletCreated($,z){const Pe=this.getOrCreateContext($);Pe.outlet=z,this.contexts.set($,Pe)}onChildOutletDestroyed($){const z=this.getContext($);z&&(z.outlet=null,z.attachRef=null)}onOutletDeactivated(){const $=this.contexts;return this.contexts=new Map,$}onOutletReAttached($){this.contexts=$}getOrCreateContext($){let z=this.getContext($);return z||(z=new hs,this.contexts.set($,z)),z}getContext($){return this.contexts.get($)||null}}let Sn=(()=>{class pe{constructor(z,Pe,ze,ht,wt){this.parentContexts=z,this.location=Pe,this.resolver=ze,this.changeDetector=wt,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.name=ht||t,z.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const z=this.parentContexts.getContext(this.name);z&&z.route&&(z.attachRef?this.attach(z.attachRef,z.route):this.activateWith(z.route,z.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(z.instance),z}attach(z,Pe){this.activated=z,this._activatedRoute=Pe,this.location.insert(z.hostView),this.attachEvents.emit(z.instance)}deactivate(){if(this.activated){const z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(z)}}activateWith(z,Pe){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=z;const wt=(Pe=Pe||this.resolver).resolveComponentFactory(z._futureSnapshot.routeConfig.component),Pt=this.parentContexts.getOrCreateContext(this.name).children,Yt=new ps(z,Pt,this.location.injector);this.activated=this.location.createComponent(wt,this.location.length,Yt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(jn),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},pe.\u0275dir=e.lG2({type:pe,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),pe})();class ps{constructor($,z,Pe){this.route=$,this.childContexts=z,this.parent=Pe}get($,z){return $===Ji?this.route:$===jn?this.childContexts:this.parent.get($,z)}}let _n=(()=>{class pe{}return pe.\u0275fac=function(z){return new(z||pe)},pe.\u0275cmp=e.Xpm({type:pe,selectors:[["ng-component"]],decls:1,vars:0,template:function(z,Pe){1&z&&e._UZ(0,"router-outlet")},directives:[Sn],encapsulation:2}),pe})();function es(pe,$=""){for(let z=0;zrt(Pe)===$);return z.push(...pe.filter(Pe=>rt(Pe)!==$)),z}const U={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Se(pe,$,z){var Pe;if(""===$.path)return"full"===$.pathMatch&&(pe.hasChildren()||z.length>0)?Object.assign({},U):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const ht=($.matcher||j)(z,pe,$);if(!ht)return Object.assign({},U);const wt={};At(ht.posParams,(Yt,_i)=>{wt[_i]=Yt.path});const Pt=ht.consumed.length>0?Object.assign(Object.assign({},wt),ht.consumed[ht.consumed.length-1].parameters):wt;return{matched:!0,consumedSegments:ht.consumed,lastChild:ht.consumed.length,parameters:Pt,positionalParamSegments:null!==(Pe=ht.posParams)&&void 0!==Pe?Pe:{}}}function st(pe,$,z,Pe,ze="corrected"){if(z.length>0&&function De(pe,$,z){return z.some(Pe=>Ge(pe,$,Pe)&&rt(Pe)!==t)}(pe,z,Pe)){const wt=new _e($,function W(pe,$,z,Pe){const ze={};ze[t]=Pe,Pe._sourceSegment=pe,Pe._segmentIndexShift=$.length;for(const ht of z)if(""===ht.path&&rt(ht)!==t){const wt=new _e([],{});wt._sourceSegment=pe,wt._segmentIndexShift=$.length,ze[rt(ht)]=wt}return ze}(pe,$,Pe,new _e(z,pe.children)));return wt._sourceSegment=pe,wt._segmentIndexShift=$.length,{segmentGroup:wt,slicedSegments:[]}}if(0===z.length&&function ne(pe,$,z){return z.some(Pe=>Ge(pe,$,Pe))}(pe,z,Pe)){const wt=new _e(pe.segments,function ft(pe,$,z,Pe,ze,ht){const wt={};for(const Pt of Pe)if(Ge(pe,z,Pt)&&!ze[rt(Pt)]){const Yt=new _e([],{});Yt._sourceSegment=pe,Yt._segmentIndexShift="legacy"===ht?pe.segments.length:$.length,wt[rt(Pt)]=Yt}return Object.assign(Object.assign({},ze),wt)}(pe,$,z,Pe,pe.children,ze));return wt._sourceSegment=pe,wt._segmentIndexShift=$.length,{segmentGroup:wt,slicedSegments:z}}const ht=new _e(pe.segments,pe.children);return ht._sourceSegment=pe,ht._segmentIndexShift=$.length,{segmentGroup:ht,slicedSegments:z}}function Ge(pe,$,z){return(!(pe.hasChildren()||$.length>0)||"full"!==z.pathMatch)&&""===z.path}function _t(pe,$,z,Pe){return!!(rt(pe)===Pe||Pe!==t&&Ge($,z,pe))&&("**"===pe.path||Se($,pe,z).matched)}function Nt(pe,$,z){return 0===$.length&&!pe.children[z]}class Zt{constructor($){this.segmentGroup=$||null}}class ii{constructor($){this.urlTree=$}}function ai(pe){return new A.y($=>$.error(new Zt(pe)))}function hi(pe){return new A.y($=>$.error(new ii(pe)))}function mi(pe){return new A.y($=>$.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${pe}'`)))}class xe{constructor($,z,Pe,ze,ht){this.configLoader=z,this.urlSerializer=Pe,this.urlTree=ze,this.config=ht,this.allowRedirects=!0,this.ngModule=$.get(e.h0i)}apply(){const $=st(this.urlTree.root,[],[],this.config).segmentGroup,z=new _e($.segments,$.children);return this.expandSegmentGroup(this.ngModule,this.config,z,t).pipe((0,oe.U)(ht=>this.createUrlTree(ye(ht),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,se.K)(ht=>{if(ht instanceof ii)return this.allowRedirects=!1,this.match(ht.urlTree);throw ht instanceof Zt?this.noMatchError(ht):ht}))}match($){return this.expandSegmentGroup(this.ngModule,this.config,$.root,t).pipe((0,oe.U)(ze=>this.createUrlTree(ye(ze),$.queryParams,$.fragment))).pipe((0,se.K)(ze=>{throw ze instanceof Zt?this.noMatchError(ze):ze}))}noMatchError($){return new Error(`Cannot match any routes. URL Segment: '${$.segmentGroup}'`)}createUrlTree($,z,Pe){const ze=$.segments.length>0?new _e([],{[t]:$}):$;return new ee(ze,z,Pe)}expandSegmentGroup($,z,Pe,ze){return 0===Pe.segments.length&&Pe.hasChildren()?this.expandChildren($,z,Pe).pipe((0,oe.U)(ht=>new _e([],ht))):this.expandSegment($,Pe,z,Pe.segments,ze,!0)}expandChildren($,z,Pe){const ze=[];for(const ht of Object.keys(Pe.children))"primary"===ht?ze.unshift(ht):ze.push(ht);return(0,f.D)(ze).pipe((0,Me.b)(ht=>{const wt=Pe.children[ht],Pt=B(z,ht);return this.expandSegmentGroup($,Pt,wt,ht).pipe((0,oe.U)(Yt=>({segment:Yt,outlet:ht})))}),Y((ht,wt)=>(ht[wt.outlet]=wt.segment,ht),{}),function ie(pe,$){const z=arguments.length>=2;return Pe=>Pe.pipe(pe?(0,ce.h)((ze,ht)=>pe(ze,ht,Pe)):X.y,de(1),z?(0,H.d)($):(0,V.T)(()=>new s.K))}())}expandSegment($,z,Pe,ze,ht,wt){return(0,f.D)(Pe).pipe((0,Me.b)(Pt=>this.expandSegmentAgainstRoute($,z,Pe,Pt,ze,ht,wt).pipe((0,se.K)(_i=>{if(_i instanceof Zt)return(0,g.of)(null);throw _i}))),(0,ve.P)(Pt=>!!Pt),(0,se.K)((Pt,Yt)=>{if(Pt instanceof s.K||"EmptyError"===Pt.name){if(Nt(z,ze,ht))return(0,g.of)(new _e([],{}));throw new Zt(z)}throw Pt}))}expandSegmentAgainstRoute($,z,Pe,ze,ht,wt,Pt){return _t(ze,z,ht,wt)?void 0===ze.redirectTo?this.matchSegmentAgainstRoute($,z,ze,ht,wt):Pt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect($,z,Pe,ze,ht,wt):ai(z):ai(z)}expandSegmentAgainstRouteUsingRedirect($,z,Pe,ze,ht,wt){return"**"===ze.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect($,Pe,ze,wt):this.expandRegularSegmentAgainstRouteUsingRedirect($,z,Pe,ze,ht,wt)}expandWildCardWithParamsAgainstRouteUsingRedirect($,z,Pe,ze){const ht=this.applyRedirectCommands([],Pe.redirectTo,{});return Pe.redirectTo.startsWith("/")?hi(ht):this.lineralizeSegments(Pe,ht).pipe((0,me.zg)(wt=>{const Pt=new _e(wt,{});return this.expandSegment($,Pt,z,wt,ze,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect($,z,Pe,ze,ht,wt){const{matched:Pt,consumedSegments:Yt,lastChild:_i,positionalParamSegments:ji}=Se(z,ze,ht);if(!Pt)return ai(z);const Ei=this.applyRedirectCommands(Yt,ze.redirectTo,ji);return ze.redirectTo.startsWith("/")?hi(Ei):this.lineralizeSegments(ze,Ei).pipe((0,me.zg)(tn=>this.expandSegment($,z,Pe,tn.concat(ht.slice(_i)),wt,!1)))}matchSegmentAgainstRoute($,z,Pe,ze,ht){if("**"===Pe.path)return Pe.loadChildren?(Pe._loadedConfig?(0,g.of)(Pe._loadedConfig):this.configLoader.load($.injector,Pe)).pipe((0,oe.U)(tn=>(Pe._loadedConfig=tn,new _e(ze,{})))):(0,g.of)(new _e(ze,{}));const{matched:wt,consumedSegments:Pt,lastChild:Yt}=Se(z,Pe,ze);if(!wt)return ai(z);const _i=ze.slice(Yt);return this.getChildConfig($,Pe,ze).pipe((0,me.zg)(Ei=>{const tn=Ei.module,an=Ei.routes,{segmentGroup:uo,slicedSegments:ds}=st(z,Pt,_i,an),ts=new _e(uo.segments,uo.children);if(0===ds.length&&ts.hasChildren())return this.expandChildren(tn,an,ts).pipe((0,oe.U)(fs=>new _e(Pt,fs)));if(0===an.length&&0===ds.length)return(0,g.of)(new _e(Pt,{}));const Hs=rt(Pe)===ht;return this.expandSegment(tn,ts,an,ds,Hs?t:ht,!0).pipe((0,oe.U)(Ss=>new _e(Pt.concat(Ss.segments),Ss.children)))}))}getChildConfig($,z,Pe){return z.children?(0,g.of)(new Ts(z.children,$)):z.loadChildren?void 0!==z._loadedConfig?(0,g.of)(z._loadedConfig):this.runCanLoadGuards($.injector,z,Pe).pipe((0,me.zg)(ze=>ze?this.configLoader.load($.injector,z).pipe((0,oe.U)(ht=>(z._loadedConfig=ht,ht))):function yi(pe){return new A.y($=>$.error(y(`Cannot load children because the guard of the route "path: '${pe.path}'" returned false`)))}(z))):(0,g.of)(new Ts([],$))}runCanLoadGuards($,z,Pe){const ze=z.canLoad;if(!ze||0===ze.length)return(0,g.of)(!0);const ht=ze.map(wt=>{const Pt=$.get(wt);let Yt;if(function Fn(pe){return pe&&wn(pe.canLoad)}(Pt))Yt=Pt.canLoad(z,Pe);else{if(!wn(Pt))throw new Error("Invalid CanLoad guard");Yt=Pt(z,Pe)}return Ht(Yt)});return(0,g.of)(ht).pipe(Hn(),(0,Te.b)(wt=>{if(!gn(wt))return;const Pt=y(`Redirecting to "${this.urlSerializer.serialize(wt)}"`);throw Pt.url=wt,Pt}),(0,oe.U)(wt=>!0===wt))}lineralizeSegments($,z){let Pe=[],ze=z.root;for(;;){if(Pe=Pe.concat(ze.segments),0===ze.numberOfChildren)return(0,g.of)(Pe);if(ze.numberOfChildren>1||!ze.children[t])return mi($.redirectTo);ze=ze.children[t]}}applyRedirectCommands($,z,Pe){return this.applyRedirectCreatreUrlTree(z,this.urlSerializer.parse(z),$,Pe)}applyRedirectCreatreUrlTree($,z,Pe,ze){const ht=this.createSegmentGroup($,z.root,Pe,ze);return new ee(ht,this.createQueryParams(z.queryParams,this.urlTree.queryParams),z.fragment)}createQueryParams($,z){const Pe={};return At($,(ze,ht)=>{if("string"==typeof ze&&ze.startsWith(":")){const Pt=ze.substring(1);Pe[ht]=z[Pt]}else Pe[ht]=ze}),Pe}createSegmentGroup($,z,Pe,ze){const ht=this.createSegments($,z.segments,Pe,ze);let wt={};return At(z.children,(Pt,Yt)=>{wt[Yt]=this.createSegmentGroup($,Pt,Pe,ze)}),new _e(ht,wt)}createSegments($,z,Pe,ze){return z.map(ht=>ht.path.startsWith(":")?this.findPosParam($,ht,ze):this.findOrReturn(ht,Pe))}findPosParam($,z,Pe){const ze=Pe[z.path.substring(1)];if(!ze)throw new Error(`Cannot redirect to '${$}'. Cannot find '${z.path}'.`);return ze}findOrReturn($,z){let Pe=0;for(const ze of z){if(ze.path===$.path)return z.splice(Pe),ze;Pe++}return $}}function ye(pe){const $={};for(const Pe of Object.keys(pe.children)){const ht=ye(pe.children[Pe]);(ht.segments.length>0||ht.hasChildren())&&($[Pe]=ht)}return function Ee(pe){if(1===pe.numberOfChildren&&pe.children[t]){const $=pe.children[t];return new _e(pe.segments.concat($.segments),$.children)}return pe}(new _e(pe.segments,$))}class Lt{constructor($){this.path=$,this.route=this.path[this.path.length-1]}}class ci{constructor($,z){this.component=$,this.route=z}}function Bi(pe,$,z){const Pe=pe._root;return zn(Pe,$?$._root:null,z,[Pe.value])}function On(pe,$,z){const Pe=function Kn(pe){if(!pe)return null;for(let $=pe.parent;$;$=$.parent){const z=$.routeConfig;if(z&&z._loadedConfig)return z._loadedConfig}return null}($);return(Pe?Pe.module.injector:z).get(pe)}function zn(pe,$,z,Pe,ze={canDeactivateChecks:[],canActivateChecks:[]}){const ht=Qt($);return pe.children.forEach(wt=>{(function Ws(pe,$,z,Pe,ze={canDeactivateChecks:[],canActivateChecks:[]}){const ht=pe.value,wt=$?$.value:null,Pt=z?z.getContext(pe.value.outlet):null;if(wt&&ht.routeConfig===wt.routeConfig){const Yt=function ti(pe,$,z){if("function"==typeof z)return z(pe,$);switch(z){case"pathParamsChange":return!Bt(pe.url,$.url);case"pathParamsOrQueryParamsChange":return!Bt(pe.url,$.url)||!nt(pe.queryParams,$.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sn(pe,$)||!nt(pe.queryParams,$.queryParams);default:return!sn(pe,$)}}(wt,ht,ht.routeConfig.runGuardsAndResolvers);Yt?ze.canActivateChecks.push(new Lt(Pe)):(ht.data=wt.data,ht._resolvedData=wt._resolvedData),zn(pe,$,ht.component?Pt?Pt.children:null:z,Pe,ze),Yt&&Pt&&Pt.outlet&&Pt.outlet.isActivated&&ze.canDeactivateChecks.push(new ci(Pt.outlet.component,wt))}else wt&&si($,Pt,ze),ze.canActivateChecks.push(new Lt(Pe)),zn(pe,null,ht.component?Pt?Pt.children:null:z,Pe,ze)})(wt,ht[wt.value.outlet],z,Pe.concat([wt.value]),ze),delete ht[wt.value.outlet]}),At(ht,(wt,Pt)=>si(wt,z.getContext(Pt),ze)),ze}function si(pe,$,z){const Pe=Qt(pe),ze=pe.value;At(Pe,(ht,wt)=>{si(ht,ze.component?$?$.children.getContext(wt):null:$,z)}),z.canDeactivateChecks.push(new ci(ze.component&&$&&$.outlet&&$.outlet.isActivated?$.outlet.component:null,ze))}class io{}function rs(pe){return new A.y($=>$.error(pe))}class hn{constructor($,z,Pe,ze,ht,wt){this.rootComponentType=$,this.config=z,this.urlTree=Pe,this.url=ze,this.paramsInheritanceStrategy=ht,this.relativeLinkResolution=wt}recognize(){const $=st(this.urlTree.root,[],[],this.config.filter(wt=>void 0===wt.redirectTo),this.relativeLinkResolution).segmentGroup,z=this.processSegmentGroup(this.config,$,t);if(null===z)return null;const Pe=new pn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},t,this.rootComponentType,null,this.urlTree.root,-1,{}),ze=new ei(Pe,z),ht=new Pi(this.url,ze);return this.inheritParamsAndData(ht._root),ht}inheritParamsAndData($){const z=$.value,Pe=Ni(z,this.paramsInheritanceStrategy);z.params=Object.freeze(Pe.params),z.data=Object.freeze(Pe.data),$.children.forEach(ze=>this.inheritParamsAndData(ze))}processSegmentGroup($,z,Pe){return 0===z.segments.length&&z.hasChildren()?this.processChildren($,z):this.processSegment($,z,z.segments,Pe)}processChildren($,z){const Pe=[];for(const ht of Object.keys(z.children)){const wt=z.children[ht],Pt=B($,ht),Yt=this.processSegmentGroup(Pt,wt,ht);if(null===Yt)return null;Pe.push(...Yt)}const ze=ls(Pe);return function Tn(pe){pe.sort(($,z)=>$.value.outlet===t?-1:z.value.outlet===t?1:$.value.outlet.localeCompare(z.value.outlet))}(ze),ze}processSegment($,z,Pe,ze){for(const ht of $){const wt=this.processSegmentAgainstRoute(ht,z,Pe,ze);if(null!==wt)return wt}return Nt(z,Pe,ze)?[]:null}processSegmentAgainstRoute($,z,Pe,ze){if($.redirectTo||!_t($,z,Pe,ze))return null;let ht,wt=[],Pt=[];if("**"===$.path){const an=Pe.length>0?Vt(Pe).parameters:{};ht=new pn(Pe,an,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,or($),rt($),$.component,$,ao(z),yo(z)+Pe.length,le($))}else{const an=Se(z,$,Pe);if(!an.matched)return null;wt=an.consumedSegments,Pt=Pe.slice(an.lastChild),ht=new pn(wt,an.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,or($),rt($),$.component,$,ao(z),yo(z)+wt.length,le($))}const Yt=function as(pe){return pe.children?pe.children:pe.loadChildren?pe._loadedConfig.routes:[]}($),{segmentGroup:_i,slicedSegments:ji}=st(z,wt,Pt,Yt.filter(an=>void 0===an.redirectTo),this.relativeLinkResolution);if(0===ji.length&&_i.hasChildren()){const an=this.processChildren(Yt,_i);return null===an?null:[new ei(ht,an)]}if(0===Yt.length&&0===ji.length)return[new ei(ht,[])];const Ei=rt($)===ze,tn=this.processSegment(Yt,_i,ji,Ei?t:ze);return null===tn?null:[new ei(ht,tn)]}}function cs(pe){const $=pe.value.routeConfig;return $&&""===$.path&&void 0===$.redirectTo}function ls(pe){const $=[],z=new Set;for(const Pe of pe){if(!cs(Pe)){$.push(Pe);continue}const ze=$.find(ht=>Pe.value.routeConfig===ht.value.routeConfig);void 0!==ze?(ze.children.push(...Pe.children),z.add(ze)):$.push(Pe)}for(const Pe of z){const ze=ls(Pe.children);$.push(new ei(Pe.value,ze))}return $.filter(Pe=>!z.has(Pe))}function ao(pe){let $=pe;for(;$._sourceSegment;)$=$._sourceSegment;return $}function yo(pe){let $=pe,z=$._segmentIndexShift?$._segmentIndexShift:0;for(;$._sourceSegment;)$=$._sourceSegment,z+=$._segmentIndexShift?$._segmentIndexShift:0;return z-1}function or(pe){return pe.data||{}}function le(pe){return pe.resolve||{}}function Kt(pe){return[...Object.keys(pe),...Object.getOwnPropertySymbols(pe)]}function ui(pe){return(0,ge.w)($=>{const z=pe($);return z?(0,f.D)(z).pipe((0,oe.U)(()=>$)):(0,g.of)($)})}class oi{}class Zi extends class Di{shouldDetach($){return!1}store($,z){}shouldAttach($){return!1}retrieve($){return null}shouldReuseRoute($,z){return $.routeConfig===z.routeConfig}}{}const en=new e.OlP("ROUTES");class Nn{constructor($,z,Pe,ze){this.injector=$,this.compiler=z,this.onLoadStartListener=Pe,this.onLoadEndListener=ze}load($,z){if(z._loader$)return z._loader$;this.onLoadStartListener&&this.onLoadStartListener(z);const ze=this.loadModuleFactory(z.loadChildren).pipe((0,oe.U)(ht=>{this.onLoadEndListener&&this.onLoadEndListener(z);const wt=ht.create($);return new Ts(zt(wt.injector.get(en,void 0,e.XFs.Self|e.XFs.Optional)).map(ws),wt)}),(0,se.K)(ht=>{throw z._loader$=void 0,ht}));return z._loader$=new h.c(ze,()=>new k.xQ).pipe((0,te.x)()),z._loader$}loadModuleFactory($){return Ht($()).pipe((0,me.zg)(z=>z instanceof e.YKP?(0,g.of)(z):(0,f.D)(this.compiler.compileModuleAsync(z))))}}class Ii{shouldProcessUrl($){return!0}extract($){return $}merge($,z){return $}}function on(pe){throw pe}function Gi(pe,$,z){return $.parse("/")}function rn(pe,$){return(0,g.of)(null)}const Xi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Yn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class pe{constructor(z,Pe,ze,ht,wt,Pt,Yt){this.rootComponentType=z,this.urlSerializer=Pe,this.rootContexts=ze,this.location=ht,this.config=Yt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new k.xQ,this.errorHandler=on,this.malformedUriErrorHandler=Gi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rn,afterPreactivation:rn},this.urlHandlingStrategy=new Ii,this.routeReuseStrategy=new Zi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=wt.get(e.h0i),this.console=wt.get(e.c2e);const Ei=wt.get(e.R0b);this.isNgZoneEnabled=Ei instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(Yt),this.currentUrlTree=function bt(){return new ee(new _e([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Nn(wt,Pt,tn=>this.triggerEvent(new S(tn)),tn=>this.triggerEvent(new I(tn))),this.routerState=bi(this.currentUrlTree,this.rootComponentType),this.transitions=new T.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var z;return null===(z=this.location.getState())||void 0===z?void 0:z.\u0275routerPageId}setupNavigations(z){const Pe=this.events;return z.pipe((0,ce.h)(ze=>0!==ze.id),(0,oe.U)(ze=>Object.assign(Object.assign({},ze),{extractedUrl:this.urlHandlingStrategy.extract(ze.rawUrl)})),(0,ge.w)(ze=>{let ht=!1,wt=!1;return(0,g.of)(ze).pipe((0,Te.b)(Pt=>{this.currentNavigation={id:Pt.id,initialUrl:Pt.currentRawUrl,extractedUrl:Pt.extractedUrl,trigger:Pt.source,extras:Pt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ge.w)(Pt=>{const Yt=this.browserUrlTree.toString(),_i=!this.navigated||Pt.extractedUrl.toString()!==Yt||Yt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||_i)&&this.urlHandlingStrategy.shouldProcessUrl(Pt.rawUrl))return vo(Pt.source)&&(this.browserUrlTree=Pt.extractedUrl),(0,g.of)(Pt).pipe((0,ge.w)(Ei=>{const tn=this.transitions.getValue();return Pe.next(new fe(Ei.id,this.serializeUrl(Ei.extractedUrl),Ei.source,Ei.restoredState)),tn!==this.transitions.getValue()?E.E:Promise.resolve(Ei)}),function ot(pe,$,z,Pe){return(0,ge.w)(ze=>function xi(pe,$,z,Pe,ze){return new xe(pe,$,z,Pe,ze).apply()}(pe,$,z,ze.extractedUrl,Pe).pipe((0,oe.U)(ht=>Object.assign(Object.assign({},ze),{urlAfterRedirects:ht}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Te.b)(Ei=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Ei.urlAfterRedirects})}),function Je(pe,$,z,Pe,ze){return(0,me.zg)(ht=>function yn(pe,$,z,Pe,ze="emptyOnly",ht="legacy"){try{const wt=new hn(pe,$,z,Pe,ze,ht).recognize();return null===wt?rs(new io):(0,g.of)(wt)}catch(wt){return rs(wt)}}(pe,$,ht.urlAfterRedirects,z(ht.urlAfterRedirects),Pe,ze).pipe((0,oe.U)(wt=>Object.assign(Object.assign({},ht),{targetSnapshot:wt}))))}(this.rootComponentType,this.config,Ei=>this.serializeUrl(Ei),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Te.b)(Ei=>{if("eager"===this.urlUpdateStrategy){if(!Ei.extras.skipLocationChange){const an=this.urlHandlingStrategy.merge(Ei.urlAfterRedirects,Ei.rawUrl);this.setBrowserUrl(an,Ei)}this.browserUrlTree=Ei.urlAfterRedirects}const tn=new tt(Ei.id,this.serializeUrl(Ei.extractedUrl),this.serializeUrl(Ei.urlAfterRedirects),Ei.targetSnapshot);Pe.next(tn)}));if(_i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:tn,extractedUrl:an,source:uo,restoredState:ds,extras:ts}=Pt,Hs=new fe(tn,this.serializeUrl(an),uo,ds);Pe.next(Hs);const ho=bi(an,this.rootComponentType).snapshot;return(0,g.of)(Object.assign(Object.assign({},Pt),{targetSnapshot:ho,urlAfterRedirects:an,extras:Object.assign(Object.assign({},ts),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Pt.rawUrl,Pt.resolve(null),E.E}),ui(Pt=>{const{targetSnapshot:Yt,id:_i,extractedUrl:ji,rawUrl:Ei,extras:{skipLocationChange:tn,replaceUrl:an}}=Pt;return this.hooks.beforePreactivation(Yt,{navigationId:_i,appliedUrlTree:ji,rawUrlTree:Ei,skipLocationChange:!!tn,replaceUrl:!!an})}),(0,Te.b)(Pt=>{const Yt=new at(Pt.id,this.serializeUrl(Pt.extractedUrl),this.serializeUrl(Pt.urlAfterRedirects),Pt.targetSnapshot);this.triggerEvent(Yt)}),(0,oe.U)(Pt=>Object.assign(Object.assign({},Pt),{guards:Bi(Pt.targetSnapshot,Pt.currentSnapshot,this.rootContexts)})),function vi(pe,$){return(0,me.zg)(z=>{const{targetSnapshot:Pe,currentSnapshot:ze,guards:{canActivateChecks:ht,canDeactivateChecks:wt}}=z;return 0===wt.length&&0===ht.length?(0,g.of)(Object.assign(Object.assign({},z),{guardsResult:!0})):function gi(pe,$,z,Pe){return(0,f.D)(pe).pipe((0,me.zg)(ze=>function dn(pe,$,z,Pe,ze){const ht=$&&$.routeConfig?$.routeConfig.canDeactivate:null;if(!ht||0===ht.length)return(0,g.of)(!0);const wt=ht.map(Pt=>{const Yt=On(Pt,$,ze);let _i;if(function Xn(pe){return pe&&wn(pe.canDeactivate)}(Yt))_i=Ht(Yt.canDeactivate(pe,$,z,Pe));else{if(!wn(Yt))throw new Error("Invalid CanDeactivate guard");_i=Ht(Yt(pe,$,z,Pe))}return _i.pipe((0,ve.P)())});return(0,g.of)(wt).pipe(Hn())}(ze.component,ze.route,z,$,Pe)),(0,ve.P)(ze=>!0!==ze,!0))}(wt,Pe,ze,pe).pipe((0,me.zg)(Pt=>Pt&&function Cs(pe){return"boolean"==typeof pe}(Pt)?function Fi(pe,$,z,Pe){return(0,f.D)($).pipe((0,Me.b)(ze=>(0,b.z)(function An(pe,$){return null!==pe&&$&&$(new P(pe)),(0,g.of)(!0)}(ze.route.parent,Pe),function un(pe,$){return null!==pe&&$&&$(new r(pe)),(0,g.of)(!0)}(ze.route,Pe),function Vn(pe,$,z){const Pe=$[$.length-1],ht=$.slice(0,$.length-1).reverse().map(wt=>function ln(pe){const $=pe.routeConfig?pe.routeConfig.canActivateChild:null;return $&&0!==$.length?{node:pe,guards:$}:null}(wt)).filter(wt=>null!==wt).map(wt=>(0,O.P)(()=>{const Pt=wt.guards.map(Yt=>{const _i=On(Yt,wt.node,z);let ji;if(function Qn(pe){return pe&&wn(pe.canActivateChild)}(_i))ji=Ht(_i.canActivateChild(Pe,pe));else{if(!wn(_i))throw new Error("Invalid CanActivateChild guard");ji=Ht(_i(Pe,pe))}return ji.pipe((0,ve.P)())});return(0,g.of)(Pt).pipe(Hn())}));return(0,g.of)(ht).pipe(Hn())}(pe,ze.path,z),function Dn(pe,$,z){const Pe=$.routeConfig?$.routeConfig.canActivate:null;if(!Pe||0===Pe.length)return(0,g.of)(!0);const ze=Pe.map(ht=>(0,O.P)(()=>{const wt=On(ht,$,z);let Pt;if(function Jn(pe){return pe&&wn(pe.canActivate)}(wt))Pt=Ht(wt.canActivate($,pe));else{if(!wn(wt))throw new Error("Invalid CanActivate guard");Pt=Ht(wt($,pe))}return Pt.pipe((0,ve.P)())}));return(0,g.of)(ze).pipe(Hn())}(pe,ze.route,z))),(0,ve.P)(ze=>!0!==ze,!0))}(Pe,ht,pe,$):(0,g.of)(Pt)),(0,oe.U)(Pt=>Object.assign(Object.assign({},z),{guardsResult:Pt})))})}(this.ngModule.injector,Pt=>this.triggerEvent(Pt)),(0,Te.b)(Pt=>{if(gn(Pt.guardsResult)){const _i=y(`Redirecting to "${this.serializeUrl(Pt.guardsResult)}"`);throw _i.url=Pt.guardsResult,_i}const Yt=new N(Pt.id,this.serializeUrl(Pt.extractedUrl),this.serializeUrl(Pt.urlAfterRedirects),Pt.targetSnapshot,!!Pt.guardsResult);this.triggerEvent(Yt)}),(0,ce.h)(Pt=>!!Pt.guardsResult||(this.restoreHistory(Pt),this.cancelNavigationTransition(Pt,""),!1)),ui(Pt=>{if(Pt.guards.canActivateChecks.length)return(0,g.of)(Pt).pipe((0,Te.b)(Yt=>{const _i=new he(Yt.id,this.serializeUrl(Yt.extractedUrl),this.serializeUrl(Yt.urlAfterRedirects),Yt.targetSnapshot);this.triggerEvent(_i)}),(0,ge.w)(Yt=>{let _i=!1;return(0,g.of)(Yt).pipe(function Re(pe,$){return(0,me.zg)(z=>{const{targetSnapshot:Pe,guards:{canActivateChecks:ze}}=z;if(!ze.length)return(0,g.of)(z);let ht=0;return(0,f.D)(ze).pipe((0,Me.b)(wt=>function ct(pe,$,z,Pe){return function xt(pe,$,z,Pe){const ze=Kt(pe);if(0===ze.length)return(0,g.of)({});const ht={};return(0,f.D)(ze).pipe((0,me.zg)(wt=>function ni(pe,$,z,Pe){const ze=On(pe,$,Pe);return Ht(ze.resolve?ze.resolve($,z):ze($,z))}(pe[wt],$,z,Pe).pipe((0,Te.b)(Pt=>{ht[wt]=Pt}))),de(1),(0,me.zg)(()=>Kt(ht).length===ze.length?(0,g.of)(ht):E.E))}(pe._resolve,pe,$,Pe).pipe((0,oe.U)(ht=>(pe._resolvedData=ht,pe.data=Object.assign(Object.assign({},pe.data),Ni(pe,z).resolve),null)))}(wt.route,Pe,pe,$)),(0,Te.b)(()=>ht++),de(1),(0,me.zg)(wt=>ht===ze.length?(0,g.of)(z):E.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Te.b)({next:()=>_i=!0,complete:()=>{_i||(this.restoreHistory(Yt),this.cancelNavigationTransition(Yt,"At least one route resolver didn't emit any value."))}}))}),(0,Te.b)(Yt=>{const _i=new D(Yt.id,this.serializeUrl(Yt.extractedUrl),this.serializeUrl(Yt.urlAfterRedirects),Yt.targetSnapshot);this.triggerEvent(_i)}))}),ui(Pt=>{const{targetSnapshot:Yt,id:_i,extractedUrl:ji,rawUrl:Ei,extras:{skipLocationChange:tn,replaceUrl:an}}=Pt;return this.hooks.afterPreactivation(Yt,{navigationId:_i,appliedUrlTree:ji,rawUrlTree:Ei,skipLocationChange:!!tn,replaceUrl:!!an})}),(0,oe.U)(Pt=>{const Yt=function qi(pe,$,z){const Pe=Tt(pe,$._root,z?z._root:void 0);return new Ri(Pe,$)}(this.routeReuseStrategy,Pt.targetSnapshot,Pt.currentRouterState);return Object.assign(Object.assign({},Pt),{targetRouterState:Yt})}),(0,Te.b)(Pt=>{this.currentUrlTree=Pt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Pt.urlAfterRedirects,Pt.rawUrl),this.routerState=Pt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Pt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Pt),this.browserUrlTree=Pt.urlAfterRedirects)}),((pe,$,z)=>(0,oe.U)(Pe=>(new ss($,Pe.targetRouterState,Pe.currentRouterState,z).activate(pe),Pe)))(this.rootContexts,this.routeReuseStrategy,Pt=>this.triggerEvent(Pt)),(0,Te.b)({next(){ht=!0},complete(){ht=!0}}),(0,R.x)(()=>{var Pt;ht||wt||this.cancelNavigationTransition(ze,`Navigation ID ${ze.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Pt=this.currentNavigation)||void 0===Pt?void 0:Pt.id)===ze.id&&(this.currentNavigation=null)}),(0,se.K)(Pt=>{if(wt=!0,function M(pe){return pe&&pe[u]}(Pt)){const Yt=gn(Pt.url);Yt||(this.navigated=!0,this.restoreHistory(ze,!0));const _i=new Ye(ze.id,this.serializeUrl(ze.extractedUrl),Pt.message);Pe.next(_i),Yt?setTimeout(()=>{const ji=this.urlHandlingStrategy.merge(Pt.url,this.rawUrlTree),Ei={skipLocationChange:ze.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vo(ze.source)};this.scheduleNavigation(ji,"imperative",null,Ei,{resolve:ze.resolve,reject:ze.reject,promise:ze.promise})},0):ze.resolve(!1)}else{this.restoreHistory(ze,!0);const Yt=new Xe(ze.id,this.serializeUrl(ze.extractedUrl),Pt);Pe.next(Yt);try{ze.resolve(this.errorHandler(Pt))}catch(_i){ze.reject(_i)}}return E.E}))}))}resetRootComponentType(z){this.rootComponentType=z,this.routerState.root.component=this.rootComponentType}setTransition(z){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),z))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(z=>{const Pe="popstate"===z.type?"popstate":"hashchange";"popstate"===Pe&&setTimeout(()=>{var ze;const ht={replaceUrl:!0},wt=(null===(ze=z.state)||void 0===ze?void 0:ze.navigationId)?z.state:null;if(wt){const Yt=Object.assign({},wt);delete Yt.navigationId,delete Yt.\u0275routerPageId,0!==Object.keys(Yt).length&&(ht.state=Yt)}const Pt=this.parseUrl(z.url);this.scheduleNavigation(Pt,Pe,wt,ht)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(z){this.events.next(z)}resetConfig(z){es(z),this.config=z.map(ws),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(z,Pe={}){const{relativeTo:ze,queryParams:ht,fragment:wt,queryParamsHandling:Pt,preserveFragment:Yt}=Pe,_i=ze||this.routerState.root,ji=Yt?this.currentUrlTree.fragment:wt;let Ei=null;switch(Pt){case"merge":Ei=Object.assign(Object.assign({},this.currentUrlTree.queryParams),ht);break;case"preserve":Ei=this.currentUrlTree.queryParams;break;default:Ei=ht||null}return null!==Ei&&(Ei=this.removeEmptyProps(Ei)),function ut(pe,$,z,Pe,ze){if(0===z.length)return Ft($.root,$.root,$,Pe,ze);const ht=function Oi(pe){if("string"==typeof pe[0]&&1===pe.length&&"/"===pe[0])return new di(!0,0,pe);let $=0,z=!1;const Pe=pe.reduce((ze,ht,wt)=>{if("object"==typeof ht&&null!=ht){if(ht.outlets){const Pt={};return At(ht.outlets,(Yt,_i)=>{Pt[_i]="string"==typeof Yt?Yt.split("/"):Yt}),[...ze,{outlets:Pt}]}if(ht.segmentPath)return[...ze,ht.segmentPath]}return"string"!=typeof ht?[...ze,ht]:0===wt?(ht.split("/").forEach((Pt,Yt)=>{0==Yt&&"."===Pt||(0==Yt&&""===Pt?z=!0:".."===Pt?$++:""!=Pt&&ze.push(Pt))}),ze):[...ze,ht]},[]);return new di(z,$,Pe)}(z);if(ht.toRoot())return Ft($.root,new _e([],{}),$,Pe,ze);const wt=function mn(pe,$,z){if(pe.isAbsolute)return new zi($.root,!0,0);if(-1===z.snapshot._lastPathIndex){const ht=z.snapshot._urlSegment;return new zi(ht,ht===$.root,0)}const Pe=we(pe.commands[0])?0:1;return function In(pe,$,z){let Pe=pe,ze=$,ht=z;for(;ht>ze;){if(ht-=ze,Pe=Pe.parent,!Pe)throw new Error("Invalid number of '../'");ze=Pe.segments.length}return new zi(Pe,!1,ze-ht)}(z.snapshot._urlSegment,z.snapshot._lastPathIndex+Pe,pe.numberOfDoubleDots)}(ht,$,pe),Pt=wt.processChildren?Zn(wt.segmentGroup,wt.index,ht.commands):$n(wt.segmentGroup,wt.index,ht.commands);return Ft(wt.segmentGroup,Pt,$,Pe,ze)}(_i,this.currentUrlTree,z,Ei,null!=ji?ji:null)}navigateByUrl(z,Pe={skipLocationChange:!1}){const ze=gn(z)?z:this.parseUrl(z),ht=this.urlHandlingStrategy.merge(ze,this.rawUrlTree);return this.scheduleNavigation(ht,"imperative",null,Pe)}navigate(z,Pe={skipLocationChange:!1}){return function Ha(pe){for(let $=0;${const ht=z[ze];return null!=ht&&(Pe[ze]=ht),Pe},{})}processNavigations(){this.navigations.subscribe(z=>{this.navigated=!0,this.lastSuccessfulId=z.id,this.currentPageId=z.targetPageId,this.events.next(new Ce(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,z.resolve(!0)},z=>{this.console.warn(`Unhandled Navigation Error: ${z}`)})}scheduleNavigation(z,Pe,ze,ht,wt){var Pt,Yt,_i;if(this.disposed)return Promise.resolve(!1);const ji=this.transitions.value,Ei=vo(Pe)&&ji&&!vo(ji.source),tn=ji.rawUrl.toString()===z.toString(),an=ji.id===(null===(Pt=this.currentNavigation)||void 0===Pt?void 0:Pt.id);if(Ei&&tn&&an)return Promise.resolve(!0);let ds,ts,Hs;wt?(ds=wt.resolve,ts=wt.reject,Hs=wt.promise):Hs=new Promise((fs,Xr)=>{ds=fs,ts=Xr});const ho=++this.navigationId;let Ss;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(ze=this.location.getState()),Ss=ze&&ze.\u0275routerPageId?ze.\u0275routerPageId:ht.replaceUrl||ht.skipLocationChange?null!==(Yt=this.browserPageId)&&void 0!==Yt?Yt:0:(null!==(_i=this.browserPageId)&&void 0!==_i?_i:0)+1):Ss=0,this.setTransition({id:ho,targetPageId:Ss,source:Pe,restoredState:ze,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:z,extras:ht,resolve:ds,reject:ts,promise:Hs,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Hs.catch(fs=>Promise.reject(fs))}setBrowserUrl(z,Pe){const ze=this.urlSerializer.serialize(z),ht=Object.assign(Object.assign({},Pe.extras.state),this.generateNgRouterState(Pe.id,Pe.targetPageId));this.location.isCurrentPathEqualTo(ze)||Pe.extras.replaceUrl?this.location.replaceState(ze,"",ht):this.location.go(ze,"",ht)}restoreHistory(z,Pe=!1){var ze,ht;if("computed"===this.canceledNavigationResolution){const wt=this.currentPageId-z.targetPageId;"popstate"!==z.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(ze=this.currentNavigation)||void 0===ze?void 0:ze.finalUrl)||0===wt?this.currentUrlTree===(null===(ht=this.currentNavigation)||void 0===ht?void 0:ht.finalUrl)&&0===wt&&(this.resetState(z),this.browserUrlTree=z.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(wt)}else"replace"===this.canceledNavigationResolution&&(Pe&&this.resetState(z),this.resetUrlToCurrentUrlTree())}resetState(z){this.routerState=z.currentRouterState,this.currentUrlTree=z.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,z.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(z,Pe){const ze=new Ye(z.id,this.serializeUrl(z.extractedUrl),Pe);this.triggerEvent(ze),z.resolve(!1)}generateNgRouterState(z,Pe){return"computed"===this.canceledNavigationResolution?{navigationId:z,\u0275routerPageId:Pe}:{navigationId:z}}}return pe.\u0275fac=function(z){e.$Z()},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function vo(pe){return"imperative"!==pe}let $s=(()=>{class pe{constructor(z,Pe,ze,ht,wt){this.router=z,this.route=Pe,this.tabIndexAttribute=ze,this.renderer=ht,this.el=wt,this.commands=null,this.onChanges=new k.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(z){if(null!=this.tabIndexAttribute)return;const Pe=this.renderer,ze=this.el.nativeElement;null!==z?Pe.setAttribute(ze,"tabindex",z):Pe.removeAttribute(ze,"tabindex")}ngOnChanges(z){this.onChanges.next(this)}set routerLink(z){null!=z?(this.commands=Array.isArray(z)?z:[z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const z={skipLocationChange:Rs(this.skipLocationChange),replaceUrl:Rs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,z),!0}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:Rs(this.preserveFragment)})}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(vn),e.Y36(Ji),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},pe.\u0275dir=e.lG2({type:pe,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(z,Pe){1&z&&e.NdJ("click",function(){return Pe.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),pe})(),Js=(()=>{class pe{constructor(z,Pe,ze){this.router=z,this.route=Pe,this.locationStrategy=ze,this.commands=null,this.href=null,this.onChanges=new k.xQ,this.subscription=z.events.subscribe(ht=>{ht instanceof Ce&&this.updateTargetUrlAndHref()})}set routerLink(z){this.commands=null!=z?Array.isArray(z)?z:[z]:null}ngOnChanges(z){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(z,Pe,ze,ht,wt){if(0!==z||Pe||ze||ht||wt||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Pt={skipLocationChange:Rs(this.skipLocationChange),replaceUrl:Rs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Pt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:Rs(this.preserveFragment)})}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(vn),e.Y36(Ji),e.Y36(Ie.S$))},pe.\u0275dir=e.lG2({type:pe,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(z,Pe){1&z&&e.NdJ("click",function(ht){return Pe.onClick(ht.button,ht.ctrlKey,ht.shiftKey,ht.altKey,ht.metaKey)}),2&z&&e.uIk("target",Pe.target)("href",Pe.href,e.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),pe})();function Rs(pe){return""===pe||!!pe}class Yr{}class Qs{preload($,z){return(0,g.of)(null)}}let qr=(()=>{class pe{constructor(z,Pe,ze,ht){this.router=z,this.injector=ze,this.preloadingStrategy=ht,this.loader=new Nn(ze,Pe,Yt=>z.triggerEvent(new S(Yt)),Yt=>z.triggerEvent(new I(Yt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.h)(z=>z instanceof Ce),(0,Me.b)(()=>this.preload())).subscribe(()=>{})}preload(){const z=this.injector.get(e.h0i);return this.processRoutes(z,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(z,Pe){const ze=[];for(const ht of Pe)if(ht.loadChildren&&!ht.canLoad&&ht._loadedConfig){const wt=ht._loadedConfig;ze.push(this.processRoutes(wt.module,wt.routes))}else ht.loadChildren&&!ht.canLoad?ze.push(this.preloadConfig(z,ht)):ht.children&&ze.push(this.processRoutes(z,ht.children));return(0,f.D)(ze).pipe((0,Oe.J)(),(0,oe.U)(ht=>{}))}preloadConfig(z,Pe){return this.preloadingStrategy.preload(Pe,()=>(Pe._loadedConfig?(0,g.of)(Pe._loadedConfig):this.loader.load(z.injector,Pe)).pipe((0,me.zg)(ht=>(Pe._loadedConfig=ht,this.processRoutes(ht.module,ht.routes)))))}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(vn),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(Yr))},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),ar=(()=>{class pe{constructor(z,Pe,ze={}){this.router=z,this.viewportScroller=Pe,this.options=ze,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ze.scrollPositionRestoration=ze.scrollPositionRestoration||"disabled",ze.anchorScrolling=ze.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(z=>{z instanceof fe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=z.navigationTrigger,this.restoredId=z.restoredState?z.restoredState.navigationId:0):z instanceof Ce&&(this.lastId=z.id,this.scheduleScrollEvent(z,this.router.parseUrl(z.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(z=>{z instanceof o&&(z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(z.position):z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(z,Pe){this.router.triggerEvent(new o(z,"popstate"===this.lastSource?this.store[this.restoredId]:null,Pe))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return pe.\u0275fac=function(z){e.$Z()},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const Os=new e.OlP("ROUTER_CONFIGURATION"),Wr=new e.OlP("ROUTER_FORROOT_GUARD"),Ua=[Ie.Ye,{provide:St,useClass:Ct},{provide:vn,useFactory:function Jr(pe,$,z,Pe,ze,ht,wt={},Pt,Yt){const _i=new vn(null,pe,$,z,Pe,ze,zt(ht));return Pt&&(_i.urlHandlingStrategy=Pt),Yt&&(_i.routeReuseStrategy=Yt),function Qr(pe,$){pe.errorHandler&&($.errorHandler=pe.errorHandler),pe.malformedUriErrorHandler&&($.malformedUriErrorHandler=pe.malformedUriErrorHandler),pe.onSameUrlNavigation&&($.onSameUrlNavigation=pe.onSameUrlNavigation),pe.paramsInheritanceStrategy&&($.paramsInheritanceStrategy=pe.paramsInheritanceStrategy),pe.relativeLinkResolution&&($.relativeLinkResolution=pe.relativeLinkResolution),pe.urlUpdateStrategy&&($.urlUpdateStrategy=pe.urlUpdateStrategy),pe.canceledNavigationResolution&&($.canceledNavigationResolution=pe.canceledNavigationResolution)}(wt,_i),wt.enableTracing&&_i.events.subscribe(ji=>{var Ei,tn;null===(Ei=console.group)||void 0===Ei||Ei.call(console,`Router Event: ${ji.constructor.name}`),console.log(ji.toString()),console.log(ji),null===(tn=console.groupEnd)||void 0===tn||tn.call(console)}),_i},deps:[St,jn,Ie.Ye,e.zs3,e.Sil,en,Os,[class us{},new e.FiY],[oi,new e.FiY]]},jn,{provide:Ji,useFactory:function no(pe){return pe.routerState.root},deps:[vn]},qr,Qs,class Fs{preload($,z){return z().pipe((0,se.K)(()=>(0,g.of)(null)))}},{provide:Os,useValue:{enableTracing:!1}}];function pu(){return new e.PXZ("Router",vn)}let fu=(()=>{class pe{constructor(z,Pe){}static forRoot(z,Pe){return{ngModule:pe,providers:[Ua,co(z),{provide:Wr,useFactory:cr,deps:[[vn,new e.FiY,new e.tp0]]},{provide:Os,useValue:Pe||{}},{provide:Ie.S$,useFactory:$r,deps:[Ie.lw,[new e.tBr(Ie.mr),new e.FiY],Os]},{provide:ar,useFactory:Co,deps:[vn,Ie.EM,Os]},{provide:Yr,useExisting:Pe&&Pe.preloadingStrategy?Pe.preloadingStrategy:Qs},{provide:e.PXZ,multi:!0,useFactory:pu},[lr,{provide:e.ip1,multi:!0,useFactory:so,deps:[lr]},{provide:lo,useFactory:ur,deps:[lr]},{provide:e.tb,multi:!0,useExisting:lo}]]}}static forChild(z){return{ngModule:pe,providers:[co(z)]}}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(Wr,8),e.LFG(vn,8))},pe.\u0275mod=e.oAB({type:pe}),pe.\u0275inj=e.cJS({}),pe})();function Co(pe,$,z){return z.scrollOffset&&$.setOffset(z.scrollOffset),new ar(pe,$,z)}function $r(pe,$,z={}){return z.useHash?new Ie.Do(pe,$):new Ie.b0(pe,$)}function cr(pe){return"guarded"}function co(pe){return[{provide:e.deG,multi:!0,useValue:pe},{provide:en,multi:!0,useValue:pe}]}let lr=(()=>{class pe{constructor(z){this.injector=z,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new k.xQ}appInitializer(){return this.injector.get(Ie.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Pe=null;const ze=new Promise(Pt=>Pe=Pt),ht=this.injector.get(vn),wt=this.injector.get(Os);return"disabled"===wt.initialNavigation?(ht.setUpLocationChangeListener(),Pe(!0)):"enabled"===wt.initialNavigation||"enabledBlocking"===wt.initialNavigation?(ht.hooks.afterPreactivation=()=>this.initNavigation?(0,g.of)(null):(this.initNavigation=!0,Pe(!0),this.resultOfPreactivationDone),ht.initialNavigation()):Pe(!0),ze})}bootstrapListener(z){const Pe=this.injector.get(Os),ze=this.injector.get(qr),ht=this.injector.get(ar),wt=this.injector.get(vn),Pt=this.injector.get(e.z2F);z===Pt.components[0]&&(("enabledNonBlocking"===Pe.initialNavigation||void 0===Pe.initialNavigation)&&wt.initialNavigation(),ze.setUpPreloading(),ht.init(),wt.resetRootComponentType(Pt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(e.zs3))},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function so(pe){return pe.appInitializer.bind(pe)}function ur(pe){return pe.bootstrapListener.bind(pe)}const lo=new e.OlP("Router Initializer")},51062:(Ke,be,d)=>{"use strict";d.d(be,{Zw:()=>k,aw:()=>ve,X$:()=>Me,sK:()=>Fe});var e=d(5e3),f=d(21086),g=d(54715),T=d(30567),m=d(61221),A=d(88514),s=d(72986),b=d(5154),O=d(24850),E=d(21406),h=d(87545);class k{}let L=(()=>{class me extends k{getTranslation(te){return(0,f.of)({})}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class Y{}let J=(()=>{class me{handle(te){return te.key}}return me.\u0275fac=function(te){return new(te||me)},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();function ue(me,Te){if(me===Te)return!0;if(null===me||null===Te)return!1;if(me!=me&&Te!=Te)return!0;let Oe,Ie,He,te=typeof me;if(te==typeof Te&&"object"==te){if(!Array.isArray(me)){if(Array.isArray(Te))return!1;for(Ie in He=Object.create(null),me){if(!ue(me[Ie],Te[Ie]))return!1;He[Ie]=!0}for(Ie in Te)if(!(Ie in He)&&void 0!==Te[Ie])return!1;return!0}if(!Array.isArray(Te))return!1;if((Oe=me.length)==Te.length){for(Ie=0;Ie{Le(Te[R])?R in me?te[R]=de(me[R],Te[R]):Object.assign(te,{[R]:Te[R]}):Object.assign(te,{[R]:Te[R]})}),te}class ke{}let ae=(()=>{class me extends ke{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(te,R){let Oe;return Oe="string"==typeof te?this.interpolateString(te,R):"function"==typeof te?this.interpolateFunction(te,R):te,Oe}getValue(te,R){let Oe="string"==typeof R?R.split("."):[R];R="";do{R+=Oe.shift(),!ce(te)||!ce(te[R])||"object"!=typeof te[R]&&Oe.length?Oe.length?R+=".":te=void 0:(te=te[R],R="")}while(Oe.length);return te}interpolateFunction(te,R){return te(R)}interpolateString(te,R){return R?te.replace(this.templateMatcher,(Oe,Ie)=>{let He=this.getValue(R,Ie);return ce(He)?He:Oe}):te}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class V{}let H=(()=>{class me extends V{compile(te,R){return te}compileTranslations(te,R){return te}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class X{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new e.vpe,this.onLangChange=new e.vpe,this.onDefaultLangChange=new e.vpe}}const ie=new e.OlP("USE_STORE"),oe=new e.OlP("USE_DEFAULT_LANG"),ge=new e.OlP("DEFAULT_LANGUAGE"),Ne=new e.OlP("USE_EXTEND");let Fe=(()=>{class me{constructor(te,R,Oe,Ie,He,fe=!0,Ce=!1,Ye=!1,Xe){this.store=te,this.currentLoader=R,this.compiler=Oe,this.parser=Ie,this.missingTranslationHandler=He,this.useDefaultLang=fe,this.isolate=Ce,this.extend=Ye,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},Xe&&this.setDefaultLang(Xe)}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(te){this.isolate?this._defaultLang=te:this.store.defaultLang=te}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(te){this.isolate?this._currentLang=te:this.store.currentLang=te}get langs(){return this.isolate?this._langs:this.store.langs}set langs(te){this.isolate?this._langs=te:this.store.langs=te}get translations(){return this.isolate?this._translations:this.store.translations}set translations(te){this.isolate?this._translations=te:this.store.translations=te}setDefaultLang(te){if(te===this.defaultLang)return;let R=this.retrieveTranslations(te);void 0!==R?(null==this.defaultLang&&(this.defaultLang=te),R.pipe((0,s.q)(1)).subscribe(Oe=>{this.changeDefaultLang(te)})):this.changeDefaultLang(te)}getDefaultLang(){return this.defaultLang}use(te){if(te===this.currentLang)return(0,f.of)(this.translations[te]);let R=this.retrieveTranslations(te);return void 0!==R?(this.currentLang||(this.currentLang=te),R.pipe((0,s.q)(1)).subscribe(Oe=>{this.changeLang(te)}),R):(this.changeLang(te),(0,f.of)(this.translations[te]))}retrieveTranslations(te){let R;return(void 0===this.translations[te]||this.extend)&&(this._translationRequests[te]=this._translationRequests[te]||this.getTranslation(te),R=this._translationRequests[te]),R}getTranslation(te){this.pending=!0;const R=this.currentLoader.getTranslation(te).pipe((0,b.d)(1),(0,s.q)(1));return this.loadingTranslations=R.pipe((0,O.U)(Oe=>this.compiler.compileTranslations(Oe,te)),(0,b.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Oe=>{this.translations[te]=this.extend&&this.translations[te]?Object.assign(Object.assign({},Oe),this.translations[te]):Oe,this.updateLangs(),this.pending=!1},error:Oe=>{this.pending=!1}}),R}setTranslation(te,R,Oe=!1){R=this.compiler.compileTranslations(R,te),this.translations[te]=(Oe||this.extend)&&this.translations[te]?de(this.translations[te],R):R,this.updateLangs(),this.onTranslationChange.emit({lang:te,translations:this.translations[te]})}getLangs(){return this.langs}addLangs(te){te.forEach(R=>{-1===this.langs.indexOf(R)&&this.langs.push(R)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(te,R,Oe){let Ie;if(R instanceof Array){let He={},fe=!1;for(let Ce of R)He[Ce]=this.getParsedResult(te,Ce,Oe),(0,g.b)(He[Ce])&&(fe=!0);if(fe){const Ce=R.map(Ye=>(0,g.b)(He[Ye])?He[Ye]:(0,f.of)(He[Ye]));return(0,T.D)(Ce).pipe((0,O.U)(Ye=>{let Xe={};return Ye.forEach((tt,at)=>{Xe[R[at]]=tt}),Xe}))}return He}if(te&&(Ie=this.parser.interpolate(this.parser.getValue(te,R),Oe)),void 0===Ie&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ie=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],R),Oe)),void 0===Ie){let He={key:R,translateService:this};void 0!==Oe&&(He.interpolateParams=Oe),Ie=this.missingTranslationHandler.handle(He)}return void 0!==Ie?Ie:R}get(te,R){if(!ce(te)||!te.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,E.b)(Oe=>(Oe=this.getParsedResult(Oe,te,R),(0,g.b)(Oe)?Oe:(0,f.of)(Oe))));{let Oe=this.getParsedResult(this.translations[this.currentLang],te,R);return(0,g.b)(Oe)?Oe:(0,f.of)(Oe)}}getStreamOnTranslationChange(te,R){if(!ce(te)||!te.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(te,R)),this.onTranslationChange.pipe((0,h.w)(Oe=>{const Ie=this.getParsedResult(Oe.translations,te,R);return"function"==typeof Ie.subscribe?Ie:(0,f.of)(Ie)})))}stream(te,R){if(!ce(te)||!te.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(te,R)),this.onLangChange.pipe((0,h.w)(Oe=>{const Ie=this.getParsedResult(Oe.translations,te,R);return(0,g.b)(Ie)?Ie:(0,f.of)(Ie)})))}instant(te,R){if(!ce(te)||!te.length)throw new Error('Parameter "key" required');let Oe=this.getParsedResult(this.translations[this.currentLang],te,R);if((0,g.b)(Oe)){if(te instanceof Array){let Ie={};return te.forEach((He,fe)=>{Ie[te[fe]]=te[fe]}),Ie}return te}return Oe}set(te,R,Oe=this.currentLang){this.translations[Oe][te]=this.compiler.compile(R,Oe),this.updateLangs(),this.onTranslationChange.emit({lang:Oe,translations:this.translations[Oe]})}changeLang(te){this.currentLang=te,this.onLangChange.emit({lang:te,translations:this.translations[te]}),null==this.defaultLang&&this.changeDefaultLang(te)}changeDefaultLang(te){this.defaultLang=te,this.onDefaultLangChange.emit({lang:te,translations:this.translations[te]})}reloadLang(te){return this.resetLang(te),this.getTranslation(te)}resetLang(te){this._translationRequests[te]=void 0,this.translations[te]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let te=window.navigator.languages?window.navigator.languages[0]:null;return te=te||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==te?(-1!==te.indexOf("-")&&(te=te.split("-")[0]),-1!==te.indexOf("_")&&(te=te.split("_")[0]),te):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let te=window.navigator.languages?window.navigator.languages[0]:null;return te=te||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,te}}return me.\u0275fac=function(te){return new(te||me)(e.LFG(X),e.LFG(k),e.LFG(V),e.LFG(ke),e.LFG(Y),e.LFG(oe),e.LFG(ie),e.LFG(Ne),e.LFG(ge))},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),Me=(()=>{class me{constructor(te,R){this.translate=te,this._ref=R,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(te,R,Oe){let Ie=He=>{this.value=void 0!==He?He:te,this.lastKey=te,this._ref.markForCheck()};if(Oe){let He=this.translate.getParsedResult(Oe,te,R);(0,g.b)(He.subscribe)?He.subscribe(Ie):Ie(He)}this.translate.get(te,R).subscribe(Ie)}transform(te,...R){if(!te||!te.length)return te;if(ue(te,this.lastKey)&&ue(R,this.lastParams))return this.value;let Oe;if(ce(R[0])&&R.length)if("string"==typeof R[0]&&R[0].length){let Ie=R[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Oe=JSON.parse(Ie)}catch(He){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${R[0]}`)}}else"object"==typeof R[0]&&!Array.isArray(R[0])&&(Oe=R[0]);return this.lastKey=te,this.lastParams=R,this.updateValue(te,Oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ie=>{this.lastKey&&Ie.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(te,Oe,Ie.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ie=>{this.lastKey&&(this.lastKey=null,this.updateValue(te,Oe,Ie.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(te,Oe))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return me.\u0275fac=function(te){return new(te||me)(e.Y36(Fe,16),e.Y36(e.sBO,16))},me.\u0275pipe=e.Yjl({name:"translate",type:me,pure:!1}),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),ve=(()=>{class me{static forRoot(te={}){return{ngModule:me,providers:[te.loader||{provide:k,useClass:L},te.compiler||{provide:V,useClass:H},te.parser||{provide:ke,useClass:ae},te.missingTranslationHandler||{provide:Y,useClass:J},X,{provide:ie,useValue:te.isolate},{provide:oe,useValue:te.useDefaultLang},{provide:Ne,useValue:te.extend},{provide:ge,useValue:te.defaultLanguage},Fe]}}static forChild(te={}){return{ngModule:me,providers:[te.loader||{provide:k,useClass:L},te.compiler||{provide:V,useClass:H},te.parser||{provide:ke,useClass:ae},te.missingTranslationHandler||{provide:Y,useClass:J},{provide:ie,useValue:te.isolate},{provide:oe,useValue:te.useDefaultLang},{provide:Ne,useValue:te.extend},{provide:ge,useValue:te.defaultLanguage},Fe]}}}return me.\u0275fac=function(te){return new(te||me)},me.\u0275mod=e.oAB({type:me}),me.\u0275inj=e.cJS({}),me})()},86114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(69808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(40520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(70655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(21086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(61946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(61737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(36053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(36787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(92198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(22868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(80013),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(40943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(87545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(24850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(87224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(27221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(46227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(72986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(61709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Ke extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Ke.\u0275fac=function(){let be;return function(e){return(be||(be=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Ke)))(e||Ke)}}(),Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Ke{constructor(){this.data=new Map}getItem(d){return this.data.get(d)}removeItem(d){this.data.delete(d)}setItem(d,e){this.data.set(d,e)}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class ReceivedTokens{}class OAuthEvent{constructor(be){this.type=be}}class OAuthSuccessEvent extends OAuthEvent{constructor(be,d=null){super(be),this.info=d}}class OAuthInfoEvent extends OAuthEvent{constructor(be,d=null){super(be),this.info=d}}class OAuthErrorEvent extends OAuthEvent{constructor(be,d,e=null){super(be),this.reason=d,this.params=e}}function b64DecodeUnicode(Ke){const be=Ke.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(be).split("").map(function(d){return"%"+("00"+d.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Ke){return btoa(Ke).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(be){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=d=>{location.href=d},be&&Object.assign(this,be)}}class WebHttpUrlEncodingCodec{encodeKey(be){return encodeURIComponent(be)}encodeValue(be){return encodeURIComponent(be)}decodeKey(be){return decodeURIComponent(be)}decodeValue(be){return decodeURIComponent(be)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(be){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let d=this.inferHashAlgorithm(be.idTokenHeader),e=yield this.calcHash(be.accessToken,d),g=base64UrlEncode(e.substr(0,e.length/2)),T=be.idTokenClaims.at_hash.replace(/=/g,"");return g!==T&&(console.error("exptected at_hash: "+g),console.error("actual at_hash: "+T)),g===T})}inferHashAlgorithm(be){let d=be.alg;if(!d.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+d);return"sha-"+d.substr(2)}}let UrlHelperService=(()=>{class Ke{getHashFragmentParams(d){let e=d||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const f=e.indexOf("?");return e=e.substr(f>-1?f+1:1),this.parseQueryString(e)}parseQueryString(d){const e={};let f,g,T,m,A,s,b;if(null===d)return e;f=d.split("&");for(let O=0;O>6,g[m++]=128|63&A):A<55296||A>=57344?(g[m++]=224|A>>12,g[m++]=128|A>>6&63,g[m++]=128|63&A):(A=65536+((1023&A)<<10|1023&Ke.charCodeAt(++e)),g[m++]=240|A>>18,g[m++]=128|A>>12&63,g[m++]=128|A>>6&63,g[m++]=128|63&A);Ke=g}else{if("object"!==f)throw new Error(ERROR);if(null===Ke)throw new Error(ERROR);if(ARRAY_BUFFER&&Ke.constructor===ArrayBuffer)Ke=new Uint8Array(Ke);else if(!(Array.isArray(Ke)||ARRAY_BUFFER&&ArrayBuffer.isView(Ke)))throw new Error(ERROR)}Ke.length>64&&(Ke=new Sha256(be,!0).update(Ke).array());var s=[],b=[];for(e=0;e<64;++e){var O=Ke[e]||0;s[e]=92^O,b[e]=54^O}Sha256.call(this,be,d),this.update(b),this.oKeyPad=s,this.inner=!0,this.sharedMemory=d}Sha256.prototype.update=function(Ke){if(!this.finalized){var be,d=typeof Ke;if("string"!==d){if("object"!==d)throw new Error(ERROR);if(null===Ke)throw new Error(ERROR);if(ARRAY_BUFFER&&Ke.constructor===ArrayBuffer)Ke=new Uint8Array(Ke);else if(!(Array.isArray(Ke)||ARRAY_BUFFER&&ArrayBuffer.isView(Ke)))throw new Error(ERROR);be=!0}for(var e,g,f=0,T=Ke.length,m=this.blocks;f>2]|=Ke[f]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(m[g>>2]|=(224|e>>12)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<>2]|=(240|e>>18)<>2]|=(128|e>>12&63)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<=64?(this.block=m[16],this.start=g-64,this.hash(),this.hashed=!0):this.start=g}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Ke=this.blocks,be=this.lastByteIndex;Ke[16]=this.block,Ke[be>>2]|=EXTRA[3&be],this.block=Ke[16],be>=56&&(this.hashed||this.hash(),Ke[0]=this.block,Ke[16]=Ke[1]=Ke[2]=Ke[3]=Ke[4]=Ke[5]=Ke[6]=Ke[7]=Ke[8]=Ke[9]=Ke[10]=Ke[11]=Ke[12]=Ke[13]=Ke[14]=Ke[15]=0),Ke[14]=this.hBytes<<3|this.bytes>>>29,Ke[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var s,h,Y,J,ue,ce,Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=this.blocks;for(s=16;s<64;++s)A[s]=A[s-16]+(((h=A[s-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+A[s-7]+(((h=A[s-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(ce=be&d,s=0;s<64;s+=4)this.first?(this.is224?(Y=300032,m=(h=A[0]-1413257819)-150054599<<0,e=h+24177077<<0):(Y=704751109,m=(h=A[0]-210244248)-1521486534<<0,e=h+143694565<<0),this.first=!1):(m=e+(h=m+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&g^~f&T)+K[s]+A[s])<<0,e=h+(((Ke>>>2|Ke<<30)^(Ke>>>13|Ke<<19)^(Ke>>>22|Ke<<10))+((Y=Ke&be)^Ke&d^ce))<<0),T=d+(h=T+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&f^~m&g)+K[s+1]+A[s+1])<<0,d=h+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+((J=e&Ke)^e&be^Y))<<0,g=be+(h=g+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&m^~T&f)+K[s+2]+A[s+2])<<0,be=h+(((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+((ue=d&e)^d&Ke^J))<<0,f=Ke+(h=f+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&T^~g&m)+K[s+3]+A[s+3])<<0,Ke=h+(((be>>>2|be<<30)^(be>>>13|be<<19)^(be>>>22|be<<10))+((ce=be&d)^be&e^ue))<<0;this.h0=this.h0+Ke<<0,this.h1=this.h1+be<<0,this.h2=this.h2+d<<0,this.h3=this.h3+e<<0,this.h4=this.h4+f<<0,this.h5=this.h5+g<<0,this.h6=this.h6+T<<0,this.h7=this.h7+m<<0},Sha256.prototype.hex=function(){this.finalize();var Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=HEX_CHARS[Ke>>28&15]+HEX_CHARS[Ke>>24&15]+HEX_CHARS[Ke>>20&15]+HEX_CHARS[Ke>>16&15]+HEX_CHARS[Ke>>12&15]+HEX_CHARS[Ke>>8&15]+HEX_CHARS[Ke>>4&15]+HEX_CHARS[15&Ke]+HEX_CHARS[be>>28&15]+HEX_CHARS[be>>24&15]+HEX_CHARS[be>>20&15]+HEX_CHARS[be>>16&15]+HEX_CHARS[be>>12&15]+HEX_CHARS[be>>8&15]+HEX_CHARS[be>>4&15]+HEX_CHARS[15&be]+HEX_CHARS[d>>28&15]+HEX_CHARS[d>>24&15]+HEX_CHARS[d>>20&15]+HEX_CHARS[d>>16&15]+HEX_CHARS[d>>12&15]+HEX_CHARS[d>>8&15]+HEX_CHARS[d>>4&15]+HEX_CHARS[15&d]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[f>>28&15]+HEX_CHARS[f>>24&15]+HEX_CHARS[f>>20&15]+HEX_CHARS[f>>16&15]+HEX_CHARS[f>>12&15]+HEX_CHARS[f>>8&15]+HEX_CHARS[f>>4&15]+HEX_CHARS[15&f]+HEX_CHARS[g>>28&15]+HEX_CHARS[g>>24&15]+HEX_CHARS[g>>20&15]+HEX_CHARS[g>>16&15]+HEX_CHARS[g>>12&15]+HEX_CHARS[g>>8&15]+HEX_CHARS[g>>4&15]+HEX_CHARS[15&g]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T];return this.is224||(A+=HEX_CHARS[m>>28&15]+HEX_CHARS[m>>24&15]+HEX_CHARS[m>>20&15]+HEX_CHARS[m>>16&15]+HEX_CHARS[m>>12&15]+HEX_CHARS[m>>8&15]+HEX_CHARS[m>>4&15]+HEX_CHARS[15&m]),A},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=[Ke>>24&255,Ke>>16&255,Ke>>8&255,255&Ke,be>>24&255,be>>16&255,be>>8&255,255&be,d>>24&255,d>>16&255,d>>8&255,255&d,e>>24&255,e>>16&255,e>>8&255,255&e,f>>24&255,f>>16&255,f>>8&255,255&f,g>>24&255,g>>16&255,g>>8&255,255&g,T>>24&255,T>>16&255,T>>8&255,255&T];return this.is224||A.push(m>>24&255,m>>16&255,m>>8&255,255&m),A},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Ke=new ArrayBuffer(this.is224?28:32),be=new DataView(Ke);return be.setUint32(0,this.h0),be.setUint32(4,this.h1),be.setUint32(8,this.h2),be.setUint32(12,this.h3),be.setUint32(16,this.h4),be.setUint32(20,this.h5),be.setUint32(24,this.h6),this.is224||be.setUint32(28,this.h7),Ke},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Ke=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Ke),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Ke){if("string"!=typeof Ke)throw new TypeError("expected string");var be,d=Ke,e=new Uint8Array(d.length);for(be=0;be{class Ke{calcHash(d,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(d)))})}toHashString2(d){let e="";for(let f of d)e+=String.fromCharCode(f);return e}toHashString(d){const e=new Uint8Array(d);let f="";for(let g of e)f+=String.fromCharCode(g);return f}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),OAuthService=(()=>{class Ke extends AuthConfig{constructor(d,e,f,g,T,m,A,s,b,O){var E;super(),this.ngZone=d,this.http=e,this.config=T,this.urlHelper=m,this.logger=A,this.crypto=s,this.dateTimeService=O,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=b,T||(T={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),g&&(this.tokenValidationHandler=g),T&&this.configure(T);try{f?this.setStorage(f):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(E=null==window?void 0:window.navigator)||void 0===E?void 0:E.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const d="test";try{return void 0!==window.localStorage&&(localStorage.setItem(d,d),localStorage.removeItem(d),!0)}catch(e){return!1}}configure(d){Object.assign(this,new AuthConfig,d),this.config=Object.assign({},new AuthConfig,d),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(d={},e,f=!0){let g=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(T=>{"token_received"===T.type?g=!0:"logout"===T.type&&(g=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>"token_expires"===T.type&&(null==e||"any"===e||T.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(T=>{g&&this.refreshInternal(d,f).catch(m=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(d,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(d,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(d=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(d))}loadDiscoveryDocumentAndLogin(d=null){return this.loadDiscoveryDocumentAndTryLogin(d=d||{}).then(e=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof d.state?d.state:""),!1))}debug(...d){this.showDebugInformation&&this.logger.debug.apply(this.logger,d)}validateUrlFromDiscoveryDocument(d){const e=[],f=this.validateUrlForHttps(d),g=this.validateUrlAgainstIssuer(d);return f||e.push("https for all urls required. Also for urls received by discovery."),g||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(d){if(!d)return!0;const e=d.toLowerCase();return!(!1!==this.requireHttps&&(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(d,e){if(!d)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(d))throw new Error(`'${e}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(d){return!this.strictDiscoveryDocumentValidation||!d||d.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const d=this.getAccessTokenExpiration(),e=this.getAccessTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}setupIdTokenTimer(){const d=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(d,e){const f=this.dateTimeService.now();return Math.max(0,(e-d)*this.timeoutFactor-(f-d))}setStorage(d){this._storage=d,this.configChanged()}loadDiscoveryDocument(d=null){return new Promise((e,f)=>{d||((d=this.issuer||"").endsWith("/")||(d+="/"),d+=".well-known/openid-configuration"),this.validateUrlForHttps(d)?this.http.get(d).subscribe(g=>{if(!this.validateDiscoveryDocument(g))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void f("discovery_document_validation_error");this.loginUrl=g.authorization_endpoint,this.logoutUrl=g.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=g.grant_types_supported,this.issuer=g.issuer,this.tokenEndpoint=g.token_endpoint,this.userinfoEndpoint=g.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=g.jwks_uri,this.sessionCheckIFrameUrl=g.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(g),this.revocationEndpoint=g.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(T=>{const A=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:g,jwks:T});this.eventsSubject.next(A),e(A)}).catch(T=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),f(T)})},g=>{this.logger.error("error loading discovery document",g),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",g)),f(g)}):f("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((d,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(f=>{this.jwks=f,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),d(f)},f=>{this.logger.error("error loading jwks",f),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",f)),e(f)}):d(null)})}validateDiscoveryDocument(d){let e;return this.skipIssuerCheck||d.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(d.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!1):(this.sessionChecksEnabled&&!d.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+d.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(d,e,f).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((d,e)=>{const f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:f,observe:"response",responseType:"text"}).subscribe(g=>{if(this.debug("userinfo received",JSON.stringify(g)),g.headers.get("content-type").startsWith("application/json")){let T=JSON.parse(g.body);const m=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!m.sub||T.sub!==m.sub))return void e("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");T=Object.assign({},m,T),this._storage.setItem("id_token_claims_obj",JSON.stringify(T)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d({info:T})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d(JSON.parse(g.body))},g=>{this.logger.error("error loading user info",g),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",g)),e(g)})})}fetchTokenUsingPasswordFlow(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:d,password:e},f)}fetchTokenUsingGrant(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",d).set("scope",this.scope);if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+T)}if(this.useHttpBasicAuth||(g=g.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(g=g.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const T of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(T,this.customQueryParams[T]);for(const T of Object.keys(e))g=g.set(T,e[T]);return f=f.set("Content-Type","application/x-www-form-urlencoded"),new Promise((T,m)=>{this.http.post(this.tokenEndpoint,g,{headers:f}).subscribe(A=>{this.debug("tokenResponse",A),this.storeAccessTokenResponse(A.access_token,A.refresh_token,A.expires_in||this.fallbackAccessTokenExpirationTimeInSec,A.scope,this.extractRecognizedCustomParameters(A)),this.oidc&&A.id_token&&this.processIdToken(A.id_token,A.access_token).then(s=>{this.storeIdToken(s),T(A)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),T(A)},A=>{this.logger.error("Error performing ${grantType} flow",A),this.eventsSubject.next(new OAuthErrorEvent("token_error",A)),m(A)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((d,e)=>{let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+T)}if(this.useHttpBasicAuth||(f=f.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(f=f.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const T of Object.getOwnPropertyNames(this.customQueryParams))f=f.set(T,this.customQueryParams[T]);this.http.post(this.tokenEndpoint,f,{headers:g}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(T=>T.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(T.id_token,T.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(m=>this.storeIdToken(m)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(m=>T)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(T))).subscribe(T=>{this.debug("refresh tokenResponse",T),this.storeAccessTokenResponse(T.access_token,T.refresh_token,T.expires_in||this.fallbackAccessTokenExpirationTimeInSec,T.scope,this.extractRecognizedCustomParameters(T)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),d(T)},T=>{this.logger.error("Error refreshing token",T),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",T)),e(T)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=d=>{const e=this.processMessageEventMessage(d);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(f=>this.debug("tryLogin during silent refresh failed",f))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(d={},e=!0){const f=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(d.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const g=this.document.getElementById(this.silentRefreshIFrameName);g&&this.document.body.removeChild(g),this.silentRefreshSubject=f.sub;const T=this.document.createElement("iframe");T.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,d).then(O=>{T.setAttribute("src",O),this.silentRefreshShowIFrame||(T.style.display="none"),this.document.body.appendChild(T)});const A=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>O instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([A,s,b]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>{if(O instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===O.type||(O=new OAuthErrorEvent("silent_refresh_error",O)),this.eventsSubject.next(O),O;return"token_received"===O.type&&(O=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(O)),O})).toPromise()}initImplicitFlowInPopup(d){return this.initLoginFlowInPopup(d)}initLoginFlowInPopup(d){return d=d||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((f,g)=>{let A,m=null;d.windowRef?d.windowRef&&!d.windowRef.closed&&(m=d.windowRef,m.location.href=e):m=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(d));const s=k=>{this.tryLogin({customHashFragment:k,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{O(),f(!0)},L=>{O(),g(L)})};m?A=window.setInterval(()=>{(!m||m.closed)&&(O(),g(new OAuthErrorEvent("popup_closed",{})))},500):g(new OAuthErrorEvent("popup_blocked",{}));const O=()=>{window.clearInterval(A),window.removeEventListener("storage",h),window.removeEventListener("message",E),null!==m&&m.close(),m=null},E=k=>{const L=this.processMessageEventMessage(k);L&&null!==L?(window.removeEventListener("storage",h),s(L)):console.log("false event firing")},h=k=>{"auth_hash"===k.key&&(window.removeEventListener("message",E),s(k.newValue))};window.addEventListener("message",E),window.addEventListener("storage",h)}))}calculatePopupFeatures(d){const e=d.height||470,f=d.width||500,g=window.screenLeft+(window.outerWidth-f)/2;return`location=no,toolbar=no,width=${f},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${g}`}processMessageEventMessage(d){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!d||!d.data||"string"!=typeof d.data)return;const f=d.data;return f.startsWith(e)?"#"+f.substr(e.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=d=>{const e=d.origin.toLowerCase(),f=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),f.startsWith(e)){switch(d.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",d)}else this.debug("sessionCheckEventListener","wrong origin",e,"expected",f,"event",d)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(d=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(d=>{this.debug("token refresh after session change worked")}).catch(d=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"silently_refreshed"===d.type||"silent_refresh_timeout"===d.type||"silent_refresh_error"===d.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(d=>{"silently_refreshed"!==d.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const d=this.document.getElementById(this.sessionCheckIFrameName);d&&this.document.body.removeChild(d);const e=this.document.createElement("iframe");e.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),e.setAttribute("src",this.sessionCheckIFrameUrl),e.style.display="none",this.document.body.appendChild(e),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const d=this.document.getElementById(this.sessionCheckIFrameName);d||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),d.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(d="",e="",f="",g=!1,T={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const m=this;let A;A=f||this.redirectUri;const s=yield this.createAndSaveNonce();if(d=d?s+this.config.nonceStateSeparator+encodeURIComponent(d):s,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const b=m.loginUrl.indexOf("?")>-1?"&":"?";let O=m.scope;this.oidc&&!O.match(/(^|\s)openid($|\s)/)&&(O="openid "+O);let E=m.loginUrl+b+"response_type="+encodeURIComponent(m.responseType)+"&client_id="+encodeURIComponent(m.clientId)+"&state="+encodeURIComponent(d)+"&redirect_uri="+encodeURIComponent(A)+"&scope="+encodeURIComponent(O);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,k]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",k):this._storage.setItem("PKCE_verifier",k),E+="&code_challenge="+h,E+="&code_challenge_method=S256"}e&&(E+="&login_hint="+encodeURIComponent(e)),m.resource&&(E+="&resource="+encodeURIComponent(m.resource)),m.oidc&&(E+="&nonce="+encodeURIComponent(s)),g&&(E+="&prompt=none");for(const h of Object.keys(T))E+="&"+encodeURIComponent(h)+"="+encodeURIComponent(T[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))E+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return E})}initImplicitFlowInternal(d="",e=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(T=>{console.error("Error in initImplicitFlow",T),this.inImplicitFlow=!1})}initImplicitFlow(d="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(d,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(f=>"discovery_document_loaded"===f.type)).subscribe(f=>this.initImplicitFlowInternal(d,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(d){const e=this;if(d.onTokenReceived){const f={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};d.onTokenReceived(f)}}storeAccessTokenResponse(d,e,f,g,T){if(this._storage.setItem("access_token",d),g&&!Array.isArray(g)?this._storage.setItem("granted_scopes",JSON.stringify(g.split(" "))):g&&Array.isArray(g)&&this._storage.setItem("granted_scopes",JSON.stringify(g)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),f){const m=1e3*f,s=this.dateTimeService.new().getTime()+m;this._storage.setItem("expires_at",""+s)}e&&this._storage.setItem("refresh_token",e),T&&T.forEach((m,A)=>{this._storage.setItem(A,m)})}tryLogin(d=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(d).then(e=>!0):this.tryLoginImplicitFlow(d)}parseQueryString(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):{}}tryLoginCodeFlow(d=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const e=(d=d||{}).customHashFragment?d.customHashFragment.substring(1):window.location.search,f=this.getCodePartsFromUrl(e),g=f.code,T=f.state,m=f.session_state;if(!d.preventClearHashAfterLogin){const b=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,b)}let[A,s]=this.parseState(T);if(this.state=s,f.error){this.debug("error trying to login"),this.handleLoginError(d,f);const b=new OAuthErrorEvent("code_error",{},f);return this.eventsSubject.next(b),Promise.reject(b)}if(!d.disableNonceCheck){if(!A)return this.saveRequestedRoute(),Promise.resolve();if(!d.disableOAuth2StateCheck&&!this.validateNonce(A)){const O=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(O),Promise.reject(O)}return this.storeSessionState(m),g&&(yield this.getTokenFromCode(g,d),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const d=this._storage.getItem("requested_route");d&&history.replaceState(null,"",window.location.origin+d)}getCodePartsFromUrl(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(d,e){let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",d).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let g;g=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),g?f=f.set("code_verifier",g):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(f,e)}fetchAndProcessToken(d,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const g=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+g)}return this.useHttpBasicAuth||(d=d.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(d=d.set("client_secret",this.dummyClientSecret)),new Promise((g,T)=>{if(this.customQueryParams)for(let m of Object.getOwnPropertyNames(this.customQueryParams))d=d.set(m,this.customQueryParams[m]);this.http.post(this.tokenEndpoint,d,{headers:f}).subscribe(m=>{this.debug("refresh tokenResponse",m),this.storeAccessTokenResponse(m.access_token,m.refresh_token,m.expires_in||this.fallbackAccessTokenExpirationTimeInSec,m.scope,this.extractRecognizedCustomParameters(m)),this.oidc&&m.id_token?this.processIdToken(m.id_token,m.access_token,e.disableNonceCheck).then(A=>{this.storeIdToken(A),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m)}).catch(A=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",A)),console.error("Error validating tokens"),console.error(A),T(A)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m))},m=>{console.error("Error getting token",m),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",m)),T(m)})})}tryLoginImplicitFlow(d=null){let e;e=(d=d||{}).customHashFragment?this.urlHelper.getHashFragmentParams(d.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const f=e.state;let[g,T]=this.parseState(f);if(this.state=T,e.error){this.debug("error trying to login"),this.handleLoginError(d,e);const O=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(O),Promise.reject(O)}const m=e.access_token,A=e.id_token,s=e.session_state,b=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!m||this.requestAccessToken&&!d.disableOAuth2StateCheck&&!f||this.oidc&&!A)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!s&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!d.disableNonceCheck&&!this.validateNonce(g)){const E=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(E),Promise.reject(E)}return this.requestAccessToken&&this.storeAccessTokenResponse(m,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,b),this.oidc?this.processIdToken(A,m,d.disableNonceCheck).then(O=>d.validationHandler?d.validationHandler({accessToken:m,idClaims:O.idTokenClaims,idToken:O.idToken,state:f}).then(E=>O):O).then(O=>(this.storeIdToken(O),this.storeSessionState(s),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(d),this.inImplicitFlow=!1,!0)).catch(O=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),this.logger.error("Error validating tokens"),this.logger.error(O),Promise.reject(O))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(d),Promise.resolve(!0))}parseState(d){let e=d,f="";if(d){const g=d.indexOf(this.config.nonceStateSeparator);g>-1&&(e=d.substr(0,g),f=d.substr(g+this.config.nonceStateSeparator.length))}return[e,f]}validateNonce(d){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===d||(console.error("Validating access_token failed, wrong state/nonce.",e,d),!1)}storeIdToken(d){this._storage.setItem("id_token",d.idToken),this._storage.setItem("id_token_claims_obj",d.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+d.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(d){this._storage.setItem("session_state",d)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(d,e){d.onLoginError&&d.onLoginError(e),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(d=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:d}processIdToken(d,e,f=!1){const g=d.split("."),m=b64DecodeUnicode(this.padBase64(g[0])),A=JSON.parse(m),b=b64DecodeUnicode(this.padBase64(g[1])),O=JSON.parse(b);let E;if(E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(O.aud)){if(O.aud.every(ue=>ue!==this.clientId)){const ue="Wrong audience: "+O.aud.join(",");return this.logger.warn(ue),Promise.reject(ue)}}else if(O.aud!==this.clientId){const ue="Wrong audience: "+O.aud;return this.logger.warn(ue),Promise.reject(ue)}if(!O.sub){const ue="No sub claim in id_token";return this.logger.warn(ue),Promise.reject(ue)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==O.sub){const ue=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${O.sub}`;return this.logger.warn(ue),Promise.reject(ue)}if(!O.iat){const ue="No iat claim in id_token";return this.logger.warn(ue),Promise.reject(ue)}if(!this.skipIssuerCheck&&O.iss!==this.issuer){const ue="Wrong issuer: "+O.iss;return this.logger.warn(ue),Promise.reject(ue)}if(!f&&O.nonce!==E){const ue="Wrong nonce: "+O.nonce;return this.logger.warn(ue),Promise.reject(ue)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!O.at_hash){const ue="An at_hash is needed!";return this.logger.warn(ue),Promise.reject(ue)}const h=this.dateTimeService.now(),k=1e3*O.iat,L=1e3*O.exp,Y=this.getClockSkewInMsec();if(k-Y>=h||L+Y<=h){const ue="Token has expired";return console.error(ue),console.error({now:h,issuedAtMSec:k,expiresAtMSec:L}),Promise.reject(ue)}const J={accessToken:e,idToken:d,jwks:this.jwks,idTokenClaims:O,idTokenHeader:A,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(J).then(ue=>({idToken:d,idTokenClaims:O,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:L})):this.checkAtHash(J).then(ue=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ue){const ce="Wrong at_hash";return this.logger.warn(ce),Promise.reject(ce)}return this.checkSignature(J).then(ce=>{const de={idToken:d,idTokenClaims:O,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:L};return this.disableAtHashCheck?de:this.checkAtHash(J).then(ke=>{if(this.requestAccessToken&&!ke){const ae="Wrong at_hash";return this.logger.warn(ae),Promise.reject(ae)}return de})})})}getIdentityClaims(){const d=this._storage.getItem("id_token_claims_obj");return d?JSON.parse(d):null}getGrantedScopes(){const d=this._storage.getItem("granted_scopes");return d?JSON.parse(d):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(d){for(;d.length%4!=0;)d+="=";return d}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const d=this._storage.getItem("expires_at"),e=this.dateTimeService.new();return!(d&&parseInt(d,10)=0&&null!==this._storage.getItem(d)?JSON.parse(this._storage.getItem(d)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(d={},e=""){let f=!1;"boolean"==typeof d&&(f=d,d={});const g=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(m=>this._storage.removeItem(m)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||f||!g&&!this.postLogoutRedirectUri)return;let T;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)T=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(g)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});g&&(m=m.set("id_token_hint",g));const A=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";A&&(m=m.set("post_logout_redirect_uri",A),e&&(m=m.set("state",e)));for(let s in d)m=m.set(s,d[s]);T=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+m.toString()}this.config.openUri(T)}createAndSaveNonce(){const d=this;return this.createNonce().then(function(e){return d.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):d._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const d=this.document.getElementById(this.silentRefreshIFrameName);d&&d.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(d=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let f=45,g="";const T="undefined"==typeof self?null:self.crypto||self.msCrypto;if(T){let m=new Uint8Array(f);T.getRandomValues(m),m.map||(m.map=Array.prototype.map),m=m.map(A=>e.charCodeAt(A%e.length)),g=String.fromCharCode.apply(null,m)}else for(;0"discovery_document_loaded"===f.type)).subscribe(f=>this.initCodeFlowInternal(d,e))}initCodeFlowInternal(d="",e={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(T=>{console.error("Error in initAuthorizationCodeFlow"),console.error(T)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const d=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(d,"sha-256")),d]})}extractRecognizedCustomParameters(d){let e=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(f=>{d[f]&&e.set(f,JSON.stringify(d[f]))}),e}revokeTokenAndLogout(d={},e=!1){let f=this.revocationEndpoint,g=this.getAccessToken(),T=this.getRefreshToken();if(!g)return;let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),A=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const s=btoa(`${this.clientId}:${this.dummyClientSecret}`);A=A.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(m=m.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(m=m.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))m=m.set(s,this.customQueryParams[s]);return new Promise((s,b)=>{let O,E;if(g){let h=m.set("token",g).set("token_type_hint","access_token");O=this.http.post(f,h,{headers:A})}else O=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(T){let h=m.set("token",T).set("token_type_hint","refresh_token");E=this.http.post(f,h,{headers:A})}else E=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);e&&(O=O.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),E=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([O,E]).subscribe(h=>{this.logOut(d),s(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),b(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ke.\u0275fac=function(d){return new(d||Ke)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(be){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(be)}}let DefaultOAuthInterceptor=(()=>{class Ke{constructor(d,e,f){this.oAuthService=d,this.errorHandler=e,this.moduleConfig=f}checkUrl(d){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(d):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>d.toLowerCase().startsWith(e.toLowerCase()))}intercept(d,e){const f=d.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(f)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>!!T)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>"token_received"===T.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(T=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(T=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(T=>{if(T){const A=d.headers.set("Authorization","Bearer "+T);d=d.clone({headers:A})}return e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(m=>this.errorHandler.handleError(m)))})):e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(T=>this.errorHandler.handleError(T))):e.handle(d)}}return Ke.\u0275fac=function(d){return new(d||Ke)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class NullValidationHandler{validateSignature(be){return Promise.resolve(null)}validateAtHash(be){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Ke{static forRoot(d=null,e=NullValidationHandler){return{ngModule:Ke,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:e},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:d},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Ke}),Ke.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Ke})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},43586:(Ke,be,d)=>{"use strict";d.d(be,{nu:()=>fe,Co:()=>Ye});var e=d(5e3),f=d(93075),g=d(90508),T=d(74107),m=d(67322),A=d(91159),s=d(591),b=d(21086),O=d(36053),E=d(8929),h=d(87545),k=d(24850),L=d(1059),Y=d(40943),J=d(7625),ue=d(72986),ce=d(92198),Le=d(22868),de=d(53435),ke=d(15664),ae=d(77446),V=d(20773),H=d(47423),X=d(25245),ie=d(69808),oe=d(29772);const ge=["searchSelectInput"],Ne=["innerSelectSearch"];function Fe(Xe,tt){if(1&Xe){const at=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(he){return e.CHM(at),e.oxw()._emitSelectAllBooleanToParent(he.checked)}),e.qZA()}if(2&Xe){const at=e.oxw();e.Q6J("color",null==at.matFormField?null:at.matFormField.color)("checked",at.toggleAllCheckboxChecked)("indeterminate",at.toggleAllCheckboxIndeterminate)("matTooltip",at.toggleAllCheckboxTooltipMessage)("matTooltipPosition",at.toogleAllCheckboxTooltipPosition)}}function se(Xe,tt){1&Xe&&e._UZ(0,"mat-spinner",10)}function Me(Xe,tt){1&Xe&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ve(Xe,tt){1&Xe&&(e.TgZ(0,"mat-icon"),e._uU(1,"close"),e.qZA())}function me(Xe,tt){if(1&Xe){const at=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(at),e.oxw()._reset(!0)}),e.YNc(1,Me,1,0,"ng-content",12),e.YNc(2,ve,2,0,"ng-template",null,13,e.W1O),e.qZA()}if(2&Xe){const at=e.MAs(3),N=e.oxw();e.xp6(1),e.Q6J("ngIf",N.clearIcon)("ngIfElse",at)}}function Te(Xe,tt){if(1&Xe&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&Xe){const at=e.oxw();e.xp6(1),e.hij(" ",at.noEntriesFoundLabel,"\n")}}const te=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],R=function(Xe,tt){return{"mat-select-search-inner-multiple":Xe,"mat-select-search-inner-toggle-all":tt}},Oe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let Ie=(()=>{class Xe{}return Xe.\u0275fac=function(at){return new(at||Xe)},Xe.\u0275dir=e.lG2({type:Xe,selectors:[["","ngxMatSelectSearchClear",""]]}),Xe})(),fe=(()=>{class Xe{constructor(at,N,he,D=null,S,I=null){this.matSelect=at,this.changeDetectorRef=N,this._viewportRuler=he,this.matOption=D,this.liveAnnouncer=S,this.matFormField=I,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=P=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,h.w)(P=>P?P.changes.pipe((0,k.U)(i=>i.toArray()),(0,L.O)(P.toArray())):(0,b.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,k.U)(P=>P?P.length:0)),this._formControl=new f.NI(""),this._showNoEntriesFound$=(0,O.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,k.U)(([P,i])=>this.noEntriesFoundLabel&&P&&i===this.getOptionsLengthOffset())),this._onDestroy=new E.xQ}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(at){this._options$.next(at)}get _options(){return this._options$.getValue()}ngOnInit(){const at="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(at):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,at]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[at]=!0):this.matSelect.panelClass=at,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,Y.g)(1),(0,J.R)(this._onDestroy)).subscribe(N=>{N?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,ue.q)(1)).pipe((0,J.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,J.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let N=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,J.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const he=this._options.toArray(),D=he[this.getOptionsLengthOffset()],S=this.matSelect._keyManager;S&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(N,D)||!S.activeItem||!he.find(P=>this.matSelect.compareWith(P,S.activeItem)))&&S.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),N=D})})}),this._showNoEntriesFound$.pipe((0,J.R)(this._onDestroy)).subscribe(N=>{this.matOption&&(N?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,J.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,J.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(at){this.toggleAll.emit(at)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(at){(at.key&&1===at.key.length||at.keyCode>=A.A&&at.keyCode<=A.Z||at.keyCode>=A.xE&&at.keyCode<=A.aO||at.keyCode===A.L_||this.preventHomeEndKeyPropagation&&(at.keyCode===A.Sd||at.keyCode===A.uR))&&at.stopPropagation(),this.matSelect.multiple&&at.key&&at.keyCode===A.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&at.keyCode===A.hY&&this.value&&(this._reset(!0),at.stopPropagation())}_handleKeyup(at){if(at.keyCode===A.LH||at.keyCode===A.JH){const N=this.matSelect._getAriaActiveDescendant(),he=this._options.toArray().findIndex(D=>D.id===N);if(-1!==he){const D=this._options.toArray()[he];this.liveAnnouncer.announce(D.viewValue+" "+this.getAriaIndex(he)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(at){return 0===this.getOptionsLengthOffset()?at+1:at}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(at){this._lastExternalInputValue=at,this._formControl.setValue(at),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(at){this._formControl.valueChanges.pipe((0,ce.h)(N=>N!==this._lastExternalInputValue),(0,Le.b)(()=>this._lastExternalInputValue=void 0),(0,J.R)(this._onDestroy)).subscribe(at)}registerOnTouched(at){this.onTouched=at}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const at=this.matSelect.panel.nativeElement,N=at.scrollTop;this.searchSelectInput.nativeElement.focus(),at.scrollTop=N}_reset(at){this._formControl.setValue(""),at&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,J.R)(this._onDestroy)).subscribe(at=>{let N=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!at||!Array.isArray(at))&&(at=[]);const he=this.matSelect.options.map(D=>D.value);this.previousSelectedValues.forEach(D=>{!at.some(S=>this.matSelect.compareWith(S,D))&&!he.some(S=>this.matSelect.compareWith(S,D))&&(at.push(D),N=!0)})}this.previousSelectedValues=at,N&&this.matSelect._onChange(at)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const at=this.getMatOptionHeight(),N=this.matSelect._keyManager.activeItemIndex||0,he=(0,g.CB)(N,this.matSelect.options,this.matSelect.optionGroups),D=(this.matOption?-1:0)+he+N,S=this.matSelect.panel.nativeElement.scrollTop,I=this.innerSelectSearch.nativeElement.offsetHeight,P=Math.floor((256-I)/at),i=Math.round((S+I)/at)-1;i>=D?this.matSelect.panel.nativeElement.scrollTop=D*at:i+P<=D&&(this.matSelect.panel.nativeElement.scrollTop=(D+1)*at-(256-I))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let N,at=this.innerSelectSearch.nativeElement;for(;at=at.parentElement;)if(at.classList.contains("mat-select-panel")){N=at;break}N&&(this.innerSelectSearch.nativeElement.style.width=N.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return Xe.\u0275fac=function(at){return new(at||Xe)(e.Y36(T.gD),e.Y36(e.sBO),e.Y36(de.rL),e.Y36(g.ey,8),e.Y36(ke.Kd),e.Y36(m.KE,8))},Xe.\u0275cmp=e.Xpm({type:Xe,selectors:[["ngx-mat-select-search"]],contentQueries:function(at,N,he){if(1&at&&e.Suo(he,Ie,5),2&at){let D;e.iGM(D=e.CRH())&&(N.clearIcon=D.first)}},viewQuery:function(at,N){if(1&at&&(e.Gf(ge,7,e.SBq),e.Gf(Ne,7,e.SBq)),2&at){let he;e.iGM(he=e.CRH())&&(N.searchSelectInput=he.first),e.iGM(he=e.CRH())&&(N.innerSelectSearch=he.first)}},hostVars:2,hostBindings:function(at,N){2&at&&e.ekj("mat-select-search-inside-mat-option",N.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:f.JU,useExisting:(0,e.Gpc)(()=>Xe),multi:!0}])],ngContentSelectors:Oe,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(at,N){1&at&&(e.F$t(te),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,Fe,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(D){return N._handleKeydown(D)})("keyup",function(D){return N._handleKeyup(D)})("blur",function(){return N.onBlur()}),e.qZA(),e.YNc(6,se,1,0,"mat-spinner",6),e.YNc(7,me,4,2,"button",7),e.Hsn(8),e.qZA(),e.YNc(9,Te,2,1,"div",8),e.ALo(10,"async")),2&at&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,R,N.matSelect.multiple,N._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",N._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",N.type)("formControl",N._formControl)("placeholder",N.placeholderLabel),e.uIk("aria-label",N.ariaLabel),e.xp6(2),e.Q6J("ngIf",N.searching),e.xp6(1),e.Q6J("ngIf",!N.hideClearSearchButton&&N.value&&!N.searching),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,9,N._showNoEntriesFound$)))},directives:[ae.oG,V.$g,H.lW,X.Hw,ie.mk,ie.O5,oe.gM,f.Fj,f.JJ,f.oH],pipes:[ie.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),Xe})(),Ye=(()=>{class Xe{}return Xe.\u0275fac=function(at){return new(at||Xe)},Xe.\u0275mod=e.oAB({type:Xe}),Xe.\u0275inj=e.cJS({imports:[[ie.ez,f.UX,H.ot,ae.p9,X.Ps,V.Cq,oe.AV]]}),Xe})()},4147:Ke=>{"use strict";Ke.exports={i8:"6.0.0"}}},Ke=>{Ke(Ke.s=9193)}]); \ No newline at end of file diff --git a/dist/apps/admin-gui/main.cacaea501b108db5.js b/dist/apps/admin-gui/main.cacaea501b108db5.js new file mode 100644 index 000000000..577eb019d --- /dev/null +++ b/dist/apps/admin-gui/main.cacaea501b108db5.js @@ -0,0 +1 @@ +(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[179],{25828:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>E});var e=d(10036),f=d(64080),g=d(36908),T=d(5e3),m=d(64901),A=d(77446),s=d(88561),b=d(51062);const O=function(){return["user","id","name","email","logins","organization"]};let E=(()=>{class h{constructor(L){this.storeService=L,this.usersWithoutVo=!1,this.tableId=e.xx,this.attributes=[]}ngOnInit(){this.attributes=[f.r.USER_DEF_ORGANIZATION,f.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(L){this.searchString=L}findUsersWithoutVO(){this.usersWithoutVo=!this.usersWithoutVo}}return h.id="AdminUsersComponent",h.\u0275fac=function(L){return new(L||h)(T.Y36(g.d6))},h.\u0275cmp=T.Xpm({type:h,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(L,V){2&L&&T.ekj("router-component",V.true)},decls:8,vars:15,consts:[[1,"page-subtitle"],[1,"mt-2","search-field",3,"placeholder","filter"],["color","primary",3,"checked","change"],[3,"disableRouting","searchString","withoutVo","displayedColumns","tableId","attrNames"]],template:function(L,V){1&L&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"perun-web-apps-debounce-filter",1),T.NdJ("filter",function(ue){return V.onSearchByString(ue)}),T.qZA(),T.TgZ(4,"mat-checkbox",2),T.NdJ("change",function(){return V.findUsersWithoutVO()}),T._uU(5),T.ALo(6,"translate"),T.qZA(),T._UZ(7,"perun-web-apps-users-dynamic-list",3)),2&L&&(T.xp6(1),T.Oqu(T.lcZ(2,10,"ADMIN.USERS.TITLE")),T.xp6(2),T.Q6J("placeholder","ADMIN.USERS.SEARCH_PLACEHOLDER"),T.xp6(1),T.Q6J("checked",V.usersWithoutVo),T.xp6(1),T.hij(" ",T.lcZ(6,12,"ADMIN.USERS.USERS_WITHOUT_VO"),"\n"),T.xp6(2),T.Q6J("disableRouting",!1)("searchString",V.searchString)("withoutVo",V.usersWithoutVo)("displayedColumns",T.DdM(14,O))("tableId",V.tableId)("attrNames",V.attributes))},directives:[m.P,A.oG,s.M],pipes:[b.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),h})()},72077:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>H});var e=d(36908),f=d(61715),g=d(40520),T=d(9244),m=d(5e3),A=d(48966),s=d(47423),b=d(51062);let O=(()=>{class Q{constructor(se){this.dialogRef=se}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return Q.\u0275fac=function(se){return new(se||Q)(m.Y36(A.so))},Q.\u0275cmp=m.Xpm({type:Q,selectors:[["app-new-version-dialog"]],decls:15,vars:12,consts:[["mat-dialog-title",""],[1,"user-theme"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(se,ge){1&se&&(m.TgZ(0,"h1",0),m._uU(1),m.ALo(2,"translate"),m.qZA(),m.TgZ(3,"div",1),m.TgZ(4,"div",2),m.TgZ(5,"p"),m._uU(6),m.ALo(7,"translate"),m.qZA(),m.qZA(),m.TgZ(8,"div",3),m.TgZ(9,"button",4),m.NdJ("click",function(){return ge.onClose()}),m._uU(10),m.ALo(11,"translate"),m.qZA(),m.TgZ(12,"button",5),m.NdJ("click",function(){return ge.onReload()}),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.qZA(),m.qZA()),2&se&&(m.xp6(1),m.Oqu(m.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),m.xp6(5),m.hij(" ",m.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),m.xp6(4),m.hij(" ",m.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),m.xp6(3),m.hij(" ",m.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[A.uh,A.xY,A.H8,s.lW],pipes:[b.X$],styles:[""]}),Q})();var E=d(30325),h=d(92198);let k=(()=>{class Q{constructor(se,ge){this.router=se,this.routeReuseStrategy=ge;const Ne=ge;se.events.subscribe(Fe=>{Fe instanceof E.OD&&Ne.setLastNavigationType("popstate"===Fe.navigationTrigger?"back":"direct")})}init(){}}return Q.\u0275fac=function(se){return new(se||Q)(m.LFG(E.F0),m.LFG(E.wN))},Q.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const L=["footer"];function V(Q,te){if(1&Q&&(m.TgZ(0,"div",3),m.TgZ(1,"mat-icon"),m._uU(2,"alert"),m.qZA(),m._uU(3),m.qZA()),2&Q){const se=m.oxw();m.xp6(3),m.hij(" ",se.warningMessage,"\n")}}const $=function(Q,te){return{top:Q,background:te}},ue=function(Q,te){return{"margin-top":Q,"min-height":te}},ce=function(Q){return{"border-color":Q}},Le=function(Q){return{background:Q}},de=function(Q){return{"background-color":Q}},ke=function(Q){return{"min-height":Q}};function ae(Q,te){if(1&Q&&(m._UZ(0,"app-perun-nav-menu",4),m.TgZ(1,"mat-sidenav-container",5),m.TgZ(2,"mat-sidenav",6,7),m.TgZ(4,"perfect-scrollbar",8),m._UZ(5,"app-side-menu",9),m.qZA(),m.qZA(),m.TgZ(6,"mat-sidenav-content",10),m.TgZ(7,"div",11),m._UZ(8,"router-outlet"),m.qZA(),m.TgZ(9,"div",null,12),m._UZ(11,"perun-web-apps-footer"),m.qZA(),m.qZA(),m.qZA()),2&Q){const se=m.MAs(3),ge=m.oxw();m.Q6J("ngStyle",m.WLB(14,$,ge.getNavMenuTop(),ge.navBackgroundColor))("sideNav",se)("principal",ge.principal),m.xp6(1),m.Q6J("ngStyle",m.WLB(17,ue,ge.getSideNavMarginTop(),ge.getSideNavMinHeight())),m.xp6(1),m.Q6J("ngStyle",m.VKq(20,ce,ge.sideBarBorderColor))("mode",ge.sidebarMode)("opened",!ge.isMobile())("fixedInViewport",!0)("fixedTopGap",ge.getTopGap()),m.xp6(2),m.Q6J("ngStyle",m.VKq(22,Le,ge.sideMenubackgroundColor))("scrollIndicators",!0),m.xp6(1),m.Q6J("sideNav",se),m.xp6(1),m.Q6J("ngStyle",m.VKq(24,de,ge.contentBackgroundColor)),m.xp6(1),m.Q6J("ngStyle",m.VKq(26,ke,ge.contentInnerMinHeight))}}function j(Q,te){1&Q&&m._UZ(0,"perun-web-apps-login-screen-base",13),2&Q&&m.Q6J("application","admin-gui")}let H=(()=>{class Q{constructor(se,ge,Ne,Fe,ne,Me,ve){this.cache=se,this.store=ge,this.http=Ne,this.dialog=Fe,this.router=ne,this.initAuth=Me,this.cd=ve,this.sidebarMode="side",this.navBackgroundColor=this.store.get("theme","nav_bg_color"),this.sideBarBorderColor=this.store.get("theme","sidemenu_border_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.sideMenubackgroundColor=this.store.get("theme","sidemenu_bg_color"),this.displayWarning=this.store.get("display_warning"),this.warningMessage=this.store.get("warning_message"),this.version=d(4147).i8,this.contentInnerMinHeight=this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)",this.cache.init(),this.getScreenSize()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side",this.lastScreenWidth=window.innerWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}isMobile(){return window.innerWidth<=Q.minWidth}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),null===sessionStorage.getItem("initPage")&&(sessionStorage.setItem("initPage",location.pathname),sessionStorage.setItem("onInitPage","true")),this.store.setInitialPageId(1),this.principal=this.store.getPerunPrincipal(),this.loadAppVersion(),(0,f.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,h.h)(se=>se instanceof E.OD)).subscribe(se=>{this.updateInitAccessedPage(se)})}updateInitAccessedPage(se){se.url===sessionStorage.getItem("initPage")?("imperative"===se.navigationTrigger&&se.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===se.navigationTrigger&&(se.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(se.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const se=new g.WM({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"});this.http.get("/assets/config/version.json",{headers:se}).subscribe(ge=>{const Ne=ge.version;if(Ne)if(this.version&&"SNAPSHOT"!==Ne&&this.version!==Ne){const Fe=(0,T.kZ)();this.dialog.open(O,Fe)}else this.version=Ne},()=>{})}getTopGap(){return this.displayWarning?112:64}getSideNavMarginTop(){return this.displayWarning?"112px":"64px"}getSideNavMinHeight(){return this.displayWarning?"calc(100vh - 112px)":"calc(100vh - 64px)"}getNavMenuTop(){return this.displayWarning?"48px":"0"}ngAfterViewInit(){this.contentInnerMinHeight=this.displayWarning?"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 112px)":"calc(100vh - "+this.footer.nativeElement.offsetHeight+"px - 64px)",this.cd.detectChanges()}}return Q.minWidth=992,Q.\u0275fac=function(se){return new(se||Q)(m.Y36(k),m.Y36(e.d6),m.Y36(g.eN),m.Y36(A.uw),m.Y36(E.F0),m.Y36(e.v0),m.Y36(m.sBO))},Q.\u0275cmp=m.Xpm({type:Q,selectors:[["app-root"]],viewQuery:function(se,ge){if(1&se&&m.Gf(L,5),2&se){let Ne;m.iGM(Ne=m.CRH())&&(ge.footer=Ne.first)}},hostBindings:function(se,ge){1&se&&m.NdJ("resize",function(Fe){return ge.getScreenSize(Fe)},!1,m.Jf7)},decls:4,vars:4,consts:[["class","beta-warning",4,"ngIf"],[3,"displayWarning"],[3,"ngIf"],[1,"beta-warning"],["id","nav-menu",1,"mat-elevation-z3",3,"ngStyle","sideNav","principal"],[3,"ngStyle"],[3,"ngStyle","mode","opened","fixedInViewport","fixedTopGap"],["sidenav",""],[3,"ngStyle","scrollIndicators"],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application"]],template:function(se,ge){1&se&&(m.YNc(0,V,4,1,"div",0),m._UZ(1,"perun-web-apps-notificator",1),m.YNc(2,ae,12,28,"ng-template",2),m.YNc(3,j,1,1,"ng-template",2)),2&se&&(m.Q6J("ngIf",ge.displayWarning),m.xp6(1),m.Q6J("displayWarning",ge.displayWarning),m.xp6(1),m.Q6J("ngIf",!ge.isLoginScreenShow&&!ge.isServiceAccess&&!ge.isServiceLogin()),m.xp6(1),m.Q6J("ngIf",ge.isLoginScreenShow||ge.isServiceAccess||ge.isServiceLogin()))},styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px}.beta-warning[_ngcontent-%COMP%]{overflow:hidden;height:48px;position:fixed;z-index:999;top:0;background-color:#ffbfc5;width:100%;color:#d32f2f;text-align:center;font-weight:500;padding:6px;line-height:36px;font-size:1rem}"]}),Q})()},77968:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>f});var e=d(5e3);let f=(()=>{class g{constructor(){this.accessItemsChange=new e.vpe,this.facilityItemsChange=new e.vpe,this.adminItemsChange=new e.vpe,this.userItemsChange=new e.vpe,this.resetChange=new e.vpe,this.homeItemsChange=new e.vpe}setHomeItems(m){this.homeItemsChange.emit(m)}setAccessMenuItems(m){this.accessItemsChange.emit(m)}setFacilityMenuItems(m){this.facilityItemsChange.emit(m)}setAdminItems(m){this.adminItemsChange.emit(m)}setUserItems(m){this.userItemsChange.emit(m)}reset(){this.resetChange.emit()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},37380:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>Le});var e=d(9315),f=d(10036),g=d(36908),T=d(5e3),m=d(96214),A=d(67322),s=d(74107),b=d(90508),O=d(69808),E=d(7434),h=d(20773),k=d(24179),L=d(51062);function V(de,ke){if(1&de&&(T.TgZ(0,"mat-option",9),T._uU(1),T.qZA()),2&de){const ae=ke.$implicit;T.Q6J("value",ae.id),T.xp6(1),T.hij(" ",ae.name," ")}}function $(de,ke){1&de&&T._UZ(0,"mat-spinner",10)}const ue=function(){return["id","vo","name","description"]};function ce(de,ke){if(1&de&&T._UZ(0,"perun-web-apps-groups-list",11),2&de){const ae=T.oxw();T.Q6J("displayedColumns",T.DdM(6,ue))("groups",ae.groupsToShow)("tableId",ae.tableId)("groupsToDisableRouting",ae.groupsWithoutRouteAuth)("filter",ae.filterValue)("disableMembers",!1)}}let Le=(()=>{class de{constructor(ae,j,H){this.facilityManager=ae,this.authResolver=j,this.entityStorageService=H,this.filterValue="",this.groups=[],this.selected="all",this.groupsToShow=this.groups,this.tableId=f.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.facilityManager.getAllowedVos(this.facility.id).subscribe(ae=>{this.vos=ae,this.refreshTable()})}showGroup(){this.groupsToShow="all"!==this.selected?this.groups.filter(ae=>ae.voId===parseInt(this.selected,10)):this.groups}refreshTable(){this.loading=!0,this.groups=[],this.vos.forEach(ae=>{this.facilityManager.getAllowedGroups(this.facility.id,ae.id).subscribe(j=>{this.groups=this.groups.concat(j),this.groupsToShow=this.groups,this.setAuthRights(ae,j),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(ae,j){j.forEach(H=>{this.authResolver.isAuthorized("getGroupById_int_policy",[ae,H])||this.groupsWithoutRouteAuth.add(H.id)})}applyFilter(ae){this.filterValue=ae}}return de.id="FacilityAllowedGroupsComponent",de.\u0275fac=function(ae){return new(ae||de)(T.Y36(e.IQ),T.Y36(g.x4),T.Y36(g.fb))},de.\u0275cmp=T.Xpm({type:de,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(ae,j){2&ae&&T.ekj("router-component",j.true)},inputs:{groups:"groups"},decls:17,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],[1,"mr-2"],[3,"value","valueChange","selectionChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","groups","tableId","groupsToDisableRouting","filter","disableMembers"]],template:function(ae,j){1&ae&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"perun-web-apps-refresh-button",1),T.NdJ("refresh",function(){return j.refreshTable()}),T.qZA(),T.TgZ(5,"mat-form-field",2),T.TgZ(6,"mat-label"),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"mat-select",3),T.NdJ("valueChange",function(Q){return j.selected=Q})("selectionChange",function(){return j.showGroup()}),T.TgZ(10,"mat-option",4),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.YNc(13,V,2,2,"mat-option",5),T.qZA(),T.qZA(),T.TgZ(14,"perun-web-apps-immediate-filter",6),T.NdJ("filter",function(Q){return j.applyFilter(Q)}),T.qZA(),T.YNc(15,$,1,0,"mat-spinner",7),T.YNc(16,ce,1,7,"perun-web-apps-groups-list",8),T.qZA()),2&ae&&(T.xp6(2),T.Oqu(T.lcZ(3,8,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),T.xp6(5),T.Oqu(T.lcZ(8,10,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),T.xp6(2),T.Q6J("value",j.selected),T.xp6(2),T.Oqu(T.lcZ(12,12,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),T.xp6(2),T.Q6J("ngForOf",j.vos),T.xp6(1),T.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),T.xp6(1),T.Q6J("ngIf",j.loading),T.xp6(1),T.Q6J("ngIf",!j.loading))},directives:[m.t,A.KE,A.hX,s.gD,b.ey,O.sg,E.L,O.O5,h.$g,k.W],pipes:[L.X$],styles:[""]}),de})()},34904:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>ge});var e=d(20449),f=d(533),g=d(9315),T=d(93075),m=d(48966),A=d(36908),s=d(5e3),b=d(51062),O=d(69808),E=d(20773),h=d(62707),k=d(67322),L=d(98833),V=d(47423);function $(Ne,Fe){1&Ne&&s._UZ(0,"mat-spinner",5)}function ue(Ne,Fe){if(1&Ne){const ne=s.EpF();s.TgZ(0,"div",6),s.TgZ(1,"perun-web-apps-vo-search-select",7),s.NdJ("voSelected",function(ve){return s.CHM(ne),s.oxw().selectedVo=ve}),s.qZA(),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",8),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.TgZ(8,"mat-form-field"),s._UZ(9,"input",9),s.ALo(10,"translate"),s.TgZ(11,"mat-error"),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Ne){const ne=s.oxw();s.xp6(1),s.Q6J("vos",ne.vos),s.xp6(2),s.s9C("placeholder",s.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),s.Q6J("formControl",ne.nameCtrl),s.xp6(3),s.hij(" ",s.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),s.xp6(3),s.s9C("placeholder",s.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),s.Q6J("formControl",ne.descriptionCtrl),s.xp6(3),s.hij(" ",s.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let ce=(()=>{class Ne{constructor(ne,Me,ve,me,Te,ee){this.dialogRef=ne,this.data=Me,this.notificator=ve,this.voService=me,this.translate=Te,this.resourcesManager=ee,this.vos=[],this.selectedVo=null,Te.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(R=>this.successMessage=R)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(ne=>{this.vos=ne,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new T.NI(null,[T.kI.required,T.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new T.NI("")}onSubmit(){this.loading=!0,this.resourcesManager.createResource(this.selectedVo.id,this.data.facilityId,this.nameCtrl.value,this.descriptionCtrl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return Ne.\u0275fac=function(ne){return new(ne||Ne)(s.Y36(m.so),s.Y36(m.WI),s.Y36(A.V6),s.Y36(g.YF),s.Y36(b.sK),s.Y36(g.xk))},Ne.\u0275cmp=s.Xpm({type:Ne,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-resource-dialog-button","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["data-cy","create-resource-select-vo",1,"long-input",3,"vos","voSelected"],["matInput","","required","","data-cy","create-resource-name-input",3,"placeholder","formControl"],["matInput","",3,"placeholder","formControl"]],template:function(ne,Me){1&ne&&(s.TgZ(0,"div"),s.YNc(1,$,1,0,"mat-spinner",0),s.YNc(2,ue,14,15,"div",1),s.TgZ(3,"div",2),s.TgZ(4,"button",3),s.NdJ("click",function(){return Me.onCancel()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"button",4),s.NdJ("click",function(){return Me.onSubmit()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA(),s.qZA()),2&ne&&(s.Tol(Me.theme),s.xp6(1),s.Q6J("ngIf",Me.loading),s.xp6(1),s.Q6J("ngIf",!Me.loading),s.xp6(3),s.hij(" ",s.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")," "),s.xp6(2),s.Q6J("disabled",Me.nameCtrl.invalid||Me.descriptionCtrl.invalid||null===Me.selectedVo||Me.loading),s.xp6(1),s.hij(" ",s.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")," "))},directives:[O.O5,E.$g,m.xY,h.M,k.KE,L.Nt,T.Fj,T.Q7,T.JJ,T.oH,k.TO,m.H8,V.lW],pipes:[b.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),Ne})();var Le=d(10036),de=d(9244),ke=d(96214),ae=d(7434),j=d(62109);function H(Ne,Fe){if(1&Ne){const ne=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){return s.CHM(ne),s.oxw().createResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&Ne&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function Q(Ne,Fe){if(1&Ne){const ne=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(ne),s.oxw().removeResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Ne){const ne=s.oxw();s.Q6J("disabled",0===ne.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function te(Ne,Fe){1&Ne&&s._UZ(0,"mat-spinner",9)}function se(Ne,Fe){if(1&Ne&&s._UZ(0,"perun-web-apps-resources-list",10),2&Ne){const ne=s.oxw();s.Q6J("tableId",ne.tableId)("filterValue",ne.filterValue)("resources",ne.resources)("selection",ne.selected)("disableRouting",!ne.routeAuth)("displayedColumns",ne.displayedColumns)}}let ge=(()=>{class Ne{constructor(ne,Me,ve,me){this.dialog=ne,this.facilitiesManager=Me,this.authResolver=ve,this.entityStorageService=me,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=Le.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}removeResource(){const ne=(0,de.kZ)();ne.width="450px",ne.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(f.f,ne).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}refreshTable(){this.loading=!0,this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(ne=>{this.resources=ne,this.selected.clear(),this.setAuthRights(),this.loading=!1})}setAuthRights(){this.addAuth=this.authResolver.isAuthorized("createResource_Resource_Vo_Facility_policy",[this.facility]),this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.facility]),this.displayedColumns=this.removeAuth?["select","id","name","vo","description"]:["id","name","vo","description"],0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getRichResourceById_int_policy",[this.facility,this.resources[0]]))}applyFilter(ne){this.filterValue=ne}createResource(){const ne=(0,de.kZ)();ne.width="1350px",ne.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(ce,ne).afterClosed().subscribe(ve=>{ve&&this.refreshTable()})}}return Ne.id="FacilityResourcesComponent",Ne.\u0275fac=function(ne){return new(ne||Ne)(s.Y36(m.uw),s.Y36(g.IQ),s.Y36(A.x4),s.Y36(A.fb))},Ne.\u0275cmp=s.Xpm({type:Ne,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(ne,Me){2&ne&&s.ekj("router-component",Me.true)},decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","data-cy","create-resource-button","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-resource-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-resource-button",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-resource-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","selection","disableRouting","displayedColumns"]],template:function(ne,Me){1&ne&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return Me.refreshTable()}),s.qZA(),s.YNc(5,H,3,3,"button",2),s.YNc(6,Q,3,4,"button",3),s.TgZ(7,"perun-web-apps-immediate-filter",4),s.NdJ("filter",function(me){return Me.applyFilter(me)}),s.qZA(),s.YNc(8,te,1,0,"mat-spinner",5),s.YNc(9,se,1,6,"perun-web-apps-resources-list",6),s.qZA()),2&ne&&(s.xp6(2),s.Oqu(s.lcZ(3,6,"FACILITY_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",Me.addAuth),s.xp6(1),s.Q6J("ngIf",Me.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",Me.loading),s.xp6(1),s.Q6J("ngIf",!Me.loading))},directives:[ke.t,O.O5,V.lW,ae.L,E.$g,j.C],pipes:[b.X$],styles:[""]}),Ne})()},86353:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>me});var e=d(9315),f=d(9244),g=d(10036),T=d(20449),m=d(48966),A=d(36908),s=d(93075),b=d(5e3),O=d(51062),E=d(30325),h=d(69808),k=d(20773),L=d(67322),V=d(98833),$=d(74107),ue=d(90508),ce=d(98380),Le=d(47423);function de(Te,ee){1&Te&&b._UZ(0,"mat-spinner",7)}function ke(Te,ee){if(1&Te){const R=b.EpF();b.TgZ(0,"mat-option",16),b.NdJ("click",function(){const He=b.CHM(R).$implicit;return b.oxw(2).srcFacility=He}),b._uU(1),b.qZA()}if(2&Te){const R=ee.$implicit;b.Q6J("value",R),b.xp6(1),b.hij(" ",R.name," ")}}function ae(Te,ee){if(1&Te){const R=b.EpF();b.TgZ(0,"div",8),b.TgZ(1,"mat-form-field"),b._UZ(2,"input",9),b.ALo(3,"translate"),b.TgZ(4,"mat-error"),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA(),b.TgZ(7,"mat-form-field"),b._UZ(8,"input",10),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"mat-form-field"),b.TgZ(11,"mat-select",11),b.ALo(12,"translate"),b.TgZ(13,"mat-option",12),b.NdJ("click",function(){return b.CHM(R),b.oxw().srcFacility=null}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.YNc(16,ke,2,2,"mat-option",13),b.qZA(),b.qZA(),b.TgZ(17,"app-alert",14),b._UZ(18,"i",15),b.ALo(19,"translate"),b.qZA(),b.qZA()}if(2&Te){const R=b.oxw();b.xp6(2),b.s9C("placeholder",b.lcZ(3,9,"DIALOGS.CREATE_FACILITY.NAME")),b.Q6J("formControl",R.nameControl),b.xp6(3),b.Oqu(b.lcZ(6,11,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),b.xp6(3),b.s9C("placeholder",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),b.Q6J("formControl",R.descControl),b.xp6(3),b.s9C("placeholder",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.AS_COPY")),b.xp6(3),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),b.xp6(2),b.Q6J("ngForOf",R.facilities),b.xp6(2),b.Q6J("innerHTML",b.lcZ(19,19,"DIALOGS.CREATE_FACILITY.HINT"),b.oJD)}}let j=(()=>{class Te{constructor(R,Oe,Ie,He,fe,Ce,Ve){this.dialogRef=R,this.data=Oe,this.facilitiesManager=Ie,this.notificator=He,this.translate=fe,this.router=Ce,this.entityStorageService=Ve,this.nameControl=new s.NI("",[s.kI.required]),this.descControl=new s.NI(""),this.srcFacility=null,this.configure=!1,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(R=>{this.facilities=R,this.loading=!1},()=>this.loading=!1)}copyFacilitySettings(R){this.facilitiesManager.copyAttributes(this.srcFacility.id,R).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,R).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,R).subscribe(()=>{this.handleSuccess(R)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}onCreate(R){this.loading=!0,this.configure=R,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(Oe=>{this.entityStorageService.setEntity({id:Oe.id,beanName:Oe.beanName}),sessionStorage.setItem("newFacilityId",String(Oe.id)),null!==this.srcFacility?this.copyFacilitySettings(Oe.id):this.handleSuccess(Oe.id)})}handleSuccess(R){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.configure&&this.router.navigate(["facilities",R.toString(),"configuration"]),this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}}return Te.\u0275fac=function(R){return new(R||Te)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.IQ),b.Y36(A.V6),b.Y36(O.sK),b.Y36(E.F0),b.Y36(A.fb))},Te.\u0275cmp=b.Xpm({type:Te,selectors:[["app-create-facility-dialog"]],decls:16,vars:19,consts:[[1,"mat-dialog-title"],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","data-cy","create-facility-button","color","accent",1,"ml2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","facility-name-input",3,"formControl","placeholder"],["matInput","","data-cy","facility-description-input",3,"formControl","placeholder"],["disableOptionCentering","true",3,"placeholder"],[3,"click"],[3,"value","click",4,"ngFor","ngForOf"],["alert_type","info"],[3,"innerHTML"],[3,"value","click"]],template:function(R,Oe){1&R&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,de,1,0,"mat-spinner",1),b.YNc(5,ae,20,21,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Oe.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Oe.onCreate(!1)}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"button",6),b.NdJ("click",function(){return Oe.onCreate(!0)}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.qZA(),b.qZA()),2&R&&(b.Tol(Oe.theme),b.xp6(2),b.Oqu(b.lcZ(3,11,"DIALOGS.CREATE_FACILITY.TITLE")),b.xp6(2),b.Q6J("ngIf",Oe.loading),b.xp6(1),b.Q6J("ngIf",!Oe.loading),b.xp6(3),b.hij(" ",b.lcZ(9,13,"DIALOGS.CREATE_FACILITY.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Oe.nameControl.value.trim().length||Oe.loading),b.xp6(1),b.hij(" ",b.lcZ(12,15,"DIALOGS.CREATE_FACILITY.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Oe.nameControl.value.trim().length||!!Oe.srcFacility||Oe.loading),b.xp6(1),b.hij(" ",b.lcZ(15,17,"DIALOGS.CREATE_FACILITY.CREATE_AND_CONFIGURE")," "))},directives:[h.O5,k.$g,m.xY,L.KE,V.Nt,s.Fj,s.Q7,s.JJ,s.oH,L.TO,$.gD,ue.ey,h.sg,ce.w,m.H8,Le.lW],pipes:[O.X$],styles:[""]}),Te})();var H=d(54037),Q=d(77968),te=d(4235),se=d(25245),ge=d(96214),Ne=d(7434),Fe=d(74010);function ne(Te,ee){1&Te&&b._UZ(0,"mat-spinner",9)}function Me(Te,ee){if(1&Te&&b._UZ(0,"perun-web-apps-facilities-list",10),2&Te){const R=b.oxw();b.Q6J("tableId",R.tableId)("selection",R.selection)("filterValue",R.filterValue)("facilities",R.facilities)("recentIds",R.recentIds)}}const ve=function(){return{color:"black"}};let me=(()=>{class Te{constructor(R,Oe,Ie){this.facilityManager=R,this.sideMenuService=Oe,this.dialog=Ie,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=g.xt,this.selection=new T.Ov(!1,[])}ngOnInit(){this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(R=>{this.selection.clear(),this.facilities=R,this.recentIds=(0,f.vL)("facilities"),this.loading=!1})}onCreate(){const R=(0,f.kZ)();R.width="800px",R.data={theme:"facility-theme"},this.dialog.open(j,R).afterClosed().subscribe(Ie=>{Ie&&(this.loading=!0,this.refreshTable())})}onDelete(){const R=(0,f.kZ)();R.width="500px",R.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(H.Y,R).afterClosed().subscribe(Ie=>{Ie&&this.refreshTable()})}applyFilter(R){this.filterValue=R}}return Te.id="FacilitySelectPageComponent",Te.\u0275fac=function(R){return new(R||Te)(b.Y36(e.IQ),b.Y36(Q.D),b.Y36(m.uw))},Te.\u0275cmp=b.Xpm({type:Te,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(R,Oe){2&R&&b.ekj("router-component",Oe.true)},decls:16,vars:16,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","facility-theme"],[1,"page-title","d-flex"],["svgIcon","perun-facility-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","data-cy","new-facility-button","color","accent",1,"action-button","mr-2",3,"click"],["mat-flat-button","","data-cy","delete-facility-button","color","warn",1,"mr-2",3,"disabled","click"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","selection","filterValue","facilities","recentIds",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"tableId","selection","filterValue","facilities","recentIds"]],template:function(R,Oe){1&R&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return Oe.refreshTable()}),b.qZA(),b.TgZ(7,"button",4),b.NdJ("click",function(){return Oe.onCreate()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Oe.onDelete()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(He){return Oe.applyFilter(He)}),b.qZA(),b.YNc(14,ne,1,0,"mat-spinner",7),b.YNc(15,Me,1,5,"perun-web-apps-facilities-list",8),b.qZA()),2&R&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(15,ve)),b.xp6(1),b.hij(" ",b.lcZ(5,9,"FACILITY_MANAGEMENT.TITLE")," "),b.xp6(4),b.hij(" ",b.lcZ(9,11,"FACILITY_MANAGEMENT.CREATE")," "),b.xp6(2),b.Q6J("disabled",0===Oe.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(12,13,"FACILITY_MANAGEMENT.DELETE")," "),b.xp6(2),b.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",Oe.loading),b.xp6(1),b.Q6J("ngIf",!Oe.loading))},directives:[te.W,se.Hw,h.PC,ge.t,Le.lW,Ne.L,h.O5,k.$g,Fe.X],pipes:[O.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),Te})()},51076:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>Le});var e=d(48966),f=d(36908),g=d(9315),T=d(9244),m=d(93075),A=d(5e3),s=d(51062),b=d(67322),O=d(98833),E=d(74107),h=d(69808),k=d(90508),L=d(47423),V=d(57706);let $=(()=>{class de{constructor(ae){this.translateService=ae,this.returnData=""}transform(ae){switch(ae){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(j=>{this.returnData=j});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(j=>{this.returnData=j});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(j=>{this.returnData=j});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(j=>{this.returnData=j});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(j=>{this.returnData=j});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(j=>{this.returnData=j});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(j=>{this.returnData=j});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(j=>{this.returnData=j});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(j=>{this.returnData=j});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(j=>{this.returnData=j});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(j=>{this.returnData=j});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(j=>{this.returnData=j});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(j=>{this.returnData=j});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(j=>{this.returnData=j});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(j=>{this.returnData=j});break;default:return ae}return this.returnData}}return de.\u0275fac=function(ae){return new(ae||de)(A.Y36(s.sK,16))},de.\u0275pipe=A.Yjl({name:"applicationFormWidgetDescription",type:de,pure:!0}),de})();function ue(de,ke){if(1&de&&(A.TgZ(0,"mat-option",9),A._uU(1),A.ALo(2,"applicationFormItemType"),A.qZA()),2&de){const ae=ke.$implicit;A.Q6J("value",ae),A.xp6(1),A.hij(" ",A.lcZ(2,2,ae)," ")}}function ce(de,ke){if(1&de&&(A.TgZ(0,"mat-option",9),A._uU(1),A.qZA()),2&de){const ae=ke.$implicit;A.Q6J("value",ae),A.xp6(1),A.hij(" ",ae," ")}}let Le=(()=>{class de{constructor(ae,j,H,Q){this.dialogRef=ae,this.data=j,this.translateService=H,this.store=Q,this.languages=this.store.get("supported_languages"),this.items=[],this.selectedWidget="HEADING",this.widgets=["HEADING","HTML_COMMENT","TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","SELECTIONBOX","TEXTAREA","COMBOBOX","CHECKBOX","SUBMIT_BUTTON","RADIO","TIMEZONE","AUTO_SUBMIT_BUTTON","EMBEDDED_GROUP_APPLICATION"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(ae=>{this.nameCtrl=new m.NI("",[m.kI.required,m.kI.pattern(".*[\\S]+.*"),m.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(ae);for(const j of this.data.applicationFormItems)this.items.push(j.shortname),j.type===g.Dy.EMBEDDEDGROUPAPPLICATION&&(this.widgets=this.widgets.filter(H=>H!==g.Dy.EMBEDDEDGROUPAPPLICATION));this.selectedItem=ae})}cancel(){this.dialogRef.close(!1)}submit(){const ae=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,ae])}createApplicationItem(){const ae=(0,T.dv)(this.languages);ae.id=this.data.fakeId,ae.shortname=this.nameCtrl.value,ae.type=this.selectedWidget;for(let j=0;j{"use strict";d.d(be,{o:()=>c});var e=d(48966),f=d(36908),g=d(20449),T=d(9315),m=d(64080),A=d(9244),s=d(10036),b=d(84847),O=d(32075),E=d(5e3),h=d(18750),k=d(29772),L=d(77446),V=d(69808),$=d(98380),ue=d(51062),ce=d(69773),Le=d(21757),de=d(31359),ke=d(9954);function ae(u,y){1&u&&E._UZ(0,"th",18)}function j(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"td",19),E.TgZ(1,"div",20),E.ALo(2,"translate"),E.TgZ(3,"mat-checkbox",21),E.NdJ("change",function(et){const pt=E.CHM(M).$implicit,Nt=E.oxw();return et?Nt.itemSelectionToggle(pt):null})("click",function(et){return et.stopPropagation()}),E.ALo(4,"lowercase"),E.ALo(5,"translate"),E.qZA(),E.qZA(),E.qZA()}if(2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.Q6J("matTooltip",E.lcZ(2,5,re.getTooltip(M)))("matTooltipDisabled",!re.isCheckboxDisabled(M)),E.xp6(2),E.Q2q("data-cy","",E.lcZ(4,7,E.lcZ(5,9,M.richUser?M.richUser.firstName:M.candidate.firstName)),"-checkbox"),E.Q6J("checked",re.selection.isSelected(M))("disabled",re.isCheckboxDisabled(M))}}function H(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.STATUS")," "))}function Q(u,y){if(1&u&&(E.TgZ(0,"i",25),E.ALo(1,"memberStatusIconColor"),E._uU(2),E.ALo(3,"memberStatusIcon"),E.qZA()),2&u){const M=E.oxw().$implicit;E.Gre("material-icons ",E.lcZ(1,5,M.member.status),""),E.s9C("matTooltip",M.member.status),E.xp6(2),E.hij(" ",E.lcZ(3,7,M.member.status)," ")}}function te(u,y){if(1&u&&(E.TgZ(0,"td",23),E.YNc(1,Q,4,9,"i",24),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.Q6J("ngIf",M.member)}}function se(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.NAME")," "))}function ge(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userFullName"),E.ALo(3,"userFullName"),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.hij(" ",M.richUser?E.lcZ(2,1,M.richUser):E.lcZ(3,3,M.candidate)," ")}}function Ne(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ORGANIZATION")," "))}function Fe(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.ALo(2,"userVo"),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",M.richUser?E.lcZ(2,1,M.richUser):re.getOrganization(M.candidate)," ")}}function ne(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.EMAIL")," "))}function Me(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",re.getEmail(M)," ")}}function ve(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.LOGINS")," "))}function me(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",re.getLogins(M)," ")}}function Te(u,y){1&u&&(E.TgZ(0,"th",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER")," "))}function ee(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit,re=E.oxw();E.xp6(1),E.hij(" ",re.getAlreadyMember(M)," ")}}function R(u,y){1&u&&E._UZ(0,"th",22)}function Oe(u,y){if(1&u&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&u){const M=y.$implicit;E.xp6(1),E.hij(" ",M.richUser?"Local":"External identity"," ")}}function Ie(u,y){1&u&&E._UZ(0,"tr",26)}function He(u,y){1&u&&E._UZ(0,"tr",27)}function fe(u,y){1&u&&(E.TgZ(0,"app-alert",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"DIALOGS.ADD_MEMBERS.NO_USERS_FOUND"),"\n"))}let Ce=(()=>{class u{constructor(M){this.guiAuthResolver=M,this.blockManualAdding=!1,this.displayedColumns=["checkbox","status","fullName","voExtSource","email","logins","alreadyMember","local"],this.pageSizeOptions=A.f7,this.addAuth=!1}set matSort(M){this.sort=M,this.setDataSource()}getDataForColumn(M,re,et){var yt,pt;switch(re){case"status":return M.member&&null!==(yt=M.member.status)&&void 0!==yt?yt:"";case"fullName":{const Nt=M.richUser?M.richUser:M.candidate;return Nt.lastName?Nt.lastName:null!==(pt=Nt.firstName)&&void 0!==pt?pt:""}case"voExtSource":return M.richUser?(0,A.OV)(M.richUser):(0,A.v$)(M.candidate);case"email":return M.richUser||M.member?(0,A.kN)(M.richUser):et.getEmail(M);case"logins":return et.getLogins(M);case"alreadyMember":return et.getAlreadyMember(M);case"local":return M.richUser?"Local":"External identity";default:return M[re]}}getExportDataForColumn(M,re,et){var yt;switch(re){case"status":return M.member&&null!==(yt=M.member.status)&&void 0!==yt?yt:"";case"fullName":return(0,A.bD)(M.richUser?M.richUser:M.candidate);case"voExtSource":return M.richUser?(0,A.OV)(M.richUser):(0,A.v$)(M.candidate);case"email":return M.richUser||M.member?(0,A.kN)(M.richUser):et.getEmail(M);case"logins":return et.getLogins(M);case"alreadyMember":return et.getAlreadyMember(M);case"local":return M.richUser?"Local":"External identity";default:return M[re]}}exportData(M){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),M)}setDataSource(){null==this.child||!this.child.paginator||this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.filterPredicate=(M,re)=>(0,A.Sd)(M,re,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(M,re)=>(0,A.pR)(M,re,this.getDataForColumn,this),this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.setDataSource()}ngOnChanges(){this.dataSource=new O.by(this.members),this.setDataSource()}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(M=>this.selection.select(M)),this.setAddAuth()}getEmail(M){let re;if(M.richUser){for(const et of M.richUser.userAttributes)if(et.namespace+":"+et.friendlyName=="urn:perun:user:attribute-def:def:preferredMail"){re=et;break}return null!=re&&null!=re.value&&"null"!==re.value.toString().toLowerCase()?re.value.toString().replace(","," "):""}return(0,A.Jc)(M.candidate)}getOrganization(M){return(0,A.v$)(M)}getLogins(M){if(M.richUser)return this.getLoginsForRichUser(M.richUser);{let re=this.getLoginsForCandidate(M.candidate);return(null==re||""===re)&&(re=M.candidate.userExtSource.login),re}}getLoginsForRichUser(M){let re="";for(const et of M.userAttributes)et.friendlyName.startsWith("login-namespace")&&null!=et.value&&(re.length>0&&(re+=", "),re+=et.friendlyName.substring(16)+": "+et.value);return re}getLoginsForCandidate(M){let et="";for(const yt in M.attributes)Object.prototype.hasOwnProperty.call(M.attributes,yt)&&-1!==yt.indexOf("urn:perun:user:attribute-def:def:login-namespace:")&&null!=M.attributes[yt]&&(et.length>0&&(et+=", "),et+=yt.substring(49)+": "+M.attributes[yt]);return et}getAlreadyMember(M){if("vo"===this.type){if(null!=M.member)return"Member of VO"}else{if(null!=M.member&&0!==M.member.sourceGroupId&&"DIRECT"===M.member.membershipType)return"Member of Group";if(null!=M.member&&0!==M.member.sourceGroupId&&"INDIRECT"===M.member.membershipType)return"Indirect member of Group";if(null!=M.member)return"Member of VO"}return""}isCheckboxDisabled(M){return"vo"===this.type?null!=M.member:M.member?0!==M.member.sourceGroupId&&"DIRECT"===M.member.membershipType:this.blockManualAdding}setAddAuth(){void 0!==this.group&&0!==this.selection.selected.length&&(this.addAuth=!!this.selection.selected[0].member||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.group]))}itemSelectionToggle(M){this.selection.toggle(M),this.setAddAuth()}getTooltip(M){return M.member?"MEMBERS_CANDIDATES_LIST.ALREADY_MEMBER":"MEMBERS_CANDIDATES_LIST.ADDING_BLOCKED"}}return u.\u0275fac=function(M){return new(M||u)(E.Y36(f.x4))},u.\u0275cmp=E.Xpm({type:u,selectors:[["app-members-candidates-list"]],viewQuery:function(M,re){if(1&M&&(E.Gf(b.YE,5),E.Gf(A.l9,7)),2&M){let et;E.iGM(et=E.CRH())&&(re.matSort=et.first),E.iGM(et=E.CRH())&&(re.child=et.first)}},inputs:{members:"members",selection:"selection",type:"type",tableId:"tableId",group:"group",blockManualAdding:"blockManualAdding"},features:[E.TTD],decls:30,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","voExtSource"],["matColumnDef","email"],["matColumnDef","logins"],["matColumnDef","alreadyMember"],["matColumnDef","local"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["matTooltipPosition","left",3,"class","matTooltip",4,"ngIf"],["matTooltipPosition","left",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(M,re){1&M&&(E.TgZ(0,"div",0),E.TgZ(1,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(yt){return re.exportData(yt)}),E.TgZ(2,"table",2),E.ynx(3,3),E.YNc(4,ae,1,0,"th",4),E.YNc(5,j,6,11,"td",5),E.BQk(),E.ynx(6,6),E.YNc(7,H,3,3,"th",7),E.YNc(8,te,2,1,"td",8),E.BQk(),E.ynx(9,9),E.YNc(10,se,3,3,"th",7),E.YNc(11,ge,4,5,"td",8),E.BQk(),E.ynx(12,10),E.YNc(13,Ne,3,3,"th",7),E.YNc(14,Fe,3,3,"td",8),E.BQk(),E.ynx(15,11),E.YNc(16,ne,3,3,"th",7),E.YNc(17,Me,2,1,"td",8),E.BQk(),E.ynx(18,12),E.YNc(19,ve,3,3,"th",7),E.YNc(20,me,2,1,"td",8),E.BQk(),E.ynx(21,13),E.YNc(22,Te,3,3,"th",7),E.YNc(23,ee,2,1,"td",8),E.BQk(),E.ynx(24,14),E.YNc(25,R,1,0,"th",7),E.YNc(26,Oe,2,1,"td",8),E.BQk(),E.YNc(27,Ie,1,0,"tr",15),E.YNc(28,He,1,0,"tr",16),E.qZA(),E.qZA(),E.qZA(),E.YNc(29,fe,3,3,"app-alert",17)),2&M&&(E.Q6J("hidden",0===re.members.length),E.xp6(1),E.Q6J("tableId",re.tableId)("dataLength",re.dataSource.filteredData.length)("pageSizeOptions",re.pageSizeOptions),E.xp6(1),E.Q6J("dataSource",re.dataSource),E.xp6(25),E.Q6J("matHeaderRowDef",re.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",re.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===re.members.length))},directives:[h.l,O.BZ,b.YE,O.w1,O.fO,O.ge,O.Dz,O.ev,k.gM,L.oG,b.nU,V.O5,O.as,O.XQ,O.nj,O.Gk,$.w],pipes:[ue.X$,V.i8,ce.u,Le.f,de.d,ke.Z],styles:[""]}),u})();var Ve=d(93075),Xe=d(30325),tt=d(67322),rt=d(98833),N=d(47423),he=d(20773),D=d(92181);const S=["list"];function I(u,y){1&u&&E._UZ(0,"mat-spinner",10)}function P(u,y){if(1&u&&E._UZ(0,"app-members-candidates-list",13,14),2&u){const M=E.oxw(3);E.Q6J("group",M.data.group)("tableId",M.tableId)("selection",M.selection)("members",M.members)("type",M.data.type)("blockManualAdding",M.manualAddingBlocked)}}function i(u,y){if(1&u&&(E.TgZ(0,"div",11),E.YNc(1,P,2,6,"app-members-candidates-list",12),E.qZA()),2&u){const M=E.oxw(2);E.xp6(1),E.Q6J("ngIf",M.firstSearchDone)}}function r(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"div",4),E.TgZ(1,"mat-form-field",5),E.TgZ(2,"label"),E.TgZ(3,"input",6),E.NdJ("keyup.enter",function(){return E.CHM(M),E.oxw().onSearchByString()}),E.ALo(4,"translate"),E.qZA(),E.qZA(),E.TgZ(5,"mat-error"),E._uU(6),E.ALo(7,"translate"),E.qZA(),E.qZA(),E.TgZ(8,"button",7),E.NdJ("click",function(){return E.CHM(M),E.oxw().onSearchByString()}),E._uU(9),E.ALo(10,"translate"),E.qZA(),E.TgZ(11,"div",8),E.YNc(12,I,1,0,"mat-spinner",2),E.qZA(),E.YNc(13,i,2,1,"div",9),E.qZA()}if(2&u){const M=E.oxw();E.xp6(3),E.s9C("placeholder",E.lcZ(4,7,"DIALOGS.ADD_MEMBERS.DESCRIPTION")),E.Q6J("formControl",M.searchCtrl),E.xp6(3),E.hij(" ",E.lcZ(7,9,"DIALOGS.ADD_MEMBERS.EMPTY_SEARCH_MESSAGE")," "),E.xp6(2),E.Q6J("disabled",M.loading),E.xp6(1),E.hij(" ",E.lcZ(10,11,"DIALOGS.ADD_MEMBERS.SEARCH")," "),E.xp6(3),E.Q6J("ngIf",M.loading),E.xp6(1),E.Q6J("ngIf",!!M.members&&!M.loading)}}function p(u,y){1&u&&E._UZ(0,"mat-spinner",10)}function o(u,y){if(1&u&&(E.TgZ(0,"button",22),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&u){E.oxw();const M=E.MAs(8),re=E.oxw();E.Q6J("disabled",0===re.selection.selected.length||re.loading)("matMenuTriggerFor",M),E.xp6(1),E.hij(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE")," ")}}function t(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"button",23),E.NdJ("click",function(){const yt=E.CHM(M).$implicit;return E.oxw(2).onInvite(yt)}),E._uU(1),E.ALo(2,"translate"),E.ALo(3,"translate"),E.ALo(4,"uppercase"),E.ALo(5,"translate"),E.qZA()}if(2&u){const M=y.$implicit;E.xp6(1),E.lnq(" ",E.lcZ(2,3,"DIALOGS.ADD_MEMBERS.INVITE_IN_LANGUAGE")," ",E.lcZ(3,5,E.lcZ(4,7,"SHARED_LIB.LANGUAGES."+M))," ",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.LANGUAGE")," ")}}function n(u,y){if(1&u){const M=E.EpF();E.TgZ(0,"div",15),E.TgZ(1,"button",16),E.NdJ("click",function(){return E.CHM(M),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"span",17),E.ALo(5,"translate"),E.YNc(6,o,3,5,"button",18),E.TgZ(7,"mat-menu",null,19),E.YNc(9,t,6,11,"button",20),E.qZA(),E.qZA(),E.TgZ(10,"button",21),E.NdJ("click",function(){return E.CHM(M),E.oxw().onAdd()}),E._uU(11),E.ALo(12,"translate"),E.qZA(),E.qZA()}if(2&u){const M=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.CANCEL")," "),E.xp6(2),E.s9C("matTooltip",E.lcZ(5,9,"DIALOGS.ADD_MEMBERS.ADD_MEMBER_PERMISSION_TOOLTIP")),E.Q6J("matTooltipDisabled",0===M.selection.selected.length||"group"!==M.data.type||void 0!==M.list&&M.list.addAuth),E.xp6(2),E.Q6J("ngIf","group"!==M.data.type||"group"===M.data.type&&M.inviteAuth),E.xp6(3),E.Q6J("ngForOf",M.languages),E.xp6(1),E.Q6J("disabled",0===M.selection.selected.length||M.loading||"group"===M.data.type&&void 0!==M.list&&!M.list.addAuth),E.xp6(1),E.hij(" ",E.lcZ(12,11,"DIALOGS.ADD_MEMBERS.CREATE")," ")}}let c=(()=>{class u{constructor(M,re,et,yt,pt,Nt,It,Zt,mt,Ht,_t,Je){this.dialogRef=M,this.data=re,this.membersManagerService=et,this.groupService=yt,this.voService=pt,this.registrarManager=Nt,this.translate=It,this.notificator=Zt,this.route=mt,this.router=Ht,this.guiAuthResolver=_t,this.store=Je,this.languages=["en"],this.selection=new g.Ov(!1,[]),this.members=[],this.firstSearchDone=!1,this.tableId=s.tY,this.inviteAuth=!1,this.manualAddingBlocked=!1,It.get("DIALOGS.ADD_MEMBERS.TITLE").subscribe(Lt=>this.title=Lt)}onCancel(){this.dialogRef.close(!1)}onAdd(){this.processing=!0;const M=this.selection.selected[0];"vo"===this.data.type?M.richUser?this.addUserToVo(M):this.addCandidateToVo(M):"group"===this.data.type&&(M.member?this.addMemberToGroup(M):M.richUser?this.addUserToGroup(M):M.candidate&&this.addCandidateToGroup(M))}onInvite(M){this.processing=!0,this.selection.selected[0].richUser?"vo"===this.data.type?this.registrarManager.sendInvitationToExistingUser(this.selection.selected[0].richUser.id,this.data.entityId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationGroupToExistingUser(this.selection.selected[0].richUser.id,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"vo"===this.data.type?this.registrarManager.sendInvitation((0,A.Jc)(this.selection.selected[0].candidate),M,this.data.voId).subscribe(()=>{this.onInviteSuccess()},()=>this.onError()):"group"===this.data.type&&this.registrarManager.sendInvitationForGroup((0,A.Jc)(this.selection.selected[0].candidate),M,this.data.voId,this.data.group.id).subscribe(()=>{this.onInviteSuccess()},()=>this.onError())}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.loading=!0,this.selection.clear(),"vo"===this.data.type?this.voService.getCompleteCandidatesForVo(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(M=>{this.members=M,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1):this.voService.getCompleteCandidatesForGroup(this.data.entityId,[m.r.USER_DEF_ORGANIZATION,m.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(M=>{this.members=M,this.loading=!1,this.firstSearchDone=!0},()=>this.loading=!1))}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme,this.manualAddingBlocked=this.data.manualAddingBlocked,"group"===this.data.type&&(this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group])),this.searchCtrl=new Ve.NI("",[Ve.kI.required,Ve.kI.pattern(".*[\\S]+.*")])}addUserToVo(M){this.membersManagerService.createMemberForUser({vo:this.data.entityId,user:M.richUser.id}).subscribe(re=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(re.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addCandidateToVo(M){this.membersManagerService.createMemberForCandidate({vo:this.data.entityId,candidate:this.createCandidate(M.candidate)}).subscribe(re=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(re.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addUserToGroup(M){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:M.richUser.id,groups:[{id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId}]}).subscribe(et=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(et.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}addMemberToGroup(M){this.groupService.addMembers(this.data.entityId,[M.member.id]).subscribe(()=>{this.onAddSuccess()},()=>this.onError())}addCandidateToGroup(M){const re={id:this.data.group.id,beanName:this.data.group.beanName,name:this.data.group.name,voId:this.data.group.voId};this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.createCandidate(M.candidate),groups:[re]}).subscribe(et=>{this.onAddSuccess(),this.membersManagerService.validateMemberAsync(et.id).subscribe(()=>{this.onValidateSuccess()},()=>this.onCancel())},()=>this.onError())}onAddSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS").subscribe(M=>{this.notificator.showSuccess(M),this.dialogRef.close(!0)})}onError(){this.selection.clear(),this.processing=!1}onInviteSuccess(){this.translate.get("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE").subscribe(M=>{this.notificator.showSuccess(M),this.dialogRef.close(!0)})}onValidateSuccess(){this.dialogRef.close(!0)}createCandidate(M){return{userExtSource:M.userExtSource,additionalUserExtSources:M.additionalUserExtSources,attributes:M.attributes,firstName:M.firstName,lastName:M.lastName,middleName:M.middleName,titleBefore:M.titleBefore,titleAfter:M.titleAfter,id:M.id}}}return u.\u0275fac=function(M){return new(M||u)(E.Y36(e.so),E.Y36(e.WI),E.Y36(T.uq),E.Y36(T.ff),E.Y36(T.YF),E.Y36(T.tk),E.Y36(ue.sK),E.Y36(f.V6),E.Y36(Xe.gz),E.Y36(Xe.F0),E.Y36(f.x4),E.Y36(f.d6))},u.\u0275cmp=E.Xpm({type:u,selectors:[["app-add-member-dialog"]],viewQuery:function(M,re){if(1&M&&E.Gf(S,5),2&M){let et;E.iGM(et=E.CRH())&&(re.list=et.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false","data-cy","search-members",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent","data-cy","search-button",1,"ml-auto",3,"disabled","click"],[1,"no-bounce-scrollbar"],["class","mt-3",4,"ngIf"],[1,"mr-auto","ml-auto"],[1,"mt-3"],[3,"group","tableId","selection","members","type","blockManualAdding",4,"ngIf"],[3,"group","tableId","selection","members","type","blockManualAdding"],["list",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","ml-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent","data-cy","add-button",1,"ml-2",3,"disabled","click"],["color","accent","mat-flat-button","",1,"ml-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",3,"click"]],template:function(M,re){1&M&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,r,14,13,"div",1),E.YNc(5,p,1,0,"mat-spinner",2),E.YNc(6,n,13,13,"div",3),E.qZA()),2&M&&(E.Tol(re.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.ADD_MEMBERS.TITLE")),E.xp6(2),E.Q6J("ngIf",!re.processing),E.xp6(1),E.Q6J("ngIf",re.processing),E.xp6(1),E.Q6J("ngIf",!re.processing))},directives:[e.uh,V.O5,e.xY,tt.KE,rt.Nt,Ve.Fj,Ve.JJ,Ve.oH,tt.TO,N.lW,he.$g,Ce,e.H8,k.gM,D.p6,D.VK,V.sg,D.OP],pipes:[ue.X$,V.gd],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}.no-bounce-scrollbar[_ngcontent-%COMP%]{overflow:hidden}"]}),u})()},95502:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>k});var e=d(48966),f=d(9315),g=d(36908),T=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(62707),O=d(82322),E=d(47423);function h(L,V){1&L&&T._UZ(0,"mat-spinner",9)}let k=(()=>{class L{constructor($,ue,ce,Le,de,ke,ae,j){this.dialogRef=$,this.voService=ue,this.groupService=ce,this.translateService=Le,this.registrarManager=de,this.notificatorService=ke,this.apiRequest=ae,this.data=j,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=H=>H.name,Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(H=>this.successMessage=H),Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(H=>this.privilegeMessage=H),Le.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(H=>this.noFormMessage=H)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.translateService.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_GROUP_SELECTED").subscribe(()=>{this.voService.getMyVos().subscribe($=>{this.vos=$.sort((ue,ce)=>ue.name>ce.name?1:ue.namethis.loading=!1)},()=>this.loading=!1)}cancel(){this.dialogRef.close(!1)}submit(){this.apiRequest.dontHandleErrorForNext(),this.loading=!0,this.data.groupId?null===this.selectedGroup?this.registrarManager.copyFormFromVoToGroup(this.selectedVo.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToGroup(this.selectedGroup.id,this.data.groupId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):null===this.selectedGroup?this.registrarManager.copyFormFromVoToVo(this.selectedVo.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1}):this.registrarManager.copyFormFromGroupToVo(this.selectedGroup.id,this.data.voId).subscribe(()=>{this.notificatorService.showSuccess(this.successMessage),this.dialogRef.close(!0)},$=>{"FormNotExistsException"===$.error.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===$.error.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected($){this.selectedVo=$,this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe($=>{this.groups=$}):this.groups=[],this.selectedGroup=null}}return L.\u0275fac=function($){return new($||L)(T.Y36(e.so),T.Y36(f.YF),T.Y36(f.ff),T.Y36(m.sK),T.Y36(f.tk),T.Y36(g.V6),T.Y36(g.F5),T.Y36(e.WI))},L.\u0275cmp=T.Xpm({type:L,selectors:[["app-application-form-copy-items-dialog"]],decls:22,vars:27,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container",3,"hidden"],[1,"mb-2","font-italic"],[1,"long-input",3,"vos","voSelected"],[1,"long-input",3,"groups","disableAutoSelect","groupSelected"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function($,ue){1&$&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,h,1,0,"mat-spinner",1),T.TgZ(5,"div",2),T.TgZ(6,"div",3),T._uU(7),T.ALo(8,"translate"),T.qZA(),T._uU(9),T.ALo(10,"translate"),T.TgZ(11,"perun-web-apps-vo-search-select",4),T.NdJ("voSelected",function(Le){return ue.voSelected(Le)}),T.qZA(),T._uU(12),T.ALo(13,"translate"),T.TgZ(14,"perun-web-apps-group-search-select",5),T.NdJ("groupSelected",function(Le){return ue.selectedGroup=Le}),T.qZA(),T.qZA(),T.TgZ(15,"div",6),T.TgZ(16,"button",7),T.NdJ("click",function(){return ue.cancel()}),T._uU(17),T.ALo(18,"translate"),T.qZA(),T.TgZ(19,"button",8),T.NdJ("click",function(){return ue.submit()}),T._uU(20),T.ALo(21,"translate"),T.qZA(),T.qZA(),T.qZA()),2&$&&(T.Tol(ue.theme),T.xp6(2),T.Oqu(T.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),T.xp6(2),T.Q6J("ngIf",ue.loading),T.xp6(1),T.Q6J("hidden",ue.loading),T.xp6(2),T.hij(" ",T.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")," "),T.xp6(2),T.hij(" ",T.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),T.xp6(2),T.Q6J("vos",ue.vos),T.xp6(1),T.hij(" ",T.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),T.xp6(2),T.Q6J("groups",ue.groups)("disableAutoSelect",!0),T.xp6(3),T.hij(" ",T.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("disabled",!ue.selectedVo&&!ue.selectedGroup||ue.loading),T.xp6(1),T.hij(" ",T.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.M,O.h,e.H8,E.lW],pipes:[m.X$],styles:[""]}),L})()},81889:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Le});var e=d(48966),f=d(36908),g=d(9315),T=d(93075),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(67322),E=d(98833),h=d(77446),k=d(82322),L=d(47423);function V(de,ke){1&de&&m._UZ(0,"mat-spinner",3)}function $(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"mat-checkbox",14),m.NdJ("click",function(){return m.CHM(ae),m.oxw(2).loadVoGroups()})("ngModelChange",function(H){return m.CHM(ae),m.oxw(2).asSubgroup=H}),m._uU(1),m.ALo(2,"translate"),m.qZA()}if(2&de){const ae=m.oxw(2);m.Q6J("labelPosition","before")("ngModel",ae.asSubgroup),m.xp6(1),m.hij(" ",m.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function ue(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"perun-web-apps-group-search-select",15),m.NdJ("groupSelected",function(H){return m.CHM(ae),m.oxw(2).selectedParent=H}),m.qZA()}if(2&de){const ae=m.oxw(2);m.Q6J("disableAutoSelect",!0)("groups",ae.voGroups)}}function ce(de,ke){if(1&de){const ae=m.EpF();m.TgZ(0,"div"),m.TgZ(1,"div",4),m.TgZ(2,"mat-form-field"),m.TgZ(3,"label",5),m._UZ(4,"input",6),m.ALo(5,"translate"),m.qZA(),m.TgZ(6,"mat-error"),m._uU(7),m.ALo(8,"translate"),m.qZA(),m.qZA(),m.TgZ(9,"mat-form-field",7),m.TgZ(10,"label",5),m.TgZ(11,"textarea",8),m.ALo(12,"translate"),m._uU(13," "),m.qZA(),m.qZA(),m.qZA(),m.YNc(14,$,3,5,"mat-checkbox",9),m.YNc(15,ue,1,2,"perun-web-apps-group-search-select",10),m.qZA(),m.TgZ(16,"div",11),m.TgZ(17,"button",12),m.NdJ("click",function(){return m.CHM(ae),m.oxw().onCancel()}),m._uU(18),m.ALo(19,"translate"),m.qZA(),m.TgZ(20,"button",13),m.NdJ("click",function(){return m.CHM(ae),m.oxw().onSubmit()}),m._uU(21),m.ALo(22,"translate"),m.qZA(),m.qZA(),m.qZA()}if(2&de){const ae=m.oxw();m.xp6(4),m.s9C("placeholder",m.lcZ(5,10,"DIALOGS.CREATE_GROUP.NAME")),m.Q6J("formControl",ae.nameControl),m.xp6(3),m.hij(" ",ae.invalidNameMessage.length?ae.invalidNameMessage:m.lcZ(8,12,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),m.xp6(4),m.s9C("placeholder",m.lcZ(12,14,"DIALOGS.CREATE_GROUP.DESCRIPTION")),m.Q6J("formControl",ae.descriptionControl),m.xp6(3),m.Q6J("ngIf",ae.isNotSubGroup),m.xp6(1),m.Q6J("ngIf",ae.asSubgroup),m.xp6(3),m.hij(" ",m.lcZ(19,16,"DIALOGS.CREATE_GROUP.CANCEL")," "),m.xp6(2),m.Q6J("disabled",ae.nameControl.invalid||ae.descriptionControl.invalid||ae.asSubgroup&&null===ae.selectedParent||ae.loading),m.xp6(1),m.hij(" ",m.lcZ(22,18,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let Le=(()=>{class de{constructor(ae,j,H,Q,te,se){this.dialogRef=ae,this.data=j,this.groupService=H,this.translate=Q,this.notificator=te,this.store=se,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.voGroups=[],this.nameFunction=ge=>ge.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?Q.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(ge=>this.title=ge):Q.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(ge=>{this.title=ge+this.data.parentGroup.name}),Q.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(ge=>this.successMessage=ge),Q.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(ge=>this.successSubGroupMessage=ge)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new T.NI("",[T.kI.required,T.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),T.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new T.NI(""),this.selectedParent=null}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.isNotSubGroup&&!this.asSubgroup?this.groupService.createGroupWithVoNameDescription(this.data.voId,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1):this.groupService.createGroupWithParentGroupNameDescription(this.asSubgroup?this.selectedParent.id:this.data.parentGroup.id,this.nameControl.value,this.descriptionControl.value).subscribe(()=>{this.notificator.showSuccess(this.successSubGroupMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}loadVoGroups(){this.groupService.getAllGroups(this.data.voId).subscribe(ae=>{this.voGroups=ae.filter(j=>"members"!==j.name)})}}return de.\u0275fac=function(ae){return new(ae||de)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.ff),m.Y36(A.sK),m.Y36(f.V6),m.Y36(f.d6))},de.\u0275cmp=m.Xpm({type:de,selectors:[["app-create-group-dialog"]],decls:5,vars:6,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","data-cy","group-name","required","",3,"formControl","placeholder"],[1,"mt-4"],["mat-autosize","","matInput","","data-cy","group-description",3,"formControl","placeholder"],[3,"labelPosition","ngModel","click","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","create-group-button-dialog","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"labelPosition","ngModel","click","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(ae,j){1&ae&&(m.TgZ(0,"h1",0),m._uU(1),m.qZA(),m.TgZ(2,"div"),m.YNc(3,V,1,0,"mat-spinner",1),m.YNc(4,ce,23,20,"div",2),m.qZA()),2&ae&&(m.xp6(1),m.Oqu(j.title),m.xp6(1),m.Tol(j.theme),m.xp6(1),m.Q6J("ngIf",j.loading),m.xp6(1),m.Q6J("ngIf",!j.loading))},directives:[e.uh,s.O5,b.$g,e.xY,O.KE,E.Nt,T.Fj,T.Q7,T.JJ,T.oH,O.TO,h.oG,T.On,k.h,e.H8,L.lW],pipes:[A.X$],styles:[""]}),de})()},55663:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>Me});var e=d(5e3),f=d(93075),g=d(32075),T=d(69808),m=d(20773),A=d(48966),s=d(47423),b=d(25245),O=d(14623),E=d(98380),h=d(67322),k=d(98833),L=d(51062);function V(ve,me){1&ve&&e._UZ(0,"mat-spinner",2)}function $(ve,me){if(1&ve&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.TgZ(4,"span",17),e._uU(5),e.ALo(6,"translate"),e.qZA(),e._uU(7),e.ALo(8,"translate"),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.lnq(" ",e.lcZ(2,6,"DIALOGS.DELETE_ENTITY.BASIC")," ",e.lcZ(3,8,"DIALOGS.DELETE_ENTITY.ONLY")," ",Te.entityType," "),e.xp6(4),e.Oqu(e.lcZ(6,10,"DIALOGS.DELETE_ENTITY.OR")),e.xp6(2),e.AsE(" ",Te.entityType," ",e.lcZ(8,12,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function ue(ve,me){if(1&ve&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.AsE(" ",e.lcZ(2,2,"DIALOGS.DELETE_ENTITY.BASIC")," ",Te.entityType," ? ")}}function ce(ve,me){1&ve&&e._UZ(0,"th",18)}function Le(ve,me){if(1&ve&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(1),e.Oqu(Te.name)}}function de(ve,me){1&ve&&e._UZ(0,"tr",20)}function ke(ve,me){1&ve&&e._UZ(0,"tr",21)}function ae(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(Te),e.oxw(2).force=!0}),e.TgZ(1,"mat-icon"),e._uU(2,"warning"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.ALo(5,"translate"),e.qZA()}2&ve&&(e.xp6(3),e.AsE(" ",e.lcZ(4,2,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(5,4,"DIALOGS.DELETE_ENTITY.RELATIONS")," "))}const j=function(){return["name"]};function H(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",4),e.YNc(5,$,9,14,"div",5),e.YNc(6,ue,3,4,"div",5),e.TgZ(7,"table",6),e.ynx(8,7),e.YNc(9,ce,1,0,"th",8),e.YNc(10,Le,2,1,"td",9),e.BQk(),e.YNc(11,de,1,0,"tr",10),e.YNc(12,ke,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(13,"div",12),e.TgZ(14,"button",13),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onDelete()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,ae,6,6,"button",15),e.qZA(),e.qZA()}if(2&ve){const Te=e.oxw();e.xp6(2),e.AsE("",e.lcZ(3,10,"DIALOGS.DELETE_ENTITY.DELETE")," ",Te.entityType,""),e.xp6(3),e.Q6J("ngIf",!Te.disableForce),e.xp6(1),e.Q6J("ngIf",Te.disableForce),e.xp6(1),e.Q6J("dataSource",Te.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(16,j)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(17,j)),e.xp6(3),e.hij(" ",e.lcZ(16,12,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(3),e.hij(" ",e.lcZ(19,14,"DIALOGS.DELETE_ENTITY.DELETE")," "),e.xp6(2),e.Q6J("ngIf",!Te.disableForce)}}function Q(ve,me){if(1&ve&&(e.TgZ(0,"mat-list-item"),e.TgZ(1,"span"),e.TgZ(2,"mat-icon",27),e._uU(3,"fiber_manual_record"),e.qZA(),e._uU(4),e.qZA(),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(4),e.hij(" ",Te," ")}}function te(ve,me){if(1&ve&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&ve){const Te=e.oxw(2);e.xp6(1),e.hij(" ",Te.anotherMessage," ")}}function se(ve,me){1&ve&&e._UZ(0,"th",18)}function ge(ve,me){if(1&ve&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&ve){const Te=me.$implicit;e.xp6(1),e.Oqu(Te.name)}}function Ne(ve,me){1&ve&&e._UZ(0,"tr",20)}function Fe(ve,me){1&ve&&e._UZ(0,"tr",21)}function ne(ve,me){if(1&ve){const Te=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",16),e._uU(7),e.ALo(8,"translate"),e.TgZ(9,"mat-list"),e.YNc(10,Q,5,1,"mat-list-item",23),e.qZA(),e.YNc(11,te,2,1,"div",1),e.TgZ(12,"app-alert",24),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"table",6),e.ynx(16,7),e.YNc(17,se,1,0,"th",8),e.YNc(18,ge,2,1,"td",9),e.BQk(),e.YNc(19,Ne,1,0,"tr",10),e.YNc(20,Fe,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field"),e._UZ(22,"input",25),e.ALo(23,"translate"),e.qZA(),e.qZA(),e.TgZ(24,"div",12),e.TgZ(25,"button",13),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onCancel()}),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"button",26),e.NdJ("click",function(){return e.CHM(Te),e.oxw().onDelete()}),e.TgZ(29,"mat-icon"),e._uU(30,"warning"),e.qZA(),e._uU(31),e.ALo(32,"translate"),e.ALo(33,"translate"),e.qZA(),e.qZA(),e.qZA()}if(2&ve){const Te=e.oxw();e.xp6(2),e.lnq(" ",e.lcZ(3,17,"DIALOGS.DELETE_ENTITY.DELETE")," ",Te.entityType," ",e.lcZ(4,19,"DIALOGS.DELETE_ENTITY.RELATIONS")," "),e.xp6(5),e.hij(" ",e.lcZ(8,21,"DIALOGS.DELETE_ENTITY.WARN"),": "),e.xp6(3),e.Q6J("ngForOf",Te.relations),e.xp6(1),e.Q6J("ngIf",Te.anotherMessage),e.xp6(2),e.AsE(" ",e.lcZ(14,23,"DIALOGS.DELETE_ENTITY.ASK")," ",Te.entityType," ? "),e.xp6(2),e.Q6J("dataSource",Te.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(33,j)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(34,j)),e.xp6(2),e.s9C("placeholder",e.lcZ(23,25,"DIALOGS.DELETE_ENTITY.CONTROL")),e.Q6J("formControl",Te.deleteControl),e.xp6(4),e.hij(" ",e.lcZ(27,27,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(2),e.Q6J("disabled",Te.deleteControl.invalid),e.xp6(3),e.AsE(" ",e.lcZ(32,29,"DIALOGS.DELETE_ENTITY.DELETE")," ",e.lcZ(33,31,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let Me=(()=>{class ve{constructor(){this.entityNames=new g.by,this.relations=[],this.disableForce=!1,this.loading=!1,this.deleted=new e.vpe,this.force=!1,this.deleteReg=/^DELETE$/,this.deleteControl=new f.NI("",[f.kI.required,f.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return ve.\u0275fac=function(Te){return new(Te||ve)},ve.\u0275cmp=e.Xpm({type:ve,selectors:[["app-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce",loading:"loading"},outputs:{deleted:"deleted"},decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["class","mb-4",4,"ngIf"],["mat-table","",1,"w-100","table-margin",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-button-dialog",1,"ml-2",3,"click"],["class","ml-2","mat-flat-button","","color","warn","data-cy","force-delete",3,"click",4,"ngIf"],[1,"mb-4"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-flat-button","","color","warn","data-cy","force-delete",1,"ml-2",3,"click"],[4,"ngFor","ngForOf"],["alert_type","warn"],["data-cy","force-delete-control","matInput","",3,"formControl","placeholder"],["mat-flat-button","","color","warn","data-cy","force-delete-button",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(Te,ee){1&Te&&(e.YNc(0,V,1,0,"mat-spinner",0),e.YNc(1,H,21,18,"div",1),e.YNc(2,ne,34,35,"div",1)),2&Te&&(e.Q6J("ngIf",ee.loading),e.xp6(1),e.Q6J("ngIf",!ee.force&&!ee.loading),e.xp6(1),e.Q6J("ngIf",ee.force&&!ee.loading))},directives:[T.O5,m.$g,A.uh,A.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,A.H8,s.lW,b.Hw,O.i$,T.sg,O.Tg,E.w,h.KE,k.Nt,f.Fj,f.JJ,f.oH],pipes:[L.X$],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),ve})()},54037:(Ke,be,d)=>{"use strict";d.d(be,{Y:()=>b});var e=d(9315),f=d(48966),g=d(36908),T=d(32075),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.facilitiesManager=L,this.notificator=V,this.translate=$,this.displayedColumns=["name"],this.loading=!1,this.force=!1,this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new T.by([this.facility]),this.relations.push(this.translate.instant("DIALOGS.DELETE_FACILITY.RESOURCE_RELATION"))}onConfirm(){this.loading=!0,this.facilitiesManager.deleteFacility(this.facility.id,this.force).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_FACILITY.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(h){this.force=h.force,h.deleted?this.onConfirm():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(f.so),m.Y36(f.WI),m.Y36(e.IQ),m.Y36(g.V6),m.Y36(A.sK))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-delete-facility-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","facilities")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},41656:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.notificator=L,this.translate=V,this.groupService=$,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.groups),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.SUBGROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.DELETE_GROUP.MEMBER_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0;const h=this.data.groups.map(k=>k.id);this.groupService.deleteGroups({groups:h,forceDelete:this.force}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(k=>{this.notificator.showSuccess(k),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(T.ff))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-delete-group-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","groups")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},83491:(Ke,be,d)=>{"use strict";d.d(be,{_:()=>P});var e=d(48966),f=d(9315),g=d(9244),T=d(387),m=d(36908),A=d(5e3),s=d(51062),b=d(69808),O=d(20773),E=d(53251);const h=["*"];let k=(()=>{class i{constructor(){}}return i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=A.Xpm({type:i,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:h,decls:9,vars:2,consts:[[1,"d-flex"],[1,"w-25","m-auto","font-weight-bold"],[1,"w-75"],[1,"d-flex","mb-3"],[1,"w-25"],[1,"w-75","font-italic","text-muted"]],template:function(p,o){1&p&&(A.F$t(),A.TgZ(0,"div",0),A.TgZ(1,"span",1),A._uU(2),A.qZA(),A.TgZ(3,"div",2),A.Hsn(4),A.qZA(),A.qZA(),A.TgZ(5,"div",3),A._UZ(6,"span",4),A.TgZ(7,"div",5),A._uU(8),A.qZA(),A.qZA()),2&p&&(A.xp6(2),A.hij("",o.label,":"),A.xp6(6),A.hij(" ",o.description," "))},styles:[""]}),i})();var L=d(67322),V=d(98833),$=d(93075),ue=d(77446),ce=d(52170),Le=d(74107),de=d(90508),ke=d(63312),ae=d(74533),j=d(47423),H=d(29772),Q=d(25245),te=d(57706);let se=(()=>{class i{constructor(p){this.translateService=p}transform(p){switch(p){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+p);default:return p}}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(s.sK,16))},i.\u0275pipe=A.Yjl({name:"applicationFormItemDisabled",type:i,pure:!0}),i})(),ge=(()=>{class i{constructor(p){this.translateService=p}transform(p){switch(p){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+p);default:return p}}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(s.sK,16))},i.\u0275pipe=A.Yjl({name:"applicationFormItemHidden",type:i,pure:!0}),i})();function Ne(i,r){1&i&&A._UZ(0,"mat-spinner",8)}function Fe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(3).applicationFormItem.updatable=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(3);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.updatable)}}function ne(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div",13),A.TgZ(1,"mat-form-field",13),A.TgZ(2,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(3).applicationFormItem.federationAttribute=t}),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(3);A.xp6(2),A.Q6J("ngModel",p.applicationFormItem.federationAttribute)}}function Me(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"section"),A.TgZ(5,"mat-checkbox",22),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.required=t}),A.qZA(),A.qZA(),A.qZA(),A.YNc(6,Fe,6,7,"div",17),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.TgZ(11,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.perunSourceAttribute=t.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(12,"app-edit-application-form-item-line",12),A.ALo(13,"translate"),A.ALo(14,"translate"),A.TgZ(15,"div",13),A.TgZ(16,"perun-web-apps-selection-item-search-select",23),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.perunDestinationAttribute=t.value}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(17,"app-edit-application-form-item-line",12),A.ALo(18,"translate"),A.ALo(19,"translate"),A.TgZ(20,"div",13),A.TgZ(21,"perun-web-apps-selection-item-search-select",24),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).changeFederationAttribute(t)}),A.qZA(),A.qZA(),A.YNc(22,ne,3,1,"div",25),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,22,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED"))("description",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.required),A.xp6(1),A.Q6J("ngIf",p.typesWithUpdatable.indexOf(p.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(8,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE"))("description",A.lcZ(9,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",p.attributeDefinitions)("selectedAttribute",p.applicationFormItem.perunSourceAttribute)("asGroup",!!p.data.group)("type",p.itemType.SOURCE),A.xp6(1),A.Q6J("label",A.lcZ(13,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE"))("description",A.lcZ(14,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("attributes",p.attributeDefinitions)("selectedAttribute",p.applicationFormItem.perunDestinationAttribute)("asGroup",!!p.data.group)("type",p.itemType.DESTINATION),A.xp6(1),A.Q6J("label",A.lcZ(18,34,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE"))("description",A.lcZ(19,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION")),A.xp6(4),A.Q6J("selectedAttribute",p.applicationFormItem.federationAttribute)("asGroup",!!p.data.group)("type",p.itemType.FEDERATION),A.xp6(1),A.Q6J("ngIf"," -- custom value -- "===p.federationAttributeDN)}}function ve(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.regex=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.regex)}}function me(i,r){if(1&i&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemDisabled"),A.qZA()),2&i){const p=r.$implicit;A.Q6J("value",p),A.xp6(1),A.hij(" ",A.lcZ(2,2,p)," ")}}function Te(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(3).disabledDependencyItem=t}),A.qZA()}if(2&i){const p=A.oxw(3);A.Q6J("item",p.disabledDependencyItem)("items",p.possibleDependencyItems)}}function ee(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"mat-select",18),A.NdJ("valueChange",function(t){return A.CHM(p),A.oxw(2).applicationFormItem.disabled=t}),A.YNc(6,me,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(7,"app-edit-application-form-item-line",12),A.ALo(8,"translate"),A.ALo(9,"translate"),A.TgZ(10,"div",13),A.YNc(11,Te,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED"))("description",A.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION")),A.xp6(4),A.Q6J("value",p.applicationFormItem.disabled),A.xp6(1),A.Q6J("ngForOf",p.disabledValues),A.xp6(1),A.Q6J("label",A.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY"))("description",A.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==p.disabledDependencyItem)}}function R(i,r){if(1&i&&(A.TgZ(0,"mat-option",26),A._uU(1),A.ALo(2,"applicationFormItemHidden"),A.qZA()),2&i){const p=r.$implicit;A.Q6J("value",p),A.xp6(1),A.hij(" ",A.lcZ(2,2,p)," ")}}function Oe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"perun-web-apps-app-form-item-search-select",27),A.NdJ("itemSelected",function(t){return A.CHM(p),A.oxw(2).hiddenDependencyItem=t}),A.qZA()}if(2&i){const p=A.oxw(2);A.Q6J("item",p.hiddenDependencyItem)("items",p.possibleDependencyItems)}}function Ie(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",28),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT"))("description",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION")),A.xp6(4),A.Q6J("cdkTextareaAutosize",!0)("ngModel",o.applicationFormItem.i18n[p].label)}}function He(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(6,"app-edit-application-form-item-line",12),A.ALo(7,"translate"),A.ALo(8,"translate"),A.TgZ(9,"mat-form-field",13),A.TgZ(10,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].help=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(11,"app-edit-application-form-item-line",12),A.ALo(12,"translate"),A.ALo(13,"translate"),A.TgZ(14,"mat-form-field",13),A.TgZ(15,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].errorMessage=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].label),A.xp6(1),A.Q6J("label",A.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP"))("description",A.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].help),A.xp6(1),A.Q6J("label",A.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR"))("description",A.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].errorMessage)}}function fe(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"app-edit-application-form-item-line",12),A.ALo(2,"translate"),A.ALo(3,"translate"),A.TgZ(4,"mat-form-field",13),A.TgZ(5,"textarea",14),A.NdJ("ngModelChange",function(t){A.CHM(p);const n=A.oxw().$implicit;return A.oxw(2).applicationFormItem.i18n[n].label=t}),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(1),A.Q6J("label",A.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"))("description",A.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",o.applicationFormItem.i18n[p].label)}}function Ce(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A._uU(1),A.ALo(2,"translate"),A.TgZ(3,"mat-form-field"),A.TgZ(4,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p).$implicit[0]=t}),A.qZA(),A.qZA(),A._uU(5),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field"),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p).$implicit[1]=t}),A.qZA(),A.qZA(),A.TgZ(9,"button",37),A.NdJ("click",function(){const n=A.CHM(p).$implicit,c=A.oxw(2).$implicit;return A.oxw(2).removeOption(n,c)}),A.ALo(10,"translate"),A.TgZ(11,"mat-icon"),A._uU(12,"clear"),A.qZA(),A.qZA(),A.qZA()}if(2&i){const p=r.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),A.xp6(3),A.Q6J("ngModel",p[0]),A.xp6(1),A.hij(" ",A.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),A.xp6(3),A.Q6J("ngModel",p[1]),A.xp6(1),A.s9C("matTooltip",A.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Ve(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"div",29),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",30),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.TgZ(7,"div",31),A.TgZ(8,"button",32),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).sortOptionsAZ(t)}),A.TgZ(9,"i",33),A._uU(10,"arrow_downward"),A.qZA(),A._uU(11),A.ALo(12,"translate"),A.qZA(),A.TgZ(13,"button",34),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).sortOptionsZA(t)}),A.TgZ(14,"i",33),A._uU(15,"arrow_upward"),A.qZA(),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.qZA(),A.YNc(18,Ce,13,11,"div",35),A.TgZ(19,"button",36),A.NdJ("click",function(){A.CHM(p);const t=A.oxw().$implicit;return A.oxw(2).addOption(t)}),A._uU(20),A.ALo(21,"translate"),A.qZA(),A.qZA()}if(2&i){const p=A.oxw().$implicit,o=A.oxw(2);A.xp6(2),A.hij(" ",A.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),": "),A.xp6(3),A.hij(" ",A.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),A.xp6(6),A.hij(" ",A.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),A.xp6(5),A.hij(" ",A.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),A.xp6(2),A.Q6J("ngForOf",o.options[p]),A.xp6(2),A.hij(" ",A.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const Xe=function(){return["HEADING","HTML_COMMENT"]},tt=function(){return["TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION"]},rt=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},N=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function he(i,r){if(1&i&&(A.TgZ(0,"mat-tab",11),A.ALo(1,"translate"),A.ALo(2,"uppercase"),A.YNc(3,Ie,6,8,"div",17),A.YNc(4,He,16,21,"div",17),A.YNc(5,fe,6,7,"div",17),A.YNc(6,Ve,22,16,"div",17),A.qZA()),2&i){const p=r.$implicit,o=A.oxw(2);A.s9C("label",A.lcZ(1,5,A.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+p))),A.xp6(3),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(9,Xe))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(10,tt))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(11,rt))),A.xp6(1),A.Q6J("ngIf",o.isApplicationFormItemOfType(A.DdM(12,N)))}}const D=function(){return["TEXTFIELD","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]},S=function(){return["TEXTFIELD","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX"]};function I(i,r){if(1&i){const p=A.EpF();A.TgZ(0,"div",9),A.TgZ(1,"mat-tab-group",10),A.TgZ(2,"mat-tab",11),A.ALo(3,"translate"),A.TgZ(4,"app-edit-application-form-item-line",12),A.ALo(5,"translate"),A.ALo(6,"translate"),A.TgZ(7,"mat-form-field",13),A.TgZ(8,"input",14),A.NdJ("ngModelChange",function(t){return A.CHM(p),A.oxw().applicationFormItem.shortname=t}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(9,"app-edit-application-form-item-line",12),A.ALo(10,"translate"),A.ALo(11,"translate"),A._uU(12),A.ALo(13,"applicationFormItemType"),A.qZA(),A.TgZ(14,"app-edit-application-form-item-line",12),A.ALo(15,"translate"),A.ALo(16,"translate"),A.TgZ(17,"section"),A.TgZ(18,"mat-checkbox",15),A.NdJ("change",function(){return A.CHM(p),A.oxw().onChangingType("INITIAL")}),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-checkbox",16),A.NdJ("change",function(){return A.CHM(p),A.oxw().onChangingType("EXTENSION")}),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.qZA(),A.qZA(),A.YNc(24,Me,23,38,"div",17),A.YNc(25,ve,6,7,"div",17),A.YNc(26,ee,12,15,"div",17),A.TgZ(27,"app-edit-application-form-item-line",12),A.ALo(28,"translate"),A.ALo(29,"translate"),A.TgZ(30,"mat-form-field",13),A.TgZ(31,"mat-select",18),A.NdJ("valueChange",function(t){return A.CHM(p),A.oxw().applicationFormItem.hidden=t}),A.YNc(32,R,3,4,"mat-option",19),A.qZA(),A.qZA(),A.qZA(),A.TgZ(33,"app-edit-application-form-item-line",12),A.ALo(34,"translate"),A.ALo(35,"translate"),A.TgZ(36,"div",13),A.YNc(37,Oe,1,2,"perun-web-apps-app-form-item-search-select",20),A.qZA(),A.qZA(),A.qZA(),A.YNc(38,he,7,13,"mat-tab",21),A.qZA(),A.qZA()}if(2&i){const p=A.oxw();A.xp6(2),A.s9C("label",A.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),A.xp6(2),A.Q6J("label",A.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME"))("description",A.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.shortname),A.xp6(1),A.Q6J("label",A.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET"))("description",A.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION")),A.xp6(3),A.hij(" ",A.lcZ(13,34,p.applicationFormItem.type)," "),A.xp6(2),A.Q6J("label",A.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION"))("description",A.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION")),A.xp6(4),A.Q6J("ngModel",p.applicationFormItem.applicationTypes.includes("INITIAL")),A.xp6(1),A.hij(" ",A.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),A.xp6(2),A.Q6J("ngModel",p.applicationFormItem.applicationTypes.includes("EXTENSION")),A.xp6(1),A.hij(" ",A.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),A.xp6(2),A.Q6J("ngIf",p.isApplicationFormItemOfType(A.DdM(52,D))),A.xp6(1),A.Q6J("ngIf",p.isApplicationFormItemOfType(A.DdM(53,S))),A.xp6(1),A.Q6J("ngIf",p.typesWithDisabled.indexOf(p.applicationFormItem.type)>-1),A.xp6(1),A.Q6J("label",A.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN"))("description",A.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION")),A.xp6(4),A.Q6J("value",p.applicationFormItem.hidden),A.xp6(1),A.Q6J("ngForOf",p.hiddenValues),A.xp6(1),A.Q6J("label",A.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY"))("description",A.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION")),A.xp6(4),A.Q6J("ngIf",null!==p.hiddenDependencyItem),A.xp6(1),A.Q6J("ngForOf",p.languages)}}let P=(()=>{class i{constructor(p,o,t,n,c,u){this.dialogRef=p,this.data=o,this.attributesManager=t,this.translateService=n,this.store=c,this.cd=u,this.federationAttributeDN="",this.itemType=T.qG,this.loading=!1,this.hiddenValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.disabledValues=["NEVER","ALWAYS","IF_EMPTY","IF_PREFILLED"],this.possibleDependencyItems=[],this.typesWithUpdatable=["VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","TIMEZONE"],this.typesWithDisabled=["USERNAME","PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"],this.languages=["en"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(p=>p.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=T.Sx),this.disabledDependencyItem=this.data.allItems.find(p=>p.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=T.Sx),this.theme=this.data.theme,this.possibleDependencyItems=this.getPossibleDepItems(),this.applicationFormItem=(0,g.dv)(this.languages),this.copy(this.data.applicationFormItem,this.applicationFormItem),this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(p=>{this.attributeDefinitions=p,this.loading=!1},()=>this.loading=!1),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}getPossibleDepItems(){return[T.Sx].concat(this.data.allItems.filter(p=>this.dependencyTypes.indexOf(p.type)>-1).filter(p=>p.id!==this.data.applicationFormItem.id))}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===T.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===T.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(p){if(this.applicationFormItem.applicationTypes.includes(p)){const o=this.applicationFormItem.applicationTypes.indexOf(p);this.applicationFormItem.applicationTypes.splice(o,1)}else this.applicationFormItem.applicationTypes.push(p)}addOption(p){this.options[p].push(["",""])}removeOption(p,o){this.options[o]=this.options[o].filter(t=>!(t[0]===p[0]&&t[1]===p[1]))}updateOption(p){let o="";if(this.options&&this.options[p])for(const t of this.options[p])""!==t[0]&&""!==t[1]&&(o=""===o?t[0]+"#"+t[1]:o+"|"+t[0]+"#"+t[1]);this.applicationFormItem.i18n[p].options=o}updateOptions(){for(const p of this.languages)this.updateOption(p)}changeFederationAttribute(p){this.applicationFormItem.federationAttribute=p.value,this.federationAttributeDN=p.displayName,this.cd.detectChanges()}copy(p,o){o.applicationTypes=p.applicationTypes,o.federationAttribute=p.federationAttribute,o.forDelete=p.forDelete;for(const t of this.languages)o.i18n[t].errorMessage=p.i18n[t].errorMessage,o.i18n[t].help=p.i18n[t].help,o.i18n[t].label=p.i18n[t].label,o.i18n[t].options=p.i18n[t].options;o.id=p.id,o.ordnum=p.ordnum,o.perunDestinationAttribute=p.perunDestinationAttribute,o.perunSourceAttribute=p.perunSourceAttribute,o.regex=p.regex,o.required=p.required,o.shortname=p.shortname,o.type=p.type,o.updatable=p.updatable,o.disabled=p.disabled,o.hidden=p.hidden,o.disabledDependencyItemId=p.disabledDependencyItemId,o.hiddenDependencyItemId=p.hiddenDependencyItemId}sortOptionsAZ(p){this.options[p]=this.options[p].sort((o,t)=>o[1]>t[1]?1:o[1]o[1]>t[1]?-1:o[1]-1}}return i.\u0275fac=function(p){return new(p||i)(A.Y36(e.so),A.Y36(e.WI),A.Y36(f.H8),A.Y36(s.sK),A.Y36(m.d6),A.Y36(A.sBO))},i.\u0275cmp=A.Xpm({type:i,selectors:[["app-edit-application-form-item-dialog"]],decls:16,vars:20,consts:[[1,"h-100","d-flex","flex-column"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",1,"d-flex","mt-auto"],["mat-flat-button","",1,"ml-auto","mt-auto",3,"click"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","accent","data-cy","edit-form-item-button-dialog",1,"ml-2","mt-auto",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["color","primary"],[3,"label"],[3,"label","description"],[1,"w-100"],["matInput","",3,"ngModel","ngModelChange"],[1,"mr-2",3,"ngModel","change"],[3,"ngModel","change"],[4,"ngIf"],["disableOptionCentering","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"item","items","itemSelected",4,"ngIf"],[3,"label",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"attributes","selectedAttribute","asGroup","type","itemSelected"],[3,"selectedAttribute","asGroup","type","itemSelected"],["class","w-100",4,"ngIf"],[3,"value"],[3,"item","items","itemSelected"],["matInput","",3,"cdkTextareaAutosize","ngModel","ngModelChange"],[1,"font-weight-bold"],[1,"text-muted","font-italic"],[1,"d-flex","mt-2","mb-2"],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],[1,"material-icons"],["mat-flat-button","",1,"mr-auto",3,"click"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["mat-icon-button","","color","warn",3,"matTooltip","click"]],template:function(p,o){1&p&&(A.TgZ(0,"div"),A.TgZ(1,"div",0),A.TgZ(2,"h1",1),A._uU(3),A.ALo(4,"translate"),A.qZA(),A.YNc(5,Ne,1,0,"mat-spinner",2),A.YNc(6,I,39,54,"div",3),A.TgZ(7,"div",4),A.TgZ(8,"button",5),A.NdJ("click",function(){return o.cancel()}),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"div",6),A.ALo(12,"translate"),A.TgZ(13,"button",7),A.NdJ("click",function(){return o.submit()}),A._uU(14),A.ALo(15,"translate"),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.qZA()),2&p&&(A.Gre("",o.theme," h-100"),A.xp6(3),A.AsE(" ",A.lcZ(4,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",o.applicationFormItem.shortname," "),A.xp6(2),A.Q6J("ngIf",o.loading),A.xp6(1),A.Q6J("ngIf",!o.loading),A.xp6(3),A.hij(" ",A.lcZ(10,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(12,16,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON_DISABLED_TOOLTIP")),A.Q6J("matTooltipDisabled",!o.applicationFormItem.required||""!==o.applicationFormItem.perunSourceAttribute||""!==o.applicationFormItem.federationAttribute||"ALWAYS"!==o.applicationFormItem.disabled&&"ALWAYS"!==o.applicationFormItem.hidden),A.xp6(2),A.Q6J("disabled",o.loading||o.applicationFormItem.required&&""===o.applicationFormItem.perunSourceAttribute&&""===o.applicationFormItem.federationAttribute&&("ALWAYS"===o.applicationFormItem.disabled||"ALWAYS"===o.applicationFormItem.hidden)),A.xp6(1),A.hij(" ",A.lcZ(15,18,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[e.uh,b.O5,O.$g,e.xY,E.SP,E.uX,k,L.KE,V.Nt,$.Fj,$.JJ,$.On,ue.oG,ce.$x,Le.gD,b.sg,de.ey,ke.Y,ae.IC,j.lW,H.gM,Q.Hw,e.H8],pipes:[s.X$,te.c,se,ge,b.gd],styles:[""]}),i})()},19352:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>ne});var e=d(9315),f=d(48966),g=d(36908),T=d(32075),m=d(9244),A=d(84379),s=d(69808),b=d(5e3),O=d(51062),E=d(20773),h=d(47423),k=d(25245),L=d(29772),V=d(31359);function $(Me,ve){1&Me&&b._UZ(0,"mat-spinner",6)}function ue(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")," "))}function ce(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b._uU(1),b.qZA()),2&Me){const me=ve.$implicit;b.xp6(1),b.Oqu(me.user.id)}}function Le(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")," "))}function de(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b._uU(1),b.ALo(2,"userFullName"),b.qZA()),2&Me){const me=ve.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,me.user))}}function ke(Me,ve){1&Me&&(b.TgZ(0,"th",17),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")," "))}function ae(Me,ve){if(1&Me){const me=b.EpF();b.TgZ(0,"button",20),b.NdJ("click",function(){b.CHM(me);const ee=b.oxw().$implicit;return b.oxw(2).changeExpiration(ee)}),b.TgZ(1,"mat-icon"),b._uU(2," today "),b.qZA(),b.qZA()}}function j(Me,ve){if(1&Me&&(b.TgZ(0,"td",18),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.YNc(3,ae,3,0,"button",19),b.qZA()),2&Me){const me=ve.$implicit,Te=b.oxw(2);b.xp6(2),b.Oqu(Te.parseDate(me.validityTo)),b.xp6(1),b.Q6J("ngIf",Te.isExpirationAuthorized(me))}}function H(Me,ve){1&Me&&b._UZ(0,"th",17)}function Q(Me,ve){1&Me&&(b.TgZ(0,"mat-icon",25),b._uU(1,"clear"),b.qZA())}function te(Me,ve){1&Me&&(b.TgZ(0,"mat-icon"),b._uU(1,"settings_backup_restore"),b.qZA())}function se(Me,ve){if(1&Me){const me=b.EpF();b.TgZ(0,"td",18),b.TgZ(1,"div",21),b.ALo(2,"translate"),b.TgZ(3,"button",22),b.NdJ("click",function(){const R=b.CHM(me).$implicit;return b.oxw(2).markSponsor(R)}),b.YNc(4,Q,2,0,"mat-icon",23),b.YNc(5,te,2,0,"mat-icon",24),b.qZA(),b.qZA(),b.qZA()}if(2&Me){const me=ve.$implicit,Te=b.oxw(2);b.xp6(1),b.s9C("matTooltip",b.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",Te.isRemoveAuthorized(me)),b.xp6(2),b.Q6J("disabled",!Te.isRemoveAuthorized(me)),b.xp6(1),b.Q6J("ngIf",!Te.sponsorsToRemove.has(me.user.id)),b.xp6(1),b.Q6J("ngIf",Te.sponsorsToRemove.has(me.user.id))}}function ge(Me,ve){1&Me&&b._UZ(0,"tr",26)}function Ne(Me,ve){if(1&Me&&b._UZ(0,"tr",27),2&Me){const me=ve.$implicit,Te=b.oxw(2);b.ekj("make-red",Te.sponsorsToRemove.has(me.user.id))}}function Fe(Me,ve){if(1&Me&&(b.TgZ(0,"div",7),b.TgZ(1,"table",8),b.ynx(2,9),b.YNc(3,ue,3,3,"th",10),b.YNc(4,ce,2,1,"td",11),b.BQk(),b.ynx(5,12),b.YNc(6,Le,3,3,"th",10),b.YNc(7,de,3,3,"td",11),b.BQk(),b.ynx(8,13),b.YNc(9,ke,3,3,"th",10),b.YNc(10,j,4,2,"td",11),b.BQk(),b.ynx(11,14),b.YNc(12,H,1,0,"th",10),b.YNc(13,se,6,8,"td",11),b.BQk(),b.YNc(14,ge,1,0,"tr",15),b.YNc(15,Ne,1,2,"tr",16),b.qZA(),b.qZA()),2&Me){const me=b.oxw();b.xp6(1),b.Q6J("dataSource",me.dataSource),b.xp6(13),b.Q6J("matHeaderRowDef",me.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",me.displayedColumns)}}let ne=(()=>{class Me{constructor(me,Te,ee,R,Oe,Ie,He,fe){this.dialogRef=me,this.data=Te,this.memberService=ee,this.userService=R,this.notificator=Oe,this.authResolver=Ie,this.translate=He,this.dialog=fe,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.expirationChanged=!1,this.sponsorsToRemove=new Set}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new T.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(me){this.sponsorsToRemove.has(me.user.id)?this.sponsorsToRemove.delete(me.user.id):this.sponsorsToRemove.add(me.user.id)}removeSponsors(me){if(0===me.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Te=me.pop();this.memberService.removeSponsor(this.data.member.id,Te).subscribe(()=>{this.removeSponsors(me)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const me=Array.from(this.sponsorsToRemove);this.removeSponsors(me)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(me){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[me.user])}isExpirationAuthorized(me){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[me.user,this.vo])}parseDate(me){return null===me?"Never expire":(0,s.p6)(me,"d.M.y","en")}changeExpiration(me){const Te=(0,m.kZ)();Te.width="400px",Te.data={memberId:this.data.member.id,sponsor:me},this.dialog.open(A.hd,Te).afterClosed().subscribe(R=>{R&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(Oe=>{this.sponsors=Oe,this.dataSource=new T.by(this.sponsors),this.loading=!1}))})}}return Me.\u0275fac=function(me){return new(me||Me)(b.Y36(f.so),b.Y36(f.WI),b.Y36(e.uq),b.Y36(e.Fv),b.Y36(g.V6),b.Y36(g.x4),b.Y36(O.sK),b.Y36(f.uw))},Me.\u0275cmp=b.Xpm({type:Me,selectors:[["app-edit-member-sponsors-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content",""],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expiration"],["matColumnDef","remove"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",3,"make-red",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-icon-button","",1,"btn-delete",3,"disabled","click"],["class","icn-delete","color","warn",4,"ngIf"],[4,"ngIf"],["color","warn",1,"icn-delete"],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(me,Te){1&me&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.YNc(4,$,1,0,"mat-spinner",1),b.YNc(5,Fe,16,3,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Te.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Te.onSubmit()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&me&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),b.xp6(2),b.Tol(Te.theme),b.xp6(1),b.Q6J("ngIf",Te.loading),b.xp6(1),b.Q6J("ngIf",!Te.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Te.loading||0===Te.sponsorsToRemove.size),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT")," "))},directives:[f.uh,s.O5,E.$g,f.xY,T.BZ,T.w1,T.fO,T.ge,T.Dz,T.ev,h.lW,k.Hw,L.gM,T.as,T.XQ,T.nj,T.Gk,f.H8],pipes:[O.X$,V.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:gray}"]}),Me})()},74414:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>ae});var e=d(48966),f=d(93075),g=d(9315),T=d(36908),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(67322),E=d(98833),h=d(74107),k=d(90508),L=d(47423);function V(j,H){1&j&&m._UZ(0,"mat-spinner",6)}function $(j,H){1&j&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function ue(j,H){1&j&&(m.TgZ(0,"div",14),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function ce(j,H){1&j&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function Le(j,H){1&j&&(m.TgZ(0,"mat-error"),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&j&&(m.xp6(1),m.Oqu(m.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function de(j,H){if(1&j&&(m.TgZ(0,"mat-option",15),m._uU(1),m.ALo(2,"translate"),m.ALo(3,"uppercase"),m.qZA()),2&j){const Q=H.$implicit;m.s9C("value",Q),m.xp6(1),m.Oqu(m.lcZ(2,2,m.lcZ(3,4,"SHARED_LIB.LANGUAGES."+Q)))}}function ke(j,H){if(1&j){const Q=m.EpF();m.TgZ(0,"div",7),m.YNc(1,$,3,3,"div",8),m.YNc(2,ue,3,3,"div",8),m.TgZ(3,"mat-form-field",9),m._UZ(4,"input",10),m.ALo(5,"translate"),m.YNc(6,ce,3,3,"mat-error",11),m.qZA(),m.TgZ(7,"mat-form-field",9),m._UZ(8,"textarea",10),m.ALo(9,"translate"),m.YNc(10,Le,3,3,"mat-error",11),m.qZA(),m.TgZ(11,"mat-form-field",9),m.TgZ(12,"mat-label"),m._uU(13),m.ALo(14,"translate"),m.qZA(),m.TgZ(15,"mat-select",12),m.NdJ("valueChange",function(se){return m.CHM(Q),m.oxw().currentLanguage=se}),m.YNc(16,de,4,6,"mat-option",13),m.qZA(),m.qZA(),m.qZA()}if(2&j){const Q=m.oxw();m.xp6(1),m.Q6J("ngIf",!Q.data.groupId),m.xp6(1),m.Q6J("ngIf",Q.data.groupId),m.xp6(2),m.s9C("placeholder",m.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),m.Q6J("formControl",Q.name),m.xp6(2),m.Q6J("ngIf",Q.name.invalid),m.xp6(2),m.s9C("placeholder",m.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),m.Q6J("formControl",Q.emailForm),m.xp6(2),m.Q6J("ngIf",Q.emailForm.invalid),m.xp6(3),m.Oqu(m.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),m.xp6(2),m.Q6J("value",Q.currentLanguage),m.xp6(1),m.Q6J("ngForOf",Q.languages)}}let ae=(()=>{class j{constructor(Q,te,se,ge,Ne,Fe){this.dialogRef=Q,this.data=te,this.registrarManager=se,this.notificator=ge,this.translate=Ne,this.store=Fe,this.emailForm=new f.NI("",[f.kI.required,f.kI.email]),this.languages=["en"],this.currentLanguage="en",this.name=new f.NI("",f.kI.required),this.loading=!1}ngOnInit(){this.languages=this.store.get("supported_languages"),this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.emailForm.invalid||this.name.invalid||(this.data.voId&&!this.data.groupId?(this.loading=!0,this.registrarManager.sendInvitation(this.emailForm.value,this.currentLanguage,this.data.voId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(Q=>{this.notificator.showSuccess(Q),this.dialogRef.close(!0)})},()=>this.loading=!1)):(this.loading=!0,this.registrarManager.sendInvitationForGroup(this.emailForm.value,this.currentLanguage,this.data.voId,this.data.groupId).subscribe(()=>{this.translate.get("DIALOGS.INVITE_MEMBER.SUCCESS").subscribe(Q=>{this.notificator.showSuccess(Q),this.dialogRef.close(!0)})},()=>this.loading=!1)))}}return j.\u0275fac=function(Q){return new(Q||j)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.tk),m.Y36(T.V6),m.Y36(A.sK),m.Y36(T.d6))},j.\u0275cmp=m.Xpm({type:j,selectors:[["app-invite-member-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-italic",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"font-italic"],[3,"value"]],template:function(Q,te){1&Q&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,V,1,0,"mat-spinner",1),m.YNc(5,ke,17,17,"div",2),m.TgZ(6,"div",3),m.TgZ(7,"button",4),m.NdJ("click",function(){return te.onCancel()}),m._uU(8),m.ALo(9,"translate"),m.qZA(),m.TgZ(10,"button",5),m.NdJ("click",function(){return te.onSubmit()}),m._uU(11),m.ALo(12,"translate"),m.qZA(),m.qZA(),m.qZA()),2&Q&&(m.Tol(te.theme),m.xp6(2),m.Oqu(m.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),m.xp6(2),m.Q6J("ngIf",te.loading),m.xp6(1),m.Q6J("ngIf",!te.loading),m.xp6(3),m.hij(" ",m.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),m.xp6(2),m.Q6J("disabled",te.emailForm.invalid||te.name.invalid||te.loading),m.xp6(1),m.hij(" ",m.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[e.uh,s.O5,b.$g,e.xY,O.KE,E.Nt,f.Fj,f.Q7,f.JJ,f.oH,O.TO,O.hX,h.gD,s.sg,k.ey,e.H8,L.lW],pipes:[A.X$,s.gd],styles:[""]}),j})()},87842:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>se});var e=d(48966),f=d(93075),g=d(1059),T=d(24850),m=d(36769),A=d(36908),s=d(9315),b=d(5e3),O=d(51062),E=d(79814),h=d(69808),k=d(98380),L=d(67322),V=d(98833),$=d(91079),ue=d(90508),ce=d(20773),Le=d(47423),de=d(29772);function ke(ge,Ne){1&ge&&(b.TgZ(0,"mat-radio-button",12),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function ae(ge,Ne){1&ge&&(b.TgZ(0,"mat-radio-button",13),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function j(ge,Ne){1&ge&&(b.TgZ(0,"app-alert",14),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ge&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function H(ge,Ne){if(1&ge){const Fe=b.EpF();b.TgZ(0,"mat-option",20),b.NdJ("click",function(){const ve=b.CHM(Fe).$implicit;return b.oxw(2).selectedGroup=ve}),b.TgZ(1,"span"),b._uU(2),b.qZA(),b.qZA()}if(2&ge){const Fe=Ne.$implicit;b.Q6J("value",Fe),b.xp6(2),b.Oqu(Fe.name)}}function Q(ge,Ne){if(1&ge){const Fe=b.EpF();b.TgZ(0,"mat-form-field",15),b.TgZ(1,"input",16),b.NdJ("change",function(){return b.CHM(Fe),b.oxw().selectedGroup=null}),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"mat-autocomplete",17,18),b.YNc(5,H,3,2,"mat-option",19),b.ALo(6,"async"),b.qZA(),b.qZA()}if(2&ge){const Fe=b.MAs(4),ne=b.oxw();b.Q6J("@openClose","toGroup"===ne.moveOption?"open":"closed"),b.xp6(1),b.s9C("placeholder",b.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),b.Q6J("matAutocomplete",Fe)("formControl",ne.otherGroupsCtrl),b.xp6(2),b.Q6J("displayWith",ne.displayFn),b.xp6(2),b.Q6J("ngForOf",b.lcZ(6,8,ne.filteredGroups))}}function te(ge,Ne){1&ge&&b._UZ(0,"mat-spinner",21)}let se=(()=>{class ge{constructor(Fe,ne,Me,ve,me,Te,ee){this.dialogRef=Fe,this.data=ne,this.groupService=Me,this.notificator=ve,this.translate=me,this.apiRequest=Te,this.authResolver=ee,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new f.NI(null,[f.kI.required]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(R=>this.successMessage=R),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(R=>this.errorMessage=R)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(Fe=>{this.otherGroups=Fe.filter(ne=>ne.id!==this.data.group.id&&"members"!==ne.name&&this.canMove(ne)),0===this.otherGroups.length&&(this.toGroupOptionDisabled=!0),(null===this.data.group.parentGroupId||!this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.data.group]))&&(this.toRootOptionDisabled=!0,this.moveOption="toGroup"),this.filteredGroups=this.otherGroupsCtrl.valueChanges.pipe((0,g.O)(""),(0,T.U)(ne=>ne?this._filterGroups(ne):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(Fe){return Fe&&Fe.name}_filterGroups(Fe){if("object"==typeof Fe)return[];const ne=Fe.toLowerCase();return Fe?this.otherGroups.filter(Me=>Me.name.toLowerCase().indexOf(ne)>-1):this.otherGroups}canMove(Fe){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[Fe,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,Fe])}close(){this.dialogRef.close()}confirm(){this.loading=!0,this.apiRequest.dontHandleErrorForNext(),this.groupService.moveGroupWithDestinationGroupMovingGroup(this.data.group.id,this.otherGroupsCtrl.value?this.otherGroupsCtrl.value.id:void 0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},Fe=>{this.notificator.showRPCError(Fe,this.errorMessage),this.dialogRef.close(!1)})}}return ge.\u0275fac=function(Fe){return new(Fe||ge)(b.Y36(e.so),b.Y36(e.WI),b.Y36(s.ff),b.Y36(A.V6),b.Y36(O.sK),b.Y36(A.F5),b.Y36(A.x4))},ge.\u0275cmp=b.Xpm({type:ge,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","value","toRoot","class","move-options",4,"ngIf"],["value","toGroup","color","primary",4,"ngIf"],["alert_type","warn",4,"ngIf"],["class","w-100 mt-2",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["value","toGroup","color","primary"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","matAutocomplete","formControl","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(Fe,ne){1&Fe&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",1),b.TgZ(5,"p"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.TgZ(8,"mat-radio-group",2),b.NdJ("ngModelChange",function(ve){return ne.moveOption=ve}),b.YNc(9,ke,3,3,"mat-radio-button",3),b.YNc(10,ae,3,3,"mat-radio-button",4),b.qZA(),b.YNc(11,j,3,3,"app-alert",5),b.YNc(12,Q,7,10,"mat-form-field",6),b.qZA(),b.YNc(13,te,1,0,"mat-spinner",7),b.TgZ(14,"div",8),b.TgZ(15,"button",9),b.NdJ("click",function(){return ne.close()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"span",10),b.ALo(19,"translate"),b.TgZ(20,"button",11),b.NdJ("click",function(){return ne.confirm()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()),2&Fe&&(b.Tol(ne.data.theme),b.xp6(2),b.AsE("",b.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",ne.data.group.name,""),b.xp6(4),b.hij(" ",b.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),b.xp6(2),b.Q6J("ngModel",ne.moveOption),b.xp6(1),b.Q6J("ngIf",!ne.toRootOptionDisabled),b.xp6(1),b.Q6J("ngIf",!ne.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",ne.toRootOptionDisabled&&ne.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",!ne.toGroupOptionDisabled),b.xp6(1),b.Q6J("ngIf",ne.loading),b.xp6(3),b.hij(" ",b.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",null!==ne.selectedGroup||"toRoot"===ne.moveOption),b.xp6(2),b.Q6J("disabled",(ne.otherGroupsCtrl.invalid||null===ne.selectedGroup)&&"toRoot"!==ne.moveOption||ne.loading),b.xp6(1),b.hij(" ",b.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[e.uh,e.xY,E.VQ,f.JJ,f.On,h.O5,E.U0,k.w,L.KE,V.Nt,$.ZL,f.Fj,f.Q7,f.oH,$.XC,h.sg,ue.ey,ce.$g,e.H8,Le.lW,de.gM],pipes:[O.X$,h.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[m.BQ]}}),ge})()},58964:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>ce});var e=d(48966),f=d(9315),g=d(36908),T=d(5e3),m=d(51062),A=d(69808),s=d(20773),b=d(67322),O=d(74107),E=d(90508),h=d(47423);function k(Le,de){1&Le&&T._UZ(0,"mat-spinner",7)}function L(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",ke.friendlyNameParameter," ")}}function V(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"uppercase"),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",T.lcZ(2,2,T.lcZ(3,4,"SHARED_LIB.LANGUAGES."+ke))," ")}}function $(Le,de){if(1&Le&&(T.TgZ(0,"mat-option",13),T._uU(1),T.qZA()),2&Le){const ke=de.$implicit;T.Q6J("value",ke),T.xp6(1),T.hij(" ",ke," ")}}function ue(Le,de){if(1&Le){const ke=T.EpF();T.TgZ(0,"div",8),T.TgZ(1,"mat-form-field"),T.TgZ(2,"mat-label"),T._uU(3),T.ALo(4,"translate"),T.qZA(),T.TgZ(5,"mat-select",9),T.NdJ("valueChange",function(j){return T.CHM(ke),T.oxw().selectedLogin=j}),T.YNc(6,L,2,2,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(7,"mat-form-field"),T.TgZ(8,"mat-label"),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.TgZ(11,"mat-select",9),T.NdJ("valueChange",function(j){return T.CHM(ke),T.oxw().selectedLang=j}),T.YNc(12,V,4,6,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(13,"mat-form-field"),T.TgZ(14,"mat-label"),T._uU(15),T.ALo(16,"translate"),T.qZA(),T.TgZ(17,"mat-select",9),T.NdJ("valueChange",function(j){return T.CHM(ke),T.oxw().selectedMail=j}),T.YNc(18,$,2,2,"mat-option",10),T.qZA(),T.qZA(),T.TgZ(19,"div",11),T.TgZ(20,"p",12),T._uU(21),T.ALo(22,"translate"),T.qZA(),T.TgZ(23,"p"),T._uU(24),T.qZA(),T.qZA(),T.qZA()}if(2&Le){const ke=T.oxw();T.xp6(3),T.Oqu(T.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),T.xp6(2),T.Q6J("value",ke.selectedLogin),T.xp6(1),T.Q6J("ngForOf",ke.logins),T.xp6(3),T.Oqu(T.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),T.xp6(2),T.Q6J("value",ke.selectedLang),T.xp6(1),T.Q6J("ngForOf",ke.languages),T.xp6(3),T.Oqu(T.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),T.xp6(2),T.Q6J("value",ke.selectedMail),T.xp6(1),T.Q6J("ngForOf",ke.mails),T.xp6(3),T.Oqu(T.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),T.xp6(3),T.Oqu(ke.selectedLogin.value)}}let ce=(()=>{class Le{constructor(ke,ae,j,H,Q,te,se){this.dialogRef=ke,this.data=ae,this.membersManagerService=j,this.attributesManagerService=H,this.store=Q,this.translate=te,this.notificator=se,this.languages=this.store.get("supported_languages"),this.selectedLang="en",this.pwdMails=new Map,this.logins=[],this.selectedMail="user:preferredMail",this.mails=[],te.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(ge=>this.successMessage=ge)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}getMailAttributes(){this.pwdMails.set("user:preferredMail","urn:perun:user:attribute-def:def:preferredMail"),this.pwdMails.set("member:mail","urn:perun:member:attribute-def:def:mail"),this.mails=Array.from(this.pwdMails.keys()),this.selectedMail="user:preferredMail"}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0;const ke=this.selectedLogin.friendlyNameParameter,j=window.location.href.split("/"),H=j[0]+"//"+j[2];this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,ke,this.pwdMails.get(this.selectedMail),this.selectedLang,H).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}}return Le.\u0275fac=function(ke){return new(ke||Le)(T.Y36(e.so),T.Y36(e.WI),T.Y36(f.uq),T.Y36(f.H8),T.Y36(g.d6),T.Y36(m.sK),T.Y36(g.V6))},Le.\u0275cmp=T.Xpm({type:Le,selectors:[["app-password-reset-request-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],[1,"member-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container member-theme","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container","member-theme"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"row"],[1,"column-size","ml-3"],[3,"value"]],template:function(ke,ae){1&ke&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.YNc(4,k,1,0,"mat-spinner",2),T.qZA(),T.YNc(5,ue,25,19,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"button",5),T.NdJ("click",function(){return ae.onCancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",6),T.NdJ("click",function(){return ae.onSubmit()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA()),2&ke&&(T.xp6(1),T.Oqu(T.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),T.xp6(3),T.Q6J("ngIf",ae.loading),T.xp6(1),T.Q6J("ngIf",!ae.loading),T.xp6(3),T.hij(" ",T.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),T.xp6(2),T.Q6J("disabled",ae.loading),T.xp6(1),T.hij(" ",T.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[e.uh,A.O5,s.$g,e.xY,b.KE,b.hX,O.gD,A.sg,E.ey,e.H8,h.lW],pipes:[m.X$,A.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),Le})()},53455:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>ke});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(69808),b=d(20773),O=d(47423),E=d(31359);function h(ae,j){1&ae&&m._UZ(0,"th",13)}function k(ae,j){if(1&ae&&(m.TgZ(0,"td",14),m._uU(1),m.qZA()),2&ae){const H=j.$implicit;m.xp6(1),m.Oqu(H.id)}}function L(ae,j){1&ae&&m._UZ(0,"th",13)}function V(ae,j){if(1&ae&&(m.TgZ(0,"td",14),m._uU(1),m.ALo(2,"userFullName"),m.qZA()),2&ae){const H=j.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,H.user))}}function $(ae,j){1&ae&&m._UZ(0,"tr",15)}function ue(ae,j){1&ae&&m._UZ(0,"tr",16)}function ce(ae,j){if(1&ae&&(m.TgZ(0,"div",4),m.TgZ(1,"p"),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"div",5),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.TgZ(7,"table",6),m.ynx(8,7),m.YNc(9,h,1,0,"th",8),m.YNc(10,k,2,1,"td",9),m.BQk(),m.ynx(11,10),m.YNc(12,L,1,0,"th",8),m.YNc(13,V,3,3,"td",9),m.BQk(),m.YNc(14,$,1,0,"tr",11),m.YNc(15,ue,1,0,"tr",12),m.qZA(),m.qZA()),2&ae){const H=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,5,H.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),m.xp6(3),m.hij(" ",m.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),m.xp6(2),m.Q6J("dataSource",H.dataSource),m.xp6(7),m.Q6J("matHeaderRowDef",H.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",H.displayedColumns)}}function Le(ae,j){1&ae&&m._UZ(0,"mat-spinner",17)}function de(ae,j){if(1&ae){const H=m.EpF();m.TgZ(0,"div",18),m.TgZ(1,"button",19),m.NdJ("click",function(){return m.CHM(H),m.oxw().onCancel()}),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.TgZ(4,"button",20),m.NdJ("click",function(){return m.CHM(H),m.oxw().onSubmit()}),m._uU(5),m.ALo(6,"translate"),m.qZA(),m.qZA()}if(2&ae){const H=m.oxw();m.xp6(2),m.hij(" ",m.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),m.xp6(3),m.hij(" ",m.lcZ(6,4,H.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let ke=(()=>{class ae{constructor(H,Q,te,se,ge,Ne){this.dialogRef=H,this.data=Q,this.membersService=te,this.groupService=se,this.notificator=ge,this.translate=Ne,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.members)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.groupId?this.groupService.removeMembers(this.data.groupId,this.data.members.map(H=>H.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(H=>H.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const H=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(H),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return ae.\u0275fac=function(H){return new(H||ae)(m.Y36(e.so),m.Y36(e.WI),m.Y36(T.uq),m.Y36(T.ff),m.Y36(g.V6),m.Y36(A.sK))},ae.\u0275cmp=m.Xpm({type:ae,selectors:[["app-remove-members-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[1,"mr-auto","ml-auto"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members-dialog",1,"ml-2",3,"click"]],template:function(H,Q){1&H&&(m.TgZ(0,"div"),m.TgZ(1,"h1",0),m._uU(2),m.ALo(3,"translate"),m.qZA(),m.YNc(4,ce,16,9,"div",1),m.YNc(5,Le,1,0,"mat-spinner",2),m.YNc(6,de,7,6,"div",3),m.qZA()),2&H&&(m.Tol(Q.theme),m.xp6(2),m.Oqu(m.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),m.xp6(2),m.Q6J("ngIf",!Q.loading),m.xp6(1),m.Q6J("ngIf",Q.loading),m.xp6(1),m.Q6J("ngIf",!Q.loading))},directives:[e.uh,s.O5,e.xY,f.BZ,f.w1,f.fO,f.ge,f.Dz,f.ev,f.as,f.XQ,f.nj,f.Gk,b.$g,e.H8,O.lW],pipes:[A.X$,E.d],styles:[""]}),ae})()},533:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.notificator=L,this.translate=V,this.resourcesManager=$,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,0===this.data.resources.length?this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(h=>{this.loading=!1,this.notificator.showSuccess(h),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(h){h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(A.sK),m.Y36(T.xk))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-remove-resource-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","disableForce","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","resources")("disableForce",!0)("loading",k.loading))},directives:[s.e],styles:[""]}),O})()},11717:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>b});var e=d(48966),f=d(32075),g=d(36908),T=d(9315),m=d(5e3),A=d(51062),s=d(55663);let b=(()=>{class O{constructor(h,k,L,V,$){this.dialogRef=h,this.data=k,this.notificator=L,this.voService=V,this.translate=$,this.force=!1,this.displayedColumns=["name"],this.relations=[],$.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(ue=>this.successMessage=ue)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new f.by(this.data.vos),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.GROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.MEMBER_RELATION")),this.relations.push(this.translate.instant("DIALOGS.REMOVE_VO.RESOURCE_RELATION"))}onCancel(){this.dialogRef.close(!1)}onDelete(){this.loading=!0,this.voService.deleteVo(this.data.vos[0].id,this.force).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSubmit(h){this.force=h.force,h.deleted?this.onDelete():this.onCancel()}}return O.\u0275fac=function(h){return new(h||O)(m.Y36(e.so),m.Y36(e.WI),m.Y36(g.V6),m.Y36(T.YF),m.Y36(A.sK))},O.\u0275cmp=m.Xpm({type:O,selectors:[["app-remove-vo-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","relations","loading","deleted"]],template:function(h,k){1&h&&(m.TgZ(0,"div"),m.TgZ(1,"app-delete-entity-dialog",0),m.NdJ("deleted",function(V){return k.onSubmit(V)}),m.qZA(),m.qZA()),2&h&&(m.Tol(k.theme),m.xp6(1),m.Q6J("entityNames",k.dataSource)("entityType","organizations")("relations",k.relations)("loading",k.loading))},directives:[s.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),O})()},1186:(Ke,be,d)=>{"use strict";d.d(be,{E:()=>ue});var e=d(48966),f=d(9315),g=d(5e3),T=d(69808),m=d(20773),A=d(67322),s=d(98833),b=d(93075),O=d(74107),E=d(90508),h=d(47423),k=d(51062);function L(ce,Le){1&ce&&g._UZ(0,"mat-spinner",6)}function V(ce,Le){if(1&ce){const de=g.EpF();g.TgZ(0,"div"),g.TgZ(1,"mat-form-field",9),g.TgZ(2,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw(2).embeddedState=ae}),g.ALo(3,"translate"),g.TgZ(4,"mat-option",11),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.TgZ(7,"mat-option",12),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&ce){const de=g.oxw(2);g.xp6(2),g.MGl("placeholder","",g.lcZ(3,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),":"),g.Q6J("value",de.embeddedState),g.xp6(3),g.Oqu(g.lcZ(6,6,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(9,8,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL"))}}function $(ce,Le){if(1&ce){const de=g.EpF();g.TgZ(0,"div",7),g.TgZ(1,"mat-form-field"),g.TgZ(2,"input",8),g.NdJ("ngModelChange",function(ae){return g.CHM(de),g.oxw().moduleName=ae}),g.ALo(3,"translate"),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",9),g.TgZ(5,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw().initialState=ae}),g.ALo(6,"translate"),g.TgZ(7,"mat-option",11),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"mat-option",12),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(13,"mat-form-field",9),g.TgZ(14,"mat-select",10),g.NdJ("valueChange",function(ae){return g.CHM(de),g.oxw().extensionState=ae}),g.ALo(15,"translate"),g.TgZ(16,"mat-option",11),g._uU(17),g.ALo(18,"translate"),g.qZA(),g.TgZ(19,"mat-option",12),g._uU(20),g.ALo(21,"translate"),g.qZA(),g.qZA(),g.qZA(),g.YNc(22,V,10,10,"div",13),g.qZA()}if(2&ce){const de=g.oxw();g.xp6(2),g.s9C("placeholder",g.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),g.Q6J("ngModel",de.moduleName),g.xp6(3),g.MGl("placeholder","",g.lcZ(6,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),":"),g.Q6J("value",de.initialState),g.xp6(3),g.Oqu(g.lcZ(9,15,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(12,17,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(3),g.MGl("placeholder","",g.lcZ(15,19,"DIALOGS.UPDATE_APPLICATION_FORM.EXTENSION"),":"),g.Q6J("value",de.extensionState),g.xp6(3),g.Oqu(g.lcZ(18,21,"DIALOGS.UPDATE_APPLICATION_FORM.AUTOMATIC")),g.xp6(3),g.Oqu(g.lcZ(21,23,"DIALOGS.UPDATE_APPLICATION_FORM.MANUAL")),g.xp6(2),g.Q6J("ngIf","group"===de.entity&&de.autoRegistrationEnabled)}}let ue=(()=>{class ce{constructor(de,ke,ae){this.dialogRef=de,this.data=ke,this.registrarManager=ae,this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.applicationForm=this.data.applicationForm,this.moduleName=this.applicationForm.moduleClassName,this.initialState=this.applicationForm.automaticApproval?"auto":"manual",this.extensionState=this.applicationForm.automaticApprovalExtension?"auto":"manual",this.embeddedState=this.applicationForm.automaticApprovalEmbedded?"auto":"manual",this.entity=this.data.entity,this.autoRegistrationEnabled=this.data.autoRegistrationEnabled}onCancel(){this.dialogRef.close()}submit(){this.loading=!0,this.applicationForm.moduleClassName=this.moduleName,this.applicationForm.automaticApproval="auto"===this.initialState,this.applicationForm.automaticApprovalExtension="auto"===this.extensionState,this.applicationForm.automaticApprovalEmbedded="auto"===this.embeddedState,this.registrarManager.updateForm({form:this.applicationForm}).subscribe(de=>{this.dialogRef.close(de)},()=>this.loading=!1)}}return ce.\u0275fac=function(de){return new(de||ce)(g.Y36(e.so),g.Y36(e.WI),g.Y36(f.tk))},ce.\u0275cmp=g.Xpm({type:ce,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","",3,"ngModel","placeholder","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","placeholder","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(de,ke){1&de&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,L,1,0,"mat-spinner",1),g.YNc(5,$,23,25,"div",2),g.TgZ(6,"div",3),g.TgZ(7,"button",4),g.NdJ("click",function(){return ke.onCancel()}),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"button",5),g.NdJ("click",function(){return ke.submit()}),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA()),2&de&&(g.Tol(ke.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),g.xp6(2),g.Q6J("ngIf",ke.loading),g.xp6(1),g.Q6J("ngIf",!ke.loading),g.xp6(3),g.hij(" ",g.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),g.xp6(2),g.Q6J("disabled",ke.loading),g.xp6(1),g.hij(" ",g.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[e.uh,T.O5,m.$g,e.xY,A.KE,s.Nt,b.Fj,b.JJ,b.On,O.gD,E.ey,e.H8,h.lW],pipes:[k.X$],styles:[""]}),ce})()},57706:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class T{constructor(A){this.translateService=A,this.returnData=""}transform(A){switch(A){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(s=>{this.returnData=s});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(s=>{this.returnData=s});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(s=>{this.returnData=s});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(s=>{this.returnData=s});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(s=>{this.returnData=s});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(s=>{this.returnData=s});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(s=>{this.returnData=s});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(s=>{this.returnData=s});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(s=>{this.returnData=s});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(s=>{this.returnData=s});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(s=>{this.returnData=s});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(s=>{this.returnData=s});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(s=>{this.returnData=s});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(s=>{this.returnData=s});break;default:return A}return this.returnData}}return T.\u0275fac=function(A){return new(A||T)(e.Y36(f.sK,16))},T.\u0275pipe=e.Yjl({name:"applicationFormItemType",type:T,pure:!0}),T})()},43157:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>g});var e=d(5e3),f=d(51062);let g=(()=>{class T{constructor(A){this.translate=A,this.returnData=""}transform(A){switch(A){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(s=>{this.returnData=`done${s}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(s=>{this.returnData=`clear${s}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(s=>{this.returnData=`contact_mail ${s}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(s=>{this.returnData=`gavel${s}`});break;default:this.returnData=A}return this.returnData}}return T.\u0275fac=function(A){return new(A||T)(e.Y36(f.sK,16))},T.\u0275pipe=e.Yjl({name:"applicationState",type:T,pure:!1}),T})()},37677:(Ke,be,d)=>{"use strict";d.d(be,{A:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.substring(40)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"extSourceType",type:g,pure:!0}),g})()},14264:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>Z});var e=d(69808),f=d(30325),g=d(91079),T=d(47423),m=d(77446),A=d(90508),s=d(86856),b=d(48966),O=d(4834),E=d(81125),h=d(67322),k=d(25245),L=d(98833),V=d(86087),$=d(85899),ue=d(20773),ce=d(79814),Le=d(74107),de=d(2638),ke=d(32368),ae=d(57261),j=d(84847),H=d(32075),Q=d(53251),te=d(29772),se=d(90149),ge=d(9224),Ne=d(27544),Fe=d(26688),ne=d(92181),Me=d(92081),ve=d(93075),me=d(73228),Te=d(36769),ee=d(36908),R=d(5e3),Oe=d(50301),Ie=d(51062);const He=["collapse"],fe=function(){return{color:"linkTextColor"}};function Ce(G,X){1&G&&(R.TgZ(0,"mat-icon",14),R._uU(1,"keyboard_arrow_right"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,fe))}function Ve(G,X){1&G&&(R.TgZ(0,"mat-icon",14),R._uU(1,"keyboard_arrow_down"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,fe))}function Xe(G,X){if(1&G&&(R.TgZ(0,"span",12),R.YNc(1,Ce,2,2,"mat-icon",13),R.YNc(2,Ve,2,2,"mat-icon",13),R.qZA()),2&G){const _e=R.oxw().$implicit,Ue=R.oxw(2);R.xp6(1),R.Q6J("ngIf",!Ue.isActive(Ue.currentUrl,_e.showChildrenRegex)),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const tt=function(G,X){return{color:G,"border-color":X}};function rt(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"a",17),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw(4).navigate(Ut.url)}),R._uU(1),R.ALo(2,"translate"),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw(4);R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:"")("ngStyle",R.WLB(9,tt,Ue.linkTextColor,Ue.linkTextColor)),R.xp6(1),R.hij(" ",R.lcZ(2,7,_e.label)," ")}}function N(G,X){if(1&G&&(R.TgZ(0,"div",15),R.YNc(1,rt,3,12,"a",16),R.qZA()),2&G){const _e=R.oxw().$implicit;R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",null==_e?null:_e.children)}}function he(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"div"),R.TgZ(1,"a",9),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw(2).navigate(Ut.url)}),R._uU(2),R.ALo(3,"translate"),R.YNc(4,Xe,3,2,"span",10),R.qZA(),R.YNc(5,N,2,2,"div",11),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw(2);R.xp6(1),R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:"")("ngStyle",R.WLB(11,tt,Ue.linkTextColor,Ue.linkTextColor)),R.xp6(1),R.hij(" ",R.lcZ(3,9,_e.label)," "),R.xp6(2),R.Q6J("ngIf",_e.children),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}function D(G,X){if(1&G&&(R.TgZ(0,"div"),R.YNc(1,he,6,14,"div",8),R.qZA()),2&G){const _e=R.oxw();R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",_e.item.links)}}const S=function(G,X){return{background:G,"border-top":X}},I=function(G){return{color:G}},P=function(){return{color:"currentColor"}},i=function(G){return{background:G}};let r=(()=>{class G{constructor(_e,Ue){this.router=_e,this.store=Ue,this.expanded=!0,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.dividerStyle="1px solid "+this.store.get("theme","sidemenu_divider_color"),this.currentUrl=_e.url,_e.events.subscribe(wt=>{wt instanceof f.m2&&(this.currentUrl=wt.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(_e,Ue){return new RegExp(Ue).test(_e)}navigate(_e){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(_e)):this.router.navigate(_e)}}return G.\u0275fac=function(_e){return new(_e||G)(R.Y36(f.F0),R.Y36(ee.d6))},G.\u0275cmp=R.Xpm({type:G,selectors:[["app-side-menu-item"]],viewQuery:function(_e,Ue){if(1&_e&&R.Gf(He,5),2&_e){let wt;R.iGM(wt=R.CRH())&&(Ue.collapseDiv=wt.first)}},inputs:{item:"item",index:"index",showLinks:"showLinks",sideNav:"sideNav"},decls:12,vars:26,consts:[[1,"entity-menu-item"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","click"],["matRipple","",3,"perunWebAppsMiddleClickRouterLink"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngIf"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"],["class","ml-auto",4,"ngIf"],["class","entity-menu-item-sub-menu",4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],[1,"entity-menu-item-sub-menu"],["class","entity-menu-item-sub-menu-item clickable","matRipple","",3,"perunWebAppsMiddleClickRouterLink","activated","matRippleColor","ngClass","ngStyle","click",4,"ngFor","ngForOf"],["matRipple","",1,"entity-menu-item-sub-menu-item","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngClass","ngStyle","click"]],template:function(_e,Ue){1&_e&&(R.TgZ(0,"div",0),R.TgZ(1,"div",1),R.NdJ("click",function(){return Ue.toggle()}),R.TgZ(2,"div",2),R.TgZ(3,"a",3),R.TgZ(4,"div"),R._UZ(5,"mat-icon",4),R.qZA(),R.TgZ(6,"div",5),R._uU(7),R.ALo(8,"translate"),R.qZA(),R.qZA(),R.qZA(),R.qZA(),R.TgZ(9,"div"),R.TgZ(10,"div",6),R.YNc(11,D,2,2,"div",7),R.qZA(),R.qZA(),R.qZA()),2&_e&&(R.xp6(1),R.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(18,S,Ue.item.backgroundColorCss,Ue.index?Ue.dividerStyle:"none")),R.xp6(1),R.Gre("entity-menu-item-link ",Ue.item.labelClass,""),R.Q6J("perunWebAppsMiddleClickRouterLink",Ue.item.baseLink),R.xp6(1),R.Q6J("ngStyle",R.VKq(21,I,Ue.item.textColorCss)),R.xp6(2),R.Q6J("ngStyle",R.DdM(23,P))("svgIcon",Ue.item.icon),R.xp6(2),R.Oqu(R.lcZ(8,16,Ue.item.label)),R.xp6(2),R.Q6J("@openClose",Ue.expanded?"open":"closed"),R.xp6(1),R.Gre("side-entity-menu ",Ue.item.linksClass,""),R.Q6J("ngStyle",R.VKq(24,i,Ue.linkBgColor)),R.xp6(1),R.Q6J("ngIf",Ue.showLinks))},directives:[A.wG,e.PC,Oe.YH,k.Hw,e.O5,e.sg,e.mk],pipes:[Ie.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 40px;text-decoration:none;color:#fff;font-size:1rem;display:block}.activated[_ngcontent-%COMP%]{color:#313131!important;border-right:5px solid #313131}.entity-menu-item-header[_ngcontent-%COMP%]{padding:8px 5px 8px 25px;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;word-break:break-word}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}.entity-menu-item-sub-menu[_ngcontent-%COMP%]{overflow:hidden}.entity-menu-item-sub-menu-item[_ngcontent-%COMP%]{padding-left:4rem!important}"],data:{animation:[Te.BQ,Te.Ly]}}),G})(),p=(()=>{class G{transform(_e){if(void 0===_e.value)return"";switch(_e.type){case"java.lang.String":default:return _e.value;case"java.lang.Integer":case"java.lang.Boolean":return _e.value.toString();case"java.util.ArrayList":return this.whenValueIsArray(_e.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(_e.value)}}whenValueIsArray(_e){let Ue="";return _e.forEach(function(wt){Ue=Ue.concat(wt+", ")}),Ue}whenValueIsMap(_e){let Ue="";return _e.forEach((wt,Ut)=>{Ue=Ue.concat(Ut+": "+wt+", ")}),Ue}}return G.\u0275fac=function(_e){return new(_e||G)},G.\u0275pipe=R.Yjl({name:"anyToString",type:G,pure:!0}),G})();const o=["collapse"],t=function(){return{color:"linkTextColor"}};function n(G,X){1&G&&(R.TgZ(0,"mat-icon",12),R._uU(1,"keyboard_arrow_right"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,t))}function c(G,X){1&G&&(R.TgZ(0,"mat-icon",12),R._uU(1,"keyboard_arrow_down"),R.qZA()),2&G&&R.Q6J("ngStyle",R.DdM(1,t))}function u(G,X){if(1&G&&(R.TgZ(0,"span",10),R.YNc(1,n,2,2,"mat-icon",11),R.YNc(2,c,2,2,"mat-icon",11),R.qZA()),2&G){const _e=R.oxw().$implicit,Ue=R.oxw();R.xp6(1),R.Q6J("ngIf",!Ue.isActive(Ue.currentUrl,_e.showChildrenRegex)),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const y=function(G,X){return{color:G,"border-color":X}};function M(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"a",14),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw(3).navigate(Ut.url)}),R._uU(1),R.ALo(2,"translate"),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw(3);R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(9,y,Ue.linkTextColor,Ue.linkTextColor))("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:""),R.xp6(1),R.hij(" ",R.lcZ(2,7,_e.label)," ")}}function re(G,X){if(1&G&&(R.TgZ(0,"div"),R.YNc(1,M,3,12,"a",13),R.qZA()),2&G){const _e=R.oxw().$implicit;R.Q6J("@rollInOut",void 0),R.xp6(1),R.Q6J("ngForOf",null==_e?null:_e.children)}}function et(G,X){if(1&G){const _e=R.EpF();R.TgZ(0,"div"),R.TgZ(1,"a",7),R.NdJ("click",function(){const Ut=R.CHM(_e).$implicit;return R.oxw().navigate(Ut.url)}),R._uU(2),R.ALo(3,"translate"),R.YNc(4,u,3,2,"span",8),R.qZA(),R.YNc(5,re,2,2,"div",9),R.qZA()}if(2&G){const _e=X.$implicit,Ue=R.oxw();R.xp6(1),R.ekj("activated",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0===Ue.item.activatedClass),R.Q6J("perunWebAppsMiddleClickRouterLink",_e.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.WLB(11,y,Ue.linkTextColor,Ue.linkTextColor))("ngClass",Ue.isActive(Ue.currentUrl,_e.activatedRegex)&&void 0!==Ue.item.activatedClass?Ue.item.activatedClass:""),R.xp6(1),R.hij(" ",R.lcZ(3,9,_e.label)," "),R.xp6(2),R.Q6J("ngIf",_e.children),R.xp6(1),R.Q6J("ngIf",Ue.isActive(Ue.currentUrl,_e.showChildrenRegex))}}const yt=function(G){return{background:G}},pt=function(G){return{color:G}},Nt=function(){return{color:"currentColor"}};let It=(()=>{class G{constructor(_e,Ue){this.router=_e,this.store=Ue,this.id="",this.expanded=!1,this.linkBgColor=this.store.get("theme","sidemenu_item_links_bg_color"),this.linkTextColor=this.store.get("theme","sidemenu_item_links_text_color"),this.currentUrl=_e.url,_e.events.subscribe(wt=>{wt instanceof f.m2&&(this.currentUrl=wt.url)})}ngOnInit(){this.expanded=this.showOpen}ngOnChanges(){this.expanded=this.showOpen}toggle(){void 0!==this.item.baseLink?this.navigate(this.item.baseLink):this.expanded=!this.expanded}isActive(_e,Ue){return new RegExp(Ue).test(_e)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(_e){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(_e)):this.router.navigate(_e)}}return G.\u0275fac=function(_e){return new(_e||G)(R.Y36(f.F0),R.Y36(ee.d6))},G.\u0275cmp=R.Xpm({type:G,selectors:[["app-side-menu-root-item"]],viewQuery:function(_e,Ue){if(1&_e&&R.Gf(o,5),2&_e){let wt;R.iGM(wt=R.CRH())&&(Ue.collapseDiv=wt.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",id:"id",sideNav:"sideNav"},features:[R.TTD],decls:12,vars:28,consts:[[1,"entity-menu-item",3,"id"],["matRipple","",1,"entity-menu-item-header",3,"matRippleColor","ngStyle","perunWebAppsMiddleClickRouterLink","click"],[1,"entity-menu-item-label",3,"ngStyle"],[1,"perun-icon",3,"ngStyle","svgIcon"],[1,"ml-3"],[3,"ngStyle"],[4,"ngFor","ngForOf"],["matRipple","",1,"clickable","d-flex",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"],["class","ml-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto"],["class","perun-icon icon-beak",3,"ngStyle",4,"ngIf"],[1,"perun-icon","icon-beak",3,"ngStyle"],["matRipple","","class","pl-5 clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","activated","ngClass","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"perunWebAppsMiddleClickRouterLink","matRippleColor","ngStyle","ngClass","click"]],template:function(_e,Ue){1&_e&&(R.TgZ(0,"div",0),R.TgZ(1,"div",1),R.NdJ("click",function(){return Ue.toggle()}),R.TgZ(2,"div"),R.TgZ(3,"a",2),R.TgZ(4,"div"),R._UZ(5,"mat-icon",3),R.qZA(),R.TgZ(6,"div",4),R._uU(7),R.ALo(8,"translate"),R.qZA(),R.qZA(),R.qZA(),R.qZA(),R.TgZ(9,"div"),R.TgZ(10,"div",5),R.YNc(11,et,6,14,"div",6),R.qZA(),R.qZA(),R.qZA()),2&_e&&(R.s9C("id",Ue.id),R.xp6(1),R.ekj("root-header-activated",Ue.isActive(Ue.currentUrl,Ue.item.baseColorClassRegex)),R.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",R.VKq(21,yt,Ue.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",Ue.item.baseLink),R.xp6(1),R.Gre("entity-menu-item-link ",Ue.item.labelClass,""),R.xp6(1),R.Q6J("ngStyle",R.VKq(23,pt,Ue.item.textColorCss)),R.xp6(2),R.Q6J("ngStyle",R.DdM(25,Nt))("svgIcon",Ue.item.icon),R.xp6(2),R.Oqu(R.lcZ(8,19,Ue.item.label)),R.xp6(2),R.Q6J("@openClose",Ue.expanded?"open":"closed"),R.xp6(1),R.Gre("side-entity-menu ",Ue.item.linksClass,""),R.Q6J("ngStyle",R.VKq(26,yt,Ue.linkBgColor)),R.xp6(1),R.Q6J("ngForOf",Ue.item.links))},directives:[A.wG,e.PC,Oe.YH,k.Hw,e.sg,e.mk,e.O5],pipes:[Ie.X$],styles:[".entity-menu-item[_ngcontent-%COMP%]{width:300px}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px 8px 5px 32px;text-decoration:none;font-size:1rem;color:#fff;display:block}.side-entity-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:var(--side-link-hover)!important}.root-header-activated[_ngcontent-%COMP%]{background:var(--side-root-item-active)!important}.entity-menu-item-header[_ngcontent-%COMP%]{padding:.5rem .5rem .5rem 1rem;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.entity-menu-item-header[_ngcontent-%COMP%]:hover{background:var(--side-root-item-hover)!important}.entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;color:#fff}.entity-menu-item-label[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#fff}.entity-menu-item-link[_ngcontent-%COMP%]:hover{text-decoration:none}.entity-menu-item-icon[_ngcontent-%COMP%]{height:2rem}"],data:{animation:[Te.BQ,Te.Ly]}}),G})();var Zt=d(44409),mt=d(53435),Ht=d(63189),_t=d(37677),Je=d(387),Lt=d(11243),ht=d(19516),Rt=d(43586),qe=d(14623),Ye=d(9244),oe=d(28499);let Z=(()=>{class G{constructor(_e){this.translate=_e,_e.addLangs(["en","cs"])}}return G.\u0275fac=function(_e){return new(_e||G)(R.LFG(Ie.sK))},G.\u0275mod=R.oAB({type:G}),G.\u0275inj=R.cJS({providers:[p,_t.A],imports:[[e.ez,f.Bz,g.Bb,L.c,h.lN,ve.UX,ve.u5,k.Ps,de.SJ,E.To,Ie.aw.forChild({}),T.ot,j.JX,H.p0,Q.Nh,se.dp,T.ot,m.p9,b.Is,Le.LD,ae.ZX,ue.Cq,$.Cv,te.AV,ke.rP,s.FA,A.XK,ce.Fk,O.t,A.si,V.TU,ge.QW,Me.T5,Zt._t,ge.QW,Fe.Hi,ne.Tx,mt.Cl,Ht.r,Ne.g,Je.ez,Lt.r,ht.d4,Rt.Co,qe.ie,Ye.Je,oe.E3],Rt.Co,g.Bb,L.c,f.Bz,ve.UX,ve.u5,k.Ps,de.SJ,Ie.aw,j.JX,H.p0,Q.Nh,se.dp,T.ot,m.p9,b.Is,Le.LD,ae.ZX,ue.Cq,$.Cv,te.AV,ke.rP,s.FA,A.XK,ce.Fk,O.t,ge.QW,Me.T5,A.si,V.TU,Zt._t,Fe.Hi,Fe.Hi,E.To,ne.Tx,mt.Cl,mt.Cl,mt.Cl,Lt.r]}),G})();R.B6R(me.V,[It,e.sg,r,e.O5],[])},69024:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>b});var e=d(36908),f=d(9315),g=d(9244),T=d(19516),m=d(64080),A=d(5e3),s=d(51062);let b=(()=>{class O{constructor(h,k,L,V,$,ue,ce){this.translate=h,this.authResolver=k,this.store=L,this.apiRequest=V,this.attributesManager=$,this.notificator=ue,this.guiAuthResolver=ce,this.baseItemColor=this.store.get("theme","sidemenu_bg_color"),this.voBgColor=this.store.get("theme","sidemenu_vo_bg_color"),this.memberBgColor=this.store.get("theme","sidemenu_member_bg_color"),this.groupBgColor=this.store.get("theme","sidemenu_group_bg_color"),this.facilityBgColor=this.store.get("theme","sidemenu_facility_bg_color"),this.resourceBgColor=this.store.get("theme","sidemenu_resource_bg_color"),this.userBgColor=this.store.get("theme","sidemenu_user_bg_color"),this.serviceBgColor=this.store.get("theme","sidemenu_service_bg_color"),this.baseItemTextColor=this.store.get("theme","sidemenu_text_color"),this.voTextColor=this.store.get("theme","sidemenu_vo_text_color"),this.memberTextColor=this.store.get("theme","sidemenu_member_text_color"),this.groupTextColor=this.store.get("theme","sidemenu_group_text_color"),this.facilityTextColor=this.store.get("theme","sidemenu_facility_text_color"),this.resourceTextColor=this.store.get("theme","sidemenu_resource_text_color"),this.userTextColor=this.store.get("theme","sidemenu_user_text_color"),this.serviceTextColor=this.store.get("theme","sidemenu_service_text_color")}getFacilitiesManagementItem(){return{label:"MAIN_MENU.FACILITIES",colorClass:"base-item-color-activated",icon:"perun-facility-white",baseLink:["/facilities"],links:[],baseColorClass:"base-item-color",baseColorClassRegex:"^/facilities$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getAccessManagementItem(){return{label:"MAIN_MENU.ACCESS",colorClass:"base-item-color-activated",icon:"perun-vo",links:[],baseLink:["/organizations"],baseColorClass:"base-item-color",baseColorClassRegex:"^/organizations$",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor}}getHomeItem(){return{baseLink:["/home"],label:"MAIN_MENU.HOME",colorClass:"base-item-color-activated",icon:"perun-home-white",baseColorClass:"base-item-color",baseColorClassRegex:"^/home$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[]}}getUserItem(){return{baseLink:["/myProfile"],expandable:!1,label:"MAIN_MENU.MY_PROFILE",colorClass:"base-item-color-activated",icon:"perun-user",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:["/myProfile"],activatedRegex:"^/myProfile$"},{label:"MENU_ITEMS.USER.ORGANIZATIONS",url:["/myProfile/organizations"],activatedRegex:"^/myProfile/organizations$"},{label:"MENU_ITEMS.USER.GROUPS",url:["/myProfile/groups"],activatedRegex:"^/myProfile/groups$"},{label:"MENU_ITEMS.USER.ATTRIBUTES",url:["/myProfile/attributes"],activatedRegex:"^/myProfile/attributes$"},{label:"MENU_ITEMS.USER.ROLES",url:["/myProfile/roles"],activatedRegex:"/myProfile/roles"},{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:["/myProfile/service-identities"],activatedRegex:"^/myProfile/service-identities"},{label:"MENU_ITEMS.USER.SETTINGS",url:["/myProfile/settings"],activatedRegex:"^/myProfile/settings$",children:[{label:"MENU_ITEMS.USER.PASSWORD_RESET",url:["/myProfile/settings/passwordReset"],activatedRegex:"^/myProfile/settings/passwordReset"},{label:"MENU_ITEMS.USER.GUI_CONFIG",url:["/myProfile/settings/guiConfig"],activatedRegex:"/myProfile/settings/guiConfig"}],showChildrenRegex:"/myProfile/settings"}]}}getAdminItem(){return{baseLink:["/admin"],expandable:!1,label:"MAIN_MENU.ADMIN",colorClass:"base-item-color-activated",icon:"perun-perun-admin",baseColorClass:"base-item-color",baseColorClassRegex:"^/dont-use$",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.baseItemColor,textColorCss:this.baseItemTextColor,links:[{label:"MENU_ITEMS.ADMIN.OVERVIEW",url:["/admin"],activatedRegex:"^/admin$"},{label:"MENU_ITEMS.ADMIN.ATTRIBUTES",url:["/admin/attributes"],activatedRegex:"^/admin/attributes$"},{label:"MENU_ITEMS.ADMIN.USERS",url:["/admin/users"],activatedRegex:"^/admin/users$"},{label:"MENU_ITEMS.ADMIN.OWNERS",url:["/admin/owners"],activatedRegex:"^/admin/owners$"},{label:"MENU_ITEMS.ADMIN.SERVICES",url:["/admin/services"],activatedRegex:"^/admin/services$"},{label:"MENU_ITEMS.ADMIN.VISUALIZER",url:["/admin/visualizer"],activatedRegex:"^/admin/visualizer$",children:[{label:"MENU_ITEMS.VISUALIZER.ATTR_DEPENDENCIES",url:["/admin/visualizer/attrDependencies"],activatedRegex:"^/admin/visualizer/attrDependencies"},{label:this.translate.instant("MENU_ITEMS.VISUALIZER.USER_DESTINATION"),url:["/admin/visualizer/userDestinationRelationship"],activatedRegex:"^/admin/visualizer/userDestinationRelationship"}],showChildrenRegex:"/admin/visualizer"},{label:"MENU_ITEMS.ADMIN.EXT_SOURCES",url:["/admin/ext_sources"],activatedRegex:"^/admin/ext_sources$"},{label:"MENU_ITEMS.ADMIN.AUDIT_LOG",url:["/admin/audit_log"],activatedRegex:"^/admin/audit_log$"}]}}parseFacility(h){return{label:h.name,baseLink:[`/facilities/${h.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(h),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(h,k){const L=(new T.r5).transform(h,k);return{label:h.name,baseLink:[L],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(L,k?"/organizations":"/facilities",h),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getResourceLinks(h,k,L){const V=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[h],activatedRegex:`${k}/\\d+/resources/\\d+$`}];return this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[h,"groups"],activatedRegex:`${k}/\\d+/resources/\\d+/groups$`}),this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[h,"services"],activatedRegex:`${k}/\\d+/resources/\\d+/services$`}),this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[h,"members"],activatedRegex:`${k}/\\d+/resources/\\d+/members$`}),this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[L])&&V.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[h,"tags"],activatedRegex:`${k}/\\d+/resources/\\d+/tags$`}),V.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[h,"attributes"],activatedRegex:`${k}/\\d+/resources/\\d+/attributes$`}),this.authResolver.isManagerPagePrivileged(L)&&V.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[h,"settings"],activatedRegex:`${k}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[h,"settings","managers"],activatedRegex:`${k}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${k}/\\d+/resources/\\d+/settings`}),V}parseGroup(h){return{label:h.name,baseLink:[`/organizations/${h.voId}/groups/${h.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(h),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(h){return{label:h.name,baseLink:[`/organizations/${h.id}`],links:this.getVoLinks(h),colorClass:"vo-item",icon:"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(h,k){return{label:(0,g.bD)(h.user),baseLink:[`/organizations/${h.voId}/members/${h.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(h,k),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(h,k,L){return{label:(0,g.bD)(h),baseLink:[k],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(h,k,L),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseServiceIdentity(h){return{label:(0,g.bD)(h),baseLink:[`/myProfile/service-identities/${h.id}`],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:[`/myProfile/service-identities/${h.id}`],activatedRegex:"/myProfile/service-identities/\\d+$"},{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`/myProfile/service-identities/${h.id}/associated-users`],activatedRegex:"/myProfile/service-identities/\\d+/associated-users"}],colorClass:"user-bg-color",icon:"perun-service-identity",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(h){return{label:h.name,baseLink:[`/admin/services/${h.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${h.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${h.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${h.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(h){const k=[];if(k.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${h.id}`],activatedRegex:"/organizations/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${h.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${h.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.authResolver.isAuthorized("getRichResources_Vo_policy",[h])){const ue=[{label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${h.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}];this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[h])&&ue.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${h.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.authResolver.isAuthorized("getResourcesState_Vo_policy",[h])&&ue.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${h.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),k.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${h.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:ue,showChildrenRegex:"/organizations/\\d+/resources"})}this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[h])&&k.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${h.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[h])&&k.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${h.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[h])&&k.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${h.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),k.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.guiAuthResolver.isAuthorized("getMembersCount_Vo_Status_policy",[h])&&this.guiAuthResolver.isAuthorized("getMembersCount_Vo_policy",[h])&&k.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"});const L=this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[h]),V=this.authResolver.isManagerPagePrivileged(h),$=this.authResolver.isThisVoAdminOrObserver(h.id);if(V||L||$){const ue=[];$&&ue.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),V&&ue.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),$&&ue.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),$&&ue.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),L&&ue.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),k.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${h.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:ue,showChildrenRegex:"/organizations/\\d+/settings"})}return k}getUserLinks(h,k,L){const V=[];return V.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[k],activatedRegex:`${L}$`}),V.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${k}/organizations`],activatedRegex:`${L}/organizations`}),V.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${k}/groups`],activatedRegex:`${L}/groups`}),V.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${k}/accounts`],activatedRegex:`${L}/accounts`}),V.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${k}/identities`],activatedRegex:`${L}/identities`}),V.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${k}/facilities`],activatedRegex:`${L}/facilities`}),V.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${k}/resources`],activatedRegex:`${L}/resources`}),V.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${k}/attributes`],activatedRegex:`${L}/attributes`}),V.push({label:"MENU_ITEMS.USER.ROLES",url:[`${k}/roles`],activatedRegex:`^${k}/roles`}),V.push(h.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${k}/associated-users`],activatedRegex:`^${k}/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${k}/service-identities`],activatedRegex:`^${k}/service-identities`}),V}getMemberLinks(h,k){const L=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${h.voId}/members/${h.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.authResolver.isAuthorized("getMemberGroups_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`//organizations/${h.voId}/members/${h.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`//organizations/${h.voId}/members/${h.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[k])&&L.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${h.voId}/members/${h.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),L.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${h.voId}/members/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),L}getFacilityLinks(h){const k=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${h.id}`],activatedRegex:"/facilities/\\d+$"}];this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${h.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${h.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${h.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${h.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[h])&&k.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${h.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.authResolver.isFacilityAdmin()&&k.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${h.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),k.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",h.id,"attributes"],activatedRegex:"/facilities/\\d+/attributes$"});const L=this.authResolver.isAuthorized("getBansForFacility_int_policy",[h]),V=this.authResolver.isAuthorized("getRichAdmins_Facility_List_boolean_boolean_policy",[h]),$=this.authResolver.isAuthorized("getOwners_Facility_policy",[h]),ue=this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[h]);if(L||V||$||ue){const ce=[];$&&ce.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",h.id,"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),V&&ce.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",h.id,"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),ue&&ce.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${h.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),L&&ce.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",h.id,"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),k.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",h.id,"settings"],activatedRegex:"/facilities/\\d+/settings$",children:ce,showChildrenRegex:"/facilities/\\d+/settings"})}return k}getGroupLinks(h){const k=[],L=[];k.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${h.voId}/groups/${h.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.authResolver.isAuthorized("getCompleteRichMembers_Group_List_boolean_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${h.voId}/groups/${h.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[h])&&"members"!==h.name&&k.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${h.voId}/groups/${h.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[h])&&k.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),k.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${h.voId}/groups/${h.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"});const V=this.guiAuthResolver.isAuthorized("getGroupMembersCount_Group_policy",[h]),$=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[h]),ue=this.guiAuthResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[h]);return V&&$&&ue&&k.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${h.voId}/groups/${h.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(h.id,m.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{L.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${h.voId}/groups/${h.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},ce=>{"HttpErrorResponse"!==ce.name&&this.notificator.showRPCError(ce)}),this.authResolver.isManagerPagePrivileged(h)&&L.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${h.voId}/groups/${h.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${h.voId}/groups/${h.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[h])&&L.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${h.voId}/groups/${h.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==L.length&&k.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${h.voId}/groups/${h.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:L,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),k}}return O.\u0275fac=function(h){return new(h||O)(A.LFG(s.sK),A.LFG(e.x4),A.LFG(e.d6),A.LFG(e.F5),A.LFG(f.H8),A.LFG(e.V6),A.LFG(e.x4))},O.\u0275prov=A.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},73228:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>ue});var e=d(72077),f=d(69024),g=d(36908),T=d(36769),m=d(5e3),A=d(77968);function s(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",10),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)}}function b(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.accessItems.length-1)}}function O(ce,Le){if(1&ce&&m._UZ(0,"app-side-menu-root-item",2),2&ce){const de=m.oxw();m.Q6J("id","facilities-item-btn")("sideNav",de.sideNav)("item",de.facilityItem)}}function E(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.facilityItems.length-1)}}function h(ce,Le){if(1&ce&&(m.TgZ(0,"div"),m.YNc(1,E,2,5,"div",3),m.qZA()),2&ce){const de=m.oxw();m.xp6(1),m.Q6J("ngForOf",de.facilityItems)}}function k(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw();m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",ke===ae.userItems.length-1)}}function L(ce,Le){if(1&ce&&m._UZ(0,"app-side-menu-root-item",7),2&ce){const de=m.oxw();m.Q6J("id","admin-item-btn")("sideNav",de.sideNav)("showOpen",de.adminItemOpened)("item",de.adminItem)}}function V(ce,Le){if(1&ce&&(m.TgZ(0,"div",9),m._UZ(1,"app-side-menu-item",11),m.qZA()),2&ce){const de=Le.$implicit,ke=Le.index,ae=m.oxw(2);m.Q6J("@rollInOut",void 0),m.xp6(1),m.Q6J("sideNav",ae.sideNav)("item",de)("index",ke)("showLinks",!0)}}function $(ce,Le){if(1&ce&&(m.TgZ(0,"div"),m.YNc(1,V,2,5,"div",3),m.qZA()),2&ce){const de=m.oxw();m.xp6(1),m.Q6J("ngForOf",de.adminItems)}}let ue=(()=>{class ce{constructor(de,ke,ae){this.sideMenuService=de,this.sideMenuItemService=ke,this.authResolver=ae,this.accessItems=[],this.facilityItems=[],this.adminItems=[],this.homeItems=[],this.userItems=[],this.accessItem=this.sideMenuItemService.getAccessManagementItem(),this.adminItem=this.sideMenuItemService.getAdminItem(),this.facilityItem=this.sideMenuItemService.getFacilitiesManagementItem(),this.homeItem=this.sideMenuItemService.getHomeItem(),this.userItem=this.sideMenuItemService.getUserItem(),this.mobileView=!0,this.adminItemOpened=!1,this.userItemOpened=!1}ngOnInit(){this.mobileView=window.innerWidth<=e.y.minWidth,this.mobileView?this.sideNav.close():this.sideNav.open(),this.sideMenuService.facilityItemsChange.subscribe(de=>{this.setFacilityItems(de)}),this.sideMenuService.accessItemsChange.subscribe(de=>{this.setAccessItems(de)}),this.sideMenuService.adminItemsChange.subscribe(de=>{this.setAdminItems(de)}),this.sideMenuService.userItemsChange.subscribe(de=>{this.setUserItems(de)}),this.sideMenuService.homeItemsChange.subscribe(de=>{this.setHomeItems(de)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.adminItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,this.setNewItems(this.homeItems,[]),this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,this.setNewItems(this.accessItems,[]),this.setNewItems(this.facilityItems,[]),this.setNewItems(this.adminItems,[])}setHomeItems(de){this.resetExceptHome(),this.setNewItems(this.homeItems,de)}setFacilityItems(de){this.resetExceptFacility(),this.setNewItems(this.facilityItems,de)}setAccessItems(de){this.resetExceptAccess(),this.setNewItems(this.accessItems,de)}setUserItems(de){this.userItemOpened=0===de.length,this.resetExceptUser(),this.setNewItems(this.userItems,de)}setAdminItems(de){this.adminItemOpened=0===de.length,this.resetExceptAdmin(),this.setNewItems(this.adminItems,de)}setNewItems(de,ke){const ae=de.length>ke.length?de.length:ke.length;for(let j=0;jde.length-1)de.push(ke[j]);else{if(j>ke.length-1){const H=de.length;for(let Q=0;Q{"use strict";d.d(be,{b:()=>Zt});var e=d(5e3),f=d(44409),g=d(48966),T=d(47423),m=d(51062);let A=(()=>{class mt{constructor(_t){this.dialogRef=_t}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return mt.\u0275fac=function(_t){return new(_t||mt)(e.Y36(g.so))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["app-delete-application-form-item-dialog"]],decls:20,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"pb-2","font-weight-bold"],[1,"pb-4","pt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-application-form-item-dialog",1,"ml-2",3,"click"]],template:function(_t,Je){1&_t&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.TgZ(3,"div",1),e.TgZ(4,"div",2),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"div",3),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.qZA(),e.TgZ(13,"div",4),e.TgZ(14,"button",5),e.NdJ("click",function(){return Je.onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",6),e.NdJ("click",function(){return Je.submit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.qZA()),2&_t&&(e.xp6(1),e.Oqu(e.lcZ(2,6,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.TITLE")),e.xp6(4),e.hij(" ",e.lcZ(6,8,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_1")," "),e.xp6(3),e.Oqu(e.lcZ(9,10,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_2")),e.xp6(3),e.Oqu(e.lcZ(12,12,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.INFO_3")),e.xp6(4),e.hij(" ",e.lcZ(16,14,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.CANCEL_BUTTON")," "),e.xp6(3),e.hij(" ",e.lcZ(19,16,"DIALOGS.DELETE_APPLICATION_FORM_ITEM.SUBMIT_BUTTON")," "))},directives:[g.uh,g.xY,g.H8,T.lW],pipes:[m.X$],styles:[""]}),mt})();var s=d(36908),b=d(83491),O=d(9244),E=d(30325),h=d(69808),k=d(20773),L=d(32075),V=d(25245),$=d(29772),ue=d(93075),ce=d(98380),Le=d(57706),de=d(64597);const ke=["table"];function ae(mt,Ht){1&mt&&e._UZ(0,"mat-spinner",3)}function j(mt,Ht){1&mt&&e._UZ(0,"th",24)}function H(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("mousedown",function(){return e.CHM(_t),e.oxw(2).dragDisabled=!1}),e.TgZ(2,"mat-icon"),e._uU(3,"drag_indicator"),e.qZA(),e.qZA(),e.qZA()}}function Q(mt,Ht){1&mt&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")," "))}function te(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.AsE(" ",_t.shortname,"",_t.required?"*":""," ")}}function se(mt,Ht){1&mt&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")," "))}function ge(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e._uU(1),e.ALo(2,"applicationFormItemType"),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,_t.type)," ")}}function Ne(mt,Ht){1&mt&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")," "))}function Fe(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"lock "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",Je.disabledTooltip(_t)),e.xp6(3),e.hij(" ",Je.disabledHiddenDependency(_t,_t.disabled,_t.disabledDependencyItemId)," ")}}function ne(mt,Ht){if(1&mt&&(e.TgZ(0,"td",28),e.YNc(1,Fe,5,2,"div",29),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==_t.disabled)}}function Me(mt,Ht){1&mt&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")," "))}function ve(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"mat-icon",30),e._uU(2,"visibility_off "),e.qZA(),e._UZ(3,"br"),e._uU(4),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",Je.hiddenTooltip(_t)),e.xp6(3),e.hij(" ",Je.disabledHiddenDependency(_t,_t.hidden,_t.hiddenDependencyItemId)," ")}}function me(mt,Ht){if(1&mt&&(e.TgZ(0,"td",28),e.YNc(1,ve,5,2,"div",29),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==_t.hidden)}}function Te(mt,Ht){1&mt&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")," "))}function ee(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function R(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",32),e._UZ(3,"br"),e._UZ(4,"input",31),e.qZA(),e.qZA())}function Oe(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"input",35),e._uU(2),e._UZ(3,"br"),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(2),e.hij(" ",_t,"")}}function Ie(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,Oe,4,1,"div",33),e._UZ(3,"input",34),e.ALo(4,"translate"),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",Je.getLocalizedOptions(_t)),e.xp6(1),e.s9C("value",e.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function He(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"span",36),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",Je.getLocalizedLabel(_t),e.oJD)}}function fe(mt,Ht){if(1&mt&&(e.TgZ(0,"option"),e._uU(1),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.hij(" ",_t," ")}}function Ce(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"select"),e.YNc(2,fe,2,1,"option",33),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",Je.getLocalizedOptions(_t))}}function Ve(mt,Ht){1&mt&&(e.TgZ(0,"div"),e._UZ(1,"textarea"),e.qZA())}function Xe(mt,Ht){if(1&mt&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.hij(" ",_t," ")}}function tt(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function rt(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"select",37),e.NdJ("ngModelChange",function(Lt){e.CHM(_t);const ht=e.oxw().$implicit;return e.oxw(2).mapForCombobox[ht.id]=Lt}),e.YNc(2,Xe,2,1,"option",38),e.TgZ(3,"option",39),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA(),e.YNc(6,tt,3,0,"div",29),e.qZA()}if(2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(1),e.Q6J("ngModel",Je.mapForCombobox[_t.id]),e.xp6(1),e.Q6J("ngForOf",Je.getLocalizedOptions(_t)),e.xp6(2),e.hij(" ",e.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),e.xp6(2),e.Q6J("ngIf","true"===Je.mapForCombobox[_t.id])}}function N(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"input",41),e._uU(2),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(2),e.hij(" ",_t," ")}}function he(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,N,3,1,"div",33),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",Je.getLocalizedOptions(_t))}}function D(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.hij(" ",Je.getLocalizedLabel(_t)," ")}}function S(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"select",43),e.TgZ(2,"option",44),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"option",45),e._uU(6,"(GMT -12:00) Eniwetok, Kwajalein"),e.qZA(),e.TgZ(7,"option",46),e._uU(8,"(GMT -11:00) Midway Island, Samoa"),e.qZA(),e.TgZ(9,"option",47),e._uU(10,"(GMT -10:00) Hawaii"),e.qZA(),e.TgZ(11,"option",48),e._uU(12,"(GMT -9:30) Taiohae"),e.qZA(),e.TgZ(13,"option",49),e._uU(14,"(GMT -9:00) Alaska"),e.qZA(),e.TgZ(15,"option",50),e._uU(16,"(GMT -8:00) Pacific Time (US & Canada)"),e.qZA(),e.TgZ(17,"option",51),e._uU(18,"(GMT -7:00) Mountain Time (US & Canada)"),e.qZA(),e.TgZ(19,"option",52),e._uU(20," (GMT -6:00) Central Time (US & Canada), Mexico City "),e.qZA(),e.TgZ(21,"option",53),e._uU(22," (GMT -5:00) Eastern Time (US & Canada), Bogota, Lima "),e.qZA(),e.TgZ(23,"option",54),e._uU(24,"(GMT -4:30) Caracas"),e.qZA(),e.TgZ(25,"option",55),e._uU(26,"(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz"),e.qZA(),e.TgZ(27,"option",56),e._uU(28,"(GMT -3:30) Newfoundland"),e.qZA(),e.TgZ(29,"option",57),e._uU(30,"(GMT -3:00) Brazil, Buenos Aires, Georgetown"),e.qZA(),e.TgZ(31,"option",58),e._uU(32,"(GMT -2:00) Mid-Atlantic"),e.qZA(),e.TgZ(33,"option",59),e._uU(34,"(GMT -1:00) Azores, Cape Verde Islands"),e.qZA(),e.TgZ(35,"option",60),e._uU(36," (GMT) Western Europe Time, London, Lisbon, Casablanca "),e.qZA(),e.TgZ(37,"option",61),e._uU(38,"(GMT +1:00) Brussels, Copenhagen, Madrid, Paris"),e.qZA(),e.TgZ(39,"option",62),e._uU(40,"(GMT +2:00) Kaliningrad, South Africa"),e.qZA(),e.TgZ(41,"option",63),e._uU(42,"(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg"),e.qZA(),e.TgZ(43,"option",64),e._uU(44,"(GMT +3:30) Tehran"),e.qZA(),e.TgZ(45,"option",65),e._uU(46,"(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi"),e.qZA(),e.TgZ(47,"option",66),e._uU(48,"(GMT +4:30) Kabul"),e.qZA(),e.TgZ(49,"option",67),e._uU(50," (GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent "),e.qZA(),e.TgZ(51,"option",68),e._uU(52,"(GMT +5:30) Bombay, Calcutta, Madras, New Delhi"),e.qZA(),e.TgZ(53,"option",69),e._uU(54,"(GMT +5:45) Kathmandu, Pokhara"),e.qZA(),e.TgZ(55,"option",70),e._uU(56,"(GMT +6:00) Almaty, Dhaka, Colombo"),e.qZA(),e.TgZ(57,"option",71),e._uU(58,"(GMT +6:30) Yangon, Mandalay"),e.qZA(),e.TgZ(59,"option",72),e._uU(60,"(GMT +7:00) Bangkok, Hanoi, Jakarta"),e.qZA(),e.TgZ(61,"option",73),e._uU(62,"(GMT +8:00) Beijing, Perth, Singapore, Hong Kong"),e.qZA(),e.TgZ(63,"option",74),e._uU(64,"(GMT +8:45) Eucla"),e.qZA(),e.TgZ(65,"option",75),e._uU(66,"(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk"),e.qZA(),e.TgZ(67,"option",76),e._uU(68,"(GMT +9:30) Adelaide, Darwin"),e.qZA(),e.TgZ(69,"option",77),e._uU(70,"(GMT +10:00) Eastern Australia, Guam, Vladivostok"),e.qZA(),e.TgZ(71,"option",78),e._uU(72,"(GMT +10:30) Lord Howe Island"),e.qZA(),e.TgZ(73,"option",79),e._uU(74,"(GMT +11:00) Magadan, Solomon Islands, New Caledonia"),e.qZA(),e.TgZ(75,"option",80),e._uU(76,"(GMT +11:30) Norfolk Island"),e.qZA(),e.TgZ(77,"option",81),e._uU(78,"(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"),e.qZA(),e.TgZ(79,"option",82),e._uU(80,"(GMT +12:45) Chatham Islands"),e.qZA(),e.TgZ(81,"option",83),e._uU(82,"(GMT +13:00) Apia, Nukualofa"),e.qZA(),e.TgZ(83,"option",84),e._uU(84,"(GMT +14:00) Line Islands, Tokelau"),e.qZA(),e.qZA(),e.qZA()),2&mt&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "))}function I(mt,Ht){if(1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&mt){const _t=e.oxw().$implicit,Je=e.oxw(2);e.xp6(2),e.hij(" ",Je.getLocalizedLabel(_t)," ")}}function P(mt,Ht){1&mt&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",41),e._uU(3," example group1 "),e._UZ(4,"br"),e._UZ(5,"input",41),e._uU(6," example group2 "),e._UZ(7,"br"),e._UZ(8,"input",41),e._uU(9," example group3 "),e.qZA(),e.qZA())}function i(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,ee,3,0,"div",29),e.YNc(2,R,5,0,"div",29),e.YNc(3,Ie,5,4,"div",29),e.YNc(4,He,2,1,"div",29),e.YNc(5,Ce,3,1,"div",29),e.YNc(6,Ve,2,0,"div",29),e.YNc(7,rt,7,6,"div",29),e.YNc(8,he,3,1,"div",29),e.YNc(9,D,3,1,"div",29),e.YNc(10,S,85,3,"div",29),e.YNc(11,I,3,1,"div",29),e.YNc(12,P,10,0,"div",29),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","TEXTFIELD"===_t.type||"VALIDATED_EMAIL"===_t.type||"USERNAME"===_t.type),e.xp6(1),e.Q6J("ngIf","PASSWORD"===_t.type),e.xp6(1),e.Q6J("ngIf","RADIO"===_t.type),e.xp6(1),e.Q6J("ngIf","HEADING"===_t.type||"HTML_COMMENT"===_t.type),e.xp6(1),e.Q6J("ngIf","SELECTIONBOX"===_t.type),e.xp6(1),e.Q6J("ngIf","TEXTAREA"===_t.type),e.xp6(1),e.Q6J("ngIf","COMBOBOX"===_t.type),e.xp6(1),e.Q6J("ngIf","CHECKBOX"===_t.type),e.xp6(1),e.Q6J("ngIf","SUBMIT_BUTTON"===_t.type),e.xp6(1),e.Q6J("ngIf","TIMEZONE"===_t.type),e.xp6(1),e.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===_t.type),e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===_t.type)}}function r(mt,Ht){1&mt&&e._UZ(0,"th",24)}function p(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){return e.CHM(_t),e.oxw(3).openManagingGroups()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"supervised_user_circle"),e.qZA(),e.qZA()}2&mt&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function o(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,p,4,3,"button",85),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===_t.type&&!_t.forDelete)}}function t(mt,Ht){1&mt&&e._UZ(0,"th",24)}function n(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",89),e.NdJ("click",function(){e.CHM(_t);const Lt=e.oxw().$implicit;return e.oxw(2).edit(Lt)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"edit"),e.qZA(),e.qZA()}2&mt&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function c(mt,Ht){1&mt&&(e.TgZ(0,"div",90),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function u(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,n,4,3,"button",87),e.YNc(2,c,3,3,"div",88),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf",!_t.forDelete),e.xp6(1),e.Q6J("ngIf",_t.forDelete)}}function y(mt,Ht){1&mt&&e._UZ(0,"th",24)}function M(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",92),e.NdJ("click",function(){e.CHM(_t);const Lt=e.oxw().$implicit;return e.oxw(2).delete(Lt)}),e.ALo(1,"multiWordDataCy"),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4,"delete"),e.qZA(),e.qZA()}if(2&mt){const _t=e.oxw().$implicit;e.Q2q("data-cy","",e.lcZ(1,2,_t.shortname),"-delete"),e.s9C("matTooltip",e.lcZ(2,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}}function re(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"button",86),e.NdJ("click",function(){e.CHM(_t);const Lt=e.oxw().$implicit;return e.oxw(2).restore(Lt)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"settings_backup_restore"),e.qZA(),e.qZA()}2&mt&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function et(mt,Ht){if(1&mt&&(e.TgZ(0,"td",25),e.YNc(1,M,5,6,"button",91),e.YNc(2,re,4,3,"button",85),e.qZA()),2&mt){const _t=Ht.$implicit;e.xp6(1),e.Q6J("ngIf",!_t.forDelete),e.xp6(1),e.Q6J("ngIf",_t.forDelete)}}function yt(mt,Ht){1&mt&&e._UZ(0,"tr",93)}function pt(mt,Ht){if(1&mt&&e._UZ(0,"tr",94),2&mt){const _t=Ht.$implicit,Je=e.oxw(2);e.ekj("make-green",_t.id<=0)("make-red",_t.forDelete)("make-yellow",-1!==Je.itemsChanged.indexOf(_t.id)&&!_t.forDelete&&_t.id>0),e.Q6J("cdkDragData",_t)}}function Nt(mt,Ht){if(1&mt){const _t=e.EpF();e.TgZ(0,"div",4),e.TgZ(1,"div",5),e.TgZ(2,"div",6),e.TgZ(3,"table",7,8),e.NdJ("cdkDropListDropped",function(Lt){return e.CHM(_t),e.oxw().drop(Lt)}),e.ynx(5,9),e.YNc(6,j,1,0,"th",10),e.YNc(7,H,4,0,"td",11),e.BQk(),e.ynx(8,12),e.YNc(9,Q,3,3,"th",10),e.YNc(10,te,2,2,"td",11),e.BQk(),e.ynx(11,13),e.YNc(12,se,3,3,"th",10),e.YNc(13,ge,3,3,"td",11),e.BQk(),e.ynx(14,14),e.YNc(15,Ne,3,3,"th",15),e.YNc(16,ne,2,1,"td",16),e.BQk(),e.ynx(17,17),e.YNc(18,Me,3,3,"th",15),e.YNc(19,me,2,1,"td",16),e.BQk(),e.ynx(20,18),e.YNc(21,Te,3,3,"th",10),e.YNc(22,i,13,12,"td",11),e.BQk(),e.ynx(23,19),e.YNc(24,r,1,0,"th",10),e.YNc(25,o,2,1,"td",11),e.BQk(),e.ynx(26,20),e.YNc(27,t,1,0,"th",10),e.YNc(28,u,3,2,"td",11),e.BQk(),e.ynx(29,21),e.YNc(30,y,1,0,"th",10),e.YNc(31,et,3,2,"td",11),e.BQk(),e.YNc(32,yt,1,0,"tr",22),e.YNc(33,pt,1,7,"tr",23),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&mt){const _t=e.oxw();e.xp6(3),e.Q6J("cdkDropListDisabled",_t.dragDisabled)("dataSource",_t.dataSource),e.xp6(29),e.Q6J("matHeaderRowDef",_t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",_t.displayedColumns)}}function It(mt,Ht){1&mt&&(e.TgZ(0,"app-alert",95),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&mt&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let Zt=(()=>{class mt{constructor(_t,Je,Lt,ht){this.dialog=_t,this.notificator=Je,this.router=Lt,this.translate=ht,this.applicationFormItems=[],this.displayedColumns=["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"],this.applicationFormItemsChange=new e.vpe,this.itemsChanged=[],this.dataSource=this.applicationFormItems,this.mapForCombobox=new Map,this.dragDisabled=!0}ngOnInit(){this.ifEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_EMPTY"),this.ifPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IF_PREFILLED"),this.alwaysDisabled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_DISABLED_HINT"),this.alwaysHidden=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.ALWAYS_HIDDEN_HINT"),this.isDisabledIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.DISABLED_IF_HINT"),this.isHiddenIf=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.HIDDEN_IF_HINT"),this.isEmpty=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_EMPTY_HINT"),this.isPrefilled=this.translate.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HIDDEN_ICON.IS_PREFILLED_HINT")}ngOnChanges(){this.dataSource=this.applicationFormItems,this.refreshApplicationForm&&(this.itemsChanged=[])}disabledHiddenDependency(_t,Je,Lt){let ht="";if("IF_EMPTY"===Je||"IF_PREFILLED"===Je){const Rt=null===Lt?"":this.applicationFormItems.find(qe=>qe.id===Lt).shortname;ht="IF_EMPTY"===Je?`(${this.ifEmpty} ${Rt})`:`(${this.ifPrefilled} ${Rt})`}return ht}disabledTooltip(_t){let Je;switch(_t.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return Je=null===_t.disabledDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${Je} ${this.isEmpty}`;case"IF_PREFILLED":return Je=null===_t.disabledDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${Je} ${this.isPrefilled}`}}hiddenTooltip(_t){let Je;switch(_t.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return Je=null===_t.hiddenDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${Je} ${this.isEmpty}`;case"IF_PREFILLED":return Je=null===_t.hiddenDependencyItemId?"":this.applicationFormItems.find(Lt=>Lt.id===_t.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${Je} ${this.isPrefilled}`}}edit(_t){const Je=(0,O.kZ)();Je.width="600px",Je.height="600px",Je.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:_t,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(b._,Je).afterClosed().subscribe(ht=>{ht&&(this.itemsChanged.push(_t.id),this.applicationFormItemsChange.emit())})}delete(_t){const Je=(0,O.kZ)();Je.width="500px",this.dialog.open(A,Je).afterClosed().subscribe(ht=>{ht&&(_t.forDelete=!0,0===_t.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(_t),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(_t){this.dragDisabled=!0;const Je=this.applicationFormItems.indexOf(_t.item.data);(0,f.bA)(this.applicationFormItems,Je,_t.currentIndex),this.itemsChanged.push(this.applicationFormItems[_t.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(_t){if(_t.i18n[this.translate.getDefaultLang()]){const Je=_t.i18n[this.translate.getDefaultLang()].options;if(null!==Je&&""!==Je){const Lt=[];for(const ht of Je.split("|"))Lt.push(ht.split("#")[1]);return Lt}}return[]}getLocalizedLabel(_t){return _t.i18n[this.translate.getDefaultLang()]?_t.i18n[this.translate.getDefaultLang()].label:_t.shortname}restore(_t){_t.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return mt.\u0275fac=function(_t){return new(_t||mt)(e.Y36(g.uw),e.Y36(s.V6),e.Y36(E.F0),e.Y36(m.sK))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["app-application-form-list"]],viewQuery:function(_t,Je){if(1&_t&&e.Gf(ke,5),2&_t){let Lt;e.iGM(Lt=e.CRH())&&(Je.table=Lt.first)}},inputs:{loading:"loading",applicationForm:"applicationForm",applicationFormItems:"applicationFormItems",theme:"theme",displayedColumns:"displayedColumns",refreshApplicationForm:"refreshApplicationForm"},outputs:{applicationFormItemsChange:"applicationFormItemsChange"},features:[e.TTD],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"card","mt-2"],[1,"card-body","table-theme"],[1,"overflow-auto"],["cdkDropList","","cdkDropListData","dataSource","mat-table","",1,"w-100",3,"cdkDropListDisabled","dataSource","cdkDropListDropped"],["table",""],["matColumnDef","drag"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortname"],["matColumnDef","type"],["matColumnDef","disabled"],["class","center","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","hidden"],["matColumnDef","preview"],["matColumnDef","managegroups"],["matColumnDef","edit"],["matColumnDef","delete"],["mat-header-row","",4,"matHeaderRowDef"],["cdkDrag","","mat-row","",3,"cdkDragData","make-green","make-red","make-yellow",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"mousedown"],["mat-header-cell","",1,"center"],["mat-cell","",1,"center"],[4,"ngIf"],[1,"pointer",3,"matTooltip"],["type","text"],["type","text",1,"mb-1"],[4,"ngFor","ngForOf"],["type","reset",3,"value"],["name","temp","type","radio"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["selected","","value","false",4,"ngFor","ngForOf"],["value","true"],["selected","","value","false"],["type","checkbox"],["color","accent","mat-flat-button",""],["id","timezone-offset","name","timezone_offset",1,"span5"],["selected","selected","value","-12:00"],["value","-12:00"],["value","-11:00"],["value","-10:00"],["value","-09:50"],["value","-09:00"],["value","-08:00"],["value","-07:00"],["value","-06:00"],["value","-05:00"],["value","-04:50"],["value","-04:00"],["value","-03:50"],["value","-03:00"],["value","-02:00"],["value","-01:00"],["value","+00:00"],["value","+01:00"],["value","+02:00"],["value","+03:00"],["value","+03:50"],["value","+04:00"],["value","+04:50"],["value","+05:00"],["value","+05:50"],["value","+05:75"],["value","+06:00"],["value","+06:50"],["value","+07:00"],["value","+08:00"],["value","+08:75"],["value","+09:00"],["value","+09:50"],["value","+10:00"],["value","+10:50"],["value","+11:00"],["value","+11:50"],["value","+12:00"],["value","+12:75"],["value","+13:00"],["value","+14:00"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["class","ml-auto","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["class","font-weight-bold",4,"ngIf"],["mat-icon-button","",1,"ml-auto",3,"matTooltip","click"],[1,"font-weight-bold"],["color","warn","mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["color","warn","mat-icon-button","",3,"matTooltip","click"],["mat-header-row",""],["cdkDrag","","mat-row","",3,"cdkDragData"],["alert_type","warn"]],template:function(_t,Je){1&_t&&(e.YNc(0,ae,1,0,"mat-spinner",0),e.YNc(1,Nt,34,4,"div",1),e.YNc(2,It,3,3,"app-alert",2)),2&_t&&(e.Q6J("ngIf",Je.loading),e.xp6(1),e.Q6J("ngIf",0!==Je.applicationFormItems.length&&!Je.loading),e.xp6(1),e.Q6J("ngIf",0===Je.applicationFormItems.length&&!Je.loading))},directives:[h.O5,k.$g,L.BZ,f.Wj,L.w1,L.fO,L.ge,L.Dz,L.ev,T.lW,V.Hw,$.gM,ue._Y,ue.JL,ue.F,h.sg,ue.YN,ue.Kr,ue.EJ,ue.JJ,ue.On,L.as,L.XQ,L.nj,L.Gk,f.Zt,ce.w],pipes:[m.X$,Le.c,de.R],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drop-list-dragging[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.movable-row[_ngcontent-%COMP%]{cursor:move}.make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.make-green[_ngcontent-%COMP%]{background-color:#c8e6c9}.make-yellow[_ngcontent-%COMP%]{background-color:#fff9c4}.center[_ngcontent-%COMP%]{text-align:center}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),mt})()},9146:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>yt});var e=d(9315),f=d(9244),g=d(84847),T=d(36908),m=d(36787),A=d(22868),s=d(69808),b=d(5e3),O=d(10036),E=d(18750),h=d(20773),k=d(32075),L=d(25245),V=d(29772);function $(pt,Nt){1&pt&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",1),b._uU(2,"arrow_right_alt"),b.qZA(),b.qZA())}function ue(pt,Nt){1&pt&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",2),b._uU(2,"restore"),b.qZA(),b.qZA())}function ce(pt,Nt){1&pt&&(b.TgZ(0,"div"),b.TgZ(1,"mat-icon",3),b._uU(2,"nat"),b.qZA(),b.qZA())}let Le=(()=>{class pt{constructor(){}}return pt.\u0275fac=function(It){return new(It||pt)},pt.\u0275cmp=b.Xpm({type:pt,selectors:[["app-application-type-icon"]],inputs:{applicationType:"applicationType"},decls:4,vars:3,consts:[[4,"ngIf"],["matTooltip","Initial","matTooltipPosition","above"],["matTooltip","Extension","matTooltipPosition","above"],["matTooltip","Embedded","matTooltipPosition","above"]],template:function(It,Zt){1&It&&(b.TgZ(0,"div"),b.YNc(1,$,3,0,"div",0),b.YNc(2,ue,3,0,"div",0),b.YNc(3,ce,3,0,"div",0),b.qZA()),2&It&&(b.xp6(1),b.Q6J("ngIf","INITIAL"===Zt.applicationType),b.xp6(1),b.Q6J("ngIf","EXTENSION"===Zt.applicationType),b.xp6(1),b.Q6J("ngIf","EMBEDDED"===Zt.applicationType))},directives:[s.O5,L.Hw,V.gM],styles:[""]}),pt})();var de=d(50301),ke=d(30325),ae=d(98380),j=d(51062),H=d(43157),Q=d(31359);function te(pt,Nt){1&pt&&(b.TgZ(0,"div",26),b._UZ(1,"mat-spinner",27),b.qZA())}function se(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.ID")," "))}function ge(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.id)}}function Ne(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_DATE")," "))}function Fe(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.ALo(2,"date"),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,It.createdAt,"d.M.y"))}}function ne(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_ID")))}function Me(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.vo.id)}}function ve(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.VO_NAME")))}function me(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.vo.name)}}function Te(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_ID")))}function ee(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.hij(" ",It.group?It.group.id:""," ")}}function R(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.GROUP_NAME")))}function Oe(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.hij(" ",It.group?It.group.name:""," ")}}function Ie(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.TYPE")," "))}function He(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._UZ(1,"app-application-type-icon",31),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Q6J("applicationType",It.type)}}function fe(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.STATE")," "))}function Ce(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._UZ(1,"span",32),b.ALo(2,"applicationState"),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Q6J("outerHTML",b.lcZ(2,1,It.state),b.oJD)}}function Ve(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCENAME")))}function Xe(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.extSourceName)}}function tt(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCETYPE")))}function rt(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.extSourceType)}}function N(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.USER")," "))}function he(pt,Nt){if(1&pt&&(b.TgZ(0,"div"),b._uU(1),b.qZA()),2&pt){const It=b.oxw().$implicit;b.xp6(1),b.hij(" ",It.createdBy.slice(It.createdBy.lastIndexOf("=")+1,It.createdBy.length)," ")}}function D(pt,Nt){if(1&pt&&(b._uU(0),b.ALo(1,"userFullName")),2&pt){const It=b.oxw().$implicit;b.hij(" ",b.lcZ(1,1,It.user)," ")}}function S(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b.YNc(1,he,2,1,"div",33),b.YNc(2,D,2,3,"ng-template",null,34,b.W1O),b.qZA()),2&pt){const It=Nt.$implicit,Zt=b.MAs(3);b.xp6(1),b.Q6J("ngIf",null===It.user)("ngIfElse",Zt)}}function I(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.CREATED_BY")))}function P(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.hij(" ",It.createdBy.slice(It.createdBy.lastIndexOf("=")+1,It.createdBy.length)," ")}}function i(pt,Nt){1&pt&&(b.TgZ(0,"th",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_BY")," "))}function r(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit,Zt=b.oxw();b.xp6(1),b.Oqu(Zt.getFriendlyName(It.modifiedBy))}}function p(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_AT")))}function o(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.ALo(2,"date"),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(b.xi3(2,1,It.modifiedAt,"d.M.y"))}}function t(pt,Nt){1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.xp6(1),b.Oqu(b.lcZ(2,1,"APPLICATIONS_LIST.FEDINFO")))}function n(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit;b.xp6(1),b.Oqu(It.fedInfo)}}function c(pt,Nt){if(1&pt&&(b.TgZ(0,"th",30),b._uU(1),b.qZA()),2&pt){const It=b.oxw().$implicit;b.xp6(1),b.Oqu(It)}}function u(pt,Nt){if(1&pt&&(b.TgZ(0,"td",29),b._uU(1),b.qZA()),2&pt){const It=Nt.$implicit,Zt=b.oxw().$implicit,mt=b.oxw();b.xp6(1),b.hij(" ",mt.getValue(It.formData,Zt)," ")}}function y(pt,Nt){1&pt&&(b.ynx(0,35),b.YNc(1,c,2,1,"th",9),b.YNc(2,u,2,1,"td",6),b.BQk()),2&pt&&b.s9C("matColumnDef",Nt.$implicit)}function M(pt,Nt){1&pt&&b._UZ(0,"tr",36)}function re(pt,Nt){if(1&pt&&b._UZ(0,"tr",37),2&pt){const It=Nt.$implicit,Zt=b.oxw();b.ekj("cursor-pointer",!Zt.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",Zt.selectApplication(It))("routerLink",Zt.selectApplication(It))}}function et(pt,Nt){1&pt&&(b.TgZ(0,"app-alert",38),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&pt&&(b.Q6J("alert_type","warn"),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}let yt=(()=>{class pt{constructor(It,Zt,mt){this.authResolver=It,this.tableConfigService=Zt,this.dynamicPaginatingService=mt,this.displayedColumns=[],this.disableRouting=!1,this.searchString="",this.dateTo=new Date,this.dateFrom=this.yearAgo(),this.refreshTable=!1,this.parsedColumns=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadApplicationsPage())).subscribe()}ngOnInit(){var It,Zt,mt,Ht;this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(_t=>"id"!==_t)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadApplications(this.tableConfigService.getTablePageSize(this.tableId),0,"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Zt=null===(It=this.member)||void 0===It?void 0:It.userId)&&void 0!==Zt?Zt:null,null!==(Ht=null===(mt=this.group)||void 0===mt?void 0:mt.id)&&void 0!==Ht?Ht:null,this.getVoId()),this.dataSource.loading$.subscribe(_t=>{if(_t||!this.displayedColumns.includes("fedInfo"))return;this.displayedColumns=this.displayedColumns.filter(Lt=>!this.parsedColumns.includes(Lt)),this.parsedColumns=[];const Je=this.dataSource.getData()[0];this.parseColumns(Je.formData)})}ngOnChanges(){this.refreshTable=!1,this.dataSource&&(this.child.paginator.pageIndex=0,this.loadApplicationsPage())}loadApplicationsPage(){var It,Zt,mt,Ht;this.dataSource.loadApplications(this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.getSortDataColumn(),this.searchString,this.includeGroupApps,this.states,this.dateToString(this.dateFrom),this.dateToString(this.dateTo),null!==(Zt=null===(It=this.member)||void 0===It?void 0:It.userId)&&void 0!==Zt?Zt:null,null!==(Ht=null===(mt=this.group)||void 0===mt?void 0:mt.id)&&void 0!==Ht?Ht:null,this.getVoId(),!0)}exportData(It){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),It)}selectApplication(It){return this.disableRouting?null:this.group?["/organizations",It.vo.id,"groups",this.group.id,"applications",It.id]:this.member?["/organizations",It.vo.id,"members",this.member.id,"applications",It.id]:["/organizations",It.vo.id,"applications",It.id]}getExportDataForColumn(It,Zt){var mt,Ht,_t,Je;switch(Zt){case"id":return It.id.toString();case"voId":return It.vo.id.toString();case"voName":return It.vo.name;case"groupId":return null!==(Ht=null===(mt=It.group)||void 0===mt?void 0:mt.id.toString())&&void 0!==Ht?Ht:"";case"groupName":return null!==(Je=null===(_t=It.group)||void 0===_t?void 0:_t.name)&&void 0!==Je?Je:"";case"type":return It.type;case"fedInfo":return It.fedInfo;case"formData":return this.stringify(It.formData);case"state":return It.state;case"extSourceName":return It.extSourceName;case"extSourceType":return It.extSourceType;case"user":return It.user?(0,f.bD)(It.user):"";case"createdBy":return It.createdBy;case"createdAt":return It.createdAt;case"modifiedBy":return It.modifiedBy;case"modifiedAt":return It.modifiedAt;default:return It[Zt]}}getSortDataColumn(){if(!this.sort)return e.sY.DATECREATED;switch(this.sort.active){case"id":return e.sY.ID;case"createdAt":default:return e.sY.DATECREATED;case"type":return e.sY.TYPE;case"state":return e.sY.STATE;case"user":return e.sY.SUBMITTER;case"groupName":return e.sY.GROUPNAME;case"modifiedBy":return e.sY.MODIFIEDBY}}getFriendlyName(It){const Zt=It.lastIndexOf("/CN=");if(-1!==Zt){const mt=It.slice(Zt+4,It.length).replace("/unstructuredName="," ");return-1!==mt.lastIndexOf("\\")?It.slice(It.lastIndexOf("=")+1,It.length):mt}return It}yearAgo(){const It=new Date;return It.setDate(It.getDate()-365),It}dateToString(It){return(0,s.p6)(It,"yyyy-MM-dd","en-GB")}getVoId(){return this.vo?this.vo.id:this.group?this.group.voId:this.member?this.member.voId:void 0}stringify(It){const Zt=Ht=>Object.entries(Ht).reduce((_t,[Je,Lt])=>_t[Je]instanceof Object?_t[Je]=Zt(_t[Je]):(null==Lt||"null"===Lt||0===Lt.length||(_t[Je]=Lt),_t),{});let mt=JSON.stringify(Zt(It));return mt=mt.replace("{","["),mt=mt.replace("}","]"),mt}getFormDataString(It){return this.stringify(It.formItem)}parseColumns(It){It.forEach(Zt=>{this.displayedColumns.includes(Zt.shortname)||this.displayedColumns.push(Zt.shortname),this.parsedColumns.includes(Zt.shortname)||this.parsedColumns.push(Zt.shortname)})}getValue(It,Zt){var mt;const Ht=It.filter(_t=>_t.shortname===Zt);return 0===Ht.length?"":null!==(mt=Ht[0].value)&&void 0!==mt?mt:Ht[0].prefilledValue}}return pt.\u0275fac=function(It){return new(It||pt)(b.Y36(T.x4),b.Y36(O.dB),b.Y36(T.ly))},pt.\u0275cmp=b.Xpm({type:pt,selectors:[["app-applications-dynamic-list"]],viewQuery:function(It,Zt){if(1&It&&(b.Gf(f.l9,7),b.Gf(g.YE,5)),2&It){let mt;b.iGM(mt=b.CRH())&&(Zt.child=mt.first),b.iGM(mt=b.CRH())&&(Zt.sort=mt.first)}},inputs:{displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",group:"group",member:"member",vo:"vo",includeGroupApps:"includeGroupApps",states:"states",dateTo:"dateTo",dateFrom:"dateFrom",refreshTable:"refreshTable",parsedColumns:"parsedColumns"},features:[b.TTD],decls:56,vars:16,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","createdAt","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdAt"],["matColumnDef","voId"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","voName"],["matColumnDef","groupId"],["matColumnDef","groupName"],["matColumnDef","type"],["matColumnDef","state"],["matColumnDef","extSourceName"],["matColumnDef","extSourceType"],["matColumnDef","user"],["matColumnDef","createdBy"],["matColumnDef","modifiedBy"],["matColumnDef","modifiedAt"],["matColumnDef","fedInfo"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell",""],[3,"applicationType"],[3,"outerHTML"],[4,"ngIf","ngIfElse"],["name",""],[3,"matColumnDef"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],[3,"alert_type"]],template:function(It,Zt){1&It&&(b.TgZ(0,"div",0),b.ALo(1,"async"),b.TgZ(2,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(Ht){return Zt.exportData(Ht)}),b.YNc(3,te,2,0,"div",2),b.ALo(4,"async"),b.TgZ(5,"table",3),b.ynx(6,4),b.YNc(7,se,3,3,"th",5),b.YNc(8,ge,2,1,"td",6),b.BQk(),b.ynx(9,7),b.YNc(10,Ne,3,3,"th",5),b.YNc(11,Fe,3,4,"td",6),b.BQk(),b.ynx(12,8),b.YNc(13,ne,3,3,"th",9),b.YNc(14,Me,2,1,"td",6),b.BQk(),b.ynx(15,10),b.YNc(16,ve,3,3,"th",9),b.YNc(17,me,2,1,"td",6),b.BQk(),b.ynx(18,11),b.YNc(19,Te,3,3,"th",9),b.YNc(20,ee,2,1,"td",6),b.BQk(),b.ynx(21,12),b.YNc(22,R,3,3,"th",9),b.YNc(23,Oe,2,1,"td",6),b.BQk(),b.ynx(24,13),b.YNc(25,Ie,3,3,"th",5),b.YNc(26,He,2,1,"td",6),b.BQk(),b.ynx(27,14),b.YNc(28,fe,3,3,"th",5),b.YNc(29,Ce,3,3,"td",6),b.BQk(),b.ynx(30,15),b.YNc(31,Ve,3,3,"th",9),b.YNc(32,Xe,2,1,"td",6),b.BQk(),b.ynx(33,16),b.YNc(34,tt,3,3,"th",9),b.YNc(35,rt,2,1,"td",6),b.BQk(),b.ynx(36,17),b.YNc(37,N,3,3,"th",5),b.YNc(38,S,4,2,"td",6),b.BQk(),b.ynx(39,18),b.YNc(40,I,3,3,"th",9),b.YNc(41,P,2,1,"td",6),b.BQk(),b.ynx(42,19),b.YNc(43,i,3,3,"th",5),b.YNc(44,r,2,1,"td",6),b.BQk(),b.ynx(45,20),b.YNc(46,p,3,3,"th",9),b.YNc(47,o,3,4,"td",6),b.BQk(),b.ynx(48,21),b.YNc(49,t,3,3,"th",9),b.YNc(50,n,2,1,"td",6),b.BQk(),b.YNc(51,y,3,1,"ng-container",22),b.YNc(52,M,1,0,"tr",23),b.YNc(53,re,1,4,"tr",24),b.qZA(),b.qZA(),b.qZA(),b.YNc(54,et,3,4,"app-alert",25),b.ALo(55,"async")),2&It&&(b.Q6J("hidden",0===Zt.dataSource.allObjectCount&&!1===b.lcZ(1,10,Zt.dataSource.loading$)),b.xp6(2),b.Q6J("dataLength",Zt.dataSource.allObjectCount)("pageSizeOptions",Zt.pageSizeOptions)("tableId",Zt.tableId),b.xp6(1),b.Q6J("ngIf",b.lcZ(4,12,Zt.dataSource.loading$)),b.xp6(2),b.Q6J("dataSource",Zt.dataSource),b.xp6(46),b.Q6J("ngForOf",Zt.parsedColumns),b.xp6(1),b.Q6J("matHeaderRowDef",Zt.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Zt.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===Zt.dataSource.allObjectCount&&!1===b.lcZ(55,14,Zt.dataSource.loading$)))},directives:[E.l,s.O5,h.$g,k.BZ,g.YE,k.w1,k.fO,k.ge,g.nU,k.Dz,k.ev,Le,s.sg,k.as,k.XQ,k.nj,k.Gk,de.YH,ke.rH,ae.w],pipes:[s.Ov,j.X$,s.uU,H.h,Q.d],styles:[""]}),pt})()},55857:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>Le});var e=d(9315),f=d(10036),g=d(36908),T=d(93075),m=d(69808),A=d(5e3),s=d(96214),b=d(47423),O=d(67322),E=d(74107),h=d(90508),k=d(64901),L=d(39798),V=d(9146),$=d(51062);function ue(de,ke){if(1&de){const ae=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(ae),A.oxw().showAllDetails=!0}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function ce(de,ke){if(1&de){const ae=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(ae),A.oxw().showAllDetails=!1}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let Le=(()=>{class de{constructor(ae,j,H){this.registrarManager=ae,this.guiAuthResolver=j,this.entityStorageService=H,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.displayedColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedDisplayedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Af,this.tableId=f.gB,this.refresh=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.startDate=new T.NI((0,m.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new T.NI((0,m.p6)(new Date,"yyyy-MM-dd","en-GB"))}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const ae=new Date;return ae.setDate(ae.getDate()-365),ae}applyFilter(ae){this.filterValue=ae}}return de.id="GroupApplicationsComponent",de.\u0275fac=function(ae){return new(ae||de)(A.Y36(e.tk),A.Y36(g.x4),A.Y36(g.fb))},de.\u0275cmp=A.Xpm({type:de,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(ae,j){2&ae&&A.ekj("router-component",j.true)},decls:34,vars:38,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"w-25","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","refreshTable","group"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(ae,j){1&ae&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return j.refresh=!j.refresh}),A.qZA(),A.YNc(5,ue,3,3,"button",2),A.YNc(6,ce,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return j.select()})("valueChange",function(Q){return j.state=Q}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(Q){return j.applyFilter(Q)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return j.select()}),A.qZA(),A.qZA(),A.TgZ(32,"div"),A._UZ(33,"app-applications-dynamic-list",13),A.qZA()),2&ae&&(A.xp6(1),A.Oqu(A.lcZ(2,22,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!j.showAllDetails),A.xp6(1),A.Q6J("ngIf",j.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,24,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",j.state),A.xp6(2),A.Oqu(A.lcZ(14,26,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,28,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,30,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,32,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,34,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,36,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",j.startDate)("endDate",j.endDate),A.xp6(2),A.Q6J("tableId",j.showAllDetails?j.detailTableId:j.tableId)("searchString",j.filterValue)("displayedColumns",j.showAllDetails?j.detailedDisplayedColumns:j.displayedColumns)("states",j.currentStates)("dateFrom",j.startDate.value)("dateTo",j.endDate.value)("refreshTable",j.refresh)("group",j.group))},directives:[s.t,m.O5,b.lW,O.KE,O.hX,E.gD,h.ey,k.P,L.S,V.S],pipes:[$.X$],styles:[""]}),de})()},96180:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Te});var e=d(20449),f=d(36908),g=d(64080),T=d(97034),m=d(53455),A=d(9315),s=d(10036),b=d(9244),O=d(74414),E=d(93075),h=d(5e3),k=d(48966),L=d(69808),V=d(98380),$=d(96214),ue=d(29772),ce=d(47423),Le=d(67322),de=d(74107),ke=d(90508),ae=d(64901),j=d(20773),H=d(4811),Q=d(51062),te=d(20551);function se(ee,R){1&ee&&(h.TgZ(0,"app-alert",15),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&ee&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function ge(ee,R){if(1&ee){const Oe=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ee){const Oe=h.oxw();h.Q6J("disabled",Oe.synchEnabled||Oe.blockGroupManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function Ne(ee,R){if(1&ee){const Oe=h.EpF();h.TgZ(0,"button",17),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ee){const Oe=h.oxw();h.Q6J("disabled",Oe.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function Fe(ee,R){if(1&ee){const Oe=h.EpF();h.TgZ(0,"button",18),h.NdJ("click",function(){return h.CHM(Oe),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ee){const Oe=h.oxw();h.Q6J("disabled",Oe.selection.isEmpty()||Oe.synchEnabled),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function ne(ee,R){if(1&ee&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ee){const Oe=R.$implicit;h.Q6J("value",Oe),h.xp6(1),h.Oqu(h.lcZ(2,2,Oe))}}function Me(ee,R){if(1&ee&&(h.TgZ(0,"mat-option",19),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ee){const Oe=R.$implicit;h.Q6J("value",Oe),h.xp6(1),h.Oqu(h.lcZ(2,2,Oe))}}function ve(ee,R){1&ee&&h._UZ(0,"mat-spinner",20)}function me(ee,R){if(1&ee&&h._UZ(0,"perun-web-apps-members-dynamic-list",21),2&ee){const Oe=h.oxw();h.Q6J("voId",Oe.group.voId)("groupId",Oe.group.id)("tableId",Oe.tableId)("selection",Oe.selection)("displayedColumns",Oe.displayedColumns)("updateTable",Oe.updateTable)("searchString",Oe.searchString)("selectedStatuses",Oe.selectedStatuses)("selectedGroupStatuses",Oe.selectedGroupStatuses)("attrNames",Oe.memberAttrNames)}}let Te=(()=>{class ee{constructor(Oe,Ie,He,fe,Ce,Ve,Xe,tt){this.groupService=Oe,this.dialog=Ie,this.guiAuthResolver=He,this.storeService=fe,this.attributesManager=Ce,this.apiRequest=Ve,this.notificator=Xe,this.entityStorageService=tt,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=s.dI,this.memberAttrNames=[g.r.MEMBER_DEF_ORGANIZATION,g.r.MEMBER_DEF_MAIL,g.r.USER_DEF_ORGANIZATION,g.r.USER_DEF_PREFERRED_MAIL,g.r.MEMBER_DEF_EXPIRATION,g.r.MEMBER_DEF_GROUP_EXPIRATION],this.groupAttrNames=[g.r.GROUP_SYNC_ENABLED,g.r.GROUP_LAST_SYNC_STATE,g.r.GROUP_LAST_SYNC_TIMESTAMP,g.r.GROUP_STRUCTURE_SYNC_ENABLED,g.r.GROUP_LAST_STRUCTURE_SYNC_STATE,g.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new E.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new E.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"]}ngOnInit(){this.loading=!0,this.selection=new e.Ov(!0,[]),this.statuses.setValue(this.selectedStatuses),this.groupStatuses.setValue(this.selectedGroupStatuses),this.memberAttrNames=this.memberAttrNames.concat(this.storeService.getLoginAttributeNames()),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.group.voId,this.group.id).then(()=>this.loadPage(this.group.id))}loadPage(Oe){this.groupService.getRichGroupByIdWithAttributesByNames(Oe,this.groupAttrNames).subscribe(Ie=>{this.group=Ie,this.synchEnabled=this.isSynchronized(),this.loading=!1})}isSynchronized(){return this.group.attributes.some(Oe=>"synchronizationEnabled"===Oe.friendlyName&&null!==Oe.value&&"true"===Oe.value.toString())}setAuthRights(){this.addAuth=this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[this.group]),this.removeAuth=this.guiAuthResolver.isAuthorized("removeMembers_Group_List_policy",[this.group]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","type","fullName","status","groupStatus","organization","email","logins"],this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_String_String_String_policy",[this.group])}onSearchByString(Oe){this.searchString=Oe,this.updateTable=!this.updateTable}onAddMember(){const Oe=(0,b.kZ)();Oe.width="1000px",Oe.data={voId:this.group.voId,group:this.group,entityId:this.group.id,manualAddingBlocked:this.blockManualMemberAdding,theme:"group-theme",type:"group"},this.dialog.open(T.o,Oe).afterClosed().subscribe(He=>{He&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const Oe=(0,b.kZ)();Oe.width="450px",Oe.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(m.X,Oe).afterClosed().subscribe(He=>{He&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const Oe=(0,b.kZ)();Oe.width="650px",Oe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(O.R,Oe)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(Oe,Ie){return new Promise(He=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Oe,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(fe=>{this.blockManualMemberAdding=null!==fe.value,this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(Ie,"urn:perun:group:attribute-def:def:blockManualMemberAdding").subscribe(Ce=>{this.blockGroupManualMemberAdding=null!==Ce.value,He()},Ce=>{"PrivilegeException"!==Ce.error.name&&this.notificator.showError(Ce),He()})},fe=>{"PrivilegeException"!==fe.error.name&&this.notificator.showError(fe),He()})})}changeVoStatuses(){this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selectedGroupStatuses=this.groupStatuses.value}}return ee.id="GroupMembersComponent",ee.\u0275fac=function(Oe){return new(Oe||ee)(h.Y36(A.ff),h.Y36(k.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(A.H8),h.Y36(f.F5),h.Y36(f.V6),h.Y36(f.fb))},ee.\u0275cmp=h.Xpm({type:ee,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(Oe,Ie){2&Oe&&h.ekj("router-component",Ie.true)},decls:38,vars:45,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],[3,"matTooltip","matTooltipDisabled"],["class","mr-2 action-button","color","accent","data-cy","add-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2","color","warn","data-cy","remove-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames",4,"ngIf"],["alert_type","warn"],["color","accent","data-cy","add-members","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"disabled","click"],["color","warn","data-cy","remove-members","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"group-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","groupId","tableId","selection","displayedColumns","updateTable","searchString","selectedStatuses","selectedGroupStatuses","attrNames"]],template:function(Oe,Ie){1&Oe&&(h.TgZ(0,"h1",0),h._uU(1),h.ALo(2,"translate"),h.qZA(),h.YNc(3,se,3,3,"app-alert",1),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return Ie.updateTable=!Ie.updateTable}),h.qZA(),h.TgZ(6,"span",4),h.ALo(7,"translate"),h.TgZ(8,"div",5),h.ALo(9,"translate"),h.YNc(10,ge,3,4,"button",6),h.qZA(),h.qZA(),h.TgZ(11,"span",4),h.ALo(12,"translate"),h.YNc(13,Ne,3,4,"button",7),h.qZA(),h.TgZ(14,"span",4),h.ALo(15,"translate"),h.YNc(16,Fe,3,4,"button",8),h.qZA(),h.TgZ(17,"mat-form-field",9),h.TgZ(18,"mat-label"),h._uU(19),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-select",10),h.NdJ("closed",function(){return Ie.changeVoStatuses()}),h.TgZ(22,"mat-select-trigger"),h._uU(23),h.ALo(24,"memberStatus"),h.qZA(),h.YNc(25,ne,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(26,"mat-form-field",9),h.TgZ(27,"mat-label"),h._uU(28),h.ALo(29,"translate"),h.qZA(),h.TgZ(30,"mat-select",10),h.NdJ("closed",function(){return Ie.changeGroupStatuses()}),h.TgZ(31,"mat-select-trigger"),h._uU(32),h.ALo(33,"memberStatus"),h.qZA(),h.YNc(34,Me,3,4,"mat-option",11),h.qZA(),h.qZA(),h.TgZ(35,"perun-web-apps-debounce-filter",12),h.NdJ("filter",function(fe){return Ie.onSearchByString(fe)}),h.qZA(),h.qZA(),h.YNc(36,ve,1,0,"mat-spinner",13),h.YNc(37,me,1,10,"perun-web-apps-members-dynamic-list",14)),2&Oe&&(h.xp6(1),h.Oqu(h.lcZ(2,27,"GROUP_DETAIL.MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",Ie.synchEnabled),h.xp6(3),h.s9C("matTooltip",h.lcZ(7,29,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.s9C("matTooltip",h.lcZ(9,31,"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!Ie.blockGroupManualMemberAdding),h.xp6(2),h.Q6J("ngIf",Ie.addAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(12,33,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Ie.inviteAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(15,35,"GROUP_DETAIL.MEMBERS.SYNCHRONIZED")),h.Q6J("matTooltipDisabled",!Ie.synchEnabled)("matTooltipPosition","above"),h.xp6(2),h.Q6J("ngIf",Ie.removeAuth),h.xp6(3),h.Oqu(h.lcZ(20,37,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",Ie.statuses),h.xp6(2),h.hij(" ",h.lcZ(24,39,Ie.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Ie.statusList),h.xp6(3),h.Oqu(h.lcZ(29,41,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),h.xp6(2),h.Q6J("formControl",Ie.groupStatuses),h.xp6(2),h.hij(" ",h.lcZ(33,43,Ie.displaySelectedGroupStatuses())," "),h.xp6(2),h.Q6J("ngForOf",Ie.groupStatusList),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",Ie.loading),h.xp6(1),h.Q6J("ngIf",!Ie.loading))},directives:[L.O5,V.w,$.t,ue.gM,ce.lW,Le.KE,Le.hX,de.gD,E.JJ,E.oH,de.$L,L.sg,ke.ey,ae.P,j.$g,H.m],pipes:[Q.X$,te.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),ee})()},37240:(Ke,be,d)=>{"use strict";d.d(be,{q:()=>he});var e=d(20449),f=d(9315),g=d(10036),T=d(48966),m=d(36908),s=(d(387),d(5e3)),b=d(51062),O=d(69808),E=d(20773),h=d(92081),k=d(64901),L=d(62109),V=d(32368),$=d(93075),ue=d(47423),ce=d(29772);const Le=["list"],de=["stepper"];function ke(D,S){1&D&&s._UZ(0,"mat-spinner",4)}function ae(D,S){1&D&&(s._uU(0),s.ALo(1,"translate")),2&D&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.RESOURCES"))}function j(D,S){1&D&&(s._uU(0),s.ALo(1,"translate")),2&D&&s.Oqu(s.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.OPTIONS"))}const H=function(){return["select","id","name","facility","tags","description"]};function Q(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",5),s.TgZ(1,"mat-stepper",6,7),s.TgZ(3,"mat-step",8),s.YNc(4,ae,2,3,"ng-template",9),s.TgZ(5,"perun-web-apps-debounce-filter",10),s.NdJ("filter",function(i){return s.CHM(I),s.oxw().applyFilter(i)}),s.ALo(6,"translate"),s.qZA(),s._UZ(7,"perun-web-apps-resources-list",11,12),s.qZA(),s.TgZ(9,"mat-step"),s.YNc(10,j,2,3,"ng-template",9),s.TgZ(11,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeSubgroupsMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().autoAssignSubgroups=i}),s._uU(12),s.ALo(13,"translate"),s.qZA(),s.TgZ(14,"div",14),s._UZ(15,"i",15),s.qZA(),s.TgZ(16,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeInactiveMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().asActive=i}),s._uU(17),s.ALo(18,"translate"),s.qZA(),s.TgZ(19,"div",14),s._uU(20),s.qZA(),s.TgZ(21,"mat-slide-toggle",13),s.NdJ("toggleChange",function(){return s.CHM(I),s.oxw().changeAsyncMessage()})("ngModelChange",function(i){return s.CHM(I),s.oxw().async=i}),s._uU(22),s.ALo(23,"translate"),s.qZA(),s.TgZ(24,"div",14),s._uU(25),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&D){const I=s.MAs(8),P=s.oxw();s.xp6(1),s.Q6J("linear",!0),s.xp6(2),s.Q6J("completed",0!==P.selection.selected.length&&void 0!==I&&I.addAuth),s.xp6(2),s.s9C("placeholder",s.lcZ(6,19,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),s.xp6(2),s.Q6J("tableId",P.tableId)("resources",P.resources)("disableRouting",!0)("selection",P.selection)("groupToResource",P.data.group)("displayedColumns",s.DdM(27,H))("filterValue",P.filterValue),s.xp6(4),s.Q6J("ngModel",P.autoAssignSubgroups),s.xp6(1),s.hij(" ",s.lcZ(13,21,"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS")," "),s.xp6(3),s.Q6J("innerHTML",P.autoAssignHint,s.oJD),s.xp6(1),s.Q6J("ngModel",P.asActive),s.xp6(1),s.hij(" ",s.lcZ(18,23,"DIALOGS.ADD_GROUP_RESOURCES.AS_ACTIVE")," "),s.xp6(3),s.hij(" ",P.asActiveHint," "),s.xp6(1),s.Q6J("ngModel",P.async),s.xp6(1),s.hij(" ",s.lcZ(23,25,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),s.xp6(3),s.hij(" ",P.asyncHint," ")}}function te(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",22),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).stepperPrevious()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&D&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.ADD_GROUP_RESOURCES.BACK")," "))}function se(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).stepperNext()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&D){const I=s.oxw(2);s.ekj("ml-2",void 0!==I.stepper&&0!==I.stepper.selectedIndex)("ml-auto",!(void 0!==I.stepper&&0!==I.stepper.selectedIndex)),s.Q6J("disabled",0===I.selection.selected.length||void 0!==I.list&&!I.list.addAuth),s.xp6(1),s.hij(" ",s.lcZ(2,6,"DIALOGS.ADD_GROUP_RESOURCES.NEXT")," ")}}function ge(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",24),s.NdJ("click",function(){return s.CHM(I),s.oxw(2).onSubmit()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&D){const I=s.oxw(2);s.Q6J("disabled",0===I.selection.selected.length||I.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}function Ne(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",16),s.TgZ(1,"button",17),s.NdJ("click",function(){return s.CHM(I),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,te,3,3,"button",18),s.YNc(5,se,3,8,"button",19),s.TgZ(6,"span",20),s.ALo(7,"translate"),s.YNc(8,ge,3,4,"button",21),s.qZA(),s.qZA()}if(2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,6,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("ngIf",void 0!==I.stepper&&0!==I.stepper.selectedIndex),s.xp6(1),s.Q6J("ngIf",void 0!==I.stepper&&I.stepper.selectedIndex!==I.stepper._steps.length-1),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,8,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),s.Q6J("matTooltipDisabled",void 0===I.list||I.list.addAuth),s.xp6(2),s.Q6J("ngIf",void 0!==I.stepper&&I.stepper.selectedIndex===I.stepper._steps.length-1)}}let Fe=(()=>{class D{constructor(I,P,i,r,p,o,t){this.dialogRef=I,this.data=P,this.notificator=i,this.translate=r,this.resourcesManager=p,this.guiAuthResolver=o,this.cd=t,this.filterValue="",this.resources=[],this.selection=new e.Ov(!0,[]),this.theme="",this.async=!0,this.autoAssignSubgroups=!1,this.asActive=!0,this.tableId=g.dK}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.autoAssignHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT"),this.asActiveHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT"),this.asyncHint=this.translate.instant("DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT"),this.resourcesManager.getRichResources(this.data.group.voId).subscribe(I=>{this.resourcesManager.getAssignedResourcesWithGroup(this.data.group.id).subscribe(P=>{for(const i of I)-1===P.findIndex(r=>r.id===i.id)&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",[this.data.group,i])&&this.resources.push(i);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(I){this.filterValue=I}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const I=this.selection.selected.map(P=>P.id);this.resourcesManager.assignGroupToResources(this.data.group.id,I,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(P=>{this.notificator.showSuccess(P),this.dialogRef.close(!0)})},()=>this.loading=!1)}changeSubgroupsMessage(){this.autoAssignHint=this.translate.instant(this.autoAssignSubgroups?"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS_ON_HINT")}changeInactiveMessage(){this.asActiveHint=this.translate.instant(this.asActive?"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ACTIVE_ON_HINT")}changeAsyncMessage(){this.asyncHint=this.translate.instant(this.async?"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OFF_HINT":"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_ON_HINT")}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return D.\u0275fac=function(I){return new(I||D)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk),s.Y36(m.x4),s.Y36(s.sBO))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(I,P){if(1&I&&(s.Gf(Le,5),s.Gf(de,5)),2&I){let i;s.iGM(i=s.CRH())&&(P.list=i.first),s.iGM(i=s.CRH())&&(P.stepper=i.first)}},decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[3,"linear"],["stepper",""],[3,"completed"],["matStepLabel",""],[3,"placeholder","filter"],[3,"tableId","resources","disableRouting","selection","groupToResource","displayedColumns","filterValue"],["list",""],["labelPosition","before",1,"mt-3","slide-text",3,"ngModel","toggleChange","ngModelChange"],[1,"text-muted","new-line","mt-2"],[3,"innerHTML"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["class","ml-auto","color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","","type","button",1,"ml-auto",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ke,1,0,"mat-spinner",1),s.YNc(5,Q,26,28,"div",2),s.YNc(6,Ne,9,10,"div",3),s.qZA()),2&I&&(s.Tol(P.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading&&void 0!==P.stepper))},directives:[T.uh,O.O5,E.$g,T.xY,h.Vq,h.C0,h.VY,k.P,L.C,V.Rr,$.JJ,$.On,T.H8,ue.lW,ce.gM],pipes:[b.X$],styles:[""]}),D})();var ne=d(32075);function Me(D,S){1&D&&s._UZ(0,"mat-spinner",4)}function ve(D,S){1&D&&s._UZ(0,"th",13)}function me(D,S){if(1&D&&(s.TgZ(0,"td",14),s._uU(1),s.qZA()),2&D){const I=S.$implicit;s.xp6(1),s.Oqu(I.name)}}function Te(D,S){1&D&&s._UZ(0,"tr",15)}function ee(D,S){1&D&&s._UZ(0,"tr",16)}function R(D,S){if(1&D&&(s.TgZ(0,"div",5),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",6),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",7),s.ynx(8,8),s.YNc(9,ve,1,0,"th",9),s.YNc(10,me,2,1,"td",10),s.BQk(),s.YNc(11,Te,1,0,"tr",11),s.YNc(12,ee,1,0,"tr",12),s.qZA(),s.qZA()),2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),s.xp6(2),s.Q6J("dataSource",I.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",I.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",I.displayedColumns)}}function Oe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"div",17),s.TgZ(1,"button",18),s.NdJ("click",function(){return s.CHM(I),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",19),s.NdJ("click",function(){return s.CHM(I),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&D){const I=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),s.xp6(2),s.Q6J("disabled",I.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let Ie=(()=>{class D{constructor(I,P,i,r,p){this.dialogRef=I,this.data=P,this.notificator=i,this.translate=r,this.resourcesManager=p,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new ne.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const I=this.data.resources.map(P=>P.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,I).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(P=>{this.loading=!1,this.notificator.showSuccess(P),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return D.\u0275fac=function(I){return new(I||D)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.V6),s.Y36(b.sK),s.Y36(f.xk))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-remove-group-resource-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Me,1,0,"mat-spinner",1),s.YNc(5,R,13,9,"div",2),s.YNc(6,Oe,7,7,"div",3),s.qZA()),2&I&&(s.Tol(P.data.theme),s.xp6(2),s.Oqu(s.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),s.xp6(2),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading),s.xp6(1),s.Q6J("ngIf",!P.loading))},directives:[T.uh,O.O5,E.$g,T.xY,ne.BZ,ne.w1,ne.fO,ne.ge,ne.Dz,ne.ev,ne.as,ne.XQ,ne.nj,ne.Gk,T.H8,ue.lW],pipes:[b.X$],styles:[""]}),D})();var He=d(9244),fe=d(96214),Ce=d(7434);const Ve=["list"];function Xe(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(I),s.oxw().addResource()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}2&D&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function tt(D,S){1&D&&s._UZ(0,"mat-spinner",9)}const rt=function(){return["select","id","indirectResourceAssigment","name","status","facility","tags","description"]};function N(D,S){if(1&D){const I=s.EpF();s.TgZ(0,"perun-web-apps-resources-list",10,11),s.NdJ("refreshTable",function(){return s.CHM(I),s.oxw().refreshTable()}),s.qZA()}if(2&D){const I=s.oxw();s.Q6J("tableId",I.tableId)("filterValue",I.filterValue)("resources",I.resources)("routingVo",!0)("disableRouting",!I.routingAuth)("selection",I.selected)("groupToResource",I.group)("groupId",I.group.id)("resourcesToDisableCheckbox",I.resourcesToDisable)("displayedColumns",s.DdM(10,rt))}}let he=(()=>{class D{constructor(I,P,i,r,p){this.resourcesManager=I,this.groupService=P,this.dialog=i,this.guiAuthResolver=r,this.entityStorageService=p,this.resources=null,this.selected=new e.Ov(!0,[]),this.filterValue="",this.tableId=g.v1,this.addAuth=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.setAuthorization(),this.refreshTable()}setAuthorization(){null!==this.resources&&0!==this.resources.length&&(this.routingAuth=this.guiAuthResolver.isAuthorized("getResourceById_int_policy",[this.resources[0]])),this.addAuth=this.guiAuthResolver.isAuthorized("getResources_Vo_policy",[this.group])}refreshTable(){this.loading=!0,this.resourcesManager.getResourceAssignments(this.group.id).subscribe(I=>{this.resources=I.map(P=>{const i=P.enrichedResource.resource;return i.facility=P.facility,i.status=P.status,i.resourceTags=P.resourceTags,i.failureCause=P.failureCause,i.sourceGroupId=P.sourceGroupId,i}),this.selected.clear(),this.resourcesToDisable=new Set(this.resources.filter(P=>null!==P.sourceGroupId).map(P=>P.id)),this.setAuthorization(),this.loading=!1})}applyFilter(I){this.filterValue=I}addResource(){const I=(0,He.kZ)();I.width="1000px",I.data={theme:"group-theme",group:this.group},this.dialog.open(Fe,I).afterClosed().subscribe(i=>{i&&this.refreshTable()})}removeResource(){const I=(0,He.kZ)();I.width="450px",I.data={theme:"group-theme",resources:this.selected.selected,groupId:this.group.id},this.dialog.open(Ie,I).afterClosed().subscribe(i=>{i&&(this.selected.clear(),this.refreshTable())})}}return D.id="GroupResourcesComponent",D.\u0275fac=function(I){return new(I||D)(s.Y36(f.xk),s.Y36(f.ff),s.Y36(T.uw),s.Y36(m.x4),s.Y36(m.fb))},D.\u0275cmp=s.Xpm({type:D,selectors:[["app-group-resources"]],viewQuery:function(I,P){if(1&I&&s.Gf(Ve,5),2&I){let i;s.iGM(i=s.CRH())&&(P.list=i.first)}},hostVars:2,hostBindings:function(I,P){2&I&&s.ekj("router-component",P.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","groupToResource","groupId","resourcesToDisableCheckbox","displayedColumns","refreshTable"],["list",""]],template:function(I,P){1&I&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return P.refreshTable()}),s.qZA(),s.YNc(5,Xe,3,3,"button",2),s.TgZ(6,"span",3),s.ALo(7,"translate"),s.TgZ(8,"button",4),s.NdJ("click",function(){return P.removeResource()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.TgZ(11,"perun-web-apps-immediate-filter",5),s.NdJ("filter",function(r){return P.applyFilter(r)}),s.qZA(),s.YNc(12,tt,1,0,"mat-spinner",6),s.YNc(13,N,2,11,"perun-web-apps-resources-list",7),s.qZA()),2&I&&(s.xp6(2),s.Oqu(s.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),s.xp6(3),s.Q6J("ngIf",P.addAuth),s.xp6(1),s.s9C("matTooltip",s.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),s.Q6J("matTooltipDisabled",0===P.selected.selected.length||void 0!==P.list&&P.list.removeAuth),s.xp6(2),s.Q6J("disabled",0===P.selected.selected.length||void 0!==P.list&&!P.list.removeAuth),s.xp6(1),s.hij(" ",s.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),s.xp6(2),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",P.loading),s.xp6(1),s.Q6J("ngIf",P.resources&&!P.loading))},directives:[fe.t,O.O5,ue.lW,ce.gM,Ce.L,E.$g,L.C],pipes:[b.X$],styles:[""]}),D})()},14336:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>Ie});var e=d(36908),f=d(51076),g=d(83491),T=d(95502),m=d(1186),A=d(9315),s=d(9244),b=d(5e3),O=d(48966),E=d(51062),h=d(30325),k=d(69808),L=d(20773),V=d(25245),$=d(29772),ue=d(32368),ce=d(93075),Le=d(47423),de=d(4834),ke=d(96214),ae=d(98380),j=d(157);const H=["autoRegToggle"];function Q(He,fe){1&He&&b._UZ(0,"mat-spinner",3)}function te(He,fe){if(1&He&&(b.TgZ(0,"span"),b._uU(1," , "),b.TgZ(2,"mat-icon",22),b._uU(3,"nat"),b.qZA(),b._uU(4),b.ALo(5,"translate"),b.ALo(6,"translate"),b.qZA()),2&He){const Ce=b.oxw(3);b.xp6(4),b.hij(" ",Ce.applicationForm.automaticApprovalEmbedded?b.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function se(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"mat-slide-toggle",23,24),b.NdJ("change",function(){return b.CHM(Ce),b.oxw(3).updateAutoRegistration()}),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw(3);b.xp6(1),b.Q6J("disabled",!Ce.changeAutoRegistration)("ngModel",Ce.autoRegistrationEnabled),b.xp6(2),b.hij(" ",b.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function ge(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",25),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(3).settings()}),b.TgZ(1,"i",12),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&He&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function Ne(He,fe){if(1&He&&(b.TgZ(0,"div",15),b.TgZ(1,"div",16),b.TgZ(2,"div",17),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",17),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",18),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",19),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.YNc(20,te,7,5,"span",2),b.qZA(),b.YNc(21,se,5,5,"div",2),b.qZA(),b.TgZ(22,"div",20),b.YNc(23,ge,5,3,"button",21),b.qZA(),b.qZA()),2&He){const Ce=b.oxw(2);b.xp6(1),b.Q6J("ngClass",Ce.autoRegistrationEnabled?"w-75":"w-50"),b.xp6(2),b.AsE(" ",b.lcZ(4,9,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",Ce.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,11,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",Ce.applicationForm.automaticApproval?b.lcZ(13,13,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,15,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",Ce.applicationForm.automaticApprovalExtension?b.lcZ(18,17,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(3),b.Q6J("ngIf",Ce.autoRegistrationEnabled),b.xp6(1),b.Q6J("ngIf",Ce.voHasEmbeddedGroupApplication),b.xp6(2),b.Q6J("ngIf",Ce.editAuth)}}function Fe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",26),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function ne(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",27),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).save()}),b.TgZ(1,"i",12),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&He){const Ce=b.oxw(2);b.Q6J("disabled",!Ce.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function Me(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",28),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).copy()}),b.TgZ(1,"i",12),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&He&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function ve(He,fe){1&He&&(b.TgZ(0,"app-alert",29),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const me=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},Te=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function ee(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div"),b.YNc(1,Ne,24,21,"div",4),b._UZ(2,"mat-divider",5),b.TgZ(3,"div",6),b.TgZ(4,"perun-web-apps-refresh-button",7),b.NdJ("refresh",function(){return b.CHM(Ce),b.oxw().updateFormItems()}),b.qZA(),b.YNc(5,Fe,3,3,"button",8),b.YNc(6,ne,5,4,"button",9),b.YNc(7,Me,5,3,"button",10),b.TgZ(8,"button",11),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().preview()}),b.TgZ(9,"i",12),b._uU(10,"search"),b.qZA(),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.YNc(13,ve,3,3,"app-alert",13),b.TgZ(14,"app-application-form-list",14),b.NdJ("applicationFormItemsChange",function(){return b.CHM(Ce),b.oxw().changeItems()}),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw();b.xp6(1),b.Q6J("ngIf",!Ce.loading),b.xp6(4),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("ngIf",Ce.editAuth),b.xp6(4),b.hij(" ",b.lcZ(12,12,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",Ce.editAuth),b.xp6(1),b.Q6J("loading",Ce.loading)("applicationForm",Ce.applicationForm)("applicationFormItems",Ce.applicationFormItems)("theme","group-theme")("displayedColumns",Ce.editAuth?b.DdM(14,me):b.DdM(15,Te))("refreshApplicationForm",Ce.refreshApplicationForm)}}function R(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",32),b.NdJ("click",function(){return b.CHM(Ce),b.oxw(2).createEmptyApplicationForm()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function Oe(He,fe){if(1&He&&(b.TgZ(0,"div"),b.TgZ(1,"app-alert",30),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,R,3,3,"button",31),b.qZA()),2&He){const Ce=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),b.xp6(2),b.Q6J("ngIf",Ce.createEmptyForm)}}let Ie=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt,N,he,D,S){this.registrarManager=Ce,this.dialog=Ve,this.notificator=Xe,this.translate=tt,this.apiRequest=rt,this.router=N,this.guiAuthResolver=he,this.attributesManager=D,this.entityStorageService=S,this.loading=!1,this.applicationFormItems=[],this.noApplicationForm=!1,this.itemsChanged=!1,this.editAuth=!1,this.createEmptyForm=!1,this.voHasEmbeddedGroupApplication=!1,this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.group=this.entityStorageService.getEntity(),this.setAuth(),this.apiRequest.dontHandleErrorForNext(),this.registrarManager.getGroupApplicationForm(this.group.id).subscribe(Ce=>{this.applicationForm=Ce,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ve=>{this.applicationFormItems=Ve,this.attributesManager.getGroupAttributeByName(this.group.id,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(Xe=>{this.voHasEmbeddedGroupApplication=null!==Xe.value,this.autoRegistrationEnabled=!!Xe.value,this.loading=!1})},()=>this.loading=!1)},Ce=>{"FormNotExistsException"===Ce.error.name?(this.noApplicationForm=!0,this.loading=!1):this.notificator.showRPCError(Ce.error)})}setAuth(){this.editAuth=this.guiAuthResolver.isAuthorized("group-updateFormItems_ApplicationForm_List_policy",[this.group]),this.createEmptyForm=this.guiAuthResolver.isAuthorized("createApplicationFormInGroup_Group_policy",[this.group]),this.changeAutoRegistration=this.guiAuthResolver.isAuthorized("addGroupsToAutoRegistration_List_policy",[this.group])}add(){let Ce=(0,s.kZ)();Ce.width="500px",Ce.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(f.J,Ce).afterClosed().subscribe(Xe=>{Xe&&(this.applicationFormItems=Object.assign([],Xe[0]),Ce=(0,s.kZ)(),Ce.width="600px",Ce.height="600px",Ce.data={voId:this.group.voId,groupId:this.group.id,applicationFormItem:Xe[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(g._,Ce),this.itemsChanged=!0)})}copy(){const Ce=(0,s.kZ)();Ce.width="500px",Ce.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(T.W,Ce).afterClosed().subscribe(Xe=>{Xe&&this.updateFormItems()})}settings(){const Ce=(0,s.kZ)();Ce.width="400px",Ce.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(m.E,Ce).afterClosed().subscribe(Xe=>{Xe&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(tt=>{this.notificator.showSuccess(tt)}),this.applicationForm=Xe)})}preview(){this.router.navigate(["/organizations",this.group.voId,"groups",this.group.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ce=>{this.applicationFormItems=Ce,this.itemsChanged=!1,this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}createEmptyApplicationForm(){this.registrarManager.createApplicationFormInGroup(this.group.id).subscribe(()=>{this.noApplicationForm=!1,this.ngOnInit()})}save(){let Ce=0;for(const Ve of this.applicationFormItems)Ve.ordnum=Ce,Ve.forDelete||Ce++;this.registrarManager.updateFormItemsForGroup({group:this.group.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(Ve=>{this.notificator.showSuccess(Ve)}),this.updateFormItems()})}clear(){this.applicationFormItems=[],this.itemsChanged=!0}updateAutoRegistration(){this.autoRegToggle.setDisabledState(!0),this.autoRegistrationEnabled?this.registrarManager.deleteGroupsFromAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1)):this.registrarManager.addGroupsToAutoRegistration([this.group.id]).subscribe(()=>{this.autoRegistrationEnabled=!this.autoRegistrationEnabled,this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Ce=>{this.notificator.showSuccess(Ce)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return He.id="GroupSettingsApplicationFormComponent",He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(A.tk),b.Y36(O.uw),b.Y36(e.V6),b.Y36(E.sK),b.Y36(e.F5),b.Y36(h.F0),b.Y36(e.x4),b.Y36(A.H8),b.Y36(e.fb))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-group-settings-application-form"]],viewQuery:function(Ce,Ve){if(1&Ce&&b.Gf(H,5),2&Ce){let Xe;b.iGM(Xe=b.CRH())&&(Ve.autoRegToggle=Xe.first)}},hostVars:2,hostBindings:function(Ce,Ve){2&Ce&&b.ekj("router-component",Ve.true)},decls:6,vars:6,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"d-flex","w-50"],[3,"ngClass"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["matTooltip","Embedded",1,"align-text-bottom"],["color","primary",3,"disabled","ngModel","change"],["autoRegToggle",""],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"],["alert_type","warn"],["mat-stroked-button","","data-cy","create-empty-form",3,"click",4,"ngIf"],["mat-stroked-button","","data-cy","create-empty-form",3,"click"]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,Q,1,0,"mat-spinner",1),b.YNc(4,ee,15,16,"div",2),b.YNc(5,Oe,5,4,"div",2)),2&Ce&&(b.xp6(1),b.hij(" ",b.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.noApplicationForm),b.xp6(1),b.Q6J("ngIf",!Ve.loading&&Ve.noApplicationForm))},directives:[k.O5,L.$g,k.mk,V.Hw,$.gM,ue.Rr,ce.JJ,ce.On,Le.lW,de.d,ke.t,ae.w,j.b],pipes:[E.X$],styles:[""]}),He})()},15592:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>ee});var e=d(81889),f=d(20449),g=d(41656),T=d(9244),m=d(9315),A=d(64080),s=d(10036),b=d(87842),O=d(36908),h=(d(387),d(5e3)),k=d(48966),L=d(96214),V=d(69808),$=d(47423),ue=d(29772),ce=d(64901),Le=d(32368),de=d(93075),ke=d(20773),ae=d(58956),j=d(24179),H=d(51062);const Q=["tree"],te=["list"],se=["toggle"];function ge(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",10),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function Ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().deleteGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&R){const Ie=h.oxw();h.Q6J("disabled",0===Ie.selected.selected.length||void 0!==Ie.tree&&!Ie.tree.removeAuth||void 0!==Ie.list&&!Ie.list.removeAuth),h.xp6(1),h.hij(" ",h.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function Fe(R,Oe){1&R&&h._UZ(0,"mat-spinner",12)}function ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).refreshTable()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("groups",Ie.groups)("expandAll",Ie.filtering)("hideCheckbox",!Ie.deleteAuth)("selection",Ie.selected)("filterValue",Ie.filterValue)("disableRouting",!Ie.routeAuth)}}const Me=function(){return["select","id","name","description","menu"]},ve=function(){return["id","name","description","menu"]};function me(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).refreshTable()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("tableId",Ie.tableId)("groups",Ie.groups)("selection",Ie.selected)("authType","group-subgroups")("disableMembers",!0)("disableRouting",!Ie.routeAuth)("displayedColumns",Ie.deleteAuth?h.DdM(8,Me):h.DdM(9,ve))("filter",Ie.filterValue)}}function Te(R,Oe){if(1&R&&(h.TgZ(0,"div",13),h.YNc(1,ne,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,me,2,10,"perun-web-apps-groups-list",15),h.qZA()),2&R){const Ie=h.oxw();h.xp6(1),h.Q6J("ngIf",!Ie.showGroupList),h.xp6(1),h.Q6J("ngIf",Ie.showGroupList)}}let ee=(()=>{class R{constructor(Ie,He,fe,Ce){this.dialog=Ie,this.groupService=He,this.guiAuthResolver=fe,this.entityStorageService=Ce,this.groups=[],this.selected=new f.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=s.bf,this.filterValue=""}onCreateGroup(){const Ie=(0,T.kZ)();Ie.width="450px",Ie.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(e.y,Ie).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.refreshTable())})}ngOnInit(){"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree")}),this.group=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.createAuth=this.guiAuthResolver.isAuthorized("createGroup_Group_Group_policy",[this.group]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.group]),0!==this.groups.length&&(this.routeAuth=this.guiAuthResolver.isAuthorized("getGroupById_int_policy",[this.groups[0]]))}deleteGroup(){const Ie=(0,T.kZ)();Ie.width="450px",Ie.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(g.P,Ie).afterClosed().subscribe(fe=>{fe&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[A.r.GROUP_DEF_MAIL_FOOTER,A.r.GROUP_SYNC_ENABLED,A.r.GROUP_LAST_SYNC_STATE,A.r.GROUP_LAST_SYNC_TIMESTAMP,A.r.GROUP_STRUCTURE_SYNC_ENABLED,A.r.GROUP_LAST_STRUCTURE_SYNC_STATE,A.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ie=>{this.groups=Ie,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ie){this.filterValue=Ie,this.filtering=""!==Ie}onMoveGroup(Ie){const He=(0,T.kZ)();He.width="550px",He.data={group:Ie,theme:"group-theme"},this.dialog.open(b.c,He).afterClosed().subscribe(Ce=>{Ce&&this.refreshTable()})}}return R.id="GroupSubgroupsComponent",R.\u0275fac=function(Ie){return new(Ie||R)(h.Y36(k.uw),h.Y36(m.ff),h.Y36(O.x4),h.Y36(O.fb))},R.\u0275cmp=h.Xpm({type:R,selectors:[["app-group-subgroups"]],viewQuery:function(Ie,He){if(1&Ie&&(h.Gf(Q,5),h.Gf(te,5),h.Gf(se,7)),2&Ie){let fe;h.iGM(fe=h.CRH())&&(He.tree=fe.first),h.iGM(fe=h.CRH())&&(He.list=fe.first),h.iGM(fe=h.CRH())&&(He.toggle=fe.first)}},hostVars:2,hostBindings:function(Ie,He){2&Ie&&h.ekj("router-component",He.true)},decls:19,vars:20,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2 action-button","color","accent","data-cy","new-subgroup-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","warn","class","mr-2","data-cy","delete-group-button",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["color","accent","data-cy","new-subgroup-button","mat-flat-button","",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable",4,"ngIf"],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable",4,"ngIf"],[3,"groups","expandAll","hideCheckbox","selection","filterValue","disableRouting","moveGroup","refreshTable"],["tree",""],[3,"tableId","groups","selection","authType","disableMembers","disableRouting","displayedColumns","filter","moveGroup","refreshTable"],["list",""]],template:function(Ie,He){if(1&Ie&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return He.refreshTable()}),h.qZA(),h.YNc(5,ge,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.YNc(8,Ne,3,4,"button",4),h.qZA(),h.TgZ(9,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(Ce){return He.applyFilter(Ce)}),h.qZA(),h.TgZ(10,"mat-slide-toggle",6,7),h.NdJ("change",function(){return He.selected.clear()})("ngModelChange",function(Ce){return He.showGroupList=Ce}),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"label"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.YNc(17,Fe,1,0,"mat-spinner",8),h.YNc(18,Te,3,2,"div",9),h.qZA()),2&Ie){const fe=h.MAs(11);h.xp6(2),h.Oqu(h.lcZ(3,12,"GROUP_DETAIL.SUBGROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",He.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,14,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===He.tree&&void 0===He.list||void 0!==He.tree&&He.tree.removeAuth||void 0!==He.list&&He.list.removeAuth),h.xp6(2),h.Q6J("ngIf",He.deleteAuth),h.xp6(1),h.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",He.showGroupList),h.xp6(2),h.Oqu(h.lcZ(13,16,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(16,18,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",He.loading),h.xp6(1),h.Q6J("ngIf",!He.loading)}},directives:[L.t,V.O5,$.lW,ue.gM,ce.P,Le.Rr,de.JJ,de.On,ke.$g,ae.I,j.W],pipes:[H.X$],styles:[""]}),R})()},85243:(Ke,be,d)=>{"use strict";d.d(be,{j:()=>Ie});var e=d(9315),f=d(10036),g=d(20449),T=d(9244),m=d(48966),A=d(36908),s=d(64080),b=d(5e3),O=d(51062),E=d(69808),h=d(20773),k=d(7434),L=d(24179),V=d(47423);function $(He,fe){1&He&&b._UZ(0,"mat-spinner",6)}function ue(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"perun-web-apps-immediate-filter",7),b.NdJ("filter",function(Xe){return b.CHM(Ce),b.oxw().applyFilter(Xe)}),b.qZA()}2&He&&b.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const ce=function(){return["select","id","name","description"]};function Le(He,fe){if(1&He&&b._UZ(0,"perun-web-apps-groups-list",8),2&He){const Ce=b.oxw();b.Q6J("groups",Ce.groups)("selection",Ce.selection)("displayedColumns",b.DdM(8,ce))("filter",Ce.filterValue)("groupsToDisableCheckbox",Ce.membersGroups)("disableGroups",!0)("disableRouting",!0)("disableMembers",!0)}}function de(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"div",9),b.TgZ(1,"button",10),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().onCancel()}),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"button",11),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().onAdd()}),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.qZA()}if(2&He){const Ce=b.oxw();b.xp6(2),b.hij(" ",b.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",0===Ce.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let ke=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt,N,he){this.dialogRef=Ce,this.data=Ve,this.groupManager=Xe,this.memberManager=tt,this.notificator=rt,this.translate=N,this.authResolver=he,this.loading=!1,this.groups=[],this.selection=new g.Ov(!0,[]),this.attrNames=[s.r.GROUP_SYNC_ENABLED,s.r.GROUP_LAST_SYNC_STATE,s.r.GROUP_LAST_SYNC_TIMESTAMP,s.r.GROUP_STRUCTURE_SYNC_ENABLED,s.r.GROUP_LAST_STRUCTURE_SYNC_STATE,s.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP],this.filterValue=""}ngOnInit(){this.theme=this.data.theme,this.membersGroups=this.data.membersGroups,this.loading=!0,this.memberManager.getMemberById(this.data.memberId).subscribe(Ce=>{this.member=Ce,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(Ve=>{this.groups=Ve.filter(Xe=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[Xe])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const Ce=this.selection.selected.map(Ve=>Ve.id);this.loading=!0,this.groupManager.addMember(Ce,this.member.id).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ADD_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}applyFilter(Ce){this.filterValue=Ce}}return He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(e.uq),b.Y36(A.V6),b.Y36(O.sK),b.Y36(A.x4))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-add-member-group-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter",4,"ngIf"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","filter","groupsToDisableCheckbox","disableGroups","disableRouting","disableMembers"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,$,1,0,"mat-spinner",1),b.TgZ(5,"div",2),b.YNc(6,ue,1,1,"perun-web-apps-immediate-filter",3),b.YNc(7,Le,1,9,"perun-web-apps-groups-list",4),b.qZA(),b.YNc(8,de,7,7,"div",5),b.qZA()),2&Ce&&(b.Tol(Ve.theme),b.xp6(2),b.Oqu(b.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",Ve.loading),b.xp6(2),b.Q6J("ngIf",!Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading))},directives:[m.uh,E.O5,h.$g,m.xY,k.L,L.W,m.H8,V.lW],pipes:[O.X$],styles:[""]}),He})();var ae=d(32075);function j(He,fe){1&He&&b._UZ(0,"mat-spinner",6)}function H(He,fe){1&He&&b._UZ(0,"th",15)}function Q(He,fe){if(1&He&&(b.TgZ(0,"td",16),b._uU(1),b.qZA()),2&He){const Ce=fe.$implicit;b.xp6(1),b.Oqu(Ce.name)}}function te(He,fe){1&He&&b._UZ(0,"tr",17)}function se(He,fe){1&He&&b._UZ(0,"tr",18)}function ge(He,fe){if(1&He&&(b.TgZ(0,"div",7),b.TgZ(1,"p"),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",8),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.TgZ(7,"table",9),b.ynx(8,10),b.YNc(9,H,1,0,"th",11),b.YNc(10,Q,2,1,"td",12),b.BQk(),b.YNc(11,te,1,0,"tr",13),b.YNc(12,se,1,0,"tr",14),b.qZA(),b.qZA()),2&He){const Ce=b.oxw();b.xp6(2),b.Oqu(b.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),b.xp6(3),b.hij(" ",b.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),b.xp6(2),b.Q6J("dataSource",Ce.dataSource),b.xp6(4),b.Q6J("matHeaderRowDef",Ce.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Ce.displayedColumns)}}let Ne=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt){this.dialogRef=Ce,this.data=Ve,this.groupManager=Xe,this.notificator=tt,this.translate=rt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new ae.by(this.data.groups)}onRemove(){this.loading=!0;const Ce=this.dataSource.data.map(Ve=>Ve.id);this.groupManager.removeMember(Ce,this.data.memberId).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_MEMBER_GROUP.SUCCESS")),this.dialogRef.close(!0)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}}return He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(m.so),b.Y36(m.WI),b.Y36(e.ff),b.Y36(A.V6),b.Y36(O.sK))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,j,1,0,"mat-spinner",1),b.YNc(5,ge,13,9,"div",2),b.TgZ(6,"div",3),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ve.onCancel()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.TgZ(10,"button",5),b.NdJ("click",function(){return Ve.onRemove()}),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.qZA(),b.qZA()),2&Ce&&(b.Tol(Ve.theme),b.xp6(2),b.Oqu(b.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),b.xp6(2),b.Q6J("ngIf",Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading),b.xp6(3),b.hij(" ",b.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),b.xp6(2),b.Q6J("disabled",Ve.loading),b.xp6(1),b.hij(" ",b.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[m.uh,E.O5,h.$g,m.xY,ae.BZ,ae.w1,ae.fO,ae.ge,ae.Dz,ae.ev,ae.as,ae.XQ,ae.nj,ae.Gk,m.H8,V.lW],pipes:[O.X$],styles:[""]}),He})();d(387);var ne=d(30325),Me=d(96214),ve=d(29772);const me=["list"];function Te(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"button",8),b.NdJ("click",function(){return b.CHM(Ce),b.oxw().addGroup()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&He&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function ee(He,fe){1&He&&b._UZ(0,"mat-spinner",9)}const R=function(){return["select","id","vo","name","description","expiration"]};function Oe(He,fe){if(1&He){const Ce=b.EpF();b.TgZ(0,"perun-web-apps-groups-list",10,11),b.NdJ("refreshTable",function(){return b.CHM(Ce),b.oxw().refreshTable()}),b.qZA()}if(2&He){const Ce=b.oxw();b.Q6J("tableId",Ce.tableId)("groups",Ce.groups)("displayedColumns",b.DdM(9,R))("selection",Ce.selection)("filter",Ce.filterValue)("memberId",Ce.memberId)("memberGroupStatus",Ce.member.groupStatus)("disableRouting",!Ce.routeAuth)("authType","member-groups")}}let Ie=(()=>{class He{constructor(Ce,Ve,Xe,tt,rt){this.groupsService=Ce,this.route=Ve,this.dialog=Xe,this.authResolver=tt,this.memberService=rt,this.filterValue="",this.tableId=f.W1,this.selection=new g.Ov(!0,[])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(Ce=>{this.memberId=Ce.memberId,this.memberService.getMemberById(this.memberId).subscribe(Ve=>{this.member=Ve,this.groupsService.getAllGroups(this.member.voId).subscribe(Xe=>{this.allGroups=Xe,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,["urn:perun:member_group:attribute-def:def:groupMembershipExpiration"]).subscribe(Ce=>{this.selection.clear(),this.groups=Ce,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const Ce={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((Ve,Xe)=>Ve||this.authResolver.isAuthorized("addMember_Group_Member_policy",[Xe]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[Ce,this.groups[0]]))}addGroup(){const Ce=(0,T.kZ)();Ce.width="850px",Ce.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(Xe=>Xe.id)),theme:"member-theme"},this.dialog.open(ke,Ce).afterClosed().subscribe(Xe=>{Xe&&this.refreshTable()})}removeGroup(){const Ce=(0,T.kZ)();Ce.width="650px",Ce.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(Ne,Ce).afterClosed().subscribe(Xe=>{Xe&&this.refreshTable()})}applyFilter(Ce){this.filterValue=Ce}}return He.id="MemberGroupsComponent",He.\u0275fac=function(Ce){return new(Ce||He)(b.Y36(e.ff),b.Y36(ne.gz),b.Y36(m.uw),b.Y36(A.x4),b.Y36(e.uq))},He.\u0275cmp=b.Xpm({type:He,selectors:[["app-member-groups"]],viewQuery:function(Ce,Ve){if(1&Ce&&b.Gf(me,5),2&Ce){let Xe;b.iGM(Xe=b.CRH())&&(Ve.list=Xe.first)}},hostVars:2,hostBindings:function(Ce,Ve){2&Ce&&b.ekj("router-component",Ve.true)},decls:13,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"mr-auto","ml-auto"],[3,"tableId","groups","displayedColumns","selection","filter","memberId","memberGroupStatus","disableRouting","authType","refreshTable"],["list",""]],template:function(Ce,Ve){1&Ce&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return Ve.refreshTable()}),b.qZA(),b.YNc(4,Te,3,3,"button",2),b.TgZ(5,"span",3),b.ALo(6,"translate"),b.TgZ(7,"button",4),b.NdJ("click",function(){return Ve.removeGroup()}),b._uU(8),b.ALo(9,"translate"),b.qZA(),b.qZA(),b.TgZ(10,"perun-web-apps-immediate-filter",5),b.NdJ("filter",function(tt){return Ve.applyFilter(tt)}),b.qZA(),b.YNc(11,ee,1,0,"mat-spinner",6),b.YNc(12,Oe,2,10,"perun-web-apps-groups-list",7)),2&Ce&&(b.xp6(1),b.Oqu(b.lcZ(2,9,"MEMBER_DETAIL.GROUPS.TITLE")),b.xp6(3),b.Q6J("ngIf",Ve.addAuth),b.xp6(1),b.s9C("matTooltip",b.lcZ(6,11,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),b.Q6J("matTooltipDisabled",void 0===Ve.list||void 0!==Ve.list&&Ve.list.removeAuth),b.xp6(2),b.Q6J("disabled",0===Ve.selection.selected.length||void 0!==Ve.list&&!Ve.list.removeAuth),b.xp6(1),b.hij(" ",b.lcZ(9,13,"MEMBER_DETAIL.GROUPS.REMOVE")," "),b.xp6(2),b.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),b.xp6(1),b.Q6J("ngIf",Ve.loading),b.xp6(1),b.Q6J("ngIf",!Ve.loading))},directives:[Me.t,E.O5,V.lW,ve.gM,k.L,h.$g,L.W],pipes:[O.X$],styles:[""]}),He})()},94856:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>de});var e=d(9315),f=d(10036),g=d(93075),T=d(69808),m=d(36908),A=d(5e3),s=d(96214),b=d(47423),O=d(67322),E=d(74107),h=d(90508),k=d(64901),L=d(39798),V=d(77446),$=d(9146),ue=d(51062);function ce(ke,ae){if(1&ke){const j=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(j),A.oxw().showDetails(!0)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ke&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function Le(ke,ae){if(1&ke){const j=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(j),A.oxw().showDetails(!1)}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&ke&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let de=(()=>{class ke{constructor(j,H){this.registrarManager=j,this.entityStorageService=H,this.state="pending",this.currentStates=["NEW","VERIFIED"],this.simpleColumns=["id","createdAt","type","state","createdBy","groupName","modifiedBy"],this.detailedColumns=["id","createdAt","voId","voName","groupId","groupName","type","state","extSourceName","extSourceType","user","createdBy","modifiedBy","modifiedAt","fedInfo"],this.currentColumns=[],this.filterValue="",this.showAllDetails=!1,this.detailTableId=f.Jf,this.tableId=f.Hi,this.showGroupApps=!1,this.refresh=!1}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.startDate=new g.NI((0,T.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new g.NI((0,T.p6)(new Date,"yyyy-MM-dd","en-GB")),this.currentColumns=this.refreshColumns()}select(){switch(this.state){case"approved":this.currentStates=["APPROVED"];break;case"rejected":this.currentStates=["REJECTED"];break;case"wfmv":this.currentStates=["NEW"];break;case"submited":this.currentStates=["VERIFIED"];break;case"pending":this.currentStates=["NEW","VERIFIED"];break;case"all":this.currentStates=null}}yearAgo(){const j=new Date;return j.setDate(j.getDate()-365),j}showGroupApplications(j){this.showGroupApps=j.checked,this.currentColumns=this.refreshColumns()}showDetails(j){this.showAllDetails=j,this.currentColumns=this.refreshColumns()}applyFilter(j){this.filterValue=j}refreshColumns(){return this.showAllDetails?this.showGroupApps?this.detailedColumns:this.detailedColumns.filter(j=>"groupName"!==j&&"groupId"!==j):this.showGroupApps?this.simpleColumns:this.simpleColumns.filter(j=>"groupName"!==j)}}return ke.id="VoApplicationsComponent",ke.\u0275fac=function(j){return new(j||ke)(A.Y36(e.tk),A.Y36(m.fb))},ke.\u0275cmp=A.Xpm({type:ke,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(j,H){2&j&&A.ekj("router-component",H.true)},decls:38,vars:43,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-stroked-button","","class","mr-2",3,"click",4,"ngIf"],[1,"input-width-250","mr-2"],["disableOptionCentering","",3,"value","selectionChange","valueChange"],["value","all"],["value","wfmv"],["value","submited"],["value","pending"],["value","approved"],["value","rejected"],[3,"placeholder","filter"],[3,"startDate","endDate","datePicker"],["color","primary",3,"checked","change"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","includeGroupApps","refreshTable","vo"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(j,H){1&j&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.TgZ(3,"div"),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return H.refresh=!H.refresh}),A.qZA(),A.YNc(5,ce,3,3,"button",2),A.YNc(6,Le,3,3,"button",2),A.TgZ(7,"mat-form-field",3),A.TgZ(8,"mat-label"),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"mat-select",4),A.NdJ("selectionChange",function(){return H.select()})("valueChange",function(te){return H.state=te}),A.TgZ(12,"mat-option",5),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-option",6),A._uU(16),A.ALo(17,"translate"),A.qZA(),A.TgZ(18,"mat-option",7),A._uU(19),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-option",8),A._uU(22),A.ALo(23,"translate"),A.qZA(),A.TgZ(24,"mat-option",9),A._uU(25),A.ALo(26,"translate"),A.qZA(),A.TgZ(27,"mat-option",10),A._uU(28),A.ALo(29,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(30,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(te){return H.applyFilter(te)}),A.qZA(),A.TgZ(31,"perun-web-apps-date-range",12),A.NdJ("datePicker",function(){return H.select()}),A.qZA(),A.TgZ(32,"div"),A.TgZ(33,"mat-checkbox",13),A.NdJ("change",function(te){return H.showGroupApplications(te)}),A._uU(34),A.ALo(35,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(36,"div"),A._UZ(37,"app-applications-dynamic-list",14),A.qZA()),2&j&&(A.xp6(1),A.Oqu(A.lcZ(2,25,"VO_DETAIL.APPLICATION.TITLE")),A.xp6(4),A.Q6J("ngIf",!H.showAllDetails),A.xp6(1),A.Q6J("ngIf",H.showAllDetails),A.xp6(3),A.Oqu(A.lcZ(10,27,"APPLICATIONS_LIST.STATE")),A.xp6(2),A.Q6J("value",H.state),A.xp6(2),A.Oqu(A.lcZ(14,29,"VO_DETAIL.APPLICATION.SELECTION_ALL")),A.xp6(3),A.Oqu(A.lcZ(17,31,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),A.xp6(3),A.Oqu(A.lcZ(20,33,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),A.xp6(3),A.Oqu(A.lcZ(23,35,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),A.xp6(3),A.Oqu(A.lcZ(26,37,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),A.xp6(3),A.Oqu(A.lcZ(29,39,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),A.xp6(1),A.Q6J("startDate",H.startDate)("endDate",H.endDate),A.xp6(2),A.Q6J("checked",H.showGroupApps),A.xp6(1),A.hij(" ",A.lcZ(35,41,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),A.xp6(3),A.Q6J("tableId",H.showAllDetails?H.detailTableId:H.tableId)("searchString",H.filterValue)("displayedColumns",H.currentColumns)("states",H.currentStates)("dateFrom",H.startDate.value)("dateTo",H.endDate.value)("includeGroupApps",H.showGroupApps)("refreshTable",H.refresh)("vo",H.vo))},directives:[s.t,T.O5,b.lW,O.KE,O.hX,E.gD,h.ey,k.P,L.S,V.oG,$.S],pipes:[ue.X$],styles:[""]}),ke})()},4732:(Ke,be,d)=>{"use strict";d.d(be,{G:()=>ee});var e=d(81889),f=d(41656),g=d(20449),T=d(87842),m=d(9244),A=d(9315),s=d(10036),b=d(64080),O=d(36908),h=(d(387),d(5e3)),k=d(48966),L=d(96214),V=d(69808),$=d(47423),ue=d(29772),ce=d(64901),Le=d(32368),de=d(93075),ke=d(20773),ae=d(58956),j=d(24179),H=d(98380),Q=d(51062);const te=["toggle"],se=["tree"],ge=["list"];function Ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Ie),h.oxw().onCreateGroup()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function Fe(R,Oe){1&R&&h._UZ(0,"mat-spinner",12)}function ne(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-tree",16,17),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("groups",Ie.groups)("expandAll",Ie.filtering)("vo",Ie.vo)("selection",Ie.selected)("disableRouting",!Ie.routeAuth)("filterValue",Ie.filterValue)}}const Me=function(){return["select","id","name","description","menu"]};function ve(R,Oe){if(1&R){const Ie=h.EpF();h.TgZ(0,"perun-web-apps-groups-list",18,19),h.NdJ("moveGroup",function(fe){return h.CHM(Ie),h.oxw(2).onMoveGroup(fe)})("refreshTable",function(){return h.CHM(Ie),h.oxw(2).loadAllGroups()}),h.qZA()}if(2&R){const Ie=h.oxw(2);h.Q6J("tableId",Ie.tableId)("groups",Ie.groups)("selection",Ie.selected)("disableMembers",!0)("displayedColumns",h.DdM(8,Me))("disableRouting",!Ie.routeAuth)("authType","vo-groups")("filter",Ie.filterValue)}}function me(R,Oe){if(1&R&&(h.TgZ(0,"div",13),h.YNc(1,ne,2,6,"perun-web-apps-groups-tree",14),h.YNc(2,ve,2,9,"perun-web-apps-groups-list",15),h.qZA()),2&R){const Ie=h.oxw();h.xp6(1),h.Q6J("ngIf",!Ie.showGroupList),h.xp6(1),h.Q6J("ngIf",Ie.showGroupList)}}function Te(R,Oe){1&R&&(h.TgZ(0,"app-alert",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&R&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let ee=(()=>{class R{constructor(Ie,He,fe,Ce){this.dialog=Ie,this.groupService=He,this.authResolver=fe,this.entityStorageService=Ce,this.groups=[],this.showGroupList=!1,this.selected=new g.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=s.rc}onCreateGroup(){const Ie=(0,m.kZ)();Ie.width="450px",Ie.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(e.y,Ie).afterClosed().subscribe(fe=>{fe&&(this.loading=!0,this.loadAllGroups())})}ngOnInit(){this.loading=!0,"list"===localStorage.getItem("preferedValue")&&(this.toggle.toggle(),this.selected.clear(),this.showGroupList=!0),this.toggle.change.subscribe(()=>{localStorage.setItem("preferedValue",this.toggle.checked?"list":"tree"),this.loadAllGroups()}),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.loadAllGroups()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createGroup_Vo_Group_policy",[this.vo]),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[this.vo,this.groups[0]]))}disableRemove(){return void 0!==this.tree&&!this.tree.removeAuth||void 0!==this.list&&!this.list.removeAuth}disableTooltip(){return void 0!==this.tree&&this.tree.removeAuth||void 0!==this.list&&this.list.removeAuth}deleteGroup(){const Ie=(0,m.kZ)();Ie.width="450px",Ie.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(f.P,Ie).afterClosed().subscribe(fe=>{fe&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(Ie){const He=(0,m.kZ)();He.width="550px",He.data={group:Ie,theme:"vo-theme"},this.dialog.open(T.c,He).afterClosed().subscribe(Ce=>{Ce&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[b.r.GROUP_SYNC_ENABLED,b.r.GROUP_LAST_SYNC_STATE,b.r.GROUP_LAST_SYNC_TIMESTAMP,b.r.GROUP_STRUCTURE_SYNC_ENABLED,b.r.GROUP_LAST_STRUCTURE_SYNC_STATE,b.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ie=>{this.groups=Ie,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ie){this.filterValue=Ie,this.filtering=""!==Ie}}return R.id="VoGroupsComponent",R.\u0275fac=function(Ie){return new(Ie||R)(h.Y36(k.uw),h.Y36(A.ff),h.Y36(O.x4),h.Y36(O.fb))},R.\u0275cmp=h.Xpm({type:R,selectors:[["app-vo-groups"]],viewQuery:function(Ie,He){if(1&Ie&&(h.Gf(te,7),h.Gf(se,5),h.Gf(ge,5)),2&Ie){let fe;h.iGM(fe=h.CRH())&&(He.toggle=fe.first),h.iGM(fe=h.CRH())&&(He.tree=fe.first),h.iGM(fe=h.CRH())&&(He.list=fe.first)}},hostVars:2,hostBindings:function(Ie,He){2&Ie&&h.ekj("router-component",He.true)},decls:22,vars:24,consts:[[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","create-group-button",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["mat-flat-button","","color","warn","data-cy","delete-group-button",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["color","primary","labelPosition","before",1,"mr-1",3,"ngModel","change","ngModelChange"],["toggle",""],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","create-group-button",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"groups","expandAll","vo","selection","disableRouting","filterValue","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"tableId","groups","selection","disableMembers","displayedColumns","disableRouting","authType","filter","moveGroup","refreshTable"],["list",""],["alert_type","warn"]],template:function(Ie,He){if(1&Ie&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return He.loadAllGroups()}),h.qZA(),h.YNc(5,Ne,3,3,"button",2),h.TgZ(6,"span",3),h.ALo(7,"translate"),h.TgZ(8,"button",4),h.NdJ("click",function(){return He.deleteGroup()}),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.qZA(),h.TgZ(11,"perun-web-apps-debounce-filter",5),h.NdJ("filter",function(Ce){return He.applyFilter(Ce)}),h.qZA(),h.TgZ(12,"mat-slide-toggle",6,7),h.NdJ("change",function(){return He.removeAllGroups()})("ngModelChange",function(Ce){return He.showGroupList=Ce}),h._uU(14),h.ALo(15,"translate"),h.qZA(),h.TgZ(16,"label"),h._uU(17),h.ALo(18,"translate"),h.qZA(),h.YNc(19,Fe,1,0,"mat-spinner",8),h.YNc(20,me,3,2,"div",9),h.YNc(21,Te,3,3,"app-alert",10),h.qZA()),2&Ie){const fe=h.MAs(13);h.xp6(2),h.Oqu(h.lcZ(3,14,"VO_DETAIL.GROUPS.TITLE")),h.xp6(3),h.Q6J("ngIf",He.createAuth),h.xp6(1),h.s9C("matTooltip",h.lcZ(7,16,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),h.Q6J("matTooltipDisabled",void 0===He.tree&&void 0===He.list||He.disableTooltip()),h.xp6(2),h.Q6J("disabled",0===He.selected.selected.length||He.disableRemove()),h.xp6(1),h.hij(" ",h.lcZ(10,18,"VO_DETAIL.GROUPS.DELETE_GROUP")," "),h.xp6(2),h.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),h.xp6(1),h.Q6J("ngModel",He.showGroupList),h.xp6(2),h.Oqu(h.lcZ(15,20,"VO_DETAIL.GROUPS.TREE_VIEW")),h.xp6(2),h.uIk("for",fe.inputId),h.xp6(1),h.Oqu(h.lcZ(18,22,"VO_DETAIL.GROUPS.LIST_VIEW")),h.xp6(2),h.Q6J("ngIf",He.loading),h.xp6(1),h.Q6J("ngIf",!He.loading&&0!==He.groups.length),h.xp6(1),h.Q6J("ngIf",0===He.groups.length&&!He.loading)}},directives:[L.t,V.O5,$.lW,ue.gM,ce.P,Le.Rr,de.JJ,de.On,ke.$g,ae.I,j.W,H.w],pipes:[Q.X$],styles:[""]}),R})()},81847:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>Me});var e=d(20449),f=d(36908),g=d(53455),T=d(97034),m=d(9315),A=d(64080),s=d(93075),b=d(10036),O=d(9244),E=d(74414),h=d(5e3),k=d(48966),L=d(96214),V=d(29772),$=d(69808),ue=d(47423),ce=d(67322),Le=d(74107),de=d(90508),ke=d(64901),ae=d(20773),j=d(4811),H=d(51062),Q=d(20551);function te(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",14),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onAddMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ve){const Te=h.oxw();h.Q6J("disabled",Te.blockManualMemberAdding),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function se(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",15),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onInviteMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&ve&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function ge(ve,me){if(1&ve){const Te=h.EpF();h.TgZ(0,"button",16),h.NdJ("click",function(){return h.CHM(Te),h.oxw().onRemoveMembers()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&ve){const Te=h.oxw();h.Q6J("disabled",Te.selection.isEmpty()),h.xp6(1),h.hij(" ",h.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Ne(ve,me){if(1&ve&&(h.TgZ(0,"mat-option",17),h._uU(1),h.ALo(2,"memberStatus"),h.qZA()),2&ve){const Te=me.$implicit;h.Q6J("value",Te),h.xp6(1),h.Oqu(h.lcZ(2,2,Te))}}function Fe(ve,me){1&ve&&h._UZ(0,"mat-spinner",18)}function ne(ve,me){if(1&ve&&h._UZ(0,"perun-web-apps-members-dynamic-list",19),2&ve){const Te=h.oxw();h.Q6J("voId",Te.vo.id)("tableId",Te.tableId)("selection",Te.selection)("displayedColumns",Te.displayedColumns)("attrNames",Te.attrNames)("searchString",Te.searchString)("selectedStatuses",Te.selectedStatuses)("updateTable",Te.updateTable)}}let Me=(()=>{class ve{constructor(Te,ee,R,Oe,Ie,He,fe){this.notificator=Te,this.dialog=ee,this.authzService=R,this.storeService=Oe,this.attributesManager=Ie,this.apiRequest=He,this.entityStorageService=fe,this.members=null,this.selection=new e.Ov(!0,[]),this.loading=!1,this.attrNames=[A.r.MEMBER_DEF_ORGANIZATION,A.r.MEMBER_DEF_MAIL,A.r.USER_DEF_ORGANIZATION,A.r.USER_DEF_PREFERRED_MAIL,A.r.MEMBER_DEF_EXPIRATION],this.statuses=new s.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=b.j1,this.displayedColumns=["checkbox","id","fullName","status","organization","email","logins"],this.updateTable=!1}ngOnInit(){this.loading=!0,this.statuses.setValue(this.selectedStatuses),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.isManualAddingBlocked(this.vo.id).then(()=>this.loading=!1)}setAuthRights(){this.addAuth=this.authzService.isAuthorized("createMember_Vo_User_List_policy",[this.vo])&&this.authzService.isAuthorized("createMember_Vo_Candidate_List_policy",[this.vo]),this.removeAuth=this.authzService.isAuthorized("deleteMembers_List_policy",[this.vo]),this.displayedColumns=this.removeAuth?this.displayedColumns:["id","fullName","status","organization","email","logins"],null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0]])),this.inviteAuth=this.authzService.isAuthorized("vo-sendInvitation_Vo_Group_String_String_String_policy",[this.vo])}onSearchByString(Te){this.searchString=Te,this.updateTable=!this.updateTable}onAddMember(){const Te=(0,O.kZ)();Te.width="1000px",Te.data={entityId:this.vo.id,voId:this.vo.id,theme:"vo-theme",type:"vo"},this.dialog.open(T.o,Te).afterClosed().subscribe(R=>{R&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const Te=(0,O.kZ)();Te.width="450px",Te.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(g.X,Te).afterClosed().subscribe(R=>{R&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const Te=(0,O.kZ)();Te.width="650px",Te.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(E.R,Te)}displaySelectedStatuses(){return this.selectedStatuses.length===this.statusList.length?"ALL":this.statuses.value?`${this.statuses.value[0]} ${this.statuses.value.length>1?"(+"+(this.statuses.value.length-1)+" "+(2===this.statuses.value.length?"other)":"others)"):""}`:""}isManualAddingBlocked(Te){return new Promise(ee=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Te,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(R=>{this.blockManualMemberAdding=null!==R.value,ee()},R=>{"PrivilegeException"!==R.error.name&&this.notificator.showError(R),ee()})})}changeStatuses(){this.selectedStatuses=this.statuses.value}}return ve.id="VoMembersComponent",ve.\u0275fac=function(Te){return new(Te||ve)(h.Y36(f.V6),h.Y36(k.uw),h.Y36(f.x4),h.Y36(f.d6),h.Y36(m.H8),h.Y36(f.F5),h.Y36(f.fb))},ve.\u0275cmp=h.Xpm({type:ve,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(Te,ee){2&Te&&h.ekj("router-component",ee.true)},decls:23,vars:21,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-members",3,"disabled","click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2","data-cy","remove-members",3,"disabled","click",4,"ngIf"],[1,"mr-2","fix-select"],["multiple","",3,"formControl","closed"],["class","vo-theme",3,"value",4,"ngFor","ngForOf"],[1,"mt-2","search-field",3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","add-members",1,"mr-2","action-button",3,"disabled","click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn","data-cy","remove-members",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"voId","tableId","selection","displayedColumns","attrNames","searchString","selectedStatuses","updateTable"]],template:function(Te,ee){1&Te&&(h.TgZ(0,"div",0),h.TgZ(1,"h1",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",2),h.TgZ(5,"perun-web-apps-refresh-button",3),h.NdJ("click",function(){return ee.updateTable=!ee.updateTable}),h.qZA(),h.TgZ(6,"div",4),h.ALo(7,"translate"),h.YNc(8,te,3,4,"button",5),h.qZA(),h.YNc(9,se,3,3,"button",6),h.YNc(10,ge,3,4,"button",7),h.TgZ(11,"mat-form-field",8),h.TgZ(12,"mat-label"),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.TgZ(15,"mat-select",9),h.NdJ("closed",function(){return ee.changeStatuses()}),h.TgZ(16,"mat-select-trigger"),h._uU(17),h.ALo(18,"memberStatus"),h.qZA(),h.YNc(19,Ne,3,4,"mat-option",10),h.qZA(),h.qZA(),h.TgZ(20,"perun-web-apps-debounce-filter",11),h.NdJ("filter",function(Oe){return ee.onSearchByString(Oe)}),h.qZA(),h.qZA(),h.YNc(21,Fe,1,0,"mat-spinner",12),h.YNc(22,ne,1,8,"perun-web-apps-members-dynamic-list",13),h.qZA()),2&Te&&(h.xp6(2),h.Oqu(h.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),h.xp6(4),h.s9C("matTooltip",h.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),h.Q6J("matTooltipDisabled",!ee.blockManualMemberAdding),h.xp6(2),h.Q6J("ngIf",ee.addAuth),h.xp6(1),h.Q6J("ngIf",ee.inviteAuth),h.xp6(1),h.Q6J("ngIf",ee.removeAuth),h.xp6(3),h.Oqu(h.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),h.xp6(2),h.Q6J("formControl",ee.statuses),h.xp6(2),h.hij(" ",h.lcZ(18,19,ee.displaySelectedStatuses())," "),h.xp6(2),h.Q6J("ngForOf",ee.statusList),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),h.xp6(1),h.Q6J("ngIf",ee.loading),h.xp6(1),h.Q6J("ngIf",!ee.loading))},directives:[L.t,V.gM,$.O5,ue.lW,ce.KE,ce.hX,Le.gD,s.JJ,s.oH,Le.$L,$.sg,de.ey,ke.P,ae.$g,j.m],pipes:[H.X$,Q.l],styles:[".search-field[_ngcontent-%COMP%]{width:325px}.align-elements[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.fix-select[_ngcontent-%COMP%]{margin-top:8px}"]}),ve})()},68056:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>de});var e=d(20449),f=d(9315),g=d(533),T=d(10036),m=d(9244),A=d(36908),s=d(5e3),b=d(48966),O=d(96214),E=d(69808),h=d(47423),k=d(7434),L=d(20773),V=d(62109),$=d(51062);function ue(ke,ae){if(1&ke){const j=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){return s.CHM(j),s.oxw().deleteSelectedResources()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&ke){const j=s.oxw();s.Q6J("disabled",0===j.selected.selected.length),s.xp6(1),s.hij(" ",s.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function ce(ke,ae){1&ke&&s._UZ(0,"mat-spinner",7)}function Le(ke,ae){if(1&ke&&s._UZ(0,"perun-web-apps-resources-list",8),2&ke){const j=s.oxw();s.Q6J("tableId",j.tableId)("filterValue",j.filterValue)("resources",j.resources)("routingVo",!0)("disableRouting",!j.routeAuth)("selection",j.selected)("displayedColumns",j.displayedColumns)}}let de=(()=>{class ke{constructor(j,H,Q,te){this.resourcesManager=j,this.dialog=H,this.authResolver=Q,this.entityStorageService=te,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=T.nT,this.routeAuth=!1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.refreshTable()}setAuthRights(){this.removeAuth=this.authResolver.isAuthorized("deleteResource_Resource_policy",[this.vo]),0!==this.resources.length&&(this.routeAuth=this.authResolver.isAuthorized("getResourceById_int_policy",[this.vo,this.resources[0]])),this.displayedColumns=this.removeAuth?["select","id","name","facility","tags","description"]:["id","name","facility","tags","description"]}refreshTable(){this.loading=!0,this.resourcesManager.getRichResources(this.vo.id).subscribe(j=>{this.resources=j,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(j){this.filterValue=j}deleteSelectedResources(){const j=(0,m.kZ)();j.width="450px",j.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(g.f,j).afterClosed().subscribe(Q=>{Q&&this.refreshTable()})}}return ke.id="VoResourcesPreviewComponent",ke.\u0275fac=function(j){return new(j||ke)(s.Y36(f.xk),s.Y36(b.uw),s.Y36(A.x4),s.Y36(A.fb))},ke.\u0275cmp=s.Xpm({type:ke,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(j,H){2&j&&s.ekj("router-component",H.true)},decls:9,vars:7,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","filterValue","resources","routingVo","disableRouting","selection","displayedColumns"]],template:function(j,H){1&j&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"perun-web-apps-refresh-button",1),s.NdJ("refresh",function(){return H.refreshTable()}),s.qZA(),s.YNc(5,ue,3,4,"button",2),s.TgZ(6,"perun-web-apps-immediate-filter",3),s.NdJ("filter",function(te){return H.applyFilter(te)}),s.qZA(),s.YNc(7,ce,1,0,"mat-spinner",4),s.YNc(8,Le,1,7,"perun-web-apps-resources-list",5),s.qZA()),2&j&&(s.xp6(2),s.Oqu(s.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),s.xp6(3),s.Q6J("ngIf",H.removeAuth),s.xp6(1),s.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),s.xp6(1),s.Q6J("ngIf",H.loading),s.xp6(1),s.Q6J("ngIf",!H.loading))},directives:[O.t,E.O5,h.lW,k.L,L.$g,V.C],pipes:[$.X$],styles:[""]}),ke})()},24219:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>D});var e=d(36908),f=d(9315),g=d(5e3),T=d(96214),m=d(53251),A=d(69808),s=d(98380),b=d(32075),O=d(20773),E=d(81125),h=d(4834),k=d(51062);function L(S,I){1&S&&g._UZ(0,"mat-spinner",2)}function V(S,I){if(1&S&&(g.TgZ(0,"mat-panel-description"),g.TgZ(1,"div"),g.TgZ(2,"i",10),g._uU(3," error "),g.qZA(),g._uU(4),g.ALo(5,"translate"),g.ALo(6,"translate"),g.qZA(),g.qZA()),2&S){const P=g.oxw().$implicit,i=g.oxw(2);g.xp6(4),g.HOy(" ",i.getErrorCountStates(P)," ",g.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",P.taskList.length," ",g.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function $(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")," "))}function ue(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.id)}}function ce(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")," "))}function Le(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.service.name)}}function de(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")," "))}function ke(S,I){if(1&S&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&S){const P=I.$implicit;g.xp6(1),g.Oqu(P.status)}}function ae(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")," "))}function j(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function H(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Q(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,j,3,4,"div",25),g.YNc(2,H,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.schedule)("ngIfElse",i)}}function te(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")," "))}function se(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function ge(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Ne(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,se,3,4,"div",25),g.YNc(2,ge,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.startTime)("ngIfElse",i)}}function Fe(S,I){1&S&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")," "))}function ne(S,I){if(1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&S){const P=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,P.schedule,"d.M.y H:mm:ss")," ")}}function Me(S,I){1&S&&(g._uU(0),g.ALo(1,"translate")),2&S&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function ve(S,I){if(1&S&&(g.TgZ(0,"td",24),g.YNc(1,ne,3,4,"div",25),g.YNc(2,Me,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&S){const P=I.$implicit,i=g.MAs(3);g.xp6(1),g.Q6J("ngIf",P.endTime)("ngIfElse",i)}}function me(S,I){1&S&&g._UZ(0,"tr",28)}const Te=function(S,I,P){return{redTableItem:S,greenTableItem:I,yellowTableItem:P}};function ee(S,I){if(1&S&&g._UZ(0,"tr",29),2&S){const P=I.$implicit;g.Q6J("ngClass",g.kEZ(1,Te,"ERROR"===P.status||"SENDERROR"===P.status||"GENERROR"===P.status,"DONE"===P.status,"WARNING"===P.status))}}function R(S,I){if(1&S&&(g.TgZ(0,"table",12),g.ynx(1,13),g.YNc(2,$,3,3,"th",14),g.YNc(3,ue,2,1,"td",15),g.BQk(),g.ynx(4,16),g.YNc(5,ce,3,3,"th",14),g.YNc(6,Le,2,1,"td",15),g.BQk(),g.ynx(7,17),g.YNc(8,de,3,3,"th",14),g.YNc(9,ke,2,1,"td",15),g.BQk(),g.ynx(10,18),g.YNc(11,ae,3,3,"th",14),g.YNc(12,Q,4,2,"td",15),g.BQk(),g.ynx(13,19),g.YNc(14,te,3,3,"th",14),g.YNc(15,Ne,4,2,"td",15),g.BQk(),g.ynx(16,20),g.YNc(17,Fe,3,3,"th",14),g.YNc(18,ve,4,2,"td",15),g.BQk(),g.YNc(19,me,1,0,"tr",21),g.YNc(20,ee,1,5,"tr",22),g.qZA()),2&S){const P=g.oxw(2).$implicit,i=g.oxw(2);g.Q6J("dataSource",i.datasources[i.propagation.indexOf(P)]),g.xp6(19),g.Q6J("matHeaderRowDef",i.displayedColumns),g.xp6(1),g.Q6J("matRowDefColumns",i.displayedColumns)}}function Oe(S,I){1&S&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Ie(S,I){if(1&S&&(g._UZ(0,"mat-divider"),g.YNc(1,R,21,3,"table",11),g.YNc(2,Oe,3,3,"div",8)),2&S){const P=g.oxw().$implicit;g.xp6(1),g.Q6J("ngIf",0!==P.taskList.length),g.xp6(1),g.Q6J("ngIf",0===P.taskList.length)}}function He(S,I){if(1&S&&(g.TgZ(0,"mat-expansion-panel"),g.TgZ(1,"mat-expansion-panel-header"),g.TgZ(2,"mat-panel-title"),g._UZ(3,"img",6),g.TgZ(4,"div",7),g._uU(5),g.qZA(),g.qZA(),g.YNc(6,V,7,8,"mat-panel-description",8),g.qZA(),g.YNc(7,Ie,3,2,"ng-template",9),g.qZA()),2&S){const P=I.$implicit,i=g.oxw(2);g.xp6(5),g.hij(" ",P.resource.name," "),g.xp6(1),g.Q6J("ngIf",0!==i.getErrorCountStates(P))}}function fe(S,I){if(1&S&&(g.TgZ(0,"div",3),g.TgZ(1,"mat-accordion",4),g.YNc(2,He,8,2,"mat-expansion-panel",5),g.qZA(),g.qZA()),2&S){const P=g.oxw();g.xp6(2),g.Q6J("ngForOf",P.propagation)}}let Ce=(()=>{class S{constructor(){this.propagation=[],this.loading=!1,this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}getErrorCountStates(P){let i=0;for(const r of P.taskList)("ERROR"===r.status||"GENERROR"===r.status||"SENDERROR"===r.status)&&i++;return i}getDataSource(){this.datasources=[];for(const P of this.propagation)this.datasources.push(new b.by(P.taskList))}ngOnChanges(){this.getDataSource()}}return S.\u0275fac=function(P){return new(P||S)},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-state-tab"]],inputs:{propagation:"propagation",loading:"loading"},features:[g.TTD],decls:2,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],["class","p-2",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"p-2"],["multi","true","togglePosition","before",1,"headers-align"],[4,"ngFor","ngForOf"],["src","assets/img/PerunWebImages/resource-black.svg","height","28","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["mat-table","","class","w-100",3,"dataSource",4,"ngIf"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","status"],["matColumnDef","scheduled"],["matColumnDef","started"],["matColumnDef","ended"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf","ngIfElse"],["class","font-italic"],["notYet",""],["mat-header-row",""],["mat-row","",3,"ngClass"]],template:function(P,i){1&P&&(g.YNc(0,L,1,0,"mat-spinner",0),g.YNc(1,fe,3,1,"div",1)),2&P&&(g.Q6J("ngIf",i.loading),g.xp6(1),g.Q6J("ngIf",!i.loading))},directives:[A.O5,O.$g,E.pp,A.sg,E.ib,E.yz,E.yK,E.u4,E.HS,h.d,b.BZ,b.w1,b.fO,b.ge,b.Dz,b.ev,b.as,b.XQ,b.nj,b.Gk,A.mk],pipes:[k.X$,A.uU],styles:[".greenTableItem[_ngcontent-%COMP%]{background-color:#c4ffcb}.yellowTableItem[_ngcontent-%COMP%]{background-color:#fffde7}.redTableItem[_ngcontent-%COMP%]{background-color:#ffcdd2}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-basis:0}.headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{margin-left:15%;justify-content:space-between;align-items:center}"]}),S})();function Ve(S,I){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",5),g._uU(3),g.qZA()),2&S){const P=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),g.xp6(3),g.Oqu(P.errorPropagation.length)}}function Xe(S,I){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function tt(S,I){if(1&S&&(g.YNc(0,Xe,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const P=g.oxw();g.Q6J("ngIf",!P.loading&&0===P.errorPropagation.length),g.xp6(1),g.Q6J("loading",P.loading)("propagation",P.errorPropagation)}}function rt(S,I){if(1&S&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",9),g._uU(3),g.qZA()),2&S){const P=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),g.xp6(3),g.Oqu(P.okPropagation.length)}}function N(S,I){1&S&&(g.TgZ(0,"app-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&S&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function he(S,I){if(1&S&&(g.YNc(0,N,3,3,"app-alert",6),g._UZ(1,"app-state-tab",7)),2&S){const P=g.oxw();g.Q6J("ngIf",!P.loading&&0===P.okPropagation.length),g.xp6(1),g.Q6J("loading",P.loading)("propagation",P.okPropagation)}}let D=(()=>{class S{constructor(P,i){this.taskService=P,this.entityStorageService=i,this.loading=!1,this.okPropagation=[],this.errorPropagation=[],this.resourceStates=[],this.selectedIndex=0}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.refreshTable()}refreshTable(){this.loading=!0,this.taskService.getAllResourcesState(this.vo.id).subscribe(P=>{this.resourceStates=P,this.okPropagation=[],this.errorPropagation=[];for(const i of P){let r=!0;for(const p of i.taskList)if("ERROR"===p.status||"GENERROR"===p.status||"SENDERROR"===p.status){r=!1;break}r?this.okPropagation.push(i):this.errorPropagation.push(i)}this.loading=!1},()=>this.loading=!1)}}return S.id="VoResourcesStatesComponent",S.\u0275fac=function(P){return new(P||S)(g.Y36(f.Ob),g.Y36(e.fb))},S.\u0275cmp=g.Xpm({type:S,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(P,i){2&P&&g.ekj("router-component",i.true)},decls:11,vars:4,consts:[[1,"page-subtitle"],[3,"refresh"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],["matTabContent",""],[1,"badge","badge-danger","ml-1"],["alert_type","warn",4,"ngIf"],[3,"loading","propagation"],["alert_type","warn"],[1,"badge","badge-success","ml-1"]],template:function(P,i){1&P&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"perun-web-apps-refresh-button",1),g.NdJ("refresh",function(){return i.refreshTable()}),g.qZA(),g.TgZ(4,"mat-tab-group",2),g.NdJ("selectedIndexChange",function(p){return i.selectedIndex=p}),g.TgZ(5,"mat-tab"),g.YNc(6,Ve,4,4,"ng-template",3),g.YNc(7,tt,2,3,"ng-template",4),g.qZA(),g.TgZ(8,"mat-tab"),g.YNc(9,rt,4,4,"ng-template",3),g.YNc(10,he,2,3,"ng-template",4),g.qZA(),g.qZA()),2&P&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.TITLE")),g.xp6(3),g.Q6J("selectedIndex",i.selectedIndex))},directives:[T.t,m.SP,m.uX,m.uD,m.Vc,A.O5,s.w,Ce],pipes:[k.X$],styles:[""]}),S})()},10369:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>Ne});var e=d(1186),f=d(36908),g=d(95502),T=d(51076),m=d(83491),A=d(9315),s=d(9244),b=d(5e3),O=d(48966),E=d(51062),h=d(30325),k=d(69808),L=d(20773),V=d(25245),$=d(29772),ue=d(47423),ce=d(4834),Le=d(96214),de=d(98380),ke=d(157);function ae(Fe,ne){1&Fe&&b._UZ(0,"mat-spinner",13)}function j(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",21),b.NdJ("click",function(){return b.CHM(Me),b.oxw(2).settings()}),b.TgZ(1,"i",10),b._uU(2,"edit"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function H(Fe,ne){if(1&Fe&&(b.TgZ(0,"div",14),b.TgZ(1,"div",15),b.TgZ(2,"div",16),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.TgZ(5,"div"),b.TgZ(6,"span",16),b._uU(7),b.ALo(8,"translate"),b.qZA(),b._uU(9,": "),b.TgZ(10,"mat-icon",17),b._uU(11,"arrow_right_alt"),b.qZA(),b._uU(12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"mat-icon",18),b._uU(16,"restore"),b.qZA(),b._uU(17),b.ALo(18,"translate"),b.ALo(19,"translate"),b.qZA(),b.qZA(),b.TgZ(20,"div",19),b.YNc(21,j,5,3,"button",20),b.qZA(),b.qZA()),2&Fe){const Me=b.oxw();b.xp6(3),b.AsE(" ",b.lcZ(4,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",Me.applicationForm.moduleClassName," "),b.xp6(4),b.Oqu(b.lcZ(8,8,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),b.xp6(5),b.hij(" ",Me.applicationForm.automaticApproval?b.lcZ(13,10,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(14,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),b.xp6(5),b.hij(" ",Me.applicationForm.automaticApprovalExtension?b.lcZ(18,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):b.lcZ(19,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),b.xp6(4),b.Q6J("ngIf",Me.editAuth)}}function Q(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",22),b.NdJ("click",function(){return b.CHM(Me),b.oxw().add()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function te(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",23),b.NdJ("click",function(){return b.CHM(Me),b.oxw().save()}),b.TgZ(1,"i",10),b._uU(2,"save"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}if(2&Fe){const Me=b.oxw();b.Q6J("disabled",!Me.itemsChanged),b.xp6(3),b.hij(" ",b.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function se(Fe,ne){if(1&Fe){const Me=b.EpF();b.TgZ(0,"button",24),b.NdJ("click",function(){return b.CHM(Me),b.oxw().copy()}),b.TgZ(1,"i",10),b._uU(2,"file_copy"),b.qZA(),b._uU(3),b.ALo(4,"translate"),b.qZA()}2&Fe&&(b.xp6(3),b.hij(" ",b.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function ge(Fe,ne){1&Fe&&(b.TgZ(0,"app-alert",25),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&Fe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}let Ne=(()=>{class Fe{constructor(Me,ve,me,Te,ee,R,Oe,Ie){this.registrarManager=Me,this.dialog=ve,this.notificator=me,this.translate=Te,this.router=ee,this.authResolver=R,this.voService=Oe,this.entityStorageService=Ie,this.loading=!1,this.applicationFormItems=[],this.itemsChanged=!1,this.displayedColumns=[],this.refreshApplicationForm=!1,this.idCounter=-1}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights(),this.registrarManager.getVoApplicationForm(this.vo.id).subscribe(Me=>{this.applicationForm=Me,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(ve=>{this.applicationFormItems=ve,this.loading=!1})})}setAuthRights(){this.editAuth=this.authResolver.isAuthorized("vo-updateFormItems_ApplicationForm_List_policy",[this.vo]),this.displayedColumns=this.editAuth?["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]:["shortname","type","disabled","hidden","preview","managegroups"]}add(){let Me=(0,s.kZ)();Me.width="500px",Me.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(T.J,Me).afterClosed().subscribe(me=>{me&&(this.applicationFormItems=Object.assign([],me[0]),Me=(0,s.kZ)(),Me.width="600px",Me.height="600px",Me.data={voId:this.vo.id,applicationFormItem:me[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(m._,Me),this.itemsChanged=!0)})}copy(){const Me=(0,s.kZ)();Me.width="500px",Me.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(g.W,Me).afterClosed().subscribe(me=>{me&&this.updateFormItems()})}settings(){const Me=(0,s.kZ)();Me.width="400px",Me.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(e.E,Me).afterClosed().subscribe(me=>{me&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Te=>{this.notificator.showSuccess(Te)}),this.applicationForm=me)})}preview(){this.router.navigate(["/organizations",this.vo.id,"settings","applicationForm","preview"],{queryParams:{applicationFormItems:JSON.stringify(this.applicationFormItems)}})}updateFormItems(){this.loading=!0,this.refreshApplicationForm=!0,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(Me=>{this.applicationFormItems=Me,this.itemsChanged=!1,this.setAuthRights(),this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let Me=0;for(const ve of this.applicationFormItems)ve.ordnum=Me,ve.forDelete||Me++;this.registrarManager.updateFormItemsForVo({vo:this.vo.id,items:this.applicationFormItems}).subscribe(()=>{this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_APPLICATION_FORM_ITEMS_SUCCESS").subscribe(ve=>{this.notificator.showSuccess(ve)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(Me=>Me.forDelete=!0),this.itemsChanged=!0}}return Fe.id="VoSettingsApplicationFormComponent",Fe.\u0275fac=function(Me){return new(Me||Fe)(b.Y36(A.tk),b.Y36(O.uw),b.Y36(f.V6),b.Y36(E.sK),b.Y36(h.F0),b.Y36(f.x4),b.Y36(A.YF),b.Y36(f.fb))},Fe.\u0275cmp=b.Xpm({type:Fe,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(Me,ve){2&Me&&b.ekj("router-component",ve.true)},decls:19,vars:18,consts:[[1,"page-subtitle"],["class","ml-auto mr-auto",4,"ngIf"],["class","d-flex w-50",4,"ngIf"],[1,"mb-2","mt-2"],[1,"w-100","d-flex"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","add-form-item",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2","data-cy","save-application-form",3,"disabled","click",4,"ngIf"],["mat-stroked-button","","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"loading","applicationForm","applicationFormItems","theme","displayedColumns","refreshApplicationForm","applicationFormItemsChange"],[1,"ml-auto","mr-auto"],[1,"d-flex","w-50"],[1,"w-50"],[1,"font-weight-bold"],["matTooltip","Initial",1,"align-text-bottom"],["matTooltip","Extension",1,"align-text-bottom"],[1,"w-25"],["mat-stroked-button","","class","ml-auto action-button",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","add-form-item",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","accent","data-cy","save-application-form",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"]],template:function(Me,ve){1&Me&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.YNc(3,ae,1,0,"mat-spinner",1),b.TgZ(4,"div"),b.YNc(5,H,22,18,"div",2),b._UZ(6,"mat-divider",3),b.TgZ(7,"div",4),b.TgZ(8,"perun-web-apps-refresh-button",5),b.NdJ("refresh",function(){return ve.updateFormItems()}),b.qZA(),b.YNc(9,Q,3,3,"button",6),b.YNc(10,te,5,4,"button",7),b.YNc(11,se,5,3,"button",8),b.TgZ(12,"button",9),b.NdJ("click",function(){return ve.preview()}),b.TgZ(13,"i",10),b._uU(14,"search"),b.qZA(),b._uU(15),b.ALo(16,"translate"),b.qZA(),b.qZA(),b.YNc(17,ge,3,3,"app-alert",11),b.TgZ(18,"app-application-form-list",12),b.NdJ("applicationFormItemsChange",function(){return ve.changeItems()}),b.qZA(),b.qZA()),2&Me&&(b.xp6(1),b.hij(" ",b.lcZ(2,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),b.xp6(2),b.Q6J("ngIf",ve.loading),b.xp6(2),b.Q6J("ngIf",!ve.loading),b.xp6(4),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("ngIf",ve.editAuth),b.xp6(4),b.hij(" ",b.lcZ(16,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),b.xp6(2),b.Q6J("ngIf",ve.editAuth),b.xp6(1),b.Q6J("loading",ve.loading)("applicationForm",ve.applicationForm)("applicationFormItems",ve.applicationFormItems)("theme","vo-theme")("displayedColumns",ve.displayedColumns)("refreshApplicationForm",ve.refreshApplicationForm))},directives:[k.O5,L.$g,V.Hw,$.gM,ue.lW,ce.d,Le.t,de.w,ke.b],pipes:[E.X$],styles:[""]}),Fe})()},3246:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>qi});var e=d(9315),f=d(20449),g=d(10036),T=d(9244),m=d(48966),A=d(36908),s=d(93075),b=d(69808),O=d(45323),E=d(28499),h=d(5e3),k=d(51062),L=d(20773),V=d(92081),$=d(98380),ue=d(67322),ce=d(98833),Le=d(74107),de=d(90508),ke=d(29772),ae=d(77446),j=d(13469),H=d(79814),Q=d(74250),te=d(86856);let se=(()=>{class Ct{constructor(){this.expiration="never",this.expirationControl=new s.NI(null),this.datePicker=new h.vpe}ngOnInit(){const Y=new Date;this.minDate=new Date(Y.getFullYear(),Y.getMonth(),Y.getDate()),this.expirationControl.setValue((0,b.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,b.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return Ct.\u0275fac=function(Y){return new(Y||Ct)},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["perun-web-apps-expiration-select"]],inputs:{expiration:"expiration"},outputs:{datePicker:"datePicker"},decls:13,vars:14,consts:[[1,"d-flex","flex-column",3,"ngModel","ngModelChange","change"],["value","never"],[3,"value"],["color","primary",1,"cursor-pointer","mr-3",3,"click"],["readonly","","matInput","",1,"disable",3,"min","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""]],template:function(Y,lt){if(1&Y){const we=h.EpF();h.TgZ(0,"mat-radio-group",0),h.NdJ("ngModelChange",function(zt){return lt.expiration=zt})("change",function(){return lt.emitDate()}),h.TgZ(1,"mat-radio-button",1),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",2),h.TgZ(5,"mat-form-field",3),h.NdJ("click",function(){return h.CHM(we),h.MAs(12).open()}),h.TgZ(6,"mat-label"),h._uU(7),h.ALo(8,"translate"),h.qZA(),h.TgZ(9,"input",4),h.NdJ("dateChange",function(){return lt.setExpiration()}),h.qZA(),h._UZ(10,"mat-datepicker-toggle",5),h._UZ(11,"mat-datepicker",6,7),h.qZA(),h.qZA(),h.qZA()}if(2&Y){const we=h.MAs(12);h.Q6J("ngModel",lt.expiration),h.xp6(2),h.hij(" ",h.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),h.xp6(2),h.s9C("value",lt.expirationControl.value),h.xp6(3),h.Oqu(h.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),h.xp6(2),h.Q6J("min",lt.minDate)("formControl",lt.expirationControl)("matDatepicker",we),h.xp6(1),h.Q6J("for",we)("disabled",!1),h.xp6(1),h.Q6J("disabled",!1)}},directives:[H.VQ,s.JJ,s.On,H.U0,ue.KE,ue.hX,ce.Nt,s.Fj,te.hl,s.oH,te.nW,ue.R9,te.Mq],pipes:[k.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Ct})();var ge=d(25245),Ne=d(47423),Fe=d(31359);const ne=["stepper"];function Me(Ct,$t){1&Ct&&(h.TgZ(0,"h1",4),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")," "))}function ve(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",5)}function me(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Te(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",34),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function ee(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function R(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Oe(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function Ie(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-option",35),h._uU(1),h.qZA()),2&Ct){const Y=$t.$implicit;h.Q6J("value",Y),h.xp6(1),h.hij(" ",Y," ")}}function He(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function fe(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function Ce(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Ve(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function Xe(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"perun-web-apps-user-search-select",36),h.NdJ("userSelected",function(we){return h.CHM(Y),h.oxw(2).selectedSponsor=we}),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.xp6(1),h.Q6J("users",Y.voSponsors)("disableAutoSelect",!0)}}function tt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",6),h.TgZ(1,"mat-stepper",7,8),h.TgZ(3,"mat-step",9),h.YNc(4,me,2,3,"ng-template",10),h.YNc(5,Te,3,3,"app-alert",11),h.TgZ(6,"form",12),h.TgZ(7,"h5",13),h._uU(8),h.ALo(9,"translate"),h.qZA(),h.TgZ(10,"mat-form-field",14),h._UZ(11,"input",15),h.ALo(12,"translate"),h.YNc(13,ee,3,3,"mat-error",16),h.qZA(),h.TgZ(14,"mat-form-field"),h._UZ(15,"input",17),h.ALo(16,"translate"),h.YNc(17,R,3,3,"mat-error",16),h.qZA(),h.TgZ(18,"mat-form-field"),h._UZ(19,"input",18),h.ALo(20,"translate"),h.qZA(),h.TgZ(21,"mat-form-field"),h._UZ(22,"input",19),h.ALo(23,"translate"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"mat-step",9),h.YNc(25,Oe,2,3,"ng-template",10),h.TgZ(26,"h5",13),h._uU(27),h.ALo(28,"translate"),h.qZA(),h.TgZ(29,"form",20),h.TgZ(30,"mat-form-field"),h.TgZ(31,"mat-select",21),h.NdJ("valueChange",function(we){return h.CHM(Y),h.oxw().onNamespaceChanged(we)}),h.ALo(32,"translate"),h.YNc(33,Ie,2,2,"mat-option",22),h.qZA(),h.YNc(34,He,3,3,"mat-error",16),h.qZA(),h.TgZ(35,"mat-form-field",23),h.ALo(36,"translate"),h._UZ(37,"input",24),h.ALo(38,"translate"),h.YNc(39,fe,3,3,"mat-error",16),h.qZA(),h.TgZ(40,"mat-form-field"),h._UZ(41,"input",25),h.ALo(42,"translate"),h.YNc(43,Ce,3,3,"mat-error",16),h.qZA(),h.TgZ(44,"span",23),h.ALo(45,"translate"),h.TgZ(46,"mat-checkbox",26),h.NdJ("change",function(){return h.CHM(Y),h.oxw().passwordResetChange()}),h._uU(47),h.ALo(48,"translate"),h.qZA(),h.qZA(),h._UZ(49,"perun-web-apps-password-form",27),h.qZA(),h.qZA(),h.TgZ(50,"mat-step"),h.YNc(51,Ve,2,3,"ng-template",10),h.TgZ(52,"div",28),h.TgZ(53,"h5",13),h._uU(54),h.ALo(55,"translate"),h.qZA(),h.TgZ(56,"div",14),h.TgZ(57,"h6"),h._uU(58),h.ALo(59,"translate"),h.qZA(),h.TgZ(60,"mat-radio-group",29),h.NdJ("ngModelChange",function(we){return h.CHM(Y),h.oxw().sponsorType=we}),h.TgZ(61,"span",30),h.ALo(62,"translate"),h.TgZ(63,"mat-radio-button",31),h.NdJ("click",function(){return h.CHM(Y),h.oxw().selectedSponsor=null}),h._uU(64),h.ALo(65,"translate"),h.qZA(),h.qZA(),h.TgZ(66,"span",30),h.ALo(67,"translate"),h.TgZ(68,"mat-radio-button",32),h._uU(69),h.ALo(70,"translate"),h.qZA(),h.qZA(),h.qZA(),h.YNc(71,Xe,2,2,"div",16),h.qZA(),h.TgZ(72,"h6",14),h._uU(73),h.ALo(74,"translate"),h.qZA(),h.TgZ(75,"perun-web-apps-expiration-select",33),h.NdJ("datePicker",function(we){return h.CHM(Y),h.oxw().setExpiration(we)}),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(1),h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",Y.userControl),h.xp6(2),h.Q6J("ngIf",Y.functionalityNotSupported),h.xp6(1),h.Q6J("formGroup",Y.userControl),h.xp6(2),h.hij(" ",h.lcZ(9,42,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),h.xp6(3),h.s9C("placeholder",h.lcZ(12,44,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),h.xp6(2),h.Q6J("ngIf",Y.userControl.hasError("required","firstName")),h.xp6(2),h.s9C("placeholder",h.lcZ(16,46,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),h.xp6(2),h.Q6J("ngIf",Y.userControl.hasError("required","lastName")),h.xp6(2),h.s9C("placeholder",h.lcZ(20,48,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),h.xp6(3),h.s9C("placeholder",h.lcZ(23,50,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),h.xp6(2),h.Q6J("stepControl",Y.namespaceControl),h.xp6(3),h.Oqu(h.lcZ(28,52,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),h.xp6(2),h.Q6J("formGroup",Y.namespaceControl),h.xp6(2),h.s9C("placeholder",h.lcZ(32,54,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",Y.namespaceOptions),h.xp6(1),h.Q6J("ngIf",Y.namespaceControl.hasError("required","namespace")),h.xp6(1),h.s9C("matTooltip",h.lcZ(36,56,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),h.Q6J("matTooltipDisabled",Y.namespaceControl.get("login").enabled),h.xp6(2),h.s9C("placeholder",h.lcZ(38,58,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),h.xp6(2),h.Q6J("ngIf",Y.namespaceControl.hasError("required","login")),h.xp6(2),h.s9C("placeholder",h.lcZ(42,60,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),h.xp6(2),h.Q6J("ngIf",Y.namespaceControl.hasError("required","email")||Y.namespaceControl.hasError("pattern","email")),h.xp6(1),h.s9C("matTooltip",h.lcZ(45,62,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),h.Q6J("matTooltipDisabled",Y.namespaceControl.get("passwordReset").enabled),h.xp6(3),h.hij("",h.lcZ(48,64,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),h.xp6(2),h.Q6J("formGroup",Y.namespaceControl)("tooltipPwdViaEmail",Y.namespaceControl.get("passwordReset").value)("namespace",Y.selectedNamespace),h.xp6(5),h.Oqu(h.lcZ(55,66,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),h.xp6(4),h.Oqu(h.lcZ(59,68,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),h.xp6(2),h.Q6J("ngModel",Y.sponsorType),h.xp6(1),h.s9C("matTooltip",h.lcZ(62,70,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),h.Q6J("matTooltipDisabled",Y.isSponsor),h.xp6(2),h.Q6J("disabled",!Y.isSponsor),h.xp6(1),h.hij(" ",h.lcZ(65,72,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(67,74,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),h.Q6J("matTooltipDisabled",Y.isPerunAdmin),h.xp6(2),h.Q6J("disabled",!Y.isPerunAdmin),h.xp6(1),h.hij(" ",h.lcZ(70,76,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),h.xp6(2),h.Q6J("ngIf","other"===Y.sponsorType),h.xp6(2),h.Oqu(h.lcZ(74,78,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION"))}}function rt(Ct,$t){if(1&Ct&&(h.TgZ(0,"div",6),h.TgZ(1,"div",37),h.TgZ(2,"mat-icon",38),h._uU(3,"done"),h.qZA(),h._uU(4),h.ALo(5,"translate"),h.TgZ(6,"i"),h._uU(7),h.ALo(8,"userFullName"),h.qZA(),h._uU(9),h.ALo(10,"translate"),h.qZA(),h.TgZ(11,"div"),h._uU(12),h.ALo(13,"translate"),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"app-alert",39),h._uU(18),h.ALo(19,"translate"),h.qZA(),h.qZA()),2&Ct){const Y=h.oxw();h.xp6(4),h.hij(" ",h.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),h.xp6(3),h.Oqu(h.lcZ(8,10,Y.createdMember.user)),h.xp6(2),h.hij(" ",h.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),h.xp6(3),h.AsE("",h.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",Y.loginThatWasSet,""),h.xp6(3),h.AsE(" ",h.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",Y.namespaceControl.get("passwordCtrl").value," "),h.xp6(3),h.Oqu(h.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function N(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",41),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()}2&Ct&&(h.xp6(2),h.hij(" ",h.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}function he(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",41),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "))}function D(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",46),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.ekj("ml-2",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)("ml-auto",!(void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)),h.Q6J("disabled",Y.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," ")}}function S(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).onConfirm()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("disabled",null===Y.sponsorType||"other"===Y.sponsorType&&null===Y.selectedSponsor),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function I(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",40),h.TgZ(1,"button",42),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,he,3,3,"button",43),h.YNc(5,D,3,8,"button",44),h.YNc(6,S,3,4,"button",45),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex!==Y.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex===Y.stepper._steps.length-1)}}let P=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt,di,Oi,zi,mn,In){this.dialogRef=Y,this.data=lt,this.membersService=we,this.apiRequestConfiguration=ct,this.usersService=zt,this.store=Jt,this.translator=di,this.authzService=Oi,this.guiAuthResolver=zi,this.formBuilder=mn,this.cd=In,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.namespaceRules=[],this.selectedNamespace=null,this.parsedRules=new Map,this.userControl=null,this.namespaceControl=null,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.expiration="never"}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(O.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",s.kI.required],lastName:["",s.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",s.kI.required],login:["",[s.kI.required]],passwordCtrl:["",s.kI.required,[(0,E.yT)(null,this.usersService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],passwordReset:[!1,[]],email:["",[s.kI.required,s.kI.pattern(T.B2)]]},{validators:T.dN.passwordMatchValidator}),this.membersService.getAllNamespacesRules().subscribe(Y=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(Y),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1,this.cd.detectChanges()})}parseNamespaceRules(){for(const Y of this.namespaceRules){this.namespaceOptions.push(Y.namespaceName);const lt={login:"disabled",password:"disabled"};this.parseAttributes(lt,Y.requiredAttributes,"required"),this.parseAttributes(lt,Y.optionalAttributes,"optional"),this.parsedRules.set(Y.namespaceName,lt)}}parseAttributes(Y,lt,we){for(const ct of lt)switch(ct){case"login":Y.login=we;break;case"password":Y.password=we}}onConfirm(){this.loading=!0;const Y={vo:this.data.voId,userData:{firstName:this.userControl.get("firstName").value,lastName:this.userControl.get("lastName").value,titleAfter:this.userControl.get("titleAfter").value,titleBefore:this.userControl.get("titleBefore").value,email:this.namespaceControl.get("email").value},sponsor:"other"===this.sponsorType?this.selectedSponsor.id:this.store.getPerunPrincipal().userId},lt=this.namespaceControl.get("namespace").value,we=this.parsedRules.get(lt);"No namespace"!==lt&&(Y.userData.namespace=lt),"disabled"!==we.login&&(Y.userData.login=this.namespaceControl.get("login").value),"disabled"!==we.password&&(Y.sendActivationLink=this.namespaceControl.get("passwordReset").value,Y.userData.password=this.namespaceControl.get("passwordCtrl").value),"never"!==this.expiration&&(Y.validityTo=this.expiration),this.membersService.createSponsoredMember(Y).subscribe(ct=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=ct,!!ct&&!!ct.userAttributes&&ct.userAttributes.filter(zt=>"login-namespace"===zt.baseFriendlyName).filter(zt=>zt.friendlyNameParameter===lt).filter(zt=>null!==zt.value).forEach(zt=>{this.loginThatWasSet=zt.value.toString()}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(Y){this.selectedNamespace=Y;const lt=this.parsedRules.get(Y),we=this.namespaceControl.get("login"),ct=this.namespaceControl.get("passwordCtrl"),zt=this.namespaceControl.get("passwordAgainCtrl"),Jt=this.namespaceControl.get("passwordReset");"disabled"!==lt.login?(0,T.mH)(we,"optional"===lt.login?[]:[s.kI.required]):(we.disable(),we.setValue("")),"disabled"!==lt.password?((0,T.mH)(ct,"optional"===lt.password?[]:[s.kI.required],[(0,E.yT)(Y,this.usersService,this.apiRequestConfiguration)]),(0,T.mH)(zt,[]),(0,T.mH)(Jt,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(ct.disable(),ct.setValue(""),zt.disable(),zt.setValue(""),Jt.disable(),Jt.setValue(!1))}passwordResetChange(){const Y=this.namespaceControl.get("passwordCtrl"),lt=this.namespaceControl.get("passwordAgainCtrl");this.namespaceControl.get("passwordReset").value?(Y.disable(),Y.setValue(""),lt.disable(),lt.setValue("")):(Y.enable(),lt.enable())}setExpiration(Y){this.expiration="never"===Y?"never":(0,b.p6)(Y,"yyyy-MM-dd","en-GB")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.userControl.invalid;case 1:return this.namespaceControl.invalid||this.namespaceControl.get("passwordCtrl").pending;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.so),h.Y36(m.WI),h.Y36(e.uq),h.Y36(A.F5),h.Y36(e.Fv),h.Y36(A.d6),h.Y36(k.sK),h.Y36(e.Ct),h.Y36(A.x4),h.Y36(s.qu),h.Y36(h.sBO))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-create-sponsored-member-dialog"]],viewQuery:function(Y,lt){if(1&Y&&h.Gf(ne,5),2&Y){let we;h.iGM(we=h.CRH())&&(lt.stepper=we.first)}},decls:7,vars:9,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"dialog-container",3,"formGroup"],[1,"mt-2"],[1,"mt-4"],["matInput","","formControlName","firstName","required","",3,"placeholder"],[4,"ngIf"],["matInput","","formControlName","lastName","required","",3,"placeholder"],["matInput","","formControlName","titleBefore",3,"placeholder"],["matInput","","formControlName","titleAfter",3,"placeholder"],[1,"dialog-container","mt-4",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","required","","formControlName","login",3,"placeholder"],["matInput","","required","","formControlName","email",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],[3,"formGroup","tooltipPwdViaEmail","namespace"],[1,"dialog-container"],[1,"dialog-container",3,"ngModel","ngModelChange"],["matTooltipPosition","before",3,"matTooltip","matTooltipDisabled"],["value","self",3,"disabled","click"],["value","other",3,"disabled"],[1,"mt-2",3,"datePicker"],["alert_type","error"],[3,"value"],[3,"users","disableAutoSelect","userSelected"],[1,"bigger-font","mb-2"],[1,"mr-2","mb-2"],["alert_type","warn"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["class","ml-2","color","accent","mat-flat-button","","type","button",3,"disabled","click",4,"ngIf"],["color","accent","mat-flat-button","","type","button",3,"disabled","click"],["color","accent","mat-flat-button","","type","button",1,"ml-2",3,"disabled","click"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.YNc(1,Me,3,3,"h1",0),h.YNc(2,ve,1,0,"mat-spinner",1),h.YNc(3,tt,76,80,"div",2),h.YNc(4,rt,20,20,"div",2),h.YNc(5,N,4,3,"div",3),h.YNc(6,I,7,6,"div",3),h.qZA()),2&Y&&(h.Tol(lt.theme),h.xp6(1),h.Q6J("ngIf",!lt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading&&!lt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!lt.loading&<.successfullyCreated),h.xp6(1),h.Q6J("ngIf",lt.successfullyCreated),h.xp6(1),h.Q6J("ngIf",!lt.loading&&!lt.successfullyCreated))},directives:[b.O5,m.uh,L.$g,m.xY,V.Vq,V.C0,V.VY,$.w,s._Y,s.JL,s.sg,ue.KE,ce.Nt,s.Fj,s.JJ,s.u,s.Q7,ue.TO,Le.gD,b.sg,de.ey,ke.gM,ae.oG,j.G,H.VQ,s.On,H.U0,Q.S,se,ge.Hw,m.H8,Ne.lW],pipes:[k.X$,Fe.d],styles:[".bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:8px}mat-icon[_ngcontent-%COMP%]{color:#28a745;font-size:36px;vertical-align:bottom}"]}),Ct})();var i=d(64080),r=d(61150),p=d(7434),o=d(24179),t=d(92181);const n=["stepper"];function c(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",4)}function u(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function y(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",29),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function M(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-option",30),h._uU(1),h.qZA()),2&Ct){const Y=$t.$implicit;h.Q6J("value",Y),h.xp6(1),h.hij(" ",Y," ")}}function re(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function et(Ct,$t){1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function yt(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",Y.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function pt(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",Y.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function Nt(Ct,$t){if(1&Ct&&(h.TgZ(0,"mat-error"),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(3);h.xp6(1),h.AsE(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",Y.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function It(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function Zt(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",31),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function mt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"mat-radio-group",32),h.NdJ("ngModelChange",function(we){return h.CHM(Y),h.oxw(3).passwordReset=we}),h.TgZ(1,"mat-radio-button",33),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"mat-radio-button",34),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(3);h.Q6J("ngModel",Y.passwordReset),h.xp6(2),h.hij(" ",h.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),h.xp6(3),h.hij(" ",h.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function Ht(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function _t(Ct,$t){1&Ct&&(h._uU(0),h.ALo(1,"translate")),2&Ct&&h.Oqu(h.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function Je(Ct,$t){1&Ct&&(h.TgZ(0,"div"),h.TgZ(1,"app-alert",35),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.qZA()),2&Ct&&(h.xp6(2),h.Oqu(h.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Lt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-create-group-form",37),h.NdJ("nameChanged",function(we){return h.CHM(Y),h.oxw(3).name=we})("descriptionChanged",function(we){return h.CHM(Y),h.oxw(3).description=we})("parentGroupChanged",function(we){return h.CHM(Y),h.oxw(3).parentGroup=we})("asSubgroupChanged",function(we){return h.CHM(Y),h.oxw(3).asSubGroup=we}),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")," "),h.xp6(2),h.Q6J("voGroups",Y.allVoGroups)}}const ht=function(){return["select","id","name","description"]};function Rt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"h5",36),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-immediate-filter",38),h.NdJ("filter",function(we){return h.CHM(Y),h.oxw(3).applyFilter(we)}),h.qZA(),h._UZ(5,"perun-web-apps-groups-list",39),h.qZA()}if(2&Ct){const Y=h.oxw(3);h.xp6(2),h.hij(" ",h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")," "),h.xp6(2),h.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),h.xp6(1),h.Q6J("groups",Y.assignableGroups)("selection",Y.selection)("displayedColumns",h.DdM(10,ht))("disableRouting",!0)("tableId",Y.tableId)("filter",Y.filterValue)}}function qe(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"mat-stepper",8,9),h.TgZ(2,"mat-step",10),h.YNc(3,u,2,3,"ng-template",11),h.YNc(4,y,3,3,"app-alert",12),h.TgZ(5,"h5",13),h._uU(6),h.ALo(7,"translate"),h.qZA(),h.TgZ(8,"form",14),h.TgZ(9,"mat-form-field"),h.TgZ(10,"mat-select",15),h.ALo(11,"translate"),h.YNc(12,M,2,2,"mat-option",16),h.qZA(),h.YNc(13,re,3,3,"mat-error",7),h.qZA(),h.TgZ(14,"div"),h._uU(15),h.ALo(16,"translate"),h.qZA(),h.TgZ(17,"div",17),h._uU(18),h.qZA(),h.TgZ(19,"mat-form-field",18),h.TgZ(20,"mat-label"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"textarea",19),h._uU(24," "),h.qZA(),h.YNc(25,et,3,3,"mat-error",7),h.YNc(26,yt,3,4,"mat-error",7),h.YNc(27,pt,3,4,"mat-error",7),h.YNc(28,Nt,3,4,"mat-error",7),h.qZA(),h.qZA(),h.qZA(),h.TgZ(29,"mat-step"),h.YNc(30,It,2,3,"ng-template",11),h.TgZ(31,"div",13),h.TgZ(32,"h5",20),h._uU(33),h.ALo(34,"translate"),h.qZA(),h.YNc(35,Zt,3,3,"app-alert",21),h.YNc(36,mt,7,7,"mat-radio-group",22),h.qZA(),h.qZA(),h.TgZ(37,"mat-step"),h.YNc(38,Ht,2,3,"ng-template",11),h.TgZ(39,"div",13),h.TgZ(40,"h5",20),h._uU(41),h.ALo(42,"translate"),h.qZA(),h.TgZ(43,"perun-web-apps-expiration-select",23),h.NdJ("datePicker",function(we){return h.CHM(Y),h.oxw(2).setExpiration(we)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(44,"mat-step"),h.YNc(45,_t,2,3,"ng-template",11),h.TgZ(46,"div",13),h.TgZ(47,"h5",20),h._uU(48),h.ALo(49,"translate"),h.qZA(),h.TgZ(50,"mat-radio-group",24),h.NdJ("change",function(){return h.CHM(Y),h.oxw(2).groupAssigmentChanged()})("ngModelChange",function(we){return h.CHM(Y),h.oxw(2).groupAssignment=we}),h.TgZ(51,"mat-radio-button",25),h._uU(52),h.ALo(53,"translate"),h.qZA(),h.TgZ(54,"span",26),h.ALo(55,"translate"),h.TgZ(56,"mat-radio-button",27),h._uU(57),h.ALo(58,"translate"),h.qZA(),h.qZA(),h.TgZ(59,"span",26),h.ALo(60,"translate"),h.TgZ(61,"mat-radio-button",28),h._uU(62),h.ALo(63,"translate"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.YNc(64,Je,4,3,"div",7),h.YNc(65,Lt,5,4,"div",7),h.YNc(66,Rt,6,11,"div",7),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("linear",!0),h.xp6(2),h.Q6J("stepControl",Y.usersInfoFormGroup),h.xp6(2),h.Q6J("ngIf",Y.functionalityNotSupported),h.xp6(2),h.Oqu(h.lcZ(7,35,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),h.xp6(2),h.Q6J("formGroup",Y.usersInfoFormGroup),h.xp6(2),h.s9C("placeholder",h.lcZ(11,37,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),h.xp6(2),h.Q6J("ngForOf",Y.namespaceOptions),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("required","namespace")),h.xp6(2),h.Oqu(h.lcZ(16,39,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),h.xp6(3),h.hij(" ",Y.getSelectedNamespaceRules().csvGenHeaderDescription," "),h.xp6(3),h.Oqu(h.lcZ(22,41,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),h.xp6(2),h.s9C("placeholder",Y.getSelectedNamespaceRules().csvGenPlaceholder),h.xp6(2),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("required","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),h.xp6(1),h.Q6J("ngIf",Y.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),h.xp6(5),h.hij(" ",h.lcZ(34,43,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")," "),h.xp6(2),h.Q6J("ngIf","No namespace"===Y.getSelectedNamespaceRules().namespaceName),h.xp6(1),h.Q6J("ngIf","No namespace"!==Y.getSelectedNamespaceRules().namespaceName),h.xp6(5),h.Oqu(h.lcZ(42,45,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),h.xp6(2),h.Q6J("expiration",Y.expiration),h.xp6(5),h.Oqu(h.lcZ(49,47,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),h.xp6(2),h.Q6J("ngModel",Y.groupAssignment),h.xp6(2),h.hij(" ",h.lcZ(53,49,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(55,51,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),h.Q6J("matTooltipDisabled",!Y.manualMemberAddingBlocked&&Y.createGroupAuth),h.xp6(2),h.Q6J("disabled",Y.manualMemberAddingBlocked||!Y.createGroupAuth),h.xp6(1),h.hij(" ",h.lcZ(58,53,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),h.xp6(2),h.s9C("matTooltip",h.lcZ(60,55,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),h.Q6J("matTooltipDisabled",!Y.manualMemberAddingBlocked&&0!==Y.assignableGroups.length),h.xp6(2),h.Q6J("disabled",Y.manualMemberAddingBlocked||0===Y.assignableGroups.length),h.xp6(1),h.hij(" ",h.lcZ(63,57,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),h.xp6(2),h.Q6J("ngIf","none"===Y.groupAssignment),h.xp6(1),h.Q6J("ngIf","new"===Y.groupAssignment),h.xp6(1),h.Q6J("ngIf","existing"===Y.groupAssignment)}}function Ye(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.Q6J("alert_type","success"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")," "))}function oe(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",41),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.Q6J("alert_type","warn"),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.FINISHED_WITH_ERRORS")," "))}function Z(Ct,$t){if(1&Ct&&(h.TgZ(0,"div"),h.YNc(1,Ye,3,4,"app-alert",40),h.YNc(2,oe,3,4,"app-alert",40),h.qZA()),2&Ct){const Y=h.oxw(2);h.xp6(1),h.Q6J("ngIf",!1===Y.finishedWithErrors),h.xp6(1),h.Q6J("ngIf",Y.finishedWithErrors)}}function G(Ct,$t){if(1&Ct&&(h.TgZ(0,"div",5),h.YNc(1,qe,67,59,"mat-stepper",6),h.YNc(2,Z,3,2,"div",7),h.qZA()),2&Ct){const Y=h.oxw();h.xp6(1),h.Q6J("ngIf","user-input"===Y.state),h.xp6(1),h.Q6J("ngIf","results"===Y.state)}}function X(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",47),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperPrevious()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "))}function _e(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).stepperNext()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.ekj("ml-2",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)("ml-auto",!(void 0!==Y.stepper&&0!==Y.stepper.selectedIndex)),h.Q6J("disabled",Y.getStepperNextConditions()),h.xp6(1),h.hij(" ",h.lcZ(2,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," ")}}function Ue(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",48),h.NdJ("click",function(){return h.CHM(Y),h.oxw(2).onSubmit()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("disabled",null===Y.groupAssignment||"existing"===Y.groupAssignment&&0===Y.selection.selected.length||"new"===Y.groupAssignment&&(0===Y.name.length||0===Y.description.length)||!0===Y.asSubGroup&&null===Y.parentGroup),h.xp6(1),h.hij(" ",h.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function wt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCancel()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,X,3,3,"button",44),h.YNc(5,_e,3,8,"button",45),h.YNc(6,Ue,3,4,"button",46),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(2),h.hij(" ",h.lcZ(3,4,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),h.xp6(2),h.Q6J("ngIf",void 0!==Y.stepper&&0!==Y.stepper.selectedIndex),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex!==Y.stepper._steps.length-1),h.xp6(1),h.Q6J("ngIf",void 0!==Y.stepper&&Y.stepper.selectedIndex===Y.stepper._steps.length-1)}}function Ut(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"div",42),h.TgZ(1,"button",43),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onClose()}),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"button",49),h._uU(5),h.ALo(6,"translate"),h.qZA(),h.TgZ(7,"mat-menu",null,50),h.TgZ(9,"button",51),h.NdJ("click",function(){return h.CHM(Y),h.oxw().generatePdf()}),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.TgZ(12,"button",51),h.NdJ("click",function(){return h.CHM(Y),h.oxw().downloadCsv()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.qZA(),h.qZA()}if(2&Ct){const Y=h.MAs(8);h.xp6(2),h.hij(" ",h.lcZ(3,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CLOSE")," "),h.xp6(2),h.Q6J("matMenuTriggerFor",Y),h.xp6(1),h.hij(" ",h.lcZ(6,7,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD")," "),h.xp6(5),h.hij(" ",h.lcZ(11,9,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_PDF")," "),h.xp6(3),h.hij(" ",h.lcZ(14,11,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_CSV")," ")}}let Vt=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt,di,Oi,zi,mn,In,Wi){this.dialogRef=Y,this.data=lt,this.store=we,this.membersService=ct,this.notificator=zt,this.translate=Jt,this.guiAuthResolver=di,this.groupsService=Oi,this.attributesService=zi,this.formBuilder=mn,this.sponsoredMembersPDFService=In,this.cd=Wi,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.namespaceRules=[],this.state="user-input",this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new f.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.submitDisabled=!1,this.filterValue="",this.tableId=g.rc,this.finishedWithErrors=!1,this.groupAttrNames=[i.r.GROUP_SYNC_ENABLED,i.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}static didSomeGenerationFailed(Y){return Y.forEach(lt=>{if("OK"!==lt.status)return!0}),!1}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.createGroupAuth=this.guiAuthResolver.isAuthorized("createGroup_Vo_Group_policy",[{id:this.data.voId,beanName:"Vo"}]),this.usersInfoFormGroup=this.formBuilder.group({namespace:["",s.kI.required],sponsoredMembers:["",[s.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(Y=>{this.manualMemberAddingBlocked=this.hasAttributeEnabled(Y,"blockManualMemberAdding"),!0!==this.manualMemberAddingBlocked?this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(lt=>{this.allVoGroups=lt.filter(we=>"members"!==we.name),this.assignableGroups=this.filterAssignableGroups(lt),this.membersService.getAllNamespacesRules().subscribe(we=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",csvGenHeader:"firstname;lastname;urn:perun:user:attribute-def:def:preferredMail",csvGenPlaceholder:"John;Doe;john@mail.cz",csvGenHeaderDescription:"First name;Last name;Email"}),this.namespaceRules=this.namespaceRules.concat(we),this.namespaceRules.forEach(ct=>this.namespaceOptions.push(ct.namespaceName)),0===this.namespaceOptions.length?this.functionalityNotSupported=!0:this.usersInfoFormGroup.setValue({namespace:this.namespaceOptions[0],sponsoredMembers:""}),this.loading=!1,this.cd.detectChanges()})},()=>this.loading=!1):(this.loading=!1,this.cd.detectChanges())},()=>this.loading=!1)}filterAssignableGroups(Y){const lt=[];for(const we of Y)!this.hasAttributeEnabled(we.attributes,"synchronizationEnabled")&&!this.hasAttributeEnabled(we.attributes,"blockManualMemberAdding")&&this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[we])&<.push(we);return lt}hasAttributeEnabled(Y,lt){return Y.some(we=>we.friendlyName===lt&&null!==we.value&&"true"===we.value.toString())}createOutputObjects(Y){let lt="",we="",ct="",zt="";const Jt=[];return Y.forEach(di=>{lt=di.name.replace(";"," ").split(";")[0],we=di.status,ct=di.login?di.login:ct,zt=di.password?di.password:zt,Jt.push({name:lt,status:we,login:ct,password:zt})}),Jt}onGenerate(){this.loading=!0;const Y=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),lt=this.getSelectedNamespaceRules().csvGenHeader,we=[];for(const zt of Y){const Jt=this.parseMemberLine(zt);if("format"===Jt||"email"===Jt)return void(this.loading=!1);""!==Jt&&we.push(Jt)}const ct={data:we,header:lt,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(ct.groups=this.groupIds),"never"!==this.expiration&&(ct.validityTo=(0,b.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(ct.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(ct).subscribe(zt=>{this.state="results",this.finishedWithErrors=Ct.didSomeGenerationFailed(zt),this.loading=!1,this.resultData=zt},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onClose(){this.dialogRef.close(!0)}parseMemberLine(Y){const lt=Y.trim();if(""===lt)return"";const we=lt.split(";"),ct=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(we.length!==ct.length)return"format";if("mail"===ct[2].slice(ct[2].length-4).toLowerCase()&&!we[2].trim().match(T.B2))return"email";if("login"===ct[3]&&""===we[3].trim())return"login";let zt="";for(const Jt of we)zt+=Jt.trim()+";";return zt.slice(0,-1)}userInputValidator(){return Y=>{const lt=Y.value.split("\n");for(const we of lt){const ct=this.parseMemberLine(we);if("format"===ct)return{invalidFormat:{value:we}};if("email"===ct)return{invalidEmail:{value:we}};if("login"===ct)return{invalidLogin:{value:we}}}return null}}setExpiration(Y){this.expiration="never"===Y?"never":(0,b.p6)(Y,"yyyy-MM-dd","en-GB")}applyFilter(Y){this.filterValue=Y}groupAssigmentChanged(){this.selection.clear(),this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null}onSubmit(){this.loading=!0,"new"===this.groupAssignment?this.asSubGroup?this.groupsService.createGroupWithParentGroupNameDescription(this.parentGroup.id,this.name,this.description).subscribe(Y=>{this.groupIds.push(Y.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(Y=>{this.groupIds.push(Y.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(Y=>Y.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(Y=>Y.namespaceName===this.usersInfoFormGroup.get("namespace").value)}generatePdf(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");this.loading=!0,this.sponsoredMembersPDFService.generate(this.resultData).then(()=>this.loading=!1)}downloadCsv(){if(!this.resultData)throw new Error("Cannot generate pdf because there is no result");(0,T.O6)(this.createOutputObjects(this.resultData),"csv","member-logins")}getStepperNextConditions(){switch(this.stepper.selectedIndex){case 0:return this.usersInfoFormGroup.invalid;case 1:return null===this.passwordReset;case 2:return null===this.expiration;default:return!1}}stepperPrevious(){this.stepper.previous()}stepperNext(){this.stepper.next()}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(k.sK),h.Y36(A.x4),h.Y36(e.ff),h.Y36(e.H8),h.Y36(s.qu),h.Y36(A.HV),h.Y36(h.sBO))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(Y,lt){if(1&Y&&h.Gf(n,5),2&Y){let we;h.iGM(we=h.CRH())&&(lt.stepper=we.first)}},decls:8,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"linear",4,"ngIf"],[4,"ngIf"],[3,"linear"],["stepper",""],[3,"stepControl"],["matStepLabel",""],["alert_type","error",4,"ngIf"],[1,"mt-2"],[1,"flex-container","mt-2",3,"formGroup"],["required","","formControlName","namespace",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"pt-2"],["id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","rows","8","cols","50","matInput","","formControlName","sponsoredMembers",1,"md-textarea","form-control",3,"placeholder"],[1,"mb-4"],["alert_type","info",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"expiration","datePicker"],[1,"flex-container",3,"ngModel","change","ngModelChange"],["value","none"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["value","new",3,"disabled"],["value","existing",3,"disabled"],["alert_type","error"],[3,"value"],["alert_type","info"],[3,"ngModel","ngModelChange"],["value","generate"],["value","reset"],["alert_type","info",1,"mt-4"],[1,"mt-4"],[3,"voGroups","nameChanged","descriptionChanged","parentGroupChanged","asSubgroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","displayedColumns","disableRouting","tableId","filter"],[3,"alert_type",4,"ngIf"],[3,"alert_type"],["mat-dialog-actions",""],["mat-flat-button","",3,"click"],["class","ml-auto","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",3,"ml-2","ml-auto","disabled","click",4,"ngIf"],["color","accent","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-auto","dropdown-toggle",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.YNc(4,c,1,0,"mat-spinner",1),h.YNc(5,G,3,2,"div",2),h.YNc(6,wt,7,6,"div",3),h.YNc(7,Ut,15,13,"div",3),h.qZA()),2&Y&&(h.Tol(lt.theme),h.xp6(2),h.Oqu(h.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),h.xp6(2),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading&&void 0!==lt.stepper&&"results"!==lt.state),h.xp6(1),h.Q6J("ngIf","results"===lt.state))},directives:[m.uh,b.O5,L.$g,m.xY,V.Vq,V.C0,V.VY,$.w,s._Y,s.JL,s.sg,ue.KE,Le.gD,s.Q7,s.JJ,s.u,b.sg,de.ey,ue.TO,ue.hX,ce.Nt,s.Fj,H.VQ,s.On,H.U0,se,ke.gM,r.r,p.L,o.W,m.H8,Ne.lW,t.p6,t.VK,t.OP],pipes:[k.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Ct})();var Dt=d(38383);function Et(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",12)}const At=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ot(Ct,$t){if(1&Ct&&h._UZ(0,"perun-web-apps-members-list",13),2&Ct){const Y=h.oxw();h.Q6J("tableId",Y.tableId)("hidden",Y.loading)("members",Y.members)("selection",Y.selection)("displayedColumns",h.DdM(6,At))("disableRouting",!0)}}function Kt(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",14),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let li=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt){this.dialogRef=Y,this.data=lt,this.store=we,this.membersService=ct,this.notificator=zt,this.translate=Jt,this.loading=!1,this.tableId=g.US,this.expiration="never",this.searchCtrl=new s.NI("",[s.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new f.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}sponsor(Y){if(this.loading=!0,0===Y.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const lt=Y.pop();lt.sponsored?this.membersService.sponsorMember(lt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(Y)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(lt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(Y)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const Y=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(Y)}setExpiration(Y){this.expiration="never"===Y?"never":(0,b.p6)(Y,"yyyy-MM-dd","en-GB")}onSearchByString(){this.searchCtrl.invalid?this.searchCtrl.markAllAsTouched():(this.firstSearchDone=!0,this.loading=!0,this.selection.clear(),this.membersService.findCompleteRichMembersForVo(this.data.voId,[i.r.MEMBER_DEF_EXPIRATION,i.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(lt=>{this.members=lt,this.loading=!1},()=>this.loading=!1))}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.so),h.Y36(m.WI),h.Y36(A.d6),h.Y36(e.uq),h.Y36(A.V6),h.Y36(k.sK))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"datePicker"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","hidden","members","selection","displayedColumns","disableRouting"],["alert_type","info"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"div",1),h.TgZ(5,"mat-form-field",2),h.TgZ(6,"label"),h.TgZ(7,"input",3),h.NdJ("keyup.enter",function(){return lt.onSearchByString()}),h.ALo(8,"translate"),h.qZA(),h.qZA(),h.TgZ(9,"mat-error"),h._uU(10),h.ALo(11,"translate"),h.qZA(),h.qZA(),h.TgZ(12,"button",4),h.NdJ("click",function(){return lt.onSearchByString()}),h._uU(13),h.ALo(14,"translate"),h.qZA(),h.YNc(15,Et,1,0,"mat-spinner",5),h.YNc(16,Ot,1,7,"perun-web-apps-members-list",6),h.YNc(17,Kt,3,3,"app-alert",7),h.TgZ(18,"div"),h._UZ(19,"br"),h.TgZ(20,"h6"),h._uU(21),h.ALo(22,"translate"),h.qZA(),h.TgZ(23,"perun-web-apps-expiration-select",8),h.NdJ("datePicker",function(ct){return lt.setExpiration(ct)}),h.qZA(),h.qZA(),h.qZA(),h.TgZ(24,"div",9),h.TgZ(25,"button",10),h.NdJ("click",function(){return lt.onCancel()}),h._uU(26),h.ALo(27,"translate"),h.qZA(),h.TgZ(28,"button",11),h.NdJ("click",function(){return lt.onSubmit()}),h._uU(29),h.ALo(30,"translate"),h.qZA(),h.qZA(),h.qZA()),2&Y&&(h.Tol(lt.theme),h.xp6(2),h.Oqu(h.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),h.xp6(5),h.s9C("placeholder",h.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),h.Q6J("formControl",lt.searchCtrl),h.xp6(3),h.hij(" ",h.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),h.xp6(2),h.Q6J("disabled",lt.loading),h.xp6(1),h.hij(" ",h.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),h.xp6(2),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",lt.firstSearchDone),h.xp6(1),h.Q6J("ngIf",!lt.firstSearchDone),h.xp6(4),h.Oqu(h.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),h.xp6(5),h.hij(" ",h.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),h.xp6(2),h.Q6J("disabled",lt.loading||0===lt.selection.selected.length),h.xp6(1),h.hij(" ",h.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[m.uh,m.xY,ue.KE,ce.Nt,s.Fj,s.JJ,s.oH,ue.TO,Ne.lW,b.O5,L.$g,Dt.O,$.w,se,m.H8],pipes:[k.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),Ct})();var fi=d(96214),Ci=d(84847),Si=d(32075),Vi=d(19352),nn=d(58964),$i=d(18750),Yi=d(50301),bn=d(30325);function Qi(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"th",16),h.TgZ(1,"mat-checkbox",17),h.NdJ("change",function(we){h.CHM(Y);const ct=h.oxw();return we?ct.masterToggle():null}),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw();h.xp6(1),h.Q6J("aria-label",Y.checkboxLabel())("checked",Y.selection.hasValue()&&Y.isAllSelected())("indeterminate",Y.selection.hasValue()&&!Y.isAllSelected())}}function We(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"td",18),h.TgZ(1,"mat-checkbox",19),h.NdJ("change",function(we){const zt=h.CHM(Y).$implicit,Jt=h.oxw();return we?Jt.selection.toggle(zt):null})("click",function(we){return we.stopPropagation()}),h.qZA(),h.qZA()}if(2&Ct){const Y=$t.$implicit,lt=h.oxw();h.xp6(1),h.Q6J("aria-label",lt.checkboxLabel(Y))("checked",lt.selection.isSelected(Y))}}function Tt(Ct,$t){1&Ct&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")," "))}function Qe(Ct,$t){if(1&Ct&&(h.TgZ(0,"td",21),h._uU(1),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.hij(" ",Y.member.id," ")}}function Ze(Ct,$t){1&Ct&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")," "))}function gt(Ct,$t){if(1&Ct&&(h.TgZ(0,"td",22),h._uU(1),h.ALo(2,"userFullName"),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Y.member.user)," ")}}function F(Ct,$t){1&Ct&&(h.TgZ(0,"th",20),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")," "))}function Be(Ct,$t){if(1&Ct&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"userFullName"),h._UZ(3,"br"),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.hij(" ",h.lcZ(2,1,Y.user),"")}}function ut(Ct,$t){if(1&Ct&&(h.TgZ(0,"td",22),h.YNc(1,Be,4,3,"span",23),h.qZA()),2&Ct){const Y=$t.$implicit;h.xp6(1),h.Q6J("ngForOf",Y.sponsors)}}function Mt(Ct,$t){1&Ct&&h._UZ(0,"th",20)}function ei(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"span",26),h.ALo(1,"translate"),h.TgZ(2,"button",27),h.NdJ("mouseenter",function(){return h.CHM(Y),h.oxw(2).disableRouting=!0})("mouseleave",function(){h.CHM(Y);const we=h.oxw(2);return we.disableRouting=we.routingStrategy})("click",function(){h.CHM(Y);const we=h.oxw().$implicit;return h.oxw().resetPassword(we)}),h.TgZ(3,"mat-icon"),h._uU(4,"vpn_key"),h.qZA(),h.qZA(),h.qZA()}if(2&Ct){const Y=h.oxw(2);h.Q6J("matTooltipPosition","above")("matTooltip",h.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),h.xp6(2),h.Q6J("disabled",Y.loading)}}function Qt(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"td",22),h.TgZ(1,"button",24),h.NdJ("click",function(){const ct=h.CHM(Y).$implicit;return h.oxw().showSponsors(ct)})("mouseenter",function(){return h.CHM(Y),h.oxw().disableRouting=!0})("mouseleave",function(){h.CHM(Y);const we=h.oxw();return we.disableRouting=we.routingStrategy}),h.TgZ(2,"mat-icon"),h._uU(3,"edit"),h.qZA(),h.qZA(),h.YNc(4,ei,5,5,"span",25),h.qZA()}if(2&Ct){const Y=$t.$implicit,lt=h.oxw();h.xp6(4),h.Q6J("ngIf",lt.passwdResetAuth(Y))}}function Ri(Ct,$t){1&Ct&&h._UZ(0,"tr",28)}const bi=function(Ct,$t){return["/organizations",Ct,"members",$t]};function Li(Ct,$t){if(1&Ct&&h._UZ(0,"tr",29),2&Ct){const Y=$t.$implicit,lt=h.oxw();h.ekj("cursor-pointer",!lt.disableRouting)("disable-outline",lt.disableRouting),h.Q6J("perunWebAppsMiddleClickRouterLink",lt.disableRouting?null:h.WLB(6,bi,Y.member.voId,Y.member.id))("routerLink",lt.disableRouting?null:h.WLB(9,bi,Y.member.voId,Y.member.id))}}function Ji(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",30),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ni(Ct,$t){1&Ct&&(h.TgZ(0,"app-alert",30),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let Hi=(()=>{class Ct{constructor(Y,lt,we,ct,zt){this.dialog=Y,this.authResolver=lt,this.storeService=we,this.attributesManager=ct,this.tableCheckbox=zt,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","sponsors","menu"],this.disableRouting=!1,this.refreshTable=new h.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=T.f7}set matSort(Y){this.sort=Y}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Y=>"id"!==Y)),this.setDataSource(),this.routingStrategy=this.disableRouting}getSortDataForColumn(Y,lt){var we;switch(lt){case"id":return Y.member.id.toString();case"name":return Y.member.user?Y.member.user.lastName?Y.member.user.lastName:null!==(we=Y.member.user.firstName)&&void 0!==we?we:"":"";case"sponsors":return Y.sponsors.length.toString();default:return""}}getDataForColumn(Y,lt){switch(lt){case"id":return Y.member.id.toString();case"name":return Y.member.user?(0,T.bD)(Y.member.user):"";case"sponsors":return Y.sponsors.map(we=>(0,T.bD)(we.user)).join();default:return""}}exportData(Y){(0,T.O6)((0,T.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Y)}setDataSource(){this.dataSource||(this.dataSource=new Si.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Y,lt)=>(0,T.Sd)(Y,lt,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Y,lt)=>(0,T.pR)(Y,lt,this.getSortDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(Y){const lt=(0,T.kZ)();lt.width="650px",lt.data={sponsors:Y.sponsors,member:Y.member,theme:"vo-theme"},this.dialog.open(Vi.H,lt).afterClosed().subscribe(ct=>{ct&&this.refreshTable.emit()})}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Y){return Y?`${this.selection.isSelected(Y)?"deselect":"select"} row ${Y.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(Y){this.loading=!0;const lt=this.storeService.get("password_namespace_attributes").map(we=>(we=we.split(":"))[we.length-1]);this.attributesManager.getLogins(Y.member.userId).subscribe(we=>{const ct=we.filter(di=>lt.includes(di.friendlyNameParameter)),zt=(0,T.kZ)();zt.width="400px",zt.data={userId:Y.member.userId,memberId:Y.member.id,logins:ct},this.dialog.open(nn.m,zt).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(Y){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:Y.member.voId,beanName:"Vo"},Y.member])}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.H8),h.Y36(A.UA))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-sponsored-members-list"]],viewQuery:function(Y,lt){if(1&Y&&(h.Gf(Ci.YE,7),h.Gf(T.l9,7)),2&Y){let we;h.iGM(we=h.CRH())&&(lt.matSort=we.first),h.iGM(we=h.CRH())&&(lt.child=we.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",tableId:"tableId"},outputs:{refreshTable:"refreshTable"},features:[h.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","sponsors"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[4,"ngFor","ngForOf"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"click","mouseenter","mouseleave"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["aria-label","sponsors of member","mat-icon-button","",1,"dark-hover-list-item",3,"disabled","mouseenter","mouseleave","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div",0),h.TgZ(1,"perun-web-apps-table-wrapper",1),h.NdJ("exportData",function(ct){return lt.exportData(ct)}),h.TgZ(2,"table",2),h.ynx(3,3),h.YNc(4,Qi,2,3,"th",4),h.YNc(5,We,2,2,"td",5),h.BQk(),h.ynx(6,6),h.YNc(7,Tt,3,3,"th",7),h.YNc(8,Qe,2,1,"td",8),h.BQk(),h.ynx(9,9),h.YNc(10,Ze,3,3,"th",7),h.YNc(11,gt,3,3,"td",10),h.BQk(),h.ynx(12,11),h.YNc(13,F,3,3,"th",7),h.YNc(14,ut,2,1,"td",10),h.BQk(),h.ynx(15,12),h.YNc(16,Mt,1,0,"th",7),h.YNc(17,Qt,5,1,"td",10),h.BQk(),h.YNc(18,Ri,1,0,"tr",13),h.YNc(19,Li,1,12,"tr",14),h.qZA(),h.qZA(),h.qZA(),h.YNc(20,Ji,3,3,"app-alert",15),h.YNc(21,Ni,3,3,"app-alert",15)),2&Y&&(h.Q6J("hidden",0===lt.dataSource.filteredData.length||0===lt.sponsoredMembers.length),h.xp6(1),h.Q6J("tableId",lt.tableId)("dataLength",lt.dataSource.filteredData.length)("pageSizeOptions",lt.pageSizeOptions),h.xp6(1),h.Q6J("dataSource",lt.dataSource),h.xp6(16),h.Q6J("matHeaderRowDef",lt.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",lt.displayedColumns),h.xp6(1),h.Q6J("ngIf",0===lt.dataSource.filteredData.length&&0!==lt.sponsoredMembers.length),h.xp6(1),h.Q6J("ngIf",0===lt.sponsoredMembers.length))},directives:[$i.l,Si.BZ,Ci.YE,Si.w1,Si.fO,Si.ge,ae.oG,Si.Dz,Si.ev,Ci.nU,b.sg,Ne.lW,ge.Hw,b.O5,ke.gM,Si.as,Si.XQ,Si.nj,Si.Gk,Yi.YH,bn.rH,$.w],pipes:[k.X$,Fe.d],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),Ct})();function pn(Ct,$t){if(1&Ct&&(h.TgZ(0,"button",10),h._uU(1),h.ALo(2,"translate"),h.qZA()),2&Ct){const Y=h.oxw(),lt=h.MAs(9);h.Q6J("disabled",Y.findSponsorsAuth&&0===Y.voSponsors.length)("matMenuTriggerFor",lt),h.xp6(1),h.hij(" ",h.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function Pi(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onCreate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function Ti(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",11),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onGenerate()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function Ui(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"button",12),h.NdJ("click",function(){return h.CHM(Y),h.oxw().onSponsorExistingMember()}),h._uU(1),h.ALo(2,"translate"),h.qZA()}2&Ct&&(h.xp6(1),h.hij(" ",h.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function fn(Ct,$t){1&Ct&&h._UZ(0,"mat-spinner",13)}function sn(Ct,$t){if(1&Ct){const Y=h.EpF();h.TgZ(0,"app-sponsored-members-list",14),h.NdJ("refreshTable",function(){return h.CHM(Y),h.oxw().refresh()}),h.qZA()}if(2&Ct){const Y=h.oxw();h.Q6J("sponsoredMembers",Y.members)("disableRouting",!Y.routeAuth)("selection",Y.selection)("filterValue",Y.searchString)("tableId",Y.tableId)}}let qi=(()=>{class Ct{constructor(Y,lt,we,ct,zt,Jt){this.membersManager=Y,this.dialog=lt,this.authResolver=we,this.storeService=ct,this.authzResolver=zt,this.entityStorageService=Jt,this.members=[],this.voSponsors=[],this.attrNames=[],this.selection=new f.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=g.Bf}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.setAuthRights();const Y=["SPONSOR"],lt=new Map;this.authResolver.getRolesAuthorization(Y,this.vo,lt),this.findSponsorsAuth=lt.get(Y[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(O.u.SPONSOR,this.vo.id,"Vo",[i.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(ct=>{this.voSponsors=ct,this.refresh()}):this.refresh()}setAuthRights(){this.createAuth=this.authResolver.isAuthorized("createSponsoredMember_Vo_String_Map_String_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.generateAuth=this.authResolver.isAuthorized("createSponsoredMembers_Vo_String_List_User_policy",[this.vo,this.storeService.getPerunPrincipal().user]),this.setSponsorshipAuth=this.authResolver.isAuthorized("setSponsorshipForMember_Member_User_LocalDate_policy",[this.vo,this.storeService.getPerunPrincipal().user]),null!==this.members&&0!==this.members.length&&(this.routeAuth=this.authResolver.isAuthorized("getMemberById_int_policy",[this.vo,this.members[0].member]))}onCreate(){const Y=(0,T.kZ)();Y.width="620px",Y.data={entityId:this.vo.id,voId:this.vo.id,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(P,Y).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(ct=>{this.storeService.setPerunPrincipal(ct),this.refresh()}))})}onGenerate(){const Y=(0,T.kZ)();Y.width="750px",Y.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(Vt,Y).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(ct=>{this.storeService.setPerunPrincipal(ct),this.refresh()}))})}onSponsorExistingMember(){const Y=(0,T.kZ)();Y.width="650px",Y.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(li,Y).afterClosed().subscribe(we=>{we&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(ct=>{this.storeService.setPerunPrincipal(ct),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.vo.id,this.attrNames).subscribe(Y=>{this.selection.clear(),this.members=Y,this.setAuthRights(),this.loading=!1})}applyFilter(Y){this.searchString=Y}}return Ct.id="VoSponsoredMembersComponent",Ct.\u0275fac=function(Y){return new(Y||Ct)(h.Y36(e.uq),h.Y36(m.uw),h.Y36(A.x4),h.Y36(A.d6),h.Y36(e.Ct),h.Y36(A.fb))},Ct.\u0275cmp=h.Xpm({type:Ct,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(Y,lt){2&Y&&h.ekj("router-component",lt.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","class","mr-2 dropdown-toggle",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","","class","action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"action-button",3,"click"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"sponsoredMembers","disableRouting","selection","filterValue","tableId","refreshTable"]],template:function(Y,lt){1&Y&&(h.TgZ(0,"div"),h.TgZ(1,"h1",0),h._uU(2),h.ALo(3,"translate"),h.qZA(),h.TgZ(4,"perun-web-apps-refresh-button",1),h.NdJ("refresh",function(){return lt.refresh()}),h.qZA(),h.TgZ(5,"span",2),h.ALo(6,"translate"),h.YNc(7,pn,3,5,"button",3),h.qZA(),h.TgZ(8,"mat-menu",null,4),h.YNc(10,Pi,3,3,"button",5),h.YNc(11,Ti,3,3,"button",5),h.qZA(),h.YNc(12,Ui,3,3,"button",6),h.TgZ(13,"perun-web-apps-immediate-filter",7),h.NdJ("filter",function(ct){return lt.applyFilter(ct)}),h.qZA(),h.YNc(14,fn,1,0,"mat-spinner",8),h.YNc(15,sn,1,5,"app-sponsored-members-list",9),h.qZA()),2&Y&&(h.xp6(2),h.Oqu(h.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),h.xp6(3),h.s9C("matTooltip",h.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),h.Q6J("matTooltipDisabled",!(lt.findSponsorsAuth&&0===lt.voSponsors.length)),h.xp6(2),h.Q6J("ngIf",lt.createAuth||lt.generateAuth),h.xp6(3),h.Q6J("ngIf",lt.createAuth),h.xp6(1),h.Q6J("ngIf",lt.generateAuth),h.xp6(1),h.Q6J("ngIf",lt.setSponsorshipAuth),h.xp6(1),h.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),h.xp6(1),h.Q6J("ngIf",lt.loading),h.xp6(1),h.Q6J("ngIf",!lt.loading))},directives:[fi.t,ke.gM,b.O5,Ne.lW,t.p6,t.VK,t.OP,p.L,L.$g,Hi],pipes:[k.X$],styles:[""]}),Ct})()},25309:(Ke,be,d)=>{"use strict";d.d(be,{Y:()=>ve});var e=d(9315),f=d(9244),g=d(36908),T=d(11717),m=d(20449),A=d(48966),s=d(93075),b=d(5e3),O=d(51062),E=d(30325),h=d(69808),k=d(20773),L=d(67322),V=d(98833),$=d(47423),ue=d(29772);function ce(me,Te){1&me&&b._UZ(0,"mat-spinner",3)}function Le(me,Te){if(1&me){const ee=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"div",4),b.TgZ(2,"mat-form-field"),b._UZ(3,"input",5),b.ALo(4,"translate"),b.TgZ(5,"mat-error"),b._uU(6),b.ALo(7,"translate"),b.qZA(),b.qZA(),b.TgZ(8,"mat-form-field"),b._UZ(9,"input",6),b.ALo(10,"translate"),b.TgZ(11,"mat-error"),b._uU(12),b.ALo(13,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(14,"div",7),b.TgZ(15,"button",8),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onCancel()}),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"div",9),b.ALo(19,"translate"),b.TgZ(20,"button",10),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onSubmit()}),b._uU(21),b.ALo(22,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&me){const ee=b.oxw();b.xp6(3),b.s9C("placeholder",b.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),b.Q6J("formControl",ee.fullNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),b.xp6(3),b.s9C("placeholder",b.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),b.Q6J("formControl",ee.shortNameCtrl),b.xp6(3),b.hij(" ",b.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),b.xp6(4),b.hij(" ",b.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),b.Q6J("matTooltipDisabled",ee.shortNameCtrl.valid&&ee.fullNameCtrl.valid),b.xp6(2),b.Q6J("disabled",ee.shortNameCtrl.invalid||ee.fullNameCtrl.invalid),b.xp6(1),b.hij(" ",b.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let de=(()=>{class me{constructor(ee,R,Oe,Ie,He,fe){this.dialogRef=ee,this.data=R,this.notificator=Oe,this.voService=Ie,this.translate=He,this.router=fe,He.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(Ce=>this.successMessage=Ce)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern("^[\\w.-]+$"),s.kI.maxLength(33)]),this.fullNameCtrl=new s.NI(null,[s.kI.required,s.kI.pattern(".*[\\S]+.*"),s.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(ee=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0),this.router.navigate(["/organizations",ee.id])},()=>this.loading=!1)}}return me.\u0275fac=function(ee){return new(ee||me)(b.Y36(A.so),b.Y36(A.WI),b.Y36(g.V6),b.Y36(e.YF),b.Y36(O.sK),b.Y36(E.F0))},me.\u0275cmp=b.Xpm({type:me,selectors:[["app-create-vo-dialog"]],decls:6,vars:8,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","data-cy","vo-name-input",3,"placeholder","formControl"],["matInput","","required","","data-cy","vo-shortname-input",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent","data-cy","create-vo-button",1,"ml-2",3,"disabled","click"]],template:function(ee,R){1&ee&&(b.TgZ(0,"div"),b.TgZ(1,"h1",0),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.YNc(4,ce,1,0,"mat-spinner",1),b.YNc(5,Le,23,25,"div",2),b.qZA()),2&ee&&(b.Tol(R.theme),b.xp6(2),b.Oqu(b.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),b.xp6(2),b.Q6J("ngIf",R.loading),b.xp6(1),b.Q6J("ngIf",!R.loading))},directives:[A.uh,h.O5,k.$g,A.xY,L.KE,V.Nt,s.Fj,s.Q7,s.JJ,s.oH,L.TO,A.H8,$.lW,ue.gM],pipes:[O.X$],styles:[".mat-dialog-content[_ngcontent-%COMP%]{height:auto}@media (min-width: 421px) and (max-width: 755px){.mat-dialog-content[_ngcontent-%COMP%]{height:150px}}@media (max-width: 420px){.mat-dialog-content[_ngcontent-%COMP%]{height:175px}}"]}),me})();var ke=d(10036),ae=d(77968),j=d(4235),H=d(25245),Q=d(96214),te=d(7434),se=d(87831);function ge(me,Te){if(1&me){const ee=b.EpF();b.TgZ(0,"button",9),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onCreateVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&me&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function Ne(me,Te){if(1&me){const ee=b.EpF();b.TgZ(0,"button",10),b.NdJ("click",function(){return b.CHM(ee),b.oxw().onRemoveVo()}),b._uU(1),b.ALo(2,"translate"),b.qZA()}if(2&me){const ee=b.oxw();b.Q6J("disabled",0===ee.selection.selected.length),b.xp6(1),b.hij(" ",b.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function Fe(me,Te){1&me&&b._UZ(0,"mat-spinner",11)}function ne(me,Te){if(1&me&&b._UZ(0,"perun-web-apps-vos-list",12),2&me){const ee=b.oxw();b.Q6J("tableId",ee.tableId)("displayedColumns",ee.displayedColumns)("filterValue",ee.filterValue)("recentIds",ee.recentIds)("selection",ee.selection)("vos",ee.vos)}}const Me=function(){return{color:"black"}};let ve=(()=>{class me{constructor(ee,R,Oe,Ie,He,fe){this.sideMenuService=ee,this.voService=R,this.guiAuthResolver=Oe,this.dialog=Ie,this.notificator=He,this.apiRequest=fe,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=ke.tw}ngOnInit(){this.loading=!0,this.selection=new m.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","recent","shortName","name"]:["id","recent","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyVos().subscribe(ee=>{this.vos=ee,this.recentIds=(0,f.vL)("vos"),this.loading=!1},ee=>{"PrivilegeException"===ee.error.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(ee)})}applyFilter(ee){this.filterValue=ee}onCreateVo(){const ee=(0,f.kZ)();ee.width="610px",ee.data={theme:"vo-theme"},this.dialog.open(de,ee).afterClosed().subscribe(Oe=>{Oe&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const ee=(0,f.kZ)();ee.width="500px",ee.data={theme:"vo-theme",vos:[this.selection.selected[0]]},this.dialog.open(T.o,ee).afterClosed().subscribe(Oe=>{Oe&&this.refreshTable()})}}return me.id="VoSelectPageComponent",me.\u0275fac=function(ee){return new(ee||me)(b.Y36(ae.D),b.Y36(e.YF),b.Y36(g.x4),b.Y36(A.uw),b.Y36(g.V6),b.Y36(g.F5))},me.\u0275cmp=b.Xpm({type:me,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(ee,R){2&ee&&b.ekj("router-component",R.true)},decls:12,vars:11,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5","vo-theme"],[1,"page-title","d-flex"],["svgIcon","perun-vo-black",1,"perun-icon","icon-scale",3,"ngStyle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button","data-cy","new-vo-button",3,"click",4,"ngIf"],["class","mr-2","color","warn","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"autoFocus","placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos",4,"ngIf"],["mat-flat-button","","color","accent","data-cy","new-vo-button",1,"mr-2","action-button",3,"click"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"tableId","displayedColumns","filterValue","recentIds","selection","vos"]],template:function(ee,R){1&ee&&(b.TgZ(0,"div",0),b._UZ(1,"perun-web-apps-back-button"),b.TgZ(2,"h1",1),b._UZ(3,"mat-icon",2),b._uU(4),b.ALo(5,"translate"),b.qZA(),b.TgZ(6,"perun-web-apps-refresh-button",3),b.NdJ("refresh",function(){return R.refreshTable()}),b.qZA(),b.YNc(7,ge,3,3,"button",4),b.YNc(8,Ne,3,4,"button",5),b.TgZ(9,"perun-web-apps-immediate-filter",6),b.NdJ("filter",function(Ie){return R.applyFilter(Ie)}),b.qZA(),b.YNc(10,Fe,1,0,"mat-spinner",7),b.YNc(11,ne,1,6,"perun-web-apps-vos-list",8),b.qZA()),2&ee&&(b.xp6(3),b.Q6J("ngStyle",b.DdM(10,Me)),b.xp6(1),b.hij(" ",b.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),b.xp6(3),b.Q6J("ngIf",R.createAuth),b.xp6(1),b.Q6J("ngIf",R.deleteAuth),b.xp6(1),b.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),b.xp6(1),b.Q6J("ngIf",R.loading),b.xp6(1),b.Q6J("ngIf",!R.loading))},directives:[j.W,H.Hw,h.PC,Q.t,h.O5,$.lW,te.L,k.$g,se.Z],pipes:[O.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),me})()},9193:(Ke,be,d)=>{"use strict";var e=d(22313),f=d(5e3),g=d(30325);let T=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(Re,at){},styles:[""]}),le})();var m=d(9315),A=d(36908),s=d(9244),b=d(84379),O=d(77968),E=d(51062),h=d(48966),k=d(2638),L=d(77446),V=d(93075),$=d(69808),ue=d(25245),ce=d(47423),Le=d(20773),de=d(98380),ke=d(90508),ae=d(50301),j=d(29772);function H(le,$e){1&le&&f._UZ(0,"mat-spinner",3)}function Q(le,$e){1&le&&(f.TgZ(0,"app-alert",4),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}const te=function(le){return[le]};function se(le,$e){if(1&le&&(f.TgZ(0,"div",7),f.TgZ(1,"a",8),f.TgZ(2,"span",9),f._uU(3),f.qZA(),f._UZ(4,"mat-icon",10),f.TgZ(5,"p",11),f._uU(6),f.qZA(),f.qZA(),f.qZA()),2&le){const Re=$e.$implicit;f.xp6(1),f.Gre("",Re.style," item-itself"),f.s9C("matTooltip",Re.tooltip),f.Q6J("routerLink",Re.url)("perunWebAppsMiddleClickRouterLink",f.VKq(9,te,Re.url)),f.xp6(2),f.Oqu(Re.type),f.xp6(1),f.Q6J("svgIcon",Re.cssIcon),f.xp6(2),f.Oqu(Re.label)}}function ge(le,$e){if(1&le&&(f.TgZ(0,"div",5),f.YNc(1,se,7,11,"div",6),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("ngForOf",Re.items)}}let Ne=(()=>{class le{constructor(Re,at,kt,Yt){this.vosManager=Re,this.groupsManager=at,this.authResolver=kt,this.facilitiesManager=Yt,this.items=[],this.vosIds=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[],this.vos=[],this.groups=[],this.facilities=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,s.vL)("recent");for(const Re of this.recentItems)switch(Re.type){case"Vo":this.vosIds.push(Re.id);break;case"Group":this.groupsIds.push(Re.id);break;case"Facility":this.facilitiesIds.push(Re.id)}0===this.vosIds.length&&this.vosIds.push(-1),0===this.groupsIds.length&&this.groupsIds.push(-1),0===this.facilitiesIds.length&&this.facilitiesIds.push(-1),this.getVos()}getVos(){this.authResolver.isAuthorized("getVosByIds_List_policy",[])?this.vosManager.getVosByIds(this.vosIds).subscribe(Re=>{this.vos=Re,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(Re=>{this.groups=Re,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(Re=>{this.facilities=Re,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const Re of this.recentItems)switch(Re.type){case"Vo":{const at=this.vos.filter(kt=>kt.id===Re.id)[0];at&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${at.id}`,label:at.name,tooltip:at.name,style:"vo-btn",type:"Organization"});break}case"Group":{const at=this.groups.filter(kt=>kt.id===Re.id)[0];at&&this.items.push({cssIcon:"perun-group",url:`/organizations/${at.voId}/groups/${at.id}`,label:at.shortName,tooltip:`${Re.voName} : ${at.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const at=this.facilities.filter(kt=>kt.id===Re.id)[0];at&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${at.id}`,label:at.name,tooltip:at.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.YF),f.Y36(m.ff),f.Y36(A.x4),f.Y36(m.IQ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-recently-viewed-button-field"]],decls:3,vars:3,consts:[["class","ml-auto mr-auto",4,"ngIf"],["alert_type","info",4,"ngIf"],["class","items-container",4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","info"],[1,"items-container"],["class","item-itself-container","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"item-itself-container"],["queryParamsHandling","merge",3,"routerLink","perunWebAppsMiddleClickRouterLink","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"],[1,"truncate"]],template:function(Re,at){1&Re&&(f.YNc(0,H,1,0,"mat-spinner",0),f.YNc(1,Q,3,3,"app-alert",1),f.YNc(2,ge,2,1,"div",2)),2&Re&&(f.Q6J("ngIf",at.loading),f.xp6(1),f.Q6J("ngIf",0===at.items.length&&!at.loading),f.xp6(1),f.Q6J("ngIf",at.items.length>0))},directives:[$.O5,Le.$g,de.w,$.sg,ke.wG,g.yS,ae.YH,j.gM,ue.Hw],pipes:[E.X$],styles:[".items-container[_ngcontent-%COMP%]{display:grid;grid-gap:0;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));margin:0 -8px}@media (max-width: 768px){.items-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}.item-pic[_ngcontent-%COMP%]{color:currentColor;transform:scale(3);height:74px;margin-bottom:22px;align-self:center}.item-itself-container[_ngcontent-%COMP%]{margin:8px}.item-itself[_ngcontent-%COMP%]{text-align:center;min-height:186px;height:100%;padding:20px;display:flex;flex-direction:column;font-size:1.25rem;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%]:hover{text-decoration:none}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:120px;margin-bottom:10px}@media (max-width: 768px){.item-itself[_ngcontent-%COMP%]{min-height:150px;padding:10px;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.item-itself[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;margin-bottom:10px}}.item-type[_ngcontent-%COMP%]{font-size:.75rem}.truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}"]}),le})();var Fe=d(87831),ne=d(24179),Me=d(62109),ve=d(74010);function me(le,$e){1&le&&f._UZ(0,"mat-spinner",7)}const Te=function(){return["id","recent","shortName","name"]};function ee(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-vos-list",8),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("displayedColumns",f.DdM(4,Te))("recentIds",Re.recentIds)("vos",Re.objects)}}const R=function(){return["id","recent","vo","name","description"]};function Oe(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-groups-list",9),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("groups",Re.objects)("recentIds",Re.recentIds)("displayedColumns",f.DdM(4,R))}}const Ie=function(){return["id","recent","name","vo","facility"]};function He(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-resources-list",10),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("resources",Re.objects)("displayedColumns",f.DdM(5,Ie))("recentIds",Re.recentIds)("routingVo",!0)}}const fe=function(){return["id","recent","name","description"]};function Ce(le,$e){if(1&le&&(f.TgZ(0,"span"),f._UZ(1,"perun-web-apps-facilities-list",11),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("pageSizeOptions",null)("facilities",Re.objects)("recentIds",Re.recentIds)("displayedColumns",f.DdM(4,fe))}}function Ve(le,$e){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,ee,2,5,"span",6),f.YNc(2,Oe,2,5,"span",6),f.YNc(3,He,2,6,"span",6),f.YNc(4,Ce,2,5,"span",6),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("ngIf","Vo"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Group"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Resource"===Re.primaryObject),f.xp6(1),f.Q6J("ngIf","Facility"===Re.primaryObject)}}let Xe=(()=>{class le{constructor(Re,at,kt){this.authzResolver=Re,this.guiAuthResolver=at,this.resourceService=kt,this.loading=!1,this.recentIds=[]}ngOnInit(){this.loading=!0,this.primaryObject=this.guiAuthResolver.getPrimaryObjectOfRole(this.roleName),this.svgIcon="perun-"+this.primaryObject.toLowerCase()+"-black",this.title="USER_DETAIL.DASHBOARD.CARD_TITLE_"+this.roleName,this.roleTooltipInfo="USER_DETAIL.DASHBOARD.ROLE_INFO_"+this.roleName,this.getObjects()}getObjects(){switch(this.primaryObject){case"Vo":this.authzResolver.getVosWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(Re=>{this.objects=Re,this.recentIds=(0,s.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(Re=>{this.objects=Re.map(at=>({facility:at})),this.recentIds=(0,s.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Ct),f.Y36(A.x4),f.Y36(m.xk))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-dashboard-card"]],inputs:{role:"role",roleName:"roleName"},decls:11,vars:9,consts:[[1,"card","p-3"],[1,"flex-column","card-title"],[1,"cover-image",3,"svgIcon"],["matTooltipPosition","above",3,"matTooltip"],[1,"dashboard-icon"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"pageSizeOptions","displayedColumns","recentIds","vos"],[3,"pageSizeOptions","groups","recentIds","displayedColumns"],[3,"pageSizeOptions","resources","displayedColumns","recentIds","routingVo"],[3,"pageSizeOptions","facilities","recentIds","displayedColumns"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f._UZ(2,"mat-icon",2),f._uU(3),f.ALo(4,"translate"),f.TgZ(5,"span",3),f.ALo(6,"translate"),f.TgZ(7,"mat-icon",4),f._uU(8,"info_outline"),f.qZA(),f.qZA(),f.qZA(),f.YNc(9,me,1,0,"mat-spinner",5),f.YNc(10,Ve,5,4,"div",6),f.qZA()),2&Re&&(f.xp6(2),f.Q6J("svgIcon",at.svgIcon),f.xp6(1),f.hij(" ",f.lcZ(4,5,at.title)," "),f.xp6(2),f.s9C("matTooltip",f.lcZ(6,7,at.roleTooltipInfo)),f.xp6(4),f.Q6J("ngIf",at.loading),f.xp6(1),f.Q6J("ngIf",!at.loading))},directives:[ue.Hw,j.gM,$.O5,Le.$g,Fe.Z,ne.W,Me.C,ve.X],pipes:[E.X$],styles:[".dashboard-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}.card-title[_ngcontent-%COMP%]{font-size:1.4rem;flex-wrap:wrap}.cover-image[_ngcontent-%COMP%]{transform:scale(1.8);margin-left:.9rem;margin-right:.7rem}"]}),le})();var tt=d(31359);function rt(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"mat-checkbox",8),f.NdJ("change",function(kt){const ni=f.CHM(Re).$implicit,ui=f.oxw();return kt?ui.changeRoleView(ni):null}),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.qZA()}if(2&le){const Re=$e.$implicit,at=f.oxw();f.xp6(1),f.Q6J("checked",at.isRoleShowed(Re)),f.xp6(1),f.Oqu(f.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+Re))}}function N(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"button",15),f.NdJ("click",function(){return f.CHM(Re),f.oxw(2).rightSettingOpened=!0}),f.TgZ(1,"mat-icon"),f._uU(2,"settings"),f.qZA(),f.qZA()}}function he(le,$e){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function D(le,$e){1&le&&(f.TgZ(0,"span"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function S(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Re),f.oxw(3).goToUserProfile()}),f.TgZ(1,"mat-icon",24),f._uU(2,"exit_to_app"),f.qZA(),f._uU(3),f.ALo(4,"translate"),f.qZA()}if(2&le){const Re=f.oxw(3);f.xp6(3),f.AsE("",f.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",Re.userProfileName," ")}}const I=function(){return["/myProfile"]};function P(le,$e){if(1&le&&(f.TgZ(0,"div"),f.TgZ(1,"div",16),f.TgZ(2,"div",17),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.TgZ(5,"div",18),f.YNc(6,he,3,3,"span",14),f.YNc(7,D,3,3,"span",14),f.qZA(),f.TgZ(8,"div",19),f.TgZ(9,"button",20),f._UZ(10,"mat-icon",21),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,S,5,4,"button",22),f.qZA(),f.qZA(),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(3),f.hij(" ",f.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),f.xp6(3),f.Q6J("ngIf",!Re.userProfileUrl),f.xp6(1),f.Q6J("ngIf",Re.userProfileUrl),f.xp6(2),f.Q6J("routerLink",f.DdM(10,I)),f.xp6(2),f.hij(" ",f.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),f.xp6(2),f.Q6J("ngIf",Re.userProfileUrl)}}function i(le,$e){1&le&&(f.TgZ(0,"span"),f.TgZ(1,"div",3),f._uU(2),f.ALo(3,"translate"),f.qZA(),f._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),f.qZA()),2&le&&(f.xp6(2),f.hij(" ",f.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function r(le,$e){1&le&&(f.TgZ(0,"div",27),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function p(le,$e){if(1&le&&f._UZ(0,"app-perun-web-apps-dashboard-card",30),2&le){const Re=f.oxw().$implicit,at=f.oxw(3);f.Q6J("roleName",Re)("role",at.roles[Re])}}function o(le,$e){if(1&le&&(f.TgZ(0,"div",28),f.YNc(1,p,1,2,"app-perun-web-apps-dashboard-card",29),f.qZA()),2&le){const Re=$e.$implicit,at=f.oxw(3);f.xp6(1),f.Q6J("ngIf",at.isRoleShowed(Re))}}function t(le,$e){if(1&le&&(f.TgZ(0,"div"),f.YNc(1,i,5,3,"span",14),f.YNc(2,r,3,3,"div",25),f.TgZ(3,"div"),f.YNc(4,o,2,1,"div",26),f.qZA(),f.qZA()),2&le){const Re=f.oxw(2);f.xp6(1),f.Q6J("ngIf",Re.recentlyViewedShow),f.xp6(1),f.Q6J("ngIf",Re.rolesToHide.toString()!==Re.roleNames.toString()),f.xp6(2),f.Q6J("ngForOf",Re.roleNames)}}function n(le,$e){if(1&le&&(f.TgZ(0,"div",9),f.TgZ(1,"h1",10),f._UZ(2,"mat-icon",11),f.TgZ(3,"span",12),f._uU(4),f.ALo(5,"translate"),f.ALo(6,"userFullName"),f.qZA(),f.YNc(7,N,3,0,"button",13),f.qZA(),f.YNc(8,P,14,11,"div",14),f.YNc(9,t,5,3,"div",14),f.qZA()),2&le){const Re=f.oxw();f.xp6(4),f.AsE("",f.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",f.lcZ(6,7,Re.user),""),f.xp6(3),f.Q6J("ngIf",!Re.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",Re.isOnlySelfRole),f.xp6(1),f.Q6J("ngIf",!Re.isOnlySelfRole)}}let c=(()=>{class le{constructor(Re,at,kt,Yt,ni,ui,oi,Di,Zi,en){this.userManager=Re,this.storeService=at,this.sideMenuService=kt,this.route=Yt,this.router=ni,this.notificator=ui,this.translateService=oi,this.dialog=Di,this.apiRequestConfiguration=Zi,this.otherApplicationService=en,this.roles={},this.userProfileUrl="",this.isOnlySelfRole=!1,this.rightSettingOpened=!1,this.recentlyViewedShow=!0,this.rolesToHide=[],this.allowedRoles=["VOADMIN","GROUPADMIN","FACILITYADMIN","SPONSOR","RESOURCEADMIN","TOPGROUPCREATOR","VOOBSERVER","GROUPOBSERVER","FACILITYOBSERVER","RESOURCEOBSERVER"],oi.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(Nn=>this.mailSuccessMessage=Nn)}ngOnInit(){this.sideMenuService.setHomeItems([]),this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const Re=Object.keys(this.roles);this.isOnlySelfRole=Re.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(at=>Re.includes(at)),this.getDashboardSettings()}validatePreferredMailChange(){const Re=this.route.snapshot.queryParamMap,at=Re.get("token"),kt=Re.get("u");at&&kt&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(at,Number.parseInt(kt,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const Yt=(0,s.kZ)();Yt.width="600px",this.dialog.open(b.qD,Yt).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}getDashboardSettings(){const Re=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===Re||Re;const at=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===at?[]:at}changeRoleView(Re){if(this.isRoleShowed(Re)){const at=[];for(const kt of this.roleNames)this.isRoleShowed(kt)||at.push(kt),kt===Re&&at.push(kt);this.rolesToHide=at}else this.rolesToHide=this.rolesToHide.filter(at=>at!==Re);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(Re){for(const at of this.rolesToHide)if(at===Re)return!1;return!0}getUserProfile(){this.userProfileUrl=this.otherApplicationService.getUrlForOtherApplication("profile"),this.userProfileName=this.storeService.get("profile_label_en")}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Fv),f.Y36(A.d6),f.Y36(O.D),f.Y36(g.gz),f.Y36(g.F0),f.Y36(A.V6),f.Y36(E.sK),f.Y36(h.uw),f.Y36(A.F5),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(Re,at){2&Re&&f.ekj("router-component",at.true)},decls:16,vars:13,consts:[["hasBackdrop","true",1,"dashboard"],["mode","over","position","end",3,"opened","openedChange"],[1,"m-4","user-theme"],[1,"page-subtitle"],[3,"ngModel","ngModelChange","change"],[1,"text-bigger","mt-1","mb-1"],[4,"ngFor","ngForOf"],["class","container-fluid pl-xl-5 pr-xl-5 user-theme",4,"ngIf"],[3,"checked","change"],[1,"container-fluid","pl-xl-5","pr-xl-5","user-theme"],[1,"page-title","d-flex"],["svgIcon","perun-home-white",1,"home-image","perun-icon"],["data-cy","dashboard-welcome",1,"pt-1"],["mat-stroked-button","","class","ml-auto text-bigger",3,"click",4,"ngIf"],[4,"ngIf"],["mat-stroked-button","",1,"ml-auto","text-bigger",3,"click"],[1,"card","m-3","p-5"],[1,"text-align"],[1,"text-align","pt-3"],[1,"mx-auto","pt-3"],["mat-stroked-button","",1,"text-bigger",3,"routerLink"],["svgIcon","perun-user-dark",1,"mr-1","user-icon","perun-icon"],["mat-stroked-button","","class","text-bigger ml-2 mt-2",3,"click",4,"ngIf"],["mat-stroked-button","",1,"text-bigger","ml-2","mt-2",3,"click"],[1,"mr-1"],["class","page-subtitle mt-4",4,"ngIf"],["class","mb-3",4,"ngFor","ngForOf"],[1,"page-subtitle","mt-4"],[1,"mb-3"],[3,"roleName","role",4,"ngIf"],[3,"roleName","role"]],template:function(Re,at){1&Re&&(f.TgZ(0,"mat-sidenav-container",0),f.TgZ(1,"mat-sidenav",1),f.NdJ("openedChange",function(Yt){return at.rightSettingOpened=Yt}),f.TgZ(2,"div",2),f.TgZ(3,"div",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"mat-checkbox",4),f.NdJ("ngModelChange",function(Yt){return at.recentlyViewedShow=Yt})("change",function(Yt){return Yt?at.recentlyViewedChanged():null}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA(),f.TgZ(10,"div",5),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.YNc(13,rt,4,4,"div",6),f.qZA(),f.qZA(),f.TgZ(14,"mat-sidenav-content"),f.YNc(15,n,10,9,"div",7),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.Q6J("opened",at.rightSettingOpened),f.xp6(3),f.Oqu(f.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),f.xp6(3),f.Q6J("ngModel",at.recentlyViewedShow),f.xp6(1),f.Oqu(f.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),f.xp6(3),f.Oqu(f.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),f.xp6(2),f.Q6J("ngForOf",at.roleNames),f.xp6(2),f.Q6J("ngIf",void 0!==at.user))},directives:[k.TM,k.JX,L.oG,V.JJ,V.On,$.sg,k.Rh,$.O5,ue.Hw,ce.lW,g.rH,Ne,Xe],pipes:[E.X$,tt.d],styles:[".dashboard-container[_ngcontent-%COMP%]{-moz-columns:300px 2;columns:300px 2;-moz-column-gap:1rem;column-gap:1rem;margin:0}.dashboard-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 1rem 1rem 0;display:inline-block;min-width:300px;width:100%}.home-image[_ngcontent-%COMP%]{transform:scale(1.4);margin-right:.7rem;margin-left:.6rem}.text-align[_ngcontent-%COMP%]{text-align:center;font-size:1.25rem}.text-bigger[_ngcontent-%COMP%]{font-size:1.1rem}.user-icon[_ngcontent-%COMP%]{vertical-align:top}.dashboard[_ngcontent-%COMP%]{position:relative;min-height:calc(100vh - 234px);margin-bottom:-60px!important;padding-bottom:50px;top:-10px!important;left:0;right:0}"]}),le})();var u=d(4235);let y=(()=>{class le{constructor(){}}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-web-apps-not-found-page"]],decls:5,vars:3,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f._UZ(1,"perun-web-apps-back-button"),f.TgZ(2,"h1",1),f._uU(3),f.ALo(4,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(3),f.Oqu(f.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[u.W],pipes:[E.X$],styles:[""]}),le})();var M=d(387),re=d(67322),et=d(98833),yt=d(63189);let pt=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[$.ez,ce.ot,ue.Ps,g.Bz,M.ez,E.aw,re.lN,V.UX,et.c,yt.r]]}),le})(),Nt=(()=>{class le{constructor(Re){this.auth=Re}startAuth(){this.auth.startAuthentication()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.e8))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h4",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"button",4),f.NdJ("click",function(){return at.startAuth()}),f._uU(7),f.ALo(8,"translate"),f.TgZ(9,"mat-icon"),f._uU(10," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.xp6(4),f.hij(" ",f.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),f.xp6(3),f.hij(" ",f.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[ce.lW,ue.Hw],pipes:[E.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),le})();var It=d(41619);function Zt(le,$e){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"div",9),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}function mt(le,$e){if(1&le&&(f.TgZ(0,"div",10),f._UZ(1,"div",11),f._UZ(2,"mat-icon",12),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}function Ht(le,$e){if(1&le&&(f.TgZ(0,"div",8),f._UZ(1,"a",9),f.qZA()),2&le){const Re=f.oxw();f.xp6(1),f.Q6J("innerHTML",Re.logo,f.oJD)}}const _t=function(le){return{color:le}};function Je(le,$e){if(1&le&&(f.TgZ(0,"p",13),f._uU(1),f.qZA()),2&le){const Re=f.oxw();f.Q6J("ngStyle",f.VKq(2,_t,Re.textColor)),f.xp6(1),f.hij(" ",Re.headerTitle," ")}}const Lt=function(le,$e){return{background:le,color:$e}},ht=function(le,$e){return{"min-height":le,"background-color":$e}};let Rt=(()=>{class le{constructor(Re,at,kt,Yt){this.storeService=Re,this.sanitizer=at,this.preferredLangService=kt,this.translateService=Yt,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const Re=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(Re)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.BN),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.YNc(1,Zt,2,1,"div",1),f.YNc(2,mt,3,1,"div",2),f.YNc(3,Ht,2,1,"div",1),f.YNc(4,Je,2,4,"p",3),f.qZA(),f.TgZ(5,"div",4),f.TgZ(6,"div",5),f.TgZ(7,"div",6),f._UZ(8,"router-outlet"),f.qZA(),f.TgZ(9,"div",7),f._UZ(10,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.WLB(6,Lt,at.headerBackgroundColor,at.headerTextColor)),f.xp6(1),f.Q6J("ngIf","admin-gui"===at.application),f.xp6(1),f.Q6J("ngIf","publications"===at.application),f.xp6(1),f.Q6J("ngIf","user-profile"===at.application),f.xp6(1),f.Q6J("ngIf",!!at.headerTitle),f.xp6(2),f.Q6J("ngStyle",f.WLB(9,ht,at.getContentInnerMinHeight(),at.contentBackgroundColor)))},directives:[$.PC,$.O5,ue.Hw,g.lC,It.$],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),le})();function qe(le,$e){1&le&&(f.TgZ(0,"app-alert",8),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const oe=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:M.t$},{path:"api-callback",component:T},{path:"login",component:Nt},{path:"service-access",component:(()=>{class le{constructor(Re,at,kt){this.authzService=Re,this.dialog=at,this.translate=kt,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new V.NI(null,[V.kI.required]),this.passwordCtrl=new V.NI(null,[V.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(Re=>{sessionStorage.setItem("baPrincipal",JSON.stringify(Re)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(m.Ct),f.Y36(h.uw),f.Y36(E.sK))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div",2),f.TgZ(3,"h2"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.YNc(6,qe,3,3,"app-alert",3),f.TgZ(7,"mat-form-field",4),f.TgZ(8,"mat-label"),f._uU(9),f.ALo(10,"translate"),f.qZA(),f._UZ(11,"input",5),f.TgZ(12,"mat-error"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.qZA(),f.TgZ(15,"mat-form-field",4),f.TgZ(16,"mat-label"),f._uU(17),f.ALo(18,"translate"),f.qZA(),f._UZ(19,"input",6),f.TgZ(20,"mat-error"),f._uU(21),f.ALo(22,"translate"),f.qZA(),f.qZA(),f.TgZ(23,"button",7),f.NdJ("click",function(){return at.startAuth()}),f._uU(24),f.ALo(25,"translate"),f.TgZ(26,"mat-icon"),f._uU(27," login "),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&Re&&(f.xp6(4),f.Oqu(f.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),f.xp6(2),f.Q6J("ngIf",at.wrongUsernameOrPassword),f.xp6(3),f.Oqu(f.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),f.xp6(2),f.Q6J("formControl",at.usernameCtrl),f.xp6(2),f.hij(" ",f.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),f.xp6(4),f.Oqu(f.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),f.xp6(2),f.Q6J("formControl",at.passwordCtrl)("type","password"),f.xp6(2),f.hij(" ",f.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),f.xp6(2),f.Q6J("disabled",at.usernameCtrl.invalid||at.passwordCtrl.invalid),f.xp6(1),f.hij(" ",f.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[$.O5,de.w,re.KE,re.hX,et.Nt,V.Fj,V.Q7,V.JJ,V.oH,re.TO,ce.lW,ue.Hw],pipes:[E.X$],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),le})()},{path:"organizations",loadChildren:()=>Promise.all([d.e(50),d.e(176),d.e(243),d.e(892)]).then(d.bind(d,36892)).then(le=>le.VosModule)},{path:"admin",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(385)]).then(d.bind(d,23385)).then(le=>le.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([d.e(50),d.e(142),d.e(176),d.e(385),d.e(243),d.e(358)]).then(d.bind(d,17358)).then(le=>le.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([d.e(50),d.e(142)]).then(d.bind(d,46142)).then(le=>le.UsersModule)},{path:"home",component:c},{path:"notAuthorized",component:M.y9},{path:"**",component:y}];let Z=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[g.Bz.forRoot(oe,{preloadingStrategy:g.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],g.Bz]}),le})();var G=d(72077),X=d(14264);class _e{constructor($e,Re="/assets/i18n/",at=".json"){this.http=$e,this.prefix=Re,this.suffix=at}getTranslation($e){return this.http.get(`${this.prefix}${$e}${this.suffix}`)}}var Ue=d(40520),wt=d(76360);let Ut=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({providers:[A.e8],imports:[[$.ez]]}),le})();var Vt=d(81847),Dt=d(4732),Et=d(94856),At=d(55857),Ot=d(37240),Kt=d(15592),li=d(96180),fi=d(37380),Ci=d(34904),Si=d(85243),Vi=d(68056),nn=d(24219),$i=d(25828),Yi=d(10369),bn=d(14336),Qi=d(25309),We=d(86353),Tt=d(3246);let Ze=(()=>{class le{constructor(){this.allowCachePages=[{type:"vo",components:[Vt.y.id,Dt.G.id,Et.c.id,Vi.z.id,nn.z.id,Yi.w.id,Tt.T.id]},{type:"group",components:[li.y.id,Kt.u.id,Ot.q.id,At.W.id,bn.Z.id]},{type:"facility",components:[fi.o.id,Ci.f.id]},{type:"member",components:[Si.j.id]},{type:"admin",components:[$i.t.id]},{type:"entitySelect",components:[Qi.Y.id,We.P.id]}],this.cacheTimeMs=3e5,this.resets=[{lastValue:null,resetType:"vo",resetPath:":voId",param:"voId"},{lastValue:null,resetType:"group",resetPath:":voId/groups/:groupId",param:"groupId"},{lastValue:null,resetType:"facility",resetPath:":facilityId",param:"facilityId"},{lastValue:null,resetType:"member",resetPath:":voId/members/:memberId",param:"memberId"},{lastValue:null,resetType:"admin",resetPath:"admin/users"}],this.isUserNavigatingBack=!1,this.typeToComponentToHandlers=new Map;for(const Re of this.allowCachePages)this.typeToComponentToHandlers.set(Re.type,new Map)}setLastNavigationType(Re){this.isUserNavigatingBack="back"===Re}checkResets(Re){const at=this.getPath(Re);for(const kt of this.resets)if(kt.resetPath===at){const Yt=Re.params[kt.param];null!==kt.lastValue&&kt.lastValue!==Yt&&this.typeToComponentToHandlers.get(kt.resetType).clear(),kt.lastValue=Yt}}shouldReuseRoute(Re,at){return this.checkResets(at),Re.routeConfig===at.routeConfig}retrieve(Re){if(Re.component){const at=this.getComponentName(Re.component);for(const kt of this.allowCachePages)if(-1!==kt.components.indexOf(at)){const Yt=this.typeToComponentToHandlers.get(kt.type).get(at);return void 0===Yt?null:Yt.routeHandle}}return null}shouldAttach(Re){if(!this.isUserNavigatingBack)return!1;if(Re.component){const at=this.getComponentName(Re.component);for(const kt of this.allowCachePages){const Yt=this.typeToComponentToHandlers.get(kt.type).get(at);if(void 0!==Yt&&this.getCurrentTimestamp()-Yt.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const kt=this.getComponentType(Re);this.typeToComponentToHandlers.get(kt).set(this.getComponentName(Re.component),{routeHandle:at,saveTimeStamp:this.getCurrentTimestamp()})}}getCurrentTimestamp(){return+Date.now()}getComponentName(Re){return Re.id}getComponentType(Re){const at=this.getComponentName(Re.component);for(const kt of this.allowCachePages)if(-1!==kt.components.indexOf(at))return kt.type;return null}getPath(Re){return null!==Re.routeConfig&&null!==Re.routeConfig.path?Re.routeConfig.path:""}}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac}),le})();const gt=new f.OlP("perun-api-service");let F=(()=>{class le{constructor(Re,at,kt,Yt,ni){this.http=Re,this.storeService=at,this.authzSevice=kt,this.titleService=Yt,this.utilsService=ni}initializeColors(Re,at){return new Promise(kt=>{at.forEach(Yt=>{const ni=this.storeService.get("theme",Yt.configValue);document.documentElement.style.setProperty(Yt.cssVariable,ni)}),Re.forEach(Yt=>{const ni=this.storeService.get("theme",Yt.configValue);document.documentElement.style.setProperty(Yt.cssVariable,ni),this.setEntityTheme(Yt.entity,ni)}),kt()})}setEntityTheme(Re,at){const kt=function Be(le){return[ut(tinycolor(le).lighten(52),"50"),ut(tinycolor(le).lighten(37),"100"),ut(tinycolor(le).lighten(26),"200"),ut(tinycolor(le).lighten(12),"300"),ut(tinycolor(le).lighten(6),"400"),ut(tinycolor(le),"500"),ut(tinycolor(le).darken(6),"600"),ut(tinycolor(le).darken(12),"700"),ut(tinycolor(le).darken(18),"800"),ut(tinycolor(le).darken(24),"900"),ut(tinycolor(le).lighten(50).saturate(30),"A100"),ut(tinycolor(le).lighten(30).saturate(30),"A200"),ut(tinycolor(le).lighten(10).saturate(15),"A400"),ut(tinycolor(le).lighten(5).saturate(5),"A700")]}(at);for(const Yt of kt){const oi=`--${Re}-theme-primary-contrast-${Yt.name}`,Di=Yt.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${Re}-theme-primary-${Yt.name}`,`${Yt.red},${Yt.green},${Yt.blue}`),document.documentElement.style.setProperty(oi,Di)}}loadAppDefaultConfig(){return new Promise(Re=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(at=>{this.storeService.setDefaultConfig(at),Re()})})}loadAppInstanceConfig(){return new Promise(Re=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(at=>{this.storeService.setInstanceConfig(at);const kt=document.location.hostname;void 0!==at.brandings&&void 0!==at.brandings[kt]&&this.storeService.setBanding(kt),Re()},()=>{console.log("instance config not detected"),Re()})})}getNoCacheHeaders(){return new Ue.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(Re=>{const at=document.querySelector("link[rel*='icon']")||document.createElement("link");at.type="image/x-icon",at.rel="shortcut icon",at.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(at),Re()})}setApiUrl(){return new Promise(Re=>{let at=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(at=at.replace("oauth","ba")),this.authzSevice.configuration.basePath=at,this.titleService.setTitle(this.storeService.get("document_title")),Re()})}loadAppsConfig(){return new Promise((Re,at)=>{this.utilsService.getAppsConfig().subscribe(kt=>{this.storeService.setAppsConfig(kt),Re()},kt=>at(kt))})}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(Ue.eN),f.LFG(A.d6),f.LFG(m.Ct),f.LFG(e.Dx),f.LFG(m.FW))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function ut(le,$e){const Re=tinycolor(le),at=Re.toRgb();return{name:$e,hex:Re.toHexString(),darkContrast:Re.isLight(),red:at.r,green:at.g,blue:at.b}}let Mt=(()=>{class le{constructor(Re,at){this.data=Re,this.location=at}redirect(){this.location.go("/"),location.reload()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.WI),f.Y36($.Ye))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Re,at){1&Re&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return at.redirect()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,at.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,at.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,at.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),ei=(()=>{class le{constructor(Re,at){this.dialogRef=Re,this.data=at}refresh(){location.reload()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.so),f.Y36(h.WI))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(Re,at){1&Re&&(f.TgZ(0,"h2"),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"p"),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f.TgZ(7,"button",0),f.NdJ("click",function(){return at.refresh()}),f._uU(8),f.ALo(9,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.hij(" ",f.lcZ(2,3,at.data.title),"\n"),f.xp6(3),f.hij(" ",f.lcZ(5,5,at.data.message),"\n"),f.xp6(4),f.hij(" ",f.lcZ(9,7,at.data.action)," "))},pipes:[E.X$],styles:[""]}),le})(),Qt=(()=>{class le{constructor(Re,at,kt,Yt,ni,ui){this.initAuthService=Re,this.appConfigService=at,this.authzSevice=kt,this.dialog=Yt,this.location=ni,this.guiAuthResolver=ui,this.entityColorConfigs=[{entity:"vo",configValue:"vo_color",cssVariable:"--vo-color"},{entity:"group",configValue:"group_color",cssVariable:"--group-color"},{entity:"user",configValue:"user_color",cssVariable:"--user-color"},{entity:"member",configValue:"member_color",cssVariable:"--member-color"},{entity:"facility",configValue:"facility_color",cssVariable:"--facility-color"},{entity:"resource",configValue:"resource_color",cssVariable:"--resource-color"},{entity:"admin",configValue:"admin_color",cssVariable:"--admin-color"},{entity:"service",configValue:"service_color",cssVariable:"--service-color"}],this.colorConfigs=[{configValue:"sidemenu_hover_color",cssVariable:"--side-root-item-hover"},{configValue:"sidemenu_root_active_color",cssVariable:"--side-root-item-active"},{configValue:"sidemenu-link-active",cssVariable:"--side-link-active"},{configValue:"sidemenu-link-hover",cssVariable:"--side-link-hover"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(Re=>{if("Invalid path"!==Re)throw console.error(Re),this.location.go("/"),location.reload(),Re;this.handleErr(Re)}).then(Re=>Re?this.initAuthService.loadPrincipal().catch(at=>this.handleErr(at)).then(()=>this.loadPolicies()).then(()=>this.appConfigService.loadAppsConfig()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}handleErr(Re){const at=(0,s.kZ)();throw"Invalid path"===Re?(at.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(Mt,at)):(at.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===Re.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":Re.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(ei,at)),console.error(Re),Re}loadPolicies(){return new Promise((Re,at)=>{this.authzSevice.getAllPolicies().subscribe(kt=>{this.guiAuthResolver.setPerunPolicies(kt),Re()},kt=>at(kt))})}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(A.v0),f.LFG(F),f.LFG(m.Ct),f.LFG(h.uw),f.LFG($.Ye),f.LFG(A.x4))},le.\u0275prov=f.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),Ri=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[$.ez,h.Is,ce.ot,E.aw]]}),le})();var bi=d(8929),Li=d(23753),Ji=d(36787),Ni=d(57138),Hi=d(7625),pn=d(75778),Pi=d(77604);function Ti(le){return getComputedStyle(le)}function Ui(le,$e){for(var Re in $e){var at=$e[Re];"number"==typeof at&&(at+="px"),le.style[Re]=at}return le}function fn(le){var $e=document.createElement("div");return $e.className=le,$e}var sn="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qi(le,$e){if(!sn)throw new Error("No element matching method supported");return sn.call(le,$e)}function Ct(le){le.remove?le.remove():le.parentNode&&le.parentNode.removeChild(le)}function $t(le,$e){return Array.prototype.filter.call(le.children,function(Re){return qi(Re,$e)})}var Y_element_thumb=function(le){return"ps__thumb-"+le},Y_element_rail=function(le){return"ps__rail-"+le},Y_element_consuming="ps__child--consume",Y_state_focus="ps--focus",Y_state_clicking="ps--clicking",Y_state_active=function(le){return"ps--active-"+le},Y_state_scrolling=function(le){return"ps--scrolling-"+le},lt={x:null,y:null};function we(le,$e){var Re=le.element.classList,at=Y_state_scrolling($e);Re.contains(at)?clearTimeout(lt[$e]):Re.add(at)}function ct(le,$e){lt[$e]=setTimeout(function(){return le.isAlive&&le.element.classList.remove(Y_state_scrolling($e))},le.settings.scrollingThreshold)}var Jt=function($e){this.element=$e,this.handlers={}},di={isEmpty:{configurable:!0}};Jt.prototype.bind=function($e,Re){void 0===this.handlers[$e]&&(this.handlers[$e]=[]),this.handlers[$e].push(Re),this.element.addEventListener($e,Re,!1)},Jt.prototype.unbind=function($e,Re){var at=this;this.handlers[$e]=this.handlers[$e].filter(function(kt){return!(!Re||kt===Re)||(at.element.removeEventListener($e,kt,!1),!1)})},Jt.prototype.unbindAll=function(){for(var $e in this.handlers)this.unbind($e)},di.isEmpty.get=function(){var le=this;return Object.keys(this.handlers).every(function($e){return 0===le.handlers[$e].length})},Object.defineProperties(Jt.prototype,di);var Oi=function(){this.eventElements=[]};function zi(le){if("function"==typeof window.CustomEvent)return new CustomEvent(le);var $e=document.createEvent("CustomEvent");return $e.initCustomEvent(le,!1,!1,void 0),$e}function mn(le,$e,Re,at,kt){var Yt;if(void 0===at&&(at=!0),void 0===kt&&(kt=!1),"top"===$e)Yt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==$e)throw new Error("A proper axis should be provided");Yt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function In(le,$e,Re,at,kt){var Yt=Re[0],ni=Re[1],ui=Re[2],oi=Re[3],Di=Re[4],Zi=Re[5];void 0===at&&(at=!0),void 0===kt&&(kt=!1);var en=le.element;le.reach[oi]=null,en[ui]<1&&(le.reach[oi]="start"),en[ui]>le[Yt]-le[ni]-1&&(le.reach[oi]="end"),$e&&(en.dispatchEvent(zi("ps-scroll-"+oi)),$e<0?en.dispatchEvent(zi("ps-scroll-"+Di)):$e>0&&en.dispatchEvent(zi("ps-scroll-"+Zi)),at&&function zt(le,$e){we(le,$e),ct(le,$e)}(le,oi)),le.reach[oi]&&($e||kt)&&en.dispatchEvent(zi("ps-"+oi+"-reach-"+le.reach[oi]))}(le,Re,Yt,at,kt)}function Wi(le){return parseInt(le,10)||0}Oi.prototype.eventElement=function($e){var Re=this.eventElements.filter(function(at){return at.element===$e})[0];return Re||(Re=new Jt($e),this.eventElements.push(Re)),Re},Oi.prototype.bind=function($e,Re,at){this.eventElement($e).bind(Re,at)},Oi.prototype.unbind=function($e,Re,at){var kt=this.eventElement($e);kt.unbind(Re,at),kt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(kt),1)},Oi.prototype.unbindAll=function(){this.eventElements.forEach(function($e){return $e.unbindAll()}),this.eventElements=[]},Oi.prototype.once=function($e,Re,at){var kt=this.eventElement($e),Yt=function(ni){kt.unbind(Re,Yt),at(ni)};kt.bind(Re,Yt)};var kn={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function Rn(le){var $e=le.element,Re=Math.floor($e.scrollTop),at=$e.getBoundingClientRect();le.containerWidth=Math.ceil(at.width),le.containerHeight=Math.ceil(at.height),le.contentWidth=$e.scrollWidth,le.contentHeight=$e.scrollHeight,$e.contains(le.scrollbarXRail)||($t($e,Y_element_rail("x")).forEach(function(kt){return Ct(kt)}),$e.appendChild(le.scrollbarXRail)),$e.contains(le.scrollbarYRail)||($t($e,Y_element_rail("y")).forEach(function(kt){return Ct(kt)}),$e.appendChild(le.scrollbarYRail)),!le.settings.suppressScrollX&&le.containerWidth+le.settings.scrollXMarginOffset=le.railXWidth-le.scrollbarXWidth&&(le.scrollbarXLeft=le.railXWidth-le.scrollbarXWidth),le.scrollbarYTop>=le.railYHeight-le.scrollbarYHeight&&(le.scrollbarYTop=le.railYHeight-le.scrollbarYHeight),function bs(le,$e){var Re={width:$e.railXWidth},at=Math.floor(le.scrollTop);Re.left=$e.isRtl?$e.negativeScrollAdjustment+le.scrollLeft+$e.containerWidth-$e.contentWidth:le.scrollLeft,$e.isScrollbarXUsingBottom?Re.bottom=$e.scrollbarXBottom-at:Re.top=$e.scrollbarXTop+at,Ui($e.scrollbarXRail,Re);var kt={top:at,height:$e.railYHeight};$e.isScrollbarYUsingRight?kt.right=$e.isRtl?$e.contentWidth-($e.negativeScrollAdjustment+le.scrollLeft)-$e.scrollbarYRight-$e.scrollbarYOuterWidth-9:$e.scrollbarYRight-le.scrollLeft:kt.left=$e.isRtl?$e.negativeScrollAdjustment+le.scrollLeft+2*$e.containerWidth-$e.contentWidth-$e.scrollbarYLeft-$e.scrollbarYOuterWidth:$e.scrollbarYLeft+le.scrollLeft,Ui($e.scrollbarYRail,kt),Ui($e.scrollbarX,{left:$e.scrollbarXLeft,width:$e.scrollbarXWidth-$e.railBorderXWidth}),Ui($e.scrollbarY,{top:$e.scrollbarYTop,height:$e.scrollbarYHeight-$e.railBorderYWidth})}($e,le),le.scrollbarXActive?$e.classList.add(Y_state_active("x")):($e.classList.remove(Y_state_active("x")),le.scrollbarXWidth=0,le.scrollbarXLeft=0,$e.scrollLeft=!0===le.isRtl?le.contentWidth:0),le.scrollbarYActive?$e.classList.add(Y_state_active("y")):($e.classList.remove(Y_state_active("y")),le.scrollbarYHeight=0,le.scrollbarYTop=0,$e.scrollTop=0)}function Gn(le,$e){return le.settings.minScrollbarLength&&($e=Math.max($e,le.settings.minScrollbarLength)),le.settings.maxScrollbarLength&&($e=Math.min($e,le.settings.maxScrollbarLength)),$e}function ss(le,$e){var Re=$e[0],at=$e[1],kt=$e[2],Yt=$e[3],ni=$e[4],ui=$e[5],oi=$e[6],Di=$e[7],Zi=$e[8],en=le.element,Nn=null,us=null,Ii=null;function on(Xi){Xi.touches&&Xi.touches[0]&&(Xi[kt]=Xi.touches[0].pageY),en[oi]=Nn+Ii*(Xi[kt]-us),we(le,Di),Rn(le),Xi.stopPropagation(),Xi.preventDefault()}function Gi(){ct(le,Di),le[Zi].classList.remove(Y_state_clicking),le.event.unbind(le.ownerDocument,"mousemove",on)}function rn(Xi,Yn){Nn=en[oi],Yn&&Xi.touches&&(Xi[kt]=Xi.touches[0].pageY),us=Xi[kt],Ii=(le[at]-le[Re])/(le[Yt]-le[ui]),Yn?le.event.bind(le.ownerDocument,"touchmove",on):(le.event.bind(le.ownerDocument,"mousemove",on),le.event.once(le.ownerDocument,"mouseup",Gi),Xi.preventDefault()),le[Zi].classList.add(Y_state_clicking),Xi.stopPropagation()}le.event.bind(le[ni],"mousedown",function(Xi){rn(Xi)}),le.event.bind(le[ni],"touchstart",function(Xi){rn(Xi,!0)})}var gn={"click-rail":function ys(le){le.event.bind(le.scrollbarY,"mousedown",function(Re){return Re.stopPropagation()}),le.event.bind(le.scrollbarYRail,"mousedown",function(Re){var at=Re.pageY-window.pageYOffset-le.scrollbarYRail.getBoundingClientRect().top;le.element.scrollTop+=(at>le.scrollbarYTop?1:-1)*le.containerHeight,Rn(le),Re.stopPropagation()}),le.event.bind(le.scrollbarX,"mousedown",function(Re){return Re.stopPropagation()}),le.event.bind(le.scrollbarXRail,"mousedown",function(Re){var at=Re.pageX-window.pageXOffset-le.scrollbarXRail.getBoundingClientRect().left;le.element.scrollLeft+=(at>le.scrollbarXLeft?1:-1)*le.containerWidth,Rn(le),Re.stopPropagation()})},"drag-thumb":function vs(le){ss(le,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ss(le,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function os(le){var $e=le.element;le.event.bind(le.ownerDocument,"keydown",function(Yt){if(!(Yt.isDefaultPrevented&&Yt.isDefaultPrevented()||Yt.defaultPrevented)&&(qi($e,":hover")||qi(le.scrollbarX,":focus")||qi(le.scrollbarY,":focus"))){var ni=document.activeElement?document.activeElement:le.ownerDocument.activeElement;if(ni){if("IFRAME"===ni.tagName)ni=ni.contentDocument.activeElement;else for(;ni.shadowRoot;)ni=ni.shadowRoot.activeElement;if(function $n(le){return qi(le,"input,[contenteditable]")||qi(le,"select,[contenteditable]")||qi(le,"textarea,[contenteditable]")||qi(le,"button,[contenteditable]")}(ni))return}var ui=0,oi=0;switch(Yt.which){case 37:ui=Yt.metaKey?-le.contentWidth:Yt.altKey?-le.containerWidth:-30;break;case 38:oi=Yt.metaKey?le.contentHeight:Yt.altKey?le.containerHeight:30;break;case 39:ui=Yt.metaKey?le.contentWidth:Yt.altKey?le.containerWidth:30;break;case 40:oi=Yt.metaKey?-le.contentHeight:Yt.altKey?-le.containerHeight:-30;break;case 32:oi=Yt.shiftKey?le.containerHeight:-le.containerHeight;break;case 33:oi=le.containerHeight;break;case 34:oi=-le.containerHeight;break;case 36:oi=le.contentHeight;break;case 35:oi=-le.contentHeight;break;default:return}le.settings.suppressScrollX&&0!==ui||le.settings.suppressScrollY&&0!==oi||($e.scrollTop-=oi,$e.scrollLeft+=ui,Rn(le),function kt(Yt,ni){var ui=Math.floor($e.scrollTop);if(0===Yt){if(!le.scrollbarYActive)return!1;if(0===ui&&ni>0||ui>=le.contentHeight-le.containerHeight&&ni<0)return!le.settings.wheelPropagation}var oi=$e.scrollLeft;if(0===ni){if(!le.scrollbarXActive)return!1;if(0===oi&&Yt<0||oi>=le.contentWidth-le.containerWidth&&Yt>0)return!le.settings.wheelPropagation}return!0}(ui,oi)&&Yt.preventDefault())}})},wheel:function Ts(le){var $e=le.element;function Yt(ni){var ui=function at(ni){var ui=ni.deltaX,oi=-1*ni.deltaY;return(void 0===ui||void 0===oi)&&(ui=-1*ni.wheelDeltaX/6,oi=ni.wheelDeltaY/6),ni.deltaMode&&1===ni.deltaMode&&(ui*=10,oi*=10),ui!=ui&&oi!=oi&&(ui=0,oi=ni.wheelDelta),ni.shiftKey?[-oi,-ui]:[ui,oi]}(ni),oi=ui[0],Di=ui[1];if(!function kt(ni,ui,oi){if(!kn.isWebKit&&$e.querySelector("select:focus"))return!0;if(!$e.contains(ni))return!1;for(var Di=ni;Di&&Di!==$e;){if(Di.classList.contains(Y_element_consuming))return!0;var Zi=Ti(Di);if(oi&&Zi.overflowY.match(/(scroll|auto)/)){var en=Di.scrollHeight-Di.clientHeight;if(en>0&&(Di.scrollTop>0&&oi<0||Di.scrollTop0))return!0}if(ui&&Zi.overflowX.match(/(scroll|auto)/)){var Nn=Di.scrollWidth-Di.clientWidth;if(Nn>0&&(Di.scrollLeft>0&&ui<0||Di.scrollLeft0))return!0}Di=Di.parentNode}return!1}(ni.target,oi,Di)){var Zi=!1;le.settings.useBothWheelAxes?le.scrollbarYActive&&!le.scrollbarXActive?(Di?$e.scrollTop-=Di*le.settings.wheelSpeed:$e.scrollTop+=oi*le.settings.wheelSpeed,Zi=!0):le.scrollbarXActive&&!le.scrollbarYActive&&(oi?$e.scrollLeft+=oi*le.settings.wheelSpeed:$e.scrollLeft-=Di*le.settings.wheelSpeed,Zi=!0):($e.scrollTop-=Di*le.settings.wheelSpeed,$e.scrollLeft+=oi*le.settings.wheelSpeed),Rn(le),Zi=Zi||function Re(ni,ui){var oi=Math.floor($e.scrollTop),Di=0===$e.scrollTop,Zi=oi+$e.offsetHeight===$e.scrollHeight,en=0===$e.scrollLeft,Nn=$e.scrollLeft+$e.offsetWidth===$e.scrollWidth;return!(Math.abs(ui)>Math.abs(ni)?Di||Zi:en||Nn)||!le.settings.wheelPropagation}(oi,Di),Zi&&!ni.ctrlKey&&(ni.stopPropagation(),ni.preventDefault())}}void 0!==window.onwheel?le.event.bind($e,"wheel",Yt):void 0!==window.onmousewheel&&le.event.bind($e,"mousewheel",Yt)},touch:function wn(le){if(kn.supportsTouch||kn.supportsIePointer){var $e=le.element,kt={},Yt=0,ni={},ui=null;kn.supportsTouch?(le.event.bind($e,"touchstart",Zi),le.event.bind($e,"touchmove",Nn),le.event.bind($e,"touchend",us)):kn.supportsIePointer&&(window.PointerEvent?(le.event.bind($e,"pointerdown",Zi),le.event.bind($e,"pointermove",Nn),le.event.bind($e,"pointerup",us)):window.MSPointerEvent&&(le.event.bind($e,"MSPointerDown",Zi),le.event.bind($e,"MSPointerMove",Nn),le.event.bind($e,"MSPointerUp",us)))}function at(Ii,on){$e.scrollTop-=on,$e.scrollLeft-=Ii,Rn(le)}function oi(Ii){return Ii.targetTouches?Ii.targetTouches[0]:Ii}function Di(Ii){return!(Ii.pointerType&&"pen"===Ii.pointerType&&0===Ii.buttons||!(Ii.targetTouches&&1===Ii.targetTouches.length||Ii.pointerType&&"mouse"!==Ii.pointerType&&Ii.pointerType!==Ii.MSPOINTER_TYPE_MOUSE))}function Zi(Ii){if(Di(Ii)){var on=oi(Ii);kt.pageX=on.pageX,kt.pageY=on.pageY,Yt=(new Date).getTime(),null!==ui&&clearInterval(ui)}}function Nn(Ii){if(Di(Ii)){var on=oi(Ii),Gi={pageX:on.pageX,pageY:on.pageY},rn=Gi.pageX-kt.pageX,Xi=Gi.pageY-kt.pageY;if(function en(Ii,on,Gi){if(!$e.contains(Ii))return!1;for(var rn=Ii;rn&&rn!==$e;){if(rn.classList.contains(Y_element_consuming))return!0;var Xi=Ti(rn);if(Gi&&Xi.overflowY.match(/(scroll|auto)/)){var Yn=rn.scrollHeight-rn.clientHeight;if(Yn>0&&(rn.scrollTop>0&&Gi<0||rn.scrollTop0))return!0}if(on&&Xi.overflowX.match(/(scroll|auto)/)){var vn=rn.scrollWidth-rn.clientWidth;if(vn>0&&(rn.scrollLeft>0&&on<0||rn.scrollLeft0))return!0}rn=rn.parentNode}return!1}(Ii.target,rn,Xi))return;at(rn,Xi),kt=Gi;var Yn=(new Date).getTime(),vn=Yn-Yt;vn>0&&(ni.x=rn/vn,ni.y=Xi/vn,Yt=Yn),function Re(Ii,on){var Gi=Math.floor($e.scrollTop),rn=$e.scrollLeft,Xi=Math.abs(Ii),Yn=Math.abs(on);if(Yn>Xi){if(on<0&&Gi===le.contentHeight-le.containerHeight||on>0&&0===Gi)return 0===window.scrollY&&on>0&&kn.isChrome}else if(Xi>Yn&&(Ii<0&&rn===le.contentWidth-le.containerWidth||Ii>0&&0===rn))return!0;return!0}(rn,Xi)&&Ii.preventDefault()}}function us(){le.settings.swipeEasing&&(clearInterval(ui),ui=setInterval(function(){le.isInitialized?clearInterval(ui):ni.x||ni.y?Math.abs(ni.x)<.01&&Math.abs(ni.y)<.01?clearInterval(ui):(at(30*ni.x,30*ni.y),ni.x*=.8,ni.y*=.8):clearInterval(ui)},10))}}},Fn=function($e,Re){var at=this;if(void 0===Re&&(Re={}),"string"==typeof $e&&($e=document.querySelector($e)),!$e||!$e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var kt in this.element=$e,$e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Re)this.settings[kt]=Re[kt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Zi,Di,Yt=function(){return $e.classList.add(Y_state_focus)},ni=function(){return $e.classList.remove(Y_state_focus)};this.isRtl="rtl"===Ti($e).direction,!0===this.isRtl&&$e.classList.add("ps__rtl"),this.isNegativeScroll=(Di=$e.scrollLeft,$e.scrollLeft=-1,Zi=$e.scrollLeft<0,$e.scrollLeft=Di,Zi),this.negativeScrollAdjustment=this.isNegativeScroll?$e.scrollWidth-$e.clientWidth:0,this.event=new Oi,this.ownerDocument=$e.ownerDocument||document,this.scrollbarXRail=fn(Y_element_rail("x")),$e.appendChild(this.scrollbarXRail),this.scrollbarX=fn(Y_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Yt),this.event.bind(this.scrollbarX,"blur",ni),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var ui=Ti(this.scrollbarXRail);this.scrollbarXBottom=parseInt(ui.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Wi(ui.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Wi(ui.borderLeftWidth)+Wi(ui.borderRightWidth),Ui(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Wi(ui.marginLeft)+Wi(ui.marginRight),Ui(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=fn(Y_element_rail("y")),$e.appendChild(this.scrollbarYRail),this.scrollbarY=fn(Y_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Yt),this.event.bind(this.scrollbarY,"blur",ni),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var oi=Ti(this.scrollbarYRail);this.scrollbarYRight=parseInt(oi.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Wi(oi.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function Zn(le){var $e=Ti(le);return Wi($e.width)+Wi($e.paddingLeft)+Wi($e.paddingRight)+Wi($e.borderLeftWidth)+Wi($e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Wi(oi.borderTopWidth)+Wi(oi.borderBottomWidth),Ui(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Wi(oi.marginTop)+Wi(oi.marginBottom),Ui(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:$e.scrollLeft<=0?"start":$e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:$e.scrollTop<=0?"start":$e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Di){return gn[Di](at)}),this.lastScrollTop=Math.floor($e.scrollTop),this.lastScrollLeft=$e.scrollLeft,this.event.bind(this.element,"scroll",function(Di){return at.onScroll(Di)}),Rn(this)};Fn.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Ui(this.scrollbarXRail,{display:"block"}),Ui(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Wi(Ti(this.scrollbarXRail).marginLeft)+Wi(Ti(this.scrollbarXRail).marginRight),this.railYMarginHeight=Wi(Ti(this.scrollbarYRail).marginTop)+Wi(Ti(this.scrollbarYRail).marginBottom),Ui(this.scrollbarXRail,{display:"none"}),Ui(this.scrollbarYRail,{display:"none"}),Rn(this),mn(this,"top",0,!1,!0),mn(this,"left",0,!1,!0),Ui(this.scrollbarXRail,{display:""}),Ui(this.scrollbarYRail,{display:""}))},Fn.prototype.onScroll=function($e){!this.isAlive||(Rn(this),mn(this,"top",this.element.scrollTop-this.lastScrollTop),mn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Fn.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),Ct(this.scrollbarX),Ct(this.scrollbarY),Ct(this.scrollbarXRail),Ct(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Fn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function($e){return!$e.match(/^ps([-_].+|)$/)}).join(" ")};const Jn=Fn;var Qn=function(){if("undefined"!=typeof Map)return Map;function le($e,Re){var at=-1;return $e.some(function(kt,Yt){return kt[0]===Re&&(at=Yt,!0)}),at}return function(){function $e(){this.__entries__=[]}return Object.defineProperty($e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),$e.prototype.get=function(Re){var at=le(this.__entries__,Re),kt=this.__entries__[at];return kt&&kt[1]},$e.prototype.set=function(Re,at){var kt=le(this.__entries__,Re);~kt?this.__entries__[kt][1]=at:this.__entries__.push([Re,at])},$e.prototype.delete=function(Re){var at=this.__entries__,kt=le(at,Re);~kt&&at.splice(kt,1)},$e.prototype.has=function(Re){return!!~le(this.__entries__,Re)},$e.prototype.clear=function(){this.__entries__.splice(0)},$e.prototype.forEach=function(Re,at){void 0===at&&(at=null);for(var kt=0,Yt=this.__entries__;kt0},le.prototype.connect_=function(){!Xn||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),_n?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},le.prototype.disconnect_=function(){!Xn||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},le.prototype.onTransitionEnd_=function($e){var Re=$e.propertyName,at=void 0===Re?"":Re;ps.some(function(Yt){return!!~at.indexOf(Yt)})&&this.refresh()},le.getInstance=function(){return this.instance_||(this.instance_=new le),this.instance_},le.instance_=null,le}(),Es=function(le,$e){for(var Re=0,at=Object.keys($e);Re0},le}(),ii="undefined"!=typeof WeakMap?new WeakMap:new Qn,ai=function le($e){if(!(this instanceof le))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Re=es.getInstance(),at=new jt($e,Re,this);ii.set(this,at)};["observe","unobserve","disconnect"].forEach(function(le){ai.prototype[le]=function(){var $e;return($e=ii.get(this))[le].apply($e,arguments)}});const mi=void 0!==Ln.ResizeObserver?Ln.ResizeObserver:ai;function yi(le,$e){if(1&le&&(f.TgZ(0,"div",3),f._UZ(1,"div",4),f._UZ(2,"div",5),f._UZ(3,"div",6),f._UZ(4,"div",7),f.qZA()),2&le){const Re=f.oxw();f.ekj("ps-at-top",Re.states.top)("ps-at-left",Re.states.left)("ps-at-right",Re.states.right)("ps-at-bottom",Re.states.bottom),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorY&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorX&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorX&&Re.interaction),f.xp6(1),f.ekj("ps-indicator-show",Re.indicatorY&&Re.interaction)}}const xi=["*"],xe=new f.OlP("PERFECT_SCROLLBAR_CONFIG");class Ee{constructor($e,Re,at,kt){this.x=$e,this.y=Re,this.w=at,this.h=kt}}class ye{constructor($e,Re){this.x=$e,this.y=Re}}const st=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Bt{constructor($e={}){this.assign($e)}assign($e={}){for(const Re in $e)this[Re]=$e[Re]}}let ci=(()=>{class le{constructor(Re,at,kt,Yt,ni){this.zone=Re,this.differs=at,this.elementRef=kt,this.platformId=Yt,this.defaults=ni,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new bi.xQ,this.disabled=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){if(!this.disabled&&(0,$.NF)(this.platformId)){const Re=new Bt(this.defaults);Re.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Jn(this.elementRef.nativeElement,Re)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new mi(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{st.forEach(at=>{const kt=at.replace(/([A-Z])/g,Yt=>`-${Yt.toLowerCase()}`);(0,Li.R)(this.elementRef.nativeElement,kt).pipe((0,Ni.e)(20),(0,Hi.R)(this.ngDestroy)).subscribe(Yt=>{this[at].emit(Yt)})})})}}ngOnDestroy(){(0,$.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,$.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Re){Re.disabled&&!Re.disabled.isFirstChange()&&(0,$.NF)(this.platformId)&&Re.disabled.currentValue!==Re.disabled.previousValue&&(!0===Re.disabled.currentValue?this.ngOnDestroy():!1===Re.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(Re){}},0))}geometry(Re="scroll"){return new Ee(this.elementRef.nativeElement[Re+"Left"],this.elementRef.nativeElement[Re+"Top"],this.elementRef.nativeElement[Re+"Width"],this.elementRef.nativeElement[Re+"Height"])}position(Re=!1){return!Re&&this.instance?new ye(this.instance.reach.x||0,this.instance.reach.y||0):new ye(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Re="any"){const at=this.elementRef.nativeElement;return"any"===Re?at.classList.contains("ps--active-x")||at.classList.contains("ps--active-y"):"both"===Re?at.classList.contains("ps--active-x")&&at.classList.contains("ps--active-y"):at.classList.contains("ps--active-"+Re)}scrollTo(Re,at,kt){this.disabled||(null==at&&null==kt?this.animateScrolling("scrollTop",Re,kt):(null!=Re&&this.animateScrolling("scrollLeft",Re,kt),null!=at&&this.animateScrolling("scrollTop",at,kt)))}scrollToX(Re,at){this.animateScrolling("scrollLeft",Re,at)}scrollToY(Re,at){this.animateScrolling("scrollTop",Re,at)}scrollToTop(Re,at){this.animateScrolling("scrollTop",Re||0,at)}scrollToLeft(Re,at){this.animateScrolling("scrollLeft",Re||0,at)}scrollToRight(Re,at){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Re||0),at)}scrollToBottom(Re,at){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Re||0),at)}scrollToElement(Re,at,kt){if("string"==typeof Re&&(Re=this.elementRef.nativeElement.querySelector(Re)),Re){const Yt=Re.getBoundingClientRect(),ni=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Yt.left-ni.left+this.elementRef.nativeElement.scrollLeft+(at||0),kt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Yt.top-ni.top+this.elementRef.nativeElement.scrollTop+(at||0),kt)}}animateScrolling(Re,at,kt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),kt&&"undefined"!=typeof window){if(at!==this.elementRef.nativeElement[Re]){let Yt=0,ni=0,ui=performance.now(),oi=this.elementRef.nativeElement[Re];const Di=(oi-at)/2,Zi=en=>{ni+=Math.PI/(kt/(en-ui)),Yt=Math.round(at+Di+Di*Math.cos(ni)),this.elementRef.nativeElement[Re]===oi&&(ni>=Math.PI?this.animateScrolling(Re,at,0):(this.elementRef.nativeElement[Re]=Yt,oi=this.elementRef.nativeElement[Re],ui=en,this.animation=window.requestAnimationFrame(Zi)))};window.requestAnimationFrame(Zi)}}else this.elementRef.nativeElement[Re]=at}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(f.R0b),f.Y36(f.aQg),f.Y36(f.SBq),f.Y36(f.Lbi),f.Y36(xe,8))},le.\u0275dir=f.lG2({type:le,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[f.TTD]}),le})(),Bi=(()=>{class le{constructor(Re,at,kt){this.zone=Re,this.cdRef=at,this.platformId=kt,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new bi.xQ,this.stateUpdate=new bi.xQ,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.vpe,this.psScrollX=new f.vpe,this.psScrollUp=new f.vpe,this.psScrollDown=new f.vpe,this.psScrollLeft=new f.vpe,this.psScrollRight=new f.vpe,this.psYReachEnd=new f.vpe,this.psYReachStart=new f.vpe,this.psXReachEnd=new f.vpe,this.psXReachStart=new f.vpe}ngOnInit(){(0,$.NF)(this.platformId)&&(this.stateUpdate.pipe((0,Hi.R)(this.ngDestroy),(0,pn.x)((Re,at)=>Re===at&&!this.stateTimeout)).subscribe(Re=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Re||"y"===Re?(this.interaction=!1,"x"===Re?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Re&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Re||"right"===Re?(this.states.left=!1,this.states.right=!1,this.states[Re]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Re||"bottom"===Re)&&(this.states.top=!1,this.states.bottom=!1,this.states[Re]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const Re=this.directiveRef.elementRef.nativeElement;(0,Li.R)(Re,"wheel").pipe((0,Hi.R)(this.ngDestroy)).subscribe(at=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(at,at.deltaX,at.deltaY)}),(0,Li.R)(Re,"touchmove").pipe((0,Hi.R)(this.ngDestroy)).subscribe(at=>{if(!this.disabled&&this.autoPropagation){const kt=at.touches[0].clientX,Yt=at.touches[0].clientY;this.checkPropagation(at,kt-this.scrollPositionX,Yt-this.scrollPositionY),this.scrollPositionX=kt,this.scrollPositionY=Yt}}),(0,Ji.T)((0,Li.R)(Re,"ps-scroll-x").pipe((0,Pi.h)("x")),(0,Li.R)(Re,"ps-scroll-y").pipe((0,Pi.h)("y")),(0,Li.R)(Re,"ps-x-reach-end").pipe((0,Pi.h)("right")),(0,Li.R)(Re,"ps-y-reach-end").pipe((0,Pi.h)("bottom")),(0,Li.R)(Re,"ps-x-reach-start").pipe((0,Pi.h)("left")),(0,Li.R)(Re,"ps-y-reach-start").pipe((0,Pi.h)("top"))).pipe((0,Hi.R)(this.ngDestroy)).subscribe(at=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(at)})}}),window.setTimeout(()=>{st.forEach(Re=>{this.directiveRef&&(this.directiveRef[Re]=this[Re])})},0))}ngOnDestroy(){(0,$.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,$.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Re=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Re.classList.contains("ps--active-x"),this.usePropagationY=Re.classList.contains("ps--active-y")}}checkPropagation(Re,at,kt){this.interaction=!0;const Yt=at<0?-1:1,ni=kt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Yt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==ni))&&(Re.preventDefault(),Re.stopPropagation()),at&&(this.scrollDirectionX=Yt),kt&&(this.scrollDirectionY=ni),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(f.R0b),f.Y36(f.sBO),f.Y36(f.Lbi))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perfect-scrollbar"]],viewQuery:function(Re,at){if(1&Re&&f.Gf(ci,7),2&Re){let kt;f.iGM(kt=f.CRH())&&(at.directiveRef=kt.first)}},hostVars:4,hostBindings:function(Re,at){2&Re&&f.ekj("ps-show-limits",at.autoPropagation)("ps-show-active",at.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:xi,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Re,at){1&Re&&(f.F$t(),f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.Hsn(2),f.qZA(),f.YNc(3,yi,5,16,"div",2),f.qZA()),2&Re&&(f.ekj("ps",at.usePSClass),f.Q6J("perfectScrollbar",at.config)("disabled",at.disabled),f.xp6(3),f.Q6J("ngIf",at.scrollIndicators))},directives:[ci,$.O5],styles:["perfect-scrollbar{display:block;height:100%;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-height:0;min-width:0}perfect-scrollbar[fxflex]>.ps{-webkit-box-flex:1;flex:1 1 auto;height:auto;min-height:0;min-width:0;width:auto}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit;align-content:inherit;align-items:inherit;display:flex;flex:1 1 auto;flex-direction:inherit;height:100%;justify-content:inherit;width:100%},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{display:block;height:100%;max-height:100%;max-width:100%;position:static;width:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{bottom:0;display:block;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{opacity:0;position:absolute;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-height:24px;min-width:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{min-height:100%;min-width:24px;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{cursor:default;left:auto!important;right:0!important;top:0!important;transition:width .2s linear,opacity .2s linear,background-color .2s linear;width:10px}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{bottom:0!important;cursor:default;height:10px;left:0!important;top:auto!important;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{background-color:#eee;opacity:.9}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{-ms-overflow-style:none;-ms-touch-action:auto;overflow:hidden!important;overflow-anchor:none;touch-action:auto}.ps__rail-x{bottom:0;height:15px}.ps__rail-x,.ps__rail-y{-webkit-transition:background-color .2s linear,opacity .2s linear;display:none;opacity:0;position:absolute;transition:background-color .2s linear,opacity .2s linear}.ps__rail-y{right:0;width:15px}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{background-color:transparent;display:block}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{-webkit-transition:background-color .2s linear,height .2s ease-in-out;bottom:2px;height:6px;transition:background-color .2s linear,height .2s ease-in-out}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{-webkit-transition:background-color .2s linear,width .2s ease-in-out;right:2px;transition:background-color .2s linear,width .2s ease-in-out;width:6px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}"],encapsulation:2}),le})(),On=(()=>{class le{}return le.\u0275fac=function(Re){return new(Re||le)},le.\u0275mod=f.oAB({type:le}),le.\u0275inj=f.cJS({imports:[[$.ez],$.ez]}),le})();var Kn=d(86114),zn=d(36769),Ws=d(22465);function ti(le,$e){if(1&le){const Re=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"perun-web-apps-notification",2),f.NdJ("closeNotification",function(){const Yt=f.CHM(Re).index;return f.oxw().removeNotification(Yt)}),f.qZA(),f.qZA()}if(2&le){const Re=$e.$implicit;f.Q6J("@flyInOut",void 0),f.xp6(1),f.Q6J("data",Re)("newNotification",!0)}}const si=function(le){return{top:le}};let vi=(()=>{class le{constructor(Re,at){this.notificator=Re,this.notificationStorageService=at,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(kt=>{this.processNotification(kt)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(Re){this.notifications.push(Re),this.notificationStorageService.storeNotification(Re)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(Re){this.notifications.splice(Re,1)}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.V6),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["perun-web-apps-notificator"]],hostBindings:function(Re,at){1&Re&&f.NdJ("resize",function(Yt){return at.getScreenSize(Yt)},!1,f.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.YNc(1,ti,2,3,"div",1),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.VKq(2,si,at.getNotificatorTop())),f.xp6(1),f.Q6J("ngForOf",at.notifications))},directives:[$.PC,$.sg,Ws.c],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[zn.Pd]}}),le})();var gi=d(53435);function Fi(le,$e){if(1&le&&(f.TgZ(0,"div",9),f._UZ(1,"perun-web-apps-notification",10),f.qZA()),2&le){const Re=$e.$implicit;f.xp6(1),f.Q6J("data",Re)("inDialog",!0)}}function un(le,$e){if(1&le&&(f.TgZ(0,"div",6),f.TgZ(1,"cdk-virtual-scroll-viewport",7),f.YNc(2,Fi,2,2,"div",8),f.qZA(),f.qZA()),2&le){const Re=f.oxw();f.xp6(2),f.Q6J("cdkVirtualForOf",Re.notifications)}}function An(le,$e){1&le&&(f.TgZ(0,"app-alert",11),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&le&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let Dn=(()=>{class le{constructor(Re,at){this.dialogRef=Re,this.notificationStorageService=at}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(h.so),f.Y36(A.SZ))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-show-notification-history-dialog"]],decls:12,vars:11,consts:[["mat-dialog-title",""],["class","hide-horizontal-scrollbar",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"hide-horizontal-scrollbar"],["itemSize","50",1,"viewport"],["class","mb-1",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"mb-1"],[3,"data","inDialog"],["alert_type","warn"]],template:function(Re,at){1&Re&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.YNc(3,un,3,1,"div",1),f.YNc(4,An,3,3,"app-alert",2),f.TgZ(5,"div",3),f.TgZ(6,"button",4),f.NdJ("click",function(){return at.onClear()}),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.TgZ(9,"button",5),f.NdJ("click",function(){return at.onCancel()}),f._uU(10),f.ALo(11,"translate"),f.qZA(),f.qZA()),2&Re&&(f.xp6(1),f.Oqu(f.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),f.xp6(2),f.Q6J("ngIf",0!==at.notifications.length),f.xp6(1),f.Q6J("ngIf",0===at.notifications.length),f.xp6(3),f.hij(" ",f.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),f.xp6(3),f.hij(" ",f.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[h.uh,$.O5,gi.N7,gi.xd,gi.x0,Ws.c,de.w,h.H8,ce.lW],pipes:[E.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),le})();var Vn=d(27544),dn=d(52314);function io(le,$e){1&le&&(f.TgZ(0,"div",10),f.TgZ(1,"span",11),f._uU(2," ~ \u{1f5f2}\xa0 "),f.qZA(),f.TgZ(3,"span",12),f._uU(4," DEVEL "),f.qZA(),f.TgZ(5,"span",11),f._uU(6," \xa0\u{1f5f2} ~ "),f.qZA(),f.qZA())}const rs=function(le){return{color:le}},yn=function(){return["/home"]};let hn=(()=>{class le{constructor(Re,at,kt,Yt,ni,ui,oi,Di,Zi,en){this.storeService=Re,this.authService=at,this.authzResolverService=kt,this.dialog=Yt,this.notificator=ni,this.translateService=ui,this.store=oi,this.sanitizer=Di,this.notificationStorageService=Zi,this.otherApplicationService=en,this.logoutEnabled=!0,this.navTextColor=this.store.get("theme","nav_text_color"),this.iconColor=this.store.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.store.get("logo")),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.profileLabel=this.storeService.get("profile_label_en"),this.profileUrl=this.otherApplicationService.getUrlForOtherApplication("profile")}showNotificationHistory(){this.notificationStorageService.newNotificationsCount=0;const Re=(0,s.kZ)();Re.width="520px",this.dialog.open(Dn,Re)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return le.\u0275fac=function(Re){return new(Re||le)(f.Y36(A.d6),f.Y36(A.e8),f.Y36(m.Ct),f.Y36(h.uw),f.Y36(A.V6),f.Y36(E.sK),f.Y36(A.d6),f.Y36(e.H7),f.Y36(A.SZ),f.Y36(A.jq))},le.\u0275cmp=f.Xpm({type:le,selectors:[["app-perun-nav-menu"]],inputs:{sideNav:"sideNav",principal:"principal"},decls:13,vars:28,consts:[["id","nav-menu-icons",3,"ngStyle"],["mat-icon-button","",1,"mr-2","mt-auto","mb-auto",3,"click"],[3,"ngStyle"],["queryParamsHandling","merge",1,"mt-auto","mb-auto",3,"routerLink"],[1,"logo-container",3,"innerHTML"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-icon-button","",3,"matTooltip","click"],["matBadgeColor","warn",3,"ngStyle","matBadge","matBadgeHidden"],[3,"url","label","user","logoutEnabled","iconColor","textColor"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(Re,at){1&Re&&(f.TgZ(0,"div",0),f.TgZ(1,"button",1),f.NdJ("click",function(){return at.sideNav.toggle()}),f.TgZ(2,"mat-icon",2),f._uU(3," menu "),f.qZA(),f.qZA(),f.TgZ(4,"a",3),f._UZ(5,"div",4),f.qZA(),f.qZA(),f.YNc(6,io,7,0,"div",5),f.TgZ(7,"div",6),f.TgZ(8,"button",7),f.NdJ("click",function(){return at.showNotificationHistory()}),f.ALo(9,"translate"),f.TgZ(10,"mat-icon",8),f._uU(11),f.qZA(),f.qZA(),f._UZ(12,"perun-web-apps-header-menu",9),f.qZA()),2&Re&&(f.Q6J("ngStyle",f.VKq(19,rs,at.navTextColor)),f.xp6(2),f.Q6J("ngStyle",f.VKq(21,rs,at.iconColor)),f.xp6(2),f.Q6J("routerLink",f.DdM(23,yn)),f.xp6(1),f.Q6J("innerHTML",at.logo,f.oJD),f.xp6(1),f.Q6J("ngIf",at.isDevel),f.xp6(1),f.Q6J("ngStyle",f.VKq(24,rs,at.navTextColor)),f.xp6(1),f.Q6J("matTooltip",f.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),f.xp6(2),f.s9C("matBadge",at.getNewNotificationsCount()>5?"5+":at.getNewNotificationsCount()),f.Q6J("ngStyle",f.VKq(26,rs,at.iconColor))("matBadgeHidden",0===at.getNewNotificationsCount()),f.xp6(1),f.hij(" ",at.getNewNotificationsCount()?"notifications_active":"notifications"," "),f.xp6(1),f.Q6J("url",at.profileUrl)("label",at.profileLabel)("user",at.principal.user)("logoutEnabled",at.logoutEnabled)("iconColor",at.iconColor)("textColor",at.navTextColor))},directives:[$.PC,ce.lW,ue.Hw,g.yS,$.O5,j.gM,Vn.k,dn.X],pipes:[E.X$],styles:["#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{margin-left:8px;display:flex;flex-direction:row;width:200px}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-link-items[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}#nav-link-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 1rem;line-height:64px;text-align:center;height:64px;display:block}"]}),le})();var Tn=d(73228);const as={provide:Ue.TP,useExisting:(0,f.Gpc)(()=>A.yC),multi:!0};function cs(le){return new _e(le,"./assets/i18n/",".json")}function ls(le){const $e={basePath:le.get("api_url")};return new m.VK($e)}const Kr=le=>()=>le.initialize(),ao={suppressScrollX:!0};let yo=(()=>{class le{constructor(Re,at){this.customIconService=Re,this.translate=at,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return le.\u0275fac=function(Re){return new(Re||le)(f.LFG(A.EB),f.LFG(E.sK))},le.\u0275mod=f.oAB({type:le,bootstrap:[G.y]}),le.\u0275inj=f.cJS({providers:[Qt,{provide:f.ip1,useFactory:Kr,multi:!0,deps:[Qt]},{provide:m.VK,useFactory:ls,deps:[A.d6]},{provide:g.wN,useClass:Ze},A.EB,{provide:gt,useClass:A.sM},A.yC,as,{provide:xe,useValue:ao}],imports:[[wt.PW,e.b2,Ue.JF,X.m,Ut,Z,ue.Ps,Ri,E.aw.forRoot({loader:{provide:E.Zw,useFactory:cs,deps:[Ue.eN]}}),m.au,On,M.ez,pt,Kn.zr.forRoot()]]}),le})();f.B6R(G.y,[$.O5,ue.Hw,vi,hn,$.PC,k.TM,k.JX,Bi,Tn.V,k.Rh,g.lC,It.$,Rt],[]),(0,f.G48)(),e.q6().bootstrapModule(yo).catch(le=>console.error(le))},11243:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class T{}return T.\u0275fac=function(A){return new(A||T)},T.\u0275mod=f.oAB({type:T}),T.\u0275inj=f.cJS({imports:[[e.ez]]}),T})()},6335:(Ke,be,d)=>{"use strict";d.d(be,{Rc:()=>f,pI:()=>g,Ng:()=>T});var e=d(5e3);const f="GUI_CONFIG.PREF_PAGE_SIZE",g="GUI_CONFIG.PREF_PAGE_SIZE.";let T=(()=>{class m{constructor(){}getString(s){return localStorage.getItem(s)}getNumber(s){return parseInt(localStorage.getItem(s),10)}setNumber(s,b){localStorage.setItem(s,b.toString())}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},10036:(Ke,be,d)=>{"use strict";d.d(be,{dB:()=>g,CP:()=>T,tw:()=>m,nT:()=>A,YF:()=>s,gc:()=>b,v1:()=>O,AA:()=>E,VR:()=>h,uM:()=>k,xx:()=>L,H2:()=>V,xt:()=>$,dI:()=>ue,j1:()=>ce,Wv:()=>Le,qy:()=>de,BV:()=>ke,qV:()=>ae,tY:()=>j,Af:()=>H,O7:()=>Q,gB:()=>te,Hi:()=>se,Jf:()=>ge,W1:()=>Ne,rF:()=>Fe,Aj:()=>ne,Ad:()=>Me,kZ:()=>ve,cL:()=>me,RS:()=>Te,HC:()=>ee,KE:()=>R,Sb:()=>Oe,_7:()=>Ie,bf:()=>He,rc:()=>fe,Cf:()=>Ce,eq:()=>N,NG:()=>he,O9:()=>D,d7:()=>S,vq:()=>I,NL:()=>P,kO:()=>i,aL:()=>r,DR:()=>p,uC:()=>o,JO:()=>t,oK:()=>n,Iz:()=>c,It:()=>u,z6:()=>y,iQ:()=>M,e5:()=>re,Bf:()=>et,zp:()=>Nt,US:()=>It,gG:()=>Zt,$V:()=>mt,S7:()=>Ht,zW:()=>Lt,CE:()=>Rt,Is:()=>qe,M8:()=>Z,g:()=>G,_c:()=>X,dK:()=>_e,yW:()=>Ue});var e=d(6335),f=d(5e3);let g=(()=>{class wt{constructor(Vt){this.guiConfigService=Vt}getTablePageSize(Vt){const Dt=this.guiConfigService.getNumber(e.pI+Vt);if(!isNaN(Dt))return Dt;const Et=this.guiConfigService.getNumber(e.Rc);return isNaN(Et)?10:Et}setTablePageSize(Vt,Dt){this.guiConfigService.setNumber(e.pI+Vt,Dt)}}return wt.\u0275fac=function(Vt){return new(Vt||wt)(f.LFG(e.Ng))},wt.\u0275prov=f.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})();const T="0",m="1",A="2",s="3",b="4",O="5",E="6",h="7",k="8",L="9",V="10",$="11",ue="12",ce="13",Le="14",de="15",ke="16",ae="17",j="18",H="19",Q="20",te="21",se="22",ge="23",Ne="24",Fe="25",ne="26",Me="27",ve="28",me="29",Te="30",ee="31",R="32",Oe="33",Ie="34",He="35",fe="36",Ce="37",N="42",he="43",D="44",S="45",I="46",P="47",i="48",r="49",p="50",o="51",t="52",n="53",c="54",u="55",y="56",M="57",re="58",et="59",Nt="62",It="63",Zt="64",mt="65",Ht="66",Lt="69",Rt="71",qe="72",Z="75",G="76",X="77",_e="78",Ue="79"},36769:(Ke,be,d)=>{"use strict";d.d(be,{Ji:()=>m,Pd:()=>g,BQ:()=>f,Ly:()=>T,GH:()=>b,Ls:()=>O,SG:()=>s,es:()=>A});var e=d(41777);const f=(0,e.X$)("openClose",[(0,e.SB)("open",(0,e.oB)({overflow:"hidden"})),(0,e.SB)("closed",(0,e.oB)({height:"0px",overflow:"hidden"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),g=(0,e.X$)("flyInOut",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".5s",(0,e.oB)({transform:"translateX(100%)"}))])]),T=(0,e.X$)("rollInOut",[(0,e.eR)(":enter",[(0,e.oB)({height:"0px"}),(0,e.jt)(".25s")]),(0,e.eR)(":leave",[(0,e.jt)(".25s",(0,e.oB)({height:"0px"}))])]),m=(0,e.X$)("routeAnimations",[(0,e.eR)("* => *",[(0,e.oB)({position:"relative"}),(0,e.IO)(":enter",[(0,e.oB)({width:"100%",opacity:0})],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({position:"absolute",width:"100%",opacity:1}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),(0,e.IO)(":enter",[(0,e.oB)({position:"absolute",width:"100%",opacity:0}),(0,e.jt)("0.15s",(0,e.oB)({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),A=(0,e.X$)("tagsOpenClose",[(0,e.SB)("open",(0,e.oB)({})),(0,e.SB)("closed",(0,e.oB)({width:"0px",height:"0px"})),(0,e.eR)("open <=> closed",[(0,e.jt)(".3s ease-in")])]),s=(0,e.X$)("switchAnimations",[(0,e.eR)("true => false",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(-100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(100%)"}))],{optional:!0})])]),(0,e.eR)("false => true",[(0,e.IO)(":enter, :leave",(0,e.oB)({})),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)",position:"absolute"}),(0,e.jt)("1s ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])]),b=(0,e.X$)("slideInOutLeft",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(-100%)"}))])]),O=(0,e.X$)("slideInOutRight",[(0,e.eR)(":enter",[(0,e.oB)({transform:"translateX(100%)",position:"fixed"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(0%)"}))]),(0,e.eR)(":leave",[(0,e.oB)({transform:"translateX(-100%)",position:"relative"}),(0,e.jt)("0.5s ease-in",(0,e.oB)({transform:"translateX(100%)"}))])])},387:(Ke,be,d)=>{"use strict";d.d(be,{Mw:()=>ee.M,qG:()=>It.qG,Sx:()=>pt.S,y9:()=>Zt,Nj:()=>u,ez:()=>me,t$:()=>y});var e=d(69808),f=d(77446),g=d(32075),T=d(51062),m=d(30325),A=d(84847),s=d(86087),b=d(20773),O=d(63189),E=d(25245),h=d(92181),k=d(47423),L=d(29772),V=d(67322),$=d(93075),ue=d(98833),ce=d(26688),Le=d(44409),de=d(90508),ke=d(19516),ae=d(69287),j=d(90149),H=d(86856),Q=d(79814),te=d(74107),se=d(43586),ge=d(53435),Ne=d(48966),Fe=d(9244),ne=d(5e3);let Me=(()=>{class mt extends de.LF{format(_t,Je){return"input"===Je?`${_t.getDate().toString()}.${(_t.getMonth()+1).toString()}.${_t.getFullYear()}`:_t.toDateString()}}return mt.\u0275fac=function(){let Ht;return function(Je){return(Ht||(Ht=ne.n5z(mt)))(Je||mt)}}(),mt.\u0275prov=ne.Yz7({token:mt,factory:mt.\u0275fac}),mt})();const ve={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let me=(()=>{class mt{}return mt.\u0275fac=function(_t){return new(_t||mt)},mt.\u0275mod=ne.oAB({type:mt}),mt.\u0275inj=ne.cJS({providers:[{provide:de._A,useClass:Me},{provide:de.sG,useValue:ve}],imports:[[e.ez,f.p9,g.p0,$.u5,ce.Hi,Le._t,T.aw,m.Bz,A.JX,s.TU,b.Cq,O.r,E.Ps,h.Tx,k.ot,L.AV,V.lN,$.UX,ue.c,de.si,ke.d4,ae.Iq,j.dp,H.FA,Q.Fk,de.Ng,te.LD,se.Co,ge.Cl,Ne.Is,Fe.Je]]}),mt})();d(53984);var ee=d(43532),Xe=(d(38719),d(21963),d(28820),d(63167),d(62109),d(22465),d(80275),d(9315)),tt=d(36908),rt=d(84379),N=d(98380),he=d(34447);function D(mt,Ht){1&mt&&(ne.TgZ(0,"app-alert"),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA()),2&mt&&(ne.xp6(1),ne.Oqu(ne.lcZ(2,1,ne.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function S(mt,Ht){1&mt&&(ne.TgZ(0,"th",16),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA()),2&mt&&(ne.xp6(1),ne.hij(" ",ne.lcZ(2,1,ne.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function I(mt,Ht){if(1&mt&&(ne.TgZ(0,"td",17),ne._uU(1),ne.qZA()),2&mt){const _t=Ht.$implicit;ne.xp6(1),ne.Oqu(_t.friendlyNameParameter)}}function P(mt,Ht){1&mt&&(ne.TgZ(0,"th",16),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA()),2&mt&&(ne.xp6(1),ne.hij(" ",ne.lcZ(2,1,ne.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function i(mt,Ht){if(1&mt&&(ne.TgZ(0,"td",18),ne._uU(1),ne.qZA()),2&mt){const _t=Ht.$implicit;ne.xp6(1),ne.Oqu(_t.value)}}function r(mt,Ht){1&mt&&ne._UZ(0,"th",16)}function p(mt,Ht){if(1&mt){const _t=ne.EpF();ne.TgZ(0,"td",19),ne.TgZ(1,"button",20),ne.NdJ("click",function(){const ht=ne.CHM(_t).$implicit;return ne.oxw().resetPassword(ht.friendlyNameParameter)}),ne._uU(2),ne.ALo(3,"translate"),ne.ALo(4,"customTranslate"),ne.qZA(),ne.qZA()}if(2&mt){const _t=Ht.$implicit,Je=ne.oxw();ne.xp6(1),ne.Q6J("disabled",!Je.logins.includes(_t)),ne.xp6(1),ne.hij(" ",ne.lcZ(3,2,ne.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function o(mt,Ht){1&mt&&ne._UZ(0,"th",16)}function t(mt,Ht){if(1&mt){const _t=ne.EpF();ne.TgZ(0,"td",19),ne.TgZ(1,"button",21),ne.NdJ("click",function(){const ht=ne.CHM(_t).$implicit;return ne.oxw().changePassword(ht)}),ne._uU(2),ne.ALo(3,"translate"),ne.ALo(4,"customTranslate"),ne.qZA(),ne.qZA()}if(2&mt){const _t=Ht.$implicit,Je=ne.oxw();ne.xp6(1),ne.Q6J("disabled",!Je.logins.includes(_t)),ne.xp6(1),ne.hij(" ",ne.lcZ(3,2,ne.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function n(mt,Ht){1&mt&&ne._UZ(0,"tr",22)}function c(mt,Ht){1&mt&&ne._UZ(0,"tr",23)}let u=(()=>{class mt{constructor(_t,Je,Lt,ht,Rt,qe){this.attributesManagerService=_t,this.store=Je,this.dialog=Lt,this.route=ht,this.router=Rt,this.otherApplicationService=qe,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(_t=>{const Je=this.nameSpaces.map(Rt=>{const qe=Rt.split(":");return qe[qe.length-1]});this.logins=_t.filter(Rt=>Je.includes(Rt.friendlyNameParameter)),this.dataSource=new g.by(_t);const ht=this.route.snapshot.queryParamMap.get("namespace");if(ht){const Rt=this.logins.find(qe=>qe.friendlyNameParameter===ht);Rt&&this.changePassword(Rt)}})}resetPassword(_t){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",_t),"_blank")}changePassword(_t){this.router.navigate([],{queryParams:{namespace:_t.friendlyNameParameter},queryParamsHandling:"merge"});const Je=(0,Fe.kZ)();Je.width="600px",Je.data={login:_t.value,namespace:_t.friendlyName.split(":")[1]},this.dialog.open(rt.xF,Je).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return mt.\u0275fac=function(_t){return new(_t||mt)(ne.Y36(Xe.H8),ne.Y36(tt.d6),ne.Y36(Ne.uw),ne.Y36(m.gz),ne.Y36(m.F0),ne.Y36(tt.jq))},mt.\u0275cmp=ne.Xpm({type:mt,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(_t,Je){1&_t&&(ne.TgZ(0,"h1",0),ne._uU(1),ne.ALo(2,"translate"),ne.ALo(3,"customTranslate"),ne.qZA(),ne.YNc(4,D,4,5,"app-alert",1),ne.TgZ(5,"div",2),ne.TgZ(6,"div",3),ne.TgZ(7,"div",4),ne.TgZ(8,"table",5),ne.ynx(9,6),ne.YNc(10,S,4,5,"th",7),ne.YNc(11,I,2,1,"td",8),ne.BQk(),ne.ynx(12,9),ne.YNc(13,P,4,5,"th",7),ne.YNc(14,i,2,1,"td",10),ne.BQk(),ne.ynx(15,11),ne.YNc(16,r,1,0,"th",7),ne.YNc(17,p,5,6,"td",12),ne.BQk(),ne.ynx(18,13),ne.YNc(19,o,1,0,"th",7),ne.YNc(20,t,5,6,"td",12),ne.BQk(),ne.YNc(21,n,1,0,"tr",14),ne.YNc(22,c,1,0,"tr",15),ne.qZA(),ne.qZA(),ne.qZA(),ne.qZA()),2&_t&&(ne.xp6(1),ne.hij(" ",ne.lcZ(2,5,ne.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),ne.xp6(3),ne.Q6J("ngIf",!Je.logins.length),ne.xp6(4),ne.Q6J("dataSource",Je.dataSource),ne.xp6(13),ne.Q6J("matHeaderRowDef",Je.displayedColumns),ne.xp6(1),ne.Q6J("matRowDefColumns",Je.displayedColumns))},directives:[e.O5,N.w,g.BZ,A.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,k.lW,g.as,g.XQ,g.nj,g.Gk],pipes:[T.X$,he.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),mt})(),y=(()=>{class mt{constructor(_t,Je,Lt,ht){this.router=_t,this.route=Je,this.location=Lt,this.forceRoute=ht}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(_t=>{this.router.navigate([_t.redirectTo])}):this.location.back()}}return mt.\u0275fac=function(_t){return new(_t||mt)(ne.Y36(m.F0),ne.Y36(m.gz),ne.Y36(e.Ye),ne.Y36(tt.xw))},mt.\u0275cmp=ne.Xpm({type:mt,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(_t,Je){},styles:[""]}),mt})();d(24179),d(58956),d(41619),d(61150);var pt=d(63312),It=(d(52314),d(52170));let Zt=(()=>{class mt{constructor(_t){this.router=_t}redirectToHome(){this.router.navigate(["/home"],{queryParamsHandling:"merge"})}}return mt.\u0275fac=function(_t){return new(_t||mt)(ne.Y36(m.F0))},mt.\u0275cmp=ne.Xpm({type:mt,selectors:[["perun-web-apps-not-authorized-page"]],decls:10,vars:9,consts:[[1,"container-fluid","pl-xl-5","pr-xl-5"],[1,"page-title"],["mat-stroked-button","",1,"mt-2",3,"click"]],template:function(_t,Je){1&_t&&(ne.TgZ(0,"div",0),ne.TgZ(1,"h1",1),ne._uU(2),ne.ALo(3,"translate"),ne.qZA(),ne.TgZ(4,"div"),ne._uU(5),ne.ALo(6,"translate"),ne.qZA(),ne.TgZ(7,"button",2),ne.NdJ("click",function(){return Je.redirectToHome()}),ne._uU(8),ne.ALo(9,"translate"),ne.qZA(),ne.qZA()),2&_t&&(ne.xp6(2),ne.Oqu(ne.lcZ(3,3,"GENERAL.NOT_AUTHORIZED_PAGE.TITLE")),ne.xp6(3),ne.Oqu(ne.lcZ(6,5,"GENERAL.NOT_AUTHORIZED_PAGE.DESC")),ne.xp6(3),ne.hij(" ",ne.lcZ(9,7,"GENERAL.NOT_AUTHORIZED_PAGE.REDIRECT")," "))},directives:[k.lW],pipes:[T.X$],styles:[""]}),mt})()},63312:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>m,Y:()=>A});var e=d(5e3),g=(d(9315),d(51062)),T=d(42377);const m={};let A=(()=>{class s{constructor(O){this.translate=O,this.item=null,this.itemSelected=new e.vpe,this.nameFunction=E=>E===m?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):E.shortname,this.secondaryFunction=E=>E===m?"":E.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+E.id,this.searchFunction=E=>E===m?"":E.shortname+E.id}}return s.\u0275fac=function(O){return new(O||s)(e.Y36(g.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-app-form-item-search-select"]],inputs:{items:"items",item:"item"},outputs:{itemSelected:"itemSelected"},decls:4,vars:15,consts:[[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","entity","disableAutoSelect","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(O,E){1&O&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(k){return E.itemSelected.emit(k)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&O&&e.Q6J("entities",E.items)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.secondaryFunction)("entity",E.item)("disableAutoSelect",!0)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[T.i],pipes:[g.X$],styles:[""]}),s})()},38719:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>E});var e=d(5e3),f=d(9244),g=d(69808),T=d(77446),m=d(93075),A=d(67322),s=d(64597);function b(h,k){if(1&h){const L=e.EpF();e.TgZ(0,"mat-checkbox",2),e.NdJ("change",function(){return e.CHM(L),e.oxw()._sendEventToParent()})("ngModelChange",function($){return e.CHM(L),e.oxw().attribute.value=$}),e.ALo(1,"multiWordDataCy"),e.qZA()}if(2&h){const L=e.oxw();e.Q2q("data-cy","",e.lcZ(1,2,L.attribute.displayName),"-value"),e.Q6J("ngModel",L.attribute.value)}}function O(h,k){if(1&h&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&h){const L=e.oxw();e.xp6(1),e.Oqu(L.attribute.value)}}let E=(()=>{class h{constructor(){this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(L,V){1&L&&(e.TgZ(0,"div"),e.YNc(1,b,2,4,"mat-checkbox",0),e.YNc(2,O,2,1,"mat-label",1),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",!V.readonly),e.xp6(1),e.Q6J("ngIf",V.readonly))},directives:[g.O5,T.oG,m.JJ,m.On,A.hX],pipes:[s.R],styles:[""]}),h})()},21963:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>j});var e=d(5e3),f=d(91159),g=d(44409),T=d(84379),m=d(9244),A=d(48966),s=d(26688),b=d(69808),O=d(25245),E=d(29772),h=d(47423),k=d(67322),L=d(98833);function V(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-icon",9),e.NdJ("mousedown",function(){return e.CHM(te),e.oxw(2).dragDisabled=!1}),e._uU(1,"drag_indicator"),e.qZA()}}function $(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-icon",10),e.NdJ("click",function(){e.CHM(te);const ge=e.oxw().$implicit;return e.oxw().edit(ge)}),e._uU(1,"edit"),e.qZA()}}function ue(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-icon",11),e.NdJ("click",function(){e.CHM(te);const ge=e.oxw().$implicit;return e.oxw().remove(ge)}),e._uU(1,"cancel"),e.qZA()}}function ce(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-chip",4),e.NdJ("removed",function(){const Ne=e.CHM(te).$implicit,Fe=e.oxw();return Fe.remove(Ne),Fe._sendEventToParent()}),e.YNc(1,V,2,0,"mat-icon",5),e.TgZ(2,"div",6),e.NdJ("click",function(){const Ne=e.CHM(te).$implicit,Fe=e.oxw();return Fe.readonly&&void 0!==Fe.attribute.displayName&&Fe.showValue(Ne,Fe.attribute.displayName)}),e._uU(3),e.qZA(),e.YNc(4,$,2,0,"mat-icon",7),e.YNc(5,ue,2,0,"mat-icon",8),e.qZA()}if(2&H){const te=Q.$implicit,se=e.oxw();e.Q6J("selectable",se.selectable)("cdkDragData",te)("removable",se.removable),e.xp6(1),e.Q6J("ngIf",se.removable),e.xp6(1),e.ekj("cursor-pointer",se.readonly&&void 0!==se.attribute.displayName),e.xp6(1),e.hij(" ",te," "),e.xp6(1),e.Q6J("ngIf",se.removable),e.xp6(1),e.Q6J("ngIf",se.removable)}}function Le(H,Q){1&H&&(e.TgZ(0,"mat-icon"),e._uU(1,"more_horiz"),e.qZA())}function de(H,Q){1&H&&(e.TgZ(0,"mat-icon"),e._uU(1,"keyboard_arrow_up"),e.qZA())}function ke(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"span",13),e.TgZ(2,"button",14),e.NdJ("click",function(){return e.CHM(te),e.oxw().onShowChange()}),e.YNc(3,Le,2,0,"mat-icon",15),e.YNc(4,de,2,0,"mat-icon",15),e.qZA(),e.qZA(),e.qZA()}if(2&H){const te=e.oxw();e.xp6(1),e.Q6J("matTooltip",te.showMore?"Show less":"Show more")("matTooltipPosition","above"),e.xp6(2),e.Q6J("ngIf",!te.showMore),e.xp6(1),e.Q6J("ngIf",te.showMore)}}function ae(H,Q){if(1&H){const te=e.EpF();e.TgZ(0,"mat-form-field",12),e.TgZ(1,"input",16),e.NdJ("matChipInputTokenEnd",function(ge){return e.CHM(te),e.oxw().add(ge)})("change",function(){return e.CHM(te),e.oxw()._sendEventToParent()}),e.qZA(),e.qZA()}if(2&H){const te=e.oxw(),se=e.MAs(2);e.xp6(1),e.Q6J("matChipInputFor",se)("matChipInputSeparatorKeyCodes",te.separatorKeysCodes)("matChipInputAddOnBlur",te.addOnBlur)}}let j=(()=>{class H{constructor(te){this.dialog=te,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[f.K5,f.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new e.vpe,this.readonly=!1}ngOnInit(){this.removable=!(0,m.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,m.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(te){const se=te.input,ge=te.value;(ge||"").trim()&&(this.attribute.value.push(ge.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),se&&(se.value=""),this.sendEventToParent.emit()}remove(te){const se=(0,m.kZ)();se.width="400px",se.data={name:te},this.dialog.open(T.Wr,se).afterClosed().subscribe(Ne=>{if(Ne){const Fe=this.attribute.value.indexOf(te);this.attribute.value.splice(Fe,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(te){this.dragDisabled=!0,(0,g.bA)(this.attribute.value,te.previousIndex,te.currentIndex),this.values=Object.values(this.attribute.value)}edit(te){const se=this.attribute.value.indexOf(te),ge=(0,m.kZ)();ge.width="600px",ge.data={attribute:this.attribute,index:se},this.dialog.open(T.r2,ge).afterClosed().subscribe(Fe=>{Fe&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(te,se){const ge=(0,m.kZ)();ge.width="350px",ge.data={value:te,title:se},this.dialog.open(T.mk,ge)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(A.uw))},H.\u0275cmp=e.Xpm({type:H,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(te,se){1&te&&(e.TgZ(0,"div"),e.TgZ(1,"mat-chip-list",0,1),e.NdJ("cdkDropListDropped",function(Ne){return se.drop(Ne),se._sendEventToParent()}),e.YNc(3,ce,6,9,"mat-chip",2),e.YNc(4,ke,5,4,"div",3),e.YNc(5,ae,2,3,"mat-form-field",3),e.qZA(),e.qZA()),2&te&&(e.xp6(1),e.Q6J("cdkDropListDisabled",se.dragDisabled),e.xp6(2),e.Q6J("ngForOf",se.values.slice(0,se.itemsShown)),e.xp6(1),e.Q6J("ngIf",se.values.length>se.defaultItemsShown),e.xp6(1),e.Q6J("ngIf",!se.readonly))},directives:[s.qn,g.Wj,b.sg,s.HS,g.Zt,b.O5,O.Hw,E.gM,h.lW,k.KE,L.Nt,s.oH],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),H})()},28820:(Ke,be,d)=>{"use strict";d.d(be,{$:()=>Le});var e=d(84379),f=d(9244),g=d(5e3),T=d(48966),m=d(93075),A=d(69808),s=d(67322),b=d(98833),O=d(47423),E=d(25245),h=d(29772);function k(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",15),g.NdJ("click",function(){g.CHM(ae);const H=g.oxw().index;return g.oxw().removeValue(H)}),g.TgZ(1,"mat-icon"),g._uU(2," indeterminate_check_box "),g.qZA(),g.qZA()}}function L(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"div",9),g.TgZ(1,"mat-form-field",10),g._UZ(2,"label",11),g.TgZ(3,"input",12),g.NdJ("click",function(){const Q=g.CHM(ae).index,te=g.oxw();return te.readonly&&te.attribute.displayName&&te.showValue(te.keys[Q],te.attribute.displayName)})("ngModelChange",function(H){const te=g.CHM(ae).index;return g.oxw().keys[te]=H}),g.qZA(),g.qZA(),g.TgZ(4,"mat-form-field",10),g._UZ(5,"label",11),g.TgZ(6,"input",13),g.NdJ("click",function(){const Q=g.CHM(ae).$implicit,te=g.oxw();return te.readonly&&void 0!==te.attribute.displayName&&te.showValue(Q,te.attribute.displayName)})("ngModelChange",function(H){const te=g.CHM(ae).index;return g.oxw().values[te]=H}),g.qZA(),g.qZA(),g.YNc(7,k,3,0,"button",14),g.qZA()}if(2&de){const ae=ke.index,j=g.oxw();g.xp6(1),g.s9C("appearance",j.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",j.attribute.id,"-key-",ae,""),g.xp6(1),g.ekj("cursor-pointer",j.readonly&&void 0!==j.attribute.displayName),g.hYB("id","",j.attribute.id,"-key-",ae,""),g.MGl("name","key-",ae,""),g.Q6J("ngModel",j.keys[ae])("readonly",j.readonly),g.xp6(1),g.s9C("appearance",j.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",j.attribute.id,"-value-",ae,""),g.xp6(1),g.ekj("cursor-pointer",j.readonly&&void 0!==j.attribute.displayName),g.MGl("name","value-",ae,""),g.hYB("id","",j.attribute.id,"-value-",ae,""),g.Q6J("readonly",j.readonly)("ngModel",j.values[ae]),g.xp6(1),g.Q6J("ngIf",!j.readonly)}}function V(de,ke){1&de&&(g.TgZ(0,"mat-icon"),g._uU(1,"more_horiz"),g.qZA())}function $(de,ke){1&de&&(g.TgZ(0,"mat-icon"),g._uU(1,"keyboard_arrow_up"),g.qZA())}function ue(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",16),g.NdJ("click",function(){return g.CHM(ae),g.oxw().onShowChange()}),g.YNc(1,V,2,0,"mat-icon",17),g.YNc(2,$,2,0,"mat-icon",17),g.qZA()}if(2&de){const ae=g.oxw();g.xp6(1),g.Q6J("ngIf",!ae.showMore),g.xp6(1),g.Q6J("ngIf",ae.showMore)}}function ce(de,ke){if(1&de){const ae=g.EpF();g.TgZ(0,"button",18),g.NdJ("click",function(){return g.CHM(ae),g.oxw().addValue()}),g.TgZ(1,"mat-icon"),g._uU(2," add_box "),g.qZA(),g.qZA()}}let Le=(()=>{class de{constructor(ae){this.dialog=ae,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const ae=this.attribute.value;for(const[j,H]of Object.entries(ae))this.keys.push(j),this.values.push(H)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}customTrackBy(ae){return ae}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(ae){this.keys.splice(ae,1),this.values.splice(ae,1)}updateAttribute(){const ae={};for(let j=0;jj.defaultItemsShown),g.xp6(1),g.Q6J("ngIf",!j.readonly))},directives:[m._Y,m.JL,m.F,A.sg,s.KE,b.Nt,m.Fj,m.Q7,m.JJ,m.On,A.O5,O.lW,E.Hw,h.gM],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),de})()},63167:(Ke,be,d)=>{"use strict";d.d(be,{_:()=>O});var e=d(5e3),f=d(9244),g=d(84379),T=d(48966),m=d(67322),A=d(98833),s=d(93075),b=d(64597);let O=(()=>{class E{constructor(k){this.dialog=k,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,f.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(k,L){const V=(0,f.kZ)();V.width="350px",V.data={value:k,title:L},this.dialog.open(g.mk,V)}}return E.\u0275fac=function(k){return new(k||E)(e.Y36(T.uw))},E.\u0275cmp=e.Xpm({type:E,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(k,L){1&k&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return L.readonly&&void 0!==L.value&&L.showValue(L.value,L.attribute.displayName)})("ngModelChange",function($){return L.attribute.value=$})("keydown",function(){return L._sendEventToParent()}),e.ALo(2,"multiWordDataCy"),e.qZA(),e.qZA()),2&k&&(e.s9C("appearance",L.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",L.readonly&&void 0!==L.value),e.Q2q("data-cy","",e.lcZ(2,6,L.attribute.displayName),"-value"),e.Q6J("readonly",L.readonly)("ngModel",L.attribute.value))},directives:[m.KE,A.Nt,s.Fj,s.JJ,s.On],pipes:[b.R],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),E})()},43532:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>ke});var e=d(5e3),f=d(28820),g=d(69808),T=d(38719),m=d(21963),A=d(63167),s=d(9244),b=d(84379),O=d(48966),E=d(67322),h=d(98833),k=d(93075);let L=(()=>{class ae{constructor(H){this.dialog=H,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,s.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(H){const Q=(0,s.kZ)();Q.width="350px",Q.data={value:H.value,title:H.displayName},this.dialog.open(b.mk,Q)}}return ae.\u0275fac=function(H){return new(H||ae)(e.Y36(O.uw))},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(H,Q){1&H&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return Q.readonly&&void 0!==Q.attribute.value&&Q.showValue(Q.attribute)})("ngModelChange",function(se){return Q.attribute.value=se})("keydown",function(){return Q._sendEventToParent()}),e.qZA(),e.qZA()),2&H&&(e.s9C("appearance",Q.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",Q.readonly&&void 0!==Q.attribute.value),e.Q6J("readonly",Q.readonly)("ngModel",Q.attribute.value))},directives:[E.KE,h.Nt,k.wV,k.Fj,k.JJ,k.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ae})();const V=["map"];function $(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-boolean",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function ue(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-list",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function ce(ae,j){if(1&ae&&e._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function Le(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-string",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}function de(ae,j){if(1&ae){const H=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-integer",3),e.NdJ("sendEventToParent",function(){return e.CHM(H),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&ae){const H=e.oxw();e.Q6J("attribute",H.attribute)("readonly",H.readonly)}}let ke=(()=>{class ae{constructor(){this.readonly=!1,this.sendEventToParent2=new e.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return ae.\u0275fac=function(H){return new(H||ae)},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(H,Q){if(1&H&&e.Gf(V,5),2&H){let te;e.iGM(te=e.CRH())&&(Q.mapComponent=te.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(H,Q){1&H&&(e.TgZ(0,"div"),e.YNc(1,$,1,2,"perun-web-apps-attribute-value-boolean",0),e.YNc(2,ue,1,2,"perun-web-apps-attribute-value-list",0),e.TgZ(3,"div",1),e.NdJ("click",function(){return Q._sendEventToParent2()}),e.YNc(4,ce,2,2,"perun-web-apps-attribute-value-map",2),e.qZA(),e.YNc(5,Le,1,2,"perun-web-apps-attribute-value-string",0),e.YNc(6,de,1,2,"perun-web-apps-attribute-value-integer",0),e.qZA()),2&H&&(e.xp6(1),e.Q6J("ngIf","java.lang.Boolean"===Q.attribute.type),e.xp6(1),e.Q6J("ngIf","java.util.ArrayList"===Q.attribute.type),e.xp6(2),e.Q6J("ngIf","java.util.LinkedHashMap"===Q.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.String"===Q.attribute.type||"java.lang.LargeString"===Q.attribute.type),e.xp6(1),e.Q6J("ngIf","java.lang.Integer"===Q.attribute.type))},directives:[g.O5,T.u,m.H,f.$,A._,L],styles:[""]}),ae})()},53984:(Ke,be,d)=>{"use strict";d.d(be,{p:()=>ne});var e=d(84847),f=d(32075),g=d(20449),T=d(43532),m=d(9244),A=d(36908),s=d(5e3),b=d(18750),O=d(77446),E=d(29772),h=d(69808),k=d(98380),L=d(64597);let V=(()=>{class Me{transform(me){return"virt"===me.namespace.split(":")[4]}}return Me.\u0275fac=function(me){return new(me||Me)},Me.\u0275pipe=s.Yjl({name:"isVirtualAttribute",type:Me,pure:!0}),Me})();var $=d(51062);function ue(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"th",17),s.TgZ(1,"mat-checkbox",18),s.NdJ("change",function(ee){s.CHM(me);const R=s.oxw();return ee?R.masterToggle():null}),s.qZA(),s.qZA()}if(2&Me){const me=s.oxw();s.xp6(1),s.Q6J("checked",me.selection.hasValue()&&me.isAllSelected())("indeterminate",me.selection.hasValue()&&!me.isAllSelected())("aria-label",me.checkboxLabel())}}function ce(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"td",19),s.TgZ(1,"mat-checkbox",20),s.NdJ("click",function(ee){return ee.stopPropagation()})("change",function(ee){const Oe=s.CHM(me).$implicit,Ie=s.oxw();return ee?Ie.selection.toggle(Oe):null}),s.ALo(2,"multiWordDataCy"),s.ALo(3,"isVirtualAttribute"),s.qZA(),s.qZA()}if(2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,4,me.displayName),"-checkbox"),s.Q6J("checked",Te.selection.isSelected(me))("disabled",s.lcZ(3,6,me)||!me.writable)("aria-label",Te.checkboxLabel(me))}}function Le(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function de(Me,ve){if(1&Me&&(s.TgZ(0,"td",22),s._uU(1),s.qZA()),2&Me){const me=ve.$implicit;s.xp6(1),s.Oqu(me.id)}}function ke(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function ae(Me,ve){if(1&Me&&(s.TgZ(0,"td",23),s.TgZ(1,"div",24),s._uU(2),s.qZA(),s.qZA()),2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.s9C("matTooltip",Te.getAttributeFullName(me)),s.xp6(1),s.hij(" ",me.displayName," ")}}function j(Me,ve){1&Me&&(s.TgZ(0,"th",25),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function H(Me,ve){if(1&Me){const me=s.EpF();s.TgZ(0,"td",23),s.TgZ(1,"perun-web-apps-attribute-value",26),s.NdJ("sendEventToParent2",function(){const R=s.CHM(me).$implicit;return s.oxw().onValueChange(R)}),s.qZA(),s.qZA()}if(2&Me){const me=ve.$implicit,Te=s.oxw();s.xp6(1),s.Q6J("attribute",me)("readonly",Te.readonly||!me.writable)}}function Q(Me,ve){1&Me&&(s.TgZ(0,"th",21),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function te(Me,ve){if(1&Me&&(s.TgZ(0,"td",23),s._uU(1),s.qZA()),2&Me){const me=ve.$implicit;s.xp6(1),s.Oqu(me.description)}}function se(Me,ve){1&Me&&s._UZ(0,"tr",27)}function ge(Me,ve){if(1&Me&&(s._UZ(0,"tr",28),s.ALo(1,"translate")),2&Me){const me=ve.$implicit,Te=s.oxw();s.s9C("matTooltip",s.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),s.Q6J("matTooltipPosition","before")("matTooltipDisabled",me.writable||Te.readonly)}}function Ne(Me,ve){1&Me&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Fe(Me,ve){if(1&Me&&(s.TgZ(0,"app-alert",29),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Me){const me=s.oxw();s.xp6(1),s.hij(" ",s.lcZ(2,1,me.emptyListText),"\n")}}let ne=(()=>{class Me{constructor(me,Te){this.authResolver=me,this.tableCheckbox=Te,this.attributes=[],this.selection=new g.Ov(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=m.f7}set matSort(me){this.sort=me,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(me=>"id"!==me)),this.dataSource=new f.by((0,m.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(me,Te){switch(Te){case"id":return me.id.toString();case"displayName":return me.displayName;case"description":return me.description;case"value":return JSON.stringify(me.value);case"urn":return me.namespace+":"+me.baseFriendlyName;default:return""}}exportData(me){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),me)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(me=>!this.hiddenColumns.includes(me)),this.dataSource&&(this.dataSource.filterPredicate=(me,Te)=>(0,m.Sd)(me,Te,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(me,Te)=>(0,m.pR)(me,Te,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(me){return me?`${this.selection.isSelected(me)?"deselect":"select"} row ${me.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const me of this.items.toArray())"java.util.LinkedHashMap"===me.attribute.type&&me.updateMapAttribute()}onValueChange(me){this.canBeSelected(me)&&this.selection.select(me)}canBeSelected(me){return!(0,m.Hm)(me)&&me.writable}getAttributeFullName(me){return`${me.namespace}:${me.friendlyName}`}}return Me.\u0275fac=function(me){return new(me||Me)(s.Y36(A.x4),s.Y36(A.UA))},Me.\u0275cmp=s.Xpm({type:Me,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(me,Te){if(1&me&&(s.Gf(e.YE,7),s.Gf(m.l9,7),s.Gf(T.M,5)),2&me){let ee;s.iGM(ee=s.CRH())&&(Te.matSort=ee.first),s.iGM(ee=s.CRH())&&(Te.child=ee.first),s.iGM(ee=s.CRH())&&(Te.items=ee)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[s.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(me,Te){1&me&&(s.TgZ(0,"div",0),s.TgZ(1,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(R){return Te.exportData(R)}),s.TgZ(2,"table",2),s.ynx(3,3),s.YNc(4,ue,2,3,"th",4),s.YNc(5,ce,4,8,"td",5),s.BQk(),s.ynx(6,6),s.YNc(7,Le,3,3,"th",7),s.YNc(8,de,2,1,"td",8),s.BQk(),s.ynx(9,9),s.YNc(10,ke,3,3,"th",7),s.YNc(11,ae,3,2,"td",10),s.BQk(),s.ynx(12,11),s.YNc(13,j,3,3,"th",12),s.YNc(14,H,2,2,"td",10),s.BQk(),s.ynx(15,13),s.YNc(16,Q,3,3,"th",7),s.YNc(17,te,2,1,"td",10),s.BQk(),s.YNc(18,se,1,0,"tr",14),s.YNc(19,ge,2,5,"tr",15),s.qZA(),s.qZA(),s.qZA(),s.YNc(20,Ne,3,3,"app-alert",16),s.YNc(21,Fe,3,3,"app-alert",16)),2&me&&(s.Q6J("hidden",0===Te.dataSource.filteredData.length),s.xp6(1),s.Q6J("tableId",Te.tableId)("dataLength",Te.dataSource.filteredData.length)("pageSizeOptions",Te.pageSizeOptions),s.xp6(1),s.Q6J("dataSource",Te.dataSource),s.xp6(16),s.Q6J("matHeaderRowDef",Te.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",Te.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===Te.dataSource.filteredData.length&&0!==Te.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",0===Te.dataSource.data.length))},directives:[b.l,f.BZ,e.YE,f.w1,f.fO,f.ge,O.oG,f.Dz,f.ev,e.nU,E.gM,T.M,f.as,f.XQ,f.nj,f.Gk,h.O5,k.w],pipes:[L.R,V,$.X$],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),Me})()},4235:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>O});var e=d(36908),f=d(5e3),g=d(69808),T=d(47423),m=d(29772),A=d(25245),s=d(51062);const b=function(E){return{color:E}};let O=(()=>{class E{constructor(k,L){this.location=k,this.storeService=L}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return E.\u0275fac=function(k){return new(k||E)(f.Y36(g.Ye),f.Y36(e.d6))},E.\u0275cmp=f.Xpm({type:E,selectors:[["perun-web-apps-back-button"]],decls:4,vars:6,consts:[["mat-stroked-button","",1,"mb-2","mt-2",3,"ngStyle","matTooltip","click"],[1,"rotate"]],template:function(k,L){1&k&&(f.TgZ(0,"button",0),f.NdJ("click",function(){return L.goBack()}),f.ALo(1,"translate"),f.TgZ(2,"mat-icon",1),f._uU(3,"arrow_right_alt"),f.qZA(),f.qZA()),2&k&&(f.s9C("matTooltip",f.lcZ(1,2,"Back")),f.Q6J("ngStyle",f.VKq(4,b,L.backButtonColor)))},directives:[T.lW,g.PC,m.gM,A.Hw],pipes:[s.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),E})()},61150:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>k});var e=d(5e3),f=d(93075),g=d(36908),T=d(67322),m=d(98833),A=d(69808),s=d(77446),b=d(82322),O=d(51062);function E(L,V){if(1&L){const $=e.EpF();e.TgZ(0,"mat-checkbox",7),e.NdJ("change",function(){return e.CHM($),e.oxw().emitAsSubGroup()})("ngModelChange",function(ce){return e.CHM($),e.oxw().asSubgroup=ce}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&L){const $=e.oxw();e.Q6J("labelPosition","before")("ngModel",$.asSubgroup),e.xp6(1),e.hij(" ",e.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function h(L,V){if(1&L){const $=e.EpF();e.TgZ(0,"perun-web-apps-group-search-select",8),e.NdJ("groupSelected",function(ce){return e.CHM($),e.oxw().emitParentGroup(ce)}),e.qZA()}if(2&L){const $=e.oxw();e.Q6J("disableAutoSelect",!0)("groups",$.voGroups)}}let k=(()=>{class L{constructor($){this.store=$,this.parentGroup=null,this.voGroups=[],this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameChanged=new e.vpe,this.descriptionChanged=new e.vpe,this.parentGroupChanged=new e.vpe,this.asSubgroupChanged=new e.vpe}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new f.NI("",[f.kI.required,f.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),f.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new f.NI("",[f.kI.required,f.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter($=>"members"!==$.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup($){this.selectedParent=$,this.parentGroupChanged.emit($)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return L.\u0275fac=function($){return new($||L)(e.Y36(g.d6))},L.\u0275cmp=e.Xpm({type:L,selectors:[["perun-web-apps-create-group-form"]],inputs:{parentGroup:"parentGroup",voGroups:"voGroups"},outputs:{nameChanged:"nameChanged",descriptionChanged:"descriptionChanged",parentGroupChanged:"parentGroupChanged",asSubgroupChanged:"asSubgroupChanged"},decls:17,vars:16,consts:[[1,"dialog-container"],[3,"keyup"],[1,"w-100"],["matInput","","required","",3,"formControl","placeholder"],[1,"mt-4",3,"keyup"],[3,"labelPosition","ngModel","change","ngModelChange",4,"ngIf"],["class","long-input",3,"disableAutoSelect","groups","groupSelected",4,"ngIf"],[3,"labelPosition","ngModel","change","ngModelChange"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function($,ue){1&$&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-form-field",1),e.NdJ("keyup",function(){return ue.emitName()}),e.TgZ(2,"label",2),e._UZ(3,"input",3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-error"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("keyup",function(){return ue.emitDescription()}),e.TgZ(9,"label",2),e._UZ(10,"textarea",3),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"mat-error"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.qZA(),e.YNc(15,E,3,5,"mat-checkbox",5),e.YNc(16,h,1,2,"perun-web-apps-group-search-select",6),e.qZA()),2&$&&(e.xp6(3),e.s9C("placeholder",e.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),e.Q6J("formControl",ue.nameControl),e.xp6(3),e.hij(" ",ue.invalidNameMessage.length?ue.invalidNameMessage:e.lcZ(7,10,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),e.xp6(4),e.s9C("placeholder",e.lcZ(11,12,"DIALOGS.CREATE_GROUP.DESCRIPTION")),e.Q6J("formControl",ue.descriptionControl),e.xp6(3),e.hij(" ",e.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),e.xp6(2),e.Q6J("ngIf",ue.isNotSubGroup),e.xp6(1),e.Q6J("ngIf",ue.asSubgroup))},directives:[T.KE,m.Nt,f.Fj,f.Q7,f.JJ,f.oH,T.TO,A.O5,s.oG,f.On,b.h],pipes:[O.X$],styles:[""]}),L})()},39798:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>s});var e=d(5e3),f=d(67322),g=d(98833),T=d(86856),m=d(93075),A=d(51062);let s=(()=>{class b{constructor(){this.datePicker=new e.vpe}ngOnInit(){this.startMinDate=new Date(2e3,0,1),this.endMaxDate=new Date,this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}dateChange(){this.datePicker.emit(),this.startMaxDate=this.endDate.value,this.endMinDate=this.startDate.value}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-date-range"]],inputs:{startDate:"startDate",endDate:"endDate"},outputs:{datePicker:"datePicker"},decls:16,vars:16,consts:[["appearance","standard",1,"mr-2",3,"click"],["matInput","","readonly","",3,"matDatepicker","min","max","formControl","dateChange"],["matSuffix","",3,"for"],["datePickerStart",""],["appearance","standard",3,"click"],["datePickerEnd",""]],template:function(E,h){if(1&E){const k=e.EpF();e.TgZ(0,"mat-form-field",0),e.NdJ("click",function(){return e.CHM(k),e.MAs(7).open()}),e.TgZ(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(5,"mat-datepicker-toggle",2),e._UZ(6,"mat-datepicker",null,3),e.qZA(),e.TgZ(8,"mat-form-field",4),e.NdJ("click",function(){return e.CHM(k),e.MAs(15).open()}),e.TgZ(9,"mat-label"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"input",1),e.NdJ("dateChange",function(){return h.dateChange()}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",2),e._UZ(14,"mat-datepicker",null,5),e.qZA()}if(2&E){const k=e.MAs(7),L=e.MAs(15);e.xp6(2),e.Oqu(e.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),e.xp6(2),e.Q6J("matDatepicker",k)("min",h.startMinDate)("max",h.startMaxDate)("formControl",h.startDate),e.xp6(1),e.Q6J("for",k),e.xp6(5),e.Oqu(e.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),e.xp6(2),e.Q6J("matDatepicker",L)("min",h.endMinDate)("max",h.endMaxDate)("formControl",h.endDate),e.xp6(1),e.Q6J("for",L)}},directives:[f.KE,f.hX,g.Nt,T.hl,m.Fj,m.JJ,m.oH,T.nW,f.R9,T.Mq],pipes:[A.X$],styles:[""]}),b})()},64901:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>E});var e=d(5e3),f=d(23753),g=d(24850),T=d(80013),m=d(75778),A=d(67322),s=d(98833),b=d(51062);const O=["groupFilterInput"];let E=(()=>{class h{constructor(){this.filter=new e.vpe}ngOnInit(){(0,f.R)(this.groupFilterInput.nativeElement,"keyup").pipe((0,g.U)(L=>L.target.value),(0,T.b)(500),(0,m.x)()).subscribe(L=>{this.filter.emit(L)})}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(L,V){if(1&L&&e.Gf(O,7),2&L){let $;e.iGM($=e.CRH())&&(V.groupFilterInput=$.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(L,V){1&L&&(e.TgZ(0,"mat-form-field",0),e._UZ(1,"input",1,2),e.ALo(3,"translate"),e.qZA()),2&L&&(e.xp6(1),e.s9C("placeholder",e.lcZ(3,1,V.placeholder)))},directives:[A.KE,s.Nt],pipes:[b.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),h})()},42377:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>Le});var e=d(5e3),f=d(93075),g=d(96831),T=d(8929),m=d(7625),A=d(67322),s=d(74107),b=d(69808),O=d(90508),E=d(43586),h=d(53435);const k=["scrollViewport"];function L(de,ke){if(1&de&&(e.TgZ(0,"mat-select-trigger"),e._uU(1),e.qZA()),2&de){const ae=e.oxw();e.xp6(1),e.hij(" ",ae.multipleSelectedText()," ")}}function V(de,ke){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const ae=e.oxw(2);e.Tol(ae.colorByStatus(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)),e.xp6(1),e.hij(" ",ae.statusTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)?"("+ae.statusTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)+")":""," ")}}function $(de,ke){if(1&de&&(e.TgZ(0,"mat-option",8),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,V,2,4,"span",10),e.qZA()),2&de){const ae=e.oxw();e.Q6J("value",null==ae.entitiesCtrl?null:ae.entitiesCtrl.value),e.xp6(1),e.hij(" ",ae.mainTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)," "),e.xp6(2),e.Oqu(ae.secondaryTextFunction(null==ae.entitiesCtrl?null:ae.entitiesCtrl.value)),e.xp6(1),e.Q6J("ngIf",ae.displayStatus)}}function ue(de,ke){if(1&de&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&de){const ae=e.oxw().$implicit,j=e.oxw();e.Tol(j.colorByStatus(ae)),e.xp6(1),e.hij(" ",j.statusTextFunction(ae)?"("+j.statusTextFunction(ae)+")":""," ")}}function ce(de,ke){if(1&de&&(e.TgZ(0,"mat-option",11),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,ue,2,4,"span",10),e.qZA()),2&de){const ae=ke.$implicit,j=e.oxw();e.Tol(j.theme),e.Q6J("value",ae),e.xp6(1),e.hij(" ",j.mainTextFunction(ae)," "),e.xp6(2),e.Oqu(j.secondaryTextFunction(ae)),e.xp6(1),e.Q6J("ngIf",j.displayStatus)}}let Le=(()=>{class de{constructor(ae){this.cd=ae,this.selectPlaceholder="Select",this.findPlaceholder="Find...",this.noEntriesText="Nothing found",this.disableAutoSelect=!1,this.entity=null,this.displayStatus=!1,this.multiple=!1,this.theme="",this.entitySelected=new e.vpe,this.entitiesCtrl=new f.NI,this.entityFilterCtrl=new f.NI,this.filteredEntities=new g.t(1),this.entitiesLen=0,this._onDestroy=new T.xQ,this.mainTextFunction=j=>JSON.stringify(j),this.secondaryTextFunction=j=>"#"+j.id+(j.description?" "+j.description:""),this.statusTextFunction=j=>j.status}ngOnInit(){this.entitiesCtrl.valueChanges.subscribe(ae=>this.entitySelected.emit(ae)),!this.disableAutoSelect&&null===this.entity&&this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(ae=>this.entitiesLen=ae.length),this.entityFilterCtrl.valueChanges.pipe((0,m.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}colorByStatus(ae){switch(ae.status){case"ACTIVE":return"green";case"INACTIVE":return"grey";case"FAILED":return"red";case"PROCESSING":return"black"}}ngOnChanges(ae){null!==this.entity&&this.entitiesCtrl.setValue(this.entity),ae.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterEntites(){if(!this.entities)return;let ae=this.entityFilterCtrl.value;if(!ae)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();ae=this.normalize(ae),this.filteredEntities.next(this.entities.filter(j=>this.normalize(this.searchFunction(j)).indexOf(ae)>=0)),this.cd.detectChanges()}normalize(ae){return ae.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let ae=48*this.entitiesLen;return ae>192&&(ae=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),ae}multipleSelectedText(){if(this.entitiesCtrl.value&&0!==this.entitiesCtrl.value.length)return this.entitiesCtrl.value.length===this.entities.length?"ALL":this.entitiesCtrl.value.length>1?this.mainTextFunction(this.entitiesCtrl.value[0])+` + ${this.entitiesCtrl.value.length-1} other(s)`:this.mainTextFunction(this.entitiesCtrl.value[0])+" "+this.secondaryTextFunction(this.entitiesCtrl.value[0])}}return de.\u0275fac=function(ae){return new(ae||de)(e.Y36(e.sBO))},de.\u0275cmp=e.Xpm({type:de,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(ae,j){if(1&ae&&e.Gf(k,5),2&ae){let H;e.iGM(H=e.CRH())&&(j.scrollViewport=H.first)}},inputs:{entities:"entities",selectPlaceholder:"selectPlaceholder",findPlaceholder:"findPlaceholder",noEntriesText:"noEntriesText",disableAutoSelect:"disableAutoSelect",entity:"entity",displayStatus:"displayStatus",multiple:"multiple",theme:"theme",searchFunction:"searchFunction",mainTextFunction:"mainTextFunction",secondaryTextFunction:"secondaryTextFunction"},outputs:{entitySelected:"entitySelected"},features:[e.TTD],decls:10,vars:16,consts:[[1,"w-100"],[3,"placeholder","formControl","multiple","openedChange"],[4,"ngIf"],[3,"placeholderLabel","noEntriesFoundLabel","clearSearchInput","formControl"],["class","selected-options-bottom",3,"value",4,"ngIf"],["itemSize","48",3,"minBufferPx","maxBufferPx"],["scrollViewport",""],[3,"class","value",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"selected-options-bottom",3,"value"],[1,"text-muted"],[3,"class",4,"ngIf"],[3,"value"]],template:function(ae,j){1&ae&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"mat-select",1),e.NdJ("openedChange",function(){return j.openChange()}),e.YNc(2,L,2,1,"mat-select-trigger",2),e.TgZ(3,"mat-option"),e._UZ(4,"ngx-mat-select-search",3),e.qZA(),e.YNc(5,$,5,4,"mat-option",4),e.TgZ(6,"cdk-virtual-scroll-viewport",5,6),e.YNc(8,ce,5,7,"mat-option",7),e.ALo(9,"async"),e.qZA(),e.qZA(),e.qZA()),2&ae&&(e.xp6(1),e.s9C("placeholder",j.selectPlaceholder),e.Q6J("formControl",j.entitiesCtrl)("multiple",j.multiple),e.xp6(1),e.Q6J("ngIf",j.multiple),e.xp6(2),e.s9C("placeholderLabel",j.findPlaceholder),e.s9C("noEntriesFoundLabel",j.noEntriesText),e.Q6J("clearSearchInput",!1)("formControl",j.entityFilterCtrl),e.xp6(1),e.Q6J("ngIf",null==j.entitiesCtrl?null:j.entitiesCtrl.value),e.xp6(1),e.Udp("height",j.getViewportHeight(),"px"),e.Q6J("minBufferPx",240)("maxBufferPx",480),e.xp6(2),e.Q6J("cdkVirtualForOf",e.lcZ(9,14,j.filteredEntities)))},directives:[A.KE,s.gD,f.JJ,f.oH,b.O5,s.$L,O.ey,E.nu,h.N7,h.xd,h.x0],pipes:[b.Ov],styles:[".selected-options-bottom[_ngcontent-%COMP%]{visibility:hidden;position:absolute}.green[_ngcontent-%COMP%]{color:green}.grey[_ngcontent-%COMP%]{color:gray}.red[_ngcontent-%COMP%]{color:red}.black[_ngcontent-%COMP%]{color:#000}"]}),de})()},74010:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>he});var e=d(84847),f=d(32075),g=d(9244),T=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),O=d(93075),E=d(69808),h=d(29772),k=d(47423),L=d(25245);function V(D,S){if(1&D&&(m.TgZ(0,"div",6),m._uU(1),m.qZA()),2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.hij(" ",I[P.paramName]," ")}}function $(D,S){1&D&&(m.TgZ(0,"mat-icon"),m._uU(1,"more_horiz"),m.qZA())}function ue(D,S){1&D&&(m.TgZ(0,"mat-icon"),m._uU(1,"keyboard_arrow_up"),m.qZA())}function ce(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"button",7),m.NdJ("click",function(){return m.CHM(I),m.oxw().onShowChange()}),m.YNc(1,$,2,0,"mat-icon",8),m.YNc(2,ue,2,0,"mat-icon",8),m.qZA()}if(2&D){const I=m.oxw();m.xp6(1),m.Q6J("ngIf",!I.showMore),m.xp6(1),m.Q6J("ngIf",I.showMore)}}let Le=(()=>{class D{constructor(){this.objects=[],this.filterValue="",this.paramName="",this.showMore=!1,this.defaultItemsShown=3}ngOnInit(){this.itemsShown=this.defaultItemsShown}ngOnChanges(){this.itemsShown=this.defaultItemsShown,this.showMore=!1}onShowChange(){this.showMore=!this.showMore,this.itemsShown=this.showMore?this.objects.length:this.defaultItemsShown}}return D.\u0275fac=function(I){return new(I||D)},D.\u0275cmp=m.Xpm({type:D,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[m.TTD],decls:7,vars:4,consts:[[1,"d-flex","w-100"],[1,"w-100"],[1,"mr-5"],["class","d-flex mb-1",4,"ngFor","ngForOf"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",3,"click",4,"ngIf"],[1,"d-flex","mb-1"],["mat-icon-button","",3,"click"],[4,"ngIf"]],template:function(I,P){1&I&&(m.TgZ(0,"form",0),m.TgZ(1,"div",1),m.TgZ(2,"div",2),m.YNc(3,V,2,1,"div",3),m.qZA(),m.TgZ(4,"div"),m.TgZ(5,"span",4),m.YNc(6,ce,3,2,"button",5),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&I&&(m.xp6(3),m.Q6J("ngForOf",P.objects.slice(0,P.itemsShown)),m.xp6(2),m.Q6J("matTooltip",P.showMore?"Show less":"Show more")("matTooltipPosition","above"),m.xp6(1),m.Q6J("ngIf",P.objects.length>P.defaultItemsShown))},directives:[O._Y,O.JL,O.F,E.sg,h.gM,E.O5,k.lW,L.Hw],styles:[""]}),D})();var de=d(50301),ke=d(30325),ae=d(98380),j=d(51062),H=d(53561);let Q=(()=>{class D{transform(I,P,i){return I.filter(r=>r[i].includes(P)).filter((r,p,o)=>o.findIndex(t=>t[i]===r[i])===p)}}return D.\u0275fac=function(I){return new(I||D)},D.\u0275pipe=m.Yjl({name:"filterUniqueObjects",type:D,pure:!0}),D})();function te(D,S){1&D&&m._UZ(0,"th",20)}function se(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",21),m.TgZ(1,"mat-checkbox",22),m.NdJ("change",function(i){const p=m.CHM(I).$implicit,o=m.oxw();return i?o.selection.toggle(p):null})("click",function(i){return i.stopPropagation()}),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q2q("data-cy","",I.facility.name,"-checkbox"),m.Q6J("aria-label",P.checkboxLabel(I))("checked",P.selection.isSelected(I))}}function ge(D,S){1&D&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")," "))}function Ne(D,S){if(1&D&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.hij(" ",I.facility.id," ")}}function Fe(D,S){1&D&&m._UZ(0,"th",25)}function ne(D,S){if(1&D&&(m.TgZ(0,"td",26),m._UZ(1,"perun-web-apps-recently-viewed-icon",27),m.qZA()),2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("id",I.facility.id)("recentIds",P.recentIds)}}function Me(D,S){1&D&&(m.TgZ(0,"th",23),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")," "))}function ve(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.uIk("data-cy",I.facility.name),m.xp6(1),m.hij(" ",I.facility.name," ")}}function me(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")," "))}function Te(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.Oqu(I.facility.description)}}function ee(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")," "))}function R(D,S){if(1&D&&(m.TgZ(0,"td",26),m._uU(1),m.ALo(2,"technicalOwners"),m.qZA()),2&D){const I=S.$implicit;m.xp6(1),m.Oqu(m.lcZ(2,1,I.owners))}}function Oe(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")," "))}function Ie(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(I),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(I),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,I.destinations,P.filterValue,"destination"))("paramName","destination")}}function He(D,S){1&D&&(m.TgZ(0,"th",25),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")," "))}function fe(D,S){if(1&D){const I=m.EpF();m.TgZ(0,"td",26),m.TgZ(1,"perun-web-apps-object-list-values",28),m.NdJ("mouseenter",function(){return m.CHM(I),m.oxw().disableRouting=!0})("mouseleave",function(){return m.CHM(I),m.oxw().disableRouting=!1}),m.ALo(2,"filterUniqueObjects"),m.qZA(),m.qZA()}if(2&D){const I=S.$implicit,P=m.oxw();m.xp6(1),m.Q6J("objects",m.Dn7(2,2,I.hosts,P.filterValue,"hostname"))("paramName","hostname")}}function Ce(D,S){1&D&&m._UZ(0,"tr",29)}const Ve=function(D){return["/facilities",D]},Xe=function(){return[]};function tt(D,S){if(1&D&&m._UZ(0,"tr",30),2&D){const I=S.$implicit,P=m.oxw();m.Q6J("perunWebAppsMiddleClickRouterLink",m.VKq(2,Ve,I.facility.id))("routerLink",P.disableRouting?m.DdM(4,Xe):m.VKq(5,Ve,I.facility.id))}}function rt(D,S){1&D&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function N(D,S){1&D&&(m.TgZ(0,"app-alert",31),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&D&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let he=(()=>{class D{constructor(I){this.authResolver=I,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=g.f7}set matSort(I){this.sort=I}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(I=>"id"!==I)),this.setDataSource()}getDataForColumn(I,P,i){switch(P){case"id":return I.facility.id.toString();case"name":return I.facility.name;case"description":return I.facility.description;case"technicalOwners":return(0,g.te)(I.owners);case"recent":return i.recentIds&&i.recentIds.indexOf(I.facility.id)>-1?"#".repeat(i.recentIds.indexOf(I.facility.id)):I.name;case"destinations":return I.destinations.map(r=>r.destination).join(" ; ");case"hosts":return I.hosts.map(r=>r.hostname).join(" ; ");default:return I[P]}}exportData(I){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),I)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(I,P)=>(0,g.Sd)(I,P,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(I,P)=>(0,g.pR)(I,P,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.facilities}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(I=>this.selection.select(I))}checkboxLabel(I){return I?`${this.selection.isSelected(I)?"deselect":"select"} row ${I.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return D.\u0275fac=function(I){return new(I||D)(m.Y36(T.x4))},D.\u0275cmp=m.Xpm({type:D,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(I,P){if(1&I&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&I){let i;m.iGM(i=m.CRH())&&(P.matSort=i.first),m.iGM(i=m.CRH())&&(P.child=i.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions"},features:[m.TTD],decls:31,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","description"],["matColumnDef","technicalOwners"],["matColumnDef","destinations"],["matColumnDef","hosts"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"id","recentIds"],[3,"objects","paramName","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(I,P){1&I&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(r){return P.exportData(r)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,te,1,0,"th",4),m.YNc(5,se,2,3,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,ge,3,3,"th",7),m.YNc(8,Ne,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Fe,1,0,"th",10),m.YNc(11,ne,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,Me,3,3,"th",7),m.YNc(14,ve,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,me,3,3,"th",10),m.YNc(17,Te,2,1,"td",11),m.BQk(),m.ynx(18,14),m.YNc(19,ee,3,3,"th",10),m.YNc(20,R,3,3,"td",11),m.BQk(),m.ynx(21,15),m.YNc(22,Oe,3,3,"th",10),m.YNc(23,Ie,3,6,"td",11),m.BQk(),m.ynx(24,16),m.YNc(25,He,3,3,"th",10),m.YNc(26,fe,3,6,"td",11),m.BQk(),m.YNc(27,Ce,1,0,"tr",17),m.YNc(28,tt,1,7,"tr",18),m.qZA(),m.qZA(),m.qZA(),m.YNc(29,rt,3,3,"app-alert",19),m.YNc(30,N,3,3,"app-alert",19)),2&I&&(m.Q6J("hidden",!P.dataSource||0===P.dataSource.filteredData.length||0===P.facilities.length),m.xp6(1),m.Q6J("tableId",P.tableId)("dataLength",P.dataSource.filteredData.length)("pageSizeOptions",P.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",P.dataSource),m.xp6(25),m.Q6J("matHeaderRowDef",P.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",P.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===P.dataSource.filteredData.length&&0!==P.facilities.length),m.xp6(1),m.Q6J("ngIf",0===P.facilities.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,Le,f.as,f.XQ,f.nj,f.Gk,de.YH,ke.rH,E.O5,ae.w],pipes:[j.X$,H.J,Q],styles:["tr[_ngcontent-%COMP%]{cursor:pointer}"]}),D})()},13449:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>ae});var e=d(5e3),f=d(36908),g=d(69808),T=d(47423),m=d(69287),A=d(29772),s=d(25245),b=d(92181),O=d(51062),E=d(45942),h=d(29218),k=d(28764);function L(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.ALo(2,"groupSyncToolTip"),e.TgZ(3,"button",6),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onSyncDetail()}),e.ALo(4,"groupSyncIcon"),e.TgZ(5,"mat-icon"),e.ALo(6,"groupSyncIconColor"),e._uU(7),e.ALo(8,"groupSyncIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("matTooltipPosition","above")("matTooltip",e.lcZ(1,7,e.lcZ(2,9,Q.group))),e.xp6(3),e.Q6J("disabled","sync_disabled"===e.lcZ(4,11,Q.group)),e.xp6(2),e.Tol(e.lcZ(6,13,Q.group)),e.xp6(2),e.hij(" ",e.lcZ(8,15,Q.group)," ")}}function V(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onMoveGroup()}),e.TgZ(3,"mat-icon"),e._uU(4,"arrow_right_alt"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",Q.disabled)}}function $(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"span",5),e.ALo(1,"translate"),e.TgZ(2,"button",6),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onChangeNameDescription()}),e.TgZ(3,"mat-icon"),e._uU(4,"text_format"),e.qZA(),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME")),e.Q6J("matTooltipPosition","above"),e.xp6(2),e.Q6J("disabled",Q.disabled)}}function ue(j,H){if(1&j&&(e.TgZ(0,"div",2),e.TgZ(1,"button",3),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4," file_copy "),e.qZA(),e.qZA(),e.YNc(5,L,9,17,"span",4),e.YNc(6,V,5,5,"span",4),e.YNc(7,$,5,5,"span",4),e.qZA()),2&j){const Q=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.Q6J("cdkCopyToClipboard",Q.group.name)("matTooltipPosition","above"),e.xp6(4),e.Q6J("ngIf",Q.syncAuth),e.xp6(1),e.Q6J("ngIf",Q.moveAuth),e.xp6(1),e.Q6J("ngIf",Q.editAuth)}}function ce(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onSyncDetail()}),e.ALo(1,"groupSyncIcon"),e.TgZ(2,"mat-icon"),e.ALo(3,"groupSyncIconColor"),e._uU(4),e.ALo(5,"groupSyncIcon"),e.qZA(),e.TgZ(6,"span"),e._uU(7),e.ALo(8,"translate"),e.ALo(9,"groupSyncToolTip"),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("disabled","sync_disabled"===e.lcZ(1,6,Q.group)),e.xp6(2),e.Tol(e.lcZ(3,8,Q.group)),e.xp6(2),e.hij(" ",e.lcZ(5,10,Q.group)," "),e.xp6(3),e.Oqu(e.lcZ(8,12,e.lcZ(9,14,Q.group)))}}function Le(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onMoveGroup()}),e.TgZ(1,"mat-icon"),e._uU(2,"arrow_right_alt"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("disabled",Q.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.MOVE"))}}function de(j,H){if(1&j){const Q=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Q),e.oxw(2).onChangeNameDescription()}),e.TgZ(1,"mat-icon"),e._uU(2,"text_format"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA()}if(2&j){const Q=e.oxw(2);e.Q6J("disabled",Q.disabled),e.xp6(4),e.Oqu(e.lcZ(5,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.RENAME"))}}function ke(j,H){if(1&j&&(e.TgZ(0,"div"),e.TgZ(1,"button",7),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,8),e.TgZ(6,"button",9),e.TgZ(7,"mat-icon"),e._uU(8," file_copy "),e.qZA(),e.TgZ(9,"span"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.qZA(),e.YNc(12,ce,10,16,"button",10),e.YNc(13,Le,6,4,"button",10),e.YNc(14,de,6,4,"button",10),e.qZA(),e.qZA()),2&j){const Q=e.MAs(5),te=e.oxw();e.xp6(1),e.Q6J("mat-menu-trigger-for",Q),e.xp6(5),e.Q6J("cdkCopyToClipboard",te.group.name),e.xp6(4),e.Oqu(e.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.xp6(2),e.Q6J("ngIf",te.syncAuth),e.xp6(1),e.Q6J("ngIf",te.moveAuth),e.xp6(1),e.Q6J("ngIf",te.editAuth)}}let ae=(()=>{class j{constructor(Q){this.authResolver=Q,this.disabled=!1,this.moveGroup=new e.vpe,this.syncGroup=new e.vpe,this.changeNameDescription=new e.vpe}ngOnInit(){this.syncAuth=this.authResolver.isAuthorized("forceGroupSynchronization_Group_policy",[this.group]),this.editAuth=this.authResolver.isAuthorized("updateGroup_Group_policy",[this.group]),this.moveAuth=this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.group])||this.authResolver.isAuthorized("destination_null-moveGroup_Group_Group_policy",[this.group])}onMoveGroup(){this.moveGroup.emit()}onSyncDetail(){this.syncGroup.emit()}onChangeNameDescription(){this.changeNameDescription.emit()}}return j.\u0275fac=function(Q){return new(Q||j)(e.Y36(f.x4))},j.\u0275cmp=e.Xpm({type:j,selectors:[["perun-web-apps-group-menu"]],inputs:{group:"group",disabled:"disabled",displayButtons:"displayButtons"},outputs:{moveGroup:"moveGroup",syncGroup:"syncGroup",changeNameDescription:"changeNameDescription"},decls:2,vars:2,consts:[["class","buttons-container",4,"ngIf"],[4,"ngIf"],[1,"buttons-container"],["mat-icon-button","",1,"ml-auto","horiz_right",3,"cdkCopyToClipboard","matTooltipPosition","matTooltip"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"mat-menu-trigger-for"],["groupMenu","matMenu"],["mat-menu-item","",3,"cdkCopyToClipboard"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"disabled","click"]],template:function(Q,te){1&Q&&(e.YNc(0,ue,8,8,"div",0),e.YNc(1,ke,15,8,"div",1)),2&Q&&(e.Q6J("ngIf",te.displayButtons),e.xp6(1),e.Q6J("ngIf",!te.displayButtons))},directives:[g.O5,T.lW,m.i3,A.gM,s.Hw,b.p6,b.VK,b.OP],pipes:[O.X$,E.r,h.J,k.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),j})()},8223:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>L});var e=d(5e3),f=d(9244),g=d(84379),T=d(48966),m=d(69808),A=d(29772),s=d(25245),b=d(51062);function O(V,$){if(1&V){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",4),e._uU(3,"check_circle_outline"),e.qZA(),e.qZA()}2&V&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function E(V,$){if(1&V){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",5),e._uU(3,"block"),e.qZA(),e.qZA()}2&V&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function h(V,$){if(1&V){const ue=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(ue),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",6),e._uU(3,"report"),e.qZA(),e.qZA()}if(2&V){const ue=e.oxw();e.hYB("matTooltip","",e.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",ue.failureCause,"")}}function k(V,$){1&V&&(e.TgZ(0,"span",7),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",8),e._uU(3,"autorenew"),e.qZA(),e.qZA()),2&V&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let L=(()=>{class V{constructor(ue){this.dialog=ue,this.status="",this.statusChange=new e.vpe}changeStatus(){const ue=(0,f.kZ)();ue.width="500px",ue.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(g.Qu,ue).afterClosed().subscribe(Le=>{Le&&this.statusChange.emit()})}}return V.\u0275fac=function(ue){return new(ue||V)(e.Y36(T.uw))},V.\u0275cmp=e.Xpm({type:V,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(ue,ce){1&ue&&(e.TgZ(0,"div",0),e.YNc(1,O,4,3,"span",1),e.YNc(2,E,4,3,"span",1),e.YNc(3,h,4,4,"span",1),e.YNc(4,k,4,3,"span",2),e.qZA()),2&ue&&(e.xp6(1),e.Q6J("ngIf","ACTIVE"===ce.status),e.xp6(1),e.Q6J("ngIf","INACTIVE"===ce.status),e.xp6(1),e.Q6J("ngIf","FAILED"===ce.status),e.xp6(1),e.Q6J("ngIf","PROCESSING"===ce.status))},directives:[m.O5,A.gM,s.Hw],pipes:[b.X$],styles:[""]}),V})()},82322:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>m});var e=d(5e3),f=d(9244),g=d(42377),T=d(51062);let m=(()=>{class A{constructor(){this.groupSelected=new e.vpe,this.disableAutoSelect=!1,this.displayStatus=!1,this.nameFunction=b=>b.name}ngOnInit(){this.groups=this.groups.sort(f.aC)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-group-search-select"]],inputs:{groups:"groups",disableAutoSelect:"disableAutoSelect",firstSelectedGroup:"firstSelectedGroup",displayStatus:"displayStatus"},outputs:{groupSelected:"groupSelected"},decls:4,vars:15,consts:[[1,"long-input",3,"entities","entity","displayStatus","disableAutoSelect","mainTextFunction","searchFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,O){if(1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return O.groupSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b){let E;e.Q6J("entities",O.groups)("entity",null!==(E=O.firstSelectedGroup)&&void 0!==E?E:null)("displayStatus",O.displayStatus)("disableAutoSelect",O.disableAutoSelect)("mainTextFunction",O.nameFunction)("searchFunction",O.nameFunction)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.SELECT_GROUP"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.FIND_GROUP"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.GROUP_SEARCH_SELECT.NO_GROUP_FOUND"))}},directives:[g.i],pipes:[T.X$],styles:[""]}),A})()},24179:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>c});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9315),A=d(9244),s=d(84379),b=d(36908),O=d(69808),E=d(48966),h=d(18750),k=d(77446),L=d(29772),V=d(10441),$=d(25245),ue=d(8223),ce=d(47423),Le=d(13449),de=d(50301),ke=d(30325),ae=d(98380),j=d(51062),H=d(69773),Q=d(21757),te=d(62383);let se=(()=>{class u{transform(M){const re=M.attributes.find(et=>"groupMembershipExpiration"===et.baseFriendlyName);return re&&re.value?re.value:"Never"}}return u.\u0275fac=function(M){return new(M||u)},u.\u0275pipe=e.Yjl({name:"groupExpiration",type:u,pure:!0}),u})();function ge(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"mat-checkbox",26),e.NdJ("change",function(et){e.CHM(M);const yt=e.oxw(2);return et?yt.masterToggle():null}),e.qZA()}if(2&u){const M=e.oxw(2);e.Q6J("aria-label",M.checkboxLabel())("checked",M.selection.hasValue()&&M.isAllSelected())("indeterminate",M.selection.hasValue()&&!M.isAllSelected())}}function Ne(u,y){if(1&u&&(e.TgZ(0,"th",24),e.YNc(1,ge,1,3,"mat-checkbox",25),e.qZA()),2&u){const M=e.oxw();e.xp6(1),e.Q6J("ngIf",!M.disableHeadCheckbox)}}function Fe(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",27),e.TgZ(1,"span",28),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",29),e.NdJ("change",function(et){const pt=e.CHM(M).$implicit,Nt=e.oxw();return et?Nt.itemSelectionToggle(pt):null})("click",function(et){return et.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,re.getCheckboxTooltipMessage(M))),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!re.disableSelect(M)),e.xp6(2),e.Q2q("data-cy","",M.name,"-checkbox"),e.Q6J("aria-label",re.checkboxLabel(M))("checked",re.selection.isSelected(M))("disabled","members"===M.name&&re.disableMembers||re.disableSelect(M))}}function ne(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")," "))}function Me(u,y){if(1&u&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Oqu(M.id)}}function ve(u,y){1&u&&e._UZ(0,"th",32)}function me(u,y){if(1&u&&(e.TgZ(0,"td",33),e._UZ(1,"perun-web-apps-recently-viewed-icon",34),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Q6J("recentIds",re.recentIds)("id",M.id)}}function Te(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")," "))}function ee(u,y){if(1&u&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.hij(" ",re.voNames.get(M.voId)," ")}}function R(u,y){1&u&&e._UZ(0,"th",32)}function Oe(u,y){1&u&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&u&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP"))}function Ie(u,y){1&u&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"alt_route"),e.qZA()),2&u&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.MULTIPLE_ASSIGNMENTS"))}function He(u,y){if(1&u&&(e.TgZ(0,"td",33),e.YNc(1,Oe,3,3,"mat-icon",35),e.YNc(2,Ie,3,3,"mat-icon",35),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Q6J("ngIf",M.sourceGroupId&&!M.moreTypesOfAssignment),e.xp6(1),e.Q6J("ngIf",M.moreTypesOfAssignment)}}function fe(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")," "))}function Ce(u,y){if(1&u&&(e.TgZ(0,"td",33),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.uIk("data-cy",M.name),e.xp6(1),e.hij(" ",M.name," ")}}function Ve(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function Xe(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",37),e.TgZ(1,"perun-web-apps-group-resource-status",38),e.NdJ("mouseenter",function(){return e.CHM(M),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(M);const et=e.oxw();return et.disabledRouting=et.disableRouting})("statusChange",function(){return e.CHM(M),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Q6J("theme","resource-theme")("groupId",M.id)("resourceId",re.resourceId)("failureCause",M.failureCause)("status",M.status)}}function tt(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function rt(u,y){if(1&u&&(e.TgZ(0,"td",33),e.TgZ(1,"i",39),e.ALo(2,"memberStatusIconColor"),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,re.getStatusAttribute(M)),""),e.s9C("matTooltip",re.getStatusAttribute(M)),e.xp6(3),e.hij(" ",e.lcZ(5,7,re.getStatusAttribute(M))," ")}}function N(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")," "))}function he(u,y){if(1&u&&(e.TgZ(0,"td",37),e._uU(1),e.qZA()),2&u){const M=y.$implicit;e.xp6(1),e.Oqu(M.description)}}function D(u,y){1&u&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")," "))}function S(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(M);const et=e.oxw().$implicit;return e.oxw().changeExpiration(et)})("mouseenter",function(){return e.CHM(M),e.oxw(2).disabledRouting=!0})("mouseleave",function(){e.CHM(M);const et=e.oxw(2);return et.disabledRouting=et.disableRouting}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.qZA()}}function I(u,y){if(1&u&&(e.TgZ(0,"td",37),e._uU(1),e.ALo(2,"parseDate"),e.ALo(3,"groupExpiration"),e.YNc(4,S,3,0,"button",40),e.qZA()),2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,e.lcZ(3,4,M))," "),e.xp6(3),e.Q6J("ngIf",re.canManageGroup(M))}}function P(u,y){1&u&&e._UZ(0,"th",32)}function i(u,y){if(1&u){const M=e.EpF();e.TgZ(0,"td",33),e.TgZ(1,"perun-web-apps-group-menu",42),e.NdJ("mouseenter",function(){return e.CHM(M),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(M);const et=e.oxw();return et.disabledRouting=et.disableRouting})("moveGroup",function(){const yt=e.CHM(M).$implicit;return e.oxw().onMoveGroup(yt)})("changeNameDescription",function(){const yt=e.CHM(M).$implicit;return e.oxw().onChangeNameDescription(yt)})("syncGroup",function(){const yt=e.CHM(M).$implicit;return e.oxw().onSyncDetail(yt)}),e.qZA(),e.qZA()}if(2&u){const M=y.$implicit,re=e.oxw();e.xp6(1),e.Q6J("disabled","members"===M.name)("displayButtons",re.displayButtons)("group",M)}}function r(u,y){1&u&&e._UZ(0,"tr",43)}const p=function(u,y){return["/organizations",u,"groups",y]};function o(u,y){if(1&u&&e._UZ(0,"tr",44),2&u){const M=y.$implicit,re=e.oxw();e.ekj("cursor-pointer",!re.disableRouting&&!re.groupsToDisableRouting.has(M.id))("disable-outline",re.disabledRouting||re.groupsToDisableRouting.has(M.id)),e.Q6J("perunWebAppsMiddleClickRouterLink",re.disabledRouting||re.groupsToDisableRouting.has(M.id)?null:e.WLB(6,p,M.voId,M.id))("routerLink",re.disabledRouting||re.groupsToDisableRouting.has(M.id)?null:e.WLB(9,p,M.voId,M.id))}}function t(u,y){1&u&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_GROUPS"),"\n"))}function n(u,y){1&u&&(e.TgZ(0,"app-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&u&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let c=(()=>{class u{constructor(M,re,et,yt,pt){this.dialog=M,this.authResolver=re,this.voService=et,this.tableCheckbox=yt,this.changeDetector=pt,this.displayButtons=window.innerWidth>800,this.theme="group-theme",this.moveGroup=new e.vpe,this.groups=[],this.selection=new T.Ov(!0,[]),this.hasMembersGroup=!1,this.displayedColumns=["select","id","recent","vo","indirectGroupAssigment","name","status","groupStatus","description","expiration","menu"],this.groupsToDisableCheckbox=new Set,this.groupsToDisableRouting=new Set,this.filter="",this.disableRouting=!1,this.pageSizeOptions=A.f7,this.recentIds=[],this.resourceId=null,this.refreshTable=new e.vpe,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.canBeSelected=Nt=>!("members"===Nt.name&&this.disableMembers||this.disableSelect(Nt))}set matSort(M){this.sort=M}shouldHideButtons(){this.displayButtons=window.innerWidth>800}ngOnChanges(){this.disabledRouting=this.disableRouting,this.hasMembersGroup=this.checkIfHasMembersGroup(),this.updateVoNames(),this.setDataSource(),this.authType&&(this.removeAuth=this.setAuth())}checkIfHasMembersGroup(){for(const M of this.groups)if("members"===M.name)return!0;return!1}getDataForColumn(M,re,et){switch(re){case"id":return M.id.toString();case"vo":return et.voNames.get(M.voId);case"name":return M.name;case"description":return M.description;case"expiration":{const yt=(0,A.x2)(M);return(0,A.sG)(yt)}case"recent":return"";case"status":return M.status;case"uuid":return M.uuid;default:return M[re]}}getSortDataForColumn(M,re,et){switch(re){case"id":return M.id.toString();case"vo":return et.voNames.get(M.voId);case"name":return M.name;case"description":return M.description;case"expiration":{const yt=(0,A.x2)(M);return yt&&"never"!==yt.toLowerCase()?(0,O.p6)(yt,"yyyy.MM.dd","en"):yt}case"recent":return et.recentIds&&et.recentIds.indexOf(M.id)>-1?"#".repeat(et.recentIds.indexOf(M.id)):M.name;case"status":return M.status;default:return M[re]}}exportData(M){(0,A.O6)((0,A.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),M)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(M,re)=>(0,A.Sd)(M,re,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(M,re)=>(0,A.pR)(M,re,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.groups}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.authType&&(this.removeAuth=this.setAuth())}checkboxLabel(M){return M?`${this.selection.isSelected(M)?"deselect":"select"} row ${M.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(M){return this.disableGroups&&(this.groupsToDisableCheckbox.has(M.id)||this.isSynchronized(M))}ngAfterViewInit(){void 0===this.vo&&0!==this.groups.length&&(this.vo={id:this.groups[0].voId,beanName:"Vo"}),this.shouldHideButtons(),this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(M=>"id"!==M),this.changeDetector.detectChanges())}onMoveGroup(M){this.moveGroup.emit(M)}onSyncDetail(M){const re=(0,A.kZ)();re.data={groupId:M.id,theme:this.theme},this.dialog.open(s.Bp,re)}onChangeNameDescription(M){const re=(0,A.kZ)();re.data={theme:"group-theme",group:M,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,re).afterClosed().subscribe(yt=>{yt&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[re]),!0):"group-relations"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("removeGroupUnion_Group_Group_policy",[this.parentGroup,re]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,re]),!0):"member-groups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[re]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((M,re)=>M&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,re]),!0):void 0}itemSelectionToggle(M){this.selection.toggle(M),this.removeAuth=this.setAuth()}isSynchronized(M){return!!M.attributes&&M.attributes.some(re=>"synchronizationEnabled"===re.friendlyName&&null!==re.value&&"true"===re.value.toString())}getCheckboxTooltipMessage(M){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":this.isSynchronized(M)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":M.sourceGroupId?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP":"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.ALREADY_MEMBER_TOOLTIP"}updateVoNames(){this.displayedColumns.includes("vo")&&(this.groups.forEach(M=>{this.voIds.has(M.voId)||this.voIds.add(M.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(M=>{M.forEach(re=>{this.voNames.set(re.id,re.name)})}))}changeExpiration(M){const re=M.attributes.find(pt=>"groupMembershipExpiration"===pt.baseFriendlyName),et=(0,A.kZ)();et.width="400px",et.data={memberId:this.memberId,groupId:M.id,expirationAttr:re,mode:"group",status:this.memberGroupStatus},this.dialog.open(s.u3,et).afterClosed().subscribe(pt=>{pt&&this.refreshTable.emit()})}canManageGroup(M){return this.authResolver.isThisGroupAdmin(M.id)||this.authResolver.isThisVoAdmin(M.voId)}getStatusAttribute(M){return M.attributes.find(re=>"groupStatus"===re.baseFriendlyName).value.toString()}}return u.\u0275fac=function(M){return new(M||u)(e.Y36(E.uw),e.Y36(b.x4),e.Y36(m.YF),e.Y36(b.UA),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(M,re){if(1&M&&(e.Gf(f.YE,7),e.Gf(A.l9,7)),2&M){let et;e.iGM(et=e.CRH())&&(re.matSort=et.first),e.iGM(et=e.CRH())&&(re.child=et.first)}},hostBindings:function(M,re){1&M&&e.NdJ("resize",function(yt){return re.shouldHideButtons(yt)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",selection:"selection",displayedColumns:"displayedColumns",disableMembers:"disableMembers",disableGroups:"disableGroups",groupsToDisableCheckbox:"groupsToDisableCheckbox",groupsToDisableRouting:"groupsToDisableRouting",filter:"filter",disableHeadCheckbox:"disableHeadCheckbox",parentGroup:"parentGroup",disableRouting:"disableRouting",authType:"authType",memberId:"memberId",memberGroupStatus:"memberGroupStatus",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",resourceId:"resourceId",tableId:"tableId"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:40,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","vo"],["matColumnDef","indirectGroupAssigment"],["matColumnDef","name"],["matColumnDef","status"],["class","wrap-content","mat-cell","",4,"matCellDef"],["matColumnDef","groupStatus"],["matColumnDef","description"],["matColumnDef","expiration"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],["mat-cell","",1,"wrap-content"],[3,"theme","groupId","resourceId","failureCause","status","mouseenter","mouseleave","statusChange"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip"],["mat-icon-button","",3,"click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"click","mouseenter","mouseleave"],[3,"disabled","displayButtons","group","mouseenter","mouseleave","moveGroup","changeNameDescription","syncGroup"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(M,re){1&M&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(yt){return re.exportData(yt)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Ne,2,1,"th",4),e.YNc(5,Fe,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,ne,3,3,"th",7),e.YNc(8,Me,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ve,1,0,"th",10),e.YNc(11,me,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,Te,3,3,"th",7),e.YNc(14,ee,2,1,"td",8),e.BQk(),e.ynx(15,13),e.YNc(16,R,1,0,"th",10),e.YNc(17,He,3,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,fe,3,3,"th",7),e.YNc(20,Ce,2,2,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,Ve,3,3,"th",7),e.YNc(23,Xe,2,5,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,tt,3,3,"th",7),e.YNc(26,rt,6,9,"td",11),e.BQk(),e.ynx(27,18),e.YNc(28,N,3,3,"th",7),e.YNc(29,he,2,1,"td",16),e.BQk(),e.ynx(30,19),e.YNc(31,D,3,3,"th",7),e.YNc(32,I,5,6,"td",16),e.BQk(),e.ynx(33,20),e.YNc(34,P,1,0,"th",10),e.YNc(35,i,2,3,"td",11),e.BQk(),e.YNc(36,r,1,0,"tr",21),e.YNc(37,o,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(38,t,3,3,"app-alert",23),e.YNc(39,n,3,3,"app-alert",23)),2&M&&(e.Q6J("hidden",0===re.groups.length||!re.dataSource||0===re.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",re.dataSource.filteredData.length)("pageSizeOptions",re.pageSizeOptions)("tableId",re.tableId),e.xp6(1),e.Q6J("dataSource",re.dataSource),e.xp6(34),e.Q6J("matHeaderRowDef",re.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",re.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===re.groups.length),e.xp6(1),e.Q6J("ngIf",0===re.dataSource.filteredData.length&&0!==re.groups.length))},directives:[h.l,g.BZ,f.YE,g.w1,g.fO,g.ge,O.O5,k.oG,g.Dz,g.ev,L.gM,f.nU,V.W,$.Hw,ue.x,ce.lW,Le.i,g.as,g.XQ,g.nj,g.Gk,de.YH,ke.rH,ae.w],pipes:[j.X$,H.u,Q.f,te.M,se],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),u})()},58956:(Ke,be,d)=>{"use strict";d.d(be,{I:()=>Fe});var e=d(5e3),f=d(90149),g=d(28258),T=d(20449);class m{constructor(Me){this.id=Me.id,this.name=Me.name,this.parentGroupId=Me.parentGroupId,this.voId=Me.voId,this.shortName=Me.shortName,this.description=Me.description,this.attributes=Me.attributes,this.beanName=Me.beanName}addChild(Me){null==this.children?this.children=[Me]:this.children.push(Me)}}var A=d(9244),s=d(84379),b=d(36908),O=d(48966),E=d(69808),h=d(53435),k=d(77446),L=d(30325),V=d(47423),$=d(25245),ue=d(29772),ce=d(13449),Le=d(98380),de=d(51062);const ke=["scrollViewport"];function ae(ne,Me){if(1&ne){const ve=e.EpF();e.TgZ(0,"mat-checkbox",19),e.NdJ("change",function(){e.CHM(ve);const Te=e.oxw().$implicit;return e.oxw(2).itemSelectionToggle(Te)}),e.qZA()}if(2&ne){const ve=e.oxw().$implicit,me=e.oxw(2);e.Q2q("data-cy","",ve.name,"-checkbox"),e.Q6J("disabled","members"===ve.fullName)("checked",me.selection.isSelected(ve))("indeterminate",me.descendantsPartiallySelected(ve))}}function j(ne,Me){if(1&ne&&(e.TgZ(0,"mat-icon",20),e._uU(1),e.qZA()),2&ne){const ve=e.oxw().$implicit,me=e.oxw(2);e.xp6(1),e.hij(" ",me.treeControl.isExpanded(ve)?"expand_more":"chevron_right"," ")}}function H(ne,Me){if(1&ne&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&ne){const ve=e.oxw().$implicit;e.xp6(1),e.hij(" #",ve.id," ")}}const Q=function(ne,Me){return["/organizations",ne,"groups",Me]};function te(ne,Me){if(1&ne){const ve=e.EpF();e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,ae,1,4,"mat-checkbox",7),e.TgZ(3,"a",8),e.TgZ(4,"button",9),e.NdJ("mouseenter",function(){return e.CHM(ve),e.oxw(2).disableRouting=!0})("mouseleave",function(){return e.CHM(ve),e.oxw(2).disableRouting=!1})("click",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).treeControl.toggle(ee)}),e.YNc(5,j,2,1,"mat-icon",10),e.qZA(),e.TgZ(6,"div",11),e.TgZ(7,"span",12),e._uU(8),e.qZA(),e.YNc(9,H,2,1,"span",13),e.qZA(),e.TgZ(10,"div",14,15),e.TgZ(12,"span",16),e._uU(13),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"div",17),e.TgZ(15,"perun-web-apps-group-menu",18),e.NdJ("moveGroup",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).onMoveGroup(ee)})("syncGroup",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).onSyncDetail(ee)})("changeNameDescription",function(){const ee=e.CHM(ve).$implicit;return e.oxw(2).onChangeNameDescription(ee)}),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&ne){const ve=Me.$implicit,me=e.oxw(2);e.xp6(1),e.Udp("padding-left",24*ve.level+"px"),e.xp6(1),e.Q6J("ngIf",!me.hideCheckbox),e.xp6(1),e.Q6J("routerLink",me.disableRouting?null:e.WLB(15,Q,ve.voId,ve.id)),e.xp6(1),e.Q6J("disabled",!ve.expandable),e.uIk("aria-label","toggle "+ve.name),e.xp6(1),e.Q6J("ngIf",ve.expandable),e.xp6(2),e.uIk("data-cy",ve.name),e.xp6(1),e.hij(" ",ve.name," "),e.xp6(1),e.Q6J("ngIf",me.authResolver.isPerunAdminOrObserver()),e.xp6(3),e.s9C("matTooltip",ve.description),e.xp6(1),e.hij(" ",ve.description," "),e.xp6(2),e.Q6J("disabled","members"===ve.fullName)("displayButtons",me.displayButtons)("group",ve)}}const se=function(ne){return{height:ne}};function ge(ne,Me){if(1&ne&&(e.TgZ(0,"div",2),e.TgZ(1,"cdk-virtual-scroll-viewport",3,4),e.YNc(3,te,16,18,"ng-container",5),e.qZA(),e.qZA()),2&ne){const ve=e.oxw();e.xp6(1),e.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",e.VKq(4,se,ve.getTreeViewHeight())),e.xp6(2),e.Q6J("cdkVirtualForOf",ve.dataSource)}}function Ne(ne,Me){1&ne&&(e.TgZ(0,"app-alert",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ne&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Fe=(()=>{class ne{constructor(ve,me,Te){this.cd=ve,this.dialog=me,this.authResolver=Te,this.transformer=(ee,R)=>({expandable:!!ee.children&&ee.children.length>0,name:ee.shortName,fullName:ee.name,parentGroupId:ee.parentGroupId,level:R,id:ee.id,voId:ee.voId,attributes:ee.attributes,beanName:ee.beanName,description:ee.description}),this.displayButtons=window.innerWidth>600,this.theme="group-theme",this.moveGroup=new e.vpe,this.refreshTable=new e.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new T.Ov(!0,[]),this.hideCheckbox=!1,this.treeControl=new g.C2(ee=>ee.level,ee=>ee.expandable),this.treeFlattener=new f.JZ(this.transformer,ee=>ee.level,ee=>ee.expandable,ee=>ee.children),this.dataSource=new f.kc(this.treeControl,this.treeFlattener),this.hasChild=(ee,R)=>R.expandable,this.getLevel=ee=>ee.level}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(ve=>{var me,Te;return(null===(me=ve.name)||void 0===me?void 0:me.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(Te=ve.description)||void 0===Te?void 0:Te.toLowerCase().includes(this.filterValue.toLowerCase()))||ve.id.toString().includes(this.filterValue.toLowerCase())||ve.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const ve of this.filteredGroups)ve.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,A.oU)(ve.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(ve){const me=(0,A.kZ)();me.data={groupId:ve.id,theme:this.theme},this.dialog.open(s.Bp,me)}onChangeNameDescription(ve){const me=(0,A.kZ)();me.data={theme:"group-theme",group:ve,dialogType:s.Eg.GROUP},this.dialog.open(s.rd,me).afterClosed().subscribe(ee=>{ee&&this.refreshTable.emit()})}createGroupTrees(ve){const me=new Map;for(const R of ve)me.set(R.id,new m(R));const Te=new Set;me.forEach((R,Oe,Ie)=>{const He=Ie.get(R.parentGroupId);void 0!==He&&(He.addChild(R),Ie.set(R.parentGroupId,He)),null!==R.parentGroupId&&void 0===He&&Te.add(R.id)});const ee=[];me.forEach(R=>{(null===R.parentGroupId||Te.has(R.id))&&ee.push(R)}),this.dataSource.data=ee,this.cd.detectChanges()}getParentNode(ve){const me=this.getLevel(ve);if(me<1)return null;for(let ee=this.treeControl.dataNodes.indexOf(ve)-1;ee>=0;ee--){const R=this.treeControl.dataNodes[ee];if(this.getLevel(R)this.selection.isSelected(R));me&&!ee&&this.selection.deselect(ve)}checkAllParentsSelection(ve){let me=this.getParentNode(ve);for(;me;)this.checkRootNodeSelection(me),me=this.getParentNode(me);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(ve){return this.treeControl.getDescendants(ve).some(ee=>this.selection.isSelected(ee))&&!this.selection.isSelected(ve)}itemSelectionToggle(ve){this.selection.toggle(ve);const me=this.treeControl.getDescendants(ve);this.selection.isSelected(ve)?this.selection.select(...me):this.selection.deselect(...me),me.every(Te=>this.selection.isSelected(Te)),this.checkAllParentsSelection(ve)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(ve,me)=>ve&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,me]):(ve,me)=>ve&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[me]),!0)}onMoveGroup(ve){this.moveGroup.emit(ve)}getTreeViewHeight(){let ve=0;this.scrollViewport&&(ve=this.scrollViewport.getDataLength());let me=48*ve;return me>672&&(me=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),me+"px"}}return ne.\u0275fac=function(ve){return new(ve||ne)(e.Y36(e.sBO),e.Y36(O.uw),e.Y36(b.x4))},ne.\u0275cmp=e.Xpm({type:ne,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(ve,me){if(1&ve&&e.Gf(ke,5),2&ve){let Te;e.iGM(Te=e.CRH())&&(me.scrollViewport=Te.first)}},hostBindings:function(ve,me){1&ve&&e.NdJ("resize",function(ee){return me.shouldHideButtons(ee)},!1,e.Jf7)},inputs:{theme:"theme",groups:"groups",filterValue:"filterValue",expandAll:"expandAll",disableRouting:"disableRouting",selection:"selection",hideCheckbox:"hideCheckbox",vo:"vo"},outputs:{moveGroup:"moveGroup",refreshTable:"refreshTable"},features:[e.TTD],decls:2,vars:2,consts:[["class","card mt-2",4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"card","mt-2"],["itemSize","48",1,"virtual-scroll-container",3,"minBufferPx","maxBufferPx","ngStyle"],["scrollViewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"node"],["color","primary","class","no-label-margin-bottom ml-4",3,"disabled","checked","indeterminate","change",4,"ngIf"],["queryParamsHandling","merge",1,"group-item-content","text-format",3,"routerLink"],["mat-icon-button","",3,"disabled","mouseenter","mouseleave","click"],["class","mat-icon-rtl-mirror",4,"ngIf"],[1,"w-50"],[1,"mr-2"],["class","text-muted",4,"ngIf"],[1,"w-50","text-muted","description-text"],["rootDescription",""],["matTooltipPosition","before",3,"matTooltip"],[1,"group-buttons"],[3,"disabled","displayButtons","group","moveGroup","syncGroup","changeNameDescription"],["color","primary",1,"no-label-margin-bottom","ml-4",3,"disabled","checked","indeterminate","change"],[1,"mat-icon-rtl-mirror"],[1,"text-muted"],["alert_type","warn"]],template:function(ve,me){1&ve&&(e.YNc(0,ge,4,6,"div",0),e.YNc(1,Ne,3,3,"app-alert",1)),2&ve&&(e.Q6J("ngIf",0!==me.filteredGroups.length),e.xp6(1),e.Q6J("ngIf",0===me.filteredGroups.length))},directives:[E.O5,h.N7,h.xd,E.PC,h.x0,k.oG,L.yS,V.lW,$.Hw,ue.gM,ce.i,Le.w],pipes:[de.X$],styles:[".group-tree-node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.group-item-content[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;overflow:hidden;word-wrap:break-word}mat-tree-node[_ngcontent-%COMP%]{cursor:pointer}.description-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.virtual-scroll-container[_ngcontent-%COMP%]{overflow:auto}cdk-tree-node[_ngcontent-%COMP%]{display:block}.node[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word;cursor:pointer}.node[_ngcontent-%COMP%]:hover{background-color:#0000000d}.text-format[_ngcontent-%COMP%]{text-decoration:none;color:#000;font-weight:400!important}"]}),ne})()},52314:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>L});var e=d(9315),f=d(36908),g=d(5e3),T=d(51062),m=d(69808),A=d(47423),s=d(92181),b=d(29772),O=d(25245);const E=function(V){return{color:V}};function h(V,$){if(1&V&&(g.TgZ(0,"button",8),g.ALo(1,"translate"),g.TgZ(2,"mat-icon",4),g._uU(3," apps "),g.qZA(),g.qZA()),2&V){const ue=g.oxw(),ce=g.MAs(2);g.Q6J("matMenuTriggerFor",ce)("matTooltip",g.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),g.xp6(2),g.Q6J("ngStyle",g.VKq(5,E,ue.iconColor))}}function k(V,$){if(1&V){const ue=g.EpF();g.TgZ(0,"button",2),g.NdJ("click",function(){return g.CHM(ue),g.oxw().onLogOut()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&V&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"NAV.LOGOUT")," "))}let L=(()=>{class V{constructor(ue,ce,Le,de){this.authService=ue,this.authzResolverService=ce,this.notificator=Le,this.translateService=de}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return V.\u0275fac=function(ue){return new(ue||V)(g.Y36(f.e8),g.Y36(e.Ct),g.Y36(f.V6),g.Y36(T.sK))},V.\u0275cmp=g.Xpm({type:V,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(ue,ce){if(1&ue&&(g.YNc(0,h,4,7,"button",0),g.TgZ(1,"mat-menu",null,1),g.TgZ(3,"button",2),g.NdJ("click",function(){return ce.redirectToUrl()}),g.TgZ(4,"span"),g._uU(5),g.qZA(),g.qZA(),g.qZA(),g.TgZ(6,"button",3),g.TgZ(7,"mat-icon",4),g._uU(8," person "),g.qZA(),g.TgZ(9,"span",5),g._uU(10),g.qZA(),g.qZA(),g.TgZ(11,"mat-menu",null,6),g.YNc(13,k,3,3,"button",7),g.qZA()),2&ue){const Le=g.MAs(12);g.Q6J("ngIf",ce.url),g.xp6(5),g.Oqu(ce.label),g.xp6(1),g.Q6J("matMenuTriggerFor",Le),g.xp6(1),g.Q6J("ngStyle",g.VKq(11,E,ce.iconColor)),g.xp6(2),g.Q6J("ngStyle",g.VKq(13,E,ce.textColor)),g.xp6(1),g.xDo(" ",ce.user.titleBefore," ",ce.user.firstName," ",ce.user.middleName," ",ce.user.lastName," ",ce.user.titleAfter," "),g.xp6(3),g.Q6J("ngIf",ce.logoutEnabled)}},directives:[m.O5,A.lW,s.p6,b.gM,O.Hw,m.PC,s.VK,s.OP],pipes:[T.X$],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),V})()},7434:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>E});var e=d(5e3),f=d(93075),g=d(67322),T=d(69808),m=d(98833),A=d(50301),s=d(51062);function b(h,k){if(1&h&&(e._UZ(0,"input",3),e.ALo(1,"translate")),2&h){const L=e.oxw();e.s9C("placeholder",e.lcZ(1,2,L.placeholder)),e.Q6J("formControl",L.formControl)}}function O(h,k){if(1&h&&(e._UZ(0,"input",4),e.ALo(1,"translate")),2&h){const L=e.oxw();e.s9C("placeholder",e.lcZ(1,2,L.placeholder)),e.Q6J("formControl",L.formControl)}}let E=(()=>{class h{constructor(){this.filter=new e.vpe,this.autoFocus=!1,this.formControl=new f.NI}ngOnInit(){this.formControl.valueChanges.subscribe(L=>{let V=L.trim();V=V.toLowerCase(),this.filter.emit(V)})}}return h.\u0275fac=function(L){return new(L||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(L,V){1&L&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,b,2,4,"input",1),e.YNc(2,O,2,4,"input",2),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",V.autoFocus),e.xp6(1),e.Q6J("ngIf",!V.autoFocus))},directives:[g.KE,T.O5,m.Nt,f.Fj,A.hT,f.JJ,f.oH],pipes:[s.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),h})()},4811:(Ke,be,d)=>{"use strict";d.d(be,{m:()=>i});var e=d(84847),f=d(9244),g=d(84379),T=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(48966),O=d(10036),E=d(18750),h=d(69808),k=d(20773),L=d(32075),V=d(77446),$=d(25245),ue=d(29772),ce=d(50301),Le=d(30325),de=d(98380),ke=d(51062),ae=d(31359),j=d(69773),H=d(12856),Q=d(21757),te=d(96974),se=d(20919),ge=d(5865);function Ne(r,p){1&r&&(s.TgZ(0,"div",22),s._UZ(1,"mat-spinner",23),s.qZA())}function Fe(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"th",24),s.TgZ(1,"mat-checkbox",25),s.NdJ("change",function(n){s.CHM(o);const c=s.oxw();return n?c.masterToggle():null}),s.qZA(),s.qZA()}if(2&r){const o=s.oxw();s.xp6(1),s.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function ne(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",26),s.TgZ(1,"mat-checkbox",27),s.NdJ("change",function(n){const u=s.CHM(o).$implicit,y=s.oxw();return n?y.selection.toggle(u):null})("click",function(n){return n.stopPropagation()}),s.ALo(2,"lowercase"),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit,t=s.oxw();s.xp6(1),s.Q2q("data-cy","",s.lcZ(2,3,o.user.firstName),"-checkbox"),s.Q6J("aria-label",t.checkboxLabel(o))("checked",t.selection.isSelected(o))}}function Me(r,p){1&r&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ID")))}function ve(r,p){if(1&r&&(s.TgZ(0,"td",29),s._uU(1),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(o.id)}}function me(r,p){1&r&&s._UZ(0,"th",28)}function Te(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"mat-icon",32),s.NdJ("click",function(n){s.CHM(o);const c=s.oxw().$implicit;return s.oxw().viewMemberGroupTree(n,c)}),s.ALo(1,"translate"),s._uU(2,"transfer_within_a_station"),s.qZA()}2&r&&s.Q6J("matTooltip",s.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function ee(r,p){if(1&r&&(s.TgZ(0,"td",30),s.YNc(1,Te,3,3,"mat-icon",31),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Q6J("ngIf","DIRECT"!==o.membershipType)}}function R(r,p){1&r&&(s.TgZ(0,"th",28),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function Oe(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o.user))}}function Ie(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function He(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(n){const u=s.CHM(o).$implicit;return s.oxw().changeStatus(n,u)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,o.status),""),s.s9C("matTooltip",s.xi3(3,7,o,!1)),s.xp6(4),s.hij(" ",s.lcZ(6,10,o.status)," ")}}function fe(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function Ce(r,p){if(1&r){const o=s.EpF();s.TgZ(0,"td",30),s.TgZ(1,"i",34),s.NdJ("click",function(n){const u=s.CHM(o).$implicit,y=s.oxw();return y.changeStatus(n,u,y.groupId)}),s.ALo(2,"memberStatusIconColor"),s.ALo(3,"memberStatusTooltip"),s.TgZ(4,"span"),s._uU(5),s.ALo(6,"memberStatusIcon"),s.qZA(),s.qZA(),s.qZA()}if(2&r){const o=p.$implicit;s.xp6(1),s.Gre("material-icons ",s.lcZ(2,5,o.groupStatus),""),s.s9C("matTooltip",s.xi3(3,7,o,!0)),s.xp6(4),s.hij(" ",s.lcZ(6,10,o.groupStatus)," ")}}function Ve(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Xe(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberOrganization"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function tt(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function rt(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberEmail"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function N(r,p){1&r&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function he(r,p){if(1&r&&(s.TgZ(0,"td",30),s._uU(1),s.ALo(2,"memberLogins"),s.qZA()),2&r){const o=p.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,o))}}function D(r,p){1&r&&s._UZ(0,"tr",35)}const S=function(r,p){return["/organizations",r,"members",p]};function I(r,p){if(1&r&&s._UZ(0,"tr",36),2&r){const o=p.$implicit,t=s.oxw();s.ekj("cursor-pointer",t.dataSource.routeAuth)("italic_font","INDIRECT"===o.membershipType)("disable-outline",!t.dataSource.routeAuth),s.Q6J("perunWebAppsMiddleClickRouterLink",t.dataSource.routeAuth?s.WLB(8,S,o.voId,o.id):null)("routerLink",t.dataSource.routeAuth?s.WLB(11,S,o.voId,o.id):null)}}function P(r,p){1&r&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&r&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let i=(()=>{class r{constructor(o,t,n,c,u){this.dialog=o,this.authResolver=t,this.tableCheckbox=n,this.tableConfigService=c,this.dynamicPaginatingService=u,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.selectedGroupStatuses=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadMembers(this.voId,this.attrNames,"ASCENDING",0,this.tableConfigService.getTablePageSize(this.tableId),"NAME",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadMembersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(o=>this.selection.select(o))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(o,t,n){o.stopPropagation();const c=(0,f.kZ)();c.width="500px",c.data={member:t,voId:this.voId,groupId:n};const u=n?t.groupStatus:t.status;this.dialog.open(g.pf,c).afterClosed().subscribe(M=>{if(M){const re=n?M.groupStatus:M.status;"VALID"===u&&("EXPIRED"===re||"DISABLED"===re)||"VALID"===re?(n?t.groupStatus=re:t.status=re,this.changeExpiration(t,n)):this.loadMembersPage()}})}changeExpiration(o,t){const n=o.memberAttributes.find(t?y=>"groupMembershipExpiration"===y.friendlyName:y=>"membershipExpiration"===y.friendlyName),c=(0,f.kZ)();let u;c.width="400px",c.data={voId:this.voId,groupId:t,memberId:o.id,expirationAttr:n,status:t?o.groupStatus:o.status,statusChanged:!0},u=this.dialog.open(t?g.u3:g.kZ,c),u.afterClosed().subscribe(()=>{this.loadMembersPage()})}loadMembersPage(){this.dataSource.loadMembers(this.voId,this.attrNames,"asc"===this.sort.direction?"ASCENDING":"DESCENDING",this.child.paginator.pageIndex,this.child.paginator.pageSize,"fullName"===this.sort.active?"NAME":"ID",this.selectedStatuses,this.searchString,this.groupId,this.selectedGroupStatuses)}exportData(o){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),o)}getExportDataForColumn(o,t){switch(t){case"id":return o.id.toString();case"fullName":return o.user?(0,f.bD)(o.user):"";case"status":return o.status;case"groupStatus":return o.groupStatus;case"organization":return(0,f.Gw)(o);case"email":return(0,f.g$)(o);case"logins":return(0,f.lt)(o);default:return""}}viewMemberGroupTree(o,t){o.stopPropagation();const n=(0,f.kZ)();n.width="800px",n.data={member:t,groupId:this.groupId},this.dialog.open(g.jd,n)}}return r.\u0275fac=function(o){return new(o||r)(s.Y36(b.uw),s.Y36(T.x4),s.Y36(T.UA),s.Y36(O.dB),s.Y36(T.ly))},r.\u0275cmp=s.Xpm({type:r,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(o,t){if(1&o&&(s.Gf(f.l9,7),s.Gf(e.YE,5)),2&o){let n;s.iGM(n=s.CRH())&&(t.child=n.first),s.iGM(n=s.CRH())&&(t.sort=n.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",tableId:"tableId",updateTable:"updateTable"},features:[s.TTD],decls:37,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","groupStatus"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","italic_font","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click",4,"ngIf"],[3,"matTooltip","click"],["mat-header-cell",""],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(o,t){1&o&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(c){return t.exportData(c)}),s.YNc(3,Ne,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,Fe,2,3,"th",5),s.YNc(8,ne,3,5,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,Me,3,3,"th",8),s.YNc(11,ve,2,1,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,me,1,0,"th",8),s.YNc(14,ee,2,1,"td",11),s.BQk(),s.ynx(15,12),s.YNc(16,R,3,3,"th",8),s.YNc(17,Oe,3,3,"td",11),s.BQk(),s.ynx(18,13),s.YNc(19,Ie,3,3,"th",14),s.YNc(20,He,7,12,"td",11),s.BQk(),s.ynx(21,15),s.YNc(22,fe,3,3,"th",14),s.YNc(23,Ce,7,12,"td",11),s.BQk(),s.ynx(24,16),s.YNc(25,Ve,3,3,"th",14),s.YNc(26,Xe,3,3,"td",11),s.BQk(),s.ynx(27,17),s.YNc(28,tt,3,3,"th",14),s.YNc(29,rt,3,3,"td",11),s.BQk(),s.ynx(30,18),s.YNc(31,N,3,3,"th",14),s.YNc(32,he,3,3,"td",11),s.BQk(),s.YNc(33,D,1,0,"tr",19),s.YNc(34,I,1,14,"tr",20),s.qZA(),s.qZA(),s.qZA(),s.YNc(35,P,3,3,"app-alert",21),s.ALo(36,"async")),2&o&&(s.Q6J("hidden",0===t.dataSource.allObjectCount&&!1===s.lcZ(1,9,t.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",t.tableId)("dataLength",t.dataSource.allObjectCount)("pageSizeOptions",t.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,t.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",t.dataSource),s.xp6(28),s.Q6J("matHeaderRowDef",t.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",t.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===t.dataSource.allObjectCount&&!1===s.lcZ(36,13,t.dataSource.loading$)))},directives:[E.l,h.O5,k.$g,L.BZ,e.YE,L.w1,L.fO,L.ge,V.oG,L.Dz,L.ev,e.nU,$.Hw,ue.gM,L.as,L.XQ,L.nj,L.Gk,ce.YH,Le.rH,de.w],pipes:[h.Ov,h.i8,ke.X$,ae.d,j.u,H.i,Q.f,te.M,se.D,ge.p],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),r})()},38383:(Ke,be,d)=>{"use strict";d.d(be,{O:()=>i});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9244),A=d(84379),s=d(36908),b=d(48966),O=d(30325),E=d(18750),h=d(77446),k=d(29772),L=d(69808),V=d(25245),$=d(50301),ue=d(98380),ce=d(51062),Le=d(31359),de=d(69773),ke=d(12856),ae=d(21757),j=d(96974),H=d(20919),Q=d(5865);function te(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"th",24),e.TgZ(1,"mat-checkbox",25),e.NdJ("change",function(n){e.CHM(o);const c=e.oxw();return n?c.masterToggle():null}),e.qZA(),e.qZA()}if(2&r){const o=e.oxw();e.xp6(1),e.Q6J("aria-label",o.checkboxLabel())("checked",o.selection.hasValue()&&o.isAllSelected())("indeterminate",o.selection.hasValue()&&!o.isAllSelected())}}function se(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",26),e.TgZ(1,"mat-checkbox",27),e.NdJ("change",function(n){const u=e.CHM(o).$implicit,y=e.oxw();return n?y.selection.toggle(u):null})("click",function(n){return n.stopPropagation()}),e.ALo(2,"translate"),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit,t=e.oxw();e.xp6(1),e.Q6J("aria-label",t.checkboxLabel(o))("checked",t.selection.isSelected(o))("disabled","DIRECT"!==o.membershipType)("matTooltip","DIRECT"!==o.membershipType?e.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function ge(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.ID")))}function Ne(r,p){if(1&r&&(e.TgZ(0,"td",29),e._uU(1),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(o.id)}}function Fe(r,p){1&r&&e._UZ(0,"th",28)}function ne(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"mat-icon",32),e.NdJ("click",function(){e.CHM(o);const n=e.oxw().$implicit;return e.oxw().viewMemberGroupTree(n)})("mouseenter",function(){return e.CHM(o),e.oxw(2).disableRouting=!0})("mouseleave",function(){e.CHM(o);const n=e.oxw(2);return n.disableRouting=n.disabledRouting}),e.ALo(1,"translate"),e._uU(2,"transfer_within_a_station"),e.qZA()}2&r&&e.Q6J("matTooltip",e.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function Me(r,p){if(1&r&&(e.TgZ(0,"td",30),e.YNc(1,ne,3,3,"mat-icon",31),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Q6J("ngIf","DIRECT"!==o.membershipType)}}function ve(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function me(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o.user))}}function Te(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.STATUS")," "))}function ee(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(n){const u=e.CHM(o).$implicit;return e.oxw().changeStatus(n,u)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,o.status),""),e.s9C("matTooltip",e.xi3(3,7,o,!1)),e.xp6(4),e.hij(" ",e.lcZ(6,10,o.status)," ")}}function R(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")," "))}function Oe(r,p){if(1&r){const o=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"i",33),e.NdJ("click",function(n){const u=e.CHM(o).$implicit;return e.oxw().changeStatus(n,u)}),e.ALo(2,"memberStatusIconColor"),e.ALo(3,"memberStatusTooltip"),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"memberStatusIcon"),e.qZA(),e.qZA(),e.qZA()}if(2&r){const o=p.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,o.groupStatus),""),e.s9C("matTooltip",e.xi3(3,7,o,!0)),e.xp6(4),e.hij(" ",e.lcZ(6,10,o.groupStatus)," ")}}function Ie(r,p){1&r&&(e.TgZ(0,"th",34),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")," "))}function He(r,p){1&r&&(e.TgZ(0,"mat-icon"),e._uU(1,"check_circle_outline"),e.qZA())}function fe(r,p){if(1&r&&(e.TgZ(0,"td",35),e.YNc(1,He,2,0,"mat-icon",36),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Q6J("ngIf",o.sponsored)}}function Ce(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")," "))}function Ve(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberOrganization"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function Xe(r,p){1&r&&(e.TgZ(0,"th",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.EMAIL")," "))}function tt(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberEmail"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function rt(r,p){1&r&&(e.TgZ(0,"th",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function N(r,p){if(1&r&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"memberLogins"),e.qZA()),2&r){const o=p.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,o))}}function he(r,p){1&r&&e._UZ(0,"tr",38)}const D=function(r,p){return["/organizations",r,"members",p]};function S(r,p){if(1&r&&e._UZ(0,"tr",39),2&r){const o=p.$implicit,t=e.oxw();e.ekj("cursor-pointer",!t.disabledRouting)("disable-outline",t.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:e.WLB(6,D,o.voId,o.id))("routerLink",t.disableRouting?null:e.WLB(9,D,o.voId,o.id))}}function I(r,p){1&r&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function P(r,p){1&r&&(e.TgZ(0,"app-alert",40),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&r&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let i=(()=>{class r{constructor(o,t,n,c){this.dialog=o,this.authResolver=t,this.tableCheckbox=n,this.route=c,this.selection=new T.Ov,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.disableRouting=!1,this.filter="",this.updateTable=new e.vpe,this.pageSizeOptions=m.f7,this.canBeSelected=u=>"DIRECT"===u.membershipType}set matSort(o){this.sort=o}getSortDataForColumn(o,t,n){var c;switch(t){case"id":return o.id.toString();case"fullName":return o.user?o.user.lastName?o.user.lastName:null!==(c=o.user.firstName)&&void 0!==c?c:"":"";case"status":return n.showGroupStatuses?o.groupStatus:o.status;case"organization":return(0,m.Gw)(o);case"email":return(0,m.g$)(o);default:return""}}getFilterDataForColumn(o,t){switch(t){case"fullName":return o.user?(0,m.bD)(o.user):"";case"email":return(0,m.g$)(o);case"logins":return(0,m.lt)(o);default:return""}}getExportDataForColumn(o,t,n){switch(t){case"id":return o.id.toString();case"fullName":return o.user?(0,m.bD)(o.user):"";case"status":return n.showGroupStatuses?o.groupStatus:o.status;case"organization":return(0,m.Gw)(o);case"email":return(0,m.g$)(o);case"logins":return(0,m.lt)(o);default:return""}}exportData(o){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),o)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(o,t)=>(0,m.Sd)(o,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(o,t)=>(0,m.pR)(o,t,this.getSortDataForColumn,this)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(o=>"id"!==o))}ngOnChanges(){var o;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(o=this.route.parent)||void 0===o||o.params.subscribe(t=>{t.groupId&&(this.groupId=t.groupId)})}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(o){return o?`${this.selection.isSelected(o)?"deselect":"select"} row ${o.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(o,t){if(o.stopPropagation(),"INVALID"===t.status){const n=(0,m.kZ)();n.width="500px",n.data={member:t},this.dialog.open(A.pf,n).afterClosed().subscribe(u=>{u&&this.updateTable.emit(!0)})}}viewMemberGroupTree(o){const t=(0,m.kZ)();t.width="800px",t.data={member:o,groupId:this.groupId},this.dialog.open(A.jd,t)}}return r.\u0275fac=function(o){return new(o||r)(e.Y36(b.uw),e.Y36(s.x4),e.Y36(s.UA),e.Y36(O.gz))},r.\u0275cmp=e.Xpm({type:r,selectors:[["perun-web-apps-members-list"]],viewQuery:function(o,t){if(1&o&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&o){let n;e.iGM(n=e.CRH())&&(t.matSort=n.first),e.iGM(n=e.CRH())&&(t.child=n.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",filter:"filter"},outputs:{updateTable:"updateTable"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","fullName","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","fullName"],["matColumnDef","status"],["matColumnDef","groupStatus"],["matColumnDef","sponsored"],["class","center new-line","mat-header-cell","",4,"matHeaderCellDef"],["class","center","mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","matTooltip","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],[3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],[3,"matTooltip","click","mouseenter","mouseleave"],["matTooltipClass","status-tooltip","matTooltipPosition","left",3,"matTooltip","click"],["mat-header-cell","",1,"center","new-line"],["mat-cell","",1,"center"],[4,"ngIf"],["mat-header-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(o,t){1&o&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(c){return t.exportData(c)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,te,2,3,"th",4),e.YNc(5,se,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,ge,3,3,"th",7),e.YNc(8,Ne,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Fe,1,0,"th",7),e.YNc(11,Me,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,ve,3,3,"th",7),e.YNc(14,me,3,3,"td",10),e.BQk(),e.ynx(15,12),e.YNc(16,Te,3,3,"th",7),e.YNc(17,ee,7,12,"td",10),e.BQk(),e.ynx(18,13),e.YNc(19,R,3,3,"th",7),e.YNc(20,Oe,7,12,"td",10),e.BQk(),e.ynx(21,14),e.YNc(22,Ie,3,3,"th",15),e.YNc(23,fe,2,1,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,Ce,3,3,"th",7),e.YNc(26,Ve,3,3,"td",10),e.BQk(),e.ynx(27,18),e.YNc(28,Xe,3,3,"th",7),e.YNc(29,tt,3,3,"td",10),e.BQk(),e.ynx(30,19),e.YNc(31,rt,3,3,"th",20),e.YNc(32,N,3,3,"td",10),e.BQk(),e.YNc(33,he,1,0,"tr",21),e.YNc(34,S,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,I,3,3,"app-alert",23),e.YNc(36,P,3,3,"app-alert",23)),2&o&&(e.Q6J("hidden",0===t.members.length||!t.dataSource||0===t.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",t.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns),e.xp6(1),e.Q6J("ngIf",0!==t.members.length&&0===t.dataSource.filteredData.length),e.xp6(1),e.Q6J("ngIf",0===t.members.length))},directives:[E.l,g.BZ,f.YE,g.w1,g.fO,g.ge,h.oG,g.Dz,g.ev,k.gM,f.nU,L.O5,V.Hw,g.as,g.XQ,g.nj,g.Gk,$.YH,O.rH,ue.w],pipes:[ce.X$,Le.d,de.u,ke.i,ae.f,j.M,H.D,Q.p],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .status-tooltip{white-space:pre-line}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.center[_ngcontent-%COMP%]{text-align:center}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),r})()},22465:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>h});var e=d(5e3),f=d(36908),g=d(9244),T=d(84379),m=d(48966),A=d(69808),s=d(25245),b=d(51062);function O(k,L){if(1&k&&(e.TgZ(0,"div",5),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA(),e.qZA()),2&k){const V=e.oxw();e.xp6(2),e.Oqu(V.data.icon)}}function E(k,L){if(1&k&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&k){const V=e.oxw();e.xp6(1),e.hij(" ",V.showTimestamp()," ")}}let h=(()=>{class k{constructor(V,$){this.dialog=V,this.notificationStorageService=$,this.newNotification=!1,this.closeNotification=new e.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const V=(0,g.kZ)();V.width="550px",V.data=this.data,V.autoFocus=!1,this.dialog.open(T.FM,V).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){(0,g.ys)(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[V,$]=this.data.timeStamp.split(":");return $.length<2?V+":0"+$:this.data.timeStamp}}return k.\u0275fac=function(V){return new(V||k)(e.Y36(m.uw),e.Y36(f.SZ))},k.\u0275cmp=e.Xpm({type:k,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(V,$){1&V&&(e.TgZ(0,"div"),e.TgZ(1,"div",0),e.NdJ("click",function(){return $.alreadyClosed||$.waiting?"":$.closeSelf()}),e.YNc(2,O,3,1,"div",1),e.TgZ(3,"div",2),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,E,2,1,"div",3),e.TgZ(7,"div",4),e.NdJ("click",function(){return $.waiting=!0,$.doAction()}),e._uU(8),e.qZA(),e.qZA(),e.qZA()),2&V&&(e.Gre("notification ",$.inDialog?"":"mat-elevation-z7",""),e.ekj("error","error"===$.data.type)("success","success"===$.data.type),e.xp6(2),e.Q6J("ngIf",null!==$.data.icon),e.xp6(2),e.hij(" ",e.lcZ(5,12,$.data.title)," "),e.xp6(2),e.Q6J("ngIf",$.inDialog),e.xp6(1),e.Q6J("hidden",$.alreadyPressed),e.xp6(1),e.hij(" ",$.data.actionText," "))},directives:[A.O5,s.Hw],pipes:[b.X$],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),k})()},41619:(Ke,be,d)=>{"use strict";d.d(be,{$:()=>me});var e=d(36908),f=d(9315),g=d(5e3),T=d(48966),m=d(51062),A=d(67322),s=d(98833),b=d(93075),O=d(69808),E=d(47423);function h(Te,ee){1&Te&&(g.TgZ(0,"mat-error"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&Te&&(g.xp6(1),g.Oqu(g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let k=(()=>{class Te{constructor(R,Oe,Ie,He,fe){this.dialogRef=R,this.translate=Oe,this.notificator=Ie,this.rtMessages=He,this.storeService=fe,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(R=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+R.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+d(4147).i8}close(){this.dialogRef.close()}}return Te.\u0275fac=function(R){return new(R||Te)(g.Y36(T.so),g.Y36(m.sK),g.Y36(e.V6),g.Y36(f.Hr),g.Y36(e.d6))},Te.\u0275cmp=g.Xpm({type:Te,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(R,Oe){if(1&R&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g.TgZ(4,"mat-form-field"),g.TgZ(5,"mat-label"),g._uU(6),g.ALo(7,"translate"),g.qZA(),g.TgZ(8,"input",2,3),g.NdJ("ngModelChange",function(He){return Oe.subject=He}),g.qZA(),g.YNc(10,h,3,3,"mat-error",4),g.qZA(),g.TgZ(11,"mat-form-field"),g.TgZ(12,"mat-label"),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.TgZ(15,"textarea",5),g.NdJ("ngModelChange",function(He){return Oe.message=He}),g.ALo(16,"translate"),g._uU(17," "),g.qZA(),g.TgZ(18,"mat-hint"),g._uU(19),g.ALo(20,"translate"),g.qZA(),g.qZA(),g.qZA(),g.TgZ(21,"div",6),g.TgZ(22,"div",7),g.TgZ(23,"button",8),g.NdJ("click",function(){return Oe.close()}),g._uU(24),g.ALo(25,"translate"),g.qZA(),g.TgZ(26,"button",9),g.NdJ("click",function(){return Oe.sendBugReport()}),g._uU(27),g.ALo(28,"translate"),g.qZA(),g.qZA(),g.qZA()),2&R){const Ie=g.MAs(9);g.xp6(1),g.Oqu(g.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),g.xp6(5),g.Oqu(g.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),g.xp6(2),g.Q6J("ngModel",Oe.subject),g.xp6(2),g.Q6J("ngIf",Ie.invalid),g.xp6(3),g.Oqu(g.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),g.xp6(2),g.s9C("placeholder",g.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),g.Q6J("ngModel",Oe.message),g.xp6(4),g.Oqu(g.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),g.xp6(5),g.hij(" ",g.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),g.xp6(2),g.Q6J("disabled",Ie.invalid),g.xp6(1),g.hij(" ",g.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[T.uh,T.xY,A.KE,A.hX,s.Nt,b.Fj,b.Q7,b.JJ,b.On,O.O5,A.TO,A.bx,T.H8,E.lW],pipes:[m.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Te})();var L=d(9244);let V=(()=>{class Te{transform(R,Oe,Ie){return R[`${Ie}_${Oe}`]}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"localisedText",type:Te,pure:!0}),Te})(),$=(()=>{class Te{transform(R,Oe){return R["link_"+Oe]||R.link_en}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"localisedLink",type:Te,pure:!0}),Te})(),ue=(()=>{class Te{transform(R){return R.includes("/")?R:"/assets/config/"+R}}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275pipe=g.Yjl({name:"footerLogoPath",type:Te,pure:!0}),Te})();function ce(Te,ee){if(1&Te&&(g.TgZ(0,"a",13),g.ALo(1,"localisedLink"),g._UZ(2,"img",14),g.ALo(3,"footerLogoPath"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("href",g.xi3(1,2,R,Oe.language),g.LSH),g.xp6(2),g.s9C("src",g.lcZ(3,5,R.logo),g.LSH)}}function Le(Te,ee){if(1&Te&&(g.TgZ(0,"span"),g._UZ(1,"img",14),g.ALo(2,"footerLogoPath"),g.qZA()),2&Te){const R=g.oxw().$implicit;g.xp6(1),g.s9C("src",g.lcZ(2,1,R.logo),g.LSH)}}function de(Te,ee){if(1&Te&&(g.TgZ(0,"div"),g.YNc(1,ce,4,7,"a",11),g.ALo(2,"localisedLink"),g.YNc(3,Le,3,3,"span",12),g.ALo(4,"localisedLink"),g.qZA()),2&Te){const R=ee.$implicit,Oe=g.oxw(3);g.xp6(1),g.Q6J("ngIf",g.xi3(2,2,R,Oe.language)),g.xp6(2),g.Q6J("ngIf",!g.xi3(4,5,R,Oe.language))}}const ke=function(Te){return{"min-height":Te}};function ae(Te,ee){if(1&Te&&(g.TgZ(0,"div",10),g.YNc(1,de,5,8,"div",5),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw();g.Q6J("ngStyle",g.VKq(2,ke,Oe.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",R.elements)}}const j=function(Te){return{color:Te}};function H(Te,ee){if(1&Te&&(g.TgZ(0,"i",20),g._uU(1),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(2,j,Oe.linksTextColor)),g.xp6(1),g.hij(" ",R.icon," ")}}function Q(Te,ee){if(1&Te){const R=g.EpF();g.TgZ(0,"span",21),g.NdJ("click",function(){g.CHM(R);const Ie=g.oxw().$implicit;return g.oxw(3).openDialog(Ie.dialog)}),g._uU(1),g.ALo(2,"localisedText"),g.qZA()}if(2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,j,Oe.linksTextColor)),g.xp6(1),g.hij("",g.Dn7(2,2,R,Oe.language,"label")," ")}}function te(Te,ee){if(1&Te&&(g.TgZ(0,"a",22),g.ALo(1,"localisedLink"),g._uU(2),g.ALo(3,"localisedText"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("href",g.xi3(1,3,R,Oe.language),g.LSH)("ngStyle",g.VKq(10,j,Oe.linksTextColor)),g.xp6(2),g.Oqu(g.Dn7(3,6,R,Oe.language,"label"))}}function se(Te,ee){if(1&Te&&(g.TgZ(0,"span",10),g._uU(1),g.ALo(2,"localisedText"),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,j,Oe.linksTextColor)),g.xp6(1),g.Oqu(g.Dn7(2,2,R,Oe.language,"label"))}}function ge(Te,ee){if(1&Te&&(g.TgZ(0,"div",16),g.YNc(1,H,2,4,"i",17),g.YNc(2,Q,3,8,"span",18),g.YNc(3,te,4,12,"a",19),g.ALo(4,"localisedLink"),g.YNc(5,se,3,8,"span",9),g.ALo(6,"localisedLink"),g.qZA()),2&Te){const R=ee.$implicit,Oe=g.oxw(3);g.xp6(1),g.Q6J("ngIf",R.icon),g.xp6(1),g.Q6J("ngIf",R.dialog),g.xp6(1),g.Q6J("ngIf",g.xi3(4,4,R,Oe.language)&&!R.dialog),g.xp6(2),g.Q6J("ngIf",!g.xi3(6,7,R,Oe.language)&&!R.dialog)}}const Ne=function(Te){return{height:Te}};function Fe(Te,ee){if(1&Te&&(g.TgZ(0,"div",10),g.YNc(1,ge,7,10,"div",15),g.qZA()),2&Te){const R=g.oxw().$implicit,Oe=g.oxw();g.Q6J("ngStyle",g.VKq(2,Ne,Oe.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",R.elements)}}function ne(Te,ee){if(1&Te&&(g.TgZ(0,"div",7),g.TgZ(1,"h6",8),g._uU(2),g.ALo(3,"localisedText"),g.qZA(),g.YNc(4,ae,2,4,"div",9),g.YNc(5,Fe,2,4,"div",9),g.qZA()),2&Te){const R=ee.$implicit,Oe=g.oxw();g.ekj("my-auto",Oe.containsLogos),g.xp6(1),g.Q6J("ngStyle",g.VKq(10,j,Oe.headersTextColor)),g.xp6(1),g.hij(" ",g.Dn7(3,6,R,Oe.language,"title")," "),g.xp6(2),g.Q6J("ngIf",R.logos),g.xp6(1),g.Q6J("ngIf",R.elements&&!R.logos)}}function Me(Te,ee){if(1&Te&&(g.TgZ(0,"span"),g.TgZ(1,"a",6),g._uU(2),g.qZA(),g.qZA()),2&Te){const R=ee.$implicit,Oe=ee.index,Ie=g.oxw();g.xp6(1),g.Q6J("href",R.url,g.LSH)("ngStyle",g.VKq(3,j,Ie.copyrightTextColor)),g.xp6(1),g.Oqu(Oe?", "+R.name:R.name)}}const ve=function(Te){return{background:Te}};let me=(()=>{class Te{constructor(R,Oe,Ie){this.storeService=R,this.translateService=Oe,this.dialog=Ie,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(R=>{this.language=R.lang}),this.version=d(4147).i8,this.items=this.storeService.get("footer","columns");for(const R of this.items)R.logos?this.containsLogos=!0:25*R.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*R.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(R){const Oe=(0,L.kZ)();"reportIssue"===R&&(Oe.width="550px",this.dialog.open(k,Oe))}}return Te.\u0275fac=function(R){return new(R||Te)(g.Y36(e.d6),g.Y36(m.sK),g.Y36(T.uw))},Te.\u0275cmp=g.Xpm({type:Te,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(R,Oe){1&R&&(g.TgZ(0,"footer",0),g.TgZ(1,"div",1),g.YNc(2,ne,6,12,"div",2),g.qZA(),g._UZ(3,"hr",3),g.TgZ(4,"div",4),g._uU(5),g.YNc(6,Me,3,5,"span",5),g._uU(7," Version "),g.TgZ(8,"a",6),g._uU(9),g.qZA(),g.qZA(),g.qZA()),2&R&&(g.Q6J("ngStyle",g.VKq(8,ve,Oe.bgColor)),g.xp6(2),g.Q6J("ngForOf",Oe.items),g.xp6(2),g.Q6J("ngStyle",g.VKq(10,j,Oe.copyrightTextColor)),g.xp6(1),g.hij(" \xa9 ",Oe.currentYear," Copyright: "),g.xp6(1),g.Q6J("ngForOf",Oe.copyrightItems),g.xp6(2),g.Q6J("href",Oe.githubRepository,g.LSH)("ngStyle",g.VKq(12,j,Oe.copyrightTextColor)),g.xp6(1),g.Oqu(Oe.version))},directives:[O.PC,O.sg,O.O5],pipes:[V,$,ue],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),Te})()},10441:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>s});var e=d(5e3),f=d(69808),g=d(25245),T=d(29772),m=d(51062);function A(b,O){1&b&&(e.TgZ(0,"mat-icon",1),e.ALo(1,"translate"),e._uU(2," visibility\n"),e.qZA()),2&b&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let s=(()=>{class b{constructor(){this.recentIds=[]}}return b.\u0275fac=function(E){return new(E||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(E,h){1&E&&e.YNc(0,A,3,3,"mat-icon",0),2&E&&e.Q6J("ngIf",h.recentIds.indexOf(h.id)>-1)},directives:[f.O5,g.Hw,T.gM],pipes:[m.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),b})()},96214:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>A});var e=d(5e3),f=d(47423),g=d(29772),T=d(25245),m=d(51062);let A=(()=>{class s{constructor(){this.refresh=new e.vpe}onClickbutton(O){this.refresh.emit(O)}}return s.\u0275fac=function(O){return new(O||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(O,E){1&O&&(e.TgZ(0,"button",0),e.NdJ("click",function(k){return E.onClickbutton(k)}),e.ALo(1,"translate"),e._UZ(2,"mat-icon",1),e.qZA()),2&O&&(e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),e.Q6J("disabled",E.disabled),e.xp6(2),e.s9C("svgIcon",E.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[f.lW,g.gM,T.Hw],pipes:[m.X$],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),s})()},62109:(Ke,be,d)=>{"use strict";d.d(be,{C:()=>N});var e=d(5e3),f=d(84847),g=d(32075),T=d(20449),m=d(9244),A=d(36908),s=d(18750),b=d(77446),O=d(29772),E=d(10441),h=d(69808),k=d(25245),L=d(8223),V=d(50301),$=d(30325),ue=d(98380),ce=d(51062);let Le=(()=>{class he{transform(S){if(null==S)return null;let P="";return S.forEach(function(i){P=P.concat(i.tagName)}),P}}return he.\u0275fac=function(S){return new(S||he)},he.\u0275pipe=e.Yjl({name:"resourceTagsToString",type:he,pure:!0}),he})();var de=d(82895);function ke(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"th",22),e.TgZ(1,"mat-checkbox",23),e.NdJ("change",function(P){e.CHM(S);const i=e.oxw();return P?i.masterToggle():null}),e.qZA(),e.qZA()}if(2&he){const S=e.oxw();e.xp6(1),e.Q6J("aria-label",S.checkboxLabel())("checked",S.selection.hasValue()&&S.isAllSelected())("indeterminate",S.selection.hasValue()&&!S.isAllSelected())}}function ae(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"td",24),e.TgZ(1,"span",25),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",26),e.NdJ("change",function(P){const r=e.CHM(S).$implicit,p=e.oxw();return P?p.itemSelectionToggle(r):null})("click",function(P){return P.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!I.disableSelect(S)),e.xp6(2),e.Q2q("data-cy","",S.name,"-checkbox"),e.Q6J("aria-label",I.checkboxLabel(S))("checked",I.selection.isSelected(S))("disabled",I.disableSelect(S))}}function j(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function H(he,D){if(1&he&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.id)}}function Q(he,D){1&he&&e._UZ(0,"th",29)}function te(he,D){if(1&he&&(e.TgZ(0,"td",30),e._UZ(1,"perun-web-apps-recently-viewed-icon",31),e.qZA()),2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.Q6J("recentIds",I.recentIds)("id",S.id)}}function se(he,D){1&he&&e._UZ(0,"th",29)}function ge(he,D){1&he&&(e.TgZ(0,"mat-icon",33),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&he&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function Ne(he,D){if(1&he&&(e.TgZ(0,"td",30),e.YNc(1,ge,3,3,"mat-icon",32),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Q6J("ngIf",S.sourceGroupId)}}function Fe(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function ne(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.name)}}function Me(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function ve(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.vo.name)}}function me(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function Te(he,D){if(1&he){const S=e.EpF();e.TgZ(0,"td",30),e.TgZ(1,"perun-web-apps-group-resource-status",34),e.NdJ("mouseenter",function(){return e.CHM(S),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(S);const P=e.oxw();return P.disabledRouting=P.disableRouting})("statusChange",function(){return e.CHM(S),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&he){const S=D.$implicit,I=e.oxw();e.xp6(1),e.Q6J("theme","group-theme")("resourceId",S.id)("groupId",I.groupId)("failureCause",S.failureCause)("status",S.status)}}function ee(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function R(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.facility.name)}}function Oe(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function Ie(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.ALo(2,"resourceTagsToString"),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,S.resourceTags)," ")}}function He(he,D){1&he&&(e.TgZ(0,"th",27),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function fe(he,D){if(1&he&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&he){const S=D.$implicit;e.xp6(1),e.Oqu(S.description)}}function Ce(he,D){1&he&&e._UZ(0,"tr",35)}const Ve=function(he){return[he]};function Xe(he,D){if(1&he&&(e._UZ(0,"tr",36),e.ALo(1,"getResourceRoute"),e.ALo(2,"getResourceRoute")),2&he){const S=D.$implicit,I=e.oxw();e.ekj("cursor-pointer",!I.disableRouting)("disable-outline",I.disabledRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",e.VKq(12,Ve,I.disabledRouting?null:e.xi3(1,6,S,I.routingVo)))("routerLink",I.disabledRouting?null:e.xi3(2,9,S,I.routingVo))}}function tt(he,D){1&he&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function rt(he,D){1&he&&(e.TgZ(0,"app-alert",37),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&he&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let N=(()=>{class he{constructor(S,I){this.guiAuthResolver=S,this.tableCheckbox=I,this.resources=[],this.selection=new T.Ov(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=m.f7,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new e.vpe,this.allSelected=new e.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=P=>!this.disableSelect(P)}set matSort(S){this.sort=S}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(S=>"id"!==S)),this.setDataSource(),this.setAuth()}getDataForColumn(S,I,P){switch(I){case"id":return S.id.toString();case"vo":return S.vo.name;case"name":return S.name;case"facility":return S.facility.name;case"description":return S.description;case"recent":return P.recentIds&&P.recentIds.indexOf(S.id)>-1?"#".repeat(P.recentIds.indexOf(S.id)):S.name;case"tags":{if(!S.resourceTags)return S[I];let r="";return S.resourceTags.forEach(function(p){r=r.concat(p.tagName)}),r}case"status":return S.status;case"uuid":return S.uuid;default:return S[I]}}exportData(S){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),S)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(S,I)=>(0,m.Sd)(S,I,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(S,I)=>(0,m.pR)(S,I,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const S=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(S),S}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(S){return S?`${this.selection.isSelected(S)?"deselect":"select"} row ${S.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const S=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((I,P)=>I&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",S.concat([P])),!0),this.addAuth=this.selection.selected.reduce((I,P)=>I&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",S.concat([P])),!0)}itemSelectionToggle(S){this.selection.toggle(S),this.setAuth()}disableSelect(S){return this.resourcesToDisableCheckbox.has(S.id)}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(A.x4),e.Y36(A.UA))},he.\u0275cmp=e.Xpm({type:he,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(S,I){if(1&S&&(e.Gf(f.YE,7),e.Gf(m.l9,7)),2&S){let P;e.iGM(P=e.CRH())&&(I.matSort=P.first),e.iGM(P=e.CRH())&&(I.child=P.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[e.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(S,I){1&S&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(i){return I.exportData(i)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,ke,2,3,"th",4),e.YNc(5,ae,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,j,3,3,"th",7),e.YNc(8,H,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Q,1,0,"th",10),e.YNc(11,te,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,se,1,0,"th",10),e.YNc(14,Ne,2,1,"td",11),e.BQk(),e.ynx(15,13),e.YNc(16,Fe,3,3,"th",7),e.YNc(17,ne,2,1,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,Me,3,3,"th",7),e.YNc(20,ve,2,1,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,me,3,3,"th",7),e.YNc(23,Te,2,5,"td",11),e.BQk(),e.ynx(24,16),e.YNc(25,ee,3,3,"th",7),e.YNc(26,R,2,1,"td",11),e.BQk(),e.ynx(27,17),e.YNc(28,Oe,3,3,"th",7),e.YNc(29,Ie,3,3,"td",11),e.BQk(),e.ynx(30,18),e.YNc(31,He,3,3,"th",7),e.YNc(32,fe,2,1,"td",11),e.BQk(),e.YNc(33,Ce,1,0,"tr",19),e.YNc(34,Xe,3,14,"tr",20),e.qZA(),e.qZA(),e.qZA(),e.YNc(35,tt,3,3,"app-alert",21),e.YNc(36,rt,3,3,"app-alert",21)),2&S&&(e.Q6J("hidden",0===I.dataSource.filteredData.length||0===I.resources.length),e.xp6(1),e.Q6J("dataLength",I.dataSource.filteredData.length)("tableId",I.tableId)("pageSizeOptions",I.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",I.dataSource),e.xp6(31),e.Q6J("matHeaderRowDef",I.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",I.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===I.dataSource.filteredData.length&&0!==I.resources.length),e.xp6(1),e.Q6J("ngIf",0===I.resources.length))},directives:[s.l,g.BZ,f.YE,g.w1,g.fO,g.ge,b.oG,g.Dz,g.ev,O.gM,f.nU,E.W,h.O5,k.Hw,L.x,g.as,g.XQ,g.nj,g.Gk,V.YH,$.rH,ue.w],pipes:[ce.X$,Le,de.r],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),he})()},52170:(Ke,be,d)=>{"use strict";d.d(be,{qG:()=>m,$x:()=>A});var e=d(5e3),f=d(51062),g=d(42377);class T{constructor(b,O){this.value=O,this.displayName=b}}var m=(()=>{return(s=m||(m={}))[s.SOURCE=0]="SOURCE",s[s.DESTINATION=1]="DESTINATION",s[s.FEDERATION=2]="FEDERATION",m;var s})();let A=(()=>{class s{constructor(O){this.translateService=O,this.attributes=[],this.asGroup=!1,this.itemSelected=new e.vpe,this.items=[],this.nameFunction=E=>E.displayName,this.shortNameFunction=()=>null,this.searchFunction=E=>E.displayName}static getDefinition(O){const E=O.namespace.split(":");return null===E[4]?"null":E[4]}ngOnInit(){this.type===m.FEDERATION?(this.getFederationAttributes(),this.getFederationAttribute()):this.createSelectionItems(),this.sortAttributes(this.items)}createSelectionItems(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(O=>{const E=new T(O,"");this.items.push(E),this.item=E});for(const O of this.attributes){const E=new T(O.friendlyName+" ("+O.entity+" / "+s.getDefinition(O)+")",O.namespace+":"+O.friendlyName);E.value===this.selectedAttribute&&(this.item=E),("user"===O.entity.toLowerCase()||"member"===O.entity.toLowerCase()||"vo"===O.entity.toLowerCase()&&this.type===m.SOURCE||"group"===O.entity.toLowerCase()&&this.asGroup&&this.type===m.SOURCE)&&this.items.push(E)}}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(O=>{this.items.push(new T(O,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(E=>{this.items.push(new T(E,"custom")),this.items.push(new T("Display name","displayName")),this.items.push(new T("Common name","cn")),this.items.push(new T("Mail","mail")),this.items.push(new T("Organization","o")),this.items.push(new T("Level of Assurance (LoA)","loa")),this.items.push(new T("First name","givenName")),this.items.push(new T("Surname","sn")),this.items.push(new T("EPPN","eppn")),this.items.push(new T("IdP Category","md_entityCategory")),this.items.push(new T("IdP Affiliation","affiliation")),this.items.push(new T("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.items.push(new T("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.items.push(new T("schacHomeOrganization","schacHomeOrganization")),this.items.push(new T("Login","uid")),this.items.push(new T("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){for(const O of this.items)if(O.value===this.selectedAttribute)return void(this.item=O);this.item=this.items[1],this.item.value=this.selectedAttribute}sortAttributes(O){O.sort((E,h)=>""===E.value?-1:""===h.value?1:E.displayName.localeCompare(h.displayName))}}return s.\u0275fac=function(O){return new(O||s)(e.Y36(f.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["perun-web-apps-selection-item-search-select"]],inputs:{attributes:"attributes",selectedAttribute:"selectedAttribute",type:"type",asGroup:"asGroup"},outputs:{itemSelected:"itemSelected"},decls:4,vars:14,consts:[[3,"entities","entity","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(O,E){1&O&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(k){return E.itemSelected.emit(k)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&O&&e.Q6J("entities",E.items)("entity",E.item)("searchFunction",E.searchFunction)("mainTextFunction",E.nameFunction)("secondaryTextFunction",E.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.SELECT_ITEM"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.FIND_ITEM"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.SELECTION_ITEM_SEARCH_SELECT.NO_ITEM_FOUND"))},directives:[g.i],pipes:[f.X$],styles:[""]}),s})()},80275:(Ke,be,d)=>{"use strict";d.d(be,{j:()=>Te});var e=d(20449),f=d(84847),g=d(32075),T=d(36908),m=d(9244),A=d(5e3),s=d(30325),b=d(18750),O=d(29772),E=d(77446),h=d(50301),k=d(69808),L=d(98380),V=d(51062),$=d(34447);let ue=(()=>{class ee{transform(Oe){const Ie=Oe.find(He=>"mail"===He.friendlyName);return Ie?Ie.value.toString():"N/A"}}return ee.\u0275fac=function(Oe){return new(Oe||ee)},ee.\u0275pipe=A.Yjl({name:"getMailFromAttributes",type:ee,pure:!0}),ee})();function ce(ee,R){1&ee&&A._UZ(0,"th",18)}function Le(ee,R){if(1&ee){const Oe=A.EpF();A.TgZ(0,"td",19),A.TgZ(1,"span",20),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.TgZ(4,"mat-checkbox",21),A.NdJ("change",function(He){const Ce=A.CHM(Oe).$implicit,Ve=A.oxw();return He?Ve.selection.toggle(Ce):null})("click",function(He){return He.stopPropagation()}),A.qZA(),A.qZA(),A.qZA()}if(2&ee){const Oe=R.$implicit,Ie=A.oxw();A.xp6(1),A.s9C("matTooltip",A.lcZ(2,6,A.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),A.Q6J("matTooltipPosition","above")("matTooltipDisabled",!Oe.userExtSource.persistent),A.xp6(3),A.Q6J("aria-label",Ie.checkboxLabel(Oe))("checked",Ie.selection.isSelected(Oe))("disabled",Oe.userExtSource.persistent)}}function de(ee,R){1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function ke(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.id," ")}}function ae(ee,R){1&ee&&(A.TgZ(0,"th",24),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function j(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.ALo(2,"getMailFromAttributes"),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,Oe.attributes)," ")}}function H(ee,R){if(1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee){const Oe=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Oe.extSourceNameHeader?Oe.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function Q(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.extSource.name," ")}}function te(ee,R){if(1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee){const Oe=A.oxw();A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,Oe.loginHeader?Oe.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function se(ee,R){if(1&ee&&(A.TgZ(0,"td",23),A._uU(1),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",Oe.userExtSource.login," ")}}function ge(ee,R){1&ee&&(A.TgZ(0,"th",22),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Ne(ee,R){if(1&ee&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"date"),A.qZA()),2&ee){const Oe=R.$implicit;A.xp6(1),A.hij(" ",A.xi3(2,1,Oe.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Fe(ee,R){1&ee&&A._UZ(0,"tr",26)}const ne=function(ee,R){return["/admin","users",ee,"identities",R]};function Me(ee,R){if(1&ee&&A._UZ(0,"tr",27),2&ee){const Oe=R.$implicit,Ie=A.oxw();A.ekj("cursor-pointer",!Ie.disableRouting)("disable-outline",Ie.disableRouting),A.Q6J("perunWebAppsMiddleClickRouterLink",Ie.disableRouting?null:A.WLB(6,ne,Ie.userId,Oe.userExtSource.id))("routerLink",Ie.disableRouting?null:A.WLB(9,ne,Ie.userId,Oe.userExtSource.id))}}function ve(ee,R){1&ee&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function me(ee,R){1&ee&&(A.TgZ(0,"app-alert",28),A._uU(1),A.ALo(2,"translate"),A.ALo(3,"customTranslate"),A.qZA()),2&ee&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,A.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Te=(()=>{class ee{constructor(Oe,Ie){this.route=Oe,this.authResolver=Ie,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=m.f7}set matSort(Oe){this.sort=Oe,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(Oe=>{this.userId=Oe.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Oe=>"id"!==Oe)),this.dataSource=new g.by(this.userExtSources),this.setDataSource()}getDataForColumn(Oe,Ie){switch(Ie){case"id":return Oe.userExtSource.id.toString();case"mail":{const He=Oe.attributes.find(fe=>"mail"===fe.friendlyName);return He?He.value.toString():"N/A"}case"extSourceName":return Oe.userExtSource.extSource.name;case"login":return Oe.userExtSource.login;case"lastAccess":return Oe.userExtSource.lastAccess.split(".")[0];default:return Oe[Ie]}}exportData(Oe){(0,m.O6)((0,m.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),Oe)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Oe,Ie)=>(0,m.Sd)(Oe,Ie,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(Oe,Ie)=>(0,m.pR)(Oe,Ie,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(Oe){return`${this.selection.isSelected(Oe.userExtSource)?"deselect":"select"} row ${Oe.userExtSource.id+1}`}}return ee.\u0275fac=function(Oe){return new(Oe||ee)(A.Y36(s.gz),A.Y36(T.x4))},ee.\u0275cmp=A.Xpm({type:ee,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(Oe,Ie){if(1&Oe&&(A.Gf(m.l9,7),A.Gf(f.YE,7)),2&Oe){let He;A.iGM(He=A.CRH())&&(Ie.child=He.first),A.iGM(He=A.CRH())&&(Ie.matSort=He.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[A.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Oe,Ie){1&Oe&&(A.TgZ(0,"div",0),A.TgZ(1,"perun-web-apps-table-wrapper",1),A.NdJ("exportData",function(fe){return Ie.exportData(fe)}),A.TgZ(2,"table",2),A.ynx(3,3),A.YNc(4,ce,1,0,"th",4),A.YNc(5,Le,5,10,"td",5),A.BQk(),A.ynx(6,6),A.YNc(7,de,4,5,"th",7),A.YNc(8,ke,2,1,"td",8),A.BQk(),A.ynx(9,9),A.YNc(10,ae,4,5,"th",10),A.YNc(11,j,3,3,"td",8),A.BQk(),A.ynx(12,11),A.YNc(13,H,4,5,"th",7),A.YNc(14,Q,2,1,"td",8),A.BQk(),A.ynx(15,12),A.YNc(16,te,4,5,"th",7),A.YNc(17,se,2,1,"td",8),A.BQk(),A.ynx(18,13),A.YNc(19,ge,4,5,"th",7),A.YNc(20,Ne,3,4,"td",14),A.BQk(),A.YNc(21,Fe,1,0,"tr",15),A.YNc(22,Me,1,12,"tr",16),A.qZA(),A.qZA(),A.qZA(),A.YNc(23,ve,3,3,"app-alert",17),A.YNc(24,me,4,5,"app-alert",17)),2&Oe&&(A.Q6J("hidden",0===Ie.userExtSources.length||0===Ie.dataSource.filteredData.length),A.xp6(1),A.Q6J("tableId",Ie.tableId)("dataLength",Ie.dataSource.filteredData.length)("pageSizeOptions",Ie.pageSizeOptions),A.xp6(1),A.Q6J("dataSource",Ie.dataSource),A.xp6(19),A.Q6J("matHeaderRowDef",Ie.displayedColumns),A.xp6(1),A.Q6J("matRowDefColumns",Ie.displayedColumns),A.xp6(1),A.Q6J("ngIf",0===Ie.dataSource.filteredData.length&&0!==Ie.userExtSources.length),A.xp6(1),A.Q6J("ngIf",0===Ie.userExtSources.length))},directives:[b.l,g.BZ,f.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,O.gM,E.oG,f.nU,g.as,g.XQ,g.nj,g.Gk,h.YH,s.rH,k.O5,L.w],pipes:[V.X$,$.a,ue,k.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),ee})()},74250:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>m});var e=d(5e3),f=d(9244),g=d(42377),T=d(51062);let m=(()=>{class A{constructor(){this.disableAutoSelect=!1,this.userSelected=new e.vpe,this.userFullNameFunction=f.bD}ngOnInit(){this.users=this.users.sort(f.fx)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["perun-web-apps-user-search-select"]],inputs:{users:"users",disableAutoSelect:"disableAutoSelect"},outputs:{userSelected:"userSelected"},decls:4,vars:13,consts:[[3,"entities","disableAutoSelect","searchFunction","mainTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(b,O){1&b&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(h){return O.userSelected.emit(h)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&b&&e.Q6J("entities",O.users)("disableAutoSelect",O.disableAutoSelect)("searchFunction",O.userFullNameFunction)("mainTextFunction",O.userFullNameFunction)("selectPlaceholder",e.lcZ(1,7,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.SELECT_USER"))("findPlaceholder",e.lcZ(2,9,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.FIND_USER"))("noEntriesText",e.lcZ(3,11,"SHARED_LIB.PERUN.COMPONENTS.USER_SEARCH_SELECT.NO_USER_FOUND"))},directives:[g.i],pipes:[T.X$],styles:[""]}),A})()},88561:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>rt});var e=d(20449),f=d(9244),g=d(84847),T=d(36908),m=d(36787),A=d(22868),s=d(5e3),b=d(10036),O=d(18750),E=d(69808),h=d(20773),k=d(32075),L=d(77446),V=d(25245),$=d(29772),ue=d(50301),ce=d(98380),Le=d(51062),de=d(31359),ke=d(9954),ae=d(16119),j=d(7598);function H(N,he){1&N&&(s.TgZ(0,"div",20),s._UZ(1,"mat-spinner",21),s.qZA())}function Q(N,he){if(1&N){const D=s.EpF();s.TgZ(0,"mat-checkbox",24),s.NdJ("change",function(I){s.CHM(D);const P=s.oxw(2);return I?P.masterToggle():null}),s.qZA()}if(2&N){const D=s.oxw(2);s.Q6J("aria-label",D.checkboxLabel())("checked",D.selection.hasValue()&&D.isAllSelected())("indeterminate",D.selection.hasValue()&&!D.isAllSelected())}}function te(N,he){if(1&N&&(s.TgZ(0,"th",22),s.YNc(1,Q,1,3,"mat-checkbox",23),s.qZA()),2&N){const D=s.oxw();s.xp6(1),s.Q6J("ngIf",D.selection.isMultipleSelection())}}function se(N,he){if(1&N){const D=s.EpF();s.TgZ(0,"td",25),s.TgZ(1,"mat-checkbox",26),s.NdJ("change",function(I){const i=s.CHM(D).$implicit,r=s.oxw();return I?r.selection.toggle(i):null})("click",function(I){return I.stopPropagation()}),s.qZA(),s.qZA()}if(2&N){const D=he.$implicit,S=s.oxw();s.xp6(1),s.Q6J("aria-label",S.checkboxLabel(D))("checked",S.selection.isSelected(D))}}function ge(N,he){1&N&&s._UZ(0,"th",27)}function Ne(N,he){1&N&&(s.TgZ(0,"mat-icon",31),s.ALo(1,"translate"),s._uU(2," account_circle "),s.qZA()),2&N&&s.s9C("matTooltip",s.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function Fe(N,he){if(1&N&&(s._UZ(0,"mat-icon",32),s.ALo(1,"translate")),2&N){const D=s.oxw(2);s.s9C("matTooltip",s.lcZ(1,2,"MANAGERS_LIST.SERVICE")),s.Q6J("svgIcon",D.svgIcon)}}function ne(N,he){if(1&N&&(s.TgZ(0,"td",28),s.YNc(1,Ne,3,3,"mat-icon",29),s.YNc(2,Fe,2,4,"mat-icon",30),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Q6J("ngIf",!D.serviceUser),s.xp6(1),s.Q6J("ngIf",D.serviceUser)}}function Me(N,he){1&N&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function ve(N,he){if(1&N&&(s.TgZ(0,"td",28),s._uU(1),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.hij(" ",D.id," ")}}function me(N,he){1&N&&(s.TgZ(0,"th",33),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Te(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userFullName"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function ee(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function R(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userVo"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function Oe(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function Ie(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userEmail"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function He(N,he){1&N&&(s.TgZ(0,"th",27),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function fe(N,he){if(1&N&&(s.TgZ(0,"td",34),s._uU(1),s.ALo(2,"userLogins"),s.qZA()),2&N){const D=he.$implicit;s.xp6(1),s.Oqu(s.lcZ(2,1,D))}}function Ce(N,he){1&N&&s._UZ(0,"tr",35)}const Ve=function(N){return["/admin/users",N]};function Xe(N,he){if(1&N&&s._UZ(0,"tr",36),2&N){const D=he.$implicit,S=s.oxw();s.ekj("cursor-pointer",!S.disableRouting),s.Q6J("perunWebAppsForceRouterLink",S.disableRouting?null:s.VKq(4,Ve,D.id))("perunWebAppsMiddleClickRouterLink",S.disableRouting?null:s.VKq(6,Ve,D.id))}}function tt(N,he){1&N&&(s.TgZ(0,"app-alert",37),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&N&&(s.Q6J("alert_type","warn"),s.xp6(1),s.hij(" ",s.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}let rt=(()=>{class N{constructor(D,S,I,P){this.authResolver=D,this.tableCheckbox=S,this.tableConfigService=I,this.dynamicPaginatingService=P,this.svgIcon="perun-service-identity-black",this.selection=new e.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.disableRouting=!1,this.searchString="",this.attrNames=[],this.pageSizeOptions=f.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,A.b)(()=>this.loadUsersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(D=>"id"!==D)),this.dataSource=new T.Hy(this.dynamicPaginatingService,this.authResolver),this.dataSource.loadUsers(this.attrNames,this.tableConfigService.getTablePageSize(this.tableId),0,"ASCENDING","NAME",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}ngOnChanges(){this.dataSource&&(this.child.paginator.pageIndex=0,this.loadUsersPage())}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource.getData().forEach(D=>this.selection.select(D))}isAllSelected(){return this.selection.selected.length===this.child.paginator.pageSize}checkboxLabel(D){return D?`${this.selection.isSelected(D)?"deselect":"select"} row ${D.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}loadUsersPage(){this.dataSource.loadUsers(this.attrNames,this.child.paginator.pageSize,this.child.paginator.pageIndex,"asc"===this.sort.direction?"ASCENDING":"DESCENDING","name"===this.sort.active?"NAME":"ID",this.searchString,this.withoutVo,this.facilityId,this.voId,this.resourceId,this.serviceId,this.onlyAllowed)}exportData(D){(0,f.O6)((0,f.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn,this),D)}getExportDataForColumn(D,S){switch(S){case"id":return D.id.toString();case"user":return D.serviceUser?"service-user":"user";case"name":return D?(0,f.bD)(D):"";case"organization":return(0,f.OV)(D);case"email":return(0,f.kN)(D);case"logins":return(0,f.lt)(D);default:return""}}}return N.\u0275fac=function(D){return new(D||N)(s.Y36(T.x4),s.Y36(T.UA),s.Y36(b.dB),s.Y36(T.ly))},N.\u0275cmp=s.Xpm({type:N,selectors:[["perun-web-apps-users-dynamic-list"]],viewQuery:function(D,S){if(1&D&&(s.Gf(f.l9,7),s.Gf(g.YE,5)),2&D){let I;s.iGM(I=s.CRH())&&(S.child=I.first),s.iGM(I=s.CRH())&&(S.sort=I.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",disableRouting:"disableRouting",searchString:"searchString",attrNames:"attrNames",withoutVo:"withoutVo",updateTable:"updateTable",facilityId:"facilityId",voId:"voId",resourceId:"resourceId",serviceId:"serviceId",onlyAllowed:"onlyAllowed"},features:[s.TTD],decls:31,vars:15,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["class","spinner-container",4,"ngIf"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","logins"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink",4,"matRowDef","matRowDefColumns"],[3,"alert_type",4,"ngIf"],[1,"spinner-container"],[1,"ml-auto","mr-auto"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"matTooltip","svgIcon",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"matTooltip","svgIcon"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],[3,"alert_type"]],template:function(D,S){1&D&&(s.TgZ(0,"div",0),s.ALo(1,"async"),s.TgZ(2,"perun-web-apps-table-wrapper",1),s.NdJ("exportData",function(P){return S.exportData(P)}),s.YNc(3,H,2,0,"div",2),s.ALo(4,"async"),s.TgZ(5,"table",3),s.ynx(6,4),s.YNc(7,te,2,1,"th",5),s.YNc(8,se,2,2,"td",6),s.BQk(),s.ynx(9,7),s.YNc(10,ge,1,0,"th",8),s.YNc(11,ne,3,2,"td",9),s.BQk(),s.ynx(12,10),s.YNc(13,Me,3,3,"th",11),s.YNc(14,ve,2,1,"td",9),s.BQk(),s.ynx(15,12),s.YNc(16,me,3,3,"th",11),s.YNc(17,Te,3,3,"td",13),s.BQk(),s.ynx(18,14),s.YNc(19,ee,3,3,"th",8),s.YNc(20,R,3,3,"td",13),s.BQk(),s.ynx(21,15),s.YNc(22,Oe,3,3,"th",8),s.YNc(23,Ie,3,3,"td",13),s.BQk(),s.ynx(24,16),s.YNc(25,He,3,3,"th",8),s.YNc(26,fe,3,3,"td",13),s.BQk(),s.YNc(27,Ce,1,0,"tr",17),s.YNc(28,Xe,1,8,"tr",18),s.qZA(),s.qZA(),s.qZA(),s.YNc(29,tt,3,4,"app-alert",19),s.ALo(30,"async")),2&D&&(s.Q6J("hidden",0===S.dataSource.allObjectCount&&!1===s.lcZ(1,9,S.dataSource.loading$)),s.xp6(2),s.Q6J("tableId",S.tableId)("dataLength",S.dataSource.allObjectCount)("pageSizeOptions",S.pageSizeOptions),s.xp6(1),s.Q6J("ngIf",s.lcZ(4,11,S.dataSource.loading$)),s.xp6(2),s.Q6J("dataSource",S.dataSource),s.xp6(22),s.Q6J("matHeaderRowDef",S.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",S.displayedColumns),s.xp6(1),s.Q6J("ngIf",0===S.dataSource.allObjectCount&&!1===s.lcZ(30,13,S.dataSource.loading$)))},directives:[O.l,E.O5,h.$g,k.BZ,g.YE,k.w1,k.fO,k.ge,L.oG,k.Dz,k.ev,V.Hw,$.gM,g.nU,k.as,k.XQ,k.nj,k.Gk,ue.Kd,ue.YH,ce.w],pipes:[E.Ov,Le.X$,de.d,ke.Z,ae.S,j.g],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),N})()},62707:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>T});var e=d(5e3),f=d(42377),g=d(51062);let T=(()=>{class m{constructor(){this.voSelected=new e.vpe,this.nameFunction=s=>s.name,this.shortNameFunction=s=>s.shortName,this.searchFunction=s=>s.name+s.shortName+s.id}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vo:"vo",vos:"vos"},outputs:{voSelected:"voSelected"},decls:4,vars:14,consts:[[3,"entity","entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(s,b){1&s&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(E){return b.voSelected.emit(E)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&s&&e.Q6J("entity",b.vo)("entities",b.vos)("searchFunction",b.searchFunction)("mainTextFunction",b.nameFunction)("secondaryTextFunction",b.shortNameFunction)("selectPlaceholder",e.lcZ(1,8,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.SELECT_VO"))("findPlaceholder",e.lcZ(2,10,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.FIND_VO"))("noEntriesText",e.lcZ(3,12,"SHARED_LIB.PERUN.COMPONENTS.VO_SEARCH_SELECT.NO_VO_FOUND"))},directives:[f.i],pipes:[g.X$],styles:[""]}),m})()},87831:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>Fe});var e=d(84847),f=d(32075),g=d(9244),T=d(36908),m=d(5e3),A=d(18750),s=d(77446),b=d(10441),O=d(50301),E=d(30325),h=d(69808),k=d(98380),L=d(51062);function V(ne,Me){1&ne&&m._UZ(0,"th",18)}function $(ne,Me){if(1&ne){const ve=m.EpF();m.TgZ(0,"td",19),m.TgZ(1,"mat-checkbox",20),m.NdJ("change",function(Te){const R=m.CHM(ve).$implicit,Oe=m.oxw();return Te?Oe.selection.toggle(R):null})("click",function(Te){return Te.stopPropagation()}),m.qZA(),m.qZA()}if(2&ne){const ve=Me.$implicit,me=m.oxw();m.xp6(1),m.Q6J("aria-label",me.checkboxLabel(ve))("checked",me.selection.isSelected(ve))}}function ue(ne,Me){1&ne&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")," "))}function ce(ne,Me){if(1&ne&&(m.TgZ(0,"td",22),m._uU(1),m.qZA()),2&ne){const ve=Me.$implicit;m.xp6(1),m.Oqu(ve.id)}}function Le(ne,Me){1&ne&&m._UZ(0,"th",23)}function de(ne,Me){if(1&ne&&(m.TgZ(0,"td",24),m._UZ(1,"perun-web-apps-recently-viewed-icon",25),m.qZA()),2&ne){const ve=Me.$implicit,me=m.oxw();m.xp6(1),m.Q6J("recentIds",me.recentIds)("id",ve.id)}}function ke(ne,Me){1&ne&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")," "))}function ae(ne,Me){if(1&ne&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&ne){const ve=Me.$implicit;m.uIk("data-cy",ve.shortName),m.xp6(1),m.Oqu(ve.shortName)}}function j(ne,Me){1&ne&&(m.TgZ(0,"th",21),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")," "))}function H(ne,Me){if(1&ne&&(m.TgZ(0,"td",24),m._uU(1),m.qZA()),2&ne){const ve=Me.$implicit;m.xp6(1),m.Oqu(ve.name)}}function Q(ne,Me){1&ne&&m._UZ(0,"tr",26)}const te=function(ne){return["/organizations",ne]};function se(ne,Me){if(1&ne&&m._UZ(0,"tr",27),2&ne){const ve=Me.$implicit,me=m.oxw();m.ekj("disable-outline",me.disableRouting),m.Q6J("perunWebAppsMiddleClickRouterLink",me.disableRouting?null:m.VKq(4,te,ve.id))("routerLink",me.disableRouting?null:m.VKq(6,te,ve.id))}}function ge(ne,Me){1&ne&&(m.TgZ(0,"app-alert",28),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Ne(ne,Me){1&ne&&(m.TgZ(0,"app-alert",29),m._uU(1),m.ALo(2,"translate"),m.qZA()),2&ne&&(m.xp6(1),m.hij(" ",m.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let Fe=(()=>{class ne{constructor(ve){this.authResolver=ve,this.vos=[],this.displayedColumns=[],this.disableRouting=!1,this.pageSizeOptions=g.f7}set matSort(ve){this.sort=ve}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(ve=>"id"!==ve)),this.setDataSource()}getDataForColumn(ve,me,Te){switch(me){case"id":return ve.id.toString();case"shortName":return ve.shortName;case"name":return ve.name;case"recent":return Te.recentIds&&Te.recentIds.indexOf(ve.id)>-1?"#".repeat(Te.recentIds.indexOf(ve.id)):ve.name;default:return ve[me]}}exportData(ve){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),ve)}setDataSource(){this.dataSource||(this.dataSource=new f.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(ve,me)=>(0,g.Sd)(ve,me,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(ve,me)=>(0,g.pR)(ve,me,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(ve){return`${this.selection.isSelected(ve)?"deselect":"select"} row ${ve.id+1}`}}return ne.\u0275fac=function(ve){return new(ve||ne)(m.Y36(T.x4))},ne.\u0275cmp=m.Xpm({type:ne,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(ve,me){if(1&ve&&(m.Gf(e.YE,7),m.Gf(g.l9,7)),2&ve){let Te;m.iGM(Te=m.CRH())&&(me.matSort=Te.first),m.iGM(Te=m.CRH())&&(me.child=Te.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions",tableId:"tableId"},features:[m.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn","data-cy","no-filter-result",4,"ngIf"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn","data-cy","no-filter-result"],["alert_type","warn"]],template:function(ve,me){1&ve&&(m.TgZ(0,"div",0),m.TgZ(1,"perun-web-apps-table-wrapper",1),m.NdJ("exportData",function(ee){return me.exportData(ee)}),m.TgZ(2,"table",2),m.ynx(3,3),m.YNc(4,V,1,0,"th",4),m.YNc(5,$,2,2,"td",5),m.BQk(),m.ynx(6,6),m.YNc(7,ue,3,3,"th",7),m.YNc(8,ce,2,1,"td",8),m.BQk(),m.ynx(9,9),m.YNc(10,Le,1,0,"th",10),m.YNc(11,de,2,2,"td",11),m.BQk(),m.ynx(12,12),m.YNc(13,ke,3,3,"th",7),m.YNc(14,ae,2,2,"td",11),m.BQk(),m.ynx(15,13),m.YNc(16,j,3,3,"th",7),m.YNc(17,H,2,1,"td",11),m.BQk(),m.YNc(18,Q,1,0,"tr",14),m.YNc(19,se,1,8,"tr",15),m.qZA(),m.qZA(),m.qZA(),m.YNc(20,ge,3,3,"app-alert",16),m.YNc(21,Ne,3,3,"app-alert",17)),2&ve&&(m.Q6J("hidden",0===me.dataSource.filteredData.length||0===me.vos.length),m.xp6(1),m.Q6J("dataLength",me.dataSource.filteredData.length)("tableId",me.tableId)("pageSizeOptions",me.pageSizeOptions),m.xp6(1),m.Q6J("dataSource",me.dataSource),m.xp6(16),m.Q6J("matHeaderRowDef",me.displayedColumns),m.xp6(1),m.Q6J("matRowDefColumns",me.displayedColumns),m.xp6(1),m.Q6J("ngIf",0===me.dataSource.filteredData.length&&0!==me.vos.length),m.xp6(1),m.Q6J("ngIf",0===me.vos.length))},directives:[A.l,f.BZ,e.YE,f.w1,f.fO,f.ge,f.Dz,f.ev,s.oG,e.nU,b.W,f.as,f.XQ,f.nj,f.Gk,O.YH,E.rH,h.O5,k.w],pipes:[L.X$],styles:[".card[_ngcontent-%COMP%]{border-radius:0!important}.static-column-size[_ngcontent-%COMP%]{width:80px}.disable-outline[_ngcontent-%COMP%]{outline:none!important}tr[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),ne})()},84379:(Ke,be,d)=>{"use strict";d.d(be,{Wr:()=>It,r2:()=>Nt,gr:()=>_t,u3:()=>gt,Qu:()=>$t,pf:()=>j,xF:()=>Qt,hd:()=>Hi,kZ:()=>Li,wA:()=>pt,rd:()=>Te,Eg:()=>me,Bp:()=>Ve,qD:()=>Vi,jd:()=>Ci,FM:()=>D,Lc:()=>n,mk:()=>y,Tf:()=>oe}),d(19516);var f=d(28499),T=d(48966),m=d(9315),A=d(36908),s=d(5e3),b=d(51062),O=d(69808),E=d(20773),h=d(67322),k=d(74107),L=d(90508),V=d(47423),$=d(20551);function ue(Y,lt){1&Y&&s._UZ(0,"mat-spinner",6)}function ce(Y,lt){if(1&Y&&(s.TgZ(0,"mat-option",17),s._uU(1),s.ALo(2,"memberStatus"),s.qZA()),2&Y){const we=lt.$implicit;s.Q6J("value",we),s.xp6(1),s.Oqu(s.lcZ(2,2,we))}}function Le(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-form-field",14),s.TgZ(1,"mat-label"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-select",15),s.NdJ("selectionChange",function(zt){return s.CHM(we),s.oxw(3).changeStatus(zt)}),s.YNc(5,ce,3,4,"mat-option",16),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw(3);s.xp6(2),s.Oqu(s.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),s.xp6(3),s.Q6J("ngForOf",we.allStatuses)}}function de(Y,lt){if(1&Y&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.YNc(3,Le,6,4,"mat-form-field",13),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),s.xp6(2),s.Q6J("ngIf",!we.loading)}}function ke(Y,lt){if(1&Y&&(s.TgZ(0,"div",8),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"memberStatus"),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.AsE(" ",s.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," ",s.lcZ(3,4,we.allStatuses[0])," ")}}function ae(Y,lt){if(1&Y&&(s.TgZ(0,"div",7),s.TgZ(1,"div",8),s._uU(2),s.ALo(3,"translate"),s.ALo(4,"memberStatus"),s.qZA(),s.TgZ(5,"div",9),s._uU(6),s.qZA(),s.YNc(7,de,4,4,"div",10),s.YNc(8,ke,4,6,"div",10),s.TgZ(9,"div",11),s._UZ(10,"i",12),s.qZA(),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.AsE(" ",s.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",s.lcZ(4,8,we.actualStatus)," "),s.xp6(4),s.Oqu(we.description),s.xp6(1),s.Q6J("ngIf",we.allStatuses.length>1),s.xp6(1),s.Q6J("ngIf",1===we.allStatuses.length),s.xp6(2),s.Q6J("innerHTML",we.changeMessage,s.oJD)}}let j=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.data=ct,this.memberManager=zt,this.groupsManager=Jt,this.notificatorService=di,this.translate=Oi,this.loading=!1,this.allStatuses=["VALID","INVALID","EXPIRED","DISABLED"]}ngOnInit(){switch(this.data.groupId?(this.theme="group-theme",this.actualStatus=this.data.member.groupStatus):(this.theme="vo-theme",this.actualStatus=this.data.member.status),this.changeStatusButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS"),this.changeStatusWithExpButton=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_STATUS_WITH_EXPIRATION"),this.submitButtonText=this.changeStatusButton,this.data.groupId?("VALID"===this.actualStatus?(this.allStatuses=["EXPIRED"],this.selectedStatus="EXPIRED"):(this.allStatuses=["VALID"],this.selectedStatus="VALID"),this.submitButtonText=this.changeStatusWithExpButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)):this.allStatuses="INVALID"===this.actualStatus?["VALID","EXPIRED"]:this.allStatuses.filter(we=>we!==this.actualStatus),this.actualStatus){case"VALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.VALID_DESCRIPTION");break;case"INVALID":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.INVALID_DESCRIPTION");break;case"EXPIRED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.EXPIRED_DESCRIPTION");break;case"DISABLED":this.description=this.translate.instant("DIALOGS.CHANGE_STATUS.DISABLED_DESCRIPTION");break;default:this.description=""}}changeStatus(we){this.selectedStatus=we.value,this.submitButtonText="VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}changeStatusMessage(we,ct){if("VALID"===we)switch(ct){case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_VALID_TO_DISABLED");break;default:this.changeMessage=""}else switch(ct){case"VALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_VALID");break;case"INVALID":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_INVALID");break;case"EXPIRED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_EXPIRED");break;case"DISABLED":this.changeMessage=this.translate.instant("DIALOGS.CHANGE_STATUS.CHANGE_NO_VALID_TO_DISABLED");break;default:this.changeMessage=""}}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(we=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(ct=>{this.notificatorService.showSuccess(ct),this.dialogRef.close(we)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(we=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(ct=>{this.notificatorService.showSuccess(ct),this.dialogRef.close(we)})},()=>this.loading=!1)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.uq),s.Y36(m.ff),s.Y36(A.V6),s.Y36(b.sK))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-member-status-dialog"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"font-weight-bold","pb-1"],[1,"text-muted","pb-3"],["class","font-weight-bold pb-1",4,"ngIf"],[1,"text-muted","new-line"],[3,"innerHTML"],["class","mr-2 mt-2",4,"ngIf"],[1,"mr-2","mt-2"],[3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,ue,1,0,"mat-spinner",1),s.YNc(5,ae,11,10,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return ct.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return ct.submit()}),s._uU(11),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),s.xp6(2),s.Q6J("disabled",ct.loading||!ct.selectedStatus),s.xp6(1),s.hij(" ",ct.submitButtonText," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,h.hX,k.gD,O.sg,L.ey,T.H8,V.lW],pipes:[b.X$,$.l],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),Y})();var H=d(93075),Q=d(98833);function te(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")," "))}function se(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")," "))}function ge(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")," "))}function Ne(Y,lt){1&Y&&(s.TgZ(0,"h1",7),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")," "))}function Fe(Y,lt){1&Y&&s._UZ(0,"mat-spinner",8)}function ne(Y,lt){if(1&Y&&(s.TgZ(0,"mat-form-field"),s._UZ(1,"input",13),s.ALo(2,"translate"),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),s.Q6J("value",we.shortName)}}function Me(Y,lt){if(1&Y&&(s.TgZ(0,"mat-form-field",14),s._UZ(1,"textarea",15),s.ALo(2,"translate"),s.qZA()),2&Y){const we=s.oxw(2);s.xp6(1),s.MGl("placeholder","",s.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),s.Q6J("formControl",we.descriptionCtrl)}}function ve(Y,lt){if(1&Y&&(s.TgZ(0,"div",9),s.YNc(1,ne,3,4,"mat-form-field",10),s.TgZ(2,"mat-form-field"),s._UZ(3,"input",11),s.ALo(4,"translate"),s.TgZ(5,"mat-error"),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.YNc(8,Me,3,4,"mat-form-field",12),s.qZA()),2&Y){const we=s.oxw();s.xp6(1),s.Q6J("ngIf",2===we.dialogType),s.xp6(2),s.MGl("placeholder","",s.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),s.Q6J("formControl",we.nameCtrl),s.xp6(3),s.hij(" ",we.invalidNameMessage.length?we.invalidNameMessage:s.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),s.xp6(2),s.Q6J("ngIf",2!==we.dialogType)}}var me=(()=>{return(Y=me||(me={}))[Y.FACILITY=0]="FACILITY",Y[Y.RESOURCE=1]="RESOURCE",Y[Y.VO=2]="VO",Y[Y.GROUP=3]="GROUP",me;var Y})();let Te=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi,mn,In){this.dialogRef=we,this.data=ct,this.notificator=zt,this.translateService=Jt,this.facilitiesManager=di,this.resourcesManager=Oi,this.groupsManager=zi,this.vosManager=mn,this.store=In,this.invalidNameMessage=this.data.dialogType===me.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===me.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case me.FACILITY:this.nameCtrl=new H.NI(this.data.facility.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI(this.data.facility.description);break;case me.RESOURCE:this.nameCtrl=new H.NI(this.data.resource.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new H.NI(this.data.resource.description);break;case me.GROUP:{const we=this.data.group.name.split(":");this.nameCtrl=new H.NI(we[we.length-1],[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.pattern(this.secondaryRegex),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI(this.data.group.description);break}case me.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new H.NI(this.data.vo.name,[H.kI.required,H.kI.pattern(".*[\\S]+.*"),H.kI.maxLength(129)]),this.descriptionCtrl=new H.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case me.FACILITY:this.editFacility();break;case me.RESOURCE:this.editResource();break;case me.GROUP:this.editGroup();break;case me.VO:this.editVo()}}editResource(){this.data.resource.name=this.nameCtrl.value,this.data.resource.description=this.descriptionCtrl.value,this.resourcesManager.updateResource({resource:this.data.resource}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.RESOURCE_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}editFacility(){this.data.facility.name=this.nameCtrl.value,this.data.facility.description=this.descriptionCtrl.value,this.facilitiesManager.updateFacility({facility:this.data.facility}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FACILITY_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(we=>{const ct=we;ct.name=this.nameCtrl.value,ct.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:ct}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(zt=>{this.notificator.showSuccess(zt),this.dialogRef.close(!0)})},()=>this.loading=!1)},()=>this.loading=!1)}editVo(){this.data.vo.name=this.nameCtrl.value,this.vosManager.updateVo({vo:this.data.vo}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.VO_SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.IQ),s.Y36(m.xk),s.Y36(m.ff),s.Y36(m.YF),s.Y36(A.d6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-edit-facility-resource-group-vo-dialog"]],decls:15,vars:16,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title",""],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],[4,"ngIf"],["matInput","","required","",3,"formControl","placeholder"],["class","mt-3",4,"ngIf"],["disabled","","matInput","","required","",3,"value","placeholder"],[1,"mt-3"],["mat-autosize","","matInput","",1,"overflow-hidden",3,"formControl","placeholder"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.YNc(1,te,3,3,"h1",0),s.YNc(2,se,3,3,"h1",0),s.YNc(3,ge,3,3,"h1",0),s.YNc(4,Ne,3,3,"h1",0),s.TgZ(5,"div",1),s.YNc(6,Fe,1,0,"mat-spinner",2),s.YNc(7,ve,9,9,"div",3),s.qZA(),s.TgZ(8,"div",4),s.TgZ(9,"button",5),s.NdJ("click",function(){return ct.cancel()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"button",6),s.NdJ("click",function(){return ct.submit()}),s._uU(13),s.ALo(14,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(1),s.Q6J("ngIf",0===ct.dialogType),s.xp6(1),s.Q6J("ngIf",1===ct.dialogType),s.xp6(1),s.Q6J("ngIf",2===ct.dialogType),s.xp6(1),s.Q6J("ngIf",3===ct.dialogType),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(3),s.hij(" ",s.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",ct.loading||ct.nameCtrl.invalid||ct.descriptionCtrl.invalid),s.xp6(1),s.hij(" ",s.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[O.O5,T.uh,T.xY,E.$g,h.KE,Q.Nt,H.Fj,H.Q7,H.JJ,H.oH,h.TO,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var ee=d(64080),R=d(9244),Oe=d(25245);function Ie(Y,lt){1&Y&&s._UZ(0,"mat-spinner",8)}function He(Y,lt){if(1&Y&&(s.TgZ(0,"div",9),s.TgZ(1,"span"),s._uU(2),s.ALo(3,"translate"),s.TgZ(4,"b"),s._uU(5),s.qZA(),s.qZA(),s._UZ(6,"br"),s.TgZ(7,"span"),s._uU(8),s.ALo(9,"translate"),s.TgZ(10,"b"),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s._UZ(13,"br"),s.TgZ(14,"span"),s._uU(15),s.ALo(16,"translate"),s.TgZ(17,"b"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.qZA(),s._UZ(20,"br"),s.TgZ(21,"span"),s._uU(22),s.ALo(23,"translate"),s.TgZ(24,"b"),s._uU(25),s.ALo(26,"translate"),s.qZA(),s.qZA(),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),s.xp6(3),s.Oqu(we.group.name),s.xp6(3),s.hij(" ",s.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),s.xp6(3),s.Oqu(s.lcZ(12,12,we.getSynchronizationType())),s.xp6(4),s.hij(" ",s.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),s.xp6(3),s.Oqu(s.lcZ(19,16,we.getLastSyncState())),s.xp6(4),s.hij(" ",s.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),s.xp6(3),s.Oqu(s.lcZ(26,20,we.getLastSyncTime()))}}function fe(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(we),s.oxw().onForceStructure()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function Ce(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){return s.CHM(we),s.oxw().onForce()}),s._uU(1),s.ALo(2,"translate"),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let Ve=(()=>{class Y{constructor(we,ct,zt,Jt){this.dialogRef=we,this.data=ct,this.groupService=zt,this.notificator=Jt,this.loading=!0}ngOnInit(){this.theme=this.data.theme,this.loadGroup()}onForceStructure(){this.loading=!0,this.groupService.forceGroupStructureSynchronization(this.data.groupId).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.STRUCT_FORCE_SUCCESS"),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(null)}onForce(){this.loading=!0,this.isBasic()&&this.groupService.forceGroupSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1),this.isStructured()&&this.groupService.forceGroupStructureSynchronization(this.group.id).subscribe(()=>{this.notificator.showSuccess("DIALOGS.GROUP_SYNC_DETAIL.FORCE_SUCCESS"),this.refresh()},()=>this.loading=!1)}getSynchronizationType(){return this.isBasic()?"DIALOGS.GROUP_SYNC_DETAIL.NORMAL_SYNC":this.isStructured()?"DIALOGS.GROUP_SYNC_DETAIL.STRUCT_SYNC":"N/A"}isBasic(){return"BASIC"===this.type}isStructured(){return"STRUCTURED"===this.type}getLastSyncState(){return this.isBasic()?""!==this.lastSyncState?this.lastSyncState:"OK":this.isStructured()?""!==this.lastStructSyncState?this.lastStructSyncState:"OK":"N/A"}getLastSyncTime(){return this.isBasic()?this.lastSyncTime:this.isStructured()?this.lastStructSyncTime:"N/A"}refresh(){this.loadGroup()}loadGroup(){this.loading=!0,this.groupService.getRichGroupByIdWithAttributesByNames(this.data.groupId,[ee.r.GROUP_SYNC_ENABLED,ee.r.GROUP_LAST_SYNC_STATE,ee.r.GROUP_LAST_SYNC_TIMESTAMP,ee.r.GROUP_STRUCTURE_SYNC_ENABLED,ee.r.GROUP_LAST_STRUCTURE_SYNC_STATE,ee.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(we=>{this.group=we,this.syncEnabled=(0,R.IL)(this.group.attributes,ee.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,R.IL)(this.group.attributes,ee.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,R.IL)(this.group.attributes,ee.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP).value,null!==this.syncEnabled&&"true"===this.syncEnabled&&(this.type="BASIC"),null!==this.structSyncEnabled&&this.structSyncEnabled&&(this.type="STRUCTURED"),this.loading=!1})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.ff),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-group-sync-detail-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-icon-button","",3,"click"],["class","ml-2","mat-flat-button","",3,"disabled","click",4,"ngIf"],["mat-flat-button","",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ie,1,0,"mat-spinner",1),s.YNc(5,He,27,22,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"div",4),s.TgZ(8,"button",5),s.NdJ("click",function(){return ct.refresh()}),s.TgZ(9,"mat-icon"),s._uU(10,"refresh"),s.qZA(),s.qZA(),s.YNc(11,fe,3,4,"button",6),s.YNc(12,Ce,3,4,"button",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return ct.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(6),s.Q6J("ngIf",ct.isStructured()),s.xp6(1),s.Q6J("ngIf",ct.isBasic()||ct.isStructured()),s.xp6(2),s.hij(" ",s.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[T.uh,O.O5,E.$g,T.xY,T.H8,V.lW,Oe.Hw],pipes:[b.X$],styles:[""]}),Y})();function Xe(Y,lt){1&Y&&s._UZ(0,"mat-spinner",7)}function tt(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function rt(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function N(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div",8),s.TgZ(1,"mat-form-field"),s.TgZ(2,"mat-label"),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"input",9,10),s.NdJ("ngModelChange",function(zt){return s.CHM(we),s.oxw().subject=zt}),s.qZA(),s.YNc(7,tt,3,3,"mat-error",11),s.qZA(),s.TgZ(8,"mat-form-field"),s.TgZ(9,"mat-label"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.TgZ(12,"textarea",12,13),s.NdJ("ngModelChange",function(zt){return s.CHM(we),s.oxw().message=zt}),s.ALo(14,"translate"),s._uU(15," "),s.qZA(),s.YNc(16,rt,3,3,"mat-error",11),s.qZA(),s.qZA()}if(2&Y){const we=s.MAs(6),ct=s.MAs(13),zt=s.oxw();s.xp6(3),s.Oqu(s.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),s.xp6(2),s.Q6J("ngModel",zt.subject),s.xp6(2),s.Q6J("ngIf",we.invalid),s.xp6(3),s.Oqu(s.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),s.xp6(2),s.s9C("placeholder",s.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),s.Q6J("ngModel",zt.message),s.xp6(4),s.Q6J("ngIf",ct.invalid)}}let he=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.translate=ct,this.notificator=zt,this.rtMessages=Jt,this.data=di,this.storeService=Oi,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(we=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+we.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const we=this.storeService.get("config");let ct=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(ct=ct.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),ct=ct.concat(this.data.error.message+"\nPerun instance: "+we+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const zt=/"password":".+?"/;let Jt=JSON.stringify(this.data.error.payload);Jt=Jt.replace(zt,'"password":"####"'),ct=ct.concat("Payload:\n"+Jt+"\n\n")}return ct=ct.concat("Sended from new Perun Gui, version: "+d(4147).i8),ct.split("\n").join("\n ")}parseMethod(we){return we&&this.methodRegexp.exec(we)[1]}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Hr),s.Y36(T.WI),s.Y36(A.d6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.YNc(3,Xe,1,0,"mat-spinner",1),s.YNc(4,N,17,13,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return ct.dialogRef.close()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",6),s.NdJ("click",function(){return ct.sendBugReport()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(4),s.hij(" ",s.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),s.xp6(2),s.Q6J("disabled",""===ct.message||""===ct.subject||ct.loading),s.xp6(1),s.hij(" ",s.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,h.hX,Q.Nt,H.Fj,H.Q7,H.JJ,H.On,h.TO,T.H8,V.lW],pipes:[b.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Y})(),D=(()=>{class Y{constructor(we,ct,zt){this.dialogRef=we,this.dialog=ct,this.data=zt}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const we=(0,R.kZ)();we.width="550px",we.data={error:this.data.error},we.autoFocus=!1,this.dialog.open(he,we)}),this.dialogRef.close()}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.uw),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s._uU(3),s.qZA(),s.TgZ(4,"div",2),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return ct.onBugReportClick()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s.NdJ("click",function(){return ct.onCloseClick()}),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(ct.data.title),s.xp6(2),s.hij(" ",ct.data.description,"\n"),s.xp6(3),s.Q6J("hidden","error"!==ct.data.type),s.xp6(1),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),s.xp6(3),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[T.uh,T.xY,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var S=d(32075),I=d(34447);function P(Y,lt){1&Y&&s._UZ(0,"mat-spinner",3)}function i(Y,lt){1&Y&&s._UZ(0,"th",15)}function r(Y,lt){if(1&Y&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&Y){const we=lt.$implicit;s.xp6(1),s.hij(" ",we.userExtSource.extSource.name," ")}}function p(Y,lt){1&Y&&s._UZ(0,"tr",17)}function o(Y,lt){1&Y&&s._UZ(0,"tr",18)}function t(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"div",4),s.TgZ(2,"p"),s._uU(3),s.ALo(4,"translate"),s.ALo(5,"customTranslate"),s.qZA(),s.TgZ(6,"div",5),s._uU(7),s.ALo(8,"translate"),s.ALo(9,"customTranslate"),s.qZA(),s.TgZ(10,"table",6),s.ynx(11,7),s.YNc(12,i,1,0,"th",8),s.YNc(13,r,2,1,"td",9),s.BQk(),s.YNc(14,p,1,0,"tr",10),s.YNc(15,o,1,0,"tr",11),s.qZA(),s.qZA(),s.TgZ(16,"div",12),s.TgZ(17,"button",13),s.NdJ("click",function(){return s.CHM(we),s.oxw().onCancel()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.TgZ(21,"button",14),s.NdJ("click",function(){return s.CHM(we),s.oxw().onSubmit()}),s._uU(22),s.ALo(23,"translate"),s.ALo(24,"customTranslate"),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,7,s.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),s.xp6(4),s.hij(" ",s.lcZ(8,11,s.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),s.xp6(3),s.Q6J("dataSource",we.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",we.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",we.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,15,s.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),s.xp6(4),s.hij(" ",s.lcZ(23,19,s.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let n=(()=>{class Y{constructor(we,ct,zt,Jt,di){this.dialogRef=we,this.data=ct,this.usersManagerService=zt,this.translate=Jt,this.notificator=di,this.force=!1,this.displayedColumns=["name"],Jt.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(Oi=>this.successMessage=Oi)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.Fv),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div"),s.YNc(5,P,1,0,"mat-spinner",1),s.YNc(6,t,25,23,"div",2),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,6,s.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),s.xp6(3),s.Tol(ct.theme),s.xp6(1),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,V.lW],pipes:[b.X$,I.a],styles:[""]}),Y})();var c=d(74533),u=d(69287);let y=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.qZA(),s.TgZ(2,"div",1),s.TgZ(3,"textarea",2),s._uU(4),s.qZA(),s.qZA(),s.TgZ(5,"div",3),s.TgZ(6,"button",4),s.NdJ("click",function(){return ct.onCancel()}),s._uU(7),s.ALo(8,"translate"),s.qZA(),s.TgZ(9,"button",5),s._uU(10),s.ALo(11,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(ct.title),s.xp6(3),s.Oqu(ct.value),s.xp6(3),s.hij(" ",s.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),s.xp6(2),s.Q6J("cdkCopyToClipboard",ct.value),s.xp6(1),s.hij(" ",s.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[T.uh,T.xY,c.IC,Q.Nt,T.H8,V.lW,u.i3],pipes:[b.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),Y})();function M(Y,lt){1&Y&&s._UZ(0,"th",12)}function re(Y,lt){if(1&Y&&(s.TgZ(0,"td",13),s._uU(1),s.qZA()),2&Y){const we=lt.$implicit;s.xp6(1),s.Oqu(we.displayName)}}function et(Y,lt){1&Y&&s._UZ(0,"tr",14)}function yt(Y,lt){1&Y&&s._UZ(0,"tr",15)}let pt=(()=>{class Y{constructor(we,ct,zt,Jt,di){this.dialogRef=we,this.data=ct,this.notificator=zt,this.translate=Jt,this.attributesManager=di,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new S.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){const we=[];for(const zt of this.data.attributes)we.push(zt.id);const ct={};switch(ct[this.data.entity]=this.data.entityId,ct.attributes=we,void 0!==this.data.secondEntity&&(ct[this.data.secondEntity]=this.data.secondEntityId),this.data.entity){case"vo":this.attributesManager.setVoAttributes({vo:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"group":"resource"===this.data.secondEntity?this.attributesManager.setGroupResourceAttributes({group:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setGroupAttributes({group:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"user":"facility"===this.data.secondEntity?this.attributesManager.setUserFacilityAttributes({user:this.data.entityId,facility:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess()):this.attributesManager.setUserAttributes({user:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"member":switch(this.data.secondEntity){case"resource":this.attributesManager.setMemberResourceAttributes({member:this.data.entityId,resource:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;case"group":this.attributesManager.setMemberGroupAttributes({member:this.data.entityId,group:this.data.secondEntityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess());break;default:this.attributesManager.setMemberAttributes({member:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()})}break;case"facility":this.attributesManager.setFacilityAttributes({facility:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"host":this.attributesManager.setHostAttributes({host:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"ues":this.attributesManager.setUserExtSourceAttributes({userExtSource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>{this.onSuccess()});break;case"resource":this.attributesManager.setResourceAttributes({resource:this.data.entityId,attributes:this.data.attributes}).subscribe(()=>this.onSuccess())}}onSuccess(){this.translate.get("DIALOGS.EDIT_ATTRIBUTES.SUCCESS").subscribe(we=>{this.notificator.showSuccess(we),this.dialogRef.close(!0)})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(A.V6),s.Y36(b.sK),s.Y36(m.H8))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-edit-attribute-dialog"]],decls:23,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"table",3),s.ynx(11,4),s.YNc(12,M,1,0,"th",5),s.YNc(13,re,2,1,"td",6),s.BQk(),s.YNc(14,et,1,0,"tr",7),s.YNc(15,yt,1,0,"tr",8),s.qZA(),s.qZA(),s.TgZ(16,"div",9),s.TgZ(17,"button",10),s.NdJ("click",function(){return ct.onCancel()}),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"button",11),s.NdJ("click",function(){return ct.onSubmit()}),s._uU(21),s.ALo(22,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),s.xp6(4),s.hij(" ",s.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),s.xp6(3),s.hij(" ",s.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),s.xp6(2),s.Q6J("dataSource",ct.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",ct.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",ct.displayedColumns),s.xp6(3),s.hij(" ",s.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),s.xp6(3),s.hij(" ",s.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[T.uh,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})(),Nt=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"mat-form-field"),s.TgZ(5,"textarea",2),s.NdJ("ngModelChange",function(Jt){return ct.attributeValue=Jt}),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return ct.cancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return ct.submit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),s.xp6(4),s.Q6J("ngModel",ct.attributeValue),s.xp6(3),s.hij(" ",s.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,T.xY,h.KE,c.IC,Q.Nt,H.Fj,H.JJ,H.On,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})(),It=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h5",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"div"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"div",2),s._uU(8),s.qZA(),s.qZA(),s.TgZ(9,"div",3),s.TgZ(10,"button",4),s.NdJ("click",function(){return ct.cancel()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.TgZ(13,"button",5),s.NdJ("click",function(){return ct.submit()}),s._uU(14),s.ALo(15,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),s.xp6(4),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),s.xp6(3),s.hij(" ",ct.data.name," "),s.xp6(3),s.hij(" ",s.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),s.xp6(3),s.hij(" ",s.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,T.xY,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var Zt=d(98380);function mt(Y,lt){if(1&Y&&(s.TgZ(0,"app-alert",9),s._uU(1),s.qZA()),2&Y){const we=s.oxw();s.xp6(1),s.Oqu(we.pendingEmailsMessage)}}function Ht(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,s.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let _t=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.data=ct,this.translate=zt,this.notificator=Jt,this.usersManagerService=di,this.authService=Oi,this.pendingMails=[],zt.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(zi=>this.successMessage=zi),zt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(zi=>this.pendingEmailsMessageStart=zi),zt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(zi=>this.pendingEmailsMessageEnd=zi)}ngOnInit(){this.emailControl=new H.NI(null,[H.kI.required,H.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(we=>{this.pendingMails=we.filter((zt,Jt,di)=>Jt===di.indexOf(zt));let ct="";this.pendingMails.forEach(zt=>ct+=`${zt===this.pendingMails[0]?"":", "}${zt}`),console.log(ct),this.pendingEmailsMessage=this.pendingEmailsMessageStart+ct+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const ct=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",ct[0]+"//"+ct[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(b.sK),s.Y36(A.V6),s.Y36(m.Fv),s.Y36(A.e8))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.ALo(3,"customTranslate"),s.qZA(),s.TgZ(4,"div",1),s.YNc(5,mt,2,1,"app-alert",2),s.TgZ(6,"mat-form-field",3),s.TgZ(7,"label",3),s._UZ(8,"input",4),s.ALo(9,"translate"),s.ALo(10,"customTranslate"),s.qZA(),s.YNc(11,Ht,4,5,"mat-error",5),s.qZA(),s.qZA(),s.TgZ(12,"div",6),s.TgZ(13,"button",7),s.NdJ("click",function(){return ct.onCancel()}),s._uU(14),s.ALo(15,"translate"),s.ALo(16,"customTranslate"),s.qZA(),s.TgZ(17,"button",8),s.NdJ("click",function(){return ct.onSubmit()}),s._uU(18),s.ALo(19,"translate"),s.ALo(20,"customTranslate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,8,s.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),s.xp6(4),s.Q6J("ngIf",ct.pendingMails.length),s.xp6(3),s.s9C("placeholder",s.lcZ(9,12,s.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),s.Q6J("formControl",ct.emailControl),s.xp6(3),s.Q6J("ngIf",ct.emailControl.invalid),s.xp6(3),s.hij(" ",s.lcZ(15,16,s.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),s.xp6(3),s.Q6J("disabled",!ct.emailControl.valid),s.xp6(1),s.hij(" ",s.lcZ(19,20,s.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[T.uh,T.xY,O.O5,Zt.w,h.KE,Q.Nt,H.Fj,H.Q7,H.JJ,H.oH,h.TO,T.H8,V.lW],pipes:[b.X$,I.a],styles:[""]}),Y})();function Je(Y,lt){1&Y&&s._UZ(0,"mat-spinner",6)}function Lt(Y,lt){1&Y&&s._UZ(0,"th",15)}function ht(Y,lt){if(1&Y&&(s.TgZ(0,"td",16),s._uU(1),s.qZA()),2&Y){const we=lt.$implicit;s.xp6(1),s.Oqu(we)}}function Rt(Y,lt){1&Y&&s._UZ(0,"tr",17)}function qe(Y,lt){1&Y&&s._UZ(0,"tr",18)}function Ye(Y,lt){if(1&Y&&(s.TgZ(0,"div",7),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"div",8),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"table",9),s.ynx(8,10),s.YNc(9,Lt,1,0,"th",11),s.YNc(10,ht,2,1,"td",12),s.BQk(),s.YNc(11,Rt,1,0,"tr",13),s.YNc(12,qe,1,0,"tr",14),s.qZA(),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,5,we.data.description)," "),s.xp6(3),s.hij(" ",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),s.xp6(2),s.Q6J("dataSource",we.dataSource),s.xp6(4),s.Q6J("matHeaderRowDef",we.displayedColumns),s.xp6(1),s.Q6J("matRowDefColumns",we.displayedColumns)}}let oe=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.data=ct,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new S.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Je,1,0,"mat-spinner",1),s.YNc(5,Ye,13,9,"div",2),s.TgZ(6,"div",3),s.TgZ(7,"button",4),s.NdJ("click",function(){return ct.onCancel()}),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.TgZ(10,"button",5),s.NdJ("click",function(){return ct.onSubmit()}),s._uU(11),s.ALo(12,"translate"),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.Oqu(s.lcZ(3,9,ct.data.title)),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(3),s.hij(" ",s.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),s.xp6(2),s.Q6J("disabled",ct.loading),s.xp6(1),s.hij(" ",s.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[T.uh,O.O5,E.$g,T.xY,S.BZ,S.w1,S.fO,S.ge,S.Dz,S.ev,S.as,S.XQ,S.nj,S.Gk,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var Z=d(28258),G=d(90149);let X=(()=>{class Y{transform(we){const ct=we.split(":");return ct[ct.length-1]}}return Y.\u0275fac=function(we){return new(we||Y)},Y.\u0275pipe=s.Yjl({name:"parseGroupName",type:Y,pure:!0}),Y})();function _e(Y,lt){1&Y&&s._UZ(0,"mat-spinner",7)}function Ue(Y,lt){1&Y&&(s.TgZ(0,"app-alert"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function wt(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function Ut(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const Vt=function(Y){return{"min-width":Y}};function Dt(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-tree-node",16),s.TgZ(1,"li",17),s.TgZ(2,"div",18),s.NdJ("click",function(){const Jt=s.CHM(we).$implicit;return s.oxw(3).navigate(Jt.id,Jt.include)}),s._UZ(3,"button",19),s.TgZ(4,"div",20),s.TgZ(5,"span"),s._uU(6),s.ALo(7,"parseGroupName"),s.qZA(),s.YNc(8,wt,3,3,"span",21),s.YNc(9,Ut,3,3,"span",21),s.qZA(),s.TgZ(10,"span",22),s._uU(11),s.qZA(),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=lt.$implicit,ct=s.oxw(3);s.xp6(2),s.ekj("cursor-pointer",we.direct||we.include)("act-disabled",!we.direct&&!we.include),s.xp6(2),s.Q6J("ngStyle",s.VKq(11,Vt,ct.getMinWidth(we.level))),s.xp6(2),s.Oqu(s.lcZ(7,9,we.name)),s.xp6(2),s.Q6J("ngIf",we.direct),s.xp6(1),s.Q6J("ngIf",we.include),s.xp6(2),s.Oqu(we.description)}}function Et(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function At(Y,lt){1&Y&&(s.TgZ(0,"span",23),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Ot(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-nested-tree-node"),s.TgZ(1,"li"),s.TgZ(2,"div",17),s.TgZ(3,"button",24),s.TgZ(4,"mat-icon",25),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"div",18),s.NdJ("click",function(){const Jt=s.CHM(we).$implicit;return s.oxw(3).navigate(Jt.id,Jt.include)}),s.TgZ(7,"div",20),s.TgZ(8,"span"),s._uU(9),s.ALo(10,"parseGroupName"),s.qZA(),s.YNc(11,Et,3,3,"span",21),s.YNc(12,At,3,3,"span",21),s.qZA(),s.TgZ(13,"span",22),s._uU(14),s.qZA(),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.GkF(16,26),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=lt.$implicit,ct=s.oxw(3);s.xp6(3),s.uIk("aria-label","Toggle "+we.name),s.xp6(2),s.hij(" ",ct.treeControl.isExpanded(we)?"expand_more":"chevron_right"," "),s.xp6(1),s.ekj("cursor-pointer",we.direct||we.include)("act-disabled",!we.direct&&!we.include),s.xp6(1),s.Q6J("ngStyle",s.VKq(15,Vt,ct.getMinWidth(we.level))),s.xp6(2),s.Oqu(s.lcZ(10,13,we.name)),s.xp6(2),s.Q6J("ngIf",we.direct),s.xp6(1),s.Q6J("ngIf",we.include),s.xp6(2),s.Oqu(we.description),s.xp6(1),s.ekj("example-tree-invisible",!ct.treeControl.isExpanded(we))}}function Kt(Y,lt){if(1&Y&&(s.TgZ(0,"mat-tree",13),s.YNc(1,Dt,12,13,"mat-tree-node",14),s.YNc(2,Ot,17,17,"mat-nested-tree-node",15),s.qZA()),2&Y){const we=s.oxw(2);s.Q6J("dataSource",we.dataSource)("treeControl",we.treeControl),s.xp6(2),s.Q6J("matTreeNodeDefWhen",we.hasChild)}}function li(Y,lt){if(1&Y&&(s.TgZ(0,"div",8),s.TgZ(1,"p"),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-form-field",9),s._UZ(5,"input",10),s.ALo(6,"translate"),s.qZA(),s.YNc(7,Ue,3,3,"app-alert",11),s.YNc(8,Kt,3,3,"mat-tree",12),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.Oqu(s.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),s.xp6(3),s.s9C("placeholder",s.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),s.Q6J("formControl",we.formControl),s.xp6(2),s.Q6J("ngIf",!we.dataSource.data.length),s.xp6(1),s.Q6J("ngIf",we.dataSource.data.length)}}const fi=function(Y){return{name:Y}};let Ci=(()=>{class Y{constructor(we,ct,zt){this.dialogRef=we,this.data=ct,this.groupsManagerService=zt,this.treeControl=new Z.VY(Jt=>Jt.children),this.dataSource=new G.WX,this.groupTree=[],this.paths=[],this.formControl=new H.NI(""),this.userName="",this.hasChild=(Jt,di)=>!!di.children&&di.children.length>0}recursiveSearch(we,ct,zt){for(let di=0;di{this.groupTree=this.recursiveSearch(this.groupTree,ct,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(we=>{this.paths=we,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(we=>{const ct=we.trim().toLowerCase(),zt=this.paths.filter(Jt=>Jt.filter(di=>di.name.includes(ct)).length);this.createGroupTree(zt),this.dataSource.data=this.groupTree}),this.userName=(0,R.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(we,ct=!1){window.open(`/organizations/${this.data.member.voId}/groups/${we}${ct?"/settings/relations":""}`,"_blank")}getMinWidth(we){return 400-40*we+"px"}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.ff))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-member-tree-view-dialog"]],decls:11,vars:11,consts:[[1,"group-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","mr-0",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-flat-button","",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"mr-0"],[1,"filter-field","ml-2"],["matInput","",3,"formControl","placeholder"],[4,"ngIf"],["class","example-tree",3,"dataSource","treeControl",4,"ngIf"],[1,"example-tree",3,"dataSource","treeControl"],["matTreeNodeToggle","",4,"matTreeNodeDef"],[4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle",""],[1,"mat-tree-node"],[1,"row","flex-nowrap",3,"click"],["mat-icon-button",""],[1,"mt-auto","mb-auto",3,"ngStyle"],["class","text-muted ml-2",4,"ngIf"],[1,"text-muted","ml-3"],[1,"text-muted","ml-2"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mr-3"],["matTreeNodeOutlet",""]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,_e,1,0,"mat-spinner",2),s.YNc(5,li,9,9,"div",3),s.TgZ(6,"div",4),s.TgZ(7,"div",5),s.TgZ(8,"button",6),s.NdJ("click",function(){return ct.onCancel()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&we&&(s.xp6(2),s.hij(" ",s.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",s.VKq(9,fi,ct.userName))," "),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[T.uh,O.O5,E.$g,T.xY,h.KE,Q.Nt,H.Fj,H.JJ,H.oH,Zt.w,G.gi,G.fQ,G.uo,G.eu,V.lW,O.PC,G.GZ,Oe.Hw,G.Ar,T.H8],pipes:[b.X$,X],styles:[".example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.act-disabled[_ngcontent-%COMP%]{pointer-events:none}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),Y})();var Si=d(30325);let Vi=(()=>{class Y{constructor(we,ct){this.dialogRef=we,this.router=ct}onClose(){this.router.navigate([]),this.dialogRef.close()}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(Si.F0))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.TgZ(4,"app-alert",2),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.TgZ(7,"div",3),s.TgZ(8,"button",4),s.NdJ("click",function(){return ct.onClose()}),s._uU(9),s.ALo(10,"translate"),s.qZA(),s.qZA()),2&we&&(s.xp6(1),s.hij(" ",s.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),s.xp6(4),s.Oqu(s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),s.xp6(4),s.hij(" ",s.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[T.uh,T.xY,Zt.w,T.H8,V.lW],pipes:[b.X$],styles:[""]}),Y})();var nn=d(79814),$i=d(86856),Yi=d(62383);function bn(Y,lt){1&Y&&(s.TgZ(0,"mat-radio-button",16),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function Qi(Y,lt){1&Y&&(s.TgZ(0,"mat-radio-button",17),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}function We(Y,lt){1&Y&&(s.TgZ(0,"app-alert",18),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.STATUS_CHANGE_INFO")))}let Tt=(()=>{class Y{constructor(we){this.dialogRef=we,this.canExtendMembership=!1,this.expirationChanged=new s.vpe,this.statusChange=new s.vpe,this.expirationControl=new H.NI(null)}ngOnInit(){const we=new Date;this.currentDate=(0,O.p6)(new Date(we.getFullYear(),we.getMonth(),we.getDate()),"yyyy-MM-dd","en_US"),"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}parseDate(we){return(0,O.p6)(we,"yyyy-MM-dd","en_US")}onChange(){"EXPIRED"===this.status&&("never"===this.newExpiration||this.parseDate(this.expirationControl.value)>this.currentDate)&&this.statusChange.emit(!0),this.expirationChanged.emit(this.newExpiration)}onCancel(){this.dialogRef.close({success:!1})}setExpiration(){this.newExpiration=(0,O.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,O.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-expiration-dialog"]],inputs:{currentExpiration:"currentExpiration",newExpiration:"newExpiration",canExtendMembership:"canExtendMembership",minDate:"minDate",maxDate:"maxDate",mode:"mode",status:"status"},outputs:{expirationChanged:"expirationChanged",statusChange:"statusChange"},decls:37,vars:37,consts:[[1,"member-theme"],["mat-dialog-content",""],[1,"d-flex","flex-column",3,"ngModel","ngModelChange"],[3,"value"],["color","primary",1,"cursor-pointer",3,"click"],["readonly","","matInput","",1,"disable",3,"min","max","formControl","matDatepicker","dateChange"],["matSuffix","",3,"for","disabled"],[3,"disabled"],["picker",""],["class","bottom-padding","value","voRules",4,"ngIf"],["class","bottom-padding","value","groupRules",4,"ngIf"],["value","never"],["alert_type","info",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["value","voRules",1,"bottom-padding"],["value","groupRules",1,"bottom-padding"],["alert_type","info"]],template:function(we,ct){if(1&we){const zt=s.EpF();s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"p"),s.TgZ(3,"strong"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._uU(6),s.ALo(7,"parseDate"),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong"),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.ALo(13,"parseDate"),s.qZA(),s.TgZ(14,"mat-radio-group",2),s.NdJ("ngModelChange",function(di){return ct.newExpiration=di}),s.TgZ(15,"mat-radio-button",3),s.TgZ(16,"mat-form-field",4),s.NdJ("click",function(){return s.CHM(zt),s.MAs(23).open()}),s.TgZ(17,"mat-label"),s._uU(18),s.ALo(19,"translate"),s.qZA(),s.TgZ(20,"input",5),s.NdJ("dateChange",function(){return ct.setExpiration()}),s.qZA(),s._UZ(21,"mat-datepicker-toggle",6),s._UZ(22,"mat-datepicker",7,8),s.qZA(),s.qZA(),s.YNc(24,bn,3,3,"mat-radio-button",9),s.YNc(25,Qi,3,3,"mat-radio-button",10),s.TgZ(26,"mat-radio-button",11),s._uU(27),s.ALo(28,"translate"),s.qZA(),s.qZA(),s.YNc(29,We,3,3,"app-alert",12),s.qZA(),s.TgZ(30,"div",13),s.TgZ(31,"button",14),s.NdJ("click",function(){return ct.onCancel()}),s._uU(32),s.ALo(33,"translate"),s.qZA(),s.TgZ(34,"button",15),s.NdJ("click",function(){return ct.onChange()}),s._uU(35),s.ALo(36,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&we){const zt=s.MAs(23);s.xp6(4),s.Oqu(s.lcZ(5,21,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),s.xp6(2),s.hij(" ",s.lcZ(7,23,ct.currentExpiration)," "),s.xp6(4),s.Oqu(s.lcZ(11,25,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),s.xp6(2),s.hij(" ",ct.newExpiration?s.lcZ(13,27,ct.newExpiration):"never"," "),s.xp6(2),s.Q6J("ngModel",ct.newExpiration),s.xp6(1),s.s9C("value",ct.expirationControl.value),s.xp6(3),s.Oqu(s.lcZ(19,29,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),s.xp6(2),s.Q6J("min",ct.minDate)("max",ct.maxDate)("formControl",ct.expirationControl)("matDatepicker",zt),s.xp6(1),s.Q6J("for",zt)("disabled",!1),s.xp6(1),s.Q6J("disabled",!1),s.xp6(2),s.Q6J("ngIf",ct.canExtendMembership&&"vo"===ct.mode),s.xp6(1),s.Q6J("ngIf",ct.canExtendMembership&&"group"===ct.mode),s.xp6(2),s.hij(" ",s.lcZ(28,31,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),s.xp6(2),s.Q6J("ngIf","EXPIRED"===ct.status&&("never"===ct.newExpiration||ct.parseDate(ct.expirationControl.value)>ct.currentDate)),s.xp6(3),s.hij(" ",s.lcZ(33,33,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),s.xp6(2),s.Q6J("disabled",ct.expirationControl.invalid),s.xp6(1),s.hij(" ",s.lcZ(36,35,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[T.xY,nn.VQ,H.JJ,H.On,nn.U0,h.KE,h.hX,Q.Nt,H.Fj,$i.hl,H.oH,$i.nW,h.R9,$i.Mq,O.O5,Zt.w,T.H8,V.lW],pipes:[b.X$,Yi.M],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bottom-padding[_ngcontent-%COMP%]{padding-bottom:20px} .mat-form-field.mat-focused .mat-form-field-underline{display:none}"]}),Y})();function Qe(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function Ze(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(we),s.oxw().changeStatus=!0})("expirationChanged",function(zt){return s.CHM(we),s.oxw().onExpirationChanged(zt)}),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("minDate",we.minDate)("maxDate",we.maxDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("canExtendMembership",we.canExtendMembership)("mode","group")("status",we.status)}}let gt=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi){this.dialogRef=we,this.data=ct,this.attributesManagerService=zt,this.memberManager=Jt,this.groupManager=di,this.translate=Oi,this.notificator=zi,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,Oi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.status=this.data.status,this.loading=!0;const we=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(we.getFullYear(),we.getMonth(),we.getDate()):this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,O.p6)(we,"yyyy-MM-dd","en"),this.maxDate=we):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,ee.r.GROUP_DEF_EXPIRATION_RULES).subscribe(ct=>{null!==ct.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(zt=>{this.canExtendMembership=!!zt,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(we){this.loading=!0,"groupRules"===we?this.groupManager.extendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===we?null:we,this.attributesManagerService.setMemberGroupAttributes({member:this.data.memberId,group:this.data.groupId,attributes:[this.expirationAttr]}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.groupManager.setGroupsMemberStatus(this.data.memberId,this.data.groupId,"VALID").subscribe(ct=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(zt=>{this.notificator.showSuccess(zt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:ct})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-group-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Qe,1,0,"mat-spinner",2),s.YNc(5,Ze,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,Tt],pipes:[b.X$],styles:[""]}),Y})();var F=d(13469);function Be(Y,lt){1&Y&&(s.TgZ(0,"mat-error"),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.Oqu(s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function ut(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"form",5),s.TgZ(1,"div",6),s.TgZ(2,"mat-form-field"),s.TgZ(3,"mat-label"),s._uU(4),s.ALo(5,"translate"),s.qZA(),s._UZ(6,"input",7),s.TgZ(7,"mat-icon",8),s.NdJ("click",function(){s.CHM(we);const zt=s.oxw();return zt.showOldPassword=!zt.showOldPassword}),s._uU(8),s.qZA(),s.YNc(9,Be,3,3,"mat-error",9),s.qZA(),s._UZ(10,"perun-web-apps-password-form",10),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("formGroup",we.formGroup),s.xp6(4),s.Oqu(s.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),s.xp6(2),s.Q6J("type",we.showOldPassword?"text":"password"),s.xp6(2),s.hij(" ",we.showOldPassword?"visibility_off":"visibility"," "),s.xp6(1),s.Q6J("ngIf",we.oldPwd.hasError("required")),s.xp6(1),s.Q6J("formGroup",we.formGroup)("namespace",we.data.namespace)}}function Mt(Y,lt){1&Y&&s._UZ(0,"mat-spinner",11)}function ei(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div",12),s.TgZ(1,"div",13),s.TgZ(2,"button",14),s.NdJ("click",function(){return s.CHM(we),s.oxw().close()}),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"button",15),s.NdJ("click",function(){return s.CHM(we),s.oxw().changePassword()}),s._uU(6),s.ALo(7,"translate"),s.qZA(),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.xp6(3),s.hij(" ",s.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",we.formGroup.invalid||we.formGroup.pending),s.xp6(1),s.hij(" ",s.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Qt=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi){this.dialogRef=we,this.data=ct,this._formBuilder=zt,this.usersManagerService=Jt,this.apiRequestConfiguration=di,this.notificator=Oi,this.translate=zi,this.showOldPassword=!1,zi.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",H.kI.required],passwordCtrl:["",H.kI.required,[(0,f.yT)(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:R.dN.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(H.qu),s.Y36(m.Fv),s.Y36(A.F5),s.Y36(A.V6),s.Y36(b.sK))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(we,ct){1&we&&(s.TgZ(0,"h1",0),s._uU(1),s.ALo(2,"translate"),s.qZA(),s.TgZ(3,"div",1),s.YNc(4,ut,11,9,"form",2),s.YNc(5,Mt,1,0,"mat-spinner",3),s.qZA(),s.YNc(6,ei,8,7,"div",4)),2&we&&(s.xp6(1),s.Oqu(s.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),s.xp6(3),s.Q6J("ngIf",!ct.loading),s.xp6(1),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,T.xY,O.O5,H._Y,H.JL,H.sg,h.KE,h.hX,H.Fj,Q.Nt,H.JJ,H.u,H.Q7,Oe.Hw,h.R9,h.TO,F.G,E.$g,T.H8,V.lW],pipes:[b.X$],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),Y})();function Ri(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function bi(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("statusChange",function(){return s.CHM(we),s.oxw().changeStatus=!0})("expirationChanged",function(zt){return s.CHM(we),s.oxw().onExpirationChanged(zt)}),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("minDate",we.minDate)("maxDate",we.maxDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("canExtendMembership",we.canExtendMembership)("mode","vo")("status",we.status)}}let Li=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi){this.dialogRef=we,this.data=ct,this.attributesManagerService=zt,this.memberManager=Jt,this.translate=di,this.notificator=Oi,this.loading=!1,this.expirationAttr=null,this.canExtendMembership=!1,di.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(zi=>this.successMessage=zi)}ngOnInit(){this.status=this.data.status,this.loading=!0;const we=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(we.getFullYear(),we.getMonth(),we.getDate()):this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=this.expirationAttr&&this.expirationAttr.value?this.expirationAttr.value:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,O.p6)(we,"yyyy-MM-dd","en"),this.maxDate=we):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,ee.r.VO_DEF_EXPIRATION_RULES).subscribe(ct=>{null!==ct.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(zt=>{this.canExtendMembership=!!zt,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(we){this.loading=!0,"voRules"===we?this.memberManager.extendMembership(this.data.memberId).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0})},()=>this.loading=!1):(this.expirationAttr.value="never"===we?null:we,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.memberManager.setStatus(this.data.memberId,"VALID").subscribe(ct=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(zt=>{this.notificator.showSuccess(zt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:ct})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-vo-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","maxDate","currentExpiration","newExpiration","canExtendMembership","mode","status","statusChange","expirationChanged"]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ri,1,0,"mat-spinner",2),s.YNc(5,bi,1,7,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,Tt],pipes:[b.X$],styles:[""]}),Y})();function Ji(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function Ni(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"perun-web-apps-change-expiration-dialog",5),s.NdJ("expirationChanged",function(zt){return s.CHM(we),s.oxw().onExpirationChanged(zt)}),s.qZA()}if(2&Y){const we=s.oxw();s.Q6J("minDate",we.minDate)("currentExpiration",we.currentExpiration)("newExpiration",we.newExpiration)("mode","sponsor")}}let Hi=(()=>{class Y{constructor(we,ct,zt,Jt,di,Oi,zi){this.dialogRef=we,this.data=ct,this.attributesManagerService=zt,this.memberManager=Jt,this.groupManager=di,this.translate=Oi,this.notificator=zi,this.loading=!1,Oi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(mn=>this.successMessage=mn)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const we=new Date;this.minDate=new Date(we.getFullYear(),we.getMonth(),we.getDate()),this.loading=!1}onExpirationChanged(we){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===we?null:we).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.H8),s.Y36(m.uq),s.Y36(m.ff),s.Y36(b.sK),s.Y36(A.V6))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-sponsorship-expiration-dialog"]],decls:6,vars:5,consts:[[1,"member-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"minDate","currentExpiration","newExpiration","mode","expirationChanged"]],template:function(we,ct){1&we&&(s.TgZ(0,"div",0),s.TgZ(1,"h1",1),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,Ji,1,0,"mat-spinner",2),s.YNc(5,Ni,1,4,"perun-web-apps-change-expiration-dialog",3),s.qZA()),2&we&&(s.xp6(2),s.Oqu(s.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,Tt],pipes:[b.X$],styles:[""]}),Y})();function pn(Y,lt){1&Y&&s._UZ(0,"mat-spinner",4)}function Pi(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function Ti(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function Ui(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"mat-radio-group",12),s.NdJ("ngModelChange",function(zt){return s.CHM(we),s.oxw(2).asyncValidation=zt}),s.TgZ(1,"span",13),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"mat-radio-button",14),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.TgZ(7,"mat-radio-button",14),s._uU(8),s.ALo(9,"translate"),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw(2);s.Q6J("ngModel",we.asyncValidation),s.xp6(2),s.hij(" ",s.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),s.xp6(2),s.Q6J("value",!1),s.xp6(1),s.hij(" ",s.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),s.xp6(2),s.Q6J("value",!0),s.xp6(1),s.hij(" ",s.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function fn(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function sn(Y,lt){1&Y&&(s.TgZ(0,"span",11),s._uU(1),s.ALo(2,"translate"),s.qZA()),2&Y&&(s.xp6(1),s.hij(" ",s.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function qi(Y,lt){if(1&Y&&(s.TgZ(0,"div",5),s.TgZ(1,"p",6),s._uU(2),s.TgZ(3,"span",7),s._uU(4),s.qZA(),s._uU(5),s.TgZ(6,"span",7),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"p"),s.TgZ(9,"strong",8),s._uU(10),s.ALo(11,"translate"),s.qZA(),s._uU(12),s.qZA(),s.TgZ(13,"p"),s.TgZ(14,"strong",8),s._uU(15),s.ALo(16,"translate"),s.qZA(),s._uU(17),s.qZA(),s.YNc(18,Pi,3,3,"span",9),s.YNc(19,Ti,3,3,"span",9),s.YNc(20,Ui,10,12,"mat-radio-group",10),s.YNc(21,fn,3,3,"span",9),s.YNc(22,sn,3,3,"span",9),s.qZA()),2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",we.group.name," "),s.xp6(2),s.hij("#",we.group.id,""),s.xp6(1),s.hij(" - ",we.resource.name," "),s.xp6(2),s.hij("#",we.resource.id,""),s.xp6(3),s.hij(" ",s.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),s.xp6(2),s.hij(" ",we.status," "),s.xp6(3),s.hij(" ",s.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),s.xp6(2),s.hij(" ",we.getReversedStatus()," "),s.xp6(1),s.Q6J("ngIf","INACTIVE"===we.status||"FAILED"===we.status),s.xp6(1),s.Q6J("ngIf","ACTIVE"===we.status),s.xp6(1),s.Q6J("ngIf","INACTIVE"===we.status||"FAILED"===we.status),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===we.status||"FAILED"===we.status)&&!1===we.asyncValidation),s.xp6(1),s.Q6J("ngIf",("INACTIVE"===we.status||"FAILED"===we.status)&&!0===we.asyncValidation)}}function Ct(Y,lt){if(1&Y){const we=s.EpF();s.TgZ(0,"div",15),s.TgZ(1,"button",16),s.NdJ("click",function(){return s.CHM(we),s.oxw().onCancel()}),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.TgZ(4,"button",17),s.NdJ("click",function(){return s.CHM(we),s.oxw().onSubmit()}),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA()}if(2&Y){const we=s.oxw();s.xp6(2),s.hij(" ",s.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),s.xp6(2),s.Q6J("disabled",we.loading),s.xp6(1),s.hij(" ",s.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===we.status?"DEACTIVATE":"ACTIVATE"))," ")}}let $t=(()=>{class Y{constructor(we,ct,zt,Jt){this.dialogRef=we,this.data=ct,this.resourceService=zt,this.groupService=Jt,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(we=>{this.resource=we,this.groupService.getGroupById(this.data.groupId).subscribe(ct=>{this.group=ct,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return Y.\u0275fac=function(we){return new(we||Y)(s.Y36(T.so),s.Y36(T.WI),s.Y36(m.xk),s.Y36(m.ff))},Y.\u0275cmp=s.Xpm({type:Y,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(we,ct){1&we&&(s.TgZ(0,"div"),s.TgZ(1,"h1",0),s._uU(2),s.ALo(3,"translate"),s.qZA(),s.YNc(4,pn,1,0,"mat-spinner",1),s.YNc(5,qi,23,17,"div",2),s.YNc(6,Ct,7,7,"div",3),s.qZA()),2&we&&(s.Tol(ct.theme),s.xp6(2),s.hij(" ",s.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),s.xp6(2),s.Q6J("ngIf",ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading),s.xp6(1),s.Q6J("ngIf",!ct.loading))},directives:[T.uh,O.O5,E.$g,T.xY,nn.VQ,H.JJ,H.On,nn.U0,T.H8,V.lW],pipes:[b.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),Y})()},50301:(Ke,be,d)=>{"use strict";d.d(be,{hT:()=>f,Kd:()=>T,YH:()=>m});var e=d(5e3);let f=(()=>{class A{constructor(b){this.elementRef=b}ngOnInit(){this.elementRef.nativeElement.focus()}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsAutoFocus",""]]}),A})();var g=d(36908);let T=(()=>{class A{constructor(b,O){this.el=b,this.router=O}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return A.\u0275fac=function(b){return new(b||A)(e.Y36(e.SBq),e.Y36(g.xw))},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(b,O){1&b&&e.NdJ("click",function(){return O.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),A})(),m=(()=>{class A{constructor(){}onClick(b){if(1===b.button&&null!=this.perunWebAppsMiddleClickRouterLink){const O=this.perunWebAppsMiddleClickRouterLink.join("/"),E=location.search;window.open(O+E)}}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275dir=e.lG2({type:A,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(b,O){1&b&&e.NdJ("mouseup",function(h){return O.onClick(h)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),A})()},45323:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>e});var e=(()=>{return(f=e||(e={})).PERUNADMIN="PERUNADMIN",f.PERUNOBSERVER="PERUNOBSERVER",f.VOADMIN="VOADMIN",f.GROUPADMIN="GROUPADMIN",f.SELF="SELF",f.FACILITYADMIN="FACILITYADMIN",f.FACILITIYOBSERVER="FACILITYOBSERVER",f.RESOURCEADMIN="RESOURCEADMIN",f.RESOURCESELFSERVICE="RESOURCESELFSERVICE",f.REGISTRAR="REGISTRAR",f.ENGINE="ENGINE",f.RPC="RPC",f.NOTIFICATIONS="NOTIFICATIONS",f.SERVICEUSER="SERVICEUSER",f.SPONSOR="SPONSOR",f.VOOBSERVER="VOOBSERVER",f.TOPGROUPCREATOR="TOPGROUPCREATOR",f.SECURITYADMIN="SECURITYADMIN",f.CABINETADMIN="CABINETADMIN",f.UNKNOWNROLENAME="UNKNOWNROLENAME",e;var f})()},28499:(Ke,be,d)=>{"use strict";d.d(be,{E3:()=>h,yT:()=>k.y});var e=d(69808),f=d(67322),g=d(29772),T=d(93075),m=d(98833),A=d(51062),s=d(20773),b=d(25245),O=d(63189),E=d(5e3);let h=(()=>{class V{}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275mod=E.oAB({type:V}),V.\u0275inj=E.cJS({providers:[],imports:[[e.ez,f.lN,g.AV,T.UX,m.c,A.aw,s.Cq,b.Ps,O.r]]}),V})();var k=d(47549);d(13469)},13469:(Ke,be,d)=>{"use strict";d.d(be,{G:()=>ke});var e=d(47549),f=d(36908),g=d(9315),T=d(5e3),m=d(51062),A=d(93075),s=d(67322),b=d(29772),O=d(98833),E=d(69808),h=d(20773),k=d(25245),L=d(98380);function V(ae,j){1&ae&&T._UZ(0,"mat-spinner",12),2&ae&&T.Q6J("diameter",18)}function $(ae,j){if(1&ae&&(T.TgZ(0,"mat-icon",13),T._uU(1," error "),T.qZA()),2&ae){const H=T.oxw();T.Q6J("matTooltip",H.getErrorTooltip())("matTooltipDisabled",!H.formGroup.get("passwordCtrl").hasError("backendError"))}}function ue(ae,j){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function ce(ae,j){if(1&ae&&(T.TgZ(0,"mat-error",14),T._uU(1),T.qZA()),2&ae){const H=T.oxw();T.Q6J("matTooltip",H.getErrorTooltip()),T.xp6(1),T.Oqu(H.getErrorTooltip())}}function Le(ae,j){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function de(ae,j){1&ae&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&ae&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let ke=(()=>{class ae{constructor(H,Q,te){this.translator=H,this.usersManagerService=Q,this.store=te,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new e.S}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(H=>{const Q=H.userAttributes.find(te=>"preferredLanguage"===te.friendlyName);this.language=Q&&Q.value?Q.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let H=this.formGroup.get("passwordCtrl").getError("backendError");return H&&(H=H.replace(":null","")),H}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(H=>H.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(H=>"default"===H.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return ae.\u0275fac=function(H){return new(H||ae)(T.Y36(m.sK),T.Y36(g.Fv),T.Y36(f.d6))},ae.\u0275cmp=T.Xpm({type:ae,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[T.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(H,Q){1&H&&(T.TgZ(0,"div",0),T.TgZ(1,"mat-form-field",1),T._UZ(2,"input",2),T.ALo(3,"translate"),T.YNc(4,V,1,1,"mat-spinner",3),T.TgZ(5,"mat-icon",4),T.NdJ("click",function(){return Q.showNewPassword=!Q.showNewPassword}),T._uU(6),T.qZA(),T.YNc(7,$,2,2,"mat-icon",5),T.YNc(8,ue,3,3,"mat-error",6),T.YNc(9,ce,2,2,"mat-error",7),T.qZA(),T.TgZ(10,"mat-form-field",8),T.TgZ(11,"mat-label"),T._uU(12),T.ALo(13,"translate"),T.qZA(),T._UZ(14,"input",9),T.TgZ(15,"mat-icon",4),T.NdJ("click",function(){return Q.showPasswordConfirm=!Q.showPasswordConfirm}),T._uU(16),T.qZA(),T.YNc(17,Le,3,3,"mat-error",6),T.YNc(18,de,3,3,"mat-error",6),T.qZA(),T.TgZ(19,"app-alert",10),T._UZ(20,"div",11),T.qZA(),T.qZA()),2&H&&(T.Q6J("formGroup",Q.formGroup),T.xp6(1),T.Q6J("matTooltip",Q.getPasswordDisabledTooltip())("matTooltipDisabled",Q.formGroup.get("passwordCtrl").enabled),T.xp6(1),T.s9C("placeholder",T.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),T.Q6J("type",Q.showNewPassword?"text":"password")("required",Q.passwordRequired)("errorStateMatcher",Q.passwordStateMatcher),T.xp6(2),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").pending),T.xp6(2),T.hij(" ",Q.showNewPassword?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").dirty&&null!==Q.formGroup.get("passwordCtrl").errors),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").hasError("required")),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordCtrl").hasError("backendError")),T.xp6(3),T.Oqu(T.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),T.xp6(2),T.Q6J("type",Q.showPasswordConfirm?"text":"password")("required",Q.passwordRequired),T.xp6(2),T.hij(" ",Q.showPasswordConfirm?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordAgainCtrl").hasError("required")),T.xp6(1),T.Q6J("ngIf",Q.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),T.xp6(2),T.Q6J("innerHTML",Q.passwordRequirement,T.oJD))},directives:[A.JL,A.sg,s.KE,b.gM,O.Nt,A.Fj,A.JJ,A.u,A.Q7,E.O5,h.$g,s.R9,k.Hw,s.TO,s.hX,L.w],pipes:[m.X$],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),ae})()},47549:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>A,y:()=>s});var e=d(98723),f=d(21086),g=d(87545),T=d(24850),m=d(27221);class A{isErrorState(O){return!!(O&&O.invalid&&O.dirty)}}const s=(b,O,E,h=500)=>k=>(0,e.H)(h).pipe((0,g.w)(()=>(E.dontHandleErrorForNext(),b&&"No namespace"!==b?O.checkPasswordStrength(k.value,b):(0,f.of)(null))),(0,T.U)(()=>null),(0,m.K)(L=>(0,f.of)({backendError:L.error.message.substr(L.error.message.indexOf(":")+1)})))},9315:(Ke,be,d)=>{"use strict";d.d(be,{Us:()=>Ne,au:()=>S,sY:()=>Me,H8:()=>s,jw:()=>b,Ct:()=>O,VK:()=>A,KG:()=>k,IQ:()=>L,ff:()=>$,uq:()=>ce,aC:()=>Le,Hr:()=>de,tk:()=>ke,xk:()=>ae,KK:()=>j,Ob:()=>H,Dy:()=>rt,Fv:()=>Q,FW:()=>te,YF:()=>se});var e=d(40520);class f{encodeKey(P){return encodeURIComponent(P)}encodeValue(P){return encodeURIComponent(P)}decodeKey(P){return decodeURIComponent(P)}decodeValue(P){return decodeURIComponent(P)}}var g=d(5e3);const T=new g.OlP("basePath");class A{constructor(P={}){this.apiKeys=P.apiKeys,this.username=P.username,this.password=P.password,this.accessToken=P.accessToken,this.basePath=P.basePath,this.withCredentials=P.withCredentials,this.encoder=P.encoder}selectHeaderContentType(P){if(0===P.length)return;const i=P.find(r=>this.isJsonMime(r));return void 0===i?P[0]:i}selectHeaderAccept(P){if(0===P.length)return;const i=P.find(r=>this.isJsonMime(r));return void 0===i?P[0]:i}isJsonMime(P){const i=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==P&&(i.test(P)||"application/json-patch+json"===P.toLowerCase())}}let s=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}convertAttributeToNonunique(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}convertAttributeToUnique(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attribute",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteAttributeDefinitions(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attributes[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllAttributeDefinitions(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAttribute(i,r,p,o,t,n,c,u,y,M,re,et="body",yt=!1){let pt=new e.LE({encoder:this.encoder});null!=i&&(pt=pt.set("attributeName",i)),null!=r&&(pt=pt.set("attributeId",r)),null!=p&&(pt=pt.set("facility",p)),null!=o&&(pt=pt.set("user",o)),null!=t&&(pt=pt.set("vo",t)),null!=n&&(pt=pt.set("resource",n)),null!=c&&(pt=pt.set("member",c)),null!=u&&(pt=pt.set("group",u)),null!=y&&(pt=pt.set("host",y)),null!=M&&(pt=pt.set("userExtSource",M)),null!=re&&(pt=pt.set("key",re));let Nt=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Nt=Nt.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Nt=Nt.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const mt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Nt=Nt.set("Authorization","Bearer "+mt)}const Zt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Zt&&(Nt=Nt.set("Accept",Zt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:pt,withCredentials:this.configuration.withCredentials,headers:Nt,observe:et,reportProgress:yt})}getAttributeDefinitionById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeDefinitionByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeDefinitionsByNamespace(i,r="body",p=!1){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("namespace",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeModulesDependenciesForAttributeGraphText(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==r)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("format",i)),null!=r&&(t=t.set("attrName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAttributeModulesDependenciesGraphText(i,r="body",p=!1){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("format",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributePolicyCollections(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributeRights(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAttributesDefinitionWithRights(i,r,p,o,t,n,c,u,y="body",M=!1){let re=new e.LE({encoder:this.encoder});null!=i&&(re=re.set("member",i)),null!=r&&(re=re.set("user",r)),null!=p&&(re=re.set("vo",p)),null!=o&&(re=re.set("group",o)),null!=t&&(re=re.set("resource",t)),null!=n&&(re=re.set("facility",n)),null!=c&&(re=re.set("host",c)),null!=u&&(re=re.set("userExtSource",u));let et=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(et=et.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(et=et.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Nt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;et=et.set("Authorization","Bearer "+Nt)}const pt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==pt&&(et=et.set("Accept",pt)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:re,withCredentials:this.configuration.withCredentials,headers:et,observe:y,reportProgress:M})}getEntitylessAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("key",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEntitylessAttributesByKey(i,r="body",p=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("key",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEntitylessAttributesByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attrName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEntitylessAttributesWithKeys(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attrName",i)),r&&r.forEach(y=>{t=t.append("keys[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEntitylessKeys(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityResourceUserMemberAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==p)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),null!=r&&(c=c.set("resource",r)),null!=p&&(c=c.set("user",p)),null!=o&&(c=c.set("member",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getFacilityUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupResourceAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getHostAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getLogins(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getLogins.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberAndUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("workWithUserAttributes",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAndUserAttributesByNames(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroupAndUserAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(re=>{c=c.append("attrNames[]",re)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getMemberGroupAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroupAttributesByNames(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),p&&p.forEach(M=>{n=n.append("attrNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAndUserFacilityAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(re=>{c=c.append("attrNames[]",re)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getMemberResourceAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesFacilityService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesFacilityServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("services[]",y)}),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesGroupResourceService(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("group",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesHostService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==r)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("host",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("workWithUserAttributes",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesMemberGroup(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberGroupResourceService(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("service",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("group",p)),null!=o&&(u=u.set("member",o)),null!=t&&(u=u.set("workWithUserAttributes",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getRequiredAttributesMemberGroupService(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("group",r)),null!=p&&(c=c.set("member",p)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRequiredAttributesMemberResource(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRequiredAttributesMemberResourceService(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("resource",r)),null!=p&&(c=c.set("member",p)),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRequiredAttributesResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesResourceService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesResourceServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("services[]",y)}),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRequiredAttributesUserFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRequiredAttributesVoService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceGroupAndGroupAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==p)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("resource",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("workWithGroupAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourceGroupAndGroupAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(re=>{c=c.append("attrNames[]",re)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getResourceGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceGroupMemberAttributesByNames(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==p)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),null!=r&&(c=c.set("group",r)),null!=p&&(c=c.set("member",p)),o&&o.forEach(re=>{c=c.append("attrNames[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getUserAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userExtSource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserFacilityAttributeById(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==p)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attributeId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributeByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==p)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attributeName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getUserFacilityAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributeById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributeByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attributeName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAttributesForFacilityResourceGroupUserMember(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==p)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==n)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("facility",i)),null!=r&&(y=y.set("resource",r)),null!=p&&(y=y.set("group",p)),null!=o&&(y=y.set("user",o)),null!=t&&(y=y.set("member",t)),n&&n.forEach(yt=>{y=y.append("attributes[]",yt)});let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}removeAttributesForFacilityResourceUserMember(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==p)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("facility",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("user",p)),null!=o&&(u=u.set("member",o)),t&&t.forEach(et=>{u=u.append("attributes[]",et)});let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}removeEntitylessAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("key",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupResourceAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeGroupResourceAttributesWorkWithGroupAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(re=>{c=c.append("attributes[]",re)}),null!=o&&(c=c.set("workWithGroupAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeHostAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHostAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("host",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMemberAttributesWorkWithUserAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==p)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),r&&r.forEach(M=>{n=n.append("attributes[]",M)}),null!=p&&(n=n.set("workWithUserAttributes",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberGroupAttributesWorkWithUserAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("group",r)),p&&p.forEach(re=>{c=c.append("attributes[]",re)}),null!=o&&(c=c.set("workWithUserAttributes",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeMemberResourceAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeMemberResourceAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("resource",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeResourceAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUesAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserExtSourceAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userExtSource",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserFacilityAttribute(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==p)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("attribute",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeUserFacilityAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==p)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("facility",r)),p&&p.forEach(M=>{n=n.append("attributes[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeVoAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("attribute",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setAttributePolicyCollections(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setAttributeRights(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setEntitylessAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityResourceGroupUserMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityResourceUserMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setFacilityUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setGroupResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setHostAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setHostAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberGroupWithUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAndUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setMemberWithUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setResourceGroupWithGroupAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserExtSourceAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserExtSourceAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserFacilityAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setUserFacilityAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setVoAttribute(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setVoAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),b=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}auditMessagesManagerLog(i,r="body",p=!1){if(null==i)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("msg",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createAuditerConsumer(i,r="body",p=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("consumerName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllAuditerConsumers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAuditerMessagesCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getLastMessageId(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getMessages(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("count",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMessagesByCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("count",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMessagesPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}pollConsumerMessages(i,r="body",p=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("consumerName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}setLastProcessedId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==r)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("consumerName",i)),null!=r&&(t=t.set("lastProcessedId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),O=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAllPolicies(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllRolesManagementRules(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAuthzAdminGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==p)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("role",i)),null!=r&&(n=n.set("complementaryObjectId",r)),null!=p&&(n=n.set("complementaryObjectName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAuthzRichAdmins(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==r)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==p)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("role",i)),null!=r&&(y=y.set("complementaryObjectId",r)),null!=p&&(y=y.set("complementaryObjectName",p)),o&&o.forEach(yt=>{y=y.append("specificAttributes",yt)}),null!=t&&(y=y.set("allUserAttributes",t)),null!=n&&(y=y.set("onlyDirectAdmins",n));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}getFacilitiesWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupRoleNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupRoles(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("groupId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getLoggedUser(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getMembersWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getPerunPrincipal(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPrincipalRoleNames(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getResourcesWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSecurityTeamsWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserRoleNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserRoles(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosWhereUserIsInRoles(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("user",r)),i&&i.forEach(y=>{t=t.append("roles[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}isFacilityAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isGroupAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isPerunAdmin(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}isVoAdmin(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}keepAlive(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}loadAuthorizationComponents(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}setRoleWithGroupComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setRoleWithUserComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unsetRoleWithGroupComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unsetRoleWithUserComplementaryObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),E=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createAutorship(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createCategoryCat(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createCategoryNR(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createPublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createPublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createThanks(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAuthorship(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==r)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("publicationId",i)),null!=r&&(t=t.set("userId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteCategory(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deletePublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deletePublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteThanks(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findAllAuthors(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}findAuthorsByPublicationId(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findExternalPublications(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==r)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==p)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("yearSince",r)),null!=p&&(c=c.set("yearTill",p)),null!=o&&(c=c.set("pubSysNamespace",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}findNewAuthors(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findPublicationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findPublicationsByFilter(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let n=new e.LE({encoder:this.encoder});null!=r&&(n=n.set("yearSince",r)),null!=p&&(n=n.set("yearTill",p)),null!=i&&(n=n.set("userId",i));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findPublicationsByGUIFilter(i,r,p,o,t,n,c,u,y,M="body",re=!1){let et=new e.LE({encoder:this.encoder});null!=i&&(et=et.set("title",i)),null!=r&&(et=et.set("isbn",r)),null!=p&&(et=et.set("doi",p)),null!=o&&(et=et.set("id",o)),null!=t&&(et=et.set("year",t)),null!=n&&(et=et.set("category",n)),null!=c&&(et=et.set("yearSince",c)),null!=u&&(et=et.set("yearTill",u)),null!=y&&(et=et.set("userId",y));let yt=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(yt=yt.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(yt=yt.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const It="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;yt=yt.set("Authorization","Bearer "+It)}const Nt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Nt&&(yt=yt.set("Accept",Nt)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:et,withCredentials:this.configuration.withCredentials,headers:yt,observe:M,reportProgress:re})}findSimilarPublications(i,r,p,o="body",t=!1){let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("title",i)),null!=r&&(n=n.set("doi",r)),null!=p&&(n=n.set("isbn",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCategories(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPublicationSystems(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getRank(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRank.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichThanksByPublicationId(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}lockPublications(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateCategory(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updatePublication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updatePublicationSystem(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),h=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getCurrentDatabaseVersion(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getDatabaseDriverInformation(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getDatabaseInformation(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getTimeOfQueryPerformance(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),k=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addExtSourceWithGroupSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addExtSourceWithVoSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createExtSourceFromExtSourceObject(i,r="body",p=!1){if(null==i)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createExtSourceWithNameType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==r)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSourceByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getExtSources(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getGroupExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}loadExtSourcesDefinitions(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeExtSourceWithGroupSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeExtSourceWithVoSource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==r)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("source",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),L=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addFacilityAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminGroupByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityAdminUserByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByFacilityNameOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addFacilityOwnerByOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHost(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("hostname",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHostByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==r)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("hostname",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hostnames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addHostsByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==r)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hostnames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignSecurityTeam(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignSecurityTeamByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyAttributesBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyManagersBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwners(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersByDestinationName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacility",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersBySourceDestinationNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==r)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacilityName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyOwnersBySourceName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==r)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("srcFacilityName",i)),null!=r&&(t=t.set("destFacility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("description",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllowedGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedGroupsByFacilityName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedRichGroupsWithAttributes(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),r&&r.forEach(re=>{c=c.append("attrNames[]",re)}),null!=p&&(c=c.set("vo",p)),null!=o&&(c=c.set("service",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllowedRichGroupsWithAttributesByFacilityName(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),r&&r.forEach(re=>{c=c.append("attrNames[]",re)}),null!=p&&(c=c.set("vo",p)),null!=o&&(c=c.set("service",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllowedUsersOfFacility(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedUsersOfFacilityByFacilityName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("service",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getAllowedVos(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedVosByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedFacilitiesByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesByAssignedServiceForFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedResourcesForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesForFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForFacilityByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedSecurityTeams(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedSecurityTeamsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedUsers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedUsersByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getBansForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facilityId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEnrichedFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getEnrichedHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilitiesByAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeName",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilitiesByDestination(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesByHostName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilitiesCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFacilitiesWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAdminGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAdminUsers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityAdminUsersByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityBan(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacilityBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityForHost(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityOwners(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityOwnersByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getHostById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHosts(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsByHostname(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getHostsCountByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getOwnerFacilities(i,r="body",p=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("owner",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichFacilities(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeBanByUserIdFacilityId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminGroupByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityAdminUserByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeFacilityOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByFacilityNameOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeFacilityOwnerByOwnerName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==r)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("owner",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHost(i,r="body",p=!1){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHost.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("host",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeHostByHostname(i,r="body",p=!1){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("hostname",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeHosts(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hosts[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeHostsByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==r)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("hosts[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSecurityTeam(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSecurityTeamByFacilityName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==r)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),null!=r&&(t=t.set("securityTeam",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setFacilityBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFacilityBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),V=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getFacilityAdminGroupsByFacilityName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),$=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling addMember.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling addMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("members[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}canExtendMembershipInGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createGroupUnion(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resultGroup",i)),null!=r&&(t=t.set("operandGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createGroupWithParentGroupNameDescription(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==p)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("parentGroup",i)),null!=r&&(n=n.set("name",r)),null!=p&&(n=n.set("description",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createGroupWithVoNameDescription(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==p)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("name",r)),null!=p&&(n=n.set("description",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deleteGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}extendMembershipInGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}forceAllSubGroupsSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceGroupStructureSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceGroupSynchronization(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllGroupsFromAllVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllMemberGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attrNames[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichGroupsWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllRichSubGroupsWithGroupAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==r)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("name",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupMemberById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCountsByGroupStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupMembersCountsByVoStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupRichMembersByIds(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==r)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==p)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),r&&r.forEach(M=>{n=n.append("members[]",M)}),p&&p.forEach(M=>{n=n.append("attrNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getGroupUnions(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==r)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("reverseDirection",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getIndirectMembershipPaths(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMemberGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberRichGroupsWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRichGroupByIdWithAttributesByNames(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("groupId",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSubgroupsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}isGroupMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==r)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}moveGroupWithDestinationGroupMovingGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let t=new e.LE({encoder:this.encoder});null!=r&&(t=t.set("destinationGroup",r)),null!=i&&(t=t.set("movingGroup",i));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupUnion(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==r)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resultGroup",i)),null!=r&&(t=t.set("operandGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeMember.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==r)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("members[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setGroupsMemberStatus(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==r)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==p)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("group",r)),null!=p&&(n=n.set("status",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ue=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getGroupMemberData(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ce=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}canExtendMembership(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createMemberForCandidate(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createMemberForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createMemberFromExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSpecificMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createSponsoredMembersFromCSV(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("members[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}extendMembership(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findCompleteRichMembersByAttributes(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(M=>{n=n.append("attrsNames[]",M)}),null!=r&&(n=n.set("searchString",r)),p&&p.forEach(M=>{n=n.append("allowedStatuses[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCompleteRichMembersForGroup(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("group",i)),r&&r.forEach(yt=>{y=y.append("attrsNames[]",yt)}),t&&t.forEach(yt=>{y=y.append("allowedStatuses[]",yt)}),n&&n.forEach(yt=>{y=y.append("allowedGroupStatuses[]",yt)}),null!=p&&(y=y.set("searchString",p)),null!=o&&(y=y.set("lookingInParentGroup",o));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}findCompleteRichMembersForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(re=>{c=c.append("attrsNames[]",re)}),o&&o.forEach(re=>{c=c.append("allowedStatuses[]",re)}),null!=p&&(c=c.set("searchString",p));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}findMembersInVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("searchString",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findSponsoredCompleteRichMembersForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(re=>{c=c.append("attrsNames[]",re)}),null!=p&&(c=c.set("searchString",p)),null!=o&&(c=c.set("onlySponsored",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getAllMembers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllNamespacesRules(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllSponsoredMembersAndTheirSponsors(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getCompleteRichMembersForGroup(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),p&&p.forEach(et=>{u=u.append("allowedStatuses[]",et)}),o&&o.forEach(et=>{u=u.append("allowedGroupStatuses[]",et)}),null!=r&&(u=u.set("lookingInParentGroup",r)),t&&t.forEach(et=>{u=u.append("attrsNames[]",et)});let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getCompleteRichMembersForGroupResource(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==p)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),null!=r&&(c=c.set("resource",r)),p&&p.forEach(re=>{c=c.append("attrsNames[]",re)}),o&&o.forEach(re=>{c=c.append("allowedStatuses[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getCompleteRichMembersForVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),r&&r.forEach(M=>{n=n.append("allowedStatuses[]",M)}),p&&p.forEach(M=>{n=n.append("attrsNames[]",M)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberByExtSourceNameAndExtLogin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==p)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("extLogin",r)),null!=p&&(n=n.set("extSourceName",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMemberById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMemberByUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMembers(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getMembersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersCount(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getMembersPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getMembersWithStatusCount(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getRichMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichMemberWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichMembersByIds(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("ids[]",y)}),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsoredMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSponsoredMembersAndTheirSponsors(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsByMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsByVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==p)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("extSourceName",r)),null!=p&&(c=c.set("extLogin",p)),o&&o.forEach(re=>{c=c.append("attrNames[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}moveMembership(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==r)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==p)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("sourceUser",r)),null!=p&&(n=n.set("targetUser",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}removeSponsor(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("sponsor",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendAccountActivationLinkEmail(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==p)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("member",i)),null!=r&&(c=c.set("namespace",r)),null!=p&&(c=c.set("emailAttributeURN",p)),null!=o&&(c=c.set("language",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sendPasswordResetLinkEmail(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==p)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("member",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("emailAttributeURN",p)),null!=o&&(u=u.set("language",o)),null!=t&&(u=u.set("baseUrl",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}setSponsoredMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setSponsorshipForMember(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("sponsoredMember",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}setStatus(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling setStatus.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("status",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sponsorMember(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}updateSponsorshipValidity(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==r)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("member",i)),null!=r&&(n=n.set("sponsor",r)),null!=p&&(n=n.set("validityTo",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}validateMemberAsync(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Le=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}createOwner(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("owner",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllOwners(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getOwnerById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getOwnerByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("owner",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),de=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}sentMessageToRTWithMemberQueue(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==p)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("memberId",i)),null!=r&&(c=c.set("queue",r)),null!=p&&(c=c.set("subject",p)),null!=o&&(c=c.set("text",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sentMessageToRTWithQueue(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==p)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("queue",i)),null!=r&&(n=n.set("subject",r)),null!=p&&(n=n.set("text",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==p)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("voId",i)),null!=r&&(n=n.set("subject",r)),null!=p&&(n=n.set("text",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sentMessageToRTWithVoQueue(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==r)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==p)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("voId",i)),null!=r&&(c=c.set("queue",r)),null!=p&&(c=c.set("subject",p)),null!=o&&(c=c.set("text",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ke=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addApplicationMailForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addApplicationMailForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addGroupsToAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("groups[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}approveApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}checkForSimilarUsersWithAuthInfo(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}consolidateIdentityUsingToken(i,r="body",p=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("token",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}copyFormFromGroupToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromGroupToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromVoToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyFormFromVoToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromGroupToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromGroupToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromGroup",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromVoToGroup(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyMailsFromVoToVo(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("fromVo",i)),null!=r&&(t=t.set("toVo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createApplicationFormInGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}createApplicationFormInVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteApplicationMailForGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("id",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteApplicationMailForVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==r)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("id",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteGroupsFromAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("groups[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationDataById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationMailsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationMailsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getApplicationsForGroup(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("group",i)),r&&r.forEach(re=>{c=c.append("state[]",re)}),null!=p&&(c=c.set("dateFrom",p)),null!=o&&(c=c.set("dateTo",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getApplicationsForMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getApplicationsForVo(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),r&&r.forEach(re=>{c=c.append("state[]",re)}),null!=p&&(c=c.set("dateFrom",p)),null!=o&&(c=c.set("dateTo",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getApplicationsPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getConsolidatorToken(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFormItemsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFormItemsForGroupWithType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFormItemsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFormItemsForVoWithType(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("type",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupApplicationForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsToAutoRegistration(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoApplicationForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}rejectApplication(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("id",i)),null!=r&&(t=t.set("reason",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendInvitation(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let c=new e.LE({encoder:this.encoder});null!=p&&(c=c.set("voId",p)),null!=o&&(c=c.set("name",o)),null!=i&&(c=c.set("email",i)),null!=r&&(c=c.set("language",r));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}sendInvitationForGroup(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==r)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let u=new e.LE({encoder:this.encoder});null!=p&&(u=u.set("voId",p)),null!=o&&(u=u.set("groupId",o)),null!=t&&(u=u.set("name",t)),null!=i&&(u=u.set("email",i)),null!=r&&(u=u.set("language",r));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}sendInvitationGroupToExistingUser(i,r,p,o="body",t=!1){let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("userId",i)),null!=r&&(n=n.set("voId",r)),null!=p&&(n=n.set("groupId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}sendInvitationToExistingUser(i,r,p="body",o=!1){let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("userId",i)),null!=r&&(t=t.set("voId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}sendMessage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}setSendingEnabled(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}submitApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateApplicationMail(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateForm(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemData(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsData(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsForGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateFormItemsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}verifyApplication(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ae=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}activateGroupResourceAssignment(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),null!=r&&(n=n.set("resource",r)),null!=p&&(n=n.set("async",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}addAdminToGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addAdminToUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addResourceSelfServiceGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addResourceSelfServiceUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}allowGroupsToResources(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(M=>{n=n.append("groups[]",M)}),r&&r.forEach(M=>{n=n.append("resources[]",M)}),null!=p&&(n=n.set("async",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}assignGroupToResource(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignGroupToResources(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("group",i)),r&&r.forEach(et=>{u=u.append("resources[]",et)}),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignGroupsToResource(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let u=new e.LE({encoder:this.encoder});i&&i.forEach(et=>{u=u.append("groups[]",et)}),null!=r&&(u=u.set("resource",r)),null!=p&&(u=u.set("async",p)),null!=o&&(u=u.set("assignInactive",o)),null!=t&&(u=u.set("autoAssignSubgroups",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}assignResourceTagToResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}assignService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling assignService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling assignServices.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("services[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}assignServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("servicesPackage",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}copyResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createResource(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==p)throw new Error("Required parameter name was null or undefined when calling createResource.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("facility",r)),null!=p&&(c=c.set("name",p)),null!=o&&(c=c.set("description",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}createResourceTagWithResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createResourceTagWithTagName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("tagName",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deactivateGroupResourceAssignment(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteAllResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteAllResourcesTagsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}deleteResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAdminGroups(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAdmins(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("onlyDirectAdmins",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllResourcesByResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAllResourcesTagsForResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesTagsForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllowedUsersOfResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedGroups(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("member",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedMembersWithStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResourcesWithStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichMembers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithGroup(i,r="body",p=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("group",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesWithMemberService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAssignedServicesToResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getBansForResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getEnrichedResourceById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("id",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEnrichedResourcesForFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("facility",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getEnrichedResourcesForVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupAssignments(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceAssignments(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceBan(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourceBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourceByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==p)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("name",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesCountForAll(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getResourcesCountForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getResourcesFromVoWhereUserIsAdmin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getResourcesWhereGroupIsAdmin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==p)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("group",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getResourcesWhereUserIsAdmin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==p)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("facility",i)),null!=r&&(n=n.set("vo",r)),null!=p&&(n=n.set("user",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichAdmins(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==r)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==p)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("resource",i)),r&&r.forEach(re=>{c=c.append("specificAttributes",re)}),null!=p&&(c=c.set("allUserAttributes",p)),null!=o&&(c=c.set("onlyDirectAdmins",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getRichResourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichResourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeAllResourceTagsFromResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("resource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeBanByMemberAndResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupAdminResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupFromResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupFromResources(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),r&&r.forEach(y=>{t=t.append("resources[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeGroupsFromResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeResourceSelfServiceGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("group",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceSelfServiceUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeResourceTagFromResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}removeService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServices(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==r)throw new Error("Required parameter services was null or undefined when calling removeServices.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),r&&r.forEach(y=>{t=t.append("services[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==r)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("servicesPackage",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserAdminResource(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("resource",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}setResourceBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}unallowGroupsFromResources(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==r)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(y=>{t=t.append("groups[]",y)}),r&&r.forEach(y=>{t=t.append("resources[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateResource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateResourceBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateResourceTag(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),j=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addDestination(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==p)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestination.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("service",i)),null!=r&&(u=u.set("facility",r)),null!=p&&(u=u.set("destination",p)),null!=o&&(u=u.set("type",o)),null!=t&&(u=u.set("propagationType",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}addDestinationToMultipleServices(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addDestinationsForAllServicesOnFacility(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==p)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("facility",i)),null!=r&&(c=c.set("destination",r)),null!=p&&(c=c.set("type",p)),null!=o&&(c=c.set("propagationType",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}addRequiredAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addRequiredAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addServiceToServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("servicesPackage",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockAllServicesOnDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}blockAllServicesOnDestinationByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("destination",i)),null!=r&&(t=t.set("destinationType",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockAllServicesOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}blockServiceOnDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}blockServiceOnDestinationWithNameAndType(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==p)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("destination",r)),null!=p&&(n=n.set("destinationType",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}blockServiceOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createService(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==p)throw new Error("Required parameter script was null or undefined when calling createService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("name",i)),null!=r&&(n=n.set("description",r)),null!=p&&(n=n.set("script",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}createServiceWithService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}createServicesPackageByNameAndDescription(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("description",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteService(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling deleteService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}forceServicePropagation(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllDestinations(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getAllRichDestinationsForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllRichDestinationsForService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedResources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedServices(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getDataWithGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDataWithVos(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getDestinationsCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getFacilitiesDestinations(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityAssignedServicesForGUI(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFlatData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedDataWithGroups(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHashedHierarchicalData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getHierarchicalData(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("facility",r)),null!=p&&(n=n.set("filterExpiredMembers",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getRichDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getServiceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServiceByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServices(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getServicesBlockedOnDestination(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesBlockedOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesByAttributeDefinition(i,r="body",p=!1){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("attributeDefinition",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesFromServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackageById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("servicesPackage",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackageByName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("name",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getServicesPackages(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}isServiceBlockedOnDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}isServiceBlockedOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}planServicePropagation(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAllDestinations(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeAllRequiredAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("service",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeDestination(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==p)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("service",i)),null!=r&&(c=c.set("facility",r)),null!=p&&(c=c.set("destination",p)),null!=o&&(c=c.set("type",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}removeRequiredAttribute(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("attributeId",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeRequiredAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),r&&r.forEach(y=>{t=t.append("attributes[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeServiceFromServicesPackage(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==r)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("servicesPackage",i)),null!=r&&(t=t.set("service",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockAllServicesOnDestinationById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("destination",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}unblockAllServicesOnDestinationByName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("destination",i)),null!=r&&(t=t.set("destinationType",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockAllServicesOnFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}unblockServiceOnDestinationById(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}unblockServiceOnDestinationByName(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==p)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("service",i)),null!=r&&(n=n.set("destination",r)),null!=p&&(n=n.set("destinationType",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}unblockServiceOnFacility(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateService(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateServicesPackage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),H=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}countTasks(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}deleteTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultsIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteTaskResultsNames(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getAllFacilitiesStates(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAllResourcesState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("voId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityServicesState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getFacilityState(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTask(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getTask.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getTaskById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("taskResult",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResults(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getTaskResultsByTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForDestinations(i,r="body",p=!1){if(null==i)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("destinations[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForGUIByTask(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getTaskResultsForGUIByTaskAndDestination(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("task",i)),null!=r&&(t=t.set("destination",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getTaskResultsForGUIByTaskOnlyNewest(i,r="body",p=!1){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("task",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isThereSuchTask(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("service",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}listAllTasks(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}listAllTasksForFacility(i,r="body",p=!1){if(null==i)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("facility",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}suspendTasksPropagation(i,r="body",p=!1){if(null==i)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("suspend",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Q=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSpecificUserOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("specificUser",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addUserExtSource(i,r="body",p=!1){if(null==i)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}anonymizeUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}changeNonAuthzPasswordByToken(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==r)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("token",i)),null!=r&&(n=n.set("password",r)),null!=p&&(n=n.set("lang",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}changePasswordForLogin(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==p)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("login",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("newPassword",p)),null!=o&&(u=u.set("oldPassword",o)),null!=t&&(u=u.set("checkOldPassword",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}changePasswordForUser(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==p)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("user",i)),null!=r&&(u=u.set("namespace",r)),null!=p&&(u=u.set("newPassword",p)),null!=o&&(u=u.set("oldPassword",o)),null!=t&&(u=u.set("checkOldPassword",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}checkPasswordResetRequestByTokenIsValid(i,r="body",p=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("token",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}checkPasswordStrength(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("password",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createAlternativePassword(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==p)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("user",i)),null!=r&&(c=c.set("description",r)),null!=p&&(c=c.set("loginNamespace",p)),null!=o&&(c=c.set("password",o));let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}createServiceUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteAlternativePassword(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==r)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==p)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("loginNamespace",r)),null!=p&&(n=n.set("passwordId",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}deletePasswordForLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("login",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deletePasswordForUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}deleteUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findRichUsers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}findRichUsersWithAttributes(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("searchString",i)),r&&r.forEach(y=>{t=t.append("attrsNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findUsers(i,r="body",p=!1){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("searchString",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}generateAccountForName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("namespace",i)),null!=r&&(t=t.set("name",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllRichUsersWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("includedSpecificUsers",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getAssignedRichResourcesForUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getGroupsForFacilityWhereUserIsActive(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==r)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("facility",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsForResourceWhereUserIsActive(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==r)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("resource",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsInVoWhereUserIsAdmin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("vo",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getGroupsWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getPendingPreferredEmailChanges(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUserExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUserWithAttributes(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersWithAttributesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getRichUsersWithoutVoWithAttributes(i,r="body",p=!1){let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("attrsNames[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSpecificUsersByUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getSponsorsForMember(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("member",i)),r&&r.forEach(y=>{t=t.append("attrNames[]",y)});let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getSponsorsForMemberByVoAndLogin(i,r,p,o,t="body",n=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==p)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let c=new e.LE({encoder:this.encoder});null!=i&&(c=c.set("vo",i)),null!=r&&(c=c.set("extSourceName",r)),null!=p&&(c=c.set("extLogin",p)),o&&o.forEach(re=>{c=c.append("attrNames[]",re)});let u=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(u=u.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(u=u.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const re="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;u=u.set("Authorization","Bearer "+re)}const M=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==M&&(u=u.set("Accept",M)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:c,withCredentials:this.configuration.withCredentials,headers:u,observe:t,reportProgress:n})}getUserByExtSourceNameAndExtLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("extLogin",i)),null!=r&&(t=t.set("extSourceName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getUserById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("userExtSource",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourceByUniqueAttributeValueAndAttributeId(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeId",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==r)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("attributeName",i)),null!=r&&(t=t.set("attributeValue",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getUserExtSources(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUserExtSourcesByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsers(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getUsersByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsersBySpecificUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("specificUser",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getUsersPage(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}getVosWhereUserIsAdmin(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosWhereUserIsMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("user",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}isLoginAvailable(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==r)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("loginNamespace",i)),null!=r&&(t=t.set("login",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}loginExist(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSpecificUserOwner(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==r)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("specificUser",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeUserExtSource(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==r)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("userExtSource",r)),null!=p&&(n=n.set("force",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}requestPreferredEmailChange(i,r,p,o,t,n,c="body",u=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==r)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let y=new e.LE({encoder:this.encoder});null!=i&&(y=y.set("user",i)),null!=r&&(y=y.set("email",r)),null!=p&&(y=y.set("lang",p)),null!=o&&(y=y.set("linkPath",o)),null!=t&&(y=y.set("customUrl",t)),null!=n&&(y=y.set("idpFilter",n));let M=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(M=M.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(M=M.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const yt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;M=M.set("Authorization","Bearer "+yt)}const et=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==et&&(M=M.set("Accept",et)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:y,withCredentials:this.configuration.withCredentials,headers:M,observe:c,reportProgress:u})}reservePasswordForLogin(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==p)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("login",i)),null!=r&&(n=n.set("namespace",r)),null!=p&&(n=n.set("password",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reservePasswordForUser(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==p)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("user",i)),null!=r&&(n=n.set("namespace",r)),null!=p&&(n=n.set("password",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}reserveRandomPassword(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}updateUser(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}validatePasswordForLogin(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("login",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}validatePasswordForUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("user",i)),null!=r&&(t=t.set("namespace",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}validatePreferredEmailChangeWithToken(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==r)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("token",i)),null!=r&&(t=t.set("u",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),te=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}getAppsConfig(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getGuiConfiguration(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunRPCVersion(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunStatistics(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunStatus(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getPerunSystemTimeInMillis(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),se=(()=>{class I{constructor(i,r,p){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new A,p&&(this.configuration=p),"string"!=typeof this.configuration.basePath&&("string"!=typeof r&&(r=this.basePath),this.configuration.basePath=r),this.encoder=this.configuration.encoder||new f}addSponsorRoleToGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addSponsorRoleToUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addVoAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}addVoAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createVoWithName(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==r)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("name",i)),null!=r&&(t=t.set("shortName",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}createVoWithVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}deleteVo(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("force",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}findCandidates(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("id",i)),null!=r&&(n=n.set("searchString",r)),null!=p&&(n=n.set("maxNumOfResults",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}findCandidatesForGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("group",i)),null!=r&&(t=t.set("searchString",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getAllVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getCompleteCandidatesForGroup(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("group",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("searchString",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getCompleteCandidatesForVo(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==p)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),r&&r.forEach(M=>{n=n.append("attrNames[]",M)}),null!=p&&(n=n.set("searchString",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getMyVos(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}getRichAdminsForVo(i,r,p,o,t,n="body",c=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==p)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let u=new e.LE({encoder:this.encoder});null!=i&&(u=u.set("vo",i)),null!=r&&(u=u.set("role",r)),p&&p.forEach(et=>{u=u.append("specificAttributes",et)}),null!=o&&(u=u.set("allUserAttributes",o)),null!=t&&(u=u.set("onlyDirectAdmins",t));let y=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(y=y.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(y=y.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const et="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;y=y.set("Authorization","Bearer "+et)}const re=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==re&&(y=y.set("Accept",re)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:u,withCredentials:this.configuration.withCredentials,headers:y,observe:n,reportProgress:c})}getVoAdminGroups(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("role",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}getVoAdminUsers(i,r,p,o="body",t=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==r)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==p)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=n.set("vo",i)),null!=r&&(n=n.set("role",r)),null!=p&&(n=n.set("onlyDirectAdmins",p));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const M="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+M)}const y=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==y&&(c=c.set("Accept",y)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:n,withCredentials:this.configuration.withCredentials,headers:c,observe:o,reportProgress:t})}getVoBanById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoBanForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoBansForVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoById(i,r="body",p=!1){if(null==i)throw new Error("Required parameter id was null or undefined when calling getVoById.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("id",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoByShortName(i,r="body",p=!1){if(null==i)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("shortName",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVoMembersCountsByStatus(i,r="body",p=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("vo",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosByIds(i,r="body",p=!1){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let o=new e.LE({encoder:this.encoder});i&&i.forEach(u=>{o=o.append("ids[]",u)});let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}getVosCount(i="body",r=!1){let p=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(p=p.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(p=p.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const n="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;p=p.set("Authorization","Bearer "+n)}const t=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==t&&(p=p.set("Accept",t)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:p,observe:i,reportProgress:r})}removeSponsorRoleFromGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeSponsorRoleFromUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAdminGroup(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==r)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("authorizedGroup",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoAdminUser(i,r,p="body",o=!1){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=t.set("vo",i)),null!=r&&(t=t.set("user",r));let n=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(n=n.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(n=n.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;n=n.set("Authorization","Bearer "+y)}const u=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==u&&(n=n.set("Accept",u)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:t,withCredentials:this.configuration.withCredentials,headers:n,observe:p,reportProgress:o})}removeVoBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("banId",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}removeVoBanForMember(i,r="body",p=!1){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let o=new e.LE({encoder:this.encoder});null!=i&&(o=o.set("member",i));let t=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(t=t.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(t=t.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const u="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;t=t.set("Authorization","Bearer "+u)}const c=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==c&&(t=t.set("Accept",c)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:t,observe:r,reportProgress:p})}setVoBan(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}updateVo(i,r="body",p=!1){if(null==i)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const y="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+y)}const n=this.configuration.selectHeaderAccept(["application/json"]);void 0!==n&&(o=o.set("Accept",n));const u=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==u&&(o=o.set("Content-Type",u)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,i,{withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:p})}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(e.eN),g.LFG(T,8),g.LFG(A,8))},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Ne={WRITE:"WRITE",WRITEVO:"WRITE_VO",WRITEPUBLIC:"WRITE_PUBLIC",READ:"READ",READVO:"READ_VO",READPUBLIC:"READ_PUBLIC"},Me={ID:"ID",DATECREATED:"DATE_CREATED",TYPE:"TYPE",STATE:"STATE",SUBMITTER:"SUBMITTER",GROUPNAME:"GROUP_NAME",MODIFIEDBY:"MODIFIED_BY"},rt={HTMLCOMMENT:"HTML_COMMENT",SUBMITBUTTON:"SUBMIT_BUTTON",AUTOSUBMITBUTTON:"AUTO_SUBMIT_BUTTON",PASSWORD:"PASSWORD",VALIDATEDEMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDEDGROUPAPPLICATION:"EMBEDDED_GROUP_APPLICATION"};let S=(()=>{class I{constructor(i,r){if(i)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!r)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(i){return{ngModule:I,providers:[{provide:A,useFactory:i}]}}}return I.\u0275fac=function(i){return new(i||I)(g.LFG(I,12),g.LFG(e.eN,8))},I.\u0275mod=g.oAB({type:I}),I.\u0275inj=g.cJS({providers:[s,b,O,E,h,k,L,V,$,ue,ce,Le,de,ke,ae,j,H,Q,te,se],imports:[[]]}),I})()},19516:(Ke,be,d)=>{"use strict";d.d(be,{r5:()=>A.r,d4:()=>g,dp:()=>T.d});var e=d(69808),f=d(5e3);let g=(()=>{class V{}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275mod=f.oAB({type:V}),V.\u0275inj=f.cJS({imports:[[e.ez]]}),V})();var T=d(31359),A=(d(34447),d(82895));d(12856),d(20919),d(5865),d(53561),d(16119),d(7598),d(9954)},34447:(Ke,be,d)=>{"use strict";d.d(be,{a:()=>T});var e=d(36908),f=d(5e3),g=d(51062);let T=(()=>{class m{constructor(s,b){this.translate=s,this.storage=b}transform(s,b="en"){const O=this.storage.get("custom_labels");if(O){const E=Object.keys(O);for(const h of E){const k=this.storage.get("custom_labels",h);if(k.label===s)return k[b]}}return s}}return m.\u0275fac=function(s){return new(s||m)(f.Y36(g.sK,16),f.Y36(e.d6,16))},m.\u0275pipe=f.Yjl({name:"customTranslate",type:m,pure:!0}),m})()},82895:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m,A){return A?`/organizations/${m.voId}/resources/${m.id}`:`/facilities/${m.facilityId}/resources/${m.id}`}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"getResourceRoute",type:g,pure:!0}),g})()},28764:(Ke,be,d)=>{"use strict";d.d(be,{F:()=>T});var e=d(9244),f=d(64080),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),O=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=O.value;if("true"===b.value){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"red":null!==$&&$.trim().length>0?"green":""}if(E){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"red":null!==$&&$.trim().length>0?"green":""}return""}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIconColor",type:m,pure:!0}),m})()},29218:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>T});var e=d(64080),f=d(9244),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"";const b=(0,f.IL)(s.attributes,e.r.GROUP_SYNC_ENABLED),O=(0,f.IL)(s.attributes,e.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"";const E=O.value;if("true"===b.value){const k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_STATE),L=(0,f.IL)(s.attributes,e.r.GROUP_LAST_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"sync_problem":(null!==$&&$.trim(),"sync")}if(E){const k=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,f.IL)(s.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"sync_problem":(null!==$&&$.trim(),"sync")}return"sync_disabled"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncIcon",type:m,pure:!0}),m})()},45942:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>T});var e=d(9244),f=d(64080),g=d(5e3);let T=(()=>{class m{transform(s){if(null==s||null==s.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const b=(0,e.IL)(s.attributes,f.r.GROUP_SYNC_ENABLED),O=(0,e.IL)(s.attributes,f.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===b&&null===O)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const E=O.value;if("true"===b.value){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==$&&$.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(E){const k=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_STATE),L=(0,e.IL)(s.attributes,f.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),V=k.value,$=L.value;return null!=V&&V.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==$&&$.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275pipe=g.Yjl({name:"groupSyncToolTip",type:m,pure:!0}),m})()},20919:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.g$)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberEmail",type:T,pure:!0}),T})()},5865:(Ke,be,d)=>{"use strict";d.d(be,{p:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.lt)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberLogins",type:T,pure:!0}),T})()},96974:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.Gw)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberOrganization",type:T,pure:!0}),T})()},69773:(Ke,be,d)=>{"use strict";d.d(be,{u:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIconColor",type:g,pure:!0}),g})()},21757:(Ke,be,d)=>{"use strict";d.d(be,{f:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){switch(m){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return m}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIcon",type:g,pure:!0}),g})()},12856:(Ke,be,d)=>{"use strict";d.d(be,{i:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A,s){let b=null,O=null;null!==A.memberAttributes&&(b=A.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName),O=A.memberAttributes.find(h=>"groupMembershipExpiration"===h.friendlyName));let E="";return E=s?`\n Group status: ${(0,e.Oe)(A.groupStatus)}, Expiration: ${O&&O.value?O.value:"never"}`:`Status: ${(0,e.Oe)(A.status,A.groupStatus)}\n Vo status: ${(0,e.Oe)(A.status)}, Expiration: ${b&&b.value?b.value:"never"}`,E}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"memberStatusTooltip",type:T,pure:!0}),T})()},20551:(Ke,be,d)=>{"use strict";d.d(be,{l:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace("VALID","ACTIVE")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"memberStatus",type:g,pure:!0}),g})()},64597:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){return m.replace(/\s/g,"-").toLowerCase()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"multiWordDataCy",type:g,pure:!0}),g})()},62383:(Ke,be,d)=>{"use strict";d.d(be,{M:()=>g});var e=d(69808),f=d(5e3);let g=(()=>{class T{transform(A,s){return"voRules"===A?"Vo rules":"groupRules"===A?"Group rules":A&&"never"!==A.toLowerCase()?(0,e.p6)(A.replace(" ","T"),"d.M.yyyy "+(s?"H:mm:ss":""),"en"):"never"}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"parseDate",type:T,pure:!0}),T})()},53561:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.te)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"technicalOwners",type:T,pure:!0}),T})()},16119:(Ke,be,d)=>{"use strict";d.d(be,{S:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.kN)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userEmail",type:T,pure:!0}),T})()},31359:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(5e3);let f=(()=>{class g{transform(m){let s="";return null!==m.titleBefore&&(s+=m.titleBefore+" "),null!==m.firstName&&(s+=m.firstName+" "),null!==m.middleName&&(s+=m.middleName+" "),null!==m.lastName&&(s+=m.lastName+" "),null!==m.titleAfter&&(s+=m.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=e.Yjl({name:"userFullName",type:g,pure:!0}),g})()},7598:(Ke,be,d)=>{"use strict";d.d(be,{g:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.$0)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userLogins",type:T,pure:!0}),T})()},9954:(Ke,be,d)=>{"use strict";d.d(be,{Z:()=>g});var e=d(9244),f=d(5e3);let g=(()=>{class T{transform(A){return(0,e.OV)(A)}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275pipe=f.Yjl({name:"userVo",type:T,pure:!0}),T})()},36908:(Ke,be,d)=>{"use strict";d.d(be,{yC:()=>se,F5:()=>Q,sM:()=>Fe,e8:()=>E,EB:()=>Le,Be:()=>Xe,Hy:()=>R,ly:()=>ve,fb:()=>tt,xw:()=>ne,x4:()=>T,v0:()=>V,SZ:()=>ge,V6:()=>te,jq:()=>Ce,BN:()=>Oe,Ip:()=>rt,HV:()=>fe,d6:()=>s,UA:()=>Me});var e=d(9315),f=d(45323),g=d(5e3);let T=(()=>{class N{constructor(D){this.authzSevice=D,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(D){this.principal=D,this.initData(D)}setPerunPolicies(D){this.perunPolicies=D}getPerunPolicies(){return this.perunPolicies}isAuthorized(D,S){if(null===this.principal.roles)return!1;const I=this.fetchPolicyWithAllIncludedPolicies(D);let P=[];for(const r of I)P=P.concat(r.perunRoles);const i=this.fetchAllRelatedObjects(S);return this.resolveAuthorization(P,i)}resolveAuthorization(D,S){for(const I of D){let P=!0;for(const i of Object.keys(I)){const r=I[i];if(null===r)this.principalRoles.has(i)||(P=!1);else if(S[r]){for(const p of S[r])if(!this.principalHasRole(i,r,p)){P=!1;break}}else P=!1;if(!P)break}if(P)return!0}return!1}fetchAllRelatedObjects(D){const S={};for(const I of D){let P=I.beanName;switch(I.beanName.startsWith("Rich")&&(P=I.beanName.substring(4)),S[P]?S[P].push(I.id):S[P]=[I.id],P){case"Member":S.User?S.User.push(I.userId):S.User=[I.userId],S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId];break;case"Group":case"ResourceTag":S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId];break;case"Resource":S.Facility?S.Facility.push(I.facilityId):S.Facility=[I.facilityId],S.Vo?S.Vo.push(I.voId):S.Vo=[I.voId]}}return S}principalHasRole(D,S,I){let P=S;return S.startsWith("Rich")&&(P=S.substring(4)),!(!this.principal.roles[D]||!this.principal.roles[D][P])&&this.principal.roles[D][P].includes(Number(I.toString()))}fetchPolicyWithAllIncludedPolicies(D){const S=new Map;let I=[];for(I.push(D);0!==I.length;){const i=I.shift();if(S.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,D);continue}const r=this.getPerunPolicy(i);if(!r)return[];S.set(i,r),I=I.concat(r.includePolicies)}const P=[];for(const i of S.values())P.push(i);return P}getPerunPolicy(D){for(const S of this.perunPolicies)if(S.policyName===D)return S;return console.log("policy with name"+D+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER,f.u.FACILITYADMIN,f.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(f.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOADMIN)}isThisVoAdminOrObserver(D){return this.editableVos.includes(Number(D.toString()))||this.observableVos.includes(Number(D.toString()))||this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)}isThisVoAdmin(D){return this.editableVos.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(f.u.SPONSOR)}isThisGroupAdmin(D){return this.editableGroups.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isGroupAdminInThisVo(D){return this.hasGroupInTheseVos.includes(D)}isFacilityAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.FACILITYADMIN)}isThisFacilityAdmin(D){return this.editableFacilities.includes(D)||this.principalRoles.has(f.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(f.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.VOOBSERVER,f.u.PERUNOBSERVER)}isThisVoObserver(D){return this.hasAtLeastOne(f.u.PERUNADMIN,f.u.PERUNOBSERVER)||this.observableVos.includes(D)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((D,S)=>{this.authzSevice.getAllRolesManagementRules().subscribe(I=>{this.allRolesManagementRules=I,D()},I=>S(I))})}assignAvailableRoles(D,S){this.allRolesManagementRules.forEach(I=>{I.primaryObject===S&&D.push(I.roleName)}),D.sort(),"Vo"===S&&this.voCustomSort(D)}isManagerPagePrivileged(D){const S=[];let I=D.beanName;I.startsWith("Rich")&&(I=I.substr(4)),this.assignAvailableRoles(S,I);const P=new Map;this.getRolesAuthorization(S,D,P);for(const i of P.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(D,S,I){for(const P of D){let i=[],r=[],p=[];for(const c of this.allRolesManagementRules)if(c.roleName===P){i=i.concat(c.privilegedRolesToRead),r=r.concat(c.privilegedRolesToManage);for(const u of Object.keys(c.entitiesToManage))p="User"===u?[u].concat(p):p.concat(u);break}const o=this.fetchAllRelatedObjects([S]),t=this.resolveAuthorization(i,o),n=this.resolveAuthorization(r,o);I.set(P,{readAuth:t,manageAuth:n,modes:p})}}voCustomSort(D){for(let S=0;S{class N{constructor(){this.branding=""}setInstanceConfig(D){this.instanceConfig=D}setDefaultConfig(D){this.defaultConfig=D}getAppsConfig(){return this.appsConfig}setAppsConfig(D){this.appsConfig=D}setPerunPrincipal(D){this.principal=D}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(D){this.initialPageId=D}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(D){this.branding=D}skipOidc(){return this.get("skip_oidc")}get(...D){let S;if(""!==this.branding){const I=this.instanceConfig.brandings[this.branding];for(let P=0;P{class N{constructor(D,S,I,P,i){this.injector=D,this.store=S,this.dialog=I,this.route=P,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(A.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(r=>{r.idpFilter&&(this.filterShortname=r.idpFilter)})}getClientConfig(){const D=this.setIdpFilter(),S=D?{acr_values:D}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(S.prompt="consent"),sessionStorage.getItem("mfa_route")&&(S.acr_values="https://refeds.org/profile/mfa",S.prompt="login",S.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:S}}setIdpFilter(){const D=location.search.substr(1).split("&");this.filterShortname=null;const S=this.store.get("oidc_client","filters");if(!S)return null;let I=null;return D.forEach(P=>{const i=P.split("=");"idpFilter"===i[0]&&S[i[1]]&&(this.filterShortname=i[1],I=S[i[1]])}),S.default&&!I?(this.filterShortname="default",S.default):I}startIdpFilterKeeper(){this.router.events.pipe((0,m.h)(D=>D instanceof A.m2)).subscribe(()=>{const D={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===D.idpFilter?{}:D,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const D=location.pathname,S=location.search.substr(1);return"/api-callback"===D?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(D,S).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(D=>!!D&&(this.oauthService.events.pipe((0,m.h)(S=>"token_expires"===S.type)).subscribe(()=>{this.oauthService.refreshToken().then(S=>{localStorage.setItem("refresh_token",S.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(D){const S=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===D)return!0;for(const I of S)if(D.startsWith(I))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(D=>D)):Promise.resolve()}verifyAuthentication(D,S){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(I=>I?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(D)?(sessionStorage.setItem("auth:redirect",D),sessionStorage.setItem("auth:queryParams",S),!1):new Promise((P,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const D=sessionStorage.getItem("mfa_route");if(D)return this.router.navigate([D],{replaceUrl:!0});let S=sessionStorage.getItem("auth:redirect");const I=sessionStorage.getItem("auth:queryParams");let P=[];I&&(P=I.split("&"));const i={};return P.forEach(r=>{const p=r.split("=");i[p[0]]=p[1]}),(!S||"/login"===S)&&(S="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([S],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(g.zs3),g.LFG(s),g.LFG(b.uw),g.LFG(A.gz),g.LFG(O.Ct))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var h=d(51062);let k=(()=>{class N{constructor(D){this.dialogRef=D}}return N.\u0275fac=function(D){return new(D||N)(g.Y36(b.so))},N.\u0275cmp=g.Xpm({type:N,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(D,S){1&D&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&D&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[b.xY],pipes:[h.X$],styles:[""]}),N})();var L=d(9244);let V=(()=>{class N{constructor(D,S,I,P,i,r){this.authService=D,this.storeService=S,this.authResolver=I,this.authzService=P,this.dialog=i,this.router=r,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(D){this.loginScreenShown=D}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(D=>D(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(D=>{if(null===D.user){const S=(0,L.kZ)();this.dialog.open(k,S)}else this.storeService.setPerunPrincipal(D),this.authResolver.init(D)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(D=>{D()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const D=location.search.substr(1).split("&"),S={};for(const I of D){const P=I.split("=");S[P[0]]=P[1]}return this.router.navigate(["login"],{queryParams:S,queryParamsHandling:"merge"}).then(()=>null)}}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(E),g.LFG(s),g.LFG(T),g.LFG(e.Ct),g.LFG(b.uw),g.LFG(A.F0))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var $=d(25245),ue=d(22313);let Le=(()=>{class N{constructor(D,S){this.matIconRegistry=D,this.domSanitizer=S,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(D=>{this.matIconRegistry.addSvgIcon(D.name,this.domSanitizer.bypassSecurityTrustResourceUrl(D.url))})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG($.jv),g.LFG(ue.H7))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})();var de=d(40520),ke=d(61737),ae=d(22868),j=d(47423);let H=(()=>{class N{constructor(D){this.dialogRef=D}close(){this.dialogRef.close(!0)}}return N.\u0275fac=function(D){return new(D||N)(g.Y36(b.so))},N.\u0275cmp=g.Xpm({type:N,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(D,S){1&D&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"div",1),g._uU(4),g.ALo(5,"translate"),g.qZA(),g.TgZ(6,"div",2),g.TgZ(7,"div",3),g.TgZ(8,"button",4),g.NdJ("click",function(){return S.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&D&&(g.xp6(1),g.Oqu(g.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),g.xp6(3),g.hij(" ",g.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),g.xp6(5),g.hij(" ",g.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[b.uh,b.xY,b.H8,j.lW],pipes:[h.X$],styles:[""]}),N})(),Q=(()=>{class N{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const D=this.handleNextError;return this.handleNextError=!0,D}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),te=(()=>{class N{constructor(D){this.translate=D,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new g.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(D,S=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===D.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===D.name?S:S+"\n"+D.name,D,D.message)}showRouteError(){const D=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),S=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(D,null,S)}showError(D,S,I,P,i){this.addNotification.emit({type:"error",error:S,description:I,title:D,actionText:void 0===P&&void 0!==I?this.getDefaultActionMessage():P,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(D,S,I,P){this.addNotification.emit({type:"success",description:S,title:D,actionText:void 0===I&&void 0!==S?this.getDefaultActionMessage():I,delay:this.defaultSuccessDelayMs,icon:"done",action:P,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(h.sK))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),se=(()=>{class N{constructor(D,S,I,P,i,r){this.authService=D,this.apiRequestConfiguration=S,this.notificator=I,this.store=P,this.dialog=i,this.initAuthService=r}intercept(D,S){const I=this.store.get("api_url");if(-1!==D.url.indexOf("i18n")&&(D=D.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==I&&-1!==D.url.toString().indexOf(I)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const r=(0,L.kZ)();r.width="450px",this.dialog.open(H,r).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}D=this.initAuthService.isServiceAccess()?D.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):D.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const P=this.apiRequestConfiguration.shouldHandleError(),i="POST"===D.method&&!this.store.skipOidc()&&this.isCallToPerunApi(D.url);return S.handle(D).pipe((0,ae.b)(r=>{r instanceof de.Zn&&i&&this.initAuthService.loadPrincipal()},r=>{const p=this.formatErrors(r,D);return void 0===p?(0,ke._)(r):P?void this.notificator.showRPCError(p):(0,ke._)(p)}))}isCallToPerunApi(D){return D.startsWith(this.store.get("api_url"))}formatErrors(D,S){let I;if(console.error(D),D.error.errorId?I=D.error:D.errorId&&(I=JSON.parse(D.error)),void 0!==I)return I.urlWithParams=S.urlWithParams,I.call=S.url,I.payload=S.body,I}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(E),g.LFG(Q),g.LFG(te),g.LFG(s),g.LFG(b.uw),g.LFG(V))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})(),ge=(()=>{class N{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(D){this.newNotificationsCount++,this.notificationData.push(D)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ne=d(27221);let Fe=(()=>{class N{constructor(D,S,I,P){this.http=D,this.notificator=S,this.authService=I,this.storeService=P}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(D,S,I,P){const i=D.error;return i.call=S,i.payload=I,P&&this.notificator.showRPCError(D.error),(0,ke._)(i)}getHeaders(){let D=new de.WM;return D=D.set("Authorization",this.authService.getAuthorizationHeaderValue()),D}get(D,S=!0){const I=`${this.getApiUrl()}${D}`;return this.http.get(I,{headers:this.getHeaders()}).pipe((0,Ne.K)(P=>this.formatErrors(P,I,null,S)))}put(D,S={},I=!0){const P=`${this.getApiUrl()}${D}`,i=JSON.stringify(S);return this.http.put(P,i,{headers:this.getHeaders()}).pipe((0,Ne.K)(r=>this.formatErrors(r,P,i,I)))}post(D,S={},I=!0){const P=`${this.getApiUrl()}${D}`,i=JSON.stringify(S);let r=this.getHeaders();return r=r.set("Content-Type","application/json; charset=utf-8"),this.http.post(P,i,{headers:r}).pipe((0,Ne.K)(p=>this.formatErrors(p,P,i,I)))}delete(D,S=!0){const I=`${this.getApiUrl()}${D}`;return this.http.delete(I,{headers:this.getHeaders()}).pipe((0,Ne.K)(P=>this.formatErrors(P,I,null,S)))}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(de.eN),g.LFG(te),g.LFG(E),g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),ne=(()=>{class N{constructor(D){this.router=D,this.lastState="forward",this.history=new Set,D.events.subscribe(S=>{S instanceof A.OD&&("popstate"===S.navigationTrigger?this.history.has(S.restoredState.navigationId)?(this.lastState="back",this.history.delete(S.restoredState.navigationId)):(this.lastState="forward",this.history.add(S.id)):(this.history.add(S.id),this.lastState="forward"))})}forceNavigate(D,S){if(null===D)return;let I="";D.forEach(P=>I+="/"+P),I.length>0&&(I=I.substring(1)),void 0===S&&(S={}),S.queryParams={redirectTo:I},this.router.navigate(["redirect"],S)}getLastState(){return this.lastState}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(A.F0))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Me=(()=>{class N{constructor(){}isAllSelectedWithDisabledCheckbox(D,S,I,P,i,r,p,o){return this.numSelected=D,this.numCanBeSelected=0,this.pageStart=i*I,this.pageEnd=this.pageStart+I,this.pageIterator=0,this.dataLength=""===S?r.data.length:r.filteredData.length,P||(this.modulo=this.dataLength%I,this.pageEnd=0===this.modulo?this.pageStart+I:this.pageStart+this.modulo),r.sortData(r.filteredData,p).forEach(t=>{this.pageStart<=this.pageIterator&&this.pageIterator{o?t(n)&&this.pageStart<=this.pageIterator&&this.pageIterator{class N{constructor(D,S,I,P){this.membersService=D,this.usersService=S,this.auditMessagesManagerService=I,this.registrarService=P}getMembers(D,S,I,P,i,r,p,o,t,n){return this.membersService.getMembersPage({vo:D,attrNames:S,query:{pageSize:i,offset:P*i,order:I,sortColumn:r,statuses:p,searchString:o,groupId:t,groupStatuses:n}})}getUsers(D,S,I,P,i,r,p,o,t,n,c,u){return this.usersService.getUsersPage({attrNames:D,query:{offset:P*I,pageSize:P,order:S,sortColumn:i,searchString:r,withoutVo:p,facilityId:o,voId:t,resourceId:n,serviceId:c,onlyAllowed:u}})}getAuditMessages(D,S,I){return this.auditMessagesManagerService.getMessagesPage({query:{offset:I*S,pageSize:I,order:D}})}getApplications(D,S,I,P,i,r,p,o,t,n,c,u,y){return this.registrarService.getApplicationsPage({vo:c,query:{pageSize:D,offset:S*D,order:I,sortColumn:P,searchString:r,includeGroupApplications:i,getDetails:y,states:p,dateFrom:o,dateTo:t,userId:n,groupId:u}})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(e.uq),g.LFG(e.Fv),g.LFG(e.jw),g.LFG(e.tk))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var me=d(591),Te=d(21086),ee=d(40537);class R{constructor(he,D){this.dynamicPaginatingService=he,this.authzService=D,this.dataSubject=new me.X([]),this.loadingSubject=new me.X(!1),this.loading$=this.loadingSubject.asObservable(),this.allObjectCount=0,this.routeAuth=!0}loadMembers(he,D,S,I,P,i,r,p,o,t){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const n=this.latestQueryTime;this.dynamicPaginatingService.getMembers(he,D,S,I,P,i,r,p,o,t).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(c=>{if(this.latestQueryTime<=n){const u=c.data;null!==u&&0!==u.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:he},u[0]])),this.allObjectCount=c.totalCount,this.dataSubject.next(u)}})}loadUsers(he,D,S,I,P,i,r,p,o,t,n,c){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const u=this.latestQueryTime;this.dynamicPaginatingService.getUsers(he,I,S,D,P,i,r,p,o,t,n,c).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(y=>{if(this.latestQueryTime<=u){const M=y.data;this.allObjectCount=y.totalCount,this.dataSubject.next(M)}})}loadAuditMessages(he,D,S){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const I=this.latestQueryTime;this.dynamicPaginatingService.getAuditMessages(S,D,he).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(P=>{if(this.latestQueryTime<=I){const i=P.data;this.allObjectCount=P.totalCount,this.dataSubject.next(i)}})}loadApplications(he,D,S,I,P,i,r,p,o,t,n,c,u){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const y=this.latestQueryTime;this.dynamicPaginatingService.getApplications(he,D,S,I,i,P,r,p,o,t,c,n,null!=u&&u).pipe((0,Ne.K)(()=>(0,Te.of)([])),(0,ee.x)(()=>this.loadingSubject.next(!1))).subscribe(M=>{if(this.latestQueryTime<=y){const re=M.data;if(null!==re&&0!==re.length){const et=re;this.routeAuth=et[0].group?this.authzService.isAuthorized("getApplicationsForGroup_Group_List_policy",[et[0].group]):this.authzService.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[et[0].vo])}this.allObjectCount=M.totalCount,this.dataSubject.next(re)}})}connect(){return this.dataSubject.asObservable()}disconnect(){this.dataSubject.complete(),this.loadingSubject.complete()}getData(){return this.dataSubject.value}}let Oe=(()=>{class N{constructor(D,S){this.route=D,this.store=S}getPreferredLanguage(D){const S=this.store.get("supported_languages"),I=navigator.languages.map(r=>r.split("-")[0]),P=location.search.substr(1).split("&");let i=null;for(const r of P){const p=r.split("=");"lang"===p[0]&&(i=p[1])}return i&&S.includes(i)?i:D&&S.includes(D)?D:I&&S.includes(I[0])?I[0]:"en"}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(A.gz),g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ie=d(70655);let He=(()=>{class N{constructor(){}loadPdfMake(){return(0,Ie.mG)(this,void 0,void 0,function*(){if(!this.pdfMake){const D=yield d.e(641).then(d.t.bind(d,54641,23)),S=yield d.e(493).then(d.t.bind(d,58493,19));this.pdfMake=D.default,this.pdfMake.vfs=S.default.pdfMake.vfs}})}generatePdf(D){return(0,Ie.mG)(this,void 0,void 0,function*(){yield this.loadPdfMake(),this.pdfMake.createPdf(D).open()})}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),fe=(()=>{class N{constructor(D){this.pdfService=D}static generateTableForUser(D){const S=D.name.replace(";"," ").split(";")[0];return"OK"!==D.status?this.generateErrorRowForUser(S,D.status):N.generateRowForUser(S,D.login,D.password)}static generateErrorRowForUser(D,S){return{table:{heights:[30,1,1],widths:[249,249],body:[[{text:D,colSpan:1,alignment:"center",bold:!0,fontSize:12,margin:[20,25],color:"red"},{text:S,alignment:"center",bold:!0,color:"red"}]]}}}static generateRowForUser(D,S,I){return{table:{heights:[30,0],widths:[120,120,120,120],body:[[N.generateNameCell(D),{},N.getPasswordLabelCell(),N.generatePasswordCell(I)],[N.getLoginLabelCell(),N.generateLoginCell(S),{},{}]]}}}static generateNameCell(D){return{text:D,colSpan:2,alignment:"center",border:[!0,!0,!0,!1],bold:!0,fontSize:12,margin:[10,10]}}static generatePasswordCell(D){return{text:null==D?"N/A":D,border:[!1,!0,!0,!0],bold:!0,margin:[0,25],rowSpan:2,alignment:"left"}}static generateLoginCell(D){return{text:null==D?"N/A":D,border:[!1,!1,!0,!0],bold:!0}}static getLoginLabelCell(){return{text:"Login:",border:[!0,!1,!1,!0],alignment:"right",margin:[0,0,0,10]}}static getPasswordLabelCell(){return{text:"Password:",border:[!0,!0,!1,!0],alignment:"right",margin:[0,25],rowSpan:2}}generate(D){return(0,Ie.mG)(this,void 0,void 0,function*(){const S=[];for(const P of D)S.push(N.generateTableForUser(P));return this.pdfService.generatePdf({content:S})})}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(He))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Ce=(()=>{class N{constructor(D){this.storeService=D}static getBrandContainingDomain(D,S){for(const I of D)if(I.newApps.admin===S||I.newApps.profile===S||I.newApps.pwdReset===S)return I;return D[0]}getUrlForOtherApplication(D,S){const P=window.location.href.split("/"),i=P[0]+"//"+P[2],r=N.getBrandContainingDomain(this.storeService.getAppsConfig().brands,i);let p;if(r.newApps[D])p=r.newApps[D],"pwdReset"===D&&(p+=`?login-namespace=${S}`);else switch(p=r.oldGuiDomain+"/fed",D){case"admin":p+="/gui/";break;case"profile":p+="/profile/";break;case"pwdReset":p+=`/pwd-reset/?login-namespace=${S}`}return p}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(s))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Ve=d(86087);let Xe=(()=>{class N extends Ve.ye{constructor(){super(...arguments),this.getRangeLabel=function(D,S,I){let P;return P=I<1e3?I:I<1e4?"1 000":I<1e5?"10 000":"100 000",`${D*S+1} \u2013 ${(D+1)*S} of ${P} +`}}}return N.\u0275fac=function(){let he;return function(S){return(he||(he=g.n5z(N)))(S||N)}}(),N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac}),N})(),tt=(()=>{class N{setEntity(D){this.entity=D}getEntity(){return this.entity}}return N.\u0275fac=function(D){return new(D||N)},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),rt=(()=>{class N{constructor(D){this.authResolver=D,this.routePolicies=new Map([["organizations-members",S=>this.authResolver.isAuthorized("getCompleteRichMembers_Vo_List_policy",[S])],["organizations-groups",S=>this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[S])],["organizations-resources",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])||this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])||this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-resources-preview",S=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[S])],["organizations-resources-tags",S=>this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[S])],["organizations-resources-states",S=>this.authResolver.isAuthorized("getResourcesState_Vo_policy",[S])],["organizations-applications",S=>this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[S])],["organizations-sponsoredMembers",S=>this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[S])],["organizations-serviceAccounts",S=>this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[S])],["organizations-attributes",()=>!0],["organizations-statistics",S=>this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[S])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[S])],["organizations-settings",S=>this.authResolver.isManagerPagePrivileged(S)||this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])||this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-expiration",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-managers",S=>this.authResolver.isManagerPagePrivileged(S)],["organizations-settings-applicationForm",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-notifications",S=>this.authResolver.isThisVoAdminOrObserver(S.id)],["organizations-settings-extsources",S=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[S])]])}canNavigate(D,S){const I=this.routePolicies.get(D);return!I||I(S)}}return N.\u0275fac=function(D){return new(D||N)(g.LFG(T))},N.\u0275prov=g.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})()},64080:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>e});let e=(()=>{class f{}return f.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",f.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",f.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",f.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",f.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",f.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",f.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",f.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",f.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",f.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",f.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",f.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",f.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",f.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",f.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",f.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",f.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",f.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",f.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",f.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",f.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",f})()},9244:(Ke,be,d)=>{"use strict";d.d(be,{dN:()=>h,Je:()=>b,f7:()=>O.f7,l9:()=>E.l,sF:()=>O.sF,XI:()=>O.XI,aC:()=>O.aC,fx:()=>O.fx,dv:()=>O.dv,i5:()=>O.i5,Sd:()=>O.Sd,pR:()=>O.pR,ys:()=>O.ys,O6:()=>O.O6,B2:()=>O.B2,mH:()=>O.mH,MX:()=>O.MX,oU:()=>O.oU,IL:()=>O.IL,Jc:()=>O.Jc,Xn:()=>O.Xn,kZ:()=>O.kZ,v$:()=>O.v$,x2:()=>O.x2,vL:()=>O.vL,Hm:()=>O.Hm,Cz:()=>O.Cz,sG:()=>O.sG,g$:()=>O.g$,bD:()=>O.bD,lt:()=>O.lt,Oe:()=>O.Oe,hu:()=>O.hu,Gw:()=>O.Gw,te:()=>O.te,kN:()=>O.kN,$0:()=>O.$0,OV:()=>O.OV});var e=d(86087),f=d(92181),g=d(25245),T=d(47423),m=d(51062),A=d(69808),s=d(5e3);let b=(()=>{class k{}return k.\u0275fac=function(V){return new(V||k)},k.\u0275mod=s.oAB({type:k}),k.\u0275inj=s.cJS({providers:[],imports:[[e.TU,f.Tx,g.Ps,T.ot,m.aw,A.ez]]}),k})();var O=d(17218),E=d(18750);class h{static passwordMatchValidator(L){const V=L.get("passwordCtrl").value,$=L.get("passwordAgainCtrl").value;return L.get("passwordAgainCtrl").setErrors(V!==$?{noPasswordMatch:!0}:null),null}static patternValidator(L){return V=>{if(!V.value)return null;let $=0;for(const ue of L)$+=ue.test(V.value)?1:0;return $>=3?null:{isWeak:!0}}}}},17218:(Ke,be,d)=>{"use strict";d.d(be,{f7:()=>A,B2:()=>s,g$:()=>b,kN:()=>O,$0:()=>E,lt:()=>h,bD:()=>L,hu:()=>V,Cz:()=>$,te:()=>ce,ys:()=>Le,vL:()=>ke,sF:()=>ae,XI:()=>j,OV:()=>te,MX:()=>se,oU:()=>ge,IL:()=>Ne,Jc:()=>Fe,v$:()=>ne,i5:()=>Te,kZ:()=>ee,dv:()=>R,Hm:()=>Oe,Oe:()=>Ie,Gw:()=>He,x2:()=>fe,sG:()=>Ce,pR:()=>Xe,Sd:()=>tt,Xn:()=>N,O6:()=>he,aC:()=>D,fx:()=>S,mH:()=>I});var e=d(70655),f=d(48966),g=d(69808),T=d(94327);const A=[5,10,25,100],s=/^(([^<>+()[\]\\.,;:\s@"-#$%&=]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]+))$/;function b(P){let i="";return P&&null!==P.userAttributes&&(P.userAttributes.forEach(r=>{"preferredMail"===r.friendlyName&&(i=r.value)}),i&&0===i.length&&null!==P.memberAttributes&&P.memberAttributes.forEach(r=>{"mail"===r.friendlyName&&null!==r.value&&(i=r.value)})),i}function O(P){let i="";return P&&P.userAttributes.forEach(r=>{"preferredMail"===r.friendlyName&&(i=r.value)}),i}function E(P){let i="";return!!P&&!!P.userAttributes&&P.userAttributes.filter(r=>"login-namespace"===r.baseFriendlyName).filter(r=>null!==r.value).forEach(r=>{i+=r.friendlyNameParameter+": "+r.value+", "}),i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function h(P){let i="";return!!P&&!!P.userAttributes&&P.userAttributes.filter(r=>"login-namespace"===r.baseFriendlyName).filter(r=>null!==r.value).forEach(r=>{i+=r.friendlyNameParameter+": "+r.value+", "}),i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function L(P){let i="";return null!==P.titleBefore&&(i+=P.titleBefore+" "),null!==P.firstName&&(i+=P.firstName+" "),null!==P.middleName&&(i+=P.middleName+" "),null!==P.lastName&&(i+=P.lastName+" "),null!==P.titleAfter&&(i+=P.titleAfter+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}function V(P){let i="";return null!==P.firstName&&(i+=P.firstName+" "),null!==P.middleName&&(i+=P.middleName+" "),null!==P.lastName&&(i+=P.lastName+" "),i.endsWith(" ")&&(i=i.substring(0,i.length-1)),i}function $(P){let i="";return P.split(/(?=[A-Z])/g).forEach(p=>{i=i.concat(p.toLowerCase()),i=i.concat(" ")}),i=i.charAt(0).toUpperCase()+i.slice(1,i.length-1),i}function ce(P){let i="";for(const r of P)"technical"===r.type&&(i+=r.name+", ");return i.endsWith(", ")&&(i=i.substring(0,i.length-2)),i}function Le(P,i){return(0,e.mG)(this,void 0,void 0,function*(){yield function de(P){return new Promise(i=>setTimeout(i,P))}(P),i()})}function ke(P){return JSON.parse(localStorage.getItem(P))||[]}function ae(P,i){if(null===localStorage.getItem(P)){const r=[];r.unshift(i.id),localStorage.setItem(P,JSON.stringify(r))}else{const r=JSON.parse(localStorage.getItem(P)),p=function Q(P,i){for(let r=0;r0&&r.splice(p,1),0!==p&&r.unshift(i.id),r.length>5&&r.pop(),localStorage.setItem(P,JSON.stringify(r))}}function j(P,i){if(null===localStorage.getItem("recent")){let r;r="Group"===P.beanName?[{id:P.id,name:P.shortName,fullName:P.name,type:P.beanName,voId:P.voId,voName:i}]:[{id:P.id,name:P.name,type:P.beanName,voId:P.voId}],localStorage.setItem("recent",JSON.stringify(r))}else{const r=JSON.parse(localStorage.getItem("recent"));let p;p="Group"===P.beanName?{id:P.id,name:P.shortName,fullName:P.name,type:P.beanName,voId:P.voId,voName:i}:{id:P.id,name:P.name,type:P.beanName,voId:P.voId};const o=function H(P,i){for(let r=0;r0&&r.splice(o,1),0!==o&&r.unshift(p),r.length>5&&r.pop(),localStorage.setItem("recent",JSON.stringify(r))}}function te(P){let i="";return P&&P.userAttributes.forEach(r=>{"organization"===r.friendlyName&&(i=r.value)}),i}function se(P){return P.filter(i=>!i.namespace.includes("def:core"))}function ge(P,i){const r=i.find(p=>p.id===P);return r?r.parentGroupId?ge(r.parentGroupId,i).concat(r):[r]:[]}function Ne(P,i){for(const r of P)if(r.namespace+":"+r.friendlyName===i)return r;return null}function Fe(P){return null!=P.attributes["urn:perun:member:attribute-def:def:mail"]?P.attributes["urn:perun:member:attribute-def:def:mail"]:null!=P.attributes["urn:perun:user:attribute-def:def:preferredMail"]?P.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function ne(P){return P.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function Me(P){if(P.includes("/CN=")){const i=P.split("/");for(const r in i)if(r.startsWith("CN="))return ve(r.substring(3))}return P}(P.userExtSource.extSource.name):P.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function me(P){switch(P){case"https://idp.upce.cz/idp/shibboleth":return"University in Pardubice";case"https://idp.slu.cz/idp/shibboleth":return"University in Opava";case"https://login.feld.cvut.cz/idp/shibboleth":return"Faculty of Electrical Engineering, Czech Technical University In Prague";case"https://www.vutbr.cz/SSO/saml2/idp":return"Brno University of Technology";case"https://shibboleth.nkp.cz/idp/shibboleth":return"The National Library of the Czech Republic";case"https://idp2.civ.cvut.cz/idp/shibboleth":return"Czech Technical University In Prague";case"https://shibbo.tul.cz/idp/shibboleth":return"Technical University of Liberec";case"https://idp.mendelu.cz/idp/shibboleth":return"Mendel University in Brno";case"https://cas.cuni.cz/idp/shibboleth":return"Charles University in Prague";case"https://wsso.vscht.cz/idp/shibboleth":return"Institute of Chemical Technology Prague";case"https://idp.vsb.cz/idp/shibboleth":return"VSB \u2013 Technical University of Ostrava";case"https://whoami.cesnet.cz/idp/shibboleth":return"CESNET";case"https://helium.jcu.cz/idp/shibboleth":return"University of South Bohemia";case"https://idp.ujep.cz/idp/shibboleth":return"Jan Evangelista Purkyne University in Usti nad Labem";case"https://idp.amu.cz/idp/shibboleth":return"Academy of Performing Arts in Prague";case"https://idp.lib.cas.cz/idp/shibboleth":return"Academy of Sciences Library";case"https://shibboleth.mzk.cz/simplesaml/metadata.xml":return"Moravian Library";case"https://idp2.ics.muni.cz/idp/shibboleth":return"Masaryk University";case"https://idp.upol.cz/idp/shibboleth":return"Palacky University, Olomouc";case"https://idp.fnplzen.cz/idp/shibboleth":return"FN Plzen";case"https://id.vse.cz/idp/shibboleth":return"University of Economics, Prague";case"https://shib.zcu.cz/idp/shibboleth":return"University of West Bohemia";case"https://idptoo.osu.cz/simplesaml/saml2/idp/metadata.php":return"University of Ostrava";case"https://login.ics.muni.cz/idp/shibboleth":return"MetaCentrum";case"https://idp.hostel.eduid.cz/idp/shibboleth":return"eduID.cz Hostel";case"https://shibboleth.techlib.cz/idp/shibboleth":return"National Library of Technology";case"https://eduid.jamu.cz/idp/shibboleth":return"Janacek Academy of Music and Performing Arts in Brno";case"https://marisa.uochb.cas.cz/simplesaml/saml2/idp/metadata.php":return"Institute of Organic Chemistry and Biochemistry AS CR";case"https://shibboleth.utb.cz/idp/shibboleth":return"Tomas Bata University in Zlin";case"https://engine.elixir-czech.org/authentication/idp/metadata":case"@elixir-europe.org":return"Elixir Europe";case"https://login.elixir-czech.org/idp":return"Elixir Czech";case"https://mojeid.cz/saml/idp.xml":case"@mojeid.extidp.cesnet.cz":return"MojeID";case"https://www.egi.eu/idp/shibboleth":return"EGI SSO";case"@google.extidp.cesnet.cz":return"Google";case"@facebook.extidp.cesnet.cz":return"Facebook";case"@linkedin.extidp.cesnet.cz":return"LinkedIn";case"@twitter.extidp.cesnet.cz":return"Twitter";case"@seznam.extidp.cesnet.cz":return"Seznam";case"@github.extidp.cesnet.cz":return"GitHub";case"@orcid.extidp.cesnet.cz":return"OrcID";default:return P}}(P.userExtSource.extSource.name):P.userExtSource.extSource.name}function ve(P){return decodeURIComponent(P.replace(/\\x/g,"%"))}function Te(P=["en","cs"]){const i={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{}};return P.forEach(r=>{i.message[r]={locale:r,subject:"",text:""}}),i}function ee(){const P=new f.vA;return P.disableClose=!0,P.autoFocus=!1,P}function R(P){const i={applicationTypes:["INITIAL","EXTENSION"],federationAttribute:"",i18n:{},id:0,ordnum:0,perunDestinationAttribute:null,perunSourceAttribute:null,regex:"",required:!1,updatable:!0,disabled:"NEVER",hidden:"NEVER",disabledDependencyItemId:null,hiddenDependencyItemId:null,shortname:"",type:null};for(const r of P)i.i18n[r]={locale:r,errorMessage:"",help:"",label:"",options:""};return i}function Oe(P){return"virt"===P.namespace.split(":")[4]}function Ie(P,i){return"valid"!==P.toLowerCase()||i&&"valid"!==P.toLowerCase()?P:"ACTIVE"}function He(P){let i="";return P&&null!==P.memberAttributes&&(P.memberAttributes.forEach(r=>{"organization"===r.friendlyName&&null!==r.value&&(i=r.value)}),0===i.length&&null!==P.userAttributes&&P.userAttributes.forEach(r=>{"organization"===r.friendlyName&&(i=r.value)})),i}function fe(P){const i=P.attributes.find(r=>"groupMembershipExpiration"===r.baseFriendlyName);return i&&i.value?i.value:"Never"}function Ce(P){return P&&"never"!==P.toLowerCase()?(0,g.p6)(P,"d.M.yyyy","en"):P}const Ve=new Intl.Collator("cs",{numeric:!0});function Xe(P,i,r,p){const o=i.active,t=i.direction;return o&&""!==t?P.sort((n,c)=>{const u=r(n,o,p),y=r(c,o,p);return Ve.compare(u,y)*("asc"===t?1:-1)}):P}function tt(P,i,r,p,o,t){i=i.toLowerCase();let n="";return r.forEach(c=>{n+=";"+p(P,c,o)}),t&&(n+=";"+p(P,"uuid",o)),-1!==n.toLowerCase().indexOf(i)}function N(P,i,r,p){const o=[],t=["checkbox","select","edit","menu","cite","extend","recent"];return i=i.filter(n=>!t.includes(n)),P.forEach(n=>{const c={};i.forEach(u=>{var y;c[u]=(null!==(y=r(n,u,p))&&void 0!==y?y:"").split('"').join("''").trim()}),o.push(c)}),o}function he(P,i="csv",r="export"){if("csv"===i){const p=(u,y)=>null===y?"":y,o=Object.keys(P[0]),t=P.map(u=>o.map(y=>JSON.stringify(u[y],p)).join(","));t.unshift(o.join(",").split(" ").join("_").split('"').join("''"));const n=t.join("\r\n"),c=new Blob([n],{type:"text/csv"});(0,T.saveAs)(c,`${r}.${i}`)}}function D(P,i){return P.name.toLowerCase()>i.name.toLowerCase()?1:P.name.toLowerCase()===i.name.toLowerCase()?0:-1}function S(P,i){var r,p,o,t;let n,c;return P.user?(n=P.user.lastName?P.user.lastName:null!==(r=P.user.firstName)&&void 0!==r?r:"",c=i.user.lastName?i.user.lastName:null!==(p=i.user.firstName)&&void 0!==p?p:""):(n=P.lastName?P.lastName:null!==(o=P.firstName)&&void 0!==o?o:"",c=i.lastName?i.lastName:null!==(t=i.firstName)&&void 0!==t?t:""),n>c?1:n===c?0:-1}function I(P,i,r=[]){P.enable(),P.clearValidators(),P.clearAsyncValidators(),P.setValidators(i),P.setAsyncValidators(r),P.updateValueAndValidity()}},18750:(Ke,be,d)=>{"use strict";d.d(be,{l:()=>V});var e=d(5e3),f=d(86087),g=d(17218),T=d(10036),m=d(69808),A=d(47423),s=d(92181),b=d(25245),O=d(51062);let E=(()=>{class ${constructor(){this.exportData=new e.vpe}}return $.\u0275fac=function(ce){return new(ce||$)},$.\u0275cmp=e.Xpm({type:$,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(ce,Le){if(1&ce&&(e.TgZ(0,"div",0),e.TgZ(1,"button",1),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA(),e.qZA(),e.TgZ(4,"mat-menu",null,2),e.TgZ(6,"button",3),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.qZA(),e.TgZ(9,"mat-menu",null,4),e.TgZ(11,"button",5),e.NdJ("click",function(){return Le.exportData.emit("csv")}),e._uU(12,"Csv"),e.qZA(),e.qZA(),e.qZA()),2&ce){const de=e.MAs(5),ke=e.MAs(10);e.xp6(1),e.Q6J("matMenuTriggerFor",de),e.xp6(5),e.Q6J("matMenuTriggerFor",ke),e.xp6(1),e.hij(" ",e.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[A.lW,s.p6,b.Hw,s.VK,s.OP],pipes:[O.X$],styles:[""]}),$})();function h($,ue){if(1&$){const ce=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(de){return e.CHM(ce),e.oxw().exportData.emit(de)}),e.qZA()}}function k($,ue){if(1&$){const ce=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(de){return e.CHM(ce),e.oxw().exportData.emit(de)}),e.qZA()}}const L=["*"];let V=(()=>{class ${constructor(ce){this.tableConfigService=ce,this.hideExport=!1,this.pageSizeOptions=g.f7,this.dataLength=0,this.exportData=new e.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(ce){this.paginator=ce}pageChangedTop(ce){this.pageSize=ce.pageSize,this.tableConfigService.setTablePageSize(this.tableId,ce.pageSize)}pageChangedBottom(ce){this.paginator.pageSize=ce.pageSize,this.paginator.pageIndex=ce.pageIndex,this.paginator.page.emit(ce),this.pageSize=ce.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,ce.pageSize)}}return $.\u0275fac=function(ce){return new(ce||$)(e.Y36(T.dB))},$.\u0275cmp=e.Xpm({type:$,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(ce,Le){if(1&ce&&e.Gf(f.NW,7),2&ce){let de;e.iGM(de=e.CRH())&&(Le.matPaginator=de.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:L,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(ce,Le){1&ce&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"mat-paginator",2),e.NdJ("page",function(ke){return Le.pageChangedTop(ke)}),e.qZA(),e.YNc(3,h,1,0,"perun-web-apps-table-options",3),e.qZA(),e.TgZ(4,"div",4),e.Hsn(5),e.qZA(),e.TgZ(6,"div",1),e.TgZ(7,"mat-paginator",5),e.NdJ("page",function(ke){return Le.pageChangedBottom(ke)}),e.qZA(),e.YNc(8,k,1,0,"perun-web-apps-table-options",3),e.qZA(),e.qZA()),2&ce&&(e.xp6(2),e.Q6J("length",Le.dataLength)("pageSizeOptions",Le.pageSizeOptions)("pageSize",Le.pageSize),e.xp6(1),e.Q6J("ngIf",!Le.hideExport),e.xp6(4),e.Q6J("length",Le.paginator.length)("pageIndex",Le.paginator.pageIndex)("pageSizeOptions",Le.paginator.pageSizeOptions)("pageSize",Le.paginator.pageSize),e.xp6(1),e.Q6J("ngIf",!Le.hideExport))},directives:[f.NW,m.O5,E],styles:[""]}),$})()},98380:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>O});var e=d(5e3),f=d(69808),g=d(25245);function T(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," info "),e.qZA())}function m(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," warning "),e.qZA())}function A(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," dangerous "),e.qZA())}function s(E,h){1&E&&(e.TgZ(0,"mat-icon",2),e._uU(1," check_circle "),e.qZA())}const b=["*"];let O=(()=>{class E{constructor(){}}return E.\u0275fac=function(k){return new(k||E)},E.\u0275cmp=e.Xpm({type:E,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:b,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(k,L){1&k&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,T,2,0,"mat-icon",1),e.YNc(2,m,2,0,"mat-icon",1),e.YNc(3,A,2,0,"mat-icon",1),e.YNc(4,s,2,0,"mat-icon",1),e.Hsn(5),e.qZA()),2&k&&(e.ekj("warn-alert","warn"===L.alert_type)("error-alert","error"===L.alert_type)("success-alert","success"===L.alert_type)("info-alert","info"===L.alert_type),e.xp6(1),e.Q6J("ngIf","info"===L.alert_type),e.xp6(1),e.Q6J("ngIf","warn"===L.alert_type),e.xp6(1),e.Q6J("ngIf","error"===L.alert_type),e.xp6(1),e.Q6J("ngIf","success"===L.alert_type))},directives:[f.O5,g.Hw],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),E})()},63189:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>T});var e=d(25245),f=d(69808),g=d(5e3);let T=(()=>{class m{}return m.\u0275fac=function(s){return new(s||m)},m.\u0275mod=g.oAB({type:m}),m.\u0275inj=g.cJS({imports:[[e.Ps,f.ez]]}),m})()},1302:function(Ke,be,d){var e;!function(f,g){var T={};!function(f){"use strict";f.__esModule=!0,f.digestLength=32,f.blockSize=64;var g=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function T(L,V,$,ue,ce){for(var Le,de,ke,ae,j,H,Q,te,se,ge,Ne,Fe,ne;ce>=64;){for(Le=V[0],de=V[1],ke=V[2],ae=V[3],j=V[4],H=V[5],Q=V[6],te=V[7],ge=0;ge<16;ge++)L[ge]=(255&$[Ne=ue+4*ge])<<24|(255&$[Ne+1])<<16|(255&$[Ne+2])<<8|255&$[Ne+3];for(ge=16;ge<64;ge++)L[ge]=((Fe=((se=L[ge-2])>>>17|se<<15)^(se>>>19|se<<13)^se>>>10)+L[ge-7]|0)+((ne=((se=L[ge-15])>>>7|se<<25)^(se>>>18|se<<14)^se>>>3)+L[ge-16]|0);for(ge=0;ge<64;ge++)Fe=(((j>>>6|j<<26)^(j>>>11|j<<21)^(j>>>25|j<<7))+(j&H^~j&Q)|0)+(te+(g[ge]+L[ge]|0)|0)|0,ne=((Le>>>2|Le<<30)^(Le>>>13|Le<<19)^(Le>>>22|Le<<10))+(Le&de^Le&ke^de&ke)|0,te=Q,Q=H,H=j,j=ae+Fe|0,ae=ke,ke=de,de=Le,Le=Fe+ne|0;V[0]+=Le,V[1]+=de,V[2]+=ke,V[3]+=ae,V[4]+=j,V[5]+=H,V[6]+=Q,V[7]+=te,ue+=64,ce-=64}return ue}var m=function(){function L(){this.digestLength=f.digestLength,this.blockSize=f.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return L.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},L.prototype.clean=function(){for(var V=0;V0){for(;this.bufferLength<64&&$>0;)this.buffer[this.bufferLength++]=V[ue++],$--;64===this.bufferLength&&(T(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for($>=64&&(ue=T(this.temp,this.state,V,ue,$),$%=64);$>0;)this.buffer[this.bufferLength++]=V[ue++],$--;return this},L.prototype.finish=function(V){if(!this.finished){var $=this.bytesHashed,ue=this.bufferLength,ce=$/536870912|0,Le=$<<3,de=$%64<56?64:128;this.buffer[ue]=128;for(var ke=ue+1;ke>>24&255,this.buffer[de-7]=ce>>>16&255,this.buffer[de-6]=ce>>>8&255,this.buffer[de-5]=ce>>>0&255,this.buffer[de-4]=Le>>>24&255,this.buffer[de-3]=Le>>>16&255,this.buffer[de-2]=Le>>>8&255,this.buffer[de-1]=Le>>>0&255,T(this.temp,this.state,this.buffer,0,de),this.finished=!0}for(ke=0;ke<8;ke++)V[4*ke+0]=this.state[ke]>>>24&255,V[4*ke+1]=this.state[ke]>>>16&255,V[4*ke+2]=this.state[ke]>>>8&255,V[4*ke+3]=this.state[ke]>>>0&255;return this},L.prototype.digest=function(){var V=new Uint8Array(this.digestLength);return this.finish(V),V},L.prototype._saveState=function(V){for(var $=0;$this.blockSize)(new m).update(V).finish($).clean();else for(var ue=0;ue1&&V.update(L),$&&V.update($),V.update(ue),V.finish(L),ue[0]++}f.HMAC=A,f.hash=s,f.default=s,f.hmac=b;var E=new Uint8Array(f.digestLength);f.hkdf=function h(L,V,$,ue){void 0===V&&(V=E),void 0===ue&&(ue=32);for(var ce=new Uint8Array([1]),Le=b(V,L),de=new A(Le),ke=new Uint8Array(de.digestLength),ae=ke.length,j=new Uint8Array(ue),H=0;H>>24&255,de[1]=Q>>>16&255,de[2]=Q>>>8&255,de[3]=Q>>>0&255,ce.reset(),ce.update(V),ce.update(de),ce.finish(ae);for(var te=0;te=h.status}function A(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(k){var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(h)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,b=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),O=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!b?function(E,h,k){var L=s.URL||s.webkitURL,V=document.createElement("a");V.download=h=h||E.name||"download",V.rel="noopener","string"==typeof E?(V.href=E,V.origin===location.origin?A(V):m(V.href)?T(E,h,k):A(V,V.target="_blank")):(V.href=L.createObjectURL(E),setTimeout(function(){L.revokeObjectURL(V.href)},4e4),setTimeout(function(){A(V)},0))}:"msSaveOrOpenBlob"in navigator?function(E,h,k){if(h=h||E.name||"download","string"!=typeof E)navigator.msSaveOrOpenBlob(function g(E,h){return void 0===h?h={autoBom:!1}:"object"!=typeof h&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(E.type)?new Blob(["\ufeff",E],{type:E.type}):E}(E,k),h);else if(m(E))T(E,h,k);else{var L=document.createElement("a");L.href=E,L.target="_blank",setTimeout(function(){A(L)})}}:function(E,h,k,L){if((L=L||open("","_blank"))&&(L.document.title=L.document.body.innerText="downloading..."),"string"==typeof E)return T(E,h,k);var V="application/octet-stream"===E.type,$=/constructor/i.test(s.HTMLElement)||s.safari,ue=/CriOS\/[\d]+/.test(navigator.userAgent);if((ue||V&&$||b)&&"undefined"!=typeof FileReader){var ce=new FileReader;ce.onloadend=function(){var ke=ce.result;ke=ue?ke:ke.replace(/^data:[^;]*;/,"data:attachment/file;"),L?L.location.href=ke:location=ke,L=null},ce.readAsDataURL(E)}else{var Le=s.URL||s.webkitURL,de=Le.createObjectURL(E);L?L.location=de:location.href=de,L=null,setTimeout(function(){Le.revokeObjectURL(de)},4e4)}});s.saveAs=O.saveAs=O,Ke.exports=O}.apply(be,[]))&&(Ke.exports=f)},591:(Ke,be,d)=>{"use strict";d.d(be,{X:()=>g});var e=d(8929),f=d(95279);class g extends e.xQ{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const A=super._subscribe(m);return A&&!A.closed&&m.next(this._value),A}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new f.N;return this._value}next(m){super.next(this._value=m)}}},51869:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(43489);class f extends e.L{constructor(T,m,A){super(),this.parent=T,this.outerValue=m,this.outerIndex=A,this.index=0}_next(T){this.parent.notifyNext(this.outerValue,T,this.outerIndex,this.index++,this)}_error(T){this.parent.notifyError(T,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},29312:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>m});var e=d(68896),f=d(21086),g=d(61737);class m{constructor(s,b,O){this.kind=s,this.value=b,this.error=O,this.hasValue="N"===s}observe(s){switch(this.kind){case"N":return s.next&&s.next(this.value);case"E":return s.error&&s.error(this.error);case"C":return s.complete&&s.complete()}}do(s,b,O){switch(this.kind){case"N":return s&&s(this.value);case"E":return b&&b(this.error);case"C":return O&&O()}}accept(s,b,O){return s&&"function"==typeof s.next?this.observe(s):this.do(s,b,O)}toObservable(){switch(this.kind){case"N":return(0,f.of)(this.value);case"E":return(0,g._)(this.error);case"C":return(0,e.c)()}throw new Error("unexpected notification kind value")}static createNext(s){return void 0!==s?new m("N",s):m.undefinedValueNotification}static createError(s){return new m("E",void 0,s)}static createComplete(){return m.completeNotification}}m.completeNotification=new m("C"),m.undefinedValueNotification=new m("N",void 0)},32916:(Ke,be,d)=>{"use strict";d.d(be,{y:()=>h});var e=d(43489),g=d(57668),T=d(73292),A=d(93821),s=d(35379);var E=d(92830);let h=(()=>{class L{constructor($){this._isScalar=!1,$&&(this._subscribe=$)}lift($){const ue=new L;return ue.source=this,ue.operator=$,ue}subscribe($,ue,ce){const{operator:Le}=this,de=function m(L,V,$){if(L){if(L instanceof e.L)return L;if(L[g.b])return L[g.b]()}return L||V||$?new e.L(L,V,$):new e.L(T.c)}($,ue,ce);if(de.add(Le?Le.call(de,this.source):this.source||E.v.useDeprecatedSynchronousErrorHandling&&!de.syncErrorThrowable?this._subscribe(de):this._trySubscribe(de)),E.v.useDeprecatedSynchronousErrorHandling&&de.syncErrorThrowable&&(de.syncErrorThrowable=!1,de.syncErrorThrown))throw de.syncErrorValue;return de}_trySubscribe($){try{return this._subscribe($)}catch(ue){E.v.useDeprecatedSynchronousErrorHandling&&($.syncErrorThrown=!0,$.syncErrorValue=ue),function f(L){for(;L;){const{closed:V,destination:$,isStopped:ue}=L;if(V||ue)return!1;L=$&&$ instanceof e.L?$:null}return!0}($)?$.error(ue):console.warn(ue)}}forEach($,ue){return new(ue=k(ue))((ce,Le)=>{let de;de=this.subscribe(ke=>{try{$(ke)}catch(ae){Le(ae),de&&de.unsubscribe()}},Le,ce)})}_subscribe($){const{source:ue}=this;return ue&&ue.subscribe($)}[A.L](){return this}pipe(...$){return 0===$.length?this:function O(L){return 0===L.length?s.y:1===L.length?L[0]:function($){return L.reduce((ue,ce)=>ce(ue),$)}}($)(this)}toPromise($){return new($=k($))((ue,ce)=>{let Le;this.subscribe(de=>Le=de,de=>ce(de),()=>ue(Le))})}}return L.create=V=>new L(V),L})();function k(L){if(L||(L=E.v.Promise||Promise),!L)throw new Error("no Promise impl found");return L}},73292:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>g});var e=d(92830),f=d(22782);const g={closed:!0,next(T){},error(T){if(e.v.useDeprecatedSynchronousErrorHandling)throw T;(0,f.z)(T)},complete(){}}},826:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>f});var e=d(43489);class f extends e.L{notifyNext(T,m,A,s,b){this.destination.next(m)}notifyError(T,m){this.destination.error(T)}notifyComplete(T){this.destination.complete()}}},96831:(Ke,be,d)=>{"use strict";d.d(be,{t:()=>ue});var e=d(8929),f=d(56686),T=d(32268);const A=new class m extends T.v{}(class g extends f.o{constructor(de,ke){super(de,ke),this.scheduler=de,this.work=ke}schedule(de,ke=0){return ke>0?super.schedule(de,ke):(this.delay=ke,this.state=de,this.scheduler.flush(this),this)}execute(de,ke){return ke>0||this.closed?super.execute(de,ke):this._execute(de,ke)}requestAsyncId(de,ke,ae=0){return null!==ae&&ae>0||null===ae&&this.delay>0?super.requestAsyncId(de,ke,ae):de.flush(this)}});var s=d(42654),b=d(43489),O=d(29312);class k extends b.L{constructor(de,ke,ae=0){super(de),this.scheduler=ke,this.delay=ae}static dispatch(de){const{notification:ke,destination:ae}=de;ke.observe(ae),this.unsubscribe()}scheduleMessage(de){this.destination.add(this.scheduler.schedule(k.dispatch,this.delay,new L(de,this.destination)))}_next(de){this.scheduleMessage(O.P.createNext(de))}_error(de){this.scheduleMessage(O.P.createError(de)),this.unsubscribe()}_complete(){this.scheduleMessage(O.P.createComplete()),this.unsubscribe()}}class L{constructor(de,ke){this.notification=de,this.destination=ke}}var V=d(95279),$=d(45283);class ue extends e.xQ{constructor(de=Number.POSITIVE_INFINITY,ke=Number.POSITIVE_INFINITY,ae){super(),this.scheduler=ae,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=de<1?1:de,this._windowTime=ke<1?1:ke,ke===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(de){const ke=this._events;ke.push(de),ke.length>this._bufferSize&&ke.shift(),super.next(de)}nextTimeWindow(de){this._events.push(new ce(this._getNow(),de)),this._trimBufferThenGetEvents(),super.next(de)}_subscribe(de){const ke=this._infiniteTimeWindow,ae=ke?this._events:this._trimBufferThenGetEvents(),j=this.scheduler,H=ae.length;let Q;if(this.closed)throw new V.N;if(this.isStopped||this.hasError?Q=s.w.EMPTY:(this.observers.push(de),Q=new $.W(this,de)),j&&de.add(de=new k(de,j)),ke)for(let te=0;teke&&(Q=Math.max(Q,H-ke)),Q>0&&j.splice(0,Q),j}}class ce{constructor(de,ke){this.time=de,this.value=ke}}},8929:(Ke,be,d)=>{"use strict";d.d(be,{Yc:()=>s,xQ:()=>b});var e=d(32916),f=d(43489),g=d(42654),T=d(95279),m=d(45283),A=d(57668);class s extends f.L{constructor(h){super(h),this.destination=h}}let b=(()=>{class E extends e.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[A.b](){return new s(this)}lift(k){const L=new O(this,this);return L.operator=k,L}next(k){if(this.closed)throw new T.N;if(!this.isStopped){const{observers:L}=this,V=L.length,$=L.slice();for(let ue=0;uenew O(h,k),E})();class O extends b{constructor(h,k){super(),this.destination=h,this.source=k}next(h){const{destination:k}=this;k&&k.next&&k.next(h)}error(h){const{destination:k}=this;k&&k.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:k}=this;return k?this.source.subscribe(h):g.w.EMPTY}}},45283:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>f});var e=d(42654);class f extends e.w{constructor(T,m){super(),this.subject=T,this.subscriber=m,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const T=this.subject,m=T.observers;if(this.subject=null,!m||0===m.length||T.isStopped||T.closed)return;const A=m.indexOf(this.subscriber);-1!==A&&m.splice(A,1)}}},43489:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>s});var e=d(67043),f=d(73292),g=d(42654),T=d(57668),m=d(92830),A=d(22782);class s extends g.w{constructor(E,h,k){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=f.c;break;case 1:if(!E){this.destination=f.c;break}if("object"==typeof E){E instanceof s?(this.syncErrorThrowable=E.syncErrorThrowable,this.destination=E,E.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,E));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,E,h,k)}}[T.b](){return this}static create(E,h,k){const L=new s(E,h,k);return L.syncErrorThrowable=!1,L}next(E){this.isStopped||this._next(E)}error(E){this.isStopped||(this.isStopped=!0,this._error(E))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(E){this.destination.next(E)}_error(E){this.destination.error(E),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:E}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=E,this}}class b extends s{constructor(E,h,k,L){super(),this._parentSubscriber=E;let V,$=this;(0,e.m)(h)?V=h:h&&(V=h.next,k=h.error,L=h.complete,h!==f.c&&($=Object.create(h),(0,e.m)($.unsubscribe)&&this.add($.unsubscribe.bind($)),$.unsubscribe=this.unsubscribe.bind(this))),this._context=$,this._next=V,this._error=k,this._complete=L}next(E){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;m.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,E)&&this.unsubscribe():this.__tryOrUnsub(this._next,E)}}error(E){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:k}=m.v;if(this._error)k&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,E),this.unsubscribe()):(this.__tryOrUnsub(this._error,E),this.unsubscribe());else if(h.syncErrorThrowable)k?(h.syncErrorValue=E,h.syncErrorThrown=!0):(0,A.z)(E),this.unsubscribe();else{if(this.unsubscribe(),k)throw E;(0,A.z)(E)}}}complete(){if(!this.isStopped){const{_parentSubscriber:E}=this;if(this._complete){const h=()=>this._complete.call(this._context);m.v.useDeprecatedSynchronousErrorHandling&&E.syncErrorThrowable?(this.__tryOrSetError(E,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(E,h){try{E.call(this._context,h)}catch(k){if(this.unsubscribe(),m.v.useDeprecatedSynchronousErrorHandling)throw k;(0,A.z)(k)}}__tryOrSetError(E,h,k){if(!m.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,k)}catch(L){return m.v.useDeprecatedSynchronousErrorHandling?(E.syncErrorValue=L,E.syncErrorThrown=!0,!0):((0,A.z)(L),!0)}return!1}_unsubscribe(){const{_parentSubscriber:E}=this;this._context=null,this._parentSubscriber=null,E.unsubscribe()}}},42654:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>A});var e=d(66688),f=d(57830),g=d(67043);const m=(()=>{function b(O){return Error.call(this),this.message=O?`${O.length} errors occurred during unsubscription:\n${O.map((E,h)=>`${h+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=O,this}return b.prototype=Object.create(Error.prototype),b})();class A{constructor(O){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,O&&(this._unsubscribe=O)}unsubscribe(){let O;if(this.closed)return;let{_parentOrParents:E,_unsubscribe:h,_subscriptions:k}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,E instanceof A)E.remove(this);else if(null!==E)for(let L=0;LO.concat(E instanceof m?E.errors:E),[])}A.EMPTY=((b=new A).closed=!0,b)},92830:(Ke,be,d)=>{"use strict";d.d(be,{v:()=>f});let e=!1;const f={Promise:void 0,set useDeprecatedSynchronousErrorHandling(g){if(g){const T=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+T.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=g},get useDeprecatedSynchronousErrorHandling(){return e}}},71762:(Ke,be,d)=>{"use strict";d.d(be,{c:()=>m,N:()=>A});var e=d(8929),f=d(32916),g=d(42654),T=d(74327);class m extends f.y{constructor(h,k){super(),this.source=h,this.subjectFactory=k,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new g.w,h.add(this.source.subscribe(new s(this.getSubject(),this))),h.closed&&(this._connection=null,h=g.w.EMPTY)),h}refCount(){return(0,T.x)()(this)}}const A=(()=>{const E=m.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:E._subscribe},_isComplete:{value:E._isComplete,writable:!0},getSubject:{value:E.getSubject},connect:{value:E.connect},refCount:{value:E.refCount}}})();class s extends e.Yc{constructor(h,k){super(h),this.connectable=k}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const k=h._connection;h._refCount=0,h._subject=null,h._connection=null,k&&k.unsubscribe()}}}},36053:(Ke,be,d)=>{"use strict";d.d(be,{aj:()=>s});var e=d(72866),f=d(66688),g=d(826),T=d(69054),m=d(33009);const A={};function s(...E){let h=null,k=null;return(0,e.K)(E[E.length-1])&&(k=E.pop()),"function"==typeof E[E.length-1]&&(h=E.pop()),1===E.length&&(0,f.k)(E[0])&&(E=E[0]),(0,m.n)(E,k).lift(new b(h))}class b{constructor(h){this.resultSelector=h}call(h,k){return k.subscribe(new O(h,this.resultSelector))}}class O extends g.L{constructor(h,k){super(h),this.resultSelector=k,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(A),this.observables.push(h)}_complete(){const h=this.observables,k=h.length;if(0===k)this.destination.complete();else{this.active=k,this.toRespond=k;for(let L=0;L{"use strict";d.d(be,{z:()=>T});var e=d(21086),f=d(89146);function T(...m){return function g(){return(0,f.J)(1)}()((0,e.of)(...m))}},88514:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>T});var e=d(32916),f=d(5254),g=d(68896);function T(m){return new e.y(A=>{let s;try{s=m()}catch(O){return void A.error(O)}return(s?(0,f.D)(s):(0,g.c)()).subscribe(A)})}},68896:(Ke,be,d)=>{"use strict";d.d(be,{E:()=>f,c:()=>g});var e=d(32916);const f=new e.y(m=>m.complete());function g(m){return m?function T(m){return new e.y(A=>m.schedule(()=>A.complete()))}(m):f}},30567:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>A});var e=d(32916),f=d(66688),g=d(24850),T=d(57830),m=d(5254);function A(...b){if(1===b.length){const O=b[0];if((0,f.k)(O))return s(O,null);if((0,T.K)(O)&&Object.getPrototypeOf(O)===Object.prototype){const E=Object.keys(O);return s(E.map(h=>O[h]),E)}}if("function"==typeof b[b.length-1]){const O=b.pop();return s(b=1===b.length&&(0,f.k)(b[0])?b[0]:b,null).pipe((0,g.U)(E=>O(...E)))}return s(b,null)}function s(b,O){return new e.y(E=>{const h=b.length;if(0===h)return void E.complete();const k=new Array(h);let L=0,V=0;for(let $=0;${ce||(ce=!0,V++),k[$]=Le},error:Le=>E.error(Le),complete:()=>{L++,(L===h||!ce)&&(V===h&&E.next(O?O.reduce((Le,de,ke)=>(Le[de]=k[ke],Le),{}):k),E.complete())}}))}})}},5254:(Ke,be,d)=>{"use strict";d.d(be,{D:()=>$});var e=d(32916),f=d(59249),g=d(42654),T=d(93821),s=d(66454),b=d(5430),h=d(98955),k=d(58515);function $(ue,ce){return ce?function V(ue,ce){if(null!=ue){if(function E(ue){return ue&&"function"==typeof ue[T.L]}(ue))return function m(ue,ce){return new e.y(Le=>{const de=new g.w;return de.add(ce.schedule(()=>{const ke=ue[T.L]();de.add(ke.subscribe({next(ae){de.add(ce.schedule(()=>Le.next(ae)))},error(ae){de.add(ce.schedule(()=>Le.error(ae)))},complete(){de.add(ce.schedule(()=>Le.complete()))}}))})),de})}(ue,ce);if((0,h.t)(ue))return function A(ue,ce){return new e.y(Le=>{const de=new g.w;return de.add(ce.schedule(()=>ue.then(ke=>{de.add(ce.schedule(()=>{Le.next(ke),de.add(ce.schedule(()=>Le.complete()))}))},ke=>{de.add(ce.schedule(()=>Le.error(ke)))}))),de})}(ue,ce);if((0,k.z)(ue))return(0,s.r)(ue,ce);if(function L(ue){return ue&&"function"==typeof ue[b.hZ]}(ue)||"string"==typeof ue)return function O(ue,ce){if(!ue)throw new Error("Iterable cannot be null");return new e.y(Le=>{const de=new g.w;let ke;return de.add(()=>{ke&&"function"==typeof ke.return&&ke.return()}),de.add(ce.schedule(()=>{ke=ue[b.hZ](),de.add(ce.schedule(function(){if(Le.closed)return;let ae,j;try{const H=ke.next();ae=H.value,j=H.done}catch(H){return void Le.error(H)}j?Le.complete():(Le.next(ae),this.schedule())}))})),de})}(ue,ce)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,ce):ue instanceof e.y?ue:new e.y((0,f.s)(ue))}},33009:(Ke,be,d)=>{"use strict";d.d(be,{n:()=>T});var e=d(32916),f=d(13650),g=d(66454);function T(m,A){return A?(0,g.r)(m,A):new e.y((0,f.V)(m))}},23753:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>A});var e=d(32916),f=d(66688),g=d(67043),T=d(24850);function A(h,k,L,V){return(0,g.m)(L)&&(V=L,L=void 0),V?A(h,k,L).pipe((0,T.U)($=>(0,f.k)($)?V(...$):V($))):new e.y($=>{s(h,k,function ue(ce){$.next(arguments.length>1?Array.prototype.slice.call(arguments):ce)},$,L)})}function s(h,k,L,V,$){let ue;if(function E(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const ce=h;h.addEventListener(k,L,$),ue=()=>ce.removeEventListener(k,L,$)}else if(function O(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const ce=h;h.on(k,L),ue=()=>ce.off(k,L)}else if(function b(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const ce=h;h.addListener(k,L),ue=()=>ce.removeListener(k,L)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let ce=0,Le=h.length;ce{"use strict";d.d(be,{F:()=>T});var e=d(32916),f=d(20353),g=d(84241);function T(A=0,s=f.P){return(!(0,g.k)(A)||A<0)&&(A=0),(!s||"function"!=typeof s.schedule)&&(s=f.P),new e.y(b=>(b.add(s.schedule(m,A,{subscriber:b,counter:0,period:A})),b))}function m(A){const{subscriber:s,counter:b,period:O}=A;s.next(b),this.schedule({subscriber:s,counter:b+1,period:O},O)}},36787:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>m});var e=d(32916),f=d(72866),g=d(89146),T=d(33009);function m(...A){let s=Number.POSITIVE_INFINITY,b=null,O=A[A.length-1];return(0,f.K)(O)?(b=A.pop(),A.length>1&&"number"==typeof A[A.length-1]&&(s=A.pop())):"number"==typeof O&&(s=A.pop()),null===b&&1===A.length&&A[0]instanceof e.y?A[0]:(0,g.J)(s)((0,T.n)(A,b))}},21086:(Ke,be,d)=>{"use strict";d.d(be,{of:()=>T});var e=d(72866),f=d(33009),g=d(66454);function T(...m){let A=m[m.length-1];return(0,e.K)(A)?(m.pop(),(0,g.r)(m,A)):(0,f.n)(m)}},61946:(Ke,be,d)=>{"use strict";d.d(be,{S3:()=>m});var e=d(66688),f=d(33009),g=d(826),T=d(69054);function m(...b){if(1===b.length){if(!(0,e.k)(b[0]))return b[0];b=b[0]}return(0,f.n)(b,void 0).lift(new A)}class A{call(O,E){return E.subscribe(new s(O))}}class s extends g.L{constructor(O){super(O),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(O){this.observables.push(O)}_complete(){const O=this.observables,E=O.length;if(0===E)this.destination.complete();else{for(let h=0;h{"use strict";d.d(be,{_:()=>f});var e=d(32916);function f(T,m){return new e.y(m?A=>m.schedule(g,0,{error:T,subscriber:A}):A=>A.error(T))}function g({error:T,subscriber:m}){m.error(T)}},98723:(Ke,be,d)=>{"use strict";d.d(be,{H:()=>m});var e=d(32916),f=d(20353),g=d(84241),T=d(72866);function m(s=0,b,O){let E=-1;return(0,g.k)(b)?E=Number(b)<1?1:Number(b):(0,T.K)(b)&&(O=b),(0,T.K)(O)||(O=f.P),new e.y(h=>{const k=(0,g.k)(s)?s:+s-O.now();return O.schedule(A,k,{index:0,period:E,subscriber:h})})}function A(s){const{index:b,period:O,subscriber:E}=s;if(E.next(b),!E.closed){if(-1===O)return E.complete();s.index=b+1,this.schedule(s,O)}}},57138:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>b});var e=d(20353),f=d(826),g=d(69054);class m{constructor(E){this.durationSelector=E}call(E,h){return h.subscribe(new A(E,this.durationSelector))}}class A extends f.L{constructor(E,h){super(E),this.durationSelector=h,this.hasValue=!1}_next(E){if(this.value=E,this.hasValue=!0,!this.throttled){let h;try{const{durationSelector:L}=this;h=L(E)}catch(L){return this.destination.error(L)}const k=(0,g.D)(this,h);!k||k.closed?this.clearThrottle():this.add(this.throttled=k)}}clearThrottle(){const{value:E,hasValue:h,throttled:k}=this;k&&(this.remove(k),this.throttled=null,k.unsubscribe()),h&&(this.value=null,this.hasValue=!1,this.destination.next(E))}notifyNext(E,h,k,L){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=d(98723);function b(O,E=e.P){return function T(O){return function(h){return h.lift(new m(O))}}(()=>(0,s.H)(O,E))}},27221:(Ke,be,d)=>{"use strict";d.d(be,{K:()=>T});var e=d(826),f=d(51869),g=d(69054);function T(s){return function(O){const E=new m(s),h=O.lift(E);return E.caught=h}}class m{constructor(b){this.selector=b}call(b,O){return O.subscribe(new A(b,this.selector,this.caught))}}class A extends e.L{constructor(b,O,E){super(b),this.selector=O,this.caught=E}error(b){if(!this.isStopped){let O;try{O=this.selector(b,this.caught)}catch(k){return void super.error(k)}this._unsubscribeAndRecycle();const E=new f.d(this,void 0,void 0);this.add(E);const h=(0,g.D)(this,O,void 0,void 0,E);h!==E&&this.add(h)}}}},21406:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>f});var e=d(61709);function f(g,T){return(0,e.zg)(g,T,1)}},80013:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>g});var e=d(43489),f=d(20353);function g(s,b=f.P){return O=>O.lift(new T(s,b))}class T{constructor(b,O){this.dueTime=b,this.scheduler=O}call(b,O){return O.subscribe(new m(b,this.dueTime,this.scheduler))}}class m extends e.L{constructor(b,O,E){super(b),this.dueTime=O,this.scheduler=E,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(A,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function A(s){s.debouncedNext()}},47314:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(43489);function f(m=null){return A=>A.lift(new g(m))}class g{constructor(A){this.defaultValue=A}call(A,s){return s.subscribe(new T(A,this.defaultValue))}}class T extends e.L{constructor(A,s){super(A),this.defaultValue=s,this.isEmpty=!0}_next(A){this.isEmpty=!1,this.destination.next(A)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},40943:(Ke,be,d)=>{"use strict";d.d(be,{g:()=>m});var e=d(20353),f=d(82697),g=d(43489),T=d(29312);function m(O,E=e.P){const k=(0,f.J)(O)?+O-E.now():Math.abs(O);return L=>L.lift(new A(k,E))}class A{constructor(E,h){this.delay=E,this.scheduler=h}call(E,h){return h.subscribe(new s(E,this.delay,this.scheduler))}}class s extends g.L{constructor(E,h,k){super(E),this.delay=h,this.scheduler=k,this.queue=[],this.active=!1,this.errored=!1}static dispatch(E){const h=E.source,k=h.queue,L=E.scheduler,V=E.destination;for(;k.length>0&&k[0].time-L.now()<=0;)k.shift().notification.observe(V);if(k.length>0){const $=Math.max(0,k[0].time-L.now());this.schedule(E,$)}else this.unsubscribe(),h.active=!1}_schedule(E){this.active=!0,this.destination.add(E.schedule(s.dispatch,this.delay,{source:this,destination:this.destination,scheduler:E}))}scheduleNotification(E){if(!0===this.errored)return;const h=this.scheduler,k=new b(h.now()+this.delay,E);this.queue.push(k),!1===this.active&&this._schedule(h)}_next(E){this.scheduleNotification(T.P.createNext(E))}_error(E){this.errored=!0,this.queue=[],this.destination.error(E),this.unsubscribe()}_complete(){this.scheduleNotification(T.P.createComplete()),this.unsubscribe()}}class b{constructor(E,h){this.time=E,this.notification=h}}},75778:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>f});var e=d(43489);function f(m,A){return s=>s.lift(new g(m,A))}class g{constructor(A,s){this.compare=A,this.keySelector=s}call(A,s){return s.subscribe(new T(A,this.compare,this.keySelector))}}class T extends e.L{constructor(A,s,b){super(A),this.keySelector=b,this.hasKey=!1,"function"==typeof s&&(this.compare=s)}compare(A,s){return A===s}_next(A){let s;try{const{keySelector:O}=this;s=O?O(A):A}catch(O){return this.destination.error(O)}let b=!1;if(this.hasKey)try{const{compare:O}=this;b=O(this.key,s)}catch(O){return this.destination.error(O)}else this.hasKey=!0;b||(this.key=s,this.destination.next(A))}}},92198:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>f});var e=d(43489);function f(m,A){return function(b){return b.lift(new g(m,A))}}class g{constructor(A,s){this.predicate=A,this.thisArg=s}call(A,s){return s.subscribe(new T(A,this.predicate,this.thisArg))}}class T extends e.L{constructor(A,s,b){super(A),this.predicate=s,this.thisArg=b,this.count=0}_next(A){let s;try{s=this.predicate.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}s&&this.destination.next(A)}}},40537:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>g});var e=d(43489),f=d(42654);function g(A){return s=>s.lift(new T(A))}class T{constructor(s){this.callback=s}call(s,b){return b.subscribe(new m(s,this.callback))}}class m extends e.L{constructor(s,b){super(s),this.add(new f.w(b))}}},87224:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>s});var e=d(84450),f=d(92198),g=d(72986),T=d(47314),m=d(34907),A=d(35379);function s(b,O){const E=arguments.length>=2;return h=>h.pipe(b?(0,f.h)((k,L)=>b(k,L,h)):A.y,(0,g.q)(1),E?(0,T.d)(O):(0,m.T)(()=>new e.K))}},24850:(Ke,be,d)=>{"use strict";d.d(be,{U:()=>f});var e=d(43489);function f(m,A){return function(b){if("function"!=typeof m)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new g(m,A))}}class g{constructor(A,s){this.project=A,this.thisArg=s}call(A,s){return s.subscribe(new T(A,this.project,this.thisArg))}}class T extends e.L{constructor(A,s,b){super(A),this.project=s,this.count=0,this.thisArg=b||this}_next(A){let s;try{s=this.project.call(this.thisArg,A,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(s)}}},77604:(Ke,be,d)=>{"use strict";d.d(be,{h:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.value=A}call(A,s){return s.subscribe(new T(A,this.value))}}class T extends e.L{constructor(A,s){super(A),this.value=s}_next(A){this.destination.next(this.value)}}},89146:(Ke,be,d)=>{"use strict";d.d(be,{J:()=>g});var e=d(61709),f=d(35379);function g(T=Number.POSITIVE_INFINITY){return(0,e.zg)(f.y,T)}},61709:(Ke,be,d)=>{"use strict";d.d(be,{zg:()=>A});var e=d(69054),f=d(826),g=d(51869),T=d(24850),m=d(5254);function A(O,E,h=Number.POSITIVE_INFINITY){return"function"==typeof E?k=>k.pipe(A((L,V)=>(0,m.D)(O(L,V)).pipe((0,T.U)(($,ue)=>E(L,$,V,ue))),h)):("number"==typeof E&&(h=E),k=>k.lift(new s(O,h)))}class s{constructor(E,h=Number.POSITIVE_INFINITY){this.project=E,this.concurrent=h}call(E,h){return h.subscribe(new b(E,this.project,this.concurrent))}}class b extends f.L{constructor(E,h,k=Number.POSITIVE_INFINITY){super(E),this.project=h,this.concurrent=k,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(E){this.active0?this._next(h.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},74327:(Ke,be,d)=>{"use strict";d.d(be,{x:()=>f});var e=d(43489);function f(){return function(A){return A.lift(new g(A))}}class g{constructor(A){this.connectable=A}call(A,s){const{connectable:b}=this;b._refCount++;const O=new T(A,b),E=s.subscribe(O);return O.closed||(O.connection=b.connect()),E}}class T extends e.L{constructor(A,s){super(A),this.connectable=s}_unsubscribe(){const{connectable:A}=this;if(!A)return void(this.connection=null);this.connectable=null;const s=A._refCount;if(s<=0)return void(this.connection=null);if(A._refCount=s-1,s>1)return void(this.connection=null);const{connection:b}=this,O=A._connection;this.connection=null,O&&(!b||O===b)&&O.unsubscribe()}}},12474:(Ke,be,d)=>{"use strict";d.d(be,{B:()=>s});var e=d(71762);class g{constructor(O,E){this.subjectFactory=O,this.selector=E}call(O,E){const{selector:h}=this,k=this.subjectFactory(),L=h(k).subscribe(O);return L.add(E.subscribe(k)),L}}var T=d(74327),m=d(8929);function A(){return new m.xQ}function s(){return b=>(0,T.x)()(function f(b,O){return function(h){let k;if(k="function"==typeof b?b:function(){return b},"function"==typeof O)return h.lift(new g(k,O));const L=Object.create(h,e.N);return L.source=h,L.subjectFactory=k,L}}(A)(b))}},5154:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>f});var e=d(96831);function f(T,m,A){let s;return s=T&&"object"==typeof T?T:{bufferSize:T,windowTime:m,refCount:!1,scheduler:A},b=>b.lift(function g({bufferSize:T=Number.POSITIVE_INFINITY,windowTime:m=Number.POSITIVE_INFINITY,refCount:A,scheduler:s}){let b,E,O=0,h=!1,k=!1;return function(V){O++,(!b||h)&&(h=!1,b=new e.t(T,m,s),E=V.subscribe({next(ue){b.next(ue)},error(ue){h=!0,b.error(ue)},complete(){k=!0,E=void 0,b.complete()}}));const $=b.subscribe(this);this.add(()=>{O--,$.unsubscribe(),E&&!k&&A&&0===O&&(E.unsubscribe(),E=void 0,b=void 0)})}}(s))}},31307:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>f});var e=d(43489);function f(m){return A=>A.lift(new g(m))}class g{constructor(A){this.total=A}call(A,s){return s.subscribe(new T(A,this.total))}}class T extends e.L{constructor(A,s){super(A),this.total=s,this.count=0}_next(A){++this.count>this.total&&this.destination.next(A)}}},1059:(Ke,be,d)=>{"use strict";d.d(be,{O:()=>g});var e=d(61221),f=d(72866);function g(...T){const m=T[T.length-1];return(0,f.K)(m)?(T.pop(),A=>(0,e.z)(T,A,m)):A=>(0,e.z)(T,A)}},87545:(Ke,be,d)=>{"use strict";d.d(be,{w:()=>A});var e=d(826),f=d(51869),g=d(69054),T=d(24850),m=d(5254);function A(O,E){return"function"==typeof E?h=>h.pipe(A((k,L)=>(0,m.D)(O(k,L)).pipe((0,T.U)((V,$)=>E(k,V,L,$))))):h=>h.lift(new s(O))}class s{constructor(E){this.project=E}call(E,h){return h.subscribe(new b(E,this.project))}}class b extends e.L{constructor(E,h){super(E),this.project=h,this.index=0}_next(E){let h;const k=this.index++;try{h=this.project(E,k)}catch(L){return void this.destination.error(L)}this._innerSub(h,E,k)}_innerSub(E,h,k){const L=this.innerSubscription;L&&L.unsubscribe();const V=new f.d(this,h,k),$=this.destination;$.add(V),this.innerSubscription=(0,g.D)(this,E,void 0,void 0,V),this.innerSubscription!==V&&$.add(this.innerSubscription)}_complete(){const{innerSubscription:E}=this;(!E||E.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(E){this.destination.remove(E),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(E,h,k,L,V){this.destination.next(h)}}},72986:(Ke,be,d)=>{"use strict";d.d(be,{q:()=>T});var e=d(43489),f=d(94231),g=d(68896);function T(s){return b=>0===s?(0,g.c)():b.lift(new m(s))}class m{constructor(b){if(this.total=b,this.total<0)throw new f.W}call(b,O){return O.subscribe(new A(b,this.total))}}class A extends e.L{constructor(b,O){super(b),this.total=O,this.count=0}_next(b){const O=this.total,E=++this.count;E<=O&&(this.destination.next(b),E===O&&(this.destination.complete(),this.unsubscribe()))}}},7625:(Ke,be,d)=>{"use strict";d.d(be,{R:()=>g});var e=d(826),f=d(69054);function g(A){return s=>s.lift(new T(A))}class T{constructor(s){this.notifier=s}call(s,b){const O=new m(s),E=(0,f.D)(O,this.notifier);return E&&!O.seenValue?(O.add(E),b.subscribe(O)):O}}class m extends e.L{constructor(s){super(s),this.seenValue=!1}notifyNext(s,b,O,E,h){this.seenValue=!0,this.complete()}notifyComplete(){}}},22868:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>T});var e=d(43489);function f(){}var g=d(67043);function T(s,b,O){return function(h){return h.lift(new m(s,b,O))}}class m{constructor(b,O,E){this.nextOrObserver=b,this.error=O,this.complete=E}call(b,O){return O.subscribe(new A(b,this.nextOrObserver,this.error,this.complete))}}class A extends e.L{constructor(b,O,E,h){super(b),this._tapNext=f,this._tapError=f,this._tapComplete=f,this._tapError=E||f,this._tapComplete=h||f,(0,g.m)(O)?(this._context=this,this._tapNext=O):O&&(this._context=O,this._tapNext=O.next||f,this._tapError=O.error||f,this._tapComplete=O.complete||f)}_next(b){try{this._tapNext.call(this._context,b)}catch(O){return void this.destination.error(O)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(O){return void this.destination.error(O)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},34907:(Ke,be,d)=>{"use strict";d.d(be,{T:()=>g});var e=d(84450),f=d(43489);function g(s=A){return b=>b.lift(new T(s))}class T{constructor(b){this.errorFactory=b}call(b,O){return O.subscribe(new m(b,this.errorFactory))}}class m extends f.L{constructor(b,O){super(b),this.errorFactory=O,this.hasValue=!1}_next(b){this.hasValue=!0,this.destination.next(b)}_complete(){if(this.hasValue)return this.destination.complete();{let b;try{b=this.errorFactory()}catch(O){b=O}this.destination.error(b)}}}function A(){return new e.K}},46227:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>h});var e=d(20353);const g=(()=>{function k(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return k.prototype=Object.create(Error.prototype),k})();var T=d(82697),m=d(826),A=d(69054);class b{constructor(L,V,$,ue){this.waitFor=L,this.absoluteTimeout=V,this.withObservable=$,this.scheduler=ue}call(L,V){return V.subscribe(new O(L,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class O extends m.L{constructor(L,V,$,ue,ce){super(L),this.absoluteTimeout=V,this.waitFor=$,this.withObservable=ue,this.scheduler=ce,this.action=null,this.scheduleTimeout()}static dispatchTimeout(L){const{withObservable:V}=L;L._unsubscribeAndRecycle(),L.add((0,A.D)(L,V))}scheduleTimeout(){const{action:L}=this;L?this.action=L.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(O.dispatchTimeout,this.waitFor,this))}_next(L){this.absoluteTimeout||this.scheduleTimeout(),super._next(L)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var E=d(61737);function h(k,L=e.P){return function s(k,L,V=e.P){return $=>{let ue=(0,T.J)(k),ce=ue?+k-V.now():Math.abs(k);return $.lift(new b(ce,ue,L,V))}}(k,(0,E._)(new g),L)}},66454:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>g});var e=d(32916),f=d(42654);function g(T,m){return new e.y(A=>{const s=new f.w;let b=0;return s.add(m.schedule(function(){b!==T.length?(A.next(T[b++]),A.closed||s.add(this.schedule())):A.complete()})),s})}},56686:(Ke,be,d)=>{"use strict";d.d(be,{o:()=>g});var e=d(42654);class f extends e.w{constructor(m,A){super()}schedule(m,A=0){return this}}class g extends f{constructor(m,A){super(m,A),this.scheduler=m,this.work=A,this.pending=!1}schedule(m,A=0){if(this.closed)return this;this.state=m;const s=this.id,b=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(b,s,A)),this.pending=!0,this.delay=A,this.id=this.id||this.requestAsyncId(b,this.id,A),this}requestAsyncId(m,A,s=0){return setInterval(m.flush.bind(m,this),s)}recycleAsyncId(m,A,s=0){if(null!==s&&this.delay===s&&!1===this.pending)return A;clearInterval(A)}execute(m,A){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(m,A);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,A){let b,s=!1;try{this.work(m)}catch(O){s=!0,b=!!O&&O||new Error(O)}if(s)return this.unsubscribe(),b}_unsubscribe(){const m=this.id,A=this.scheduler,s=A.actions,b=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&s.splice(b,1),null!=m&&(this.id=this.recycleAsyncId(A,m,null)),this.delay=null}}},32268:(Ke,be,d)=>{"use strict";d.d(be,{v:()=>f});let e=(()=>{class g{constructor(m,A=g.now){this.SchedulerAction=m,this.now=A}schedule(m,A=0,s){return new this.SchedulerAction(this,m).schedule(s,A)}}return g.now=()=>Date.now(),g})();class f extends e{constructor(T,m=e.now){super(T,()=>f.delegate&&f.delegate!==this?f.delegate.now():m()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(T,m=0,A){return f.delegate&&f.delegate!==this?f.delegate.schedule(T,m,A):super.schedule(T,m,A)}flush(T){const{actions:m}=this;if(this.active)return void m.push(T);let A;this.active=!0;do{if(A=T.execute(T.state,T.delay))break}while(T=m.shift());if(this.active=!1,A){for(;T=m.shift();)T.unsubscribe();throw A}}}},90352:(Ke,be,d)=>{"use strict";d.d(be,{r:()=>m});var e=d(56686),g=d(32268);const m=new class T extends g.v{flush(s){this.active=!0,this.scheduled=void 0;const{actions:b}=this;let O,E=-1,h=b.length;s=s||b.shift();do{if(O=s.execute(s.state,s.delay))break}while(++E0?super.requestAsyncId(s,b,O):(s.actions.push(this),s.scheduled||(s.scheduled=requestAnimationFrame(()=>s.flush(null))))}recycleAsyncId(s,b,O=0){if(null!==O&&O>0||null===O&&this.delay>0)return super.recycleAsyncId(s,b,O);0===s.actions.length&&(cancelAnimationFrame(b),s.scheduled=void 0)}})},8139:(Ke,be,d)=>{"use strict";d.d(be,{e:()=>h});let e=1;const f=Promise.resolve(),g={};function T(k){return k in g&&(delete g[k],!0)}const m={setImmediate(k){const L=e++;return g[L]=!0,f.then(()=>T(L)&&k()),L},clearImmediate(k){T(k)}};var s=d(56686),O=d(32268);const h=new class E extends O.v{flush(L){this.active=!0,this.scheduled=void 0;const{actions:V}=this;let $,ue=-1,ce=V.length;L=L||V.shift();do{if($=L.execute(L.state,L.delay))break}while(++ue0?super.requestAsyncId(L,V,$):(L.actions.push(this),L.scheduled||(L.scheduled=m.setImmediate(L.flush.bind(L,null))))}recycleAsyncId(L,V,$=0){if(null!==$&&$>0||null===$&&this.delay>0)return super.recycleAsyncId(L,V,$);0===L.actions.length&&(m.clearImmediate(V),L.scheduled=void 0)}})},20353:(Ke,be,d)=>{"use strict";d.d(be,{P:()=>g});var e=d(56686);const g=new(d(32268).v)(e.o)},5430:(Ke,be,d)=>{"use strict";d.d(be,{hZ:()=>f});const f=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(Ke,be,d)=>{"use strict";d.d(be,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>e});const e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(Ke,be,d)=>{"use strict";d.d(be,{W:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return g.prototype=Object.create(Error.prototype),g})()},84450:(Ke,be,d)=>{"use strict";d.d(be,{K:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})()},95279:(Ke,be,d)=>{"use strict";d.d(be,{N:()=>f});const f=(()=>{function g(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return g.prototype=Object.create(Error.prototype),g})()},22782:(Ke,be,d)=>{"use strict";function e(f){setTimeout(()=>{throw f},0)}d.d(be,{z:()=>e})},35379:(Ke,be,d)=>{"use strict";function e(f){return f}d.d(be,{y:()=>e})},66688:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>e});const e=Array.isArray||(f=>f&&"number"==typeof f.length)},58515:(Ke,be,d)=>{"use strict";d.d(be,{z:()=>e});const e=f=>f&&"number"==typeof f.length&&"function"!=typeof f},82697:(Ke,be,d)=>{"use strict";function e(f){return f instanceof Date&&!isNaN(+f)}d.d(be,{J:()=>e})},67043:(Ke,be,d)=>{"use strict";function e(f){return"function"==typeof f}d.d(be,{m:()=>e})},84241:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>f});var e=d(66688);function f(g){return!(0,e.k)(g)&&g-parseFloat(g)+1>=0}},57830:(Ke,be,d)=>{"use strict";function e(f){return null!==f&&"object"==typeof f}d.d(be,{K:()=>e})},54715:(Ke,be,d)=>{"use strict";d.d(be,{b:()=>f});var e=d(32916);function f(g){return!!g&&(g instanceof e.y||"function"==typeof g.lift&&"function"==typeof g.subscribe)}},98955:(Ke,be,d)=>{"use strict";function e(f){return!!f&&"function"!=typeof f.subscribe&&"function"==typeof f.then}d.d(be,{t:()=>e})},72866:(Ke,be,d)=>{"use strict";function e(f){return f&&"function"==typeof f.schedule}d.d(be,{K:()=>e})},59249:(Ke,be,d)=>{"use strict";d.d(be,{s:()=>h});var e=d(13650),f=d(22782),T=d(5430),A=d(93821),b=d(58515),O=d(98955),E=d(57830);const h=k=>{if(k&&"function"==typeof k[A.L])return(k=>L=>{const V=k[A.L]();if("function"!=typeof V.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return V.subscribe(L)})(k);if((0,b.z)(k))return(0,e.V)(k);if((0,O.t)(k))return(k=>L=>(k.then(V=>{L.closed||(L.next(V),L.complete())},V=>L.error(V)).then(null,f.z),L))(k);if(k&&"function"==typeof k[T.hZ])return(k=>L=>{const V=k[T.hZ]();for(;;){const $=V.next();if($.done){L.complete();break}if(L.next($.value),L.closed)break}return"function"==typeof V.return&&L.add(()=>{V.return&&V.return()}),L})(k);{const V=`You provided ${(0,E.K)(k)?"an invalid object":`'${k}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(V)}}},13650:(Ke,be,d)=>{"use strict";d.d(be,{V:()=>e});const e=f=>g=>{for(let T=0,m=f.length;T{"use strict";d.d(be,{D:()=>T});var e=d(51869),f=d(59249),g=d(32916);function T(m,A,s,b,O=new e.d(m,s,b)){if(!O.closed)return A instanceof g.y?A.subscribe(O):(0,f.s)(A)(O)}},70655:(Ke,be,d)=>{"use strict";function m(ge,Ne,Fe,ne){var me,Me=arguments.length,ve=Me<3?Ne:null===ne?ne=Object.getOwnPropertyDescriptor(Ne,Fe):ne;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ve=Reflect.decorate(ge,Ne,Fe,ne);else for(var Te=ge.length-1;Te>=0;Te--)(me=ge[Te])&&(ve=(Me<3?me(ve):Me>3?me(Ne,Fe,ve):me(Ne,Fe))||ve);return Me>3&&ve&&Object.defineProperty(Ne,Fe,ve),ve}function b(ge,Ne,Fe,ne){return new(Fe||(Fe=Promise))(function(ve,me){function Te(Oe){try{R(ne.next(Oe))}catch(Ie){me(Ie)}}function ee(Oe){try{R(ne.throw(Oe))}catch(Ie){me(Ie)}}function R(Oe){Oe.done?ve(Oe.value):function Me(ve){return ve instanceof Fe?ve:new Fe(function(me){me(ve)})}(Oe.value).then(Te,ee)}R((ne=ne.apply(ge,Ne||[])).next())})}d.d(be,{gn:()=>m,mG:()=>b})},41777:(Ke,be,d)=>{"use strict";d.d(be,{l3:()=>g,_j:()=>e,LC:()=>f,ZN:()=>Le,jt:()=>m,pV:()=>L,ru:()=>A,F4:()=>E,IO:()=>$,vP:()=>s,SB:()=>O,oB:()=>b,eR:()=>h,X$:()=>T,ZE:()=>de,k1:()=>ke});class e{}class f{}const g="*";function T(ae,j){return{type:7,name:ae,definitions:j,options:{}}}function m(ae,j=null){return{type:4,styles:j,timings:ae}}function A(ae,j=null){return{type:3,steps:ae,options:j}}function s(ae,j=null){return{type:2,steps:ae,options:j}}function b(ae){return{type:6,styles:ae,offset:null}}function O(ae,j,H){return{type:0,name:ae,styles:j,options:H}}function E(ae){return{type:5,steps:ae}}function h(ae,j,H=null){return{type:1,expr:ae,animation:j,options:H}}function L(ae=null){return{type:9,options:ae}}function $(ae,j,H=null){return{type:11,selector:ae,animation:j,options:H}}function ce(ae){Promise.resolve(null).then(ae)}class Le{constructor(j=0,H=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=j+H}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}onStart(j){this._onStartFns.push(j)}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(j=>j()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(j){this._position=this.totalTime?j*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(j){const H="start"==j?this._onStartFns:this._onDoneFns;H.forEach(Q=>Q()),H.length=0}}class de{constructor(j){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=j;let H=0,Q=0,te=0;const se=this.players.length;0==se?ce(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++H==se&&this._onFinish()}),ge.onDestroy(()=>{++Q==se&&this._onDestroy()}),ge.onStart(()=>{++te==se&&this._onStart()})}),this.totalTime=this.players.reduce((ge,Ne)=>Math.max(ge,Ne.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}init(){this.players.forEach(j=>j.init())}onStart(j){this._onStartFns.push(j)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(j=>j()),this._onStartFns=[])}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(j=>j.play())}pause(){this.players.forEach(j=>j.pause())}restart(){this.players.forEach(j=>j.restart())}finish(){this._onFinish(),this.players.forEach(j=>j.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(j=>j.destroy()),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this.players.forEach(j=>j.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(j){const H=j*this.totalTime;this.players.forEach(Q=>{const te=Q.totalTime?Math.min(1,H/Q.totalTime):1;Q.setPosition(te)})}getPosition(){const j=this.players.reduce((H,Q)=>null===H||Q.totalTime>H.totalTime?Q:H,null);return null!=j?j.getPosition():0}beforeDestroy(){this.players.forEach(j=>{j.beforeDestroy&&j.beforeDestroy()})}triggerCallback(j){const H="start"==j?this._onStartFns:this._onDoneFns;H.forEach(Q=>Q()),H.length=0}}const ke="!"},15664:(Ke,be,d)=>{"use strict";d.d(be,{rt:()=>Rt,s1:()=>Me,$s:()=>ge,Qr:()=>Nt,kH:()=>Ht,mK:()=>S,Em:()=>ve,tE:()=>mt,qV:()=>D,qm:()=>ht,ic:()=>Te,Kd:()=>pt,X6:()=>o,yG:()=>t});var e=d(69808),f=d(5e3),g=d(70925),T=d(8929),m=d(42654),A=d(591),s=d(21086),b=d(91159),O=d(22868),E=d(80013),h=d(92198),k=d(24850),L=d(72986),V=d(31307),$=d(75778),ue=d(7625),ce=d(63191),Le=d(17144);function j(qe,Ye){return(qe.getAttribute(Ye)||"").match(/\S+/g)||[]}const Q="cdk-describedby-message",te="cdk-describedby-host";let se=0,ge=(()=>{class qe{constructor(oe,Z){this._platform=Z,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+se++,this._document=oe}describe(oe,Z,G){if(!this._canBeDescribed(oe,Z))return;const X=Ne(Z,G);"string"!=typeof Z?(Fe(Z),this._messageRegistry.set(X,{messageElement:Z,referenceCount:0})):this._messageRegistry.has(X)||this._createMessageElement(Z,G),this._isElementDescribedByMessage(oe,X)||this._addMessageReference(oe,X)}removeDescription(oe,Z,G){var X;if(!Z||!this._isElementNode(oe))return;const _e=Ne(Z,G);if(this._isElementDescribedByMessage(oe,_e)&&this._removeMessageReference(oe,_e),"string"==typeof Z){const Ue=this._messageRegistry.get(_e);Ue&&0===Ue.referenceCount&&this._deleteMessageElement(_e)}0===(null===(X=this._messagesContainer)||void 0===X?void 0:X.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var oe;const Z=this._document.querySelectorAll(`[${te}="${this._id}"]`);for(let G=0;G0!=G.indexOf(Q));oe.setAttribute("aria-describedby",Z.join(" "))}_addMessageReference(oe,Z){const G=this._messageRegistry.get(Z);(function ke(qe,Ye,oe){const Z=j(qe,Ye);Z.some(G=>G.trim()==oe.trim())||(Z.push(oe.trim()),qe.setAttribute(Ye,Z.join(" ")))})(oe,"aria-describedby",G.messageElement.id),oe.setAttribute(te,this._id),G.referenceCount++}_removeMessageReference(oe,Z){const G=this._messageRegistry.get(Z);G.referenceCount--,function ae(qe,Ye,oe){const G=j(qe,Ye).filter(X=>X!=oe.trim());G.length?qe.setAttribute(Ye,G.join(" ")):qe.removeAttribute(Ye)}(oe,"aria-describedby",G.messageElement.id),oe.removeAttribute(te)}_isElementDescribedByMessage(oe,Z){const G=j(oe,"aria-describedby"),X=this._messageRegistry.get(Z),_e=X&&X.messageElement.id;return!!_e&&-1!=G.indexOf(_e)}_canBeDescribed(oe,Z){if(!this._isElementNode(oe))return!1;if(Z&&"object"==typeof Z)return!0;const G=null==Z?"":`${Z}`.trim(),X=oe.getAttribute("aria-label");return!(!G||X&&X.trim()===G)}_isElementNode(oe){return oe.nodeType===this._document.ELEMENT_NODE}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(e.K0),f.LFG(g.t4))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})();function Ne(qe,Ye){return"string"==typeof qe?`${Ye||""}/${qe}`:qe}function Fe(qe){qe.id||(qe.id=`${Q}-${se++}`)}class ne{constructor(Ye){this._items=Ye,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.xQ,this._typeaheadSubscription=m.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=oe=>oe.disabled,this._pressedLetters=[],this.tabOut=new T.xQ,this.change=new T.xQ,Ye instanceof f.n_E&&Ye.changes.subscribe(oe=>{if(this._activeItem){const G=oe.toArray().indexOf(this._activeItem);G>-1&&G!==this._activeItemIndex&&(this._activeItemIndex=G)}})}skipPredicate(Ye){return this._skipPredicateFn=Ye,this}withWrap(Ye=!0){return this._wrap=Ye,this}withVerticalOrientation(Ye=!0){return this._vertical=Ye,this}withHorizontalOrientation(Ye){return this._horizontal=Ye,this}withAllowedModifierKeys(Ye){return this._allowedModifierKeys=Ye,this}withTypeAhead(Ye=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,O.b)(oe=>this._pressedLetters.push(oe)),(0,E.b)(Ye),(0,h.h)(()=>this._pressedLetters.length>0),(0,k.U)(()=>this._pressedLetters.join(""))).subscribe(oe=>{const Z=this._getItemsArray();for(let G=1;G!Ye[X]||this._allowedModifierKeys.indexOf(X)>-1);switch(oe){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&G){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&G){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&G){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&G){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&G){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&G){this.setLastItemActive();break}return;default:return void((G||(0,b.Vb)(Ye,"shiftKey"))&&(Ye.key&&1===Ye.key.length?this._letterKeyStream.next(Ye.key.toLocaleUpperCase()):(oe>=b.A&&oe<=b.Z||oe>=b.xE&&oe<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(oe))))}this._pressedLetters=[],Ye.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Ye){const oe=this._getItemsArray(),Z="number"==typeof Ye?Ye:oe.indexOf(Ye),G=oe[Z];this._activeItem=null==G?null:G,this._activeItemIndex=Z}_setActiveItemByDelta(Ye){this._wrap?this._setActiveInWrapMode(Ye):this._setActiveInDefaultMode(Ye)}_setActiveInWrapMode(Ye){const oe=this._getItemsArray();for(let Z=1;Z<=oe.length;Z++){const G=(this._activeItemIndex+Ye*Z+oe.length)%oe.length;if(!this._skipPredicateFn(oe[G]))return void this.setActiveItem(G)}}_setActiveInDefaultMode(Ye){this._setActiveItemByIndex(this._activeItemIndex+Ye,Ye)}_setActiveItemByIndex(Ye,oe){const Z=this._getItemsArray();if(Z[Ye]){for(;this._skipPredicateFn(Z[Ye]);)if(!Z[Ye+=oe])return;this.setActiveItem(Ye)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class Me extends ne{setActiveItem(Ye){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ye),this.activeItem&&this.activeItem.setActiveStyles()}}class ve extends ne{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ye){return this._origin=Ye,this}setActiveItem(Ye){super.setActiveItem(Ye),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class qe{constructor(oe){this._platform=oe}isDisabled(oe){return oe.hasAttribute("disabled")}isVisible(oe){return function R(qe){return!!(qe.offsetWidth||qe.offsetHeight||"function"==typeof qe.getClientRects&&qe.getClientRects().length)}(oe)&&"visible"===getComputedStyle(oe).visibility}isTabbable(oe){if(!this._platform.isBrowser)return!1;const Z=function ee(qe){try{return qe.frameElement}catch(Ye){return null}}(function N(qe){return qe.ownerDocument&&qe.ownerDocument.defaultView||window}(oe));if(Z&&(-1===Xe(Z)||!this.isVisible(Z)))return!1;let G=oe.nodeName.toLowerCase(),X=Xe(oe);return oe.hasAttribute("contenteditable")?-1!==X:!("iframe"===G||"object"===G||this._platform.WEBKIT&&this._platform.IOS&&!function tt(qe){let Ye=qe.nodeName.toLowerCase(),oe="input"===Ye&&qe.type;return"text"===oe||"password"===oe||"select"===Ye||"textarea"===Ye}(oe))&&("audio"===G?!!oe.hasAttribute("controls")&&-1!==X:"video"===G?-1!==X&&(null!==X||this._platform.FIREFOX||oe.hasAttribute("controls")):oe.tabIndex>=0)}isFocusable(oe,Z){return function rt(qe){return!function Ie(qe){return function fe(qe){return"input"==qe.nodeName.toLowerCase()}(qe)&&"hidden"==qe.type}(qe)&&(function Oe(qe){let Ye=qe.nodeName.toLowerCase();return"input"===Ye||"select"===Ye||"button"===Ye||"textarea"===Ye}(qe)||function He(qe){return function Ce(qe){return"a"==qe.nodeName.toLowerCase()}(qe)&&qe.hasAttribute("href")}(qe)||qe.hasAttribute("contenteditable")||Ve(qe))}(oe)&&!this.isDisabled(oe)&&((null==Z?void 0:Z.ignoreVisibility)||this.isVisible(oe))}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(g.t4))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})();function Ve(qe){if(!qe.hasAttribute("tabindex")||void 0===qe.tabIndex)return!1;let Ye=qe.getAttribute("tabindex");return!(!Ye||isNaN(parseInt(Ye,10)))}function Xe(qe){if(!Ve(qe))return null;const Ye=parseInt(qe.getAttribute("tabindex")||"",10);return isNaN(Ye)?-1:Ye}class he{constructor(Ye,oe,Z,G,X=!1){this._element=Ye,this._checker=oe,this._ngZone=Z,this._document=G,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,X||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Ye){this._enabled=Ye,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ye,this._startAnchor),this._toggleAnchorTabIndex(Ye,this._endAnchor))}destroy(){const Ye=this._startAnchor,oe=this._endAnchor;Ye&&(Ye.removeEventListener("focus",this.startAnchorListener),Ye.remove()),oe&&(oe.removeEventListener("focus",this.endAnchorListener),oe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Ye){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusInitialElement(Ye)))})}focusFirstTabbableElementWhenReady(Ye){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusFirstTabbableElement(Ye)))})}focusLastTabbableElementWhenReady(Ye){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusLastTabbableElement(Ye)))})}_getRegionBoundary(Ye){const oe=this._element.querySelectorAll(`[cdk-focus-region-${Ye}], [cdkFocusRegion${Ye}], [cdk-focus-${Ye}]`);return"start"==Ye?oe.length?oe[0]:this._getFirstTabbableElement(this._element):oe.length?oe[oe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ye){const oe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(oe){if(!this._checker.isFocusable(oe)){const Z=this._getFirstTabbableElement(oe);return null==Z||Z.focus(Ye),!!Z}return oe.focus(Ye),!0}return this.focusFirstTabbableElement(Ye)}focusFirstTabbableElement(Ye){const oe=this._getRegionBoundary("start");return oe&&oe.focus(Ye),!!oe}focusLastTabbableElement(Ye){const oe=this._getRegionBoundary("end");return oe&&oe.focus(Ye),!!oe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ye){if(this._checker.isFocusable(Ye)&&this._checker.isTabbable(Ye))return Ye;const oe=Ye.children;for(let Z=0;Z=0;Z--){const G=oe[Z].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(oe[Z]):null;if(G)return G}return null}_createAnchor(){const Ye=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ye),Ye.classList.add("cdk-visually-hidden"),Ye.classList.add("cdk-focus-trap-anchor"),Ye.setAttribute("aria-hidden","true"),Ye}_toggleAnchorTabIndex(Ye,oe){Ye?oe.setAttribute("tabindex","0"):oe.removeAttribute("tabindex")}toggleAnchors(Ye){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ye,this._startAnchor),this._toggleAnchorTabIndex(Ye,this._endAnchor))}_executeOnStable(Ye){this._ngZone.isStable?Ye():this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(Ye)}}let D=(()=>{class qe{constructor(oe,Z,G){this._checker=oe,this._ngZone=Z,this._document=G}create(oe,Z=!1){return new he(oe,this._checker,this._ngZone,this._document,Z)}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(Te),f.LFG(f.R0b),f.LFG(e.K0))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),S=(()=>{class qe{constructor(oe,Z,G){this._elementRef=oe,this._focusTrapFactory=Z,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(oe){this.focusTrap.enabled=(0,ce.Ig)(oe)}get autoCapture(){return this._autoCapture}set autoCapture(oe){this._autoCapture=(0,ce.Ig)(oe)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(oe){const Z=oe.autoCapture;Z&&!Z.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.Y36(f.SBq),f.Y36(D),f.Y36(e.K0))},qe.\u0275dir=f.lG2({type:qe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),qe})();function o(qe){return 0===qe.buttons||0===qe.offsetX&&0===qe.offsetY}function t(qe){const Ye=qe.touches&&qe.touches[0]||qe.changedTouches&&qe.changedTouches[0];return!(!Ye||-1!==Ye.identifier||null!=Ye.radiusX&&1!==Ye.radiusX||null!=Ye.radiusY&&1!==Ye.radiusY)}const n=new f.OlP("cdk-input-modality-detector-options"),c={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},y=(0,g.i$)({passive:!0,capture:!0});let M=(()=>{class qe{constructor(oe,Z,G,X){this._platform=oe,this._mostRecentTarget=null,this._modality=new A.X(null),this._lastTouchMs=0,this._onKeydown=_e=>{var Ue,wt;(null===(wt=null===(Ue=this._options)||void 0===Ue?void 0:Ue.ignoreKeys)||void 0===wt?void 0:wt.some(Ut=>Ut===_e.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(_e))},this._onMousedown=_e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(o(_e)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(_e))},this._onTouchstart=_e=>{t(_e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(_e))},this._options=Object.assign(Object.assign({},c),X),this.modalityDetected=this._modality.pipe((0,V.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,$.x)()),oe.isBrowser&&Z.runOutsideAngular(()=>{G.addEventListener("keydown",this._onKeydown,y),G.addEventListener("mousedown",this._onMousedown,y),G.addEventListener("touchstart",this._onTouchstart,y)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,y),document.removeEventListener("mousedown",this._onMousedown,y),document.removeEventListener("touchstart",this._onTouchstart,y))}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(g.t4),f.LFG(f.R0b),f.LFG(e.K0),f.LFG(n,8))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})();const re=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function et(){return null}}),yt=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let pt=(()=>{class qe{constructor(oe,Z,G,X){this._ngZone=Z,this._defaultOptions=X,this._document=G,this._liveElement=oe||this._createLiveElement()}announce(oe,...Z){const G=this._defaultOptions;let X,_e;return 1===Z.length&&"number"==typeof Z[0]?_e=Z[0]:[X,_e]=Z,this.clear(),clearTimeout(this._previousTimeout),X||(X=G&&G.politeness?G.politeness:"polite"),null==_e&&G&&(_e=G.duration),this._liveElement.setAttribute("aria-live",X),this._ngZone.runOutsideAngular(()=>new Promise(Ue=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=oe,Ue(),"number"==typeof _e&&(this._previousTimeout=setTimeout(()=>this.clear(),_e))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var oe;clearTimeout(this._previousTimeout),null===(oe=this._liveElement)||void 0===oe||oe.remove(),this._liveElement=null}_createLiveElement(){const oe="cdk-live-announcer-element",Z=this._document.getElementsByClassName(oe),G=this._document.createElement("div");for(let X=0;X{class qe{constructor(oe,Z,G,X){this._elementRef=oe,this._liveAnnouncer=Z,this._contentObserver=G,this._ngZone=X,this._politeness="polite"}get politeness(){return this._politeness}set politeness(oe){this._politeness="off"===oe||"assertive"===oe?oe:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const Z=this._elementRef.nativeElement.textContent;Z!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(Z,this._politeness),this._previousAnnouncedText=Z)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.Y36(f.SBq),f.Y36(pt),f.Y36(Le.yq),f.Y36(f.R0b))},qe.\u0275dir=f.lG2({type:qe,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),qe})();const It=new f.OlP("cdk-focus-monitor-default-options"),Zt=(0,g.i$)({passive:!0,capture:!0});let mt=(()=>{class qe{constructor(oe,Z,G,X,_e){this._ngZone=oe,this._platform=Z,this._inputModalityDetector=G,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 T.xQ,this._rootNodeFocusAndBlurListener=Ue=>{const wt=(0,g.sA)(Ue),Ut="focus"===Ue.type?this._onFocus:this._onBlur;for(let Vt=wt;Vt;Vt=Vt.parentElement)Ut.call(this,Ue,Vt)},this._document=X,this._detectionMode=(null==_e?void 0:_e.detectionMode)||0}monitor(oe,Z=!1){const G=(0,ce.fI)(oe);if(!this._platform.isBrowser||1!==G.nodeType)return(0,s.of)(null);const X=(0,g.kV)(G)||this._getDocument(),_e=this._elementInfo.get(G);if(_e)return Z&&(_e.checkChildren=!0),_e.subject;const Ue={checkChildren:Z,subject:new T.xQ,rootNode:X};return this._elementInfo.set(G,Ue),this._registerGlobalListeners(Ue),Ue.subject}stopMonitoring(oe){const Z=(0,ce.fI)(oe),G=this._elementInfo.get(Z);G&&(G.subject.complete(),this._setClasses(Z),this._elementInfo.delete(Z),this._removeGlobalListeners(G))}focusVia(oe,Z,G){const X=(0,ce.fI)(oe);X===this._getDocument().activeElement?this._getClosestElementsInfo(X).forEach(([Ue,wt])=>this._originChanged(Ue,Z,wt)):(this._setOrigin(Z),"function"==typeof X.focus&&X.focus(G))}ngOnDestroy(){this._elementInfo.forEach((oe,Z)=>this.stopMonitoring(Z))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(oe){return 1===this._detectionMode||!!(null==oe?void 0:oe.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(oe,Z){oe.classList.toggle("cdk-focused",!!Z),oe.classList.toggle("cdk-touch-focused","touch"===Z),oe.classList.toggle("cdk-keyboard-focused","keyboard"===Z),oe.classList.toggle("cdk-mouse-focused","mouse"===Z),oe.classList.toggle("cdk-program-focused","program"===Z)}_setOrigin(oe,Z=!1){this._ngZone.runOutsideAngular(()=>{this._origin=oe,this._originFromTouchInteraction="touch"===oe&&Z,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(oe,Z){const G=this._elementInfo.get(Z),X=(0,g.sA)(oe);!G||!G.checkChildren&&Z!==X||this._originChanged(Z,this._getFocusOrigin(X),G)}_onBlur(oe,Z){const G=this._elementInfo.get(Z);!G||G.checkChildren&&oe.relatedTarget instanceof Node&&Z.contains(oe.relatedTarget)||(this._setClasses(Z),this._emitOrigin(G.subject,null))}_emitOrigin(oe,Z){this._ngZone.run(()=>oe.next(Z))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const Z=oe.rootNode,G=this._rootNodeFocusListenerCount.get(Z)||0;G||this._ngZone.runOutsideAngular(()=>{Z.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zt),Z.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zt)}),this._rootNodeFocusListenerCount.set(Z,G+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ue.R)(this._stopInputModalityDetector)).subscribe(X=>{this._setOrigin(X,!0)}))}_removeGlobalListeners(oe){const Z=oe.rootNode;if(this._rootNodeFocusListenerCount.has(Z)){const G=this._rootNodeFocusListenerCount.get(Z);G>1?this._rootNodeFocusListenerCount.set(Z,G-1):(Z.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zt),Z.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zt),this._rootNodeFocusListenerCount.delete(Z))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,Z,G){this._setClasses(oe,Z),this._emitOrigin(G.subject,Z),this._lastFocusOrigin=Z}_getClosestElementsInfo(oe){const Z=[];return this._elementInfo.forEach((G,X)=>{(X===oe||G.checkChildren&&X.contains(oe))&&Z.push([X,G])}),Z}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(f.R0b),f.LFG(g.t4),f.LFG(M),f.LFG(e.K0,8),f.LFG(It,8))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),Ht=(()=>{class qe{constructor(oe,Z){this._elementRef=oe,this._focusMonitor=Z,this.cdkFocusChange=new f.vpe}ngAfterViewInit(){const oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(oe,1===oe.nodeType&&oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Z=>this.cdkFocusChange.emit(Z))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.Y36(f.SBq),f.Y36(mt))},qe.\u0275dir=f.lG2({type:qe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),qe})();const _t="cdk-high-contrast-black-on-white",Je="cdk-high-contrast-white-on-black",Lt="cdk-high-contrast-active";let ht=(()=>{class qe{constructor(oe,Z){this._platform=oe,this._document=Z}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const oe=this._document.createElement("div");oe.style.backgroundColor="rgb(1,2,3)",oe.style.position="absolute",this._document.body.appendChild(oe);const Z=this._document.defaultView||window,G=Z&&Z.getComputedStyle?Z.getComputedStyle(oe):null,X=(G&&G.backgroundColor||"").replace(/ /g,"");switch(oe.remove(),X){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const oe=this._document.body.classList;oe.remove(Lt),oe.remove(_t),oe.remove(Je),this._hasCheckedHighContrastMode=!0;const Z=this.getHighContrastMode();1===Z?(oe.add(Lt),oe.add(_t)):2===Z&&(oe.add(Lt),oe.add(Je))}}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(g.t4),f.LFG(e.K0))},qe.\u0275prov=f.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),Rt=(()=>{class qe{constructor(oe){oe._applyBodyHighContrastModeCssClasses()}}return qe.\u0275fac=function(oe){return new(oe||qe)(f.LFG(ht))},qe.\u0275mod=f.oAB({type:qe}),qe.\u0275inj=f.cJS({imports:[[g.ud,Le.Q8]]}),qe})()},50226:(Ke,be,d)=>{"use strict";d.d(be,{vT:()=>O,Is:()=>s});var e=d(5e3),f=d(69808);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,e.f3M)(f.K0)}}),m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class E{constructor(k){if(this.value="ltr",this.change=new e.vpe,k){const V=k.documentElement?k.documentElement.dir:null;this.value=function A(E){const h=(null==E?void 0:E.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?m.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((k.body?k.body.dir:null)||V||"ltr")}}ngOnDestroy(){this.change.complete()}}return E.\u0275fac=function(k){return new(k||E)(e.LFG(g,8))},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),O=(()=>{class E{}return E.\u0275fac=function(k){return new(k||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({}),E})()},69287:(Ke,be,d)=>{"use strict";d.d(be,{i3:()=>A,TU:()=>T,Iq:()=>s});var e=d(69808),f=d(5e3);class g{constructor(O,E){this._document=E;const h=this._textarea=this._document.createElement("textarea"),k=h.style;k.position="fixed",k.top=k.opacity="0",k.left="-999em",h.setAttribute("aria-hidden","true"),h.value=O,this._document.body.appendChild(h)}copy(){const O=this._textarea;let E=!1;try{if(O){const h=this._document.activeElement;O.select(),O.setSelectionRange(0,O.value.length),E=this._document.execCommand("copy"),h&&h.focus()}}catch(h){}return E}destroy(){const O=this._textarea;O&&(O.remove(),this._textarea=void 0)}}let T=(()=>{class b{constructor(E){this._document=E}copy(E){const h=this.beginCopy(E),k=h.copy();return h.destroy(),k}beginCopy(E){return new g(E,this._document)}}return b.\u0275fac=function(E){return new(E||b)(f.LFG(e.K0))},b.\u0275prov=f.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();const m=new f.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let A=(()=>{class b{constructor(E,h,k){this._clipboard=E,this._ngZone=h,this.text="",this.attempts=1,this.copied=new f.vpe,this._pending=new Set,k&&null!=k.attempts&&(this.attempts=k.attempts)}copy(E=this.attempts){if(E>1){let h=E;const k=this._clipboard.beginCopy(this.text);this._pending.add(k);const L=()=>{const V=k.copy();V||!--h||this._destroyed?(this._currentTimeout=null,this._pending.delete(k),k.destroy(),this.copied.emit(V)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(L,1))};L()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(E=>E.destroy()),this._pending.clear(),this._destroyed=!0}}return b.\u0275fac=function(E){return new(E||b)(f.Y36(T),f.Y36(f.R0b),f.Y36(m,8))},b.\u0275dir=f.lG2({type:b,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(E,h){1&E&&f.NdJ("click",function(){return h.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),b})(),s=(()=>{class b{}return b.\u0275fac=function(E){return new(E||b)},b.\u0275mod=f.oAB({type:b}),b.\u0275inj=f.cJS({}),b})()},63191:(Ke,be,d)=>{"use strict";d.d(be,{t6:()=>T,Eq:()=>m,Ig:()=>f,HM:()=>A,fI:()=>s,su:()=>g,du:()=>b});var e=d(5e3);function f(O){return null!=O&&"false"!=`${O}`}function g(O,E=0){return T(O)?Number(O):E}function T(O){return!isNaN(parseFloat(O))&&!isNaN(Number(O))}function m(O){return Array.isArray(O)?O:[O]}function A(O){return null==O?"":"string"==typeof O?O:`${O}px`}function s(O){return O instanceof e.SBq?O.nativeElement:O}function b(O,E=/\s+/){const h=[];if(null!=O){const k=Array.isArray(O)?O:`${O}`.split(E);for(const L of k){const V=`${L}`.trim();V&&h.push(V)}}return h}},20449:(Ke,be,d)=>{"use strict";d.d(be,{P3:()=>s,o2:()=>m,Ov:()=>E,A8:()=>k,yy:()=>b,eX:()=>O,k:()=>L,Z9:()=>A});var e=d(54715),f=d(21086),g=d(8929),T=d(5e3);class m{}function A(V){return V&&"function"==typeof V.connect}class s extends m{constructor($){super(),this._data=$}connect(){return(0,e.b)(this._data)?this._data:(0,f.of)(this._data)}disconnect(){}}class b{applyChanges($,ue,ce,Le,de){$.forEachOperation((ke,ae,j)=>{let H,Q;if(null==ke.previousIndex){const te=ce(ke,ae,j);H=ue.createEmbeddedView(te.templateRef,te.context,te.index),Q=1}else null==j?(ue.remove(ae),Q=3):(H=ue.get(ae),ue.move(H,j),Q=2);de&&de({context:null==H?void 0:H.context,operation:Q,record:ke})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges($,ue,ce,Le,de){$.forEachOperation((ke,ae,j)=>{let H,Q;null==ke.previousIndex?(H=this._insertView(()=>ce(ke,ae,j),j,ue,Le(ke)),Q=H?1:0):null==j?(this._detachAndCacheView(ae,ue),Q=3):(H=this._moveView(ae,j,ue,Le(ke)),Q=2),de&&de({context:null==H?void 0:H.context,operation:Q,record:ke})})}detach(){for(const $ of this._viewCache)$.destroy();this._viewCache=[]}_insertView($,ue,ce,Le){const de=this._insertViewFromCache(ue,ce);if(de)return void(de.context.$implicit=Le);const ke=$();return ce.createEmbeddedView(ke.templateRef,ke.context,ke.index)}_detachAndCacheView($,ue){const ce=ue.detach($);this._maybeCacheView(ce,ue)}_moveView($,ue,ce,Le){const de=ce.get($);return ce.move(de,ue),de.context.$implicit=Le,de}_maybeCacheView($,ue){if(this._viewCache.lengththis._markSelected(Le)):this._markSelected(ue[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...$){this._verifyValueAssignment($),$.forEach(ue=>this._markSelected(ue)),this._emitChangeEvent()}deselect(...$){this._verifyValueAssignment($),$.forEach(ue=>this._unmarkSelected(ue)),this._emitChangeEvent()}toggle($){this.isSelected($)?this.deselect($):this.select($)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected($){return this._selection.has($)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort($){this._multiple&&this.selected&&this._selected.sort($)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected($){this.isSelected($)||(this._multiple||this._unmarkAll(),this._selection.add($),this._emitChanges&&this._selectedToEmit.push($))}_unmarkSelected($){this.isSelected($)&&(this._selection.delete($),this._emitChanges&&this._deselectedToEmit.push($))}_unmarkAll(){this.isEmpty()||this._selection.forEach($=>this._unmarkSelected($))}_verifyValueAssignment($){}}let k=(()=>{class V{constructor(){this._listeners=[]}notify(ue,ce){for(let Le of this._listeners)Le(ue,ce)}listen(ue){return this._listeners.push(ue),()=>{this._listeners=this._listeners.filter(ce=>ue!==ce)}}ngOnDestroy(){this._listeners=[]}}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275prov=T.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const L=new T.OlP("_ViewRepeater")},44409:(Ke,be,d)=>{"use strict";d.d(be,{Zt:()=>qe,Wj:()=>Zt,_t:()=>Ye,bA:()=>he});var e=d(5e3),f=d(69808),g=d(70925),T=d(63191),m=d(15664),A=d(8929),s=d(42654),b=d(61715),O=d(90352),E=d(32916),h=d(36787),k=d(7625),L=d(1059),V=d(24850),$=d(72986),ue=d(22868),ce=d(87545),Le=d(53435),de=d(50226);function ke(oe,Z,G){for(let X in Z)if(Z.hasOwnProperty(X)){const _e=Z[X];_e?oe.setProperty(X,_e,(null==G?void 0:G.has(X))?"important":""):oe.removeProperty(X)}return oe}function ae(oe,Z){const G=Z?"":"none";ke(oe.style,{"touch-action":Z?"":"none","-webkit-user-drag":Z?"":"none","-webkit-tap-highlight-color":Z?"":"transparent","user-select":G,"-ms-user-select":G,"-webkit-user-select":G,"-moz-user-select":G})}function j(oe,Z,G){ke(oe.style,{position:Z?"":"fixed",top:Z?"":"0",opacity:Z?"":"0",left:Z?"":"-999em"},G)}function H(oe,Z){return Z&&"none"!=Z?oe+" "+Z:oe}function Q(oe){const Z=oe.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(oe)*Z}function se(oe,Z){return oe.getPropertyValue(Z).split(",").map(X=>X.trim())}function ge(oe){const Z=oe.getBoundingClientRect();return{top:Z.top,right:Z.right,bottom:Z.bottom,left:Z.left,width:Z.width,height:Z.height,x:Z.x,y:Z.y}}function Ne(oe,Z,G){const{top:X,bottom:_e,left:Ue,right:wt}=oe;return G>=X&&G<=_e&&Z>=Ue&&Z<=wt}function Fe(oe,Z,G){oe.top+=Z,oe.bottom=oe.top+oe.height,oe.left+=G,oe.right=oe.left+oe.width}function ne(oe,Z,G,X){const{top:_e,right:Ue,bottom:wt,left:Ut,width:Vt,height:Dt}=oe,Et=Vt*Z,At=Dt*Z;return X>_e-At&&XUt-Et&&G{this.positions.set(G,{scrollPosition:{top:G.scrollTop,left:G.scrollLeft},clientRect:ge(G)})})}handleScroll(Z){const G=(0,g.sA)(Z),X=this.positions.get(G);if(!X)return null;const _e=X.scrollPosition;let Ue,wt;if(G===this._document){const Dt=this._viewportRuler.getViewportScrollPosition();Ue=Dt.top,wt=Dt.left}else Ue=G.scrollTop,wt=G.scrollLeft;const Ut=_e.top-Ue,Vt=_e.left-wt;return this.positions.forEach((Dt,Et)=>{Dt.clientRect&&G!==Et&&G.contains(Et)&&Fe(Dt.clientRect,Ut,Vt)}),_e.top=Ue,_e.left=wt,{top:Ut,left:Vt}}}function ve(oe){const Z=oe.cloneNode(!0),G=Z.querySelectorAll("[id]"),X=oe.nodeName.toLowerCase();Z.removeAttribute("id");for(let _e=0;_e{if(this.beforeStarted.next(),this._handles.length){const Vt=this._handles.find(Dt=>Ut.target&&(Ut.target===Dt||Dt.contains(Ut.target)));Vt&&!this._disabledHandles.has(Vt)&&!this.disabled&&this._initializeDragSequence(Vt,Ut)}else this.disabled||this._initializeDragSequence(this._rootElement,Ut)},this._pointerMove=Ut=>{const Vt=this._getPointerPositionOnPage(Ut);if(!this._hasStartedDragging){if(Math.abs(Vt.x-this._pickupPositionOnPage.x)+Math.abs(Vt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Kt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Ut),li=this._dropContainer;if(!Kt)return void this._endDragSequence(Ut);(!li||!li.isDragging()&&!li.isReceiving())&&(Ut.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Ut)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),Ut.preventDefault();const Dt=this._getConstrainedPointerPosition(Vt);if(this._hasMoved=!0,this._lastKnownPointerPosition=Vt,this._updatePointerDirectionDelta(Dt),this._dropContainer)this._updateActiveDropContainer(Dt,Vt);else{const Et=this._activeTransform;Et.x=Dt.x-this._pickupPositionOnPage.x+this._passiveTransform.x,Et.y=Dt.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(Et.x,Et.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Dt,event:Ut,distance:this._getDragDistance(Dt),delta:this._pointerDirectionDelta})})},this._pointerUp=Ut=>{this._endDragSequence(Ut)},this.withRootElement(Z).withParent(G.parentDragRef||null),this._parentPositions=new Me(X,Ue),wt.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(Z){const G=(0,T.Ig)(Z);G!==this._disabled&&(this._disabled=G,this._toggleNativeDragInteractions(),this._handles.forEach(X=>ae(X,G)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Z){this._handles=Z.map(X=>(0,T.fI)(X)),this._handles.forEach(X=>ae(X,this.disabled)),this._toggleNativeDragInteractions();const G=new Set;return this._disabledHandles.forEach(X=>{this._handles.indexOf(X)>-1&&G.add(X)}),this._disabledHandles=G,this}withPreviewTemplate(Z){return this._previewTemplate=Z,this}withPlaceholderTemplate(Z){return this._placeholderTemplate=Z,this}withRootElement(Z){const G=(0,T.fI)(Z);return G!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{G.addEventListener("mousedown",this._pointerDown,Ie),G.addEventListener("touchstart",this._pointerDown,Oe)}),this._initialTransform=void 0,this._rootElement=G),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Z){return this._boundaryElement=Z?(0,T.fI)(Z):null,this._resizeSubscription.unsubscribe(),Z&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Z){return this._parentDragRef=Z,this}dispose(){var Z,G;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(Z=this._rootElement)||void 0===Z||Z.remove()),null===(G=this._anchor)||void 0===G||G.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(Z){!this._disabledHandles.has(Z)&&this._handles.indexOf(Z)>-1&&(this._disabledHandles.add(Z),ae(Z,!0))}enableHandle(Z){this._disabledHandles.has(Z)&&(this._disabledHandles.delete(Z),ae(Z,this.disabled))}withDirection(Z){return this._direction=Z,this}_withDropContainer(Z){this._dropContainer=Z}getFreeDragPosition(){const Z=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Z.x,y:Z.y}}setFreeDragPosition(Z){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Z.x,this._passiveTransform.y=Z.y,this._dropContainer||this._applyRootElementTransform(Z.x,Z.y),this}withPreviewContainer(Z){return this._previewContainer=Z,this}_sortFromLastPointerPosition(){const Z=this._lastKnownPointerPosition;Z&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Z),Z)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var Z,G;null===(Z=this._preview)||void 0===Z||Z.remove(),null===(G=this._previewRef)||void 0===G||G.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var Z,G;null===(Z=this._placeholder)||void 0===Z||Z.remove(),null===(G=this._placeholderRef)||void 0===G||G.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(Z){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Z),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const G=this._getPointerPositionOnPage(Z);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(G),dropPoint:G})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Z){tt(Z)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const G=this._dropContainer;if(G){const X=this._rootElement,_e=X.parentNode,Ue=this._placeholder=this._createPlaceholderElement(),wt=this._anchor=this._anchor||this._document.createComment(""),Ut=this._getShadowRoot();_e.insertBefore(wt,X),this._initialTransform=X.style.transform||"",this._preview=this._createPreviewElement(),j(X,!1,fe),this._document.body.appendChild(_e.replaceChild(Ue,X)),this._getPreviewInsertionPoint(_e,Ut).appendChild(this._preview),this.started.next({source:this}),G.start(),this._initialContainer=G,this._initialIndex=G.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(G?G.getScrollableParents():[])}_initializeDragSequence(Z,G){this._parentDragRef&&G.stopPropagation();const X=this.isDragging(),_e=tt(G),Ue=!_e&&0!==G.button,wt=this._rootElement,Ut=(0,g.sA)(G),Vt=!_e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Dt=_e?(0,m.yG)(G):(0,m.X6)(G);if(Ut&&Ut.draggable&&"mousedown"===G.type&&G.preventDefault(),X||Ue||Vt||Dt)return;if(this._handles.length){const Ot=wt.style;this._rootElementTapHighlight=Ot.webkitTapHighlightColor||"",Ot.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ot=>this._updateOnScroll(Ot)),this._boundaryElement&&(this._boundaryRect=ge(this._boundaryElement));const Et=this._previewTemplate;this._pickupPositionInElement=Et&&Et.template&&!Et.matchSize?{x:0,y:0}:this._getPointerPositionInElement(Z,G);const At=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(G);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:At.x,y:At.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,G)}_cleanupDragArtifacts(Z){j(this._rootElement,!0,fe),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const G=this._dropContainer,X=G.getItemIndex(this),_e=this._getPointerPositionOnPage(Z),Ue=this._getDragDistance(_e),wt=G._isOverContainer(_e.x,_e.y);this.ended.next({source:this,distance:Ue,dropPoint:_e}),this.dropped.next({item:this,currentIndex:X,previousIndex:this._initialIndex,container:G,previousContainer:this._initialContainer,isPointerOverContainer:wt,distance:Ue,dropPoint:_e}),G.drop(this,X,this._initialIndex,this._initialContainer,wt,Ue,_e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Z,y:G},{x:X,y:_e}){let Ue=this._initialContainer._getSiblingContainerFromPosition(this,Z,G);!Ue&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Z,G)&&(Ue=this._initialContainer),Ue&&Ue!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Ue,this._dropContainer.enter(this,Z,G,Ue===this._initialContainer&&Ue.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Ue,currentIndex:Ue.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(X,_e),this._dropContainer._sortItem(this,Z,G,this._pointerDirectionDelta),this._applyPreviewTransform(Z-this._pickupPositionInElement.x,G-this._pickupPositionInElement.y))}_createPreviewElement(){const Z=this._previewTemplate,G=this.previewClass,X=Z?Z.template:null;let _e;if(X&&Z){const Ue=Z.matchSize?this._rootElement.getBoundingClientRect():null,wt=Z.viewContainer.createEmbeddedView(X,Z.context);wt.detectChanges(),_e=rt(wt,this._document),this._previewRef=wt,Z.matchSize?N(_e,Ue):_e.style.transform=Ve(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const Ue=this._rootElement;_e=ve(Ue),N(_e,Ue.getBoundingClientRect()),this._initialTransform&&(_e.style.transform=this._initialTransform)}return ke(_e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},fe),ae(_e,!1),_e.classList.add("cdk-drag-preview"),_e.setAttribute("dir",this._direction),G&&(Array.isArray(G)?G.forEach(Ue=>_e.classList.add(Ue)):_e.classList.add(G)),_e}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Z=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(Z.left,Z.top);const G=function te(oe){const Z=getComputedStyle(oe),G=se(Z,"transition-property"),X=G.find(Ut=>"transform"===Ut||"all"===Ut);if(!X)return 0;const _e=G.indexOf(X),Ue=se(Z,"transition-duration"),wt=se(Z,"transition-delay");return Q(Ue[_e])+Q(wt[_e])}(this._preview);return 0===G?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(X=>{const _e=wt=>{var Ut;(!wt||(0,g.sA)(wt)===this._preview&&"transform"===wt.propertyName)&&(null===(Ut=this._preview)||void 0===Ut||Ut.removeEventListener("transitionend",_e),X(),clearTimeout(Ue))},Ue=setTimeout(_e,1.5*G);this._preview.addEventListener("transitionend",_e)}))}_createPlaceholderElement(){const Z=this._placeholderTemplate,G=Z?Z.template:null;let X;return G?(this._placeholderRef=Z.viewContainer.createEmbeddedView(G,Z.context),this._placeholderRef.detectChanges(),X=rt(this._placeholderRef,this._document)):X=ve(this._rootElement),X.classList.add("cdk-drag-placeholder"),X}_getPointerPositionInElement(Z,G){const X=this._rootElement.getBoundingClientRect(),_e=Z===this._rootElement?null:Z,Ue=_e?_e.getBoundingClientRect():X,wt=tt(G)?G.targetTouches[0]:G,Ut=this._getViewportScrollPosition();return{x:Ue.left-X.left+(wt.pageX-Ue.left-Ut.left),y:Ue.top-X.top+(wt.pageY-Ue.top-Ut.top)}}_getPointerPositionOnPage(Z){const G=this._getViewportScrollPosition(),X=tt(Z)?Z.touches[0]||Z.changedTouches[0]||{pageX:0,pageY:0}:Z,_e=X.pageX-G.left,Ue=X.pageY-G.top;if(this._ownerSVGElement){const wt=this._ownerSVGElement.getScreenCTM();if(wt){const Ut=this._ownerSVGElement.createSVGPoint();return Ut.x=_e,Ut.y=Ue,Ut.matrixTransform(wt.inverse())}}return{x:_e,y:Ue}}_getConstrainedPointerPosition(Z){const G=this._dropContainer?this._dropContainer.lockAxis:null;let{x:X,y:_e}=this.constrainPosition?this.constrainPosition(Z,this):Z;if("x"===this.lockAxis||"x"===G?_e=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===G)&&(X=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Ue,y:wt}=this._pickupPositionInElement,Ut=this._boundaryRect,Vt=this._previewRect,Dt=Ut.top+wt,Et=Ut.bottom-(Vt.height-wt);X=Xe(X,Ut.left+Ue,Ut.right-(Vt.width-Ue)),_e=Xe(_e,Dt,Et)}return{x:X,y:_e}}_updatePointerDirectionDelta(Z){const{x:G,y:X}=Z,_e=this._pointerDirectionDelta,Ue=this._pointerPositionAtLastDirectionChange,wt=Math.abs(G-Ue.x),Ut=Math.abs(X-Ue.y);return wt>this._config.pointerDirectionChangeThreshold&&(_e.x=G>Ue.x?1:-1,Ue.x=G),Ut>this._config.pointerDirectionChangeThreshold&&(_e.y=X>Ue.y?1:-1,Ue.y=X),_e}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Z=this._handles.length>0||!this.isDragging();Z!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Z,ae(this._rootElement,Z))}_removeRootElementListeners(Z){Z.removeEventListener("mousedown",this._pointerDown,Ie),Z.removeEventListener("touchstart",this._pointerDown,Oe)}_applyRootElementTransform(Z,G){const X=Ve(Z,G),_e=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=_e.transform&&"none"!=_e.transform?_e.transform:""),_e.transform=H(X,this._initialTransform)}_applyPreviewTransform(Z,G){var X;const _e=(null===(X=this._previewTemplate)||void 0===X?void 0:X.template)?void 0:this._initialTransform,Ue=Ve(Z,G);this._preview.style.transform=H(Ue,_e)}_getDragDistance(Z){const G=this._pickupPositionOnPage;return G?{x:Z.x-G.x,y:Z.y-G.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Z,y:G}=this._passiveTransform;if(0===Z&&0===G||this.isDragging()||!this._boundaryElement)return;const X=this._boundaryElement.getBoundingClientRect(),_e=this._rootElement.getBoundingClientRect();if(0===X.width&&0===X.height||0===_e.width&&0===_e.height)return;const Ue=X.left-_e.left,wt=_e.right-X.right,Ut=X.top-_e.top,Vt=_e.bottom-X.bottom;X.width>_e.width?(Ue>0&&(Z+=Ue),wt>0&&(Z-=wt)):Z=0,X.height>_e.height?(Ut>0&&(G+=Ut),Vt>0&&(G-=Vt)):G=0,(Z!==this._passiveTransform.x||G!==this._passiveTransform.y)&&this.setFreeDragPosition({y:G,x:Z})}_getDragStartDelay(Z){const G=this.dragStartDelay;return"number"==typeof G?G:tt(Z)?G.touch:G?G.mouse:0}_updateOnScroll(Z){const G=this._parentPositions.handleScroll(Z);if(G){const X=(0,g.sA)(Z);this._boundaryRect&&X!==this._boundaryElement&&X.contains(this._boundaryElement)&&Fe(this._boundaryRect,G.top,G.left),this._pickupPositionOnPage.x+=G.left,this._pickupPositionOnPage.y+=G.top,this._dropContainer||(this._activeTransform.x-=G.left,this._activeTransform.y-=G.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const Z=this._parentPositions.positions.get(this._document);return Z?Z.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Z,G){const X=this._previewContainer||"global";if("parent"===X)return Z;if("global"===X){const _e=this._document;return G||_e.fullscreenElement||_e.webkitFullscreenElement||_e.mozFullScreenElement||_e.msFullscreenElement||_e.body}return(0,T.fI)(X)}}function Ve(oe,Z){return`translate3d(${Math.round(oe)}px, ${Math.round(Z)}px, 0)`}function Xe(oe,Z,G){return Math.max(Z,Math.min(G,oe))}function tt(oe){return"t"===oe.type[0]}function rt(oe,Z){const G=oe.rootNodes;if(1===G.length&&G[0].nodeType===Z.ELEMENT_NODE)return G[0];const X=Z.createElement("div");return G.forEach(_e=>X.appendChild(_e)),X}function N(oe,Z){oe.style.width=`${Z.width}px`,oe.style.height=`${Z.height}px`,oe.style.transform=Ve(Z.left,Z.top)}function he(oe,Z,G){const X=I(Z,oe.length-1),_e=I(G,oe.length-1);if(X===_e)return;const Ue=oe[X],wt=_e!0,this.sortPredicate=()=>!0,this.beforeStarted=new A.xQ,this.entered=new A.xQ,this.exited=new A.xQ,this.dropped=new A.xQ,this.sorted=new A.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=s.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new A.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,b.F)(0,O.r).pipe((0,k.R)(this._stopScrollTimers)).subscribe(()=>{const wt=this._scrollNode,Ut=this.autoScrollStep;1===this._verticalScrollDirection?wt.scrollBy(0,-Ut):2===this._verticalScrollDirection&&wt.scrollBy(0,Ut),1===this._horizontalScrollDirection?wt.scrollBy(-Ut,0):2===this._horizontalScrollDirection&&wt.scrollBy(Ut,0)})},this.element=(0,T.fI)(Z),this._document=X,this.withScrollableParents([this.element]),G.registerDropContainer(this),this._parentPositions=new Me(X,Ue)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Z,G,X,_e){let Ue;this._draggingStarted(),null==_e?(Ue=this.sortingDisabled?this._draggables.indexOf(Z):-1,-1===Ue&&(Ue=this._getItemIndexFromPointerPosition(Z,G,X))):Ue=_e;const wt=this._activeDraggables,Ut=wt.indexOf(Z),Vt=Z.getPlaceholderElement();let Dt=wt[Ue];if(Dt===Z&&(Dt=wt[Ue+1]),!Dt&&(null==Ue||-1===Ue||Ue-1&&wt.splice(Ut,1),Dt&&!this._dragDropRegistry.isDragging(Dt)){const Et=Dt.getRootElement();Et.parentElement.insertBefore(Vt,Et),wt.splice(Ue,0,Z)}else(0,T.fI)(this.element).appendChild(Vt),wt.push(Z);Vt.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Z,container:this,currentIndex:this.getItemIndex(Z)})}exit(Z){this._reset(),this.exited.next({item:Z,container:this})}drop(Z,G,X,_e,Ue,wt,Ut){this._reset(),this.dropped.next({item:Z,currentIndex:G,previousIndex:X,container:this,previousContainer:_e,isPointerOverContainer:Ue,distance:wt,dropPoint:Ut})}withItems(Z){const G=this._draggables;return this._draggables=Z,Z.forEach(X=>X._withDropContainer(this)),this.isDragging()&&(G.filter(_e=>_e.isDragging()).every(_e=>-1===Z.indexOf(_e))?this._reset():this._cacheItems()),this}withDirection(Z){return this._direction=Z,this}connectedTo(Z){return this._siblings=Z.slice(),this}withOrientation(Z){return this._orientation=Z,this}withScrollableParents(Z){const G=(0,T.fI)(this.element);return this._scrollableElements=-1===Z.indexOf(G)?[G,...Z]:Z.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(Z){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(X=>X.drag===Z):this._draggables.indexOf(Z)}isReceiving(){return this._activeSiblings.size>0}_sortItem(Z,G,X,_e){if(this.sortingDisabled||!this._clientRect||!ne(this._clientRect,.05,G,X))return;const Ue=this._itemPositions,wt=this._getItemIndexFromPointerPosition(Z,G,X,_e);if(-1===wt&&Ue.length>0)return;const Ut="horizontal"===this._orientation,Vt=Ue.findIndex(Ci=>Ci.drag===Z),Dt=Ue[wt],At=Dt.clientRect,Ot=Vt>wt?1:-1,Kt=this._getItemOffsetPx(Ue[Vt].clientRect,At,Ot),li=this._getSiblingOffsetPx(Vt,Ue,Ot),fi=Ue.slice();he(Ue,Vt,wt),this.sorted.next({previousIndex:Vt,currentIndex:wt,container:this,item:Z}),Ue.forEach((Ci,Si)=>{if(fi[Si]===Ci)return;const Vi=Ci.drag===Z,nn=Vi?Kt:li,$i=Vi?Z.getPlaceholderElement():Ci.drag.getRootElement();Ci.offset+=nn,Ut?($i.style.transform=H(`translate3d(${Math.round(Ci.offset)}px, 0, 0)`,Ci.initialTransform),Fe(Ci.clientRect,0,nn)):($i.style.transform=H(`translate3d(0, ${Math.round(Ci.offset)}px, 0)`,Ci.initialTransform),Fe(Ci.clientRect,nn,0))}),this._previousSwap.overlaps=Ne(At,G,X),this._previousSwap.drag=Dt.drag,this._previousSwap.delta=Ut?_e.x:_e.y}_startScrollingIfNecessary(Z,G){if(this.autoScrollDisabled)return;let X,_e=0,Ue=0;if(this._parentPositions.positions.forEach((wt,Ut)=>{Ut===this._document||!wt.clientRect||X||ne(wt.clientRect,.05,Z,G)&&([_e,Ue]=function t(oe,Z,G,X){const _e=p(Z,X),Ue=o(Z,G);let wt=0,Ut=0;if(_e){const Vt=oe.scrollTop;1===_e?Vt>0&&(wt=1):oe.scrollHeight-Vt>oe.clientHeight&&(wt=2)}if(Ue){const Vt=oe.scrollLeft;1===Ue?Vt>0&&(Ut=1):oe.scrollWidth-Vt>oe.clientWidth&&(Ut=2)}return[wt,Ut]}(Ut,wt.clientRect,Z,G),(_e||Ue)&&(X=Ut))}),!_e&&!Ue){const{width:wt,height:Ut}=this._viewportRuler.getViewportSize(),Vt={width:wt,height:Ut,top:0,right:wt,bottom:Ut,left:0};_e=p(Vt,G),Ue=o(Vt,Z),X=window}X&&(_e!==this._verticalScrollDirection||Ue!==this._horizontalScrollDirection||X!==this._scrollNode)&&(this._verticalScrollDirection=_e,this._horizontalScrollDirection=Ue,this._scrollNode=X,(_e||Ue)&&X?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Z=(0,T.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Z.msScrollSnapType||Z.scrollSnapType||"",Z.scrollSnapType=Z.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const Z=(0,T.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(Z).clientRect}_cacheItemPositions(){const Z="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(G=>{const X=G.getVisibleElement();return{drag:G,offset:0,initialTransform:X.style.transform||"",clientRect:ge(X)}}).sort((G,X)=>Z?G.clientRect.left-X.clientRect.left:G.clientRect.top-X.clientRect.top)}_reset(){this._isDragging=!1;const Z=(0,T.fI)(this.element).style;Z.scrollSnapType=Z.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(G=>{var X;const _e=G.getRootElement();if(_e){const Ue=null===(X=this._itemPositions.find(wt=>wt.drag===G))||void 0===X?void 0:X.initialTransform;_e.style.transform=Ue||""}}),this._siblings.forEach(G=>G._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(Z,G,X){const _e="horizontal"===this._orientation,Ue=G[Z].clientRect,wt=G[Z+-1*X];let Ut=Ue[_e?"width":"height"]*X;if(wt){const Vt=_e?"left":"top",Dt=_e?"right":"bottom";-1===X?Ut-=wt.clientRect[Vt]-Ue[Dt]:Ut+=Ue[Vt]-wt.clientRect[Dt]}return Ut}_getItemOffsetPx(Z,G,X){const _e="horizontal"===this._orientation;let Ue=_e?G.left-Z.left:G.top-Z.top;return-1===X&&(Ue+=_e?G.width-Z.width:G.height-Z.height),Ue}_shouldEnterAsFirstChild(Z,G){if(!this._activeDraggables.length)return!1;const X=this._itemPositions,_e="horizontal"===this._orientation;if(X[0].drag!==this._activeDraggables[0]){const wt=X[X.length-1].clientRect;return _e?Z>=wt.right:G>=wt.bottom}{const wt=X[0].clientRect;return _e?Z<=wt.left:G<=wt.top}}_getItemIndexFromPointerPosition(Z,G,X,_e){const Ue="horizontal"===this._orientation,wt=this._itemPositions.findIndex(({drag:Ut,clientRect:Vt})=>{if(Ut===Z)return!1;if(_e){const Dt=Ue?_e.x:_e.y;if(Ut===this._previousSwap.drag&&this._previousSwap.overlaps&&Dt===this._previousSwap.delta)return!1}return Ue?G>=Math.floor(Vt.left)&&G=Math.floor(Vt.top)&&X_e._canReceive(Z,G,X))}_canReceive(Z,G,X){if(!this._clientRect||!Ne(this._clientRect,G,X)||!this.enterPredicate(Z,this))return!1;const _e=this._getShadowRoot().elementFromPoint(G,X);if(!_e)return!1;const Ue=(0,T.fI)(this.element);return _e===Ue||Ue.contains(_e)}_startReceiving(Z,G){const X=this._activeSiblings;!X.has(Z)&&G.every(_e=>this.enterPredicate(_e,this)||this._draggables.indexOf(_e)>-1)&&(X.add(Z),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(Z){this._activeSiblings.delete(Z),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Z=>{if(this.isDragging()){const G=this._parentPositions.handleScroll(Z);G&&(this._itemPositions.forEach(({clientRect:X})=>{Fe(X,G.top,G.left)}),this._itemPositions.forEach(({drag:X})=>{this._dragDropRegistry.isDragging(X)&&X._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Z=(0,g.kV)((0,T.fI)(this.element));this._cachedShadowRoot=Z||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Z=this._activeDraggables.filter(G=>G.isDragging());this._siblings.forEach(G=>G._startReceiving(this,Z))}}function p(oe,Z){const{top:G,bottom:X,height:_e}=oe,Ue=.05*_e;return Z>=G-Ue&&Z<=G+Ue?1:Z>=X-Ue&&Z<=X+Ue?2:0}function o(oe,Z){const{left:G,right:X,width:_e}=oe,Ue=.05*_e;return Z>=G-Ue&&Z<=G+Ue?1:Z>=X-Ue&&Z<=X+Ue?2:0}const n=(0,g.i$)({passive:!1,capture:!0});let c=(()=>{class oe{constructor(G,X){this._ngZone=G,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=_e=>_e.isDragging(),this.pointerMove=new A.xQ,this.pointerUp=new A.xQ,this.scroll=new A.xQ,this._preventDefaultWhileDragging=_e=>{this._activeDragInstances.length>0&&_e.preventDefault()},this._persistentTouchmoveListener=_e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&_e.preventDefault(),this.pointerMove.next(_e))},this._document=X}registerDropContainer(G){this._dropInstances.has(G)||this._dropInstances.add(G)}registerDragItem(G){this._dragInstances.add(G),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,n)})}removeDropContainer(G){this._dropInstances.delete(G)}removeDragItem(G){this._dragInstances.delete(G),this.stopDragging(G),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,n)}startDragging(G,X){if(!(this._activeDragInstances.indexOf(G)>-1)&&(this._activeDragInstances.push(G),1===this._activeDragInstances.length)){const _e=X.type.startsWith("touch");this._globalListeners.set(_e?"touchend":"mouseup",{handler:Ue=>this.pointerUp.next(Ue),options:!0}).set("scroll",{handler:Ue=>this.scroll.next(Ue),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:n}),_e||this._globalListeners.set("mousemove",{handler:Ue=>this.pointerMove.next(Ue),options:n}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Ue,wt)=>{this._document.addEventListener(wt,Ue.handler,Ue.options)})})}}stopDragging(G){const X=this._activeDragInstances.indexOf(G);X>-1&&(this._activeDragInstances.splice(X,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(G){return this._activeDragInstances.indexOf(G)>-1}scrolled(G){const X=[this.scroll];return G&&G!==this._document&&X.push(new E.y(_e=>this._ngZone.runOutsideAngular(()=>{const wt=Ut=>{this._activeDragInstances.length&&_e.next(Ut)};return G.addEventListener("scroll",wt,!0),()=>{G.removeEventListener("scroll",wt,!0)}}))),(0,h.T)(...X)}ngOnDestroy(){this._dragInstances.forEach(G=>this.removeDragItem(G)),this._dropInstances.forEach(G=>this.removeDropContainer(G)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((G,X)=>{this._document.removeEventListener(X,G.handler,G.options)}),this._globalListeners.clear()}}return oe.\u0275fac=function(G){return new(G||oe)(e.LFG(e.R0b),e.LFG(f.K0))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const u={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let y=(()=>{class oe{constructor(G,X,_e,Ue){this._document=G,this._ngZone=X,this._viewportRuler=_e,this._dragDropRegistry=Ue}createDrag(G,X=u){return new Ce(G,X,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(G){return new r(G,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return oe.\u0275fac=function(G){return new(G||oe)(e.LFG(f.K0),e.LFG(e.R0b),e.LFG(Le.rL),e.LFG(c))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const M=new e.OlP("CDK_DRAG_PARENT"),re=new e.OlP("CdkDropListGroup"),yt=new e.OlP("CDK_DRAG_CONFIG");let Nt=0;const It=new e.OlP("CdkDropList");let Zt=(()=>{class oe{constructor(G,X,_e,Ue,wt,Ut,Vt){this.element=G,this._changeDetectorRef=_e,this._scrollDispatcher=Ue,this._dir=wt,this._group=Ut,this._destroyed=new A.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+Nt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=X.createDropList(G),this._dropListRef.data=this,Vt&&this._assignDefaults(Vt),this._dropListRef.enterPredicate=(Dt,Et)=>this.enterPredicate(Dt.data,Et.data),this._dropListRef.sortPredicate=(Dt,Et,At)=>this.sortPredicate(Dt,Et.data,At.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),oe._dropLists.push(this),Ut&&Ut._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(G){this._dropListRef.disabled=this._disabled=(0,T.Ig)(G)}addItem(G){this._unsortedItems.add(G),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(G){this._unsortedItems.delete(G),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((G,X)=>G._dragRef.getVisibleElement().compareDocumentPosition(X._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const G=oe._dropLists.indexOf(this);G>-1&&oe._dropLists.splice(G,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(G){this._dir&&this._dir.change.pipe((0,L.O)(this._dir.value),(0,k.R)(this._destroyed)).subscribe(X=>G.withDirection(X)),G.beforeStarted.subscribe(()=>{const X=(0,T.Eq)(this.connectedTo).map(_e=>"string"==typeof _e?oe._dropLists.find(wt=>wt.id===_e):_e);if(this._group&&this._group._items.forEach(_e=>{-1===X.indexOf(_e)&&X.push(_e)}),!this._scrollableParentsResolved){const _e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Ue=>Ue.getElementRef().nativeElement);this._dropListRef.withScrollableParents(_e),this._scrollableParentsResolved=!0}G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.sortingDisabled=(0,T.Ig)(this.sortingDisabled),G.autoScrollDisabled=(0,T.Ig)(this.autoScrollDisabled),G.autoScrollStep=(0,T.su)(this.autoScrollStep,2),G.connectedTo(X.filter(_e=>_e&&_e!==this).map(_e=>_e._dropListRef)).withOrientation(this.orientation)})}_handleEvents(G){G.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(X=>{this.entered.emit({container:this,item:X.item.data,currentIndex:X.currentIndex})}),G.exited.subscribe(X=>{this.exited.emit({container:this,item:X.item.data}),this._changeDetectorRef.markForCheck()}),G.sorted.subscribe(X=>{this.sorted.emit({previousIndex:X.previousIndex,currentIndex:X.currentIndex,container:this,item:X.item.data})}),G.dropped.subscribe(X=>{this.dropped.emit({previousIndex:X.previousIndex,currentIndex:X.currentIndex,previousContainer:X.previousContainer.data,container:X.container.data,item:X.item.data,isPointerOverContainer:X.isPointerOverContainer,distance:X.distance,dropPoint:X.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(G){const{lockAxis:X,draggingDisabled:_e,sortingDisabled:Ue,listAutoScrollDisabled:wt,listOrientation:Ut}=G;this.disabled=null!=_e&&_e,this.sortingDisabled=null!=Ue&&Ue,this.autoScrollDisabled=null!=wt&&wt,this.orientation=Ut||"vertical",X&&(this.lockAxis=X)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(G=>G._dragRef))}}return oe._dropLists=[],oe.\u0275fac=function(G){return new(G||oe)(e.Y36(e.SBq),e.Y36(y),e.Y36(e.sBO),e.Y36(Le.mF),e.Y36(de.Is,8),e.Y36(re,12),e.Y36(yt,8))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(G,X){2&G&&(e.uIk("id",X.id),e.ekj("cdk-drop-list-disabled",X.disabled)("cdk-drop-list-dragging",X._dropListRef.isDragging())("cdk-drop-list-receiving",X._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:re,useValue:void 0},{provide:It,useExisting:oe}])]}),oe})();const mt=new e.OlP("CdkDragHandle"),_t=new e.OlP("CdkDragPlaceholder"),Lt=new e.OlP("CdkDragPreview");let qe=(()=>{class oe{constructor(G,X,_e,Ue,wt,Ut,Vt,Dt,Et,At,Ot){this.element=G,this.dropContainer=X,this._ngZone=Ue,this._viewContainerRef=wt,this._dir=Vt,this._changeDetectorRef=Et,this._selfHandle=At,this._parentDrag=Ot,this._destroyed=new A.xQ,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new E.y(Kt=>{const li=this._dragRef.moved.pipe((0,V.U)(fi=>({source:this,pointerPosition:fi.pointerPosition,event:fi.event,delta:fi.delta,distance:fi.distance}))).subscribe(Kt);return()=>{li.unsubscribe()}}),this._dragRef=Dt.createDrag(G,{dragStartThreshold:Ut&&null!=Ut.dragStartThreshold?Ut.dragStartThreshold:5,pointerDirectionChangeThreshold:Ut&&null!=Ut.pointerDirectionChangeThreshold?Ut.pointerDirectionChangeThreshold:5,zIndex:null==Ut?void 0:Ut.zIndex}),this._dragRef.data=this,oe._dragInstances.push(this),Ut&&this._assignDefaults(Ut),X&&(this._dragRef._withDropContainer(X._dropListRef),X.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(G){this._disabled=(0,T.Ig)(G),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,$.q)(1),(0,k.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(G){const X=G.rootElementSelector,_e=G.freeDragPosition;X&&!X.firstChange&&this._updateRootElement(),_e&&!_e.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const G=oe._dragInstances.indexOf(this);G>-1&&oe._dragInstances.splice(G,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var G;const X=this.element.nativeElement;let _e=X;this.rootElementSelector&&(_e=void 0!==X.closest?X.closest(this.rootElementSelector):null===(G=X.parentElement)||void 0===G?void 0:G.closest(this.rootElementSelector)),this._dragRef.withRootElement(_e||X)}_getBoundaryElement(){const G=this.boundaryElement;return G?"string"==typeof G?this.element.nativeElement.closest(G):(0,T.fI)(G):null}_syncInputs(G){G.beforeStarted.subscribe(()=>{if(!G.isDragging()){const X=this._dir,_e=this.dragStartDelay,Ue=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,wt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.dragStartDelay="object"==typeof _e&&_e?_e:(0,T.su)(_e),G.constrainPosition=this.constrainPosition,G.previewClass=this.previewClass,G.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Ue).withPreviewTemplate(wt).withPreviewContainer(this.previewContainer||"global"),X&&G.withDirection(X.value)}}),G.beforeStarted.pipe((0,$.q)(1)).subscribe(()=>{var X;if(this._parentDrag)return void G.withParent(this._parentDrag._dragRef);let _e=this.element.nativeElement.parentElement;for(;_e;){if(_e.classList.contains("cdk-drag")){G.withParent((null===(X=oe._dragInstances.find(Ue=>Ue.element.nativeElement===_e))||void 0===X?void 0:X._dragRef)||null);break}_e=_e.parentElement}})}_handleEvents(G){G.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),G.released.subscribe(()=>{this.released.emit({source:this})}),G.ended.subscribe(X=>{this.ended.emit({source:this,distance:X.distance,dropPoint:X.dropPoint}),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(X=>{this.entered.emit({container:X.container.data,item:this,currentIndex:X.currentIndex})}),G.exited.subscribe(X=>{this.exited.emit({container:X.container.data,item:this})}),G.dropped.subscribe(X=>{this.dropped.emit({previousIndex:X.previousIndex,currentIndex:X.currentIndex,previousContainer:X.previousContainer.data,container:X.container.data,isPointerOverContainer:X.isPointerOverContainer,item:this,distance:X.distance,dropPoint:X.dropPoint})})}_assignDefaults(G){const{lockAxis:X,dragStartDelay:_e,constrainPosition:Ue,previewClass:wt,boundaryElement:Ut,draggingDisabled:Vt,rootElementSelector:Dt,previewContainer:Et}=G;this.disabled=null!=Vt&&Vt,this.dragStartDelay=_e||0,X&&(this.lockAxis=X),Ue&&(this.constrainPosition=Ue),wt&&(this.previewClass=wt),Ut&&(this.boundaryElement=Ut),Dt&&(this.rootElementSelector=Dt),Et&&(this.previewContainer=Et)}_setupHandlesListener(){this._handles.changes.pipe((0,L.O)(this._handles),(0,ue.b)(G=>{const X=G.filter(_e=>_e._parentDrag===this).map(_e=>_e.element);this._selfHandle&&this.rootElementSelector&&X.push(this.element),this._dragRef.withHandles(X)}),(0,ce.w)(G=>(0,h.T)(...G.map(X=>X._stateChanges.pipe((0,L.O)(X))))),(0,k.R)(this._destroyed)).subscribe(G=>{const X=this._dragRef,_e=G.element.nativeElement;G.disabled?X.disableHandle(_e):X.enableHandle(_e)})}}return oe._dragInstances=[],oe.\u0275fac=function(G){return new(G||oe)(e.Y36(e.SBq),e.Y36(It,12),e.Y36(f.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(yt,8),e.Y36(de.Is,8),e.Y36(y),e.Y36(e.sBO),e.Y36(mt,10),e.Y36(M,12))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","cdkDrag",""]],contentQueries:function(G,X,_e){if(1&G&&(e.Suo(_e,Lt,5),e.Suo(_e,_t,5),e.Suo(_e,mt,5)),2&G){let Ue;e.iGM(Ue=e.CRH())&&(X._previewTemplate=Ue.first),e.iGM(Ue=e.CRH())&&(X._placeholderTemplate=Ue.first),e.iGM(Ue=e.CRH())&&(X._handles=Ue)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(G,X){2&G&&e.ekj("cdk-drag-disabled",X.disabled)("cdk-drag-dragging",X._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:M,useExisting:oe}]),e.TTD]}),oe})(),Ye=(()=>{class oe{}return oe.\u0275fac=function(G){return new(G||oe)},oe.\u0275mod=e.oAB({type:oe}),oe.\u0275inj=e.cJS({providers:[y],imports:[Le.ZD]}),oe})()},91159:(Ke,be,d)=>{"use strict";d.d(be,{A:()=>He,zL:()=>b,ZH:()=>f,OC:()=>ut,jx:()=>s,yY:()=>Q,JH:()=>ke,uR:()=>$,K5:()=>m,hY:()=>h,Sd:()=>ue,oh:()=>ce,b2:()=>pn,MW:()=>pt,aO:()=>Te,VM:()=>V,Ku:()=>L,SV:()=>de,JU:()=>A,L_:()=>k,Mf:()=>g,LH:()=>Le,Z:()=>yt,xE:()=>te,Vb:()=>Pi});const f=8,g=9,m=13,A=16,s=17,b=18,h=27,k=32,L=33,V=34,$=35,ue=36,ce=37,Le=38,de=39,ke=40,Q=46,te=48,Te=57,He=65,yt=90,pt=91,ut=188,pn=224;function Pi(Ti,...Ui){return Ui.length?Ui.some(fn=>Ti[fn]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},17144:(Ke,be,d)=>{"use strict";d.d(be,{wD:()=>b,yq:()=>s,Q8:()=>O});var e=d(63191),f=d(5e3),g=d(32916),T=d(8929),m=d(80013);let A=(()=>{class E{create(k){return"undefined"==typeof MutationObserver?null:new MutationObserver(k)}}return E.\u0275fac=function(k){return new(k||E)},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),s=(()=>{class E{constructor(k){this._mutationObserverFactory=k,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((k,L)=>this._cleanupObserver(L))}observe(k){const L=(0,e.fI)(k);return new g.y(V=>{const ue=this._observeElement(L).subscribe(V);return()=>{ue.unsubscribe(),this._unobserveElement(L)}})}_observeElement(k){if(this._observedElements.has(k))this._observedElements.get(k).count++;else{const L=new T.xQ,V=this._mutationObserverFactory.create($=>L.next($));V&&V.observe(k,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(k,{observer:V,stream:L,count:1})}return this._observedElements.get(k).stream}_unobserveElement(k){this._observedElements.has(k)&&(this._observedElements.get(k).count--,this._observedElements.get(k).count||this._cleanupObserver(k))}_cleanupObserver(k){if(this._observedElements.has(k)){const{observer:L,stream:V}=this._observedElements.get(k);L&&L.disconnect(),V.complete(),this._observedElements.delete(k)}}}return E.\u0275fac=function(k){return new(k||E)(f.LFG(A))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),b=(()=>{class E{constructor(k,L,V){this._contentObserver=k,this._elementRef=L,this._ngZone=V,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,e.Ig)(k),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(k){this._debounce=(0,e.su)(k),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const k=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?k.pipe((0,m.b)(this.debounce)):k).subscribe(this.event)})}_unsubscribe(){var k;null===(k=this._currentSubscription)||void 0===k||k.unsubscribe()}}return E.\u0275fac=function(k){return new(k||E)(f.Y36(s),f.Y36(f.SBq),f.Y36(f.R0b))},E.\u0275dir=f.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),E})(),O=(()=>{class E{}return E.\u0275fac=function(k){return new(k||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({providers:[A]}),E})()},92845:(Ke,be,d)=>{"use strict";d.d(be,{pI:()=>i,xu:()=>P,_G:()=>Oe,aV:()=>D,X_:()=>ge,Xj:()=>Te,U8:()=>o});var e=d(53435),f=d(69808),g=d(5e3),T=d(63191),m=d(70925),A=d(50226),s=d(47429),b=d(8929),O=d(42654),E=d(36787),h=d(43489);class L{constructor(c,u){this.predicate=c,this.inclusive=u}call(c,u){return u.subscribe(new V(c,this.predicate,this.inclusive))}}class V extends h.L{constructor(c,u,y){super(c),this.predicate=u,this.inclusive=y,this.index=0}_next(c){const u=this.destination;let y;try{y=this.predicate(c,this.index++)}catch(M){return void u.error(M)}this.nextOrComplete(c,y)}nextOrComplete(c,u){const y=this.destination;Boolean(u)?y.next(c):(this.inclusive&&y.next(c),y.complete())}}var $=d(72986),ue=d(7625),ce=d(91159);const Le=(0,m.Mq)();class de{constructor(c,u){this._viewportRuler=c,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=u}attach(){}enable(){if(this._canBeEnabled()){const c=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=c.style.left||"",this._previousHTMLStyles.top=c.style.top||"",c.style.left=(0,T.HM)(-this._previousScrollPosition.left),c.style.top=(0,T.HM)(-this._previousScrollPosition.top),c.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const c=this._document.documentElement,y=c.style,M=this._document.body.style,re=y.scrollBehavior||"",et=M.scrollBehavior||"";this._isEnabled=!1,y.left=this._previousHTMLStyles.left,y.top=this._previousHTMLStyles.top,c.classList.remove("cdk-global-scrollblock"),Le&&(y.scrollBehavior=M.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Le&&(y.scrollBehavior=re,M.scrollBehavior=et)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const u=this._document.body,y=this._viewportRuler.getViewportSize();return u.scrollHeight>y.height||u.scrollWidth>y.width}}class ae{constructor(c,u,y,M){this._scrollDispatcher=c,this._ngZone=u,this._viewportRuler=y,this._config=M,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(c){this._overlayRef=c}enable(){if(this._scrollSubscription)return;const c=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=c.subscribe(()=>{const u=this._viewportRuler.getViewportScrollPosition().top;Math.abs(u-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=c.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class j{enable(){}disable(){}attach(){}}function H(n,c){return c.some(u=>n.bottomu.bottom||n.rightu.right)}function Q(n,c){return c.some(u=>n.topu.bottom||n.leftu.right)}class te{constructor(c,u,y,M){this._scrollDispatcher=c,this._viewportRuler=u,this._ngZone=y,this._config=M,this._scrollSubscription=null}attach(c){this._overlayRef=c}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const u=this._overlayRef.overlayElement.getBoundingClientRect(),{width:y,height:M}=this._viewportRuler.getViewportSize();H(u,[{width:y,height:M,bottom:M,right:y,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let se=(()=>{class n{constructor(u,y,M,re){this._scrollDispatcher=u,this._viewportRuler=y,this._ngZone=M,this.noop=()=>new j,this.close=et=>new ae(this._scrollDispatcher,this._ngZone,this._viewportRuler,et),this.block=()=>new de(this._viewportRuler,this._document),this.reposition=et=>new te(this._scrollDispatcher,this._viewportRuler,this._ngZone,et),this._document=re}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class ge{constructor(c){if(this.scrollStrategy=new j,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,c){const u=Object.keys(c);for(const y of u)void 0!==c[y]&&(this[y]=c[y])}}}class ne{constructor(c,u){this.connectionPair=c,this.scrollableViewProperties=u}}class me{constructor(c,u,y,M,re,et,yt,pt,Nt){this._portalOutlet=c,this._host=u,this._pane=y,this._config=M,this._ngZone=re,this._keyboardDispatcher=et,this._document=yt,this._location=pt,this._outsideClickDispatcher=Nt,this._backdropElement=null,this._backdropClick=new b.xQ,this._attachments=new b.xQ,this._detachments=new b.xQ,this._locationChanges=O.w.EMPTY,this._backdropClickHandler=It=>this._backdropClick.next(It),this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,M.scrollStrategy&&(this._scrollStrategy=M.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=M.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(c){let u=this._portalOutlet.attach(c);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,$.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),u}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const c=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),c}dispose(){var c;const u=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(c=this._host)||void 0===c||c.remove(),this._previousHostParent=this._pane=this._host=null,u&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(c){c!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=c,this.hasAttached()&&(c.attach(this),this.updatePosition()))}updateSize(c){this._config=Object.assign(Object.assign({},this._config),c),this._updateElementSize()}setDirection(c){this._config=Object.assign(Object.assign({},this._config),{direction:c}),this._updateElementDirection()}addPanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!0)}removePanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!1)}getDirection(){const c=this._config.direction;return c?"string"==typeof c?c:c.value:"ltr"}updateScrollStrategy(c){c!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=c,this.hasAttached()&&(c.attach(this),c.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const c=this._pane.style;c.width=(0,T.HM)(this._config.width),c.height=(0,T.HM)(this._config.height),c.minWidth=(0,T.HM)(this._config.minWidth),c.minHeight=(0,T.HM)(this._config.minHeight),c.maxWidth=(0,T.HM)(this._config.maxWidth),c.maxHeight=(0,T.HM)(this._config.maxHeight)}_togglePointerEvents(c){this._pane.style.pointerEvents=c?"":"none"}_attachBackdrop(){const c="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(c)})}):this._backdropElement.classList.add(c)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const c=this._backdropElement;if(!c)return;let u;const y=()=>{c&&(c.removeEventListener("click",this._backdropClickHandler),c.removeEventListener("transitionend",y),this._disposeBackdrop(c)),this._config.backdropClass&&this._toggleClasses(c,this._config.backdropClass,!1),clearTimeout(u)};c.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{c.addEventListener("transitionend",y)}),c.style.pointerEvents="none",u=this._ngZone.runOutsideAngular(()=>setTimeout(y,500))}_toggleClasses(c,u,y){const M=(0,T.Eq)(u||[]).filter(re=>!!re);M.length&&(y?c.classList.add(...M):c.classList.remove(...M))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const c=this._ngZone.onStable.pipe((0,ue.R)((0,E.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),c.unsubscribe())})})}_disposeScrollStrategy(){const c=this._scrollStrategy;c&&(c.disable(),c.detach&&c.detach())}_disposeBackdrop(c){c&&(c.remove(),this._backdropElement===c&&(this._backdropElement=null))}}let Te=(()=>{class n{constructor(u,y){this._platform=y,this._document=u}ngOnDestroy(){var u;null===(u=this._containerElement)||void 0===u||u.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const u="cdk-overlay-container";if(this._platform.isBrowser||(0,m.Oy)()){const M=this._document.querySelectorAll(`.${u}[platform="server"], .${u}[platform="test"]`);for(let re=0;re{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const c=this._originRect,u=this._overlayRect,y=this._viewportRect,M=this._containerRect,re=[];let et;for(let yt of this._preferredPositions){let pt=this._getOriginPoint(c,M,yt),Nt=this._getOverlayPoint(pt,u,yt),It=this._getOverlayFit(Nt,u,y,yt);if(It.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(yt,pt);this._canFitWithFlexibleDimensions(It,Nt,y)?re.push({position:yt,origin:pt,overlayRect:u,boundingBoxRect:this._calculateBoundingBoxRect(pt,yt)}):(!et||et.overlayFit.visibleAreapt&&(pt=It,yt=Nt)}return this._isPushed=!1,void this._applyPosition(yt.position,yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(et.position,et.originPoint);this._applyPosition(et.position,et.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ie(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ee),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const c=this._lastPosition;if(c){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const u=this._getOriginPoint(this._originRect,this._containerRect,c);this._applyPosition(c,u)}else this.apply()}withScrollableContainers(c){return this._scrollables=c,this}withPositions(c){return this._preferredPositions=c,-1===c.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(c){return this._viewportMargin=c,this}withFlexibleDimensions(c=!0){return this._hasFlexibleDimensions=c,this}withGrowAfterOpen(c=!0){return this._growAfterOpen=c,this}withPush(c=!0){return this._canPush=c,this}withLockedPosition(c=!0){return this._positionLocked=c,this}setOrigin(c){return this._origin=c,this}withDefaultOffsetX(c){return this._offsetX=c,this}withDefaultOffsetY(c){return this._offsetY=c,this}withTransformOriginOn(c){return this._transformOriginSelector=c,this}_getOriginPoint(c,u,y){let M,re;if("center"==y.originX)M=c.left+c.width/2;else{const et=this._isRtl()?c.right:c.left,yt=this._isRtl()?c.left:c.right;M="start"==y.originX?et:yt}return u.left<0&&(M-=u.left),re="center"==y.originY?c.top+c.height/2:"top"==y.originY?c.top:c.bottom,u.top<0&&(re-=u.top),{x:M,y:re}}_getOverlayPoint(c,u,y){let M,re;return M="center"==y.overlayX?-u.width/2:"start"===y.overlayX?this._isRtl()?-u.width:0:this._isRtl()?0:-u.width,re="center"==y.overlayY?-u.height/2:"top"==y.overlayY?0:-u.height,{x:c.x+M,y:c.y+re}}_getOverlayFit(c,u,y,M){const re=fe(u);let{x:et,y:yt}=c,pt=this._getOffset(M,"x"),Nt=this._getOffset(M,"y");pt&&(et+=pt),Nt&&(yt+=Nt);let mt=0-yt,Ht=yt+re.height-y.height,_t=this._subtractOverflows(re.width,0-et,et+re.width-y.width),Je=this._subtractOverflows(re.height,mt,Ht),Lt=_t*Je;return{visibleArea:Lt,isCompletelyWithinViewport:re.width*re.height===Lt,fitsInViewportVertically:Je===re.height,fitsInViewportHorizontally:_t==re.width}}_canFitWithFlexibleDimensions(c,u,y){if(this._hasFlexibleDimensions){const M=y.bottom-u.y,re=y.right-u.x,et=He(this._overlayRef.getConfig().minHeight),yt=He(this._overlayRef.getConfig().minWidth),Nt=c.fitsInViewportHorizontally||null!=yt&&yt<=re;return(c.fitsInViewportVertically||null!=et&&et<=M)&&Nt}return!1}_pushOverlayOnScreen(c,u,y){if(this._previousPushAmount&&this._positionLocked)return{x:c.x+this._previousPushAmount.x,y:c.y+this._previousPushAmount.y};const M=fe(u),re=this._viewportRect,et=Math.max(c.x+M.width-re.width,0),yt=Math.max(c.y+M.height-re.height,0),pt=Math.max(re.top-y.top-c.y,0),Nt=Math.max(re.left-y.left-c.x,0);let It=0,Zt=0;return It=M.width<=re.width?Nt||-et:c.x_t&&!this._isInitialRender&&!this._growAfterOpen&&(et=c.y-_t/2)}if("end"===u.overlayX&&!M||"start"===u.overlayX&&M)mt=y.width-c.x+this._viewportMargin,It=c.x-this._viewportMargin;else if("start"===u.overlayX&&!M||"end"===u.overlayX&&M)Zt=c.x,It=y.right-c.x;else{const Ht=Math.min(y.right-c.x+y.left,c.x),_t=this._lastBoundingBoxSize.width;It=2*Ht,Zt=c.x-Ht,It>_t&&!this._isInitialRender&&!this._growAfterOpen&&(Zt=c.x-_t/2)}return{top:et,left:Zt,bottom:yt,right:mt,width:It,height:re}}_setBoundingBoxStyles(c,u){const y=this._calculateBoundingBoxRect(c,u);!this._isInitialRender&&!this._growAfterOpen&&(y.height=Math.min(y.height,this._lastBoundingBoxSize.height),y.width=Math.min(y.width,this._lastBoundingBoxSize.width));const M={};if(this._hasExactPosition())M.top=M.left="0",M.bottom=M.right=M.maxHeight=M.maxWidth="",M.width=M.height="100%";else{const re=this._overlayRef.getConfig().maxHeight,et=this._overlayRef.getConfig().maxWidth;M.height=(0,T.HM)(y.height),M.top=(0,T.HM)(y.top),M.bottom=(0,T.HM)(y.bottom),M.width=(0,T.HM)(y.width),M.left=(0,T.HM)(y.left),M.right=(0,T.HM)(y.right),M.alignItems="center"===u.overlayX?"center":"end"===u.overlayX?"flex-end":"flex-start",M.justifyContent="center"===u.overlayY?"center":"bottom"===u.overlayY?"flex-end":"flex-start",re&&(M.maxHeight=(0,T.HM)(re)),et&&(M.maxWidth=(0,T.HM)(et))}this._lastBoundingBoxSize=y,Ie(this._boundingBox.style,M)}_resetBoundingBoxStyles(){Ie(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ie(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(c,u){const y={},M=this._hasExactPosition(),re=this._hasFlexibleDimensions,et=this._overlayRef.getConfig();if(M){const It=this._viewportRuler.getViewportScrollPosition();Ie(y,this._getExactOverlayY(u,c,It)),Ie(y,this._getExactOverlayX(u,c,It))}else y.position="static";let yt="",pt=this._getOffset(u,"x"),Nt=this._getOffset(u,"y");pt&&(yt+=`translateX(${pt}px) `),Nt&&(yt+=`translateY(${Nt}px)`),y.transform=yt.trim(),et.maxHeight&&(M?y.maxHeight=(0,T.HM)(et.maxHeight):re&&(y.maxHeight="")),et.maxWidth&&(M?y.maxWidth=(0,T.HM)(et.maxWidth):re&&(y.maxWidth="")),Ie(this._pane.style,y)}_getExactOverlayY(c,u,y){let M={top:"",bottom:""},re=this._getOverlayPoint(u,this._overlayRect,c);return this._isPushed&&(re=this._pushOverlayOnScreen(re,this._overlayRect,y)),"bottom"===c.overlayY?M.bottom=this._document.documentElement.clientHeight-(re.y+this._overlayRect.height)+"px":M.top=(0,T.HM)(re.y),M}_getExactOverlayX(c,u,y){let et,M={left:"",right:""},re=this._getOverlayPoint(u,this._overlayRect,c);return this._isPushed&&(re=this._pushOverlayOnScreen(re,this._overlayRect,y)),et=this._isRtl()?"end"===c.overlayX?"left":"right":"end"===c.overlayX?"right":"left","right"===et?M.right=this._document.documentElement.clientWidth-(re.x+this._overlayRect.width)+"px":M.left=(0,T.HM)(re.x),M}_getScrollVisibility(){const c=this._getOriginRect(),u=this._pane.getBoundingClientRect(),y=this._scrollables.map(M=>M.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Q(c,y),isOriginOutsideView:H(c,y),isOverlayClipped:Q(u,y),isOverlayOutsideView:H(u,y)}}_subtractOverflows(c,...u){return u.reduce((y,M)=>y-Math.max(M,0),c)}_getNarrowedViewportRect(){const c=this._document.documentElement.clientWidth,u=this._document.documentElement.clientHeight,y=this._viewportRuler.getViewportScrollPosition();return{top:y.top+this._viewportMargin,left:y.left+this._viewportMargin,right:y.left+c-this._viewportMargin,bottom:y.top+u-this._viewportMargin,width:c-2*this._viewportMargin,height:u-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(c,u){return"x"===u?null==c.offsetX?this._offsetX:c.offsetX:null==c.offsetY?this._offsetY:c.offsetY}_validatePositions(){}_addPanelClasses(c){this._pane&&(0,T.Eq)(c).forEach(u=>{""!==u&&-1===this._appliedPanelClasses.indexOf(u)&&(this._appliedPanelClasses.push(u),this._pane.classList.add(u))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(c=>{this._pane.classList.remove(c)}),this._appliedPanelClasses=[])}_getOriginRect(){const c=this._origin;if(c instanceof g.SBq)return c.nativeElement.getBoundingClientRect();if(c instanceof Element)return c.getBoundingClientRect();const u=c.width||0,y=c.height||0;return{top:c.y,bottom:c.y+y,left:c.x,right:c.x+u,height:y,width:u}}}function Ie(n,c){for(let u in c)c.hasOwnProperty(u)&&(n[u]=c[u]);return n}function He(n){if("number"!=typeof n&&null!=n){const[c,u]=n.split(R);return u&&"px"!==u?null:parseFloat(c)}return n||null}function fe(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const Ce="cdk-global-overlay-wrapper";class Ve{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(c){const u=c.getConfig();this._overlayRef=c,this._width&&!u.width&&c.updateSize({width:this._width}),this._height&&!u.height&&c.updateSize({height:this._height}),c.hostElement.classList.add(Ce),this._isDisposed=!1}top(c=""){return this._bottomOffset="",this._topOffset=c,this._alignItems="flex-start",this}left(c=""){return this._rightOffset="",this._leftOffset=c,this._justifyContent="flex-start",this}bottom(c=""){return this._topOffset="",this._bottomOffset=c,this._alignItems="flex-end",this}right(c=""){return this._leftOffset="",this._rightOffset=c,this._justifyContent="flex-end",this}width(c=""){return this._overlayRef?this._overlayRef.updateSize({width:c}):this._width=c,this}height(c=""){return this._overlayRef?this._overlayRef.updateSize({height:c}):this._height=c,this}centerHorizontally(c=""){return this.left(c),this._justifyContent="center",this}centerVertically(c=""){return this.top(c),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const c=this._overlayRef.overlayElement.style,u=this._overlayRef.hostElement.style,y=this._overlayRef.getConfig(),{width:M,height:re,maxWidth:et,maxHeight:yt}=y,pt=!("100%"!==M&&"100vw"!==M||et&&"100%"!==et&&"100vw"!==et),Nt=!("100%"!==re&&"100vh"!==re||yt&&"100%"!==yt&&"100vh"!==yt);c.position=this._cssPosition,c.marginLeft=pt?"0":this._leftOffset,c.marginTop=Nt?"0":this._topOffset,c.marginBottom=this._bottomOffset,c.marginRight=this._rightOffset,pt?u.justifyContent="flex-start":"center"===this._justifyContent?u.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?u.justifyContent="flex-end":"flex-end"===this._justifyContent&&(u.justifyContent="flex-start"):u.justifyContent=this._justifyContent,u.alignItems=Nt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const c=this._overlayRef.overlayElement.style,u=this._overlayRef.hostElement,y=u.style;u.classList.remove(Ce),y.justifyContent=y.alignItems=c.marginTop=c.marginBottom=c.marginLeft=c.marginRight=c.position="",this._overlayRef=null,this._isDisposed=!0}}let Xe=(()=>{class n{constructor(u,y,M,re){this._viewportRuler=u,this._document=y,this._platform=M,this._overlayContainer=re}global(){return new Ve}flexibleConnectedTo(u){return new Oe(u,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(e.rL),g.LFG(f.K0),g.LFG(m.t4),g.LFG(Te))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tt=(()=>{class n{constructor(u){this._attachedOverlays=[],this._document=u}ngOnDestroy(){this.detach()}add(u){this.remove(u),this._attachedOverlays.push(u)}remove(u){const y=this._attachedOverlays.indexOf(u);y>-1&&this._attachedOverlays.splice(y,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rt=(()=>{class n extends tt{constructor(u){super(u),this._keydownListener=y=>{const M=this._attachedOverlays;for(let re=M.length-1;re>-1;re--)if(M[re]._keydownEvents.observers.length>0){M[re]._keydownEvents.next(y);break}}}add(u){super.add(u),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N=(()=>{class n extends tt{constructor(u,y){super(u),this._platform=y,this._cursorStyleIsSet=!1,this._pointerDownListener=M=>{this._pointerDownEventTarget=(0,m.sA)(M)},this._clickListener=M=>{const re=(0,m.sA)(M),et="click"===M.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:re;this._pointerDownEventTarget=null;const yt=this._attachedOverlays.slice();for(let pt=yt.length-1;pt>-1;pt--){const Nt=yt[pt];if(!(Nt._outsidePointerEvents.observers.length<1)&&Nt.hasAttached()){if(Nt.overlayElement.contains(re)||Nt.overlayElement.contains(et))break;Nt._outsidePointerEvents.next(M)}}}}add(u){if(super.add(u),!this._isAttached){const y=this._document.body;y.addEventListener("pointerdown",this._pointerDownListener,!0),y.addEventListener("click",this._clickListener,!0),y.addEventListener("auxclick",this._clickListener,!0),y.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=y.style.cursor,y.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const u=this._document.body;u.removeEventListener("pointerdown",this._pointerDownListener,!0),u.removeEventListener("click",this._clickListener,!0),u.removeEventListener("auxclick",this._clickListener,!0),u.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(u.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(f.K0),g.LFG(m.t4))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),he=0,D=(()=>{class n{constructor(u,y,M,re,et,yt,pt,Nt,It,Zt,mt){this.scrollStrategies=u,this._overlayContainer=y,this._componentFactoryResolver=M,this._positionBuilder=re,this._keyboardDispatcher=et,this._injector=yt,this._ngZone=pt,this._document=Nt,this._directionality=It,this._location=Zt,this._outsideClickDispatcher=mt}create(u){const y=this._createHostElement(),M=this._createPaneElement(y),re=this._createPortalOutlet(M),et=new ge(u);return et.direction=et.direction||this._directionality.value,new me(re,y,M,et,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(u){const y=this._document.createElement("div");return y.id="cdk-overlay-"+he++,y.classList.add("cdk-overlay-pane"),u.appendChild(y),y}_createHostElement(){const u=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(u),u}_createPortalOutlet(u){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new s.u0(u,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(u){return new(u||n)(g.LFG(se),g.LFG(Te),g.LFG(g._Vd),g.LFG(Xe),g.LFG(rt),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(f.K0),g.LFG(A.Is),g.LFG(f.Ye),g.LFG(N))},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac}),n})();const S=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],I=new g.OlP("cdk-connected-overlay-scroll-strategy");let P=(()=>{class n{constructor(u){this.elementRef=u}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(g.SBq))},n.\u0275dir=g.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),i=(()=>{class n{constructor(u,y,M,re,et){this._overlay=u,this._dir=et,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=O.w.EMPTY,this._attachSubscription=O.w.EMPTY,this._detachSubscription=O.w.EMPTY,this._positionSubscription=O.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new s.UE(y,M),this._scrollStrategyFactory=re,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(u){this._offsetX=u,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(u){this._offsetY=u,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(u){this._hasBackdrop=(0,T.Ig)(u)}get lockPosition(){return this._lockPosition}set lockPosition(u){this._lockPosition=(0,T.Ig)(u)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(u){this._flexibleDimensions=(0,T.Ig)(u)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(u){this._growAfterOpen=(0,T.Ig)(u)}get push(){return this._push}set push(u){this._push=(0,T.Ig)(u)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(u){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),u.origin&&this.open&&this._position.apply()),u.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=S);const u=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=u.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=u.detachments().subscribe(()=>this.detach.emit()),u.keydownEvents().subscribe(y=>{this.overlayKeydown.next(y),y.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(y)&&(y.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(y=>{this.overlayOutsideClick.next(y)})}_buildConfig(){const u=this._position=this.positionStrategy||this._createPositionStrategy(),y=new ge({direction:this._dir,positionStrategy:u,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(y.width=this.width),(this.height||0===this.height)&&(y.height=this.height),(this.minWidth||0===this.minWidth)&&(y.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(y.minHeight=this.minHeight),this.backdropClass&&(y.backdropClass=this.backdropClass),this.panelClass&&(y.panelClass=this.panelClass),y}_updatePositionStrategy(u){const y=this.positions.map(M=>({originX:M.originX,originY:M.originY,overlayX:M.overlayX,overlayY:M.overlayY,offsetX:M.offsetX||this.offsetX,offsetY:M.offsetY||this.offsetY,panelClass:M.panelClass||void 0}));return u.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(y).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const u=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(u),u}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof P?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(u=>{this.backdropClick.emit(u)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function k(n,c=!1){return u=>u.lift(new L(n,c))}(()=>this.positionChange.observers.length>0)).subscribe(u=>{this.positionChange.emit(u),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(u){return new(u||n)(g.Y36(D),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(I),g.Y36(A.Is,8))},n.\u0275dir=g.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[g.TTD]}),n})();const p={provide:I,deps:[D],useFactory:function r(n){return()=>n.scrollStrategies.reposition()}};let o=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({providers:[D,p],imports:[[A.vT,s.eL,e.Cl],e.Cl]}),n})()},70925:(Ke,be,d)=>{"use strict";d.d(be,{t4:()=>T,ud:()=>m,sA:()=>ke,ht:()=>de,kV:()=>Le,Oy:()=>ae,_i:()=>$,qK:()=>b,i$:()=>h,Mq:()=>V});var e=d(5e3),f=d(69808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(j){g=!1}let A,T=(()=>{class j{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&"undefined"!=typeof CSS&&!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}}return j.\u0275fac=function(Q){return new(Q||j)(e.LFG(e.Lbi))},j.\u0275prov=e.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),m=(()=>{class j{}return j.\u0275fac=function(Q){return new(Q||j)},j.\u0275mod=e.oAB({type:j}),j.\u0275inj=e.cJS({}),j})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(s),A;let j=document.createElement("input");return A=new Set(s.filter(H=>(j.setAttribute("type",H),j.type===H))),A}let O,k,L,ue;function h(j){return function E(){if(null==O&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>O=!0}))}finally{O=O||!1}return O}()?j:!!j.capture}function V(){if(null==L){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return L=!1,L;if("scrollBehavior"in document.documentElement.style)L=!0;else{const j=Element.prototype.scrollTo;L=!!j&&!/\{\s*\[native code\]\s*\}/.test(j.toString())}}return L}function $(){if("object"!=typeof document||!document)return 0;if(null==k){const j=document.createElement("div"),H=j.style;j.dir="rtl",H.width="1px",H.overflow="auto",H.visibility="hidden",H.pointerEvents="none",H.position="absolute";const Q=document.createElement("div"),te=Q.style;te.width="2px",te.height="1px",j.appendChild(Q),document.body.appendChild(j),k=0,0===j.scrollLeft&&(j.scrollLeft=1,k=0===j.scrollLeft?1:2),j.remove()}return k}function Le(j){if(function ce(){if(null==ue){const j="undefined"!=typeof document?document.head:null;ue=!(!j||!j.createShadowRoot&&!j.attachShadow)}return ue}()){const H=j.getRootNode?j.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&H instanceof ShadowRoot)return H}return null}function de(){let j="undefined"!=typeof document&&document?document.activeElement:null;for(;j&&j.shadowRoot;){const H=j.shadowRoot.activeElement;if(H===j)break;j=H}return j}function ke(j){return j.composedPath?j.composedPath()[0]:j.target}function ae(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},47429:(Ke,be,d)=>{"use strict";d.d(be,{en:()=>L,ig:()=>ce,Pl:()=>de,C5:()=>E,u0:()=>$,eL:()=>ae,UE:()=>h});var e=d(5e3),f=d(69808);class O{attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class E extends O{constructor(Q,te,se,ge){super(),this.component=Q,this.viewContainerRef=te,this.injector=se,this.componentFactoryResolver=ge}}class h extends O{constructor(Q,te,se){super(),this.templateRef=Q,this.viewContainerRef=te,this.context=se}get origin(){return this.templateRef.elementRef}attach(Q,te=this.context){return this.context=te,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class k extends O{constructor(Q){super(),this.element=Q instanceof e.SBq?Q.nativeElement:Q}}class L{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof E?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof h?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof k?(this._attachedPortal=Q,this.attachDomPortal(Q)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class $ extends L{constructor(Q,te,se,ge,Ne){super(),this.outletElement=Q,this._componentFactoryResolver=te,this._appRef=se,this._defaultInjector=ge,this.attachDomPortal=Fe=>{const ne=Fe.element,Me=this._document.createComment("dom-portal");ne.parentNode.insertBefore(Me,ne),this.outletElement.appendChild(ne),this._attachedPortal=Fe,super.setDisposeFn(()=>{Me.parentNode&&Me.parentNode.replaceChild(ne,Me)})},this._document=Ne}attachComponentPortal(Q){const se=(Q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Q.component);let ge;return Q.viewContainerRef?(ge=Q.viewContainerRef.createComponent(se,Q.viewContainerRef.length,Q.injector||Q.viewContainerRef.injector),this.setDisposeFn(()=>ge.destroy())):(ge=se.create(Q.injector||this._defaultInjector),this._appRef.attachView(ge.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ge.hostView),ge.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ge)),this._attachedPortal=Q,ge}attachTemplatePortal(Q){let te=Q.viewContainerRef,se=te.createEmbeddedView(Q.templateRef,Q.context);return se.rootNodes.forEach(ge=>this.outletElement.appendChild(ge)),se.detectChanges(),this.setDisposeFn(()=>{let ge=te.indexOf(se);-1!==ge&&te.remove(ge)}),this._attachedPortal=Q,se}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let ce=(()=>{class H extends h{constructor(te,se){super(te,se)}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(e.Rgc),e.Y36(e.s_b))},H.\u0275dir=e.lG2({type:H,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),H})(),de=(()=>{class H extends L{constructor(te,se,ge){super(),this._componentFactoryResolver=te,this._viewContainerRef=se,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Ne=>{const Fe=Ne.element,ne=this._document.createComment("dom-portal");Ne.setAttachedHost(this),Fe.parentNode.insertBefore(ne,Fe),this._getRootNode().appendChild(Fe),this._attachedPortal=Ne,super.setDisposeFn(()=>{ne.parentNode&&ne.parentNode.replaceChild(Fe,ne)})},this._document=ge}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(te){te.setAttachedHost(this);const se=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,Ne=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),Fe=se.createComponent(Ne,se.length,te.injector||se.injector);return se!==this._viewContainerRef&&this._getRootNode().appendChild(Fe.hostView.rootNodes[0]),super.setDisposeFn(()=>Fe.destroy()),this._attachedPortal=te,this._attachedRef=Fe,this.attached.emit(Fe),Fe}attachTemplatePortal(te){te.setAttachedHost(this);const se=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=se,this.attached.emit(se),se}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(f.K0))},H.\u0275dir=e.lG2({type:H,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=e.oAB({type:H}),H.\u0275inj=e.cJS({}),H})()},53435:(Ke,be,d)=>{"use strict";d.d(be,{xd:()=>Me,PQ:()=>Te,ZD:()=>Ve,x0:()=>Ce,N7:()=>He,mF:()=>me,Cl:()=>Xe,rL:()=>R});var e=d(63191),f=d(5e3),g=d(8929),T=d(21086),m=d(32916),A=d(23753),s=d(90352),b=d(8139),O=d(42654),E=d(54715),h=d(43489);class L{call(rt,N){return N.subscribe(new V(rt))}}class V extends h.L{constructor(rt){super(rt),this.hasPrev=!1}_next(rt){let N;this.hasPrev?N=[this.prev,rt]:this.hasPrev=!0,this.prev=rt,N&&this.destination.next(N)}}var $=d(75778),ue=d(57138),ce=d(92198),Le=d(7625),de=d(1059),ke=d(87545),ae=d(5154),j=d(69808),H=d(70925),Q=d(50226),te=d(20449);const se=["contentWrapper"],ge=["*"],Ne=new f.OlP("VIRTUAL_SCROLL_STRATEGY");class Fe{constructor(rt,N,he){this._scrolledIndexChange=new g.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,$.x)()),this._viewport=null,this._itemSize=rt,this._minBufferPx=N,this._maxBufferPx=he}attach(rt){this._viewport=rt,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(rt,N,he){this._itemSize=rt,this._minBufferPx=N,this._maxBufferPx=he,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(rt,N){this._viewport&&this._viewport.scrollToOffset(rt*this._itemSize,N)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const rt=this._viewport.getRenderedRange(),N={start:rt.start,end:rt.end},he=this._viewport.getViewportSize(),D=this._viewport.getDataLength();let S=this._viewport.measureScrollOffset(),I=this._itemSize>0?S/this._itemSize:0;if(N.end>D){const i=Math.ceil(he/this._itemSize),r=Math.max(0,Math.min(I,D-i));I!=r&&(I=r,S=r*this._itemSize,N.start=Math.floor(I)),N.end=Math.max(0,Math.min(D,N.start+i))}const P=S-N.start*this._itemSize;if(P0&&(N.end=Math.min(D,N.end+r),N.start=Math.max(0,Math.floor(I-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(N),this._viewport.setRenderedContentOffset(this._itemSize*N.start),this._scrolledIndexChange.next(Math.floor(I))}}function ne(tt){return tt._scrollStrategy}let Me=(()=>{class tt{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Fe(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(N){this._itemSize=(0,e.su)(N)}get minBufferPx(){return this._minBufferPx}set minBufferPx(N){this._minBufferPx=(0,e.su)(N)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(N){this._maxBufferPx=(0,e.su)(N)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=f.lG2({type:tt,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[f._Bn([{provide:Ne,useFactory:ne,deps:[(0,f.Gpc)(()=>tt)]}]),f.TTD]}),tt})(),me=(()=>{class tt{constructor(N,he,D){this._ngZone=N,this._platform=he,this._scrolled=new g.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=D}register(N){this.scrollContainers.has(N)||this.scrollContainers.set(N,N.elementScrolled().subscribe(()=>this._scrolled.next(N)))}deregister(N){const he=this.scrollContainers.get(N);he&&(he.unsubscribe(),this.scrollContainers.delete(N))}scrolled(N=20){return this._platform.isBrowser?new m.y(he=>{this._globalSubscription||this._addGlobalListener();const D=N>0?this._scrolled.pipe((0,ue.e)(N)).subscribe(he):this._scrolled.subscribe(he);return this._scrolledCount++,()=>{D.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((N,he)=>this.deregister(he)),this._scrolled.complete()}ancestorScrolled(N,he){const D=this.getAncestorScrollContainers(N);return this.scrolled(he).pipe((0,ce.h)(S=>!S||D.indexOf(S)>-1))}getAncestorScrollContainers(N){const he=[];return this.scrollContainers.forEach((D,S)=>{this._scrollableContainsElement(S,N)&&he.push(S)}),he}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(N,he){let D=(0,e.fI)(he),S=N.getElementRef().nativeElement;do{if(D==S)return!0}while(D=D.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const N=this._getWindow();return(0,A.R)(N.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return tt.\u0275fac=function(N){return new(N||tt)(f.LFG(f.R0b),f.LFG(H.t4),f.LFG(j.K0,8))},tt.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Te=(()=>{class tt{constructor(N,he,D,S){this.elementRef=N,this.scrollDispatcher=he,this.ngZone=D,this.dir=S,this._destroyed=new g.xQ,this._elementScrolled=new m.y(I=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,Le.R)(this._destroyed)).subscribe(I)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(N){const he=this.elementRef.nativeElement,D=this.dir&&"rtl"==this.dir.value;null==N.left&&(N.left=D?N.end:N.start),null==N.right&&(N.right=D?N.start:N.end),null!=N.bottom&&(N.top=he.scrollHeight-he.clientHeight-N.bottom),D&&0!=(0,H._i)()?(null!=N.left&&(N.right=he.scrollWidth-he.clientWidth-N.left),2==(0,H._i)()?N.left=N.right:1==(0,H._i)()&&(N.left=N.right?-N.right:N.right)):null!=N.right&&(N.left=he.scrollWidth-he.clientWidth-N.right),this._applyScrollToOptions(N)}_applyScrollToOptions(N){const he=this.elementRef.nativeElement;(0,H.Mq)()?he.scrollTo(N):(null!=N.top&&(he.scrollTop=N.top),null!=N.left&&(he.scrollLeft=N.left))}measureScrollOffset(N){const he="left",D="right",S=this.elementRef.nativeElement;if("top"==N)return S.scrollTop;if("bottom"==N)return S.scrollHeight-S.clientHeight-S.scrollTop;const I=this.dir&&"rtl"==this.dir.value;return"start"==N?N=I?D:he:"end"==N&&(N=I?he:D),I&&2==(0,H._i)()?N==he?S.scrollWidth-S.clientWidth-S.scrollLeft:S.scrollLeft:I&&1==(0,H._i)()?N==he?S.scrollLeft+S.scrollWidth-S.clientWidth:-S.scrollLeft:N==he?S.scrollLeft:S.scrollWidth-S.clientWidth-S.scrollLeft}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.SBq),f.Y36(me),f.Y36(f.R0b),f.Y36(Q.Is,8))},tt.\u0275dir=f.lG2({type:tt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),tt})(),R=(()=>{class tt{constructor(N,he,D){this._platform=N,this._change=new g.xQ,this._changeListener=S=>{this._change.next(S)},this._document=D,he.runOutsideAngular(()=>{if(N.isBrowser){const S=this._getWindow();S.addEventListener("resize",this._changeListener),S.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const N=this._getWindow();N.removeEventListener("resize",this._changeListener),N.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const N={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),N}getViewportRect(){const N=this.getViewportScrollPosition(),{width:he,height:D}=this.getViewportSize();return{top:N.top,left:N.left,bottom:N.top+D,right:N.left+he,height:D,width:he}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const N=this._document,he=this._getWindow(),D=N.documentElement,S=D.getBoundingClientRect();return{top:-S.top||N.body.scrollTop||he.scrollY||D.scrollTop||0,left:-S.left||N.body.scrollLeft||he.scrollX||D.scrollLeft||0}}change(N=20){return N>0?this._change.pipe((0,ue.e)(N)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const N=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:N.innerWidth,height:N.innerHeight}:{width:0,height:0}}}return tt.\u0275fac=function(N){return new(N||tt)(f.LFG(H.t4),f.LFG(f.R0b),f.LFG(j.K0,8))},tt.\u0275prov=f.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();const Ie="undefined"!=typeof requestAnimationFrame?s.r:b.e;let He=(()=>{class tt extends Te{constructor(N,he,D,S,I,P,i){super(N,P,D,I),this.elementRef=N,this._changeDetectorRef=he,this._scrollStrategy=S,this._detachedSubject=new g.xQ,this._renderedRangeSubject=new g.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new m.y(r=>this._scrollStrategy.scrolledIndexChange.subscribe(p=>Promise.resolve().then(()=>this.ngZone.run(()=>r.next(p))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=O.w.EMPTY,this._viewportChanges=i.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(N){this._orientation!==N&&(this._orientation=N,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(N){this._appendOnly=(0,e.Ig)(N)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,de.O)(null),(0,ue.e)(0,Ie)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(N){this.ngZone.runOutsideAngular(()=>{this._forOf=N,this._forOf.dataStream.pipe((0,Le.R)(this._detachedSubject)).subscribe(he=>{const D=he.length;D!==this._dataLength&&(this._dataLength=D,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(N){this._totalContentSize!==N&&(this._totalContentSize=N,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(N){(function Oe(tt,rt){return tt.start==rt.start&&tt.end==rt.end})(this._renderedRange,N)||(this.appendOnly&&(N={start:0,end:Math.max(this._renderedRange.end,N.end)}),this._renderedRangeSubject.next(this._renderedRange=N),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(N,he="to-start"){const S="horizontal"==this.orientation,I=S?"X":"Y";let i=`translate${I}(${Number((S&&this.dir&&"rtl"==this.dir.value?-1:1)*N)}px)`;this._renderedContentOffset=N=this.appendOnly&&"to-start"===he?0:N,"to-end"===he&&(i+=` translate${I}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=i&&(this._renderedContentTransform=i,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(N,he="auto"){const D={behavior:he};"horizontal"===this.orientation?D.start=N:D.top=N,this.scrollTo(D)}scrollToIndex(N,he="auto"){this._scrollStrategy.scrollToIndex(N,he)}measureScrollOffset(N){return super.measureScrollOffset(N||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const N=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?N.offsetWidth:N.offsetHeight}measureRangeSize(N){return this._forOf?this._forOf.measureRangeSize(N,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const N=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?N.clientWidth:N.clientHeight}_markChangeDetectionNeeded(N){N&&this._runAfterChangeDetection.push(N),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const N=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const he of N)he()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(f.R0b),f.Y36(Ne,8),f.Y36(Q.Is,8),f.Y36(me),f.Y36(R))},tt.\u0275cmp=f.Xpm({type:tt,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(N,he){if(1&N&&f.Gf(se,7),2&N){let D;f.iGM(D=f.CRH())&&(he._contentWrapper=D.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(N,he){2&N&&f.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===he.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==he.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[f._Bn([{provide:Te,useExisting:tt}]),f.qOj],ngContentSelectors:ge,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(N,he){1&N&&(f.F$t(),f.TgZ(0,"div",0,1),f.Hsn(2),f.qZA(),f._UZ(3,"div",2)),2&N&&(f.xp6(3),f.Udp("width",he._totalContentWidth)("height",he._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),tt})();function fe(tt,rt,N){if(!N.getBoundingClientRect)return 0;const D=N.getBoundingClientRect();return"horizontal"===tt?"start"===rt?D.left:D.right:"start"===rt?D.top:D.bottom}let Ce=(()=>{class tt{constructor(N,he,D,S,I,P){this._viewContainerRef=N,this._template=he,this._differs=D,this._viewRepeater=S,this._viewport=I,this.viewChange=new g.xQ,this._dataSourceChanges=new g.xQ,this.dataStream=this._dataSourceChanges.pipe((0,de.O)(null),function k(){return tt=>tt.lift(new L)}(),(0,ke.w)(([i,r])=>this._changeDataSource(i,r)),(0,ae.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.xQ,this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Le.R)(this._destroyed)).subscribe(i=>{this._renderedRange=i,P.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(N){this._cdkVirtualForOf=N,(0,te.Z9)(N)?this._dataSourceChanges.next(N):this._dataSourceChanges.next(new te.P3((0,E.b)(N)?N:Array.from(N||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(N){this._needsUpdate=!0,this._cdkVirtualForTrackBy=N?(he,D)=>N(he+(this._renderedRange?this._renderedRange.start:0),D):void 0}set cdkVirtualForTemplate(N){N&&(this._needsUpdate=!0,this._template=N)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(N){this._viewRepeater.viewCacheSize=(0,e.su)(N)}measureRangeSize(N,he){if(N.start>=N.end)return 0;const D=N.start-this._renderedRange.start,S=N.end-N.start;let I,P;for(let i=0;i-1;i--){const r=this._viewContainerRef.get(i+D);if(r&&r.rootNodes.length){P=r.rootNodes[r.rootNodes.length-1];break}}return I&&P?fe(he,"end",P)-fe(he,"start",I):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const N=this._differ.diff(this._renderedItems);N?this._applyChanges(N):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((N,he)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(N,he):he)),this._needsUpdate=!0)}_changeDataSource(N,he){return N&&N.disconnect(this),this._needsUpdate=!0,he?he.connect(this):(0,T.of)()}_updateContext(){const N=this._data.length;let he=this._viewContainerRef.length;for(;he--;){const D=this._viewContainerRef.get(he);D.context.index=this._renderedRange.start+he,D.context.count=N,this._updateComputedContextProperties(D.context),D.detectChanges()}}_applyChanges(N){this._viewRepeater.applyChanges(N,this._viewContainerRef,(S,I,P)=>this._getEmbeddedViewArgs(S,P),S=>S.item),N.forEachIdentityChange(S=>{this._viewContainerRef.get(S.currentIndex).context.$implicit=S.item});const he=this._data.length;let D=this._viewContainerRef.length;for(;D--;){const S=this._viewContainerRef.get(D);S.context.index=this._renderedRange.start+D,S.context.count=he,this._updateComputedContextProperties(S.context)}}_updateComputedContextProperties(N){N.first=0===N.index,N.last=N.index===N.count-1,N.even=N.index%2==0,N.odd=!N.even}_getEmbeddedViewArgs(N,he){return{templateRef:this._template,context:{$implicit:N.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:he}}}return tt.\u0275fac=function(N){return new(N||tt)(f.Y36(f.s_b),f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(te.k),f.Y36(He,4),f.Y36(f.R0b))},tt.\u0275dir=f.lG2({type:tt,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[f._Bn([{provide:te.k,useClass:te.eX}])]}),tt})(),Ve=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=f.oAB({type:tt}),tt.\u0275inj=f.cJS({}),tt})(),Xe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=f.oAB({type:tt}),tt.\u0275inj=f.cJS({imports:[[Q.vT,H.ud,Ve],Q.vT,Ve]}),tt})()},74533:(Ke,be,d)=>{"use strict";d.d(be,{Lq:()=>h,IC:()=>L,Ky:()=>V});var e=d(70925),f=d(5e3),g=d(63191),T=d(68896),m=d(8929),A=d(23753),s=d(57138),b=d(7625),O=d(69808);const E=(0,e.i$)({passive:!0});let h=(()=>{class ${constructor(ce,Le){this._platform=ce,this._ngZone=Le,this._monitoredElements=new Map}monitor(ce){if(!this._platform.isBrowser)return T.E;const Le=(0,g.fI)(ce),de=this._monitoredElements.get(Le);if(de)return de.subject;const ke=new m.xQ,ae="cdk-text-field-autofilled",j=H=>{"cdk-text-field-autofill-start"!==H.animationName||Le.classList.contains(ae)?"cdk-text-field-autofill-end"===H.animationName&&Le.classList.contains(ae)&&(Le.classList.remove(ae),this._ngZone.run(()=>ke.next({target:H.target,isAutofilled:!1}))):(Le.classList.add(ae),this._ngZone.run(()=>ke.next({target:H.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Le.addEventListener("animationstart",j,E),Le.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Le,{subject:ke,unlisten:()=>{Le.removeEventListener("animationstart",j,E)}}),ke}stopMonitoring(ce){const Le=(0,g.fI)(ce),de=this._monitoredElements.get(Le);de&&(de.unlisten(),de.subject.complete(),Le.classList.remove("cdk-text-field-autofill-monitored"),Le.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Le))}ngOnDestroy(){this._monitoredElements.forEach((ce,Le)=>this.stopMonitoring(Le))}}return $.\u0275fac=function(ce){return new(ce||$)(f.LFG(e.t4),f.LFG(f.R0b))},$.\u0275prov=f.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),L=(()=>{class ${constructor(ce,Le,de,ke){this._elementRef=ce,this._platform=Le,this._ngZone=de,this._destroyed=new m.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=ae=>{this._hasFocus="focus"===ae.type},this._document=ke,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(ce){this._minRows=(0,g.su)(ce),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(ce){this._maxRows=(0,g.su)(ce),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(ce){ce=(0,g.Ig)(ce),this._enabled!==ce&&((this._enabled=ce)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(ce){this._cachedPlaceholderHeight=void 0,ce?this._textareaElement.setAttribute("placeholder",ce):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const ce=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;ce&&(this._textareaElement.style.minHeight=ce)}_setMaxHeight(){const ce=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;ce&&(this._textareaElement.style.maxHeight=ce)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const ce=this._getWindow();(0,A.R)(ce,"resize").pipe((0,s.e)(16),(0,b.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let ce=this._textareaElement.cloneNode(!1);ce.rows=1,ce.style.position="absolute",ce.style.visibility="hidden",ce.style.border="none",ce.style.padding="0",ce.style.height="",ce.style.minHeight="",ce.style.maxHeight="",ce.style.overflow="hidden",this._textareaElement.parentNode.appendChild(ce),this._cachedLineHeight=ce.clientHeight,ce.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const ce=this._textareaElement,Le=ce.style.marginBottom||"",de=this._platform.FIREFOX,ke=de&&this._hasFocus,ae=de?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ke&&(ce.style.marginBottom=`${ce.clientHeight}px`),ce.classList.add(ae);const j=ce.scrollHeight-4;return ce.classList.remove(ae),ke&&(ce.style.marginBottom=Le),j}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const ce=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=ce}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(ce=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Le=this._elementRef.nativeElement,de=Le.value;if(!ce&&this._minRows===this._previousMinRows&&de===this._previousValue)return;const ke=this._measureScrollHeight(),ae=Math.max(ke,this._cachedPlaceholderHeight||0);Le.style.height=`${ae}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Le)):setTimeout(()=>this._scrollToCaretPosition(Le))}),this._previousValue=de,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(ce){const{selectionStart:Le,selectionEnd:de}=ce;!this._destroyed.isStopped&&this._hasFocus&&ce.setSelectionRange(Le,de)}}return $.\u0275fac=function(ce){return new(ce||$)(f.Y36(f.SBq),f.Y36(e.t4),f.Y36(f.R0b),f.Y36(O.K0,8))},$.\u0275dir=f.lG2({type:$,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ce,Le){1&ce&&f.NdJ("input",function(){return Le._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),$})(),V=(()=>{class ${}return $.\u0275fac=function(ce){return new(ce||$)},$.\u0275mod=f.oAB({type:$}),$.\u0275inj=f.cJS({imports:[[e.ud]]}),$})()},28258:(Ke,be,d)=>{"use strict";d.d(be,{HI:()=>$,Xx:()=>Ne,_0:()=>Q,nZ:()=>me,Hs:()=>te,rO:()=>Le,cu:()=>ue,XJ:()=>ne,Ud:()=>Me,C2:()=>L,VY:()=>V});var e=d(20449),f=d(54715),g=d(8929),T=d(591),m=d(21086),A=d(72986),s=d(92198),b=d(7625),O=d(5e3),E=d(63191),h=d(50226);class k{constructor(){this.expansionModel=new e.Ov(!0)}toggle(ee){this.expansionModel.toggle(this._trackByValue(ee))}expand(ee){this.expansionModel.select(this._trackByValue(ee))}collapse(ee){this.expansionModel.deselect(this._trackByValue(ee))}isExpanded(ee){return this.expansionModel.isSelected(this._trackByValue(ee))}toggleDescendants(ee){this.expansionModel.isSelected(this._trackByValue(ee))?this.collapseDescendants(ee):this.expandDescendants(ee)}collapseAll(){this.expansionModel.clear()}expandDescendants(ee){let R=[ee];R.push(...this.getDescendants(ee)),this.expansionModel.select(...R.map(Oe=>this._trackByValue(Oe)))}collapseDescendants(ee){let R=[ee];R.push(...this.getDescendants(ee)),this.expansionModel.deselect(...R.map(Oe=>this._trackByValue(Oe)))}_trackByValue(ee){return this.trackBy?this.trackBy(ee):ee}}class L extends k{constructor(ee,R,Oe){super(),this.getLevel=ee,this.isExpandable=R,this.options=Oe,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(ee){const Oe=[];for(let Ie=this.dataNodes.indexOf(ee)+1;Iethis._trackByValue(ee)))}}class V extends k{constructor(ee,R){super(),this.getChildren=ee,this.options=R,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const ee=this.dataNodes.reduce((R,Oe)=>[...R,...this.getDescendants(Oe),Oe],[]);this.expansionModel.select(...ee.map(R=>this._trackByValue(R)))}getDescendants(ee){const R=[];return this._getDescendants(R,ee),R.splice(1)}_getDescendants(ee,R){ee.push(R);const Oe=this.getChildren(R);Array.isArray(Oe)?Oe.forEach(Ie=>this._getDescendants(ee,Ie)):(0,f.b)(Oe)&&Oe.pipe((0,A.q)(1),(0,s.h)(Boolean)).subscribe(Ie=>{for(const He of Ie)this._getDescendants(ee,He)})}}const $=new O.OlP("CDK_TREE_NODE_OUTLET_NODE");let ue=(()=>{class Te{constructor(R,Oe){this.viewContainer=R,this._node=Oe}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.s_b),O.Y36($,8))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeOutlet",""]]}),Te})();class ce{constructor(ee){this.$implicit=ee}}let Le=(()=>{class Te{constructor(R){this.template=R}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.Rgc))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Te})(),Q=(()=>{class Te{constructor(R,Oe){this._differs=R,this._changeDetectorRef=Oe,this._onDestroy=new g.xQ,this._levels=new Map,this.viewChange=new T.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(R){this._dataSource!==R&&this._switchDataSource(R)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const R=this._nodeDefs.filter(Oe=>!Oe.when);this._defaultNodeDef=R[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(R){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),R||this._nodeOutlet.viewContainer.clear(),this._dataSource=R,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let R;(0,e.Z9)(this._dataSource)?R=this._dataSource.connect(this):(0,f.b)(this._dataSource)?R=this._dataSource:Array.isArray(this._dataSource)&&(R=(0,m.of)(this._dataSource)),R&&(this._dataSubscription=R.pipe((0,b.R)(this._onDestroy)).subscribe(Oe=>this.renderNodeChanges(Oe)))}renderNodeChanges(R,Oe=this._dataDiffer,Ie=this._nodeOutlet.viewContainer,He){const fe=Oe.diff(R);!fe||(fe.forEachOperation((Ce,Ve,Xe)=>{if(null==Ce.previousIndex)this.insertNode(R[Xe],Xe,Ie,He);else if(null==Xe)Ie.remove(Ve),this._levels.delete(Ce.item);else{const tt=Ie.get(Ve);Ie.move(tt,Xe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(R,Oe){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(He=>He.when&&He.when(Oe,R))||this._defaultNodeDef}insertNode(R,Oe,Ie,He){const fe=this._getNodeDef(R,Oe),Ce=new ce(R);Ce.level=this.treeControl.getLevel?this.treeControl.getLevel(R):void 0!==He&&this._levels.has(He)?this._levels.get(He)+1:0,this._levels.set(R,Ce.level),(Ie||this._nodeOutlet.viewContainer).createEmbeddedView(fe.template,Ce,Oe),te.mostRecentTreeNode&&(te.mostRecentTreeNode.data=R)}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.ZZ4),O.Y36(O.sBO))},Te.\u0275cmp=O.Xpm({type:Te,selectors:[["cdk-tree"]],contentQueries:function(R,Oe,Ie){if(1&R&&O.Suo(Ie,Le,5),2&R){let He;O.iGM(He=O.CRH())&&(Oe._nodeDefs=He)}},viewQuery:function(R,Oe){if(1&R&&O.Gf(ue,7),2&R){let Ie;O.iGM(Ie=O.CRH())&&(Oe._nodeOutlet=Ie.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(R,Oe){1&R&&O.GkF(0,0)},directives:[ue],encapsulation:2}),Te})(),te=(()=>{class Te{constructor(R,Oe){this._elementRef=R,this._tree=Oe,this._destroyed=new g.xQ,this._dataChanges=new g.xQ,Te.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(R){this._elementRef.nativeElement.setAttribute("role",R)}get data(){return this._data}set data(R){R!==this._data&&(this._data=R,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function se(Te){let ee=Te.parentElement;for(;ee&&!ge(ee);)ee=ee.parentElement;return ee?ee.classList.contains("cdk-nested-tree-node")?(0,E.su)(ee.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Te.mostRecentTreeNode===this&&(Te.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Te.mostRecentTreeNode=null,Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.SBq),O.Y36(Q))},Te.\u0275dir=O.lG2({type:Te,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(R,Oe){2&R&&O.uIk("aria-expanded",Oe.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Te})();function ge(Te){const ee=Te.classList;return!(!(null==ee?void 0:ee.contains("cdk-nested-tree-node"))&&!(null==ee?void 0:ee.contains("cdk-tree")))}let Ne=(()=>{class Te extends te{constructor(R,Oe,Ie){super(R,Oe),this._differs=Ie}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const R=this._tree.treeControl.getChildren(this.data);Array.isArray(R)?this.updateChildrenNodes(R):(0,f.b)(R)&&R.pipe((0,b.R)(this._destroyed)).subscribe(Oe=>this.updateChildrenNodes(Oe)),this.nodeOutlet.changes.pipe((0,b.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(R){const Oe=this._getNodeOutlet();R&&(this._children=R),Oe&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,Oe.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const R=this._getNodeOutlet();R&&(R.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const R=this.nodeOutlet;return R&&R.find(Oe=>!Oe._node||Oe._node===this)}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(O.SBq),O.Y36(Q),O.Y36(O.ZZ4))},Te.\u0275dir=O.lG2({type:Te,selectors:[["cdk-nested-tree-node"]],contentQueries:function(R,Oe,Ie){if(1&R&&O.Suo(Ie,ue,5),2&R){let He;O.iGM(He=O.CRH())&&(Oe.nodeOutlet=He)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[O._Bn([{provide:te,useExisting:Te},{provide:$,useExisting:Te}]),O.qOj]}),Te})();const Fe=/([A-Za-z%]+)$/;let ne=(()=>{class Te{constructor(R,Oe,Ie,He){this._treeNode=R,this._tree=Oe,this._element=Ie,this._dir=He,this._destroyed=new g.xQ,this.indentUnits="px",this._indent=40,this._setPadding(),He&&He.change.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),R._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(R){this._setLevelInput(R)}get indent(){return this._indent}set indent(R){this._setIndentInput(R)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const R=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,Oe=null==this._level?R:this._level;return"number"==typeof Oe?`${Oe*this._indent}${this.indentUnits}`:null}_setPadding(R=!1){const Oe=this._paddingIndent();if(Oe!==this._currentPadding||R){const Ie=this._element.nativeElement,He=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",fe="paddingLeft"===He?"paddingRight":"paddingLeft";Ie.style[He]=Oe||"",Ie.style[fe]="",this._currentPadding=Oe}}_setLevelInput(R){this._level=(0,E.su)(R,null),this._setPadding()}_setIndentInput(R){let Oe=R,Ie="px";if("string"==typeof R){const He=R.split(Fe);Oe=He[0],Ie=He[1]||Ie}this.indentUnits=Ie,this._indent=(0,E.su)(Oe),this._setPadding()}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(te),O.Y36(Q),O.Y36(O.SBq),O.Y36(h.Is,8))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Te})(),Me=(()=>{class Te{constructor(R,Oe){this._tree=R,this._treeNode=Oe,this._recursive=!1}get recursive(){return this._recursive}set recursive(R){this._recursive=(0,E.Ig)(R)}_toggle(R){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),R.stopPropagation()}}return Te.\u0275fac=function(R){return new(R||Te)(O.Y36(Q),O.Y36(te))},Te.\u0275dir=O.lG2({type:Te,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(R,Oe){1&R&&O.NdJ("click",function(He){return Oe._toggle(He)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Te})(),me=(()=>{class Te{}return Te.\u0275fac=function(R){return new(R||Te)},Te.\u0275mod=O.oAB({type:Te}),Te.\u0275inj=O.cJS({}),Te})()},69808:(Ke,be,d)=>{"use strict";d.d(be,{mr:()=>de,Ov:()=>In,ez:()=>Hn,K0:()=>s,uU:()=>Gn,Do:()=>ae,V_:()=>E,Ye:()=>j,S$:()=>ce,i8:()=>Wi,mk:()=>bi,sg:()=>Ni,O5:()=>Pi,PC:()=>we,RF:()=>sn,n9:()=>qi,ED:()=>Ct,tP:()=>ct,b0:()=>ke,lw:()=>b,gd:()=>kn,EM:()=>ot,JF:()=>ft,p6:()=>Nt,NF:()=>_n,PM:()=>es,w_:()=>A,bD:()=>hs,q:()=>g,Mx:()=>Ri,HT:()=>m});var e=d(5e3);let f=null;function g(){return f}function m(q){f||(f=q)}class A{}const s=new e.OlP("DocumentToken");let b=(()=>{class q{historyGo(ie){throw new Error("Not implemented")}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275prov=e.Yz7({token:q,factory:function(){return function O(){return(0,e.LFG)(h)}()},providedIn:"platform"}),q})();const E=new e.OlP("Location Initialized");let h=(()=>{class q extends b{constructor(ie){super(),this._doc=ie,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(ie){const Ge=g().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("popstate",ie,!1),()=>Ge.removeEventListener("popstate",ie)}onHashChange(ie){const Ge=g().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("hashchange",ie,!1),()=>Ge.removeEventListener("hashchange",ie)}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(ie){this.location.pathname=ie}pushState(ie,Ge,bt){k()?this._history.pushState(ie,Ge,bt):this.location.hash=bt}replaceState(ie,Ge,bt){k()?this._history.replaceState(ie,Ge,bt):this.location.hash=bt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ie=0){this._history.go(ie)}getState(){return this._history.state}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(s))},q.\u0275prov=e.Yz7({token:q,factory:function(){return function L(){return new h((0,e.LFG)(s))}()},providedIn:"platform"}),q})();function k(){return!!window.history.pushState}function V(q,De){if(0==q.length)return De;if(0==De.length)return q;let ie=0;return q.endsWith("/")&&ie++,De.startsWith("/")&&ie++,2==ie?q+De.substring(1):1==ie?q+De:q+"/"+De}function $(q){const De=q.match(/#|\?|$/),ie=De&&De.index||q.length;return q.slice(0,ie-("/"===q[ie-1]?1:0))+q.slice(ie)}function ue(q){return q&&"?"!==q[0]?"?"+q:q}let ce=(()=>{class q{historyGo(ie){throw new Error("Not implemented")}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275prov=e.Yz7({token:q,factory:function(){return function Le(q){const De=(0,e.LFG)(s).location;return new ke((0,e.LFG)(b),De&&De.origin||"")}()},providedIn:"root"}),q})();const de=new e.OlP("appBaseHref");let ke=(()=>{class q extends ce{constructor(ie,Ge){if(super(),this._platformLocation=ie,this._removeListenerFns=[],null==Ge&&(Ge=this._platformLocation.getBaseHrefFromDOM()),null==Ge)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Ge}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ie){this._removeListenerFns.push(this._platformLocation.onPopState(ie),this._platformLocation.onHashChange(ie))}getBaseHref(){return this._baseHref}prepareExternalUrl(ie){return V(this._baseHref,ie)}path(ie=!1){const Ge=this._platformLocation.pathname+ue(this._platformLocation.search),bt=this._platformLocation.hash;return bt&&ie?`${Ge}${bt}`:Ge}pushState(ie,Ge,bt,Ft){const jt=this.prepareExternalUrl(bt+ue(Ft));this._platformLocation.pushState(ie,Ge,jt)}replaceState(ie,Ge,bt,Ft){const jt=this.prepareExternalUrl(bt+ue(Ft));this._platformLocation.replaceState(ie,Ge,jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ie=0){var Ge,bt;null===(bt=(Ge=this._platformLocation).historyGo)||void 0===bt||bt.call(Ge,ie)}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(b),e.LFG(de,8))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})(),ae=(()=>{class q extends ce{constructor(ie,Ge){super(),this._platformLocation=ie,this._baseHref="",this._removeListenerFns=[],null!=Ge&&(this._baseHref=Ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ie){this._removeListenerFns.push(this._platformLocation.onPopState(ie),this._platformLocation.onHashChange(ie))}getBaseHref(){return this._baseHref}path(ie=!1){let Ge=this._platformLocation.hash;return null==Ge&&(Ge="#"),Ge.length>0?Ge.substring(1):Ge}prepareExternalUrl(ie){const Ge=V(this._baseHref,ie);return Ge.length>0?"#"+Ge:Ge}pushState(ie,Ge,bt,Ft){let jt=this.prepareExternalUrl(bt+ue(Ft));0==jt.length&&(jt=this._platformLocation.pathname),this._platformLocation.pushState(ie,Ge,jt)}replaceState(ie,Ge,bt,Ft){let jt=this.prepareExternalUrl(bt+ue(Ft));0==jt.length&&(jt=this._platformLocation.pathname),this._platformLocation.replaceState(ie,Ge,jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(ie=0){var Ge,bt;null===(bt=(Ge=this._platformLocation).historyGo)||void 0===bt||bt.call(Ge,ie)}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(b),e.LFG(de,8))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})(),j=(()=>{class q{constructor(ie,Ge){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=ie;const bt=this._platformStrategy.getBaseHref();this._platformLocation=Ge,this._baseHref=$(te(bt)),this._platformStrategy.onPopState(Ft=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ft.state,type:Ft.type})})}path(ie=!1){return this.normalize(this._platformStrategy.path(ie))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(ie,Ge=""){return this.path()==this.normalize(ie+ue(Ge))}normalize(ie){return q.stripTrailingSlash(function Q(q,De){return q&&De.startsWith(q)?De.substring(q.length):De}(this._baseHref,te(ie)))}prepareExternalUrl(ie){return ie&&"/"!==ie[0]&&(ie="/"+ie),this._platformStrategy.prepareExternalUrl(ie)}go(ie,Ge="",bt=null){this._platformStrategy.pushState(bt,"",ie,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ie+ue(Ge)),bt)}replaceState(ie,Ge="",bt=null){this._platformStrategy.replaceState(bt,"",ie,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ie+ue(Ge)),bt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(ie=0){var Ge,bt;null===(bt=(Ge=this._platformStrategy).historyGo)||void 0===bt||bt.call(Ge,ie)}onUrlChange(ie){this._urlChangeListeners.push(ie),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ge=>{this._notifyUrlChangeListeners(Ge.url,Ge.state)}))}_notifyUrlChangeListeners(ie="",Ge){this._urlChangeListeners.forEach(bt=>bt(ie,Ge))}subscribe(ie,Ge,bt){return this._subject.subscribe({next:ie,error:Ge,complete:bt})}}return q.normalizeQueryParams=ue,q.joinWithSlash=V,q.stripTrailingSlash=$,q.\u0275fac=function(ie){return new(ie||q)(e.LFG(ce),e.LFG(b))},q.\u0275prov=e.Yz7({token:q,factory:function(){return function H(){return new j((0,e.LFG)(ce),(0,e.LFG)(b))}()},providedIn:"root"}),q})();function te(q){return q.replace(/\/index.html$/,"")}var Ne=(()=>((Ne=Ne||{})[Ne.Zero=0]="Zero",Ne[Ne.One=1]="One",Ne[Ne.Two=2]="Two",Ne[Ne.Few=3]="Few",Ne[Ne.Many=4]="Many",Ne[Ne.Other=5]="Other",Ne))(),Fe=(()=>((Fe=Fe||{})[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone",Fe))(),ne=(()=>((ne=ne||{})[ne.Narrow=0]="Narrow",ne[ne.Abbreviated=1]="Abbreviated",ne[ne.Wide=2]="Wide",ne[ne.Short=3]="Short",ne))(),Me=(()=>((Me=Me||{})[Me.Short=0]="Short",Me[Me.Medium=1]="Medium",Me[Me.Long=2]="Long",Me[Me.Full=3]="Full",Me))(),ve=(()=>((ve=ve||{})[ve.Decimal=0]="Decimal",ve[ve.Group=1]="Group",ve[ve.List=2]="List",ve[ve.PercentSign=3]="PercentSign",ve[ve.PlusSign=4]="PlusSign",ve[ve.MinusSign=5]="MinusSign",ve[ve.Exponential=6]="Exponential",ve[ve.SuperscriptingExponent=7]="SuperscriptingExponent",ve[ve.PerMille=8]="PerMille",ve[ve.Infinity=9]="Infinity",ve[ve.NaN=10]="NaN",ve[ve.TimeSeparator=11]="TimeSeparator",ve[ve.CurrencyDecimal=12]="CurrencyDecimal",ve[ve.CurrencyGroup=13]="CurrencyGroup",ve))();function Ce(q,De){return o((0,e.cg1)(q)[e.wAp.DateFormat],De)}function Ve(q,De){return o((0,e.cg1)(q)[e.wAp.TimeFormat],De)}function Xe(q,De){return o((0,e.cg1)(q)[e.wAp.DateTimeFormat],De)}function tt(q,De){const ie=(0,e.cg1)(q),Ge=ie[e.wAp.NumberSymbols][De];if(void 0===Ge){if(De===ve.CurrencyDecimal)return ie[e.wAp.NumberSymbols][ve.Decimal];if(De===ve.CurrencyGroup)return ie[e.wAp.NumberSymbols][ve.Group]}return Ge}const I=e.kL8;function P(q){if(!q[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${q[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function o(q,De){for(let ie=De;ie>-1;ie--)if(void 0!==q[ie])return q[ie];throw new Error("Locale data API: locale data undefined")}function t(q){const[De,ie]=q.split(":");return{hours:+De,minutes:+ie}}const y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,M={},re=/((?:[^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 et=(()=>((et=et||{})[et.Short=0]="Short",et[et.ShortGMT=1]="ShortGMT",et[et.Long=2]="Long",et[et.Extended=3]="Extended",et))(),yt=(()=>((yt=yt||{})[yt.FullYear=0]="FullYear",yt[yt.Month=1]="Month",yt[yt.Date=2]="Date",yt[yt.Hours=3]="Hours",yt[yt.Minutes=4]="Minutes",yt[yt.Seconds=5]="Seconds",yt[yt.FractionalSeconds=6]="FractionalSeconds",yt[yt.Day=7]="Day",yt))(),pt=(()=>((pt=pt||{})[pt.DayPeriods=0]="DayPeriods",pt[pt.Days=1]="Days",pt[pt.Months=2]="Months",pt[pt.Eras=3]="Eras",pt))();function Nt(q,De,ie,Ge){let bt=function Et(q){if(Ot(q))return q;if("number"==typeof q&&!isNaN(q))return new Date(q);if("string"==typeof q){if(q=q.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(q)){const[bt,Ft=1,jt=1]=q.split("-").map(ii=>+ii);return It(bt,Ft-1,jt)}const ie=parseFloat(q);if(!isNaN(q-ie))return new Date(ie);let Ge;if(Ge=q.match(y))return function At(q){const De=new Date(0);let ie=0,Ge=0;const bt=q[8]?De.setUTCFullYear:De.setFullYear,Ft=q[8]?De.setUTCHours:De.setHours;q[9]&&(ie=Number(q[9]+q[10]),Ge=Number(q[9]+q[11])),bt.call(De,Number(q[1]),Number(q[2])-1,Number(q[3]));const jt=Number(q[4]||0)-ie,ii=Number(q[5]||0)-Ge,ai=Number(q[6]||0),hi=Math.floor(1e3*parseFloat("0."+(q[7]||0)));return Ft.call(De,jt,ii,ai,hi),De}(Ge)}const De=new Date(q);if(!Ot(De))throw new Error(`Unable to convert "${q}" into a date`);return De}(q);De=Zt(ie,De)||De;let ii,jt=[];for(;De;){if(ii=re.exec(De),!ii){jt.push(De);break}{jt=jt.concat(ii.slice(1));const mi=jt.pop();if(!mi)break;De=mi}}let ai=bt.getTimezoneOffset();Ge&&(ai=Ut(Ge,ai),bt=function Dt(q,De,ie){const Ge=ie?-1:1,bt=q.getTimezoneOffset();return function Vt(q,De){return(q=new Date(q.getTime())).setMinutes(q.getMinutes()+De),q}(q,Ge*(Ut(De,bt)-bt))}(bt,Ge,!0));let hi="";return jt.forEach(mi=>{const yi=function wt(q){if(Ue[q])return Ue[q];let De;switch(q){case"G":case"GG":case"GGG":De=ht(pt.Eras,ne.Abbreviated);break;case"GGGG":De=ht(pt.Eras,ne.Wide);break;case"GGGGG":De=ht(pt.Eras,ne.Narrow);break;case"y":De=Je(yt.FullYear,1,0,!1,!0);break;case"yy":De=Je(yt.FullYear,2,0,!0,!0);break;case"yyy":De=Je(yt.FullYear,3,0,!1,!0);break;case"yyyy":De=Je(yt.FullYear,4,0,!1,!0);break;case"Y":De=_e(1);break;case"YY":De=_e(2,!0);break;case"YYY":De=_e(3);break;case"YYYY":De=_e(4);break;case"M":case"L":De=Je(yt.Month,1,1);break;case"MM":case"LL":De=Je(yt.Month,2,1);break;case"MMM":De=ht(pt.Months,ne.Abbreviated);break;case"MMMM":De=ht(pt.Months,ne.Wide);break;case"MMMMM":De=ht(pt.Months,ne.Narrow);break;case"LLL":De=ht(pt.Months,ne.Abbreviated,Fe.Standalone);break;case"LLLL":De=ht(pt.Months,ne.Wide,Fe.Standalone);break;case"LLLLL":De=ht(pt.Months,ne.Narrow,Fe.Standalone);break;case"w":De=X(1);break;case"ww":De=X(2);break;case"W":De=X(1,!0);break;case"d":De=Je(yt.Date,1);break;case"dd":De=Je(yt.Date,2);break;case"c":case"cc":De=Je(yt.Day,1);break;case"ccc":De=ht(pt.Days,ne.Abbreviated,Fe.Standalone);break;case"cccc":De=ht(pt.Days,ne.Wide,Fe.Standalone);break;case"ccccc":De=ht(pt.Days,ne.Narrow,Fe.Standalone);break;case"cccccc":De=ht(pt.Days,ne.Short,Fe.Standalone);break;case"E":case"EE":case"EEE":De=ht(pt.Days,ne.Abbreviated);break;case"EEEE":De=ht(pt.Days,ne.Wide);break;case"EEEEE":De=ht(pt.Days,ne.Narrow);break;case"EEEEEE":De=ht(pt.Days,ne.Short);break;case"a":case"aa":case"aaa":De=ht(pt.DayPeriods,ne.Abbreviated);break;case"aaaa":De=ht(pt.DayPeriods,ne.Wide);break;case"aaaaa":De=ht(pt.DayPeriods,ne.Narrow);break;case"b":case"bb":case"bbb":De=ht(pt.DayPeriods,ne.Abbreviated,Fe.Standalone,!0);break;case"bbbb":De=ht(pt.DayPeriods,ne.Wide,Fe.Standalone,!0);break;case"bbbbb":De=ht(pt.DayPeriods,ne.Narrow,Fe.Standalone,!0);break;case"B":case"BB":case"BBB":De=ht(pt.DayPeriods,ne.Abbreviated,Fe.Format,!0);break;case"BBBB":De=ht(pt.DayPeriods,ne.Wide,Fe.Format,!0);break;case"BBBBB":De=ht(pt.DayPeriods,ne.Narrow,Fe.Format,!0);break;case"h":De=Je(yt.Hours,1,-12);break;case"hh":De=Je(yt.Hours,2,-12);break;case"H":De=Je(yt.Hours,1);break;case"HH":De=Je(yt.Hours,2);break;case"m":De=Je(yt.Minutes,1);break;case"mm":De=Je(yt.Minutes,2);break;case"s":De=Je(yt.Seconds,1);break;case"ss":De=Je(yt.Seconds,2);break;case"S":De=Je(yt.FractionalSeconds,1);break;case"SS":De=Je(yt.FractionalSeconds,2);break;case"SSS":De=Je(yt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":De=qe(et.Short);break;case"ZZZZZ":De=qe(et.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":De=qe(et.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":De=qe(et.Long);break;default:return null}return Ue[q]=De,De}(mi);hi+=yi?yi(bt,ie,ai):"''"===mi?"'":mi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),hi}function It(q,De,ie){const Ge=new Date(0);return Ge.setFullYear(q,De,ie),Ge.setHours(0,0,0),Ge}function Zt(q,De){const ie=function Te(q){return(0,e.cg1)(q)[e.wAp.LocaleId]}(q);if(M[ie]=M[ie]||{},M[ie][De])return M[ie][De];let Ge="";switch(De){case"shortDate":Ge=Ce(q,Me.Short);break;case"mediumDate":Ge=Ce(q,Me.Medium);break;case"longDate":Ge=Ce(q,Me.Long);break;case"fullDate":Ge=Ce(q,Me.Full);break;case"shortTime":Ge=Ve(q,Me.Short);break;case"mediumTime":Ge=Ve(q,Me.Medium);break;case"longTime":Ge=Ve(q,Me.Long);break;case"fullTime":Ge=Ve(q,Me.Full);break;case"short":const bt=Zt(q,"shortTime"),Ft=Zt(q,"shortDate");Ge=mt(Xe(q,Me.Short),[bt,Ft]);break;case"medium":const jt=Zt(q,"mediumTime"),ii=Zt(q,"mediumDate");Ge=mt(Xe(q,Me.Medium),[jt,ii]);break;case"long":const ai=Zt(q,"longTime"),hi=Zt(q,"longDate");Ge=mt(Xe(q,Me.Long),[ai,hi]);break;case"full":const mi=Zt(q,"fullTime"),yi=Zt(q,"fullDate");Ge=mt(Xe(q,Me.Full),[mi,yi])}return Ge&&(M[ie][De]=Ge),Ge}function mt(q,De){return De&&(q=q.replace(/\{([^}]+)}/g,function(ie,Ge){return null!=De&&Ge in De?De[Ge]:ie})),q}function Ht(q,De,ie="-",Ge,bt){let Ft="";(q<0||bt&&q<=0)&&(bt?q=1-q:(q=-q,Ft=ie));let jt=String(q);for(;jt.length0||ii>-ie)&&(ii+=ie),q===yt.Hours)0===ii&&-12===ie&&(ii=12);else if(q===yt.FractionalSeconds)return function _t(q,De){return Ht(q,3).substr(0,De)}(ii,De);const ai=tt(jt,ve.MinusSign);return Ht(ii,De,ai,Ge,bt)}}function ht(q,De,ie=Fe.Format,Ge=!1){return function(bt,Ft){return function Rt(q,De,ie,Ge,bt,Ft){switch(ie){case pt.Months:return function Oe(q,De,ie){const Ge=(0,e.cg1)(q),Ft=o([Ge[e.wAp.MonthsFormat],Ge[e.wAp.MonthsStandalone]],De);return o(Ft,ie)}(De,bt,Ge)[q.getMonth()];case pt.Days:return function R(q,De,ie){const Ge=(0,e.cg1)(q),Ft=o([Ge[e.wAp.DaysFormat],Ge[e.wAp.DaysStandalone]],De);return o(Ft,ie)}(De,bt,Ge)[q.getDay()];case pt.DayPeriods:const jt=q.getHours(),ii=q.getMinutes();if(Ft){const hi=function i(q){const De=(0,e.cg1)(q);return P(De),(De[e.wAp.ExtraData][2]||[]).map(Ge=>"string"==typeof Ge?t(Ge):[t(Ge[0]),t(Ge[1])])}(De),mi=function r(q,De,ie){const Ge=(0,e.cg1)(q);P(Ge);const Ft=o([Ge[e.wAp.ExtraData][0],Ge[e.wAp.ExtraData][1]],De)||[];return o(Ft,ie)||[]}(De,bt,Ge),yi=hi.findIndex(xi=>{if(Array.isArray(xi)){const[xe,Ee]=xi,ye=jt>=xe.hours&&ii>=xe.minutes,st=jt0?Math.floor(bt/60):Math.ceil(bt/60);switch(q){case et.Short:return(bt>=0?"+":"")+Ht(jt,2,Ft)+Ht(Math.abs(bt%60),2,Ft);case et.ShortGMT:return"GMT"+(bt>=0?"+":"")+Ht(jt,1,Ft);case et.Long:return"GMT"+(bt>=0?"+":"")+Ht(jt,2,Ft)+":"+Ht(Math.abs(bt%60),2,Ft);case et.Extended:return 0===Ge?"Z":(bt>=0?"+":"")+Ht(jt,2,Ft)+":"+Ht(Math.abs(bt%60),2,Ft);default:throw new Error(`Unknown zone width "${q}"`)}}}function G(q){return It(q.getFullYear(),q.getMonth(),q.getDate()+(4-q.getDay()))}function X(q,De=!1){return function(ie,Ge){let bt;if(De){const Ft=new Date(ie.getFullYear(),ie.getMonth(),1).getDay()-1,jt=ie.getDate();bt=1+Math.floor((jt+Ft)/7)}else{const Ft=G(ie),jt=function Z(q){const De=It(q,0,1).getDay();return It(q,0,1+(De<=4?4:11)-De)}(Ft.getFullYear()),ii=Ft.getTime()-jt.getTime();bt=1+Math.round(ii/6048e5)}return Ht(bt,q,tt(Ge,ve.MinusSign))}}function _e(q,De=!1){return function(ie,Ge){return Ht(G(ie).getFullYear(),q,tt(Ge,ve.MinusSign),De)}}const Ue={};function Ut(q,De){q=q.replace(/:/g,"");const ie=Date.parse("Jan 01, 1970 00:00:00 "+q)/6e4;return isNaN(ie)?De:ie}function Ot(q){return q instanceof Date&&!isNaN(q.valueOf())}class ut{}let ei=(()=>{class q extends ut{constructor(ie){super(),this.locale=ie}getPluralCategory(ie,Ge){switch(I(Ge||this.locale)(ie)){case Ne.Zero:return"zero";case Ne.One:return"one";case Ne.Two:return"two";case Ne.Few:return"few";case Ne.Many:return"many";default:return"other"}}}return q.\u0275fac=function(ie){return new(ie||q)(e.LFG(e.soG))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac}),q})();function Ri(q,De){De=encodeURIComponent(De);for(const ie of q.split(";")){const Ge=ie.indexOf("="),[bt,Ft]=-1==Ge?[ie,""]:[ie.slice(0,Ge),ie.slice(Ge+1)];if(bt.trim()===De)return decodeURIComponent(Ft)}return null}let bi=(()=>{class q{constructor(ie,Ge,bt,Ft){this._iterableDiffers=ie,this._keyValueDiffers=Ge,this._ngEl=bt,this._renderer=Ft,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ie){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ie?ie.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ie){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ie?ie.split(/\s+/):ie,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ie=this._iterableDiffer.diff(this._rawClass);ie&&this._applyIterableChanges(ie)}else if(this._keyValueDiffer){const ie=this._keyValueDiffer.diff(this._rawClass);ie&&this._applyKeyValueChanges(ie)}}_applyKeyValueChanges(ie){ie.forEachAddedItem(Ge=>this._toggleClass(Ge.key,Ge.currentValue)),ie.forEachChangedItem(Ge=>this._toggleClass(Ge.key,Ge.currentValue)),ie.forEachRemovedItem(Ge=>{Ge.previousValue&&this._toggleClass(Ge.key,!1)})}_applyIterableChanges(ie){ie.forEachAddedItem(Ge=>{if("string"!=typeof Ge.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(Ge.item)}`);this._toggleClass(Ge.item,!0)}),ie.forEachRemovedItem(Ge=>this._toggleClass(Ge.item,!1))}_applyClasses(ie){ie&&(Array.isArray(ie)||ie instanceof Set?ie.forEach(Ge=>this._toggleClass(Ge,!0)):Object.keys(ie).forEach(Ge=>this._toggleClass(Ge,!!ie[Ge])))}_removeClasses(ie){ie&&(Array.isArray(ie)||ie instanceof Set?ie.forEach(Ge=>this._toggleClass(Ge,!1)):Object.keys(ie).forEach(Ge=>this._toggleClass(Ge,!1)))}_toggleClass(ie,Ge){(ie=ie.trim())&&ie.split(/\s+/g).forEach(bt=>{Ge?this._renderer.addClass(this._ngEl.nativeElement,bt):this._renderer.removeClass(this._ngEl.nativeElement,bt)})}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),q})();class Ji{constructor(De,ie,Ge,bt){this.$implicit=De,this.ngForOf=ie,this.index=Ge,this.count=bt}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 Ni=(()=>{class q{constructor(ie,Ge,bt){this._viewContainer=ie,this._template=Ge,this._differs=bt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ie){this._ngForOf=ie,this._ngForOfDirty=!0}set ngForTrackBy(ie){this._trackByFn=ie}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ie){ie&&(this._template=ie)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ie=this._ngForOf;!this._differ&&ie&&(this._differ=this._differs.find(ie).create(this.ngForTrackBy))}if(this._differ){const ie=this._differ.diff(this._ngForOf);ie&&this._applyChanges(ie)}}_applyChanges(ie){const Ge=this._viewContainer;ie.forEachOperation((bt,Ft,jt)=>{if(null==bt.previousIndex)Ge.createEmbeddedView(this._template,new Ji(bt.item,this._ngForOf,-1,-1),null===jt?void 0:jt);else if(null==jt)Ge.remove(null===Ft?void 0:Ft);else if(null!==Ft){const ii=Ge.get(Ft);Ge.move(ii,jt),Hi(ii,bt)}});for(let bt=0,Ft=Ge.length;bt{Hi(Ge.get(bt.currentIndex),bt)})}static ngTemplateContextGuard(ie,Ge){return!0}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),q})();function Hi(q,De){q.context.$implicit=De.item}let Pi=(()=>{class q{constructor(ie,Ge){this._viewContainer=ie,this._context=new Ti,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ge}set ngIf(ie){this._context.$implicit=this._context.ngIf=ie,this._updateView()}set ngIfThen(ie){Ui("ngIfThen",ie),this._thenTemplateRef=ie,this._thenViewRef=null,this._updateView()}set ngIfElse(ie){Ui("ngIfElse",ie),this._elseTemplateRef=ie,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(ie,Ge){return!0}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),q})();class Ti{constructor(){this.$implicit=null,this.ngIf=null}}function Ui(q,De){if(De&&!De.createEmbeddedView)throw new Error(`${q} must be a TemplateRef, but received '${(0,e.AaK)(De)}'.`)}class fn{constructor(De,ie){this._viewContainerRef=De,this._templateRef=ie,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(De){De&&!this._created?this.create():!De&&this._created&&this.destroy()}}let sn=(()=>{class q{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ie){this._ngSwitch=ie,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ie){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ie)}_matchCase(ie){const Ge=ie==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ge}_updateDefaultCases(ie){if(this._defaultViews&&ie!==this._defaultUsed){this._defaultUsed=ie;for(let Ge=0;Ge{class q{constructor(ie,Ge,bt){this.ngSwitch=bt,bt._addCase(),this._view=new fn(ie,Ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(sn,9))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),q})(),Ct=(()=>{class q{constructor(ie,Ge,bt){bt._addDefault(new fn(ie,Ge))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(sn,9))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngSwitchDefault",""]]}),q})(),we=(()=>{class q{constructor(ie,Ge,bt){this._ngEl=ie,this._differs=Ge,this._renderer=bt,this._ngStyle=null,this._differ=null}set ngStyle(ie){this._ngStyle=ie,!this._differ&&ie&&(this._differ=this._differs.find(ie).create())}ngDoCheck(){if(this._differ){const ie=this._differ.diff(this._ngStyle);ie&&this._applyChanges(ie)}}_setStyle(ie,Ge){const[bt,Ft]=ie.split(".");null!=(Ge=null!=Ge&&Ft?`${Ge}${Ft}`:Ge)?this._renderer.setStyle(this._ngEl.nativeElement,bt,Ge):this._renderer.removeStyle(this._ngEl.nativeElement,bt)}_applyChanges(ie){ie.forEachRemovedItem(Ge=>this._setStyle(Ge.key,null)),ie.forEachAddedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue)),ie.forEachChangedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue))}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),q})(),ct=(()=>{class q{constructor(ie){this._viewContainerRef=ie,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(ie){if(ie.ngTemplateOutlet){const Ge=this._viewContainerRef;this._viewRef&&Ge.remove(Ge.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?Ge.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&ie.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.s_b))},q.\u0275dir=e.lG2({type:q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),q})();function Jt(q,De){return new e.vHH(2100,"")}class di{createSubscription(De,ie){return De.subscribe({next:ie,error:Ge=>{throw Ge}})}dispose(De){De.unsubscribe()}onDestroy(De){De.unsubscribe()}}class Oi{createSubscription(De,ie){return De.then(ie,Ge=>{throw Ge})}dispose(De){}onDestroy(De){}}const zi=new Oi,mn=new di;let In=(()=>{class q{constructor(ie){this._ref=ie,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(ie){return this._obj?ie!==this._obj?(this._dispose(),this.transform(ie)):this._latestValue:(ie&&this._subscribe(ie),this._latestValue)}_subscribe(ie){this._obj=ie,this._strategy=this._selectStrategy(ie),this._subscription=this._strategy.createSubscription(ie,Ge=>this._updateLatestValue(ie,Ge))}_selectStrategy(ie){if((0,e.QGY)(ie))return zi;if((0,e.F4k)(ie))return mn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ie,Ge){ie===this._obj&&(this._latestValue=Ge,this._ref.markForCheck())}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.sBO,16))},q.\u0275pipe=e.Yjl({name:"async",type:q,pure:!1}),q})(),Wi=(()=>{class q{transform(ie){if(null==ie)return null;if("string"!=typeof ie)throw Jt();return ie.toLowerCase()}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275pipe=e.Yjl({name:"lowercase",type:q,pure:!0}),q})(),kn=(()=>{class q{transform(ie){if(null==ie)return null;if("string"!=typeof ie)throw Jt();return ie.toUpperCase()}}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275pipe=e.Yjl({name:"uppercase",type:q,pure:!0}),q})();const Rn=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Gn=(()=>{class q{constructor(ie,Ge){this.locale=ie,this.defaultTimezone=Ge}transform(ie,Ge="mediumDate",bt,Ft){var jt;if(null==ie||""===ie||ie!=ie)return null;try{return Nt(ie,Ge,Ft||this.locale,null!==(jt=null!=bt?bt:this.defaultTimezone)&&void 0!==jt?jt:void 0)}catch(ii){throw Jt()}}}return q.\u0275fac=function(ie){return new(ie||q)(e.Y36(e.soG,16),e.Y36(Rn,24))},q.\u0275pipe=e.Yjl({name:"date",type:q,pure:!0}),q})(),Hn=(()=>{class q{}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({providers:[{provide:ut,useClass:ei}]}),q})();const hs="browser";function _n(q){return q===hs}function es(q){return"server"===q}let ot=(()=>{class q{}return q.\u0275prov=(0,e.Yz7)({token:q,providedIn:"root",factory:()=>new B((0,e.LFG)(s),window)}),q})();class B{constructor(De,ie){this.document=De,this.window=ie,this.offset=()=>[0,0]}setOffset(De){this.offset=Array.isArray(De)?()=>De:De}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(De){this.supportsScrolling()&&this.window.scrollTo(De[0],De[1])}scrollToAnchor(De){if(!this.supportsScrolling())return;const ie=function Se(q,De){const ie=q.getElementById(De)||q.getElementsByName(De)[0];if(ie)return ie;if("function"==typeof q.createTreeWalker&&q.body&&(q.body.createShadowRoot||q.body.attachShadow)){const Ge=q.createTreeWalker(q.body,NodeFilter.SHOW_ELEMENT);let bt=Ge.currentNode;for(;bt;){const Ft=bt.shadowRoot;if(Ft){const jt=Ft.getElementById(De)||Ft.querySelector(`[name="${De}"]`);if(jt)return jt}bt=Ge.nextNode()}}return null}(this.document,De);ie&&(this.scrollToElement(ie),ie.focus())}setHistoryScrollRestoration(De){if(this.supportScrollRestoration()){const ie=this.window.history;ie&&ie.scrollRestoration&&(ie.scrollRestoration=De)}}scrollToElement(De){const ie=De.getBoundingClientRect(),Ge=ie.left+this.window.pageXOffset,bt=ie.top+this.window.pageYOffset,Ft=this.offset();this.window.scrollTo(Ge-Ft[0],bt-Ft[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const De=U(this.window.history)||U(Object.getPrototypeOf(this.window.history));return!(!De||!De.writable&&!De.set)}catch(De){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(De){return!1}}}function U(q){return Object.getOwnPropertyDescriptor(q,"scrollRestoration")}class ft{}},40520:(Ke,be,d)=>{"use strict";d.d(be,{TP:()=>Te,eN:()=>ve,JF:()=>o,WM:()=>E,LE:()=>ce,Zn:()=>Fe});var e=d(69808),f=d(5e3),g=d(21086),T=d(32916),m=d(21406),A=d(92198),s=d(24850);class b{}class O{}class E{constructor(u){this.normalizedNames=new Map,this.lazyUpdate=null,u?this.lazyInit="string"==typeof u?()=>{this.headers=new Map,u.split("\n").forEach(y=>{const M=y.indexOf(":");if(M>0){const re=y.slice(0,M),et=re.toLowerCase(),yt=y.slice(M+1).trim();this.maybeSetNormalizedName(re,et),this.headers.has(et)?this.headers.get(et).push(yt):this.headers.set(et,[yt])}})}:()=>{this.headers=new Map,Object.keys(u).forEach(y=>{let M=u[y];const re=y.toLowerCase();"string"==typeof M&&(M=[M]),M.length>0&&(this.headers.set(re,M),this.maybeSetNormalizedName(y,re))})}:this.headers=new Map}has(u){return this.init(),this.headers.has(u.toLowerCase())}get(u){this.init();const y=this.headers.get(u.toLowerCase());return y&&y.length>0?y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(u){return this.init(),this.headers.get(u.toLowerCase())||null}append(u,y){return this.clone({name:u,value:y,op:"a"})}set(u,y){return this.clone({name:u,value:y,op:"s"})}delete(u,y){return this.clone({name:u,value:y,op:"d"})}maybeSetNormalizedName(u,y){this.normalizedNames.has(y)||this.normalizedNames.set(y,u)}init(){this.lazyInit&&(this.lazyInit instanceof E?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(u=>this.applyUpdate(u)),this.lazyUpdate=null))}copyFrom(u){u.init(),Array.from(u.headers.keys()).forEach(y=>{this.headers.set(y,u.headers.get(y)),this.normalizedNames.set(y,u.normalizedNames.get(y))})}clone(u){const y=new E;return y.lazyInit=this.lazyInit&&this.lazyInit instanceof E?this.lazyInit:this,y.lazyUpdate=(this.lazyUpdate||[]).concat([u]),y}applyUpdate(u){const y=u.name.toLowerCase();switch(u.op){case"a":case"s":let M=u.value;if("string"==typeof M&&(M=[M]),0===M.length)return;this.maybeSetNormalizedName(u.name,y);const re=("a"===u.op?this.headers.get(y):void 0)||[];re.push(...M),this.headers.set(y,re);break;case"d":const et=u.value;if(et){let yt=this.headers.get(y);if(!yt)return;yt=yt.filter(pt=>-1===et.indexOf(pt)),0===yt.length?(this.headers.delete(y),this.normalizedNames.delete(y)):this.headers.set(y,yt)}else this.headers.delete(y),this.normalizedNames.delete(y)}}forEach(u){this.init(),Array.from(this.normalizedNames.keys()).forEach(y=>u(this.normalizedNames.get(y),this.headers.get(y)))}}class h{encodeKey(u){return $(u)}encodeValue(u){return $(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}const L=/%(\d[a-f0-9])/gi,V={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function $(c){return encodeURIComponent(c).replace(L,(u,y)=>{var M;return null!==(M=V[y])&&void 0!==M?M:u})}function ue(c){return`${c}`}class ce{constructor(u={}){if(this.updates=null,this.cloneFrom=null,this.encoder=u.encoder||new h,u.fromString){if(u.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(c,u){const y=new Map;return c.length>0&&c.replace(/^\?/,"").split("&").forEach(re=>{const et=re.indexOf("="),[yt,pt]=-1==et?[u.decodeKey(re),""]:[u.decodeKey(re.slice(0,et)),u.decodeValue(re.slice(et+1))],Nt=y.get(yt)||[];Nt.push(pt),y.set(yt,Nt)}),y}(u.fromString,this.encoder)}else u.fromObject?(this.map=new Map,Object.keys(u.fromObject).forEach(y=>{const M=u.fromObject[y];this.map.set(y,Array.isArray(M)?M:[M])})):this.map=null}has(u){return this.init(),this.map.has(u)}get(u){this.init();const y=this.map.get(u);return y?y[0]:null}getAll(u){return this.init(),this.map.get(u)||null}keys(){return this.init(),Array.from(this.map.keys())}append(u,y){return this.clone({param:u,value:y,op:"a"})}appendAll(u){const y=[];return Object.keys(u).forEach(M=>{const re=u[M];Array.isArray(re)?re.forEach(et=>{y.push({param:M,value:et,op:"a"})}):y.push({param:M,value:re,op:"a"})}),this.clone(y)}set(u,y){return this.clone({param:u,value:y,op:"s"})}delete(u,y){return this.clone({param:u,value:y,op:"d"})}toString(){return this.init(),this.keys().map(u=>{const y=this.encoder.encodeKey(u);return this.map.get(u).map(M=>y+"="+this.encoder.encodeValue(M)).join("&")}).filter(u=>""!==u).join("&")}clone(u){const y=new ce({encoder:this.encoder});return y.cloneFrom=this.cloneFrom||this,y.updates=(this.updates||[]).concat(u),y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(u=>this.map.set(u,this.cloneFrom.map.get(u))),this.updates.forEach(u=>{switch(u.op){case"a":case"s":const y=("a"===u.op?this.map.get(u.param):void 0)||[];y.push(ue(u.value)),this.map.set(u.param,y);break;case"d":if(void 0===u.value){this.map.delete(u.param);break}{let M=this.map.get(u.param)||[];const re=M.indexOf(ue(u.value));-1!==re&&M.splice(re,1),M.length>0?this.map.set(u.param,M):this.map.delete(u.param)}}}),this.cloneFrom=this.updates=null)}}class de{constructor(){this.map=new Map}set(u,y){return this.map.set(u,y),this}get(u){return this.map.has(u)||this.map.set(u,u.defaultValue()),this.map.get(u)}delete(u){return this.map.delete(u),this}has(u){return this.map.has(u)}keys(){return this.map.keys()}}function ae(c){return"undefined"!=typeof ArrayBuffer&&c instanceof ArrayBuffer}function j(c){return"undefined"!=typeof Blob&&c instanceof Blob}function H(c){return"undefined"!=typeof FormData&&c instanceof FormData}class te{constructor(u,y,M,re){let et;if(this.url=y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=u.toUpperCase(),function ke(c){switch(c){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||re?(this.body=void 0!==M?M:null,et=re):et=M,et&&(this.reportProgress=!!et.reportProgress,this.withCredentials=!!et.withCredentials,et.responseType&&(this.responseType=et.responseType),et.headers&&(this.headers=et.headers),et.context&&(this.context=et.context),et.params&&(this.params=et.params)),this.headers||(this.headers=new E),this.context||(this.context=new de),this.params){const yt=this.params.toString();if(0===yt.length)this.urlWithParams=y;else{const pt=y.indexOf("?");this.urlWithParams=y+(-1===pt?"?":ptHt.set(_t,u.setHeaders[_t]),It)),u.setParams&&(Zt=Object.keys(u.setParams).reduce((Ht,_t)=>Ht.set(_t,u.setParams[_t]),Zt)),new te(M,re,yt,{params:Zt,headers:It,context:mt,reportProgress:Nt,responseType:et,withCredentials:pt})}}var se=(()=>((se=se||{})[se.Sent=0]="Sent",se[se.UploadProgress=1]="UploadProgress",se[se.ResponseHeader=2]="ResponseHeader",se[se.DownloadProgress=3]="DownloadProgress",se[se.Response=4]="Response",se[se.User=5]="User",se))();class ge{constructor(u,y=200,M="OK"){this.headers=u.headers||new E,this.status=void 0!==u.status?u.status:y,this.statusText=u.statusText||M,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}}class Ne extends ge{constructor(u={}){super(u),this.type=se.ResponseHeader}clone(u={}){return new Ne({headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class Fe extends ge{constructor(u={}){super(u),this.type=se.Response,this.body=void 0!==u.body?u.body:null}clone(u={}){return new Fe({body:void 0!==u.body?u.body:this.body,headers:u.headers||this.headers,status:void 0!==u.status?u.status:this.status,statusText:u.statusText||this.statusText,url:u.url||this.url||void 0})}}class ne extends ge{constructor(u){super(u,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${u.url||"(unknown url)"}`:`Http failure response for ${u.url||"(unknown url)"}: ${u.status} ${u.statusText}`,this.error=u.error||null}}function Me(c,u){return{body:u,headers:c.headers,context:c.context,observe:c.observe,params:c.params,reportProgress:c.reportProgress,responseType:c.responseType,withCredentials:c.withCredentials}}let ve=(()=>{class c{constructor(y){this.handler=y}request(y,M,re={}){let et;if(y instanceof te)et=y;else{let Nt,It;Nt=re.headers instanceof E?re.headers:new E(re.headers),re.params&&(It=re.params instanceof ce?re.params:new ce({fromObject:re.params})),et=new te(y,M,void 0!==re.body?re.body:null,{headers:Nt,context:re.context,params:It,reportProgress:re.reportProgress,responseType:re.responseType||"json",withCredentials:re.withCredentials})}const yt=(0,g.of)(et).pipe((0,m.b)(Nt=>this.handler.handle(Nt)));if(y instanceof te||"events"===re.observe)return yt;const pt=yt.pipe((0,A.h)(Nt=>Nt instanceof Fe));switch(re.observe||"body"){case"body":switch(et.responseType){case"arraybuffer":return pt.pipe((0,s.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return pt.pipe((0,s.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return pt.pipe((0,s.U)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return pt.pipe((0,s.U)(Nt=>Nt.body))}case"response":return pt;default:throw new Error(`Unreachable: unhandled observe type ${re.observe}}`)}}delete(y,M={}){return this.request("DELETE",y,M)}get(y,M={}){return this.request("GET",y,M)}head(y,M={}){return this.request("HEAD",y,M)}jsonp(y,M){return this.request("JSONP",y,{params:(new ce).append(M,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(y,M={}){return this.request("OPTIONS",y,M)}patch(y,M,re={}){return this.request("PATCH",y,Me(re,M))}post(y,M,re={}){return this.request("POST",y,Me(re,M))}put(y,M,re={}){return this.request("PUT",y,Me(re,M))}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(b))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();class me{constructor(u,y){this.next=u,this.interceptor=y}handle(u){return this.interceptor.intercept(u,this.next)}}const Te=new f.OlP("HTTP_INTERCEPTORS");let ee=(()=>{class c{intercept(y,M){return M.handle(y)}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();const Xe=/^\)\]\}',?\n/;let rt=(()=>{class c{constructor(y){this.xhrFactory=y}handle(y){if("JSONP"===y.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new T.y(M=>{const re=this.xhrFactory.build();if(re.open(y.method,y.urlWithParams),y.withCredentials&&(re.withCredentials=!0),y.headers.forEach((_t,Je)=>re.setRequestHeader(_t,Je.join(","))),y.headers.has("Accept")||re.setRequestHeader("Accept","application/json, text/plain, */*"),!y.headers.has("Content-Type")){const _t=y.detectContentTypeHeader();null!==_t&&re.setRequestHeader("Content-Type",_t)}if(y.responseType){const _t=y.responseType.toLowerCase();re.responseType="json"!==_t?_t:"text"}const et=y.serializeBody();let yt=null;const pt=()=>{if(null!==yt)return yt;const _t=re.statusText||"OK",Je=new E(re.getAllResponseHeaders()),Lt=function tt(c){return"responseURL"in c&&c.responseURL?c.responseURL:/^X-Request-URL:/m.test(c.getAllResponseHeaders())?c.getResponseHeader("X-Request-URL"):null}(re)||y.url;return yt=new Ne({headers:Je,status:re.status,statusText:_t,url:Lt}),yt},Nt=()=>{let{headers:_t,status:Je,statusText:Lt,url:ht}=pt(),Rt=null;204!==Je&&(Rt=void 0===re.response?re.responseText:re.response),0===Je&&(Je=Rt?200:0);let qe=Je>=200&&Je<300;if("json"===y.responseType&&"string"==typeof Rt){const Ye=Rt;Rt=Rt.replace(Xe,"");try{Rt=""!==Rt?JSON.parse(Rt):null}catch(oe){Rt=Ye,qe&&(qe=!1,Rt={error:oe,text:Rt})}}qe?(M.next(new Fe({body:Rt,headers:_t,status:Je,statusText:Lt,url:ht||void 0})),M.complete()):M.error(new ne({error:Rt,headers:_t,status:Je,statusText:Lt,url:ht||void 0}))},It=_t=>{const{url:Je}=pt(),Lt=new ne({error:_t,status:re.status||0,statusText:re.statusText||"Unknown Error",url:Je||void 0});M.error(Lt)};let Zt=!1;const mt=_t=>{Zt||(M.next(pt()),Zt=!0);let Je={type:se.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Je.total=_t.total),"text"===y.responseType&&!!re.responseText&&(Je.partialText=re.responseText),M.next(Je)},Ht=_t=>{let Je={type:se.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Je.total=_t.total),M.next(Je)};return re.addEventListener("load",Nt),re.addEventListener("error",It),re.addEventListener("timeout",It),re.addEventListener("abort",It),y.reportProgress&&(re.addEventListener("progress",mt),null!==et&&re.upload&&re.upload.addEventListener("progress",Ht)),re.send(et),M.next({type:se.Sent}),()=>{re.removeEventListener("error",It),re.removeEventListener("abort",It),re.removeEventListener("load",Nt),re.removeEventListener("timeout",It),y.reportProgress&&(re.removeEventListener("progress",mt),null!==et&&re.upload&&re.upload.removeEventListener("progress",Ht)),re.readyState!==re.DONE&&re.abort()}})}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(e.JF))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})();const N=new f.OlP("XSRF_COOKIE_NAME"),he=new f.OlP("XSRF_HEADER_NAME");class D{}let S=(()=>{class c{constructor(y,M,re){this.doc=y,this.platform=M,this.cookieName=re,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const y=this.doc.cookie||"";return y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(y,this.cookieName),this.lastCookieString=y),this.lastToken}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(e.K0),f.LFG(f.Lbi),f.LFG(N))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),I=(()=>{class c{constructor(y,M){this.tokenService=y,this.headerName=M}intercept(y,M){const re=y.url.toLowerCase();if("GET"===y.method||"HEAD"===y.method||re.startsWith("http://")||re.startsWith("https://"))return M.handle(y);const et=this.tokenService.getToken();return null!==et&&!y.headers.has(this.headerName)&&(y=y.clone({headers:y.headers.set(this.headerName,et)})),M.handle(y)}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(D),f.LFG(he))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),P=(()=>{class c{constructor(y,M){this.backend=y,this.injector=M,this.chain=null}handle(y){if(null===this.chain){const M=this.injector.get(Te,[]);this.chain=M.reduceRight((re,et)=>new me(re,et),this.backend)}return this.chain.handle(y)}}return c.\u0275fac=function(y){return new(y||c)(f.LFG(O),f.LFG(f.zs3))},c.\u0275prov=f.Yz7({token:c,factory:c.\u0275fac}),c})(),p=(()=>{class c{static disable(){return{ngModule:c,providers:[{provide:I,useClass:ee}]}}static withOptions(y={}){return{ngModule:c,providers:[y.cookieName?{provide:N,useValue:y.cookieName}:[],y.headerName?{provide:he,useValue:y.headerName}:[]]}}}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({providers:[I,{provide:Te,useExisting:I,multi:!0},{provide:D,useClass:S},{provide:N,useValue:"XSRF-TOKEN"},{provide:he,useValue:"X-XSRF-TOKEN"}]}),c})(),o=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({providers:[ve,{provide:b,useClass:P},rt,{provide:O,useExisting:rt}],imports:[[p.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),c})()},5e3:(Ke,be,d)=>{"use strict";d.d(be,{deG:()=>kg,tb:()=>lg,AFp:()=>rg,ip1:()=>Vl,CZH:()=>sr,hGG:()=>ZT,z2F:()=>jr,sBO:()=>AT,Sil:()=>ql,_Vd:()=>Br,EJc:()=>dg,SBq:()=>Fr,qLn:()=>Cr,vpe:()=>qs,tBr:()=>_r,XFs:()=>r,OlP:()=>Cn,zs3:()=>Ms,ZZ4:()=>Ba,aQg:()=>Fa,soG:()=>ka,YKP:()=>ff,h0i:()=>tr,PXZ:()=>dT,R0b:()=>_s,FiY:()=>po,Lbi:()=>cg,g9A:()=>ag,n_E:()=>Ma,Qsj:()=>Qy,FYo:()=>uf,JOm:()=>Gs,q3G:()=>Mn,tp0:()=>Io,Rgc:()=>Zr,dDg:()=>fg,GfV:()=>df,s_b:()=>Ra,ifc:()=>et,eFA:()=>_g,G48:()=>_T,Gpc:()=>h,f3M:()=>qg,_c5:()=>LT,VLi:()=>cT,c2e:()=>ug,zSh:()=>Zc,wAp:()=>Mi,vHH:()=>$,EiD:()=>Uu,mCW:()=>br,qzn:()=>Po,JVY:()=>pm,pB0:()=>_m,eBb:()=>gm,L6k:()=>fm,LAX:()=>mm,cg1:()=>El,kL8:()=>xp,yhl:()=>Pu,dqk:()=>Zt,sIi:()=>Ir,CqO:()=>Kh,QGY:()=>cl,F4k:()=>jh,RDi:()=>U,AaK:()=>b,z3N:()=>Xs,qOj:()=>Yc,TTD:()=>Jn,_Bn:()=>af,xp6:()=>Cd,uIk:()=>$c,Q2q:()=>Jc,Tol:()=>dp,Gre:()=>Cp,ekj:()=>gl,Suo:()=>Ff,Xpm:()=>G,lG2:()=>Et,Yz7:()=>Ce,cJS:()=>Xe,oAB:()=>Ut,Yjl:()=>At,Y36:()=>Or,_UZ:()=>zh,GkF:()=>Zh,BQk:()=>al,ynx:()=>rl,qZA:()=>ol,TgZ:()=>sl,EpF:()=>Gh,n5z:()=>Xr,Ikx:()=>Tl,LFG:()=>Bn,$8M:()=>Ga,$Z:()=>Uh,NdJ:()=>ll,CRH:()=>Hf,kcU:()=>Yn,O4$:()=>rn,oxw:()=>qh,ALo:()=>Df,lcZ:()=>Mf,xi3:()=>If,Dn7:()=>Rf,Hsn:()=>$h,F$t:()=>Wh,Q6J:()=>il,s9C:()=>hl,MGl:()=>ba,hYB:()=>pl,DdM:()=>Af,VKq:()=>bf,WLB:()=>yf,kEZ:()=>vf,iGM:()=>Nf,MAs:()=>Ih,evT:()=>Ju,Jf7:()=>$u,CHM:()=>vi,oJD:()=>zu,LSH:()=>nc,B6R:()=>X,kYT:()=>Vt,Udp:()=>fl,WFA:()=>ul,d8E:()=>Cl,YNc:()=>Mh,W1O:()=>Gf,_uU:()=>Ap,Oqu:()=>_l,hij:()=>va,AsE:()=>Al,lnq:()=>bl,HOy:()=>yl,xDo:()=>vl,Gf:()=>Bf});var e=d(8929),f=d(42654),g=d(32916),T=d(36787),m=d(12474);function A(a){for(let l in a)if(a[l]===A)return l;throw Error("Could not find renamed property on target object.")}function s(a,l){for(const _ in l)l.hasOwnProperty(_)&&!a.hasOwnProperty(_)&&(a[_]=l[_])}function b(a){if("string"==typeof a)return a;if(Array.isArray(a))return"["+a.map(b).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return`${a.overriddenName}`;if(a.name)return`${a.name}`;const l=a.toString();if(null==l)return""+l;const _=l.indexOf("\n");return-1===_?l:l.substring(0,_)}function O(a,l){return null==a||""===a?null===l?"":l:null==l||""===l?a:a+" "+l}const E=A({__forward_ref__:A});function h(a){return a.__forward_ref__=h,a.toString=function(){return b(this())},a}function k(a){return L(a)?a():a}function L(a){return"function"==typeof a&&a.hasOwnProperty(E)&&a.__forward_ref__===h}class $ extends Error{constructor(l,_){super(function ue(a,l){return`NG0${Math.abs(a)}${l?": "+l:""}`}(l,_)),this.code=l}}function ce(a){return"string"==typeof a?a:null==a?"":String(a)}function Le(a){return"function"==typeof a?a.name||a.toString():"object"==typeof a&&null!=a&&"function"==typeof a.type?a.type.name||a.type.toString():ce(a)}function j(a,l){const _=l?` in ${l}`:"";throw new $(-201,`No provider for ${Le(a)} found${_}`)}function R(a,l){null==a&&function Oe(a,l,_,v){throw new Error(`ASSERTION ERROR: ${a}`+(null==v?"":` [Expected=> ${_} ${v} ${l} <=Actual]`))}(l,a,null,"!=")}function Ce(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}}function Xe(a){return{providers:a.providers||[],imports:a.imports||[]}}function tt(a){return rt(a,S)||rt(a,P)}function rt(a,l){return a.hasOwnProperty(l)?a[l]:null}function D(a){return a&&(a.hasOwnProperty(I)||a.hasOwnProperty(i))?a[I]:null}const S=A({\u0275prov:A}),I=A({\u0275inj:A}),P=A({ngInjectableDef:A}),i=A({ngInjectorDef:A});var r=(()=>((r=r||{})[r.Default=0]="Default",r[r.Host=1]="Host",r[r.Self=2]="Self",r[r.SkipSelf=4]="SkipSelf",r[r.Optional=8]="Optional",r))();let p;function t(a){const l=p;return p=a,l}function n(a,l,_){const v=tt(a);return v&&"root"==v.providedIn?void 0===v.value?v.value=v.factory():v.value:_&r.Optional?null:void 0!==l?l:void j(b(a),"Injector")}function u(a){return{toString:a}.toString()}var y=(()=>((y=y||{})[y.OnPush=0]="OnPush",y[y.Default=1]="Default",y))(),et=(()=>{return(a=et||(et={}))[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",et;var a})();const yt="undefined"!=typeof globalThis&&globalThis,pt="undefined"!=typeof window&&window,Nt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Zt=yt||"undefined"!=typeof global&&global||pt||Nt,_t={},Je=[],Lt=A({\u0275cmp:A}),ht=A({\u0275dir:A}),Rt=A({\u0275pipe:A}),qe=A({\u0275mod:A}),Ye=A({\u0275fac:A}),oe=A({__NG_ELEMENT_ID__:A});let Z=0;function G(a){return u(()=>{const _={},v={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:_,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:a.changeDetection===y.OnPush,directiveDefs:null,pipeDefs:null,selectors:a.selectors||Je,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||et.Emulated,id:"c",styles:a.styles||Je,_:null,setInput:null,schemas:a.schemas||null,tView:null},C=a.directives,w=a.features,x=a.pipes;return v.id+=Z++,v.inputs=Dt(a.inputs,_),v.outputs=Dt(a.outputs),w&&w.forEach(J=>J(v)),v.directiveDefs=C?()=>("function"==typeof C?C():C).map(_e):null,v.pipeDefs=x?()=>("function"==typeof x?x():x).map(Ue):null,v})}function X(a,l,_){const v=a.\u0275cmp;v.directiveDefs=()=>l.map(_e),v.pipeDefs=()=>_.map(Ue)}function _e(a){return Ot(a)||function Kt(a){return a[ht]||null}(a)}function Ue(a){return function li(a){return a[Rt]||null}(a)}const wt={};function Ut(a){return u(()=>{const l={type:a.type,bootstrap:a.bootstrap||Je,declarations:a.declarations||Je,imports:a.imports||Je,exports:a.exports||Je,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null};return null!=a.id&&(wt[a.id]=a.type),l})}function Vt(a,l){return u(()=>{const _=fi(a,!0);_.declarations=l.declarations||Je,_.imports=l.imports||Je,_.exports=l.exports||Je})}function Dt(a,l){if(null==a)return _t;const _={};for(const v in a)if(a.hasOwnProperty(v)){let C=a[v],w=C;Array.isArray(C)&&(w=C[1],C=C[0]),_[C]=v,l&&(l[C]=w)}return _}const Et=G;function At(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,onDestroy:a.type.prototype.ngOnDestroy||null}}function Ot(a){return a[Lt]||null}function fi(a,l){const _=a[qe]||null;if(!_&&!0===l)throw new Error(`Type ${b(a)} does not have '\u0275mod' property.`);return _}function sn(a){return Array.isArray(a)&&"object"==typeof a[1]}function qi(a){return Array.isArray(a)&&!0===a[1]}function Ct(a){return 0!=(8&a.flags)}function $t(a){return 2==(2&a.flags)}function Y(a){return 1==(1&a.flags)}function lt(a){return null!==a.template}function we(a){return 0!=(512&a[2])}function gn(a,l){return a.hasOwnProperty(Ye)?a[Ye]:null}class Fn{constructor(l,_,v){this.previousValue=l,this.currentValue=_,this.firstChange=v}isFirstChange(){return this.firstChange}}function Jn(){return Qn}function Qn(a){return a.type.prototype.ngOnChanges&&(a.setInput=Ln),Xn}function Xn(){const a=hs(this),l=null==a?void 0:a.current;if(l){const _=a.previous;if(_===_t)a.previous=l;else for(let v in l)_[v]=l[v];a.current=null,this.ngOnChanges(l)}}function Ln(a,l,_,v){const C=hs(a)||function jn(a,l){return a[Hn]=l}(a,{previous:_t,current:null}),w=C.current||(C.current={}),x=C.previous,J=this.declaredInputs[_],Ae=x[J];w[J]=new Fn(Ae&&Ae.currentValue,l,x===_t),a[v]=l}Jn.ngInherit=!0;const Hn="__ngSimpleChanges__";function hs(a){return a[Hn]||null}let B;function U(a){B=a}function Se(){return void 0!==B?B:"undefined"!=typeof document?document:void 0}function ft(a){return!!a.listen}const q={createRenderer:(a,l)=>Se()};function ie(a){for(;Array.isArray(a);)a=a[0];return a}function Ft(a,l){return ie(l[a])}function jt(a,l){return ie(l[a.index])}function ai(a,l){return a.data[l]}function hi(a,l){return a[l]}function mi(a,l){const _=l[a];return sn(_)?_:_[0]}function yi(a){return 4==(4&a[2])}function xi(a){return 128==(128&a[2])}function Ee(a,l){return null==l?null:a[l]}function ye(a){a[18]=0}function st(a,l){a[5]+=l;let _=a,v=a[3];for(;null!==v&&(1===l&&1===_[5]||-1===l&&0===_[5]);)v[5]+=l,_=v,v=v[3]}const Bt={lFrame:oi(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Kn(){return Bt.bindingsEnabled}function ti(){return Bt.lFrame.lView}function si(){return Bt.lFrame.tView}function vi(a){return Bt.lFrame.contextLView=a,a[8]}function gi(){let a=Fi();for(;null!==a&&64===a.type;)a=a.parent;return a}function Fi(){return Bt.lFrame.currentTNode}function An(a,l){const _=Bt.lFrame;_.currentTNode=a,_.isParent=l}function Dn(){return Bt.lFrame.isParent}function Vn(){Bt.lFrame.isParent=!1}function rs(){return Bt.isInCheckNoChangesMode}function yn(a){Bt.isInCheckNoChangesMode=a}function hn(){const a=Bt.lFrame;let l=a.bindingRootIndex;return-1===l&&(l=a.bindingRootIndex=a.tView.bindingStartIndex),l}function Tn(){return Bt.lFrame.bindingIndex}function cs(){return Bt.lFrame.bindingIndex++}function ls(a){const l=Bt.lFrame,_=l.bindingIndex;return l.bindingIndex=l.bindingIndex+a,_}function yo(a,l){const _=Bt.lFrame;_.bindingIndex=_.bindingRootIndex=a,le(l)}function le(a){Bt.lFrame.currentDirectiveIndex=a}function $e(a){const l=Bt.lFrame.currentDirectiveIndex;return-1===l?null:a[l]}function Re(){return Bt.lFrame.currentQueryIndex}function at(a){Bt.lFrame.currentQueryIndex=a}function kt(a){const l=a[1];return 2===l.type?l.declTNode:1===l.type?a[6]:null}function Yt(a,l,_){if(_&r.SkipSelf){let C=l,w=a;for(;!(C=C.parent,null!==C||_&r.Host||(C=kt(w),null===C||(w=w[15],10&C.type))););if(null===C)return!1;l=C,a=w}const v=Bt.lFrame=ui();return v.currentTNode=l,v.lView=a,!0}function ni(a){const l=ui(),_=a[1];Bt.lFrame=l,l.currentTNode=_.firstChild,l.lView=a,l.tView=_,l.contextLView=a,l.bindingIndex=_.bindingStartIndex,l.inI18n=!1}function ui(){const a=Bt.lFrame,l=null===a?null:a.child;return null===l?oi(a):l}function oi(a){const l={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:a,child:null,inI18n:!1};return null!==a&&(a.child=l),l}function Di(){const a=Bt.lFrame;return Bt.lFrame=a.parent,a.currentTNode=null,a.lView=null,a}const Zi=Di;function en(){const a=Di();a.isParent=!0,a.tView=null,a.selectedIndex=-1,a.contextLView=null,a.elementDepthCount=0,a.currentDirectiveIndex=-1,a.currentNamespace=null,a.bindingRootIndex=-1,a.bindingIndex=-1,a.currentQueryIndex=0}function Ii(){return Bt.lFrame.selectedIndex}function on(a){Bt.lFrame.selectedIndex=a}function Gi(){const a=Bt.lFrame;return ai(a.tView,a.selectedIndex)}function rn(){Bt.lFrame.currentNamespace="svg"}function Yn(){!function vn(){Bt.lFrame.currentNamespace=null}()}function $s(a,l){for(let _=l.directiveStart,v=l.directiveEnd;_=v)break}else l[Ae]<0&&(a[18]+=65536),(J>11>16&&(3&a[2])===l){a[2]+=2048;try{w.call(J)}finally{}}}else try{w.call(J)}finally{}}class Qs{constructor(l,_,v){this.factory=l,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=v}}function Co(a,l,_){const v=ft(a);let C=0;for(;C<_.length;){const w=_[C];if("number"==typeof w){if(0!==w)break;C++;const x=_[C++],J=_[C++],Ae=_[C++];v?a.setAttribute(l,J,Ae,x):l.setAttributeNS(x,J,Ae)}else{const x=w,J=_[++C];cr(x)?v&&a.setProperty(l,x,J):v?a.setAttribute(l,x,J):l.setAttribute(x,J),C++}}return C}function $r(a){return 3===a||4===a||6===a}function cr(a){return 64===a.charCodeAt(0)}function co(a,l){if(null!==l&&0!==l.length)if(null===a||0===a.length)a=l.slice();else{let _=-1;for(let v=0;vl){x=w-1;break}}}for(;w>16}(a),v=l;for(;_>0;)v=v[15],_--;return v}let ur=!0;function lo(a){const l=ur;return ur=a,l}let W=0;function Pe(a,l){const _=dt(a,l);if(-1!==_)return _;const v=l[1];v.firstCreatePass&&(a.injectorIndex=l.length,ze(v.data,a),ze(l,null),ze(v.blueprint,null));const C=St(a,l),w=a.injectorIndex;if(Qr(C)){const x=no(C),J=so(C,l),Ae=J[1].data;for(let je=0;je<8;je++)l[w+je]=J[x+je]|Ae[x+je]}return l[w+8]=C,w}function ze(a,l){a.push(0,0,0,0,0,0,0,0,l)}function dt(a,l){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===l[a.injectorIndex+8]?-1:a.injectorIndex}function St(a,l){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let _=0,v=null,C=l;for(;null!==C;){const w=C[1],x=w.type;if(v=2===x?w.declTNode:1===x?C[6]:null,null===v)return-1;if(_++,C=C[15],-1!==v.injectorIndex)return v.injectorIndex|_<<16}return-1}function xt(a,l,_){!function z(a,l,_){let v;"string"==typeof _?v=_.charCodeAt(0)||0:_.hasOwnProperty(oe)&&(v=_[oe]),null==v&&(v=_[oe]=W++);const C=255&v;l.data[a+(C>>5)]|=1<=0?255&l:an:l}(_);if("function"==typeof w){if(!Yt(l,a,v))return v&r.Host?_i(C,_,v):ji(l,_,v,C);try{const x=w(v);if(null!=x||v&r.Optional)return x;j(_)}finally{Zi()}}else if("number"==typeof w){let x=null,J=dt(a,l),Ae=-1,je=v&r.Host?l[16][6]:null;for((-1===J||v&r.SkipSelf)&&(Ae=-1===J?St(a,l):l[J+8],-1!==Ae&&Ss(v,!1)?(x=l[1],J=no(Ae),l=so(Ae,l)):J=-1);-1!==J;){const it=l[1];if(ho(w,J,it.data)){const vt=uo(J,l,_,x,v,je);if(vt!==tn)return vt}Ae=l[J+8],-1!==Ae&&Ss(v,l[1].data[J+8]===je)&&ho(w,J,l)?(x=it,J=no(Ae),l=so(Ae,l)):J=-1}}}return ji(l,_,v,C)}const tn={};function an(){return new fs(gi(),ti())}function uo(a,l,_,v,C,w){const x=l[1],J=x.data[a+8],it=ds(J,x,_,null==v?$t(J)&&ur:v!=x&&0!=(3&J.type),C&r.Host&&w===J);return null!==it?ts(l,x,it,J):tn}function ds(a,l,_,v,C){const w=a.providerIndexes,x=l.data,J=1048575&w,Ae=a.directiveStart,it=w>>20,Pt=C?J+it:a.directiveEnd;for(let Gt=v?J:J+it;Gt=Ae&&Wt.type===_)return Gt}if(C){const Gt=x[Ae];if(Gt&<(Gt)&&Gt.type===_)return Ae}return null}function ts(a,l,_,v){let C=a[_];const w=l.data;if(function qr(a){return a instanceof Qs}(C)){const x=C;x.resolving&&function de(a,l){const _=l?`. Dependency path: ${l.join(" > ")} > ${a}`:"";throw new $(-200,`Circular dependency in DI detected for ${a}${_}`)}(Le(w[_]));const J=lo(x.canSeeViewProviders);x.resolving=!0;const Ae=x.injectImpl?t(x.injectImpl):null;Yt(a,v,r.Default);try{C=a[_]=x.factory(void 0,w,a,v),l.firstCreatePass&&_>=v.directiveStart&&function vo(a,l,_){const{ngOnChanges:v,ngOnInit:C,ngDoCheck:w}=l.type.prototype;if(v){const x=Qn(l);(_.preOrderHooks||(_.preOrderHooks=[])).push(a,x),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,x)}C&&(_.preOrderHooks||(_.preOrderHooks=[])).push(0-a,C),w&&((_.preOrderHooks||(_.preOrderHooks=[])).push(a,w),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(a,w))}(_,w[_],l)}finally{null!==Ae&&t(Ae),lo(J),x.resolving=!1,Zi()}}return C}function ho(a,l,_){return!!(_[l+(a>>5)]&1<{const l=a.prototype.constructor,_=l[Ye]||Za(l),v=Object.prototype;let C=Object.getPrototypeOf(a.prototype).constructor;for(;C&&C!==v;){const w=C[Ye]||Za(C);if(w&&w!==_)return w;C=Object.getPrototypeOf(C)}return w=>new w})}function Za(a){return L(a)?()=>{const l=Za(k(a));return l&&l()}:gn(a)}function Ga(a){return function qt(a,l){if("class"===l)return a.classes;if("style"===l)return a.styles;const _=a.attrs;if(_){const v=_.length;let C=0;for(;C{const v=function ja(a){return function(..._){if(a){const v=a(..._);for(const C in v)this[C]=v[C]}}}(l);function C(...w){if(this instanceof C)return v.apply(this,w),this;const x=new C(...w);return J.annotation=x,J;function J(Ae,je,it){const vt=Ae.hasOwnProperty(wo)?Ae[wo]:Object.defineProperty(Ae,wo,{value:[]})[wo];for(;vt.length<=it;)vt.push(null);return(vt[it]=vt[it]||[]).push(x),Ae}}return _&&(C.prototype=Object.create(_.prototype)),C.prototype.ngMetadataName=a,C.annotationCls=C,C})}class Cn{constructor(l,_){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=Ce({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}toString(){return`InjectionToken ${this._desc}`}}const kg=new Cn("AnalyzeForEntryComponents");function Ds(a,l){void 0===l&&(l=a);for(let _=0;_Array.isArray(_)?Us(_,l):l(_))}function _u(a,l,_){l>=a.length?a.push(_):a.splice(l,0,_)}function ea(a,l){return l>=a.length-1?a.pop():a.splice(l,1)[0]}function pr(a,l){const _=[];for(let v=0;v=0?a[1|v]=_:(v=~v,function Bg(a,l,_,v){let C=a.length;if(C==l)a.push(_,v);else if(1===C)a.push(v,a[0]),a[0]=_;else{for(C--,a.push(a[C-1],a[C]);C>l;)a[C]=a[C-2],C--;a[l]=_,a[l+1]=v}}(a,v,l,_)),v}function Va(a,l){const _=Mo(a,l);if(_>=0)return a[1|_]}function Mo(a,l){return function yu(a,l,_){let v=0,C=a.length>>_;for(;C!==v;){const w=v+(C-v>>1),x=a[w<<_];if(l===x)return w<<_;x>l?C=w:v=w+1}return~(C<<_)}(a,l,1)}const fr={},qa="__NG_DI_FLAG__",ia="ngTempTokenPath",jg=/\n/gm,Tu="__source",Vg=A({provide:String,useValue:A});let gr;function Cu(a){const l=gr;return gr=a,l}function Yg(a,l=r.Default){if(void 0===gr)throw new $(203,"");return null===gr?n(a,void 0,l):gr.get(a,l&r.Optional?null:void 0,l)}function Bn(a,l=r.Default){return(function o(){return p}()||Yg)(k(a),l)}const qg=Bn;function Wa(a){const l=[];for(let _=0;_({token:a})),-1),po=mr(Do("Optional"),8),Io=mr(Do("SkipSelf"),4);let sa,oa;function Oo(a){var l;return(null===(l=function Ja(){if(void 0===sa&&(sa=null,Zt.trustedTypes))try{sa=Zt.trustedTypes.createPolicy("angular",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return sa}())||void 0===l?void 0:l.createHTML(a))||a}function Iu(a){var l;return(null===(l=function Qa(){if(void 0===oa&&(oa=null,Zt.trustedTypes))try{oa=Zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return oa}())||void 0===l?void 0:l.createHTML(a))||a}class fo{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class cm extends fo{getTypeName(){return"HTML"}}class lm extends fo{getTypeName(){return"Style"}}class um extends fo{getTypeName(){return"Script"}}class dm extends fo{getTypeName(){return"URL"}}class hm extends fo{getTypeName(){return"ResourceURL"}}function Xs(a){return a instanceof fo?a.changingThisBreaksApplicationSecurity:a}function Po(a,l){const _=Pu(a);if(null!=_&&_!==l){if("ResourceURL"===_&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${_} (see https://g.co/ng/security#xss)`)}return _===l}function Pu(a){return a instanceof fo&&a.getTypeName()||null}function pm(a){return new cm(a)}function fm(a){return new lm(a)}function gm(a){return new um(a)}function mm(a){return new dm(a)}function _m(a){return new hm(a)}class Am{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const _=(new window.DOMParser).parseFromString(Oo(l),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(l):(_.removeChild(_.firstChild),_)}catch(_){return null}}}class bm{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const _=this.inertDocument.createElement("html");this.inertDocument.appendChild(_);const v=this.inertDocument.createElement("body");_.appendChild(v)}}getInertBodyElement(l){const _=this.inertDocument.createElement("template");if("content"in _)return _.innerHTML=Oo(l),_;const v=this.inertDocument.createElement("body");return v.innerHTML=Oo(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(v),v}stripCustomNsAttrs(l){const _=l.attributes;for(let C=_.length-1;0br(l.trim())).join(", ")),this.buf.push(" ",x,'="',Hu(Ae),'"')}var a;return this.buf.push(">"),!0}endElement(l){const _=l.nodeName.toLowerCase();Xa.hasOwnProperty(_)&&!Lu.hasOwnProperty(_)&&(this.buf.push(""))}chars(l){this.buf.push(Hu(l))}checkClobberedElement(l,_){if(_&&(l.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return _}}const wm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sm=/([^\#-~ |!])/g;function Hu(a){return a.replace(/&/g,"&").replace(wm,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(Sm,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let ra;function Uu(a,l){let _=null;try{ra=ra||function xu(a){const l=new bm(a);return function ym(){try{return!!(new window.DOMParser).parseFromString(Oo(""),"text/html")}catch(a){return!1}}()?new Am(l):l}(a);let v=l?String(l):"";_=ra.getInertBodyElement(v);let C=5,w=v;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,v=w,w=_.innerHTML,_=ra.getInertBodyElement(v)}while(v!==w);return Oo((new Em).sanitizeChildren(ic(_)||_))}finally{if(_){const v=ic(_)||_;for(;v.firstChild;)v.removeChild(v.firstChild)}}}function ic(a){return"content"in a&&function Dm(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var Mn=(()=>((Mn=Mn||{})[Mn.NONE=0]="NONE",Mn[Mn.HTML=1]="HTML",Mn[Mn.STYLE=2]="STYLE",Mn[Mn.SCRIPT=3]="SCRIPT",Mn[Mn.URL=4]="URL",Mn[Mn.RESOURCE_URL=5]="RESOURCE_URL",Mn))();function zu(a){const l=vr();return l?Iu(l.sanitize(Mn.HTML,a)||""):Po(a,"HTML")?Iu(Xs(a)):Uu(Se(),ce(a))}function nc(a){const l=vr();return l?l.sanitize(Mn.URL,a)||"":Po(a,"URL")?Xs(a):br(ce(a))}function vr(){const a=ti();return a&&a[12]}const ju="__ngContext__";function qn(a,l){a[ju]=l}function oc(a){const l=function Tr(a){return a[ju]||null}(a);return l?Array.isArray(l)?l:l.lView:null}function ac(a){return a.ngOriginalError}function Gm(a,...l){a.error(...l)}class Cr{constructor(){this._console=console}handleError(l){const _=this._findOriginalError(l),v=function Zm(a){return a&&a.ngErrorLogger||Gm}(l);v(this._console,"ERROR",l),_&&v(this._console,"ORIGINAL ERROR",_)}_findOriginalError(l){let _=l&&ac(l);for(;_&&ac(_);)_=ac(_);return _||null}}const Wu=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Zt))();function $u(a){return a.ownerDocument.defaultView}function Ju(a){return a.ownerDocument}function Zs(a){return a instanceof Function?a():a}var Gs=(()=>((Gs=Gs||{})[Gs.Important=1]="Important",Gs[Gs.DashCase=2]="DashCase",Gs))();function lc(a,l){return undefined(a,l)}function Er(a){const l=a[3];return qi(l)?l[3]:l}function uc(a){return id(a[13])}function dc(a){return id(a[4])}function id(a){for(;null!==a&&!qi(a);)a=a[4];return a}function ko(a,l,_,v,C){if(null!=v){let w,x=!1;qi(v)?w=v:sn(v)&&(x=!0,v=v[0]);const J=ie(v);0===a&&null!==_?null==C?cd(l,_,J):go(l,_,J,C||null,!0):1===a&&null!==_?go(l,_,J,C||null,!0):2===a?function gd(a,l,_){const v=aa(a,l);v&&function u_(a,l,_,v){ft(a)?a.removeChild(l,_,v):l.removeChild(_)}(a,v,l,_)}(l,J,x):3===a&&l.destroyNode(J),null!=w&&function p_(a,l,_,v,C){const w=_[7];w!==ie(_)&&ko(l,a,v,w,C);for(let J=10;J<_.length;J++){const Ae=_[J];wr(Ae[1],Ae,a,l,v,w)}}(l,a,w,_,C)}}function pc(a,l,_){if(ft(a))return a.createElement(l,_);{const v=null!==_?function ot(a){const l=a.toLowerCase();return"svg"===l?"http://www.w3.org/2000/svg":"math"===l?"http://www.w3.org/1998/MathML/":null}(_):null;return null===v?a.createElement(l):a.createElementNS(v,l)}}function sd(a,l){const _=a[9],v=_.indexOf(l),C=l[3];1024&l[2]&&(l[2]&=-1025,st(C,-1)),_.splice(v,1)}function fc(a,l){if(a.length<=10)return;const _=10+l,v=a[_];if(v){const C=v[17];null!==C&&C!==a&&sd(C,v),l>0&&(a[_-1][4]=v[4]);const w=ea(a,10+l);!function i_(a,l){wr(a,l,l[11],2,null,null),l[0]=null,l[6]=null}(v[1],v);const x=w[19];null!==x&&x.detachView(w[1]),v[3]=null,v[4]=null,v[2]&=-129}return v}function od(a,l){if(!(256&l[2])){const _=l[11];ft(_)&&_.destroyNode&&wr(a,l,_,3,null,null),function o_(a){let l=a[13];if(!l)return gc(a[1],a);for(;l;){let _=null;if(sn(l))_=l[13];else{const v=l[10];v&&(_=v)}if(!_){for(;l&&!l[4]&&l!==a;)sn(l)&&gc(l[1],l),l=l[3];null===l&&(l=a),sn(l)&&gc(l[1],l),_=l&&l[4]}l=_}}(l)}}function gc(a,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function l_(a,l){let _;if(null!=a&&null!=(_=a.destroyHooks))for(let v=0;v<_.length;v+=2){const C=l[_[v]];if(!(C instanceof Qs)){const w=_[v+1];if(Array.isArray(w))for(let x=0;x=0?v[C=je]():v[C=-je].unsubscribe(),w+=2}else{const x=v[C=_[w+1]];_[w].call(x)}if(null!==v){for(let w=C+1;ww?"":C[vt+1].toLowerCase();const Gt=8&v?Pt:null;if(Gt&&-1!==Ad(Gt,je,0)||2&v&&je!==Pt){if(Ps(v))return!1;x=!0}}}}else{if(!x&&!Ps(v)&&!Ps(Ae))return!1;if(x&&Ps(Ae))continue;x=!1,v=Ae|1&v}}return Ps(v)||x}function Ps(a){return 0==(1&a)}function A_(a,l,_,v){if(null===l)return-1;let C=0;if(v||!_){let w=!1;for(;C-1)for(_++;_0?'="'+J+'"':"")+"]"}else 8&v?C+="."+x:4&v&&(C+=" "+x);else""!==C&&!Ps(x)&&(l+=Td(w,C),C=""),v=x,w=w||!Ps(v);_++}return""!==C&&(l+=Td(w,C)),l}const ki={};function Cd(a){Ed(si(),ti(),Ii()+a,rs())}function Ed(a,l,_,v){if(!v)if(3==(3&l[2])){const w=a.preOrderCheckHooks;null!==w&&Js(l,w,_)}else{const w=a.preOrderHooks;null!==w&&Rs(l,w,0,_)}on(_)}function ua(a,l){return a<<17|l<<2}function xs(a){return a>>17&32767}function yc(a){return 2|a}function eo(a){return(131068&a)>>2}function vc(a,l){return-131069&a|l<<2}function Tc(a){return 1|a}function Ld(a,l){const _=a.contentQueries;if(null!==_)for(let v=0;v<_.length;v+=2){const C=_[v],w=_[v+1];if(-1!==w){const x=a.data[w];at(C),x.contentQueries(2,l[w],w)}}}function Sr(a,l,_,v,C,w,x,J,Ae,je){const it=l.blueprint.slice();return it[0]=C,it[2]=140|v,ye(it),it[3]=it[15]=a,it[8]=_,it[10]=x||a&&a[10],it[11]=J||a&&a[11],it[12]=Ae||a&&a[12]||null,it[9]=je||a&&a[9]||null,it[6]=w,it[16]=2==l.type?a[16]:it,it}function Lo(a,l,_,v,C){let w=a.data[l];if(null===w)w=function Oc(a,l,_,v,C){const w=Fi(),x=Dn(),Ae=a.data[l]=function z_(a,l,_,v,C,w){return{type:_,index:v,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:C,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?w:w&&w.parent,_,l,v,C);return null===a.firstChild&&(a.firstChild=Ae),null!==w&&(x?null==w.child&&null!==Ae.parent&&(w.child=Ae):null===w.next&&(w.next=Ae)),Ae}(a,l,_,v,C),function Kr(){return Bt.lFrame.inI18n}()&&(w.flags|=64);else if(64&w.type){w.type=_,w.value=v,w.attrs=C;const x=function un(){const a=Bt.lFrame,l=a.currentTNode;return a.isParent?l:l.parent}();w.injectorIndex=null===x?-1:x.injectorIndex}return An(w,!0),w}function No(a,l,_,v){if(0===_)return-1;const C=l.length;for(let w=0;w<_;w++)l.push(v),a.blueprint.push(v),a.data.push(null);return C}function Dr(a,l,_){ni(l);try{const v=a.viewQuery;null!==v&&Uc(1,v,_);const C=a.template;null!==C&&Nd(a,l,C,1,_),a.firstCreatePass&&(a.firstCreatePass=!1),a.staticContentQueries&&Ld(a,l),a.staticViewQueries&&Uc(2,a.viewQuery,_);const w=a.components;null!==w&&function F_(a,l){for(let _=0;_20&&Ed(a,l,20,rs()),_(v,C)}finally{on(w)}}function Bd(a,l,_){if(Ct(l)){const C=l.directiveEnd;for(let w=l.directiveStart;w0;){const _=a[--l];if("number"==typeof _&&_<0)return _}return 0})(J)!=Ae&&J.push(Ae),J.push(v,C,x)}}function Kd(a,l){null!==a.hostBindings&&a.hostBindings(1,l)}function Vd(a,l){l.flags|=2,(a.components||(a.components=[])).push(l.index)}function Q_(a,l,_){if(_){if(l.exportAs)for(let v=0;v0&&Nc(_)}}function Nc(a){for(let v=uc(a);null!==v;v=dc(v))for(let C=10;C0&&Nc(w)}const _=a[1].components;if(null!==_)for(let v=0;v<_.length;v++){const C=mi(_[v],a);xi(C)&&C[5]>0&&Nc(C)}}function oA(a,l){const _=mi(l,a),v=_[1];(function rA(a,l){for(let _=l.length;_Promise.resolve(null))();function Jd(a){return a[7]||(a[7]=[])}function Qd(a){return a.cleanup||(a.cleanup=[])}function Xd(a,l,_){return(null===a||lt(a))&&(_=function Ge(a){for(;Array.isArray(a);){if("object"==typeof a[1])return a;a=a[0]}return null}(_[l.index])),_[11]}function eh(a,l){const _=a[9],v=_?_.get(Cr,null):null;v&&v.handleError(l)}function th(a,l,_,v,C){for(let w=0;w<_.length;){const x=_[w++],J=_[w++],Ae=l[x],je=a.data[x];null!==je.setInput?je.setInput(Ae,C,v,J):Ae[J]=C}}function to(a,l,_){const v=Ft(l,a);!function nd(a,l,_){ft(a)?a.setValue(l,_):l.textContent=_}(a[11],v,_)}function ga(a,l,_){let v=_?a.styles:null,C=_?a.classes:null,w=0;if(null!==l)for(let x=0;xthis.processProvider(J,l,_)),Us([l],J=>this.processInjectorType(J,[],w)),this.records.set(zc,Fo(void 0,this));const x=this.records.get(Zc);this.scope=null!=x?x.value:null,this.source=C||("object"==typeof l?null:b(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,_=fr,v=r.Default){this.assertNotDestroyed();const C=Cu(this),w=t(void 0);try{if(!(v&r.SkipSelf)){let J=this.records.get(l);if(void 0===J){const Ae=function TA(a){return"function"==typeof a||"object"==typeof a&&a instanceof Cn}(l)&&tt(l);J=Ae&&this.injectableDefInScope(Ae)?Fo(jc(l),Mr):null,this.records.set(l,J)}if(null!=J)return this.hydrate(l,J)}return(v&r.Self?nh():this.parent).get(l,_=v&r.Optional&&_===fr?null:_)}catch(x){if("NullInjectorError"===x.name){if((x[ia]=x[ia]||[]).unshift(b(l)),C)throw x;return function $g(a,l,_,v){const C=a[ia];throw l[Tu]&&C.unshift(l[Tu]),a.message=function Jg(a,l,_,v=null){a=a&&"\n"===a.charAt(0)&&"\u0275"==a.charAt(1)?a.substr(2):a;let C=b(l);if(Array.isArray(l))C=l.map(b).join(" -> ");else if("object"==typeof l){let w=[];for(let x in l)if(l.hasOwnProperty(x)){let J=l[x];w.push(x+":"+("string"==typeof J?JSON.stringify(J):b(J)))}C=`{${w.join(", ")}}`}return`${_}${v?"("+v+")":""}[${C}]: ${a.replace(jg,"\n ")}`}("\n"+a.message,C,_,v),a.ngTokenPath=C,a[ia]=null,a}(x,l,"R3InjectorError",this.source)}throw x}finally{t(w),Cu(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((v,C)=>l.push(b(C))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processInjectorType(l,_,v){if(!(l=k(l)))return!1;let C=D(l);const w=null==C&&l.ngModule||void 0,x=void 0===w?l:w,J=-1!==v.indexOf(x);if(void 0!==w&&(C=D(w)),null==C)return!1;if(null!=C.imports&&!J){let it;v.push(x);try{Us(C.imports,vt=>{this.processInjectorType(vt,_,v)&&(void 0===it&&(it=[]),it.push(vt))})}finally{}if(void 0!==it)for(let vt=0;vtthis.processProvider(Wt,Pt,Gt||Je))}}this.injectorDefTypes.add(x);const Ae=gn(x)||(()=>new x);this.records.set(x,Fo(Ae,Mr));const je=C.providers;if(null!=je&&!J){const it=l;Us(je,vt=>this.processProvider(vt,it,je))}return void 0!==w&&void 0!==l.providers}processProvider(l,_,v){let C=Ho(l=k(l))?l:k(l&&l.provide);const w=function mA(a,l,_){return ah(a)?Fo(void 0,a.useValue):Fo(rh(a),Mr)}(l);if(Ho(l)||!0!==l.multi)this.records.get(C);else{let x=this.records.get(C);x||(x=Fo(void 0,Mr,!0),x.factory=()=>Wa(x.multi),this.records.set(C,x)),C=l,x.multi.push(l)}this.records.set(C,w)}hydrate(l,_){return _.value===Mr&&(_.value=pA,_.value=_.factory()),"object"==typeof _.value&&_.value&&function vA(a){return null!==a&&"object"==typeof a&&"function"==typeof a.ngOnDestroy}(_.value)&&this.onDestroy.add(_.value),_.value}injectableDefInScope(l){if(!l.providedIn)return!1;const _=k(l.providedIn);return"string"==typeof _?"any"===_||_===this.scope:this.injectorDefTypes.has(_)}}function jc(a){const l=tt(a),_=null!==l?l.factory:gn(a);if(null!==_)return _;if(a instanceof Cn)throw new $(204,!1);if(a instanceof Function)return function gA(a){const l=a.length;if(l>0)throw pr(l,"?"),new $(204,!1);const _=function N(a){const l=a&&(a[S]||a[P]);if(l){const _=function he(a){if(a.hasOwnProperty("name"))return a.name;const l=(""+a).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(a);return console.warn(`DEPRECATED: DI is instantiating a token "${_}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${_}" class.`),l}return null}(a);return null!==_?()=>_.factory(a):()=>new a}(a);throw new $(204,!1)}function rh(a,l,_){let v;if(Ho(a)){const C=k(a);return gn(C)||jc(C)}if(ah(a))v=()=>k(a.useValue);else if(function AA(a){return!(!a||!a.useFactory)}(a))v=()=>a.useFactory(...Wa(a.deps||[]));else if(function _A(a){return!(!a||!a.useExisting)}(a))v=()=>Bn(k(a.useExisting));else{const C=k(a&&(a.useClass||a.provide));if(!function yA(a){return!!a.deps}(a))return gn(C)||jc(C);v=()=>new C(...Wa(a.deps))}return v}function Fo(a,l,_=!1){return{factory:a,value:l,multi:_?[]:void 0}}function ah(a){return null!==a&&"object"==typeof a&&Vg in a}function Ho(a){return"function"==typeof a}let Ms=(()=>{class a{static create(_,v){var C;if(Array.isArray(_))return sh({name:""},v,_,"");{const w=null!==(C=_.name)&&void 0!==C?C:"";return sh({name:w},_.parent,_.providers,w)}}}return a.THROW_IF_NOT_FOUND=fr,a.NULL=new ih,a.\u0275prov=Ce({token:a,providedIn:"any",factory:()=>Bn(zc)}),a.__NG_ELEMENT_ID__=-1,a})();function RA(a,l){$s(oc(a)[1],gi())}function Yc(a){let l=function bh(a){return Object.getPrototypeOf(a.prototype).constructor}(a.type),_=!0;const v=[a];for(;l;){let C;if(lt(a))C=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new $(903,"");C=l.\u0275dir}if(C){if(_){v.push(C);const x=a;x.inputs=qc(a.inputs),x.declaredInputs=qc(a.declaredInputs),x.outputs=qc(a.outputs);const J=C.hostBindings;J&&kA(a,J);const Ae=C.viewQuery,je=C.contentQueries;if(Ae&&PA(a,Ae),je&&xA(a,je),s(a.inputs,C.inputs),s(a.declaredInputs,C.declaredInputs),s(a.outputs,C.outputs),lt(C)&&C.data.animation){const it=a.data;it.animation=(it.animation||[]).concat(C.data.animation)}}const w=C.features;if(w)for(let x=0;x=0;v--){const C=a[v];C.hostVars=l+=C.hostVars,C.hostAttrs=co(C.hostAttrs,_=co(_,C.hostAttrs))}}(v)}function qc(a){return a===_t?{}:a===Je?[]:a}function PA(a,l){const _=a.viewQuery;a.viewQuery=_?(v,C)=>{l(v,C),_(v,C)}:l}function xA(a,l){const _=a.contentQueries;a.contentQueries=_?(v,C,w)=>{l(v,C,w),_(v,C,w)}:l}function kA(a,l){const _=a.hostBindings;a.hostBindings=_?(v,C)=>{l(v,C),_(v,C)}:l}let ma=null;function Uo(){if(!ma){const a=Zt.Symbol;if(a&&a.iterator)ma=a.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let _=0;_J(ie(Ki[v.index])):v.index;if(ft(_)){let Ki=null;if(!J&&Ae&&(Ki=function ub(a,l,_,v){const C=a.cleanup;if(null!=C)for(let w=0;wAe?J[Ae]:null}"string"==typeof x&&(w+=2)}return null}(a,l,C,v.index)),null!==Ki)(Ki.__ngLastListenerFn__||Ki).__ngNextListenerFn__=w,Ki.__ngLastListenerFn__=w,Gt=!1;else{w=dl(v,l,vt,w,!1);const cn=_.listen(Ai,C,w);Pt.push(w,cn),it&&it.push(C,wi,Xt,Xt+1)}}else w=dl(v,l,vt,w,!0),Ai.addEventListener(C,w,x),Pt.push(w),it&&it.push(C,wi,Xt,x)}else w=dl(v,l,vt,w,!1);const Wt=v.outputs;let ri;if(Gt&&null!==Wt&&(ri=Wt[C])){const pi=ri.length;if(pi)for(let Ai=0;Ai0;)l=l[15],a--;return l}(a,Bt.lFrame.contextLView))[8]}(a)}function db(a,l){let _=null;const v=function b_(a){const l=a.attrs;if(null!=l){const _=l.indexOf(5);if(0==(1&_))return l[_+1]}return null}(a);for(let C=0;C=0}const xn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(a){return a.substring(xn.key,xn.keyEnd)}function rp(a,l){const _=xn.textEnd;return _===l?-1:(l=xn.keyEnd=function Ab(a,l,_){for(;l<_&&a.charCodeAt(l)>32;)l++;return l}(a,xn.key=l,_),Jo(a,l,_))}function Jo(a,l,_){for(;l<_&&a.charCodeAt(l)<=32;)l++;return l}function fl(a,l,_){return Ls(a,l,_,!1),fl}function gl(a,l){return Ls(a,l,null,!0),gl}function dp(a){Ns(gs,Ys,a,!0)}function Ys(a,l){for(let _=function mb(a){return function cp(a){xn.key=0,xn.keyEnd=0,xn.value=0,xn.valueEnd=0,xn.textEnd=a.length}(a),rp(a,Jo(a,0,xn.textEnd))}(l);_>=0;_=rp(l,_))gs(a,op(l),!0)}function Ls(a,l,_,v){const C=ti(),w=si(),x=ls(2);w.firstUpdatePass&&pp(w,a,x,v),l!==ki&&Wn(C,x,l)&&gp(w,w.data[Ii()],C,C[11],a,C[x+1]=function Mb(a,l){return null==a||("string"==typeof l?a+=l:"object"==typeof a&&(a=b(Xs(a)))),a}(l,_),v,x)}function Ns(a,l,_,v){const C=si(),w=ls(2);C.firstUpdatePass&&pp(C,null,w,v);const x=ti();if(_!==ki&&Wn(x,w,_)){const J=C.data[Ii()];if(_p(J,v)&&!hp(C,w)){let Ae=v?J.classesWithoutHost:J.stylesWithoutHost;null!==Ae&&(_=O(Ae,_||"")),nl(C,J,x,_,v)}else!function Db(a,l,_,v,C,w,x,J){C===ki&&(C=Je);let Ae=0,je=0,it=0=a.expandoStartIndex}function pp(a,l,_,v){const C=a.data;if(null===C[_+1]){const w=C[Ii()],x=hp(a,_);_p(w,v)&&null===l&&!x&&(l=!1),l=function Tb(a,l,_,v){const C=$e(a);let w=v?l.residualClasses:l.residualStyles;if(null===C)0===(v?l.classBindings:l.styleBindings)&&(_=Pr(_=ml(null,a,l,_,v),l.attrs,v),w=null);else{const x=l.directiveStylingLast;if(-1===x||a[x]!==C)if(_=ml(C,a,l,_,v),null===w){let Ae=function Cb(a,l,_){const v=_?l.classBindings:l.styleBindings;if(0!==eo(v))return a[xs(v)]}(a,l,v);void 0!==Ae&&Array.isArray(Ae)&&(Ae=ml(null,a,l,Ae[1],v),Ae=Pr(Ae,l.attrs,v),function Eb(a,l,_,v){a[xs(_?l.classBindings:l.styleBindings)]=v}(a,l,v,Ae))}else w=function wb(a,l,_){let v;const C=l.directiveEnd;for(let w=1+l.directiveStylingLast;w0)&&(je=!0)}else it=_;if(C)if(0!==Ae){const Pt=xs(a[J+1]);a[v+1]=ua(Pt,J),0!==Pt&&(a[Pt+1]=vc(a[Pt+1],v)),a[J+1]=function S_(a,l){return 131071&a|l<<17}(a[J+1],v)}else a[v+1]=ua(J,0),0!==J&&(a[J+1]=vc(a[J+1],v)),J=v;else a[v+1]=ua(Ae,0),0===J?J=v:a[Ae+1]=vc(a[Ae+1],v),Ae=v;je&&(a[v+1]=yc(a[v+1])),sp(a,it,v,!0),sp(a,it,v,!1),function pb(a,l,_,v,C){const w=C?a.residualClasses:a.residualStyles;null!=w&&"string"==typeof l&&Mo(w,l)>=0&&(_[v+1]=Tc(_[v+1]))}(l,it,a,v,w),x=ua(J,Ae),w?l.classBindings=x:l.styleBindings=x}(C,w,l,_,x,v)}}function ml(a,l,_,v,C){let w=null;const x=_.directiveEnd;let J=_.directiveStylingLast;for(-1===J?J=_.directiveStart:J++;J0;){const Ae=a[C],je=Array.isArray(Ae),it=je?Ae[1]:Ae,vt=null===it;let Pt=_[C+1];Pt===ki&&(Pt=vt?Je:void 0);let Gt=vt?Va(Pt,v):it===v?Pt:void 0;if(je&&!ya(Gt)&&(Gt=Va(Ae,v)),ya(Gt)&&(J=Gt,x))return J;const Wt=a[C+1];C=x?xs(Wt):eo(Wt)}if(null!==l){let Ae=w?l.residualClasses:l.residualStyles;null!=Ae&&(J=Va(Ae,v))}return J}function ya(a){return void 0!==a}function _p(a,l){return 0!=(a.flags&(l?16:32))}function Ap(a,l=""){const _=ti(),v=si(),C=a+20,w=v.firstCreatePass?Lo(v,C,1,l,null):v.data[C],x=_[C]=function hc(a,l){return ft(a)?a.createText(l):a.createTextNode(l)}(_[11],l);ca(v,_,x,w),An(w,!1)}function _l(a){return va("",a,""),_l}function va(a,l,_){const v=ti(),C=Zo(v,a,l,_);return C!==ki&&to(v,Ii(),C),va}function Al(a,l,_,v,C){const w=ti(),x=Go(w,a,l,_,v,C);return x!==ki&&to(w,Ii(),x),Al}function bl(a,l,_,v,C,w,x){const J=ti(),Ae=function jo(a,l,_,v,C,w,x,J){const je=_a(a,Tn(),_,C,x);return ls(3),je?l+ce(_)+v+ce(C)+w+ce(x)+J:ki}(J,a,l,_,v,C,w,x);return Ae!==ki&&to(J,Ii(),Ae),bl}function yl(a,l,_,v,C,w,x,J,Ae){const je=ti(),it=function Ko(a,l,_,v,C,w,x,J,Ae,je){const vt=Is(a,Tn(),_,C,x,Ae);return ls(4),vt?l+ce(_)+v+ce(C)+w+ce(x)+J+ce(Ae)+je:ki}(je,a,l,_,v,C,w,x,J,Ae);return it!==ki&&to(je,Ii(),it),yl}function vl(a,l,_,v,C,w,x,J,Ae,je,it){const vt=ti(),Pt=function Vo(a,l,_,v,C,w,x,J,Ae,je,it,vt){const Pt=Tn();let Gt=Is(a,Pt,_,C,x,Ae);return Gt=Wn(a,Pt+4,it)||Gt,ls(5),Gt?l+ce(_)+v+ce(C)+w+ce(x)+J+ce(Ae)+je+ce(it)+vt:ki}(vt,a,l,_,v,C,w,x,J,Ae,je,it);return Pt!==ki&&to(vt,Ii(),Pt),vl}function Cp(a,l,_){Ns(gs,Ys,Zo(ti(),a,l,_),!0)}function Tl(a,l,_){const v=ti();return Wn(v,cs(),l)&&ms(si(),Gi(),v,a,l,v[11],_,!0),Tl}function Cl(a,l,_){const v=ti();if(Wn(v,cs(),l)){const w=si(),x=Gi();ms(w,x,v,a,l,Xd($e(w.data),x,v),_,!0)}return Cl}const _o=void 0;var Yb=["en",[["a","p"],["AM","PM"],_o],[["AM","PM"],_o,_o],[["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"]],_o,[["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"]],_o,[["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}",_o,"{1} 'at' {0}",_o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Vb(a){const _=Math.floor(Math.abs(a)),v=a.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===v?1:5}];let Qo={};function El(a){const l=function qb(a){return a.toLowerCase().replace(/_/g,"-")}(a);let _=kp(l);if(_)return _;const v=l.split("-")[0];if(_=kp(v),_)return _;if("en"===v)return Yb;throw new Error(`Missing locale data for the locale "${a}".`)}function xp(a){return El(a)[Mi.PluralCase]}function kp(a){return a in Qo||(Qo[a]=Zt.ng&&Zt.ng.common&&Zt.ng.common.locales&&Zt.ng.common.locales[a]),Qo[a]}var Mi=(()=>((Mi=Mi||{})[Mi.LocaleId=0]="LocaleId",Mi[Mi.DayPeriodsFormat=1]="DayPeriodsFormat",Mi[Mi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Mi[Mi.DaysFormat=3]="DaysFormat",Mi[Mi.DaysStandalone=4]="DaysStandalone",Mi[Mi.MonthsFormat=5]="MonthsFormat",Mi[Mi.MonthsStandalone=6]="MonthsStandalone",Mi[Mi.Eras=7]="Eras",Mi[Mi.FirstDayOfWeek=8]="FirstDayOfWeek",Mi[Mi.WeekendRange=9]="WeekendRange",Mi[Mi.DateFormat=10]="DateFormat",Mi[Mi.TimeFormat=11]="TimeFormat",Mi[Mi.DateTimeFormat=12]="DateTimeFormat",Mi[Mi.NumberSymbols=13]="NumberSymbols",Mi[Mi.NumberFormats=14]="NumberFormats",Mi[Mi.CurrencyCode=15]="CurrencyCode",Mi[Mi.CurrencySymbol=16]="CurrencySymbol",Mi[Mi.CurrencyName=17]="CurrencyName",Mi[Mi.Currencies=18]="Currencies",Mi[Mi.Directionality=19]="Directionality",Mi[Mi.PluralCase=20]="PluralCase",Mi[Mi.ExtraData=21]="ExtraData",Mi))();const Ta="en-US";let Lp=Ta;function Dl(a,l,_,v,C){if(a=k(a),Array.isArray(a))for(let w=0;w>20;if(Ho(a)||!a.multi){const Gt=new Qs(Ae,C,Or),Wt=Il(J,l,C?it:it+Pt,vt);-1===Wt?(xt(Pe(je,x),w,J),Ml(w,a,l.length),l.push(J),je.directiveStart++,je.directiveEnd++,C&&(je.providerIndexes+=1048576),_.push(Gt),x.push(Gt)):(_[Wt]=Gt,x[Wt]=Gt)}else{const Gt=Il(J,l,it+Pt,vt),Wt=Il(J,l,it,it+Pt),ri=Gt>=0&&_[Gt],pi=Wt>=0&&_[Wt];if(C&&!pi||!C&&!ri){xt(Pe(je,x),w,J);const Ai=function Vy(a,l,_,v,C){const w=new Qs(a,_,Or);return w.multi=[],w.index=l,w.componentProviders=0,rf(w,C,v&&!_),w}(C?Ky:jy,_.length,C,v,Ae);!C&&pi&&(_[Wt].providerFactory=Ai),Ml(w,a,l.length,0),l.push(J),je.directiveStart++,je.directiveEnd++,C&&(je.providerIndexes+=1048576),_.push(Ai),x.push(Ai)}else Ml(w,a,Gt>-1?Gt:Wt,rf(_[C?Wt:Gt],Ae,!C&&v));!C&&v&&pi&&_[Wt].componentProviders++}}}function Ml(a,l,_,v){const C=Ho(l),w=function bA(a){return!!a.useClass}(l);if(C||w){const Ae=(w?k(l.useClass):l).prototype.ngOnDestroy;if(Ae){const je=a.destroyHooks||(a.destroyHooks=[]);if(!C&&l.multi){const it=je.indexOf(_);-1===it?je.push(_,[v,Ae]):je[it+1].push(v,Ae)}else je.push(_,Ae)}}}function rf(a,l,_){return _&&a.componentProviders++,a.multi.push(l)-1}function Il(a,l,_,v){for(let C=_;C{_.providersResolver=(v,C)=>function Gy(a,l,_){const v=si();if(v.firstCreatePass){const C=lt(a);Dl(_,v.data,v.blueprint,C,!0),Dl(l,v.data,v.blueprint,C,!1)}}(v,C?C(a):a,l)}}class cf{}class Wy{resolveComponentFactory(l){throw function qy(a){const l=Error(`No component factory found for ${b(a)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=a,l}(l)}}let Br=(()=>{class a{}return a.NULL=new Wy,a})();function $y(){return er(gi(),ti())}function er(a,l){return new Fr(jt(a,l))}let Fr=(()=>{class a{constructor(_){this.nativeElement=_}}return a.__NG_ELEMENT_ID__=$y,a})();function Jy(a){return a instanceof Fr?a.nativeElement:a}class uf{}let Qy=(()=>{class a{}return a.__NG_ELEMENT_ID__=()=>function ev(){const a=ti(),_=mi(gi().index,a);return function Xy(a){return a[11]}(sn(_)?_:a)}(),a})(),tv=(()=>{class a{}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:()=>null}),a})();class df{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const iv=new df("13.2.2"),Ol={};function Da(a,l,_,v,C=!1){for(;null!==_;){const w=l[_.index];if(null!==w&&v.push(ie(w)),qi(w))for(let J=10;J-1&&(fc(l,v),ea(_,v))}this._attachedToViewContainer=!1}od(this._lView[1],this._lView)}onDestroy(l){zd(this._lView[1],this._lView,null,l)}markForCheck(){Bc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function cA(a,l,_){yn(!0);try{Hc(a,l,_)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new $(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function s_(a,l){wr(a,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new $(902,"");this._appRef=l}}class nv extends Hr{constructor(l){super(l),this._view=l}detectChanges(){$d(this._view)}checkNoChanges(){!function lA(a){yn(!0);try{$d(a)}finally{yn(!1)}}(this._view)}get context(){return null}}class hf extends Br{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const _=Ot(l);return new Pl(_,this.ngModule)}}function pf(a){const l=[];for(let _ in a)a.hasOwnProperty(_)&&l.push({propName:a[_],templateName:_});return l}const ov=new Cn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Wu});class Pl extends cf{constructor(l,_){super(),this.componentDef=l,this.ngModule=_,this.componentType=l.type,this.selector=function E_(a){return a.map(C_).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!_}get inputs(){return pf(this.componentDef.inputs)}get outputs(){return pf(this.componentDef.outputs)}create(l,_,v,C){const w=(C=C||this.ngModule)?function rv(a,l){return{get:(_,v,C)=>{const w=a.get(_,Ol,C);return w!==Ol||v===Ol?w:l.get(_,v,C)}}}(l,C.injector):l,x=w.get(uf,q),J=w.get(tv,null),Ae=x.createRenderer(null,this.componentDef),je=this.componentDef.selectors[0][0]||"div",it=v?function Ud(a,l,_){if(ft(a))return a.selectRootElement(l,_===et.ShadowDom);let v="string"==typeof l?a.querySelector(l):l;return v.textContent="",v}(Ae,v,this.componentDef.encapsulation):pc(x.createRenderer(null,this.componentDef),je,function sv(a){const l=a.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(je)),vt=this.componentDef.onPush?576:528,Pt=function Ah(a,l){return{components:[],scheduler:a||Wu,clean:uA,playerHandler:l||null,flags:0}}(),Gt=pa(0,null,null,1,0,null,null,null,null,null),Wt=Sr(null,Gt,Pt,vt,null,null,x,Ae,J,w);let ri,pi;ni(Wt);try{const Ai=function mh(a,l,_,v,C,w){const x=_[1];_[20]=a;const Ae=Lo(x,20,2,"#host",null),je=Ae.mergedAttrs=l.hostAttrs;null!==je&&(ga(Ae,je,!0),null!==a&&(Co(C,a,je),null!==Ae.classes&&bc(C,a,Ae.classes),null!==Ae.styles&&_d(C,a,Ae.styles)));const it=v.createRenderer(a,l),vt=Sr(_,Fd(l),null,l.onPush?64:16,_[20],Ae,v,it,w||null,null);return x.firstCreatePass&&(xt(Pe(Ae,_),x,l.type),Vd(x,Ae),Yd(Ae,_.length,1)),fa(_,vt),_[20]=vt}(it,this.componentDef,Wt,x,Ae);if(it)if(v)Co(Ae,it,["ng-version",iv.full]);else{const{attrs:Xt,classes:wi}=function w_(a){const l=[],_=[];let v=1,C=2;for(;v0&&bc(Ae,it,wi.join(" "))}if(pi=ai(Gt,20),void 0!==_){const Xt=pi.projection=[];for(let wi=0;wiAe(x,l)),l.contentQueries){const Ae=gi();l.contentQueries(1,x,Ae.directiveStart)}const J=gi();return!w.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(on(J.index),jd(_[1],J,0,J.directiveStart,J.directiveEnd,l),Kd(l,x)),x}(Ai,this.componentDef,Wt,Pt,[RA]),Dr(Gt,Wt,null)}finally{en()}return new cv(this.componentType,ri,er(pi,Wt),Wt,pi)}}class cv extends class Yy{}{constructor(l,_,v,C,w){super(),this.location=v,this._rootLView=C,this._tNode=w,this.instance=_,this.hostView=this.changeDetectorRef=new nv(C),this.componentType=l}get injector(){return new fs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class tr{}class ff{}const ir=new Map;class _f extends tr{constructor(l,_){super(),this._parent=_,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hf(this);const v=fi(l);this._bootstrapComponents=Zs(v.bootstrap),this._r3Injector=oh(l,_,[{provide:tr,useValue:this},{provide:Br,useValue:this.componentFactoryResolver}],b(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,_=Ms.THROW_IF_NOT_FOUND,v=r.Default){return l===Ms||l===tr||l===zc?this:this._r3Injector.get(l,_,v)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class xl extends ff{constructor(l){super(),this.moduleType=l,null!==fi(l)&&function uv(a){const l=new Set;!function _(v){const C=fi(v,!0),w=C.id;null!==w&&(function gf(a,l,_){if(l&&l!==_)throw new Error(`Duplicate module registered for ${a} - ${b(l)} vs ${b(l.name)}`)}(w,ir.get(w),v),ir.set(w,v));const x=Zs(C.imports);for(const J of x)l.has(J)||(l.add(J),_(J))}(a)}(l)}create(l){return new _f(this.moduleType,l)}}function Af(a,l,_){const v=hn()+a,C=ti();return C[v]===ki?Ks(C,v,_?l.call(_):l()):function Rr(a,l){return a[l]}(C,v)}function bf(a,l,_,v){return Tf(ti(),hn(),a,l,_,v)}function yf(a,l,_,v,C){return Cf(ti(),hn(),a,l,_,v,C)}function vf(a,l,_,v,C,w){return Ef(ti(),hn(),a,l,_,v,C,w)}function Ur(a,l){const _=a[l];return _===ki?void 0:_}function Tf(a,l,_,v,C,w){const x=l+_;return Wn(a,x,C)?Ks(a,x+1,w?v.call(w,C):v(C)):Ur(a,x+1)}function Cf(a,l,_,v,C,w,x){const J=l+_;return mo(a,J,C,w)?Ks(a,J+2,x?v.call(x,C,w):v(C,w)):Ur(a,J+2)}function Ef(a,l,_,v,C,w,x,J){const Ae=l+_;return _a(a,Ae,C,w,x)?Ks(a,Ae+3,J?v.call(J,C,w,x):v(C,w,x)):Ur(a,Ae+3)}function Df(a,l){const _=si();let v;const C=a+20;_.firstCreatePass?(v=function _v(a,l){if(l)for(let _=l.length-1;_>=0;_--){const v=l[_];if(a===v.name)return v}}(l,_.pipeRegistry),_.data[C]=v,v.onDestroy&&(_.destroyHooks||(_.destroyHooks=[])).push(C,v.onDestroy)):v=_.data[C];const w=v.factory||(v.factory=gn(v.type)),x=t(Or);try{const J=lo(!1),Ae=w();return lo(J),function ZA(a,l,_,v){_>=a.data.length&&(a.data[_]=null,a.blueprint[_]=null),l[_]=v}(_,ti(),C,Ae),Ae}finally{t(x)}}function Mf(a,l,_){const v=a+20,C=ti(),w=hi(C,v);return zr(C,v)?Tf(C,hn(),l,w.transform,_,w):w.transform(_)}function If(a,l,_,v){const C=a+20,w=ti(),x=hi(w,C);return zr(w,C)?Cf(w,hn(),l,x.transform,_,v,x):x.transform(_,v)}function Rf(a,l,_,v,C){const w=a+20,x=ti(),J=hi(x,w);return zr(x,w)?Ef(x,hn(),l,J.transform,_,v,C,J):J.transform(_,v,C)}function zr(a,l){return a[1].data[l].pure}function kl(a){return l=>{setTimeout(a,void 0,l)}}const qs=class yv extends e.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,_,v){var C,w,x;let J=l,Ae=_||(()=>null),je=v;if(l&&"object"==typeof l){const vt=l;J=null===(C=vt.next)||void 0===C?void 0:C.bind(vt),Ae=null===(w=vt.error)||void 0===w?void 0:w.bind(vt),je=null===(x=vt.complete)||void 0===x?void 0:x.bind(vt)}this.__isAsync&&(Ae=kl(Ae),J&&(J=kl(J)),je&&(je=kl(je)));const it=super.subscribe({next:J,error:Ae,complete:je});return l instanceof f.w&&l.add(it),it}};function vv(){return this._results[Uo()]()}class Ma{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const _=Uo(),v=Ma.prototype;v[_]||(v[_]=vv)}get changes(){return this._changes||(this._changes=new qs)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,_){return this._results.reduce(l,_)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,_){const v=this;v.dirty=!1;const C=Ds(l);(this._changesDetected=!function Lg(a,l,_){if(a.length!==l.length)return!1;for(let v=0;v{class a{}return a.__NG_ELEMENT_ID__=Ev,a})();const Tv=Zr,Cv=class extends Tv{constructor(l,_,v){super(),this._declarationLView=l,this._declarationTContainer=_,this.elementRef=v}createEmbeddedView(l){const _=this._declarationTContainer.tViews,v=Sr(this._declarationLView,_,l,16,null,_.declTNode,null,null,null,null);v[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(v[19]=w.createEmbeddedView(_)),Dr(_,v,l),new Hr(v)}};function Ev(){return Ia(gi(),ti())}function Ia(a,l){return 4&a.type?new Cv(l,a,er(a,l)):null}let Ra=(()=>{class a{}return a.__NG_ELEMENT_ID__=wv,a})();function wv(){return xf(gi(),ti())}const Sv=Ra,Of=class extends Sv{constructor(l,_,v){super(),this._lContainer=l,this._hostTNode=_,this._hostLView=v}get element(){return er(this._hostTNode,this._hostLView)}get injector(){return new fs(this._hostTNode,this._hostLView)}get parentInjector(){const l=St(this._hostTNode,this._hostLView);if(Qr(l)){const _=so(l,this._hostLView),v=no(l);return new fs(_[1].data[v+8],_)}return new fs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const _=Pf(this._lContainer);return null!==_&&_[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,_,v){const C=l.createEmbeddedView(_||{});return this.insert(C,v),C}createComponent(l,_,v,C,w){const x=l&&!function hr(a){return"function"==typeof a}(l);let J;if(x)J=_;else{const vt=_||{};J=vt.index,v=vt.injector,C=vt.projectableNodes,w=vt.ngModuleRef}const Ae=x?l:new Pl(Ot(l)),je=v||this.parentInjector;if(!w&&null==Ae.ngModule&&je){const vt=je.get(tr,null);vt&&(w=vt)}const it=Ae.create(je,C,void 0,w);return this.insert(it.hostView,J),it}insert(l,_){const v=l._lView,C=v[1];if(function xe(a){return qi(a[3])}(v)){const it=this.indexOf(l);if(-1!==it)this.detach(it);else{const vt=v[3],Pt=new Of(vt,vt[6],vt[3]);Pt.detach(Pt.indexOf(l))}}const w=this._adjustIndex(_),x=this._lContainer;!function r_(a,l,_,v){const C=10+v,w=_.length;v>0&&(_[C-1][4]=l),v0)v.push(x[J/2]);else{const je=w[J+1],it=l[-Ae];for(let vt=10;vt{class a{constructor(_){this.appInits=_,this.resolve=xa,this.reject=xa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((v,C)=>{this.resolve=v,this.reject=C})}runInitializers(){if(this.initialized)return;const _=[],v=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{w.subscribe({complete:J,error:Ae})});_.push(x)}}Promise.all(_).then(()=>{v()}).catch(C=>{this.reject(C)}),0===_.length&&v(),this.initialized=!0}}return a.\u0275fac=function(_){return new(_||a)(Bn(Vl,8))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const rg=new Cn("AppId"),Qv={provide:rg,useFactory:function Jv(){return`${Yl()}${Yl()}${Yl()}`},deps:[]};function Yl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ag=new Cn("Platform Initializer"),cg=new Cn("Platform ID"),lg=new Cn("appBootstrapListener");let ug=(()=>{class a{log(_){console.log(_)}warn(_){console.warn(_)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const ka=new Cn("LocaleId"),dg=new Cn("DefaultCurrencyCode");class Xv{constructor(l,_){this.ngModuleFactory=l,this.componentFactories=_}}let ql=(()=>{class a{compileModuleSync(_){return new xl(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const v=this.compileModuleSync(_),w=Zs(fi(_).declarations).reduce((x,J)=>{const Ae=Ot(J);return Ae&&x.push(new Pl(Ae)),x},[]);return new Xv(v,w)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();const tT=(()=>Promise.resolve(0))();function Wl(a){"undefined"==typeof Zone?tT.then(()=>{a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)}class _s{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:v=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new qs(!1),this.onMicrotaskEmpty=new qs(!1),this.onStable=new qs(!1),this.onError=new qs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const C=this;C._nesting=0,C._outer=C._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(C._inner=C._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!v&&_,C.shouldCoalesceRunChangeDetection=v,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function iT(){let a=Zt.requestAnimationFrame,l=Zt.cancelAnimationFrame;if("undefined"!=typeof Zone&&a&&l){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const v=l[Zone.__symbol__("OriginalDelegate")];v&&(l=v)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function oT(a){const l=()=>{!function sT(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Zt,()=>{a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{a.lastRequestAnimationFrameId=-1,Jl(a),a.isCheckStableRunning=!0,$l(a),a.isCheckStableRunning=!1},void 0,()=>{},()=>{})),a.fakeTopEventTask.invoke()}),Jl(a))}(a)};a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(_,v,C,w,x,J)=>{try{return hg(a),_.invokeTask(C,w,x,J)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||a.shouldCoalesceRunChangeDetection)&&l(),pg(a)}},onInvoke:(_,v,C,w,x,J,Ae)=>{try{return hg(a),_.invoke(C,w,x,J,Ae)}finally{a.shouldCoalesceRunChangeDetection&&l(),pg(a)}},onHasTask:(_,v,C,w)=>{_.hasTask(C,w),v===C&&("microTask"==w.change?(a._hasPendingMicrotasks=w.microTask,Jl(a),$l(a)):"macroTask"==w.change&&(a.hasPendingMacrotasks=w.macroTask))},onHandleError:(_,v,C,w)=>(_.handleError(C,w),a.runOutsideAngular(()=>a.onError.emit(w)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_s.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_s.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,_,v){return this._inner.run(l,_,v)}runTask(l,_,v,C){const w=this._inner,x=w.scheduleEventTask("NgZoneEvent: "+C,l,nT,xa,xa);try{return w.runTask(x,_,v)}finally{w.cancelTask(x)}}runGuarded(l,_,v){return this._inner.runGuarded(l,_,v)}runOutsideAngular(l){return this._outer.run(l)}}const nT={};function $l(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function Jl(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId)}function hg(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function pg(a){a._nesting--,$l(a)}class rT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qs,this.onMicrotaskEmpty=new qs,this.onStable=new qs,this.onError=new qs}run(l,_,v){return l.apply(_,v)}runGuarded(l,_,v){return l.apply(_,v)}runOutsideAngular(l){return l()}runTask(l,_,v,C){return l.apply(_,v)}}let fg=(()=>{class a{constructor(_){this._ngZone=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_s.assertNotInAngularZone(),Wl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())Wl(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb(this._didWork)}this._didWork=!1});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(v=>!v.updateCb||!v.updateCb(_)||(clearTimeout(v.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,v,C){let w=-1;v&&v>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==w),_(this._didWork,this.getPendingTasks())},v)),this._callbacks.push({doneCb:_,timeoutId:w,updateCb:C})}whenStable(_,v,C){if(C&&!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(_,v,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(_,v,C){return[]}}return a.\u0275fac=function(_){return new(_||a)(Bn(_s))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})(),gg=(()=>{class a{constructor(){this._applications=new Map,Ql.addToWindow(this)}registerApplication(_,v){this._applications.set(_,v)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,v=!0){return Ql.findTestabilityInTree(this,_,v)}}return a.\u0275fac=function(_){return new(_||a)},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();class aT{addToWindow(l){}findTestabilityInTree(l,_,v){return null}}function cT(a){Ql=a}let Bs,Ql=new aT;const mg=new Cn("AllowMultipleToken");class dT{constructor(l,_){this.name=l,this.token=_}}function _g(a,l,_=[]){const v=`Platform: ${l}`,C=new Cn(v);return(w=[])=>{let x=Ag();if(!x||x.injector.get(mg,!1))if(a)a(_.concat(w).concat({provide:C,useValue:!0}));else{const J=_.concat(w).concat({provide:C,useValue:!0},{provide:Zc,useValue:"platform"});!function hT(a){if(Bs&&!Bs.destroyed&&!Bs.injector.get(mg,!1))throw new $(400,"");Bs=a.get(bg);const l=a.get(ag,null);l&&l.forEach(_=>_())}(Ms.create({providers:J,name:v}))}return function pT(a){const l=Ag();if(!l)throw new $(401,"");return l}()}}function Ag(){return Bs&&!Bs.destroyed?Bs:null}let bg=(()=>{class a{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,v){const J=function fT(a,l){let _;return _="noop"===a?new rT:("zone.js"===a?void 0:a)||new _s({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),_}(v?v.ngZone:void 0,{ngZoneEventCoalescing:v&&v.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:v&&v.ngZoneRunCoalescing||!1}),Ae=[{provide:_s,useValue:J}];return J.run(()=>{const je=Ms.create({providers:Ae,parent:this.injector,name:_.moduleType.name}),it=_.create(je),vt=it.injector.get(Cr,null);if(!vt)throw new $(402,"");return J.runOutsideAngular(()=>{const Pt=J.onError.subscribe({next:Gt=>{vt.handleError(Gt)}});it.onDestroy(()=>{Xl(this._modules,it),Pt.unsubscribe()})}),function gT(a,l,_){try{const v=_();return cl(v)?v.catch(C=>{throw l.runOutsideAngular(()=>a.handleError(C)),C}):v}catch(v){throw l.runOutsideAngular(()=>a.handleError(v)),v}}(vt,J,()=>{const Pt=it.injector.get(sr);return Pt.runInitializers(),Pt.donePromise.then(()=>(function Qb(a){R(a,"Expected localeId to be defined"),"string"==typeof a&&(Lp=a.toLowerCase().replace(/_/g,"-"))}(it.injector.get(ka,Ta)||Ta),this._moduleDoBootstrap(it),it))})})}bootstrapModule(_,v=[]){const C=yg({},v);return function lT(a,l,_){const v=new xl(_);return Promise.resolve(v)}(0,0,_).then(w=>this.bootstrapModuleFactory(w,C))}_moduleDoBootstrap(_){const v=_.injector.get(jr);if(_._bootstrapComponents.length>0)_._bootstrapComponents.forEach(C=>v.bootstrap(C));else{if(!_.instance.ngDoBootstrap)throw new $(403,"");_.instance.ngDoBootstrap(v)}this._modules.push(_)}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $(404,"");this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_()),this._destroyed=!0}get destroyed(){return this._destroyed}}return a.\u0275fac=function(_){return new(_||a)(Bn(Ms))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();function yg(a,l){return Array.isArray(l)?l.reduce(yg,a):Object.assign(Object.assign({},a),l)}let jr=(()=>{class a{constructor(_,v,C,w,x){this._zone=_,this._injector=v,this._exceptionHandler=C,this._componentFactoryResolver=w,this._initStatus=x,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const J=new g.y(je=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{je.next(this._stable),je.complete()})}),Ae=new g.y(je=>{let it;this._zone.runOutsideAngular(()=>{it=this._zone.onStable.subscribe(()=>{_s.assertNotInAngularZone(),Wl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,je.next(!0))})})});const vt=this._zone.onUnstable.subscribe(()=>{_s.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{je.next(!1)}))});return()=>{it.unsubscribe(),vt.unsubscribe()}});this.isStable=(0,T.T)(J,Ae.pipe((0,m.B)()))}bootstrap(_,v){if(!this._initStatus.done)throw new $(405,"");let C;C=_ instanceof cf?_:this._componentFactoryResolver.resolveComponentFactory(_),this.componentTypes.push(C.componentType);const w=function uT(a){return a.isBoundToModule}(C)?void 0:this._injector.get(tr),J=C.create(Ms.NULL,[],v||C.selector,w),Ae=J.location.nativeElement,je=J.injector.get(fg,null),it=je&&J.injector.get(gg);return je&&it&&it.registerApplication(Ae,je),J.onDestroy(()=>{this.detachView(J.hostView),Xl(this.components,J),it&&it.unregisterApplication(Ae)}),this._loadComponent(J),J}tick(){if(this._runningTick)throw new $(101,"");try{this._runningTick=!0;for(let _ of this._views)_.detectChanges()}catch(_){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(_))}finally{this._runningTick=!1}}attachView(_){const v=_;this._views.push(v),v.attachToAppRef(this)}detachView(_){const v=_;Xl(this._views,v),v.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_),this._injector.get(lg,[]).concat(this._bootstrapListeners).forEach(C=>C(_))}ngOnDestroy(){this._views.slice().forEach(_=>_.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return a.\u0275fac=function(_){return new(_||a)(Bn(_s),Bn(Ms),Bn(Cr),Bn(Br),Bn(sr))},a.\u0275prov=Ce({token:a,factory:a.\u0275fac}),a})();function Xl(a,l){const _=a.indexOf(l);_>-1&&a.splice(_,1)}let Tg=!0;function _T(){Tg=!1}let AT=(()=>{class a{}return a.__NG_ELEMENT_ID__=bT,a})();function bT(a){return function yT(a,l,_){if($t(a)&&!_){const v=mi(a.index,l);return new Hr(v,v)}return 47&a.type?new Hr(l[16],l):null}(gi(),ti(),16==(16&a))}class Dg{constructor(){}supports(l){return Ir(l)}create(l){return new ST(l)}}const wT=(a,l)=>l;class ST{constructor(l){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=l||wT}forEachItem(l){let _;for(_=this._itHead;null!==_;_=_._next)l(_)}forEachOperation(l){let _=this._itHead,v=this._removalsHead,C=0,w=null;for(;_||v;){const x=!v||_&&_.currentIndex{x=this._trackByFn(C,J),null!==_&&Object.is(_.trackById,x)?(v&&(_=this._verifyReinsertion(_,J,x,C)),Object.is(_.item,J)||this._addIdentityChange(_,J)):(_=this._mismatch(_,J,x,C),v=!0),_=_._next,C++}),this.length=C;return this._truncate(_),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,_,v,C){let w;return null===l?w=this._itTail:(w=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(v,null))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._reinsertAfter(l,w,C)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(v,C))?(Object.is(l.item,_)||this._addIdentityChange(l,_),this._moveAfter(l,w,C)):l=this._addAfter(new DT(_,v),w,C),l}_verifyReinsertion(l,_,v,C){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(v,null);return null!==w?l=this._reinsertAfter(w,l._prev,C):l.currentIndex!=C&&(l.currentIndex=C,this._addToMoves(l,C)),l}_truncate(l){for(;null!==l;){const _=l._next;this._addToRemovals(this._unlink(l)),l=_}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(l,_,v){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const C=l._prevRemoved,w=l._nextRemoved;return null===C?this._removalsHead=w:C._nextRemoved=w,null===w?this._removalsTail=C:w._prevRemoved=C,this._insertAfter(l,_,v),this._addToMoves(l,v),l}_moveAfter(l,_,v){return this._unlink(l),this._insertAfter(l,_,v),this._addToMoves(l,v),l}_addAfter(l,_,v){return this._insertAfter(l,_,v),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,_,v){const C=null===_?this._itHead:_._next;return l._next=C,l._prev=_,null===C?this._itTail=l:C._prev=l,null===_?this._itHead=l:_._next=l,null===this._linkedRecords&&(this._linkedRecords=new Mg),this._linkedRecords.put(l),l.currentIndex=v,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const _=l._prev,v=l._next;return null===_?this._itHead=v:_._next=v,null===v?this._itTail=_:v._prev=_,l}_addToMoves(l,_){return l.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mg),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,_){return l.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class DT{constructor(l,_){this.item=l,this.trackById=_,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 MT{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,_){let v;for(v=this._head;null!==v;v=v._nextDup)if((null===_||_<=v.currentIndex)&&Object.is(v.trackById,l))return v;return null}remove(l){const _=l._prevDup,v=l._nextDup;return null===_?this._head=v:_._nextDup=v,null===v?this._tail=_:v._prevDup=_,null===this._head}}class Mg{constructor(){this.map=new Map}put(l){const _=l.trackById;let v=this.map.get(_);v||(v=new MT,this.map.set(_,v)),v.add(l)}get(l,_){const C=this.map.get(l);return C?C.get(l,_):null}remove(l){const _=l.trackById;return this.map.get(_).remove(l)&&this.map.delete(_),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ig(a,l,_){const v=a.previousIndex;if(null===v)return v;let C=0;return _&&v<_.length&&(C=_[v]),v+l+C}class Rg{constructor(){}supports(l){return l instanceof Map||Wc(l)}create(){return new IT}}class IT{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(l){let _;for(_=this._mapHead;null!==_;_=_._next)l(_)}forEachPreviousItem(l){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)l(_)}forEachChangedItem(l){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)l(_)}forEachAddedItem(l){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)l(_)}forEachRemovedItem(l){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)l(_)}diff(l){if(l){if(!(l instanceof Map||Wc(l)))throw new $(900,"")}else l=new Map;return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(l,(v,C)=>{if(_&&_.key===C)this._maybeAddToChanges(_,v),this._appendAfter=_,_=_._next;else{const w=this._getOrCreateRecordForKey(C,v);_=this._insertBeforeOrAppend(_,w)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let v=_;null!==v;v=v._nextRemoved)v===this._mapHead&&(this._mapHead=null),this._records.delete(v.key),v._nextRemoved=v._next,v.previousValue=v.currentValue,v.currentValue=null,v._prev=null,v._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,_){if(l){const v=l._prev;return _._next=l,_._prev=v,l._prev=_,v&&(v._next=_),l===this._mapHead&&(this._mapHead=_),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(l,_){if(this._records.has(l)){const C=this._records.get(l);this._maybeAddToChanges(C,_);const w=C._prev,x=C._next;return w&&(w._next=x),x&&(x._prev=w),C._next=null,C._prev=null,C}const v=new RT(l);return this._records.set(l,v),v.currentValue=_,this._addToAdditions(v),v}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,_){Object.is(_,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=_,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,_){l instanceof Map?l.forEach(_):Object.keys(l).forEach(v=>_(l[v],v))}}class RT{constructor(l){this.key=l,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 Og(){return new Ba([new Dg])}let Ba=(()=>{class a{constructor(_){this.factories=_}static create(_,v){if(null!=v){const C=v.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:v=>a.create(_,v||Og()),deps:[[a,new Io,new po]]}}find(_){const v=this.factories.find(C=>C.supports(_));if(null!=v)return v;throw new $(901,"")}}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:Og}),a})();function Pg(){return new Fa([new Rg])}let Fa=(()=>{class a{constructor(_){this.factories=_}static create(_,v){if(v){const C=v.factories.slice();_=_.concat(C)}return new a(_)}static extend(_){return{provide:a,useFactory:v=>a.create(_,v||Pg()),deps:[[a,new Io,new po]]}}find(_){const v=this.factories.find(w=>w.supports(_));if(v)return v;throw new $(901,"")}}return a.\u0275prov=Ce({token:a,providedIn:"root",factory:Pg}),a})();const OT=[new Rg],xT=new Ba([new Dg]),kT=new Fa(OT),LT=_g(null,"core",[{provide:cg,useValue:"unknown"},{provide:bg,deps:[Ms]},{provide:gg,deps:[]},{provide:ug,deps:[]}]),UT=[{provide:jr,useClass:jr,deps:[_s,Ms,Cr,Br,sr]},{provide:ov,deps:[_s],useFactory:function zT(a){let l=[];return a.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(_){l.push(_)}}},{provide:sr,useClass:sr,deps:[[new po,Vl]]},{provide:ql,useClass:ql,deps:[]},Qv,{provide:Ba,useFactory:function NT(){return xT},deps:[]},{provide:Fa,useFactory:function BT(){return kT},deps:[]},{provide:ka,useFactory:function FT(a){return a||function HT(){return"undefined"!=typeof $localize&&$localize.locale||Ta}()},deps:[[new _r(ka),new po,new Io]]},{provide:dg,useValue:"USD"}];let ZT=(()=>{class a{constructor(_){}}return a.\u0275fac=function(_){return new(_||a)(Bn(jr))},a.\u0275mod=Ut({type:a}),a.\u0275inj=Xe({providers:UT}),a})()},93075:(Ke,be,d)=>{"use strict";d.d(be,{Zs:()=>B,Fj:()=>V,qu:()=>yi,NI:()=>Mt,oH:()=>In,u:()=>vs,sg:()=>$n,u5:()=>ai,Cf:()=>ce,JU:()=>b,a5:()=>D,JJ:()=>r,JL:()=>p,F:()=>Li,On:()=>qi,YN:()=>Cs,wV:()=>Y,c5:()=>Ge,UX:()=>hi,Q7:()=>ot,EJ:()=>wn,kI:()=>ke,_Y:()=>Ct,Kr:()=>Ln});var e=d(5e3),f=d(69808),g=d(5254),T=d(30567),m=d(24850);let A=(()=>{class xe{constructor(ye,st){this._renderer=ye,this._elementRef=st,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(ye,st){this._renderer.setProperty(this._elementRef.nativeElement,ye,st)}registerOnTouched(ye){this.onTouched=ye}registerOnChange(ye){this.onChange=ye}setDisabledState(ye){this.setProperty("disabled",ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.Qsj),e.Y36(e.SBq))},xe.\u0275dir=e.lG2({type:xe}),xe})(),s=(()=>{class xe extends A{}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,features:[e.qOj]}),xe})();const b=new e.OlP("NgValueAccessor"),h={provide:b,useExisting:(0,e.Gpc)(()=>V),multi:!0},L=new e.OlP("CompositionEventMode");let V=(()=>{class xe extends A{constructor(ye,st,Bt){super(ye,st),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const xe=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(xe.toLowerCase())}())}writeValue(ye){this.setProperty("value",null==ye?"":ye)}_handleInput(ye){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ye)}_compositionStart(){this._composing=!0}_compositionEnd(ye){this._composing=!1,this._compositionMode&&this.onChange(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(L,8))},xe.\u0275dir=e.lG2({type:xe,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(ye,st){1&ye&&e.NdJ("input",function(ci){return st._handleInput(ci.target.value)})("blur",function(){return st.onTouched()})("compositionstart",function(){return st._compositionStart()})("compositionend",function(ci){return st._compositionEnd(ci.target.value)})},features:[e._Bn([h]),e.qOj]}),xe})();function $(xe){return null==xe||0===xe.length}function ue(xe){return null!=xe&&"number"==typeof xe.length}const ce=new e.OlP("NgValidators"),Le=new e.OlP("NgAsyncValidators"),de=/^(?=.{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 ke{static min(Ee){return function ae(xe){return Ee=>{if($(Ee.value)||$(xe))return null;const ye=parseFloat(Ee.value);return!isNaN(ye)&&ye{if($(Ee.value)||$(xe))return null;const ye=parseFloat(Ee.value);return!isNaN(ye)&&ye>xe?{max:{max:xe,actual:Ee.value}}:null}}(Ee)}static required(Ee){return H(Ee)}static requiredTrue(Ee){return Q(Ee)}static email(Ee){return function te(xe){return $(xe.value)||de.test(xe.value)?null:{email:!0}}(Ee)}static minLength(Ee){return function se(xe){return Ee=>$(Ee.value)||!ue(Ee.value)?null:Ee.value.lengthue(Ee.value)&&Ee.value.length>xe?{maxlength:{requiredLength:xe,actualLength:Ee.value.length}}:null}(Ee)}static pattern(Ee){return Ne(Ee)}static nullValidator(Ee){return null}static compose(Ee){return R(Ee)}static composeAsync(Ee){return Ie(Ee)}}function H(xe){return $(xe.value)?{required:!0}:null}function Q(xe){return!0===xe.value?null:{required:!0}}function Ne(xe){if(!xe)return Fe;let Ee,ye;return"string"==typeof xe?(ye="","^"!==xe.charAt(0)&&(ye+="^"),ye+=xe,"$"!==xe.charAt(xe.length-1)&&(ye+="$"),Ee=new RegExp(ye)):(ye=xe.toString(),Ee=xe),st=>{if($(st.value))return null;const Bt=st.value;return Ee.test(Bt)?null:{pattern:{requiredPattern:ye,actualValue:Bt}}}}function Fe(xe){return null}function ne(xe){return null!=xe}function Me(xe){const Ee=(0,e.QGY)(xe)?(0,g.D)(xe):xe;return(0,e.CqO)(Ee),Ee}function ve(xe){let Ee={};return xe.forEach(ye=>{Ee=null!=ye?Object.assign(Object.assign({},Ee),ye):Ee}),0===Object.keys(Ee).length?null:Ee}function me(xe,Ee){return Ee.map(ye=>ye(xe))}function ee(xe){return xe.map(Ee=>function Te(xe){return!xe.validate}(Ee)?Ee:ye=>Ee.validate(ye))}function R(xe){if(!xe)return null;const Ee=xe.filter(ne);return 0==Ee.length?null:function(ye){return ve(me(ye,Ee))}}function Oe(xe){return null!=xe?R(ee(xe)):null}function Ie(xe){if(!xe)return null;const Ee=xe.filter(ne);return 0==Ee.length?null:function(ye){const st=me(ye,Ee).map(Me);return(0,T.D)(st).pipe((0,m.U)(ve))}}function He(xe){return null!=xe?Ie(ee(xe)):null}function fe(xe,Ee){return null===xe?[Ee]:Array.isArray(xe)?[...xe,Ee]:[xe,Ee]}function Ce(xe){return xe._rawValidators}function Ve(xe){return xe._rawAsyncValidators}function Xe(xe){return xe?Array.isArray(xe)?xe:[xe]:[]}function tt(xe,Ee){return Array.isArray(xe)?xe.includes(Ee):xe===Ee}function rt(xe,Ee){const ye=Xe(Ee);return Xe(xe).forEach(Bt=>{tt(ye,Bt)||ye.push(Bt)}),ye}function N(xe,Ee){return Xe(Ee).filter(ye=>!tt(xe,ye))}class he{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(Ee){this._rawValidators=Ee||[],this._composedValidatorFn=Oe(this._rawValidators)}_setAsyncValidators(Ee){this._rawAsyncValidators=Ee||[],this._composedAsyncValidatorFn=He(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ee){this._onDestroyCallbacks.push(Ee)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ee=>Ee()),this._onDestroyCallbacks=[]}reset(Ee){this.control&&this.control.reset(Ee)}hasError(Ee,ye){return!!this.control&&this.control.hasError(Ee,ye)}getError(Ee,ye){return this.control?this.control.getError(Ee,ye):null}}class D extends he{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class S extends he{get formDirective(){return null}get path(){return null}}class I{constructor(Ee){this._cd=Ee}is(Ee){var ye,st,Bt;return"submitted"===Ee?!!(null===(ye=this._cd)||void 0===ye?void 0:ye.submitted):!!(null===(Bt=null===(st=this._cd)||void 0===st?void 0:st.control)||void 0===Bt?void 0:Bt[Ee])}}let r=(()=>{class xe extends I{constructor(ye){super(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(D,2))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ye,st){2&ye&&e.ekj("ng-untouched",st.is("untouched"))("ng-touched",st.is("touched"))("ng-pristine",st.is("pristine"))("ng-dirty",st.is("dirty"))("ng-valid",st.is("valid"))("ng-invalid",st.is("invalid"))("ng-pending",st.is("pending"))},features:[e.qOj]}),xe})(),p=(()=>{class xe extends I{constructor(ye){super(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ye,st){2&ye&&e.ekj("ng-untouched",st.is("untouched"))("ng-touched",st.is("touched"))("ng-pristine",st.is("pristine"))("ng-dirty",st.is("dirty"))("ng-valid",st.is("valid"))("ng-invalid",st.is("invalid"))("ng-pending",st.is("pending"))("ng-submitted",st.is("submitted"))},features:[e.qOj]}),xe})();function _t(xe,Ee){return[...Ee.path,xe]}function Je(xe,Ee){qe(xe,Ee),Ee.valueAccessor.writeValue(xe.value),function oe(xe,Ee){Ee.valueAccessor.registerOnChange(ye=>{xe._pendingValue=ye,xe._pendingChange=!0,xe._pendingDirty=!0,"change"===xe.updateOn&&G(xe,Ee)})}(xe,Ee),function X(xe,Ee){const ye=(st,Bt)=>{Ee.valueAccessor.writeValue(st),Bt&&Ee.viewToModelUpdate(st)};xe.registerOnChange(ye),Ee._registerOnDestroy(()=>{xe._unregisterOnChange(ye)})}(xe,Ee),function Z(xe,Ee){Ee.valueAccessor.registerOnTouched(()=>{xe._pendingTouched=!0,"blur"===xe.updateOn&&xe._pendingChange&&G(xe,Ee),"submit"!==xe.updateOn&&xe.markAsTouched()})}(xe,Ee),function Rt(xe,Ee){if(Ee.valueAccessor.setDisabledState){const ye=st=>{Ee.valueAccessor.setDisabledState(st)};xe.registerOnDisabledChange(ye),Ee._registerOnDestroy(()=>{xe._unregisterOnDisabledChange(ye)})}}(xe,Ee)}function Lt(xe,Ee,ye=!0){const st=()=>{};Ee.valueAccessor&&(Ee.valueAccessor.registerOnChange(st),Ee.valueAccessor.registerOnTouched(st)),Ye(xe,Ee),xe&&(Ee._invokeOnDestroyCallbacks(),xe._registerOnCollectionChange(()=>{}))}function ht(xe,Ee){xe.forEach(ye=>{ye.registerOnValidatorChange&&ye.registerOnValidatorChange(Ee)})}function qe(xe,Ee){const ye=Ce(xe);null!==Ee.validator?xe.setValidators(fe(ye,Ee.validator)):"function"==typeof ye&&xe.setValidators([ye]);const st=Ve(xe);null!==Ee.asyncValidator?xe.setAsyncValidators(fe(st,Ee.asyncValidator)):"function"==typeof st&&xe.setAsyncValidators([st]);const Bt=()=>xe.updateValueAndValidity();ht(Ee._rawValidators,Bt),ht(Ee._rawAsyncValidators,Bt)}function Ye(xe,Ee){let ye=!1;if(null!==xe){if(null!==Ee.validator){const Bt=Ce(xe);if(Array.isArray(Bt)&&Bt.length>0){const ci=Bt.filter(Bi=>Bi!==Ee.validator);ci.length!==Bt.length&&(ye=!0,xe.setValidators(ci))}}if(null!==Ee.asyncValidator){const Bt=Ve(xe);if(Array.isArray(Bt)&&Bt.length>0){const ci=Bt.filter(Bi=>Bi!==Ee.asyncValidator);ci.length!==Bt.length&&(ye=!0,xe.setAsyncValidators(ci))}}}const st=()=>{};return ht(Ee._rawValidators,st),ht(Ee._rawAsyncValidators,st),ye}function G(xe,Ee){xe._pendingDirty&&xe.markAsDirty(),xe.setValue(xe._pendingValue,{emitModelToViewChange:!1}),Ee.viewToModelUpdate(xe._pendingValue),xe._pendingChange=!1}function _e(xe,Ee){qe(xe,Ee)}function Vt(xe,Ee){if(!xe.hasOwnProperty("model"))return!1;const ye=xe.model;return!!ye.isFirstChange()||!Object.is(Ee,ye.currentValue)}function Et(xe,Ee){xe._syncPendingControls(),Ee.forEach(ye=>{const st=ye.control;"submit"===st.updateOn&&st._pendingChange&&(ye.viewToModelUpdate(st._pendingValue),st._pendingChange=!1)})}function At(xe,Ee){if(!Ee)return null;let ye,st,Bt;return Array.isArray(Ee),Ee.forEach(ci=>{ci.constructor===V?ye=ci:function Dt(xe){return Object.getPrototypeOf(xe.constructor)===s}(ci)?st=ci:Bt=ci}),Bt||st||ye||null}function Ot(xe,Ee){const ye=xe.indexOf(Ee);ye>-1&&xe.splice(ye,1)}const fi="VALID",Ci="INVALID",Si="PENDING",Vi="DISABLED";function $i(xe){return(We(xe)?xe.validators:xe)||null}function Yi(xe){return Array.isArray(xe)?Oe(xe):xe||null}function bn(xe,Ee){return(We(Ee)?Ee.asyncValidators:xe)||null}function Qi(xe){return Array.isArray(xe)?He(xe):xe||null}function We(xe){return null!=xe&&!Array.isArray(xe)&&"object"==typeof xe}const Tt=xe=>xe instanceof Mt,Qe=xe=>xe instanceof ei,Ze=xe=>xe instanceof Qt;function gt(xe){return Tt(xe)?xe.value:xe.getRawValue()}function F(xe,Ee){const ye=Qe(xe),st=xe.controls;if(!(ye?Object.keys(st):st).length)throw new e.vHH(1e3,"");if(!st[Ee])throw new e.vHH(1001,"")}function Be(xe,Ee){Qe(xe),xe._forEachChild((st,Bt)=>{if(void 0===Ee[Bt])throw new e.vHH(1002,"")})}class ut{constructor(Ee,ye){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=Ee,this._rawAsyncValidators=ye,this._composedValidatorFn=Yi(this._rawValidators),this._composedAsyncValidatorFn=Qi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(Ee){this._rawValidators=this._composedValidatorFn=Ee}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ee){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ee}get parent(){return this._parent}get valid(){return this.status===fi}get invalid(){return this.status===Ci}get pending(){return this.status==Si}get disabled(){return this.status===Vi}get enabled(){return this.status!==Vi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ee){this._rawValidators=Ee,this._composedValidatorFn=Yi(Ee)}setAsyncValidators(Ee){this._rawAsyncValidators=Ee,this._composedAsyncValidatorFn=Qi(Ee)}addValidators(Ee){this.setValidators(rt(Ee,this._rawValidators))}addAsyncValidators(Ee){this.setAsyncValidators(rt(Ee,this._rawAsyncValidators))}removeValidators(Ee){this.setValidators(N(Ee,this._rawValidators))}removeAsyncValidators(Ee){this.setAsyncValidators(N(Ee,this._rawAsyncValidators))}hasValidator(Ee){return tt(this._rawValidators,Ee)}hasAsyncValidator(Ee){return tt(this._rawAsyncValidators,Ee)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ee={}){this.touched=!0,this._parent&&!Ee.onlySelf&&this._parent.markAsTouched(Ee)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ee=>Ee.markAllAsTouched())}markAsUntouched(Ee={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ye=>{ye.markAsUntouched({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}markAsDirty(Ee={}){this.pristine=!1,this._parent&&!Ee.onlySelf&&this._parent.markAsDirty(Ee)}markAsPristine(Ee={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ye=>{ye.markAsPristine({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}markAsPending(Ee={}){this.status=Si,!1!==Ee.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ee.onlySelf&&this._parent.markAsPending(Ee)}disable(Ee={}){const ye=this._parentMarkedDirty(Ee.onlySelf);this.status=Vi,this.errors=null,this._forEachChild(st=>{st.disable(Object.assign(Object.assign({},Ee),{onlySelf:!0}))}),this._updateValue(),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},Ee),{skipPristineCheck:ye})),this._onDisabledChange.forEach(st=>st(!0))}enable(Ee={}){const ye=this._parentMarkedDirty(Ee.onlySelf);this.status=fi,this._forEachChild(st=>{st.enable(Object.assign(Object.assign({},Ee),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},Ee),{skipPristineCheck:ye})),this._onDisabledChange.forEach(st=>st(!1))}_updateAncestors(Ee){this._parent&&!Ee.onlySelf&&(this._parent.updateValueAndValidity(Ee),Ee.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ee){this._parent=Ee}updateValueAndValidity(Ee={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fi||this.status===Si)&&this._runAsyncValidator(Ee.emitEvent)),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ee.onlySelf&&this._parent.updateValueAndValidity(Ee)}_updateTreeValidity(Ee={emitEvent:!0}){this._forEachChild(ye=>ye._updateTreeValidity(Ee)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vi:fi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ee){if(this.asyncValidator){this.status=Si,this._hasOwnPendingAsyncValidator=!0;const ye=Me(this.asyncValidator(this));this._asyncValidationSubscription=ye.subscribe(st=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(st,{emitEvent:Ee})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ee,ye={}){this.errors=Ee,this._updateControlsErrors(!1!==ye.emitEvent)}get(Ee){return function nn(xe,Ee,ye){if(null==Ee||(Array.isArray(Ee)||(Ee=Ee.split(ye)),Array.isArray(Ee)&&0===Ee.length))return null;let st=xe;return Ee.forEach(Bt=>{st=Qe(st)?st.controls.hasOwnProperty(Bt)?st.controls[Bt]:null:Ze(st)&&st.at(Bt)||null}),st}(this,Ee,".")}getError(Ee,ye){const st=ye?this.get(ye):this;return st&&st.errors?st.errors[Ee]:null}hasError(Ee,ye){return!!this.getError(Ee,ye)}get root(){let Ee=this;for(;Ee._parent;)Ee=Ee._parent;return Ee}_updateControlsErrors(Ee){this.status=this._calculateStatus(),Ee&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ee)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Vi:this.errors?Ci:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Si)?Si:this._anyControlsHaveStatus(Ci)?Ci:fi}_anyControlsHaveStatus(Ee){return this._anyControls(ye=>ye.status===Ee)}_anyControlsDirty(){return this._anyControls(Ee=>Ee.dirty)}_anyControlsTouched(){return this._anyControls(Ee=>Ee.touched)}_updatePristine(Ee={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}_updateTouched(Ee={}){this.touched=this._anyControlsTouched(),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}_isBoxedValue(Ee){return"object"==typeof Ee&&null!==Ee&&2===Object.keys(Ee).length&&"value"in Ee&&"disabled"in Ee}_registerOnCollectionChange(Ee){this._onCollectionChange=Ee}_setUpdateStrategy(Ee){We(Ee)&&null!=Ee.updateOn&&(this._updateOn=Ee.updateOn)}_parentMarkedDirty(Ee){return!Ee&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Mt extends ut{constructor(Ee=null,ye,st){super($i(ye),bn(st,ye)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ee),this._setUpdateStrategy(ye),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),We(ye)&&ye.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(Ee)?Ee.value:Ee)}setValue(Ee,ye={}){this.value=this._pendingValue=Ee,this._onChange.length&&!1!==ye.emitModelToViewChange&&this._onChange.forEach(st=>st(this.value,!1!==ye.emitViewToModelChange)),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){this.setValue(Ee,ye)}reset(Ee=this.defaultValue,ye={}){this._applyFormState(Ee),this.markAsPristine(ye),this.markAsUntouched(ye),this.setValue(this.value,ye),this._pendingChange=!1}_updateValue(){}_anyControls(Ee){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ee){this._onChange.push(Ee)}_unregisterOnChange(Ee){Ot(this._onChange,Ee)}registerOnDisabledChange(Ee){this._onDisabledChange.push(Ee)}_unregisterOnDisabledChange(Ee){Ot(this._onDisabledChange,Ee)}_forEachChild(Ee){}_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(Ee){this._isBoxedValue(Ee)?(this.value=this._pendingValue=Ee.value,Ee.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ee}}class ei extends ut{constructor(Ee,ye,st){super($i(ye),bn(st,ye)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(ye),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ee,ye){return this.controls[Ee]?this.controls[Ee]:(this.controls[Ee]=ye,ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange),ye)}addControl(Ee,ye,st={}){this.registerControl(Ee,ye),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}removeControl(Ee,ye={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}setControl(Ee,ye,st={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],ye&&this.registerControl(Ee,ye),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}contains(Ee){return this.controls.hasOwnProperty(Ee)&&this.controls[Ee].enabled}setValue(Ee,ye={}){Be(this,Ee),Object.keys(Ee).forEach(st=>{F(this,st),this.controls[st].setValue(Ee[st],{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){null!=Ee&&(Object.keys(Ee).forEach(st=>{this.controls[st]&&this.controls[st].patchValue(Ee[st],{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye))}reset(Ee={},ye={}){this._forEachChild((st,Bt)=>{st.reset(Ee[Bt],{onlySelf:!0,emitEvent:ye.emitEvent})}),this._updatePristine(ye),this._updateTouched(ye),this.updateValueAndValidity(ye)}getRawValue(){return this._reduceChildren({},(Ee,ye,st)=>(Ee[st]=gt(ye),Ee))}_syncPendingControls(){let Ee=this._reduceChildren(!1,(ye,st)=>!!st._syncPendingControls()||ye);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){Object.keys(this.controls).forEach(ye=>{const st=this.controls[ye];st&&Ee(st,ye)})}_setUpControls(){this._forEachChild(Ee=>{Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ee){for(const ye of Object.keys(this.controls)){const st=this.controls[ye];if(this.contains(ye)&&Ee(st))return!0}return!1}_reduceValue(){return this._reduceChildren({},(Ee,ye,st)=>((ye.enabled||this.disabled)&&(Ee[st]=ye.value),Ee))}_reduceChildren(Ee,ye){let st=Ee;return this._forEachChild((Bt,ci)=>{st=ye(st,Bt,ci)}),st}_allControlsDisabled(){for(const Ee of Object.keys(this.controls))if(this.controls[Ee].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Qt extends ut{constructor(Ee,ye,st){super($i(ye),bn(st,ye)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(ye),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ee){return this.controls[Ee]}push(Ee,ye={}){this.controls.push(Ee),this._registerControl(Ee),this.updateValueAndValidity({emitEvent:ye.emitEvent}),this._onCollectionChange()}insert(Ee,ye,st={}){this.controls.splice(Ee,0,ye),this._registerControl(ye),this.updateValueAndValidity({emitEvent:st.emitEvent})}removeAt(Ee,ye={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),this.updateValueAndValidity({emitEvent:ye.emitEvent})}setControl(Ee,ye,st={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),this.controls.splice(Ee,1),ye&&(this.controls.splice(Ee,0,ye),this._registerControl(ye)),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ee,ye={}){Be(this,Ee),Ee.forEach((st,Bt)=>{F(this,Bt),this.at(Bt).setValue(st,{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye)}patchValue(Ee,ye={}){null!=Ee&&(Ee.forEach((st,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(st,{onlySelf:!0,emitEvent:ye.emitEvent})}),this.updateValueAndValidity(ye))}reset(Ee=[],ye={}){this._forEachChild((st,Bt)=>{st.reset(Ee[Bt],{onlySelf:!0,emitEvent:ye.emitEvent})}),this._updatePristine(ye),this._updateTouched(ye),this.updateValueAndValidity(ye)}getRawValue(){return this.controls.map(Ee=>gt(Ee))}clear(Ee={}){this.controls.length<1||(this._forEachChild(ye=>ye._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ee.emitEvent}))}_syncPendingControls(){let Ee=this.controls.reduce((ye,st)=>!!st._syncPendingControls()||ye,!1);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){this.controls.forEach((ye,st)=>{Ee(ye,st)})}_updateValue(){this.value=this.controls.filter(Ee=>Ee.enabled||this.disabled).map(Ee=>Ee.value)}_anyControls(Ee){return this.controls.some(ye=>ye.enabled&&Ee(ye))}_setUpControls(){this._forEachChild(Ee=>this._registerControl(Ee))}_allControlsDisabled(){for(const Ee of this.controls)if(Ee.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ee){Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)}}const Ri={provide:S,useExisting:(0,e.Gpc)(()=>Li)},bi=(()=>Promise.resolve(null))();let Li=(()=>{class xe extends S{constructor(ye,st){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ei({},Oe(ye),He(st))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ye){bi.then(()=>{const st=this._findContainer(ye.path);ye.control=st.registerControl(ye.name,ye.control),Je(ye.control,ye),ye.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ye)})}getControl(ye){return this.form.get(ye.path)}removeControl(ye){bi.then(()=>{const st=this._findContainer(ye.path);st&&st.removeControl(ye.name),this._directives.delete(ye)})}addFormGroup(ye){bi.then(()=>{const st=this._findContainer(ye.path),Bt=new ei({});_e(Bt,ye),st.registerControl(ye.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ye){bi.then(()=>{const st=this._findContainer(ye.path);st&&st.removeControl(ye.name)})}getFormGroup(ye){return this.form.get(ye.path)}updateModel(ye,st){bi.then(()=>{this.form.get(ye.path).setValue(st)})}setValue(ye){this.control.setValue(ye)}onSubmit(ye){return this.submitted=!0,Et(this.form,this._directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ye){return ye.pop(),ye.length?this.form.get(ye):this.form}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("submit",function(ci){return st.onSubmit(ci)})("reset",function(){return st.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ri]),e.qOj]}),xe})();const fn={provide:D,useExisting:(0,e.Gpc)(()=>qi)},sn=(()=>Promise.resolve(null))();let qi=(()=>{class xe extends D{constructor(ye,st,Bt,ci,Bi){super(),this._changeDetectorRef=Bi,this.control=new Mt,this._registered=!1,this.update=new e.vpe,this._parent=ye,this._setValidators(st),this._setAsyncValidators(Bt),this.valueAccessor=At(0,ci)}ngOnChanges(ye){if(this._checkForErrors(),!this._registered||"name"in ye){if(this._registered&&(this._checkName(),this.formDirective)){const st=ye.name.previousValue;this.formDirective.removeControl({name:st,path:this._getPath(st)})}this._setUpControl()}"isDisabled"in ye&&this._updateDisabled(ye),Vt(ye,this.viewModel)&&(this._updateValue(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(ye){this.viewModel=ye,this.update.emit(ye)}_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(){Je(this.control,this),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(ye){sn.then(()=>{var st;this.control.setValue(ye,{emitViewToModelChange:!1}),null===(st=this._changeDetectorRef)||void 0===st||st.markForCheck()})}_updateDisabled(ye){const st=ye.isDisabled.currentValue,Bt=""===st||st&&"false"!==st;sn.then(()=>{var ci;Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),null===(ci=this._changeDetectorRef)||void 0===ci||ci.markForCheck()})}_getPath(ye){return this._parent?_t(ye,this._parent):[ye]}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,9),e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(e.sBO,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([fn]),e.qOj,e.TTD]}),xe})(),Ct=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275dir=e.lG2({type:xe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),xe})();const $t={provide:b,useExisting:(0,e.Gpc)(()=>Y),multi:!0};let Y=(()=>{class xe extends s{writeValue(ye){this.setProperty("value",null==ye?"":ye)}registerOnChange(ye){this.onChange=st=>{ye(""==st?null:parseFloat(st))}}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("input",function(ci){return st.onChange(ci.target.value)})("blur",function(){return st.onTouched()})},features:[e._Bn([$t]),e.qOj]}),xe})(),ct=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({}),xe})();const zi=new e.OlP("NgModelWithFormControlWarning"),mn={provide:D,useExisting:(0,e.Gpc)(()=>In)};let In=(()=>{class xe extends D{constructor(ye,st,Bt,ci){super(),this._ngModelWarningConfig=ci,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(ye),this._setAsyncValidators(st),this.valueAccessor=At(0,Bt)}set isDisabled(ye){}ngOnChanges(ye){if(this._isControlChanged(ye)){const st=ye.form.previousValue;st&&Lt(st,this,!1),Je(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Vt(ye,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}_isControlChanged(ye){return ye.hasOwnProperty("form")}}return xe._ngModelWarningSentOnce=!1,xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(zi,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([mn]),e.qOj,e.TTD]}),xe})();const Wi={provide:S,useExisting:(0,e.Gpc)(()=>$n)};let $n=(()=>{class xe extends S{constructor(ye,st){super(),this.validators=ye,this.asyncValidators=st,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(ye),this._setAsyncValidators(st)}ngOnChanges(ye){this._checkFormPresent(),ye.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ye(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ye){const st=this.form.get(ye.path);return Je(st,ye),st.updateValueAndValidity({emitEvent:!1}),this.directives.push(ye),st}getControl(ye){return this.form.get(ye.path)}removeControl(ye){Lt(ye.control||null,ye,!1),Ot(this.directives,ye)}addFormGroup(ye){this._setUpFormContainer(ye)}removeFormGroup(ye){this._cleanUpFormContainer(ye)}getFormGroup(ye){return this.form.get(ye.path)}addFormArray(ye){this._setUpFormContainer(ye)}removeFormArray(ye){this._cleanUpFormContainer(ye)}getFormArray(ye){return this.form.get(ye.path)}updateModel(ye,st){this.form.get(ye.path).setValue(st)}onSubmit(ye){return this.submitted=!0,Et(this.form,this.directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_updateDomValue(){this.directives.forEach(ye=>{const st=ye.control,Bt=this.form.get(ye.path);st!==Bt&&(Lt(st||null,ye),Tt(Bt)&&(Je(Bt,ye),ye.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ye){const st=this.form.get(ye.path);_e(st,ye),st.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ye){if(this.form){const st=this.form.get(ye.path);st&&function Ue(xe,Ee){return Ye(xe,Ee)}(st,ye)&&st.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qe(this.form,this),this._oldForm&&Ye(this._oldForm,this)}_checkFormPresent(){}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(ce,10),e.Y36(Le,10))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formGroup",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("submit",function(ci){return st.onSubmit(ci)})("reset",function(){return st.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Wi]),e.qOj,e.TTD]}),xe})();const ys={provide:D,useExisting:(0,e.Gpc)(()=>vs)};let vs=(()=>{class xe extends D{constructor(ye,st,Bt,ci,Bi){super(),this._ngModelWarningConfig=Bi,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=ye,this._setValidators(st),this._setAsyncValidators(Bt),this.valueAccessor=At(0,ci)}set isDisabled(ye){}ngOnChanges(ye){this._added||this._setUpControl(),Vt(ye,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}get path(){return _t(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return xe._ngModelWarningSentOnce=!1,xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(S,13),e.Y36(ce,10),e.Y36(Le,10),e.Y36(b,10),e.Y36(zi,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([ys]),e.qOj,e.TTD]}),xe})();const ss={provide:b,useExisting:(0,e.Gpc)(()=>wn),multi:!0};function os(xe,Ee){return null==xe?`${Ee}`:(Ee&&"object"==typeof Ee&&(Ee="Object"),`${xe}: ${Ee}`.slice(0,50))}let wn=(()=>{class xe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){this.value=ye;const Bt=os(this._getOptionId(ye),ye);this.setProperty("value",Bt)}registerOnChange(ye){this.onChange=st=>{this.value=this._getOptionValue(st),ye(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ye){for(const st of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(st),ye))return st;return null}_getOptionValue(ye){const st=function Ts(xe){return xe.split(":")[0]}(ye);return this._optionMap.has(st)?this._optionMap.get(st):ye}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ye,st){1&ye&&e.NdJ("change",function(ci){return st.onChange(ci.target.value)})("blur",function(){return st.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([ss]),e.qOj]}),xe})(),Cs=(()=>{class xe{constructor(ye,st,Bt){this._element=ye,this._renderer=st,this._select=Bt,this._select&&(this.id=this._select._registerOption())}set ngValue(ye){null!=this._select&&(this._select._optionMap.set(this.id,ye),this._setElementValue(os(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._setElementValue(ye),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(wn,9))},xe.\u0275dir=e.lG2({type:xe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),xe})();const gn={provide:b,useExisting:(0,e.Gpc)(()=>Xn),multi:!0};function Fn(xe,Ee){return null==xe?`${Ee}`:("string"==typeof Ee&&(Ee=`'${Ee}'`),Ee&&"object"==typeof Ee&&(Ee="Object"),`${xe}: ${Ee}`.slice(0,50))}let Xn=(()=>{class xe extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){let st;if(this.value=ye,Array.isArray(ye)){const Bt=ye.map(ci=>this._getOptionId(ci));st=(ci,Bi)=>{ci._setSelected(Bt.indexOf(Bi.toString())>-1)}}else st=(Bt,ci)=>{Bt._setSelected(!1)};this._optionMap.forEach(st)}registerOnChange(ye){this.onChange=st=>{const Bt=[],ci=st.selectedOptions;if(void 0!==ci){const Bi=ci;for(let ln=0;ln{class xe{constructor(ye,st,Bt){this._element=ye,this._renderer=st,this._select=Bt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ye){null!=this._select&&(this._value=ye,this._setElementValue(Fn(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._select?(this._value=ye,this._setElementValue(Fn(this.id,ye)),this._select.writeValue(this._select.value)):this._setElementValue(ye)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}_setSelected(ye){this._renderer.setProperty(this._element.nativeElement,"selected",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return xe.\u0275fac=function(ye){return new(ye||xe)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Xn,9))},xe.\u0275dir=e.lG2({type:xe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),xe})(),Sn=(()=>{class xe{constructor(){this._validator=Fe}ngOnChanges(ye){if(this.inputName in ye){const st=this.normalizeInput(ye[this.inputName].currentValue);this._enabled=this.enabled(st),this._validator=this._enabled?this.createValidator(st):Fe,this._onChange&&this._onChange()}}validate(ye){return this._validator(ye)}registerOnValidatorChange(ye){this._onChange=ye}enabled(ye){return null!=ye}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275dir=e.lG2({type:xe,features:[e.TTD]}),xe})();const Un={provide:ce,useExisting:(0,e.Gpc)(()=>ot),multi:!0},ws={provide:ce,useExisting:(0,e.Gpc)(()=>B),multi:!0};let ot=(()=>{class xe extends Sn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ye=>function hs(xe){return null!=xe&&!1!==xe&&"false"!=`${xe}`}(ye),this.createValidator=ye=>H}enabled(ye){return ye}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ye,st){2&ye&&e.uIk("required",st._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Un]),e.qOj]}),xe})(),B=(()=>{class xe extends ot{constructor(){super(...arguments),this.createValidator=ye=>Q}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ye,st){2&ye&&e.uIk("required",st._enabled?"":null)},features:[e._Bn([ws]),e.qOj]}),xe})();const ie={provide:ce,useExisting:(0,e.Gpc)(()=>Ge),multi:!0};let Ge=(()=>{class xe extends Sn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ye=>ye,this.createValidator=ye=>Ne(ye)}}return xe.\u0275fac=function(){let Ee;return function(st){return(Ee||(Ee=e.n5z(xe)))(st||xe)}}(),xe.\u0275dir=e.lG2({type:xe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ye,st){2&ye&&e.uIk("pattern",st._enabled?st.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([ie]),e.qOj]}),xe})(),ii=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[[ct]]}),xe})(),ai=(()=>{class xe{}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[ii]}),xe})(),hi=(()=>{class xe{static withConfig(ye){return{ngModule:xe,providers:[{provide:zi,useValue:ye.warnOnNgModelWithFormControl}]}}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[ii]}),xe})(),yi=(()=>{class xe{group(ye,st=null){const Bt=this._reduceControls(ye);let ln,ci=null,Bi=null;return null!=st&&(function mi(xe){return void 0!==xe.asyncValidators||void 0!==xe.validators||void 0!==xe.updateOn}(st)?(ci=null!=st.validators?st.validators:null,Bi=null!=st.asyncValidators?st.asyncValidators:null,ln=null!=st.updateOn?st.updateOn:void 0):(ci=null!=st.validator?st.validator:null,Bi=null!=st.asyncValidator?st.asyncValidator:null)),new ei(Bt,{asyncValidators:Bi,updateOn:ln,validators:ci})}control(ye,st,Bt){return new Mt(ye,st,Bt)}array(ye,st,Bt){const ci=ye.map(Bi=>this._createControl(Bi));return new Qt(ci,st,Bt)}_reduceControls(ye){const st={};return Object.keys(ye).forEach(Bt=>{st[Bt]=this._createControl(ye[Bt])}),st}_createControl(ye){return Tt(ye)||Qe(ye)||Ze(ye)?ye:Array.isArray(ye)?this.control(ye[0],ye.length>1?ye[1]:null,ye.length>2?ye[2]:null):this.control(ye)}}return xe.\u0275fac=function(ye){return new(ye||xe)},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac,providedIn:hi}),xe})()},91079:(Ke,be,d)=>{"use strict";d.d(be,{XC:()=>R,Bb:()=>N,ZL:()=>Xe});var e=d(15664),f=d(63191),g=d(5e3),T=d(90508),m=d(42654),A=d(8929),s=d(88514),b=d(36787),O=d(21086),E=d(23753),h=d(70925),k=d(69808),L=d(92845),V=d(53435),$=d(91159),ue=d(47429),ce=d(93075),Le=d(67322),de=d(1059),ke=d(87545),ae=d(72986),j=d(92198),H=d(24850),Q=d(22868),te=d(40943),se=d(50226);const ge=["panel"];function Ne(he,D){if(1&he&&(g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA()),2&he){const S=D.id,I=g.oxw();g.Q6J("id",I.id)("ngClass",I._classList),g.uIk("aria-label",I.ariaLabel||null)("aria-labelledby",I._getPanelAriaLabelledby(S))}}const Fe=["*"];let ne=0;class Me{constructor(D,S){this.source=D,this.option=S}}const ve=(0,T.Kr)(class{}),me=new g.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Te(){return{autoActiveFirstOption:!1}}});let ee=(()=>{class he extends ve{constructor(S,I,P,i){super(),this._changeDetectorRef=S,this._elementRef=I,this._activeOptionChanges=m.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new g.vpe,this.opened=new g.vpe,this.closed=new g.vpe,this.optionActivated=new g.vpe,this._classList={},this.id="mat-autocomplete-"+ne++,this.inertGroups=(null==i?void 0:i.SAFARI)||!1,this._autoActiveFirstOption=!!P.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(S){this._autoActiveFirstOption=(0,f.Ig)(S)}set classList(S){this._classList=S&&S.length?(0,f.du)(S).reduce((I,P)=>(I[P]=!0,I),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new e.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(S=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[S]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(S){this.panel&&(this.panel.nativeElement.scrollTop=S)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(S){const I=new Me(this,S);this.optionSelected.emit(I)}_getPanelAriaLabelledby(S){return this.ariaLabel?null:this.ariaLabelledby?(S?S+" ":"")+this.ariaLabelledby:S}_setVisibilityClasses(S){S[this._visibleClass]=this.showPanel,S[this._hiddenClass]=!this.showPanel}}return he.\u0275fac=function(S){return new(S||he)(g.Y36(g.sBO),g.Y36(g.SBq),g.Y36(me),g.Y36(h.t4))},he.\u0275dir=g.lG2({type:he,viewQuery:function(S,I){if(1&S&&(g.Gf(g.Rgc,7),g.Gf(ge,5)),2&S){let P;g.iGM(P=g.CRH())&&(I.template=P.first),g.iGM(P=g.CRH())&&(I.panel=P.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[g.qOj]}),he})(),R=(()=>{class he extends ee{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=g.n5z(he)))(I||he)}}(),he.\u0275cmp=g.Xpm({type:he,selectors:[["mat-autocomplete"]],contentQueries:function(S,I,P){if(1&S&&(g.Suo(P,T.K7,5),g.Suo(P,T.ey,5)),2&S){let i;g.iGM(i=g.CRH())&&(I.optionGroups=i),g.iGM(i=g.CRH())&&(I.options=i)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[g._Bn([{provide:T.HF,useExisting:he}]),g.qOj],ngContentSelectors:Fe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(S,I){1&S&&(g.F$t(),g.YNc(0,Ne,3,4,"ng-template"))},directives:[k.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),he})();const Oe=new g.OlP("mat-autocomplete-scroll-strategy"),He={provide:Oe,deps:[L.aV],useFactory:function Ie(he){return()=>he.scrollStrategies.reposition()}},fe={provide:ce.JU,useExisting:(0,g.Gpc)(()=>Xe),multi:!0};let Ve=(()=>{class he{constructor(S,I,P,i,r,p,o,t,n,c,u){this._element=S,this._overlay=I,this._viewContainerRef=P,this._zone=i,this._changeDetectorRef=r,this._dir=o,this._formField=t,this._document=n,this._viewportRuler=c,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=m.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new A.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,s.P)(()=>{const y=this.autocomplete?this.autocomplete.options:null;return y?y.changes.pipe((0,de.O)(y),(0,ke.w)(()=>(0,b.T)(...y.map(M=>M.onSelectionChange)))):this._zone.onStable.pipe((0,ae.q)(1),(0,ke.w)(()=>this.optionSelections))}),this._scrollStrategy=p}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(S){this._autocompleteDisabled=(0,f.Ig)(S)}ngAfterViewInit(){const S=this._getWindow();void 0!==S&&this._zone.runOutsideAngular(()=>S.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(S){S.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const S=this._getWindow();void 0!==S&&S.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,b.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,j.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,j.h)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,H.U)(S=>S instanceof T.rN?S:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,b.T)((0,E.R)(this._document,"click"),(0,E.R)(this._document,"auxclick"),(0,E.R)(this._document,"touchend")).pipe((0,j.h)(S=>{const I=(0,h.sA)(S),P=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&I!==this._element.nativeElement&&(!P||!P.contains(I))&&(!i||!i.contains(I))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(I)}))}writeValue(S){Promise.resolve().then(()=>this._setTriggerValue(S))}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this._element.nativeElement.disabled=S}_handleKeydown(S){const I=S.keyCode;if(I===$.hY&&!(0,$.Vb)(S)&&S.preventDefault(),this.activeOption&&I===$.K5&&this.panelOpen&&!(0,$.Vb)(S))this.activeOption._selectViaInteraction(),this._resetActiveItem(),S.preventDefault();else if(this.autocomplete){const P=this.autocomplete._keyManager.activeItem,i=I===$.LH||I===$.JH;this.panelOpen||I===$.Mf?this.autocomplete._keyManager.onKeydown(S):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==P)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(S){let I=S.target,P=I.value;"number"===I.type&&(P=""==P?null:parseFloat(P)),this._previousValue!==P&&(this._previousValue=P,this._onChange(P),this._canOpen()&&this._document.activeElement===S.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(S=!1){this._formField&&"auto"===this._formField.floatLabel&&(S?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const S=this._zone.onStable.pipe((0,ae.q)(1)),I=this.autocomplete.options.changes.pipe((0,Q.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,te.g)(0));return(0,b.T)(S,I).pipe((0,ke.w)(()=>{const P=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),P!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,ae.q)(1)).subscribe(P=>this._setValueAndClose(P))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(S){const I=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(S):S,P=null!=I?I:"";this._formField?this._formField._control.value=P:this._element.nativeElement.value=P,this._previousValue=P}_setValueAndClose(S){const I=S&&S.source;I&&(this._clearPreviousSelectedOption(I),this._setTriggerValue(I.value),this._onChange(I.value),this.autocomplete._emitSelectEvent(I),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(S){this.autocomplete.options.forEach(I=>{I!==S&&I.selected&&I.deselect()})}_attachOverlay(){var S;let I=this._overlayRef;I?(this._positionStrategy.setOrigin(this._getConnectedElement()),I.updateSize({width:this._getPanelWidth()})):(this._portal=new ue.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(S=this._formField)||void 0===S?void 0:S.getLabelId()}),I=this._overlay.create(this._getOverlayConfig()),this._overlayRef=I,I.keydownEvents().subscribe(i=>{(i.keyCode===$.hY&&!(0,$.Vb)(i)||i.keyCode===$.LH&&(0,$.Vb)(i,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&I&&I.updateSize({width:this._getPanelWidth()})})),I&&!I.hasAttached()&&(I.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const P=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&P!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var S;return new L.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(S=this._defaults)||void 0===S?void 0:S.overlayPanelClass})}_getOverlayPosition(){const S=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(S),this._positionStrategy=S,S}_setStrategyPositions(S){const I=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],P=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:P},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:P}];let r;r="above"===this.position?i:"below"===this.position?I:[...I,...i],S.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const S=this.autocomplete;S.autoActiveFirstOption?S._keyManager.setFirstItemActive():S._keyManager.setActiveItem(-1)}_canOpen(){const S=this._element.nativeElement;return!S.readOnly&&!S.disabled&&!this._autocompleteDisabled}_getWindow(){var S;return(null===(S=this._document)||void 0===S?void 0:S.defaultView)||window}_scrollToOption(S){const I=this.autocomplete,P=(0,T.CB)(S,I.options,I.optionGroups);if(0===S&&1===P)I._setScrollTop(0);else if(I.panel){const i=I.options.toArray()[S];if(i){const r=i._getHostElement(),p=(0,T.jH)(r.offsetTop,r.offsetHeight,I._getScrollTop(),I.panel.nativeElement.offsetHeight);I._setScrollTop(p)}}}}return he.\u0275fac=function(S){return new(S||he)(g.Y36(g.SBq),g.Y36(L.aV),g.Y36(g.s_b),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(Oe),g.Y36(se.Is,8),g.Y36(Le.G_,9),g.Y36(k.K0,8),g.Y36(V.rL),g.Y36(me,8))},he.\u0275dir=g.lG2({type:he,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[g.TTD]}),he})(),Xe=(()=>{class he extends Ve{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=g.n5z(he)))(I||he)}}(),he.\u0275dir=g.lG2({type:he,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(S,I){1&S&&g.NdJ("focusin",function(){return I._handleFocus()})("blur",function(){return I._onTouched()})("input",function(i){return I._handleInput(i)})("keydown",function(i){return I._handleKeydown(i)}),2&S&&g.uIk("autocomplete",I.autocompleteAttribute)("role",I.autocompleteDisabled?null:"combobox")("aria-autocomplete",I.autocompleteDisabled?null:"list")("aria-activedescendant",I.panelOpen&&I.activeOption?I.activeOption.id:null)("aria-expanded",I.autocompleteDisabled?null:I.panelOpen.toString())("aria-owns",I.autocompleteDisabled||!I.panelOpen||null==I.autocomplete?null:I.autocomplete.id)("aria-haspopup",!I.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[g._Bn([fe]),g.qOj]}),he})(),N=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[He],imports:[[L.U8,T.Ng,T.BQ,k.ez],V.ZD,T.Ng,T.BQ]}),he})()},27544:(Ke,be,d)=>{"use strict";d.d(be,{k:()=>O,g:()=>E});var e=d(5e3),f=d(90508),g=d(15664),T=d(63191),m=d(76360);let A=0;const s=(0,f.Id)(class{}),b="mat-badge-content";let O=(()=>{class h extends s{constructor(L,V,$,ue,ce){super(),this._ngZone=L,this._elementRef=V,this._ariaDescriber=$,this._renderer=ue,this._animationMode=ce,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=A++,this._isInitialized=!1}get color(){return this._color}set color(L){this._setColor(L),this._color=L}get overlap(){return this._overlap}set overlap(L){this._overlap=(0,T.Ig)(L)}get content(){return this._content}set content(L){this._updateRenderedContent(L)}get description(){return this._description}set description(L){this._updateHostAriaDescription(L)}get hidden(){return this._hidden}set hidden(L){this._hidden=(0,T.Ig)(L)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const L=this._renderer.createElement("span"),V="mat-badge-active";return L.setAttribute("id",`mat-badge-content-${this._id}`),L.setAttribute("aria-hidden","true"),L.classList.add(b),"NoopAnimations"===this._animationMode&&L.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(L),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{L.classList.add(V)})}):L.classList.add(V),L}_updateRenderedContent(L){const V=`${null!=L?L:""}`.trim();this._isInitialized&&V&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=V),this._content=V}_updateHostAriaDescription(L){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),L&&this._ariaDescriber.describe(this._elementRef.nativeElement,L),this._description=L}_setColor(L){const V=this._elementRef.nativeElement.classList;V.remove(`mat-badge-${this._color}`),L&&V.add(`mat-badge-${L}`)}_clearExistingBadges(){const L=this._elementRef.nativeElement.querySelectorAll(`:scope > .${b}`);for(const V of Array.from(L))V!==this._badgeElement&&V.remove()}}return h.\u0275fac=function(L){return new(L||h)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(m.Qb,8))},h.\u0275dir=e.lG2({type:h,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(L,V){2&L&&e.ekj("mat-badge-overlap",V.overlap)("mat-badge-above",V.isAbove())("mat-badge-below",!V.isAbove())("mat-badge-before",!V.isAfter())("mat-badge-after",V.isAfter())("mat-badge-small","small"===V.size)("mat-badge-medium","medium"===V.size)("mat-badge-large","large"===V.size)("mat-badge-hidden",V.hidden||!V.content)("mat-badge-disabled",V.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),h})(),E=(()=>{class h{}return h.\u0275fac=function(L){return new(L||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[[g.rt,f.BQ],f.BQ]}),h})()},47423:(Ke,be,d)=>{"use strict";d.d(be,{lW:()=>h,ot:()=>L});var e=d(5e3),f=d(90508),g=d(76360),T=d(15664);const m=["mat-button",""],A=["*"],O=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],E=(0,f.pj)((0,f.Id)((0,f.Kr)(class{constructor(V){this._elementRef=V}})));let h=(()=>{class V extends E{constructor(ue,ce,Le){super(ue),this._focusMonitor=ce,this._animationMode=Le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const de of O)this._hasHostAttributes(de)&&this._getHostElement().classList.add(de);ue.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ue,ce){ue?this._focusMonitor.focusVia(this._getHostElement(),ue,ce):this._getHostElement().focus(ce)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...ue){return ue.some(ce=>this._getHostElement().hasAttribute(ce))}}return V.\u0275fac=function(ue){return new(ue||V)(e.Y36(e.SBq),e.Y36(T.tE),e.Y36(g.Qb,8))},V.\u0275cmp=e.Xpm({type:V,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(ue,ce){if(1&ue&&e.Gf(f.wG,5),2&ue){let Le;e.iGM(Le=e.CRH())&&(ce.ripple=Le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(ue,ce){2&ue&&(e.uIk("disabled",ce.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mat-button-disabled",ce.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:m,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(ue,ce){1&ue&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&ue&&(e.xp6(2),e.ekj("mat-button-ripple-round",ce.isRoundButton||ce.isIconButton),e.Q6J("matRippleDisabled",ce._isRippleDisabled())("matRippleCentered",ce.isIconButton)("matRippleTrigger",ce._getHostElement()))},directives:[f.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),V})(),L=(()=>{class V{}return V.\u0275fac=function(ue){return new(ue||V)},V.\u0275mod=e.oAB({type:V}),V.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),V})()},9224:(Ke,be,d)=>{"use strict";d.d(be,{a8:()=>ae,kc:()=>ke,dn:()=>E,dk:()=>j,QW:()=>Q,$j:()=>k,n5:()=>h});var e=d(5e3),f=d(76360),g=d(90508);const T=["*",[["mat-card-footer"]]],m=["*","mat-card-footer"],A=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],s=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let E=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),te})(),h=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),te})(),k=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),te})(),ke=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275dir=e.lG2({type:te,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),te})(),ae=(()=>{class te{constructor(ge){this._animationMode=ge}}return te.\u0275fac=function(ge){return new(ge||te)(e.Y36(f.Qb,8))},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(ge,Ne){2&ge&&e.ekj("_mat-animation-noopable","NoopAnimations"===Ne._animationMode)},exportAs:["matCard"],ngContentSelectors:m,decls:2,vars:0,template:function(ge,Ne){1&ge&&(e.F$t(T),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),te})(),j=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:s,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(ge,Ne){1&ge&&(e.F$t(A),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),te})(),Q=(()=>{class te{}return te.\u0275fac=function(ge){return new(ge||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),te})()},77446:(Ke,be,d)=>{"use strict";d.d(be,{oG:()=>Le,p9:()=>j});var e=d(63191),f=d(5e3),g=d(93075),T=d(90508),m=d(76360),A=d(15664),s=d(17144);const b=["input"],O=function(H){return{enterDuration:H}},E=["*"],h=new f.OlP("mat-checkbox-default-options",{providedIn:"root",factory:k});function k(){return{color:"accent",clickAction:"check-indeterminate"}}let L=0;const V=k(),$={provide:g.JU,useExisting:(0,f.Gpc)(()=>Le),multi:!0};class ue{}const ce=(0,T.sb)((0,T.pj)((0,T.Kr)((0,T.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends ce{constructor(te,se,ge,Ne,Fe,ne,Me){super(te),this._changeDetectorRef=se,this._focusMonitor=ge,this._ngZone=Ne,this._animationMode=ne,this._options=Me,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++L,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new f.vpe,this.indeterminateChange=new f.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||V,this.color=this.defaultColor=this._options.color||V.color,this.tabIndex=parseInt(Fe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(te){this._required=(0,e.Ig)(te)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{te||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(te){te!=this.checked&&(this._checked=te,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(te){const se=(0,e.Ig)(te);se!==this.disabled&&(this._disabled=se,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(te){const se=te!=this._indeterminate;this._indeterminate=(0,e.Ig)(te),se&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(te){this.checked=!!te}registerOnChange(te){this._controlValueAccessorChangeFn=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(te){let se=this._currentCheckState,ge=this._elementRef.nativeElement;if(se!==te&&(this._currentAnimationClass.length>0&&ge.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(se,te),this._currentCheckState=te,this._currentAnimationClass.length>0)){ge.classList.add(this._currentAnimationClass);const Ne=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ge.classList.remove(Ne)},1e3)})}}_emitChangeEvent(){const te=new ue;te.source=this,te.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(te),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(te){var se;const ge=null===(se=this._options)||void 0===se?void 0:se.clickAction;te.stopPropagation(),this.disabled||"noop"===ge?!this.disabled&&"noop"===ge&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ge&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(te,se){te?this._focusMonitor.focusVia(this._inputElement,te,se):this._inputElement.nativeElement.focus(se)}_onInteractionEvent(te){te.stopPropagation()}_getAnimationClassForCheckStateTransition(te,se){if("NoopAnimations"===this._animationMode)return"";let ge="";switch(te){case 0:if(1===se)ge="unchecked-checked";else{if(3!=se)return"";ge="unchecked-indeterminate"}break;case 2:ge=1===se?"unchecked-checked":"unchecked-indeterminate";break;case 1:ge=2===se?"checked-unchecked":"checked-indeterminate";break;case 3:ge=1===se?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${ge}`}_syncIndeterminate(te){const se=this._inputElement;se&&(se.nativeElement.indeterminate=te)}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(A.tE),f.Y36(f.R0b),f.$8M("tabindex"),f.Y36(m.Qb,8),f.Y36(h,8))},H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-checkbox"]],viewQuery:function(te,se){if(1&te&&(f.Gf(b,5),f.Gf(T.wG,5)),2&te){let ge;f.iGM(ge=f.CRH())&&(se._inputElement=ge.first),f.iGM(ge=f.CRH())&&(se.ripple=ge.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(te,se){2&te&&(f.Ikx("id",se.id),f.uIk("tabindex",null),f.ekj("mat-checkbox-indeterminate",se.indeterminate)("mat-checkbox-checked",se.checked)("mat-checkbox-disabled",se.disabled)("mat-checkbox-label-before","before"==se.labelPosition)("_mat-animation-noopable","NoopAnimations"===se._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[f._Bn([$]),f.qOj],ngContentSelectors:E,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(te,se){if(1&te&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2),f.TgZ(3,"input",3,4),f.NdJ("change",function(Ne){return se._onInteractionEvent(Ne)})("click",function(Ne){return se._onInputClick(Ne)}),f.qZA(),f.TgZ(5,"span",5),f._UZ(6,"span",6),f.qZA(),f._UZ(7,"span",7),f.TgZ(8,"span",8),f.O4$(),f.TgZ(9,"svg",9),f._UZ(10,"path",10),f.qZA(),f.kcU(),f._UZ(11,"span",11),f.qZA(),f.qZA(),f.TgZ(12,"span",12,13),f.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),f.TgZ(14,"span",14),f._uU(15,"\xa0"),f.qZA(),f.Hsn(16),f.qZA(),f.qZA()),2&te){const ge=f.MAs(1),Ne=f.MAs(13);f.uIk("for",se.inputId),f.xp6(2),f.ekj("mat-checkbox-inner-container-no-side-margin",!Ne.textContent||!Ne.textContent.trim()),f.xp6(1),f.Q6J("id",se.inputId)("required",se.required)("checked",se.checked)("disabled",se.disabled)("tabIndex",se.tabIndex),f.uIk("value",se.value)("name",se.name)("aria-label",se.ariaLabel||null)("aria-labelledby",se.ariaLabelledby)("aria-checked",se._getAriaChecked())("aria-describedby",se.ariaDescribedby),f.xp6(2),f.Q6J("matRippleTrigger",ge)("matRippleDisabled",se._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",f.VKq(19,O,"NoopAnimations"===se._animationMode?0:150))}},directives:[T.wG,s.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})(),j=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[T.si,T.BQ,s.Q8,ae],T.BQ,ae]}),H})()},26688:(Ke,be,d)=>{"use strict";d.d(be,{HS:()=>ge,oH:()=>Me,qn:()=>ee,Hi:()=>Oe});var e=d(91159),f=d(5e3),g=d(90508),T=d(63191),m=d(69808),A=d(76360),s=d(8929),b=d(36787),O=d(72986),E=d(7625),h=d(1059),k=d(70925),L=d(15664),V=d(20449),$=d(93075),ue=d(67322),ce=d(50226);const Le=["*"],ke=new f.OlP("MatChipRemove"),ae=new f.OlP("MatChipAvatar"),j=new f.OlP("MatChipTrailingIcon");class H{constructor(He){this._elementRef=He}}const Q=(0,g.sb)((0,g.pj)((0,g.Kr)(H),"primary"),-1);let ge=(()=>{class Ie extends Q{constructor(fe,Ce,Ve,Xe,tt,rt,N,he){super(fe),this._ngZone=Ce,this._changeDetectorRef=tt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new s.xQ,this._onBlur=new s.xQ,this.selectionChange=new f.vpe,this.destroyed=new f.vpe,this.removed=new f.vpe,this._addHostClassName(),this._chipRippleTarget=rt.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.IR(this,Ce,this._chipRippleTarget,Ve),this._chipRipple.setupTriggerEvents(fe),this.rippleConfig=Xe||{},this._animationsDisabled="NoopAnimations"===N,this.tabIndex=null!=he&&parseInt(he)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(fe){const Ce=(0,T.Ig)(fe);Ce!==this._selected&&(this._selected=Ce,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(fe){this._value=fe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(fe){this._selectable=(0,T.Ig)(fe)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe)}get removable(){return this._removable}set removable(fe){this._removable=(0,T.Ig)(fe)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const fe="mat-basic-chip",Ce=this._elementRef.nativeElement;Ce.hasAttribute(fe)||Ce.tagName.toLowerCase()===fe?Ce.classList.add(fe):Ce.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(fe=!1){return this._selected=!this.selected,this._dispatchSelectionChange(fe),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(fe){this.disabled&&fe.preventDefault()}_handleKeydown(fe){if(!this.disabled)switch(fe.keyCode){case e.yY:case e.ZH:this.remove(),fe.preventDefault();break;case e.L_:this.selectable&&this.toggleSelected(!0),fe.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(fe=!1){this.selectionChange.emit({source:this,isUserInput:fe,selected:this._selected})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(k.t4),f.Y36(g.Y2,8),f.Y36(f.sBO),f.Y36(m.K0),f.Y36(A.Qb,8),f.$8M("tabindex"))},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(fe,Ce,Ve){if(1&fe&&(f.Suo(Ve,ae,5),f.Suo(Ve,j,5),f.Suo(Ve,ke,5)),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce.avatar=Xe.first),f.iGM(Xe=f.CRH())&&(Ce.trailingIcon=Xe.first),f.iGM(Xe=f.CRH())&&(Ce.removeIcon=Xe.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(fe,Ce){1&fe&&f.NdJ("click",function(Xe){return Ce._handleClick(Xe)})("keydown",function(Xe){return Ce._handleKeydown(Xe)})("focus",function(){return Ce.focus()})("blur",function(){return Ce._blur()}),2&fe&&(f.uIk("tabindex",Ce.disabled?null:Ce.tabIndex)("disabled",Ce.disabled||null)("aria-disabled",Ce.disabled.toString())("aria-selected",Ce.ariaSelected),f.ekj("mat-chip-selected",Ce.selected)("mat-chip-with-avatar",Ce.avatar)("mat-chip-with-trailing-icon",Ce.trailingIcon||Ce.removeIcon)("mat-chip-disabled",Ce.disabled)("_mat-animation-noopable",Ce._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[f.qOj]}),Ie})();const Fe=new f.OlP("mat-chips-default-options");let ne=0,Me=(()=>{class Ie{constructor(fe,Ce){this._elementRef=fe,this._defaultOptions=Ce,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new f.vpe,this.placeholder="",this.id="mat-chip-list-input-"+ne++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(fe){fe&&(this._chipList=fe,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(fe){this._addOnBlur=(0,T.Ig)(fe)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(fe){if(fe){if(fe.keyCode===e.Mf&&!(0,e.Vb)(fe,"shiftKey")&&this._chipList._allowFocusEscape(),fe.keyCode===e.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void fe.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(fe)}_keyup(fe){!this._focusLastChipOnBackspace&&fe.keyCode===e.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,fe.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(fe){!this.inputElement.value&&!!fe&&this._chipList._keydown(fe),(!fe||this._isSeparatorKey(fe))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==fe||fe.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(fe){this.inputElement.focus(fe)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(fe){return!(0,e.Vb)(fe)&&new Set(this.separatorKeyCodes).has(fe.keyCode)}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(Fe))},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(fe,Ce){1&fe&&f.NdJ("keydown",function(Xe){return Ce._keydown(Xe)})("keyup",function(Xe){return Ce._keyup(Xe)})("blur",function(){return Ce._blur()})("focus",function(){return Ce._focus()})("input",function(){return Ce._onInput()}),2&fe&&(f.Ikx("id",Ce.id),f.uIk("disabled",Ce.disabled||null)("placeholder",Ce.placeholder||null)("aria-invalid",Ce._chipList&&Ce._chipList.ngControl?Ce._chipList.ngControl.invalid:null)("aria-required",Ce._chipList&&Ce._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[f.TTD]}),Ie})();const ve=(0,g.FD)(class{constructor(Ie,He,fe,Ce){this._defaultErrorStateMatcher=Ie,this._parentForm=He,this._parentFormGroup=fe,this.ngControl=Ce}});let me=0;class Te{constructor(He,fe){this.source=He,this.value=fe}}let ee=(()=>{class Ie extends ve{constructor(fe,Ce,Ve,Xe,tt,rt,N){super(rt,Xe,tt,N),this._elementRef=fe,this._changeDetectorRef=Ce,this._dir=Ve,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new s.xQ,this._uid="mat-chip-list-"+me++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(he,D)=>he===D,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new f.vpe,this.valueChange=new f.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var fe,Ce;return this.multiple?(null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected)||[]:null===(Ce=this._selectionModel)||void 0===Ce?void 0:Ce.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(fe){this._multiple=(0,T.Ig)(fe),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(fe){this._compareWith=fe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(fe){this.writeValue(fe),this._value=fe}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var fe,Ce,Ve,Xe;return null!==(Xe=null!==(fe=this._required)&&void 0!==fe?fe:null===(Ve=null===(Ce=this.ngControl)||void 0===Ce?void 0:Ce.control)||void 0===Ve?void 0:Ve.hasValidator($.kI.required))&&void 0!==Xe&&Xe}set required(fe){this._required=(0,T.Ig)(fe),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(fe){this._placeholder=fe,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(fe){this._disabled=(0,T.Ig)(fe),this._syncChipsState()}get selectable(){return this._selectable}set selectable(fe){this._selectable=(0,T.Ig)(fe),this.chips&&this.chips.forEach(Ce=>Ce.chipListSelectable=this._selectable)}set tabIndex(fe){this._userTabIndex=fe,this._tabIndex=fe}get chipSelectionChanges(){return(0,b.T)(...this.chips.map(fe=>fe.selectionChange))}get chipFocusChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onFocus))}get chipBlurChanges(){return(0,b.T)(...this.chips.map(fe=>fe._onBlur))}get chipRemoveChanges(){return(0,b.T)(...this.chips.map(fe=>fe.destroyed))}ngAfterContentInit(){this._keyManager=new L.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(fe=>this._keyManager.withHorizontalOrientation(fe)),this._keyManager.tabOut.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,h.O)(null),(0,E.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new V.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(fe){this._chipInput=fe,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",fe.id)}setDescribedByIds(fe){this._ariaDescribedby=fe.join(" ")}writeValue(fe){this.chips&&this._setSelectionByValue(fe,!1)}registerOnChange(fe){this._onChange=fe}registerOnTouched(fe){this._onTouched=fe}setDisabledState(fe){this.disabled=fe,this.stateChanges.next()}onContainerClick(fe){this._originatesFromChip(fe)||this.focus()}focus(fe){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(fe),this.stateChanges.next()))}_focusInput(fe){this._chipInput&&this._chipInput.focus(fe)}_keydown(fe){const Ce=fe.target;Ce&&Ce.classList.contains("mat-chip")&&(this._keyManager.onKeydown(fe),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const fe=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(fe)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(fe){return fe>=0&&feVe.deselect()),Array.isArray(fe))fe.forEach(Ve=>this._selectValue(Ve,Ce)),this._sortValues();else{const Ve=this._selectValue(fe,Ce);Ve&&Ce&&this._keyManager.setActiveItem(Ve)}}_selectValue(fe,Ce=!0){const Ve=this.chips.find(Xe=>null!=Xe.value&&this._compareWith(Xe.value,fe));return Ve&&(Ce?Ve.selectViaInteraction():Ve.select(),this._selectionModel.select(Ve)),Ve}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(fe){this._selectionModel.clear(),this.chips.forEach(Ce=>{Ce!==fe&&Ce.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(fe=>{fe.selected&&this._selectionModel.select(fe)}),this.stateChanges.next())}_propagateChanges(fe){let Ce=null;Ce=Array.isArray(this.selected)?this.selected.map(Ve=>Ve.value):this.selected?this.selected.value:fe,this._value=Ce,this.change.emit(new Te(this,Ce)),this.valueChange.emit(Ce),this._onChange(Ce),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(fe=>{fe.source.selected?this._selectionModel.select(fe.source):this._selectionModel.deselect(fe.source),this.multiple||this.chips.forEach(Ce=>{!this._selectionModel.isSelected(Ce)&&Ce.selected&&Ce.deselect()}),fe.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(fe=>{let Ce=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(Ce)&&this._keyManager.updateActiveItem(Ce),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(fe=>{const Ce=fe.chip,Ve=this.chips.toArray().indexOf(fe.chip);this._isValidIndex(Ve)&&Ce._hasFocus&&(this._lastDestroyedChipIndex=Ve)})}_originatesFromChip(fe){let Ce=fe.target;for(;Ce&&Ce!==this._elementRef.nativeElement;){if(Ce.classList.contains("mat-chip"))return!0;Ce=Ce.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(fe=>fe._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(fe=>{fe._chipListDisabled=this._disabled,fe._chipListMultiple=this.multiple})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(ce.Is,8),f.Y36($.F,8),f.Y36($.sg,8),f.Y36(g.rD),f.Y36($.a5,10))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-chip-list"]],contentQueries:function(fe,Ce,Ve){if(1&fe&&f.Suo(Ve,ge,5),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce.chips=Xe)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(fe,Ce){1&fe&&f.NdJ("focus",function(){return Ce.focus()})("blur",function(){return Ce._blur()})("keydown",function(Xe){return Ce._keydown(Xe)}),2&fe&&(f.Ikx("id",Ce._uid),f.uIk("tabindex",Ce.disabled?null:Ce._tabIndex)("aria-describedby",Ce._ariaDescribedby||null)("aria-required",Ce.role?Ce.required:null)("aria-disabled",Ce.disabled.toString())("aria-invalid",Ce.errorState)("aria-multiselectable",Ce.multiple)("role",Ce.role)("aria-orientation",Ce.ariaOrientation),f.ekj("mat-chip-list-disabled",Ce.disabled)("mat-chip-list-invalid",Ce.errorState)("mat-chip-list-required",Ce.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[f._Bn([{provide:ue.Eo,useExisting:Ie}]),f.qOj],ngContentSelectors:Le,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(fe,Ce){1&fe&&(f.F$t(),f.TgZ(0,"div",0),f.Hsn(1),f.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=f.oAB({type:Ie}),Ie.\u0275inj=f.cJS({providers:[g.rD,{provide:Fe,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[g.BQ]]}),Ie})()},90508:(Ke,be,d)=>{"use strict";d.d(be,{yN:()=>de,mZ:()=>ke,_A:()=>ee,rD:()=>tt,sG:()=>R,K7:()=>It,HF:()=>et,Y2:()=>c,BQ:()=>H,X2:()=>rt,uc:()=>D,XK:()=>Ve,ey:()=>Je,Ng:()=>Rt,rN:()=>Ht,nP:()=>M,us:()=>re,wG:()=>u,si:()=>y,LF:()=>He,IR:()=>o,CB:()=>Lt,jH:()=>ht,pj:()=>Ne,Kr:()=>Fe,Id:()=>ge,FD:()=>Me,dB:()=>ve,sb:()=>ne,E0:()=>N});var e=d(5e3),f=d(50226),T=d(69808),m=d(70925),A=d(15664),s=d(63191),b=d(8929),O=d(32916),E=d(1059),h=d(76360),k=d(91159);function $(qe,Ye){if(1&qe&&e._UZ(0,"mat-pseudo-checkbox",4),2&qe){const oe=e.oxw();e.Q6J("state",oe.selected?"checked":"unchecked")("disabled",oe.disabled)}}function ue(qe,Ye){if(1&qe&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&qe){const oe=e.oxw();e.xp6(1),e.hij("(",oe.group.label,")")}}const ce=["*"];let de=(()=>{class qe{}return qe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",qe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",qe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",qe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",qe})(),ke=(()=>{class qe{}return qe.COMPLEX="375ms",qe.ENTERING="225ms",qe.EXITING="195ms",qe})();const j=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ae(){return!0}});let H=(()=>{class qe{constructor(oe,Z,G){this._sanityChecks=Z,this._document=G,this._hasDoneGlobalChecks=!1,oe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(oe){return!(0,m.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[oe])}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.LFG(A.qm),e.LFG(j,8),e.LFG(T.K0))},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[f.vT],f.vT]}),qe})();function ge(qe){return class extends qe{constructor(...Ye){super(...Ye),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ye){this._disabled=(0,s.Ig)(Ye)}}}function Ne(qe,Ye){return class extends qe{constructor(...oe){super(...oe),this.defaultColor=Ye,this.color=Ye}get color(){return this._color}set color(oe){const Z=oe||this.defaultColor;Z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Z&&this._elementRef.nativeElement.classList.add(`mat-${Z}`),this._color=Z)}}}function Fe(qe){return class extends qe{constructor(...Ye){super(...Ye),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ye){this._disableRipple=(0,s.Ig)(Ye)}}}function ne(qe,Ye=0){return class extends qe{constructor(...oe){super(...oe),this._tabIndex=Ye,this.defaultTabIndex=Ye}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(oe){this._tabIndex=null!=oe?(0,s.su)(oe):this.defaultTabIndex}}}function Me(qe){return class extends qe{constructor(...Ye){super(...Ye),this.stateChanges=new b.xQ,this.errorState=!1}updateErrorState(){const Ye=this.errorState,X=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);X!==Ye&&(this.errorState=X,this.stateChanges.next())}}}function ve(qe){return class extends qe{constructor(...Ye){super(...Ye),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new O.y(oe=>{this._isInitialized?this._notifySubscriber(oe):this._pendingSubscribers.push(oe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ye){Ye.next(),Ye.complete()}}}const me=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Te(){return(0,e.f3M)(e.soG)}});class ee{constructor(){this._localeChanges=new b.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ye){return this.isDateInstance(Ye)&&this.isValid(Ye)?Ye:null}deserialize(Ye){return null==Ye||this.isDateInstance(Ye)&&this.isValid(Ye)?Ye:this.invalid()}setLocale(Ye){this.locale=Ye,this._localeChanges.next()}compareDate(Ye,oe){return this.getYear(Ye)-this.getYear(oe)||this.getMonth(Ye)-this.getMonth(oe)||this.getDate(Ye)-this.getDate(oe)}sameDate(Ye,oe){if(Ye&&oe){let Z=this.isValid(Ye),G=this.isValid(oe);return Z&&G?!this.compareDate(Ye,oe):Z==G}return Ye==oe}clampDate(Ye,oe,Z){return oe&&this.compareDate(Ye,oe)<0?oe:Z&&this.compareDate(Ye,Z)>0?Z:Ye}}const R=new e.OlP("mat-date-formats"),Oe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ie(qe,Ye){const oe=Array(qe);for(let Z=0;Z{class qe extends ee{constructor(oe,Z){super(),this.useUtcForDisplay=!1,super.setLocale(oe)}getYear(oe){return oe.getFullYear()}getMonth(oe){return oe.getMonth()}getDate(oe){return oe.getDate()}getDayOfWeek(oe){return oe.getDay()}getMonthNames(oe){const Z=new Intl.DateTimeFormat(this.locale,{month:oe,timeZone:"utc"});return Ie(12,G=>this._format(Z,new Date(2017,G,1)))}getDateNames(){const oe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ie(31,Z=>this._format(oe,new Date(2017,0,Z+1)))}getDayOfWeekNames(oe){const Z=new Intl.DateTimeFormat(this.locale,{weekday:oe,timeZone:"utc"});return Ie(7,G=>this._format(Z,new Date(2017,0,G+1)))}getYearName(oe){const Z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Z,oe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(oe){return this.getDate(this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe)+1,0))}clone(oe){return new Date(oe.getTime())}createDate(oe,Z,G){let X=this._createDateWithOverflow(oe,Z,G);return X.getMonth(),X}today(){return new Date}parse(oe){return"number"==typeof oe?new Date(oe):oe?new Date(Date.parse(oe)):null}format(oe,Z){if(!this.isValid(oe))throw Error("NativeDateAdapter: Cannot format invalid date.");const G=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},Z),{timeZone:"utc"}));return this._format(G,oe)}addCalendarYears(oe,Z){return this.addCalendarMonths(oe,12*Z)}addCalendarMonths(oe,Z){let G=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe)+Z,this.getDate(oe));return this.getMonth(G)!=((this.getMonth(oe)+Z)%12+12)%12&&(G=this._createDateWithOverflow(this.getYear(G),this.getMonth(G),0)),G}addCalendarDays(oe,Z){return this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),this.getDate(oe)+Z)}toIso8601(oe){return[oe.getUTCFullYear(),this._2digit(oe.getUTCMonth()+1),this._2digit(oe.getUTCDate())].join("-")}deserialize(oe){if("string"==typeof oe){if(!oe)return null;if(Oe.test(oe)){let Z=new Date(oe);if(this.isValid(Z))return Z}}return super.deserialize(oe)}isDateInstance(oe){return oe instanceof Date}isValid(oe){return!isNaN(oe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(oe,Z,G){const X=new Date;return X.setFullYear(oe,Z,G),X.setHours(0,0,0,0),X}_2digit(oe){return("00"+oe).slice(-2)}_format(oe,Z){const G=new Date;return G.setUTCFullYear(Z.getFullYear(),Z.getMonth(),Z.getDate()),G.setUTCHours(Z.getHours(),Z.getMinutes(),Z.getSeconds(),Z.getMilliseconds()),oe.format(G)}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.LFG(me,8),e.LFG(m.t4))},qe.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac}),qe})();const fe={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ce=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({providers:[{provide:ee,useClass:He}],imports:[[m.ud]]}),qe})(),Ve=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({providers:[{provide:R,useValue:fe}],imports:[[Ce]]}),qe})(),tt=(()=>{class qe{isErrorState(oe,Z){return!!(oe&&oe.invalid&&(oe.touched||Z&&Z.submitted))}}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275prov=e.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"}),qe})(),rt=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275dir=e.lG2({type:qe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),qe})();function N(qe,Ye,oe="mat"){qe.changes.pipe((0,E.O)(qe)).subscribe(({length:Z})=>{he(Ye,`${oe}-2-line`,!1),he(Ye,`${oe}-3-line`,!1),he(Ye,`${oe}-multi-line`,!1),2===Z||3===Z?he(Ye,`${oe}-${Z}-line`,!0):Z>3&&he(Ye,`${oe}-multi-line`,!0)})}function he(qe,Ye,oe){qe.nativeElement.classList.toggle(Ye,oe)}let D=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[H],H]}),qe})();class S{constructor(Ye,oe,Z){this._renderer=Ye,this.element=oe,this.config=Z,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const I={enterDuration:225,exitDuration:150},i=(0,m.i$)({passive:!0}),r=["mousedown","touchstart"],p=["mouseup","mouseleave","touchend","touchcancel"];class o{constructor(Ye,oe,Z,G){this._target=Ye,this._ngZone=oe,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,G.isBrowser&&(this._containerElement=(0,s.fI)(Z))}fadeInRipple(Ye,oe,Z={}){const G=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),X=Object.assign(Object.assign({},I),Z.animation);Z.centered&&(Ye=G.left+G.width/2,oe=G.top+G.height/2);const _e=Z.radius||function n(qe,Ye,oe){const Z=Math.max(Math.abs(qe-oe.left),Math.abs(qe-oe.right)),G=Math.max(Math.abs(Ye-oe.top),Math.abs(Ye-oe.bottom));return Math.sqrt(Z*Z+G*G)}(Ye,oe,G),Ue=Ye-G.left,wt=oe-G.top,Ut=X.enterDuration,Vt=document.createElement("div");Vt.classList.add("mat-ripple-element"),Vt.style.left=Ue-_e+"px",Vt.style.top=wt-_e+"px",Vt.style.height=2*_e+"px",Vt.style.width=2*_e+"px",null!=Z.color&&(Vt.style.backgroundColor=Z.color),Vt.style.transitionDuration=`${Ut}ms`,this._containerElement.appendChild(Vt),function t(qe){window.getComputedStyle(qe).getPropertyValue("opacity")}(Vt),Vt.style.transform="scale(1)";const Dt=new S(this,Vt,Z);return Dt.state=0,this._activeRipples.add(Dt),Z.persistent||(this._mostRecentTransientRipple=Dt),this._runTimeoutOutsideZone(()=>{const Et=Dt===this._mostRecentTransientRipple;Dt.state=1,!Z.persistent&&(!Et||!this._isPointerDown)&&Dt.fadeOut()},Ut),Dt}fadeOutRipple(Ye){const oe=this._activeRipples.delete(Ye);if(Ye===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!oe)return;const Z=Ye.element,G=Object.assign(Object.assign({},I),Ye.config.animation);Z.style.transitionDuration=`${G.exitDuration}ms`,Z.style.opacity="0",Ye.state=2,this._runTimeoutOutsideZone(()=>{Ye.state=3,Z.remove()},G.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Ye=>Ye.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Ye=>{Ye.config.persistent||Ye.fadeOut()})}setupTriggerEvents(Ye){const oe=(0,s.fI)(Ye);!oe||oe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=oe,this._registerEvents(r))}handleEvent(Ye){"mousedown"===Ye.type?this._onMousedown(Ye):"touchstart"===Ye.type?this._onTouchStart(Ye):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(p),this._pointerUpEventsRegistered=!0)}_onMousedown(Ye){const oe=(0,A.X6)(Ye),Z=this._lastTouchStartEvent&&Date.now(){!Ye.config.persistent&&(1===Ye.state||Ye.config.terminateOnPointerUp&&0===Ye.state)&&Ye.fadeOut()}))}_runTimeoutOutsideZone(Ye,oe=0){this._ngZone.runOutsideAngular(()=>setTimeout(Ye,oe))}_registerEvents(Ye){this._ngZone.runOutsideAngular(()=>{Ye.forEach(oe=>{this._triggerElement.addEventListener(oe,this,i)})})}_removeTriggerEvents(){this._triggerElement&&(r.forEach(Ye=>{this._triggerElement.removeEventListener(Ye,this,i)}),this._pointerUpEventsRegistered&&p.forEach(Ye=>{this._triggerElement.removeEventListener(Ye,this,i)}))}}const c=new e.OlP("mat-ripple-global-options");let u=(()=>{class qe{constructor(oe,Z,G,X,_e){this._elementRef=oe,this._animationMode=_e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=X||{},this._rippleRenderer=new o(this,Z,oe,G)}get disabled(){return this._disabled}set disabled(oe){oe&&this.fadeOutAllNonPersistent(),this._disabled=oe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(oe){this._trigger=oe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(oe,Z=0,G){return"number"==typeof oe?this._rippleRenderer.fadeInRipple(oe,Z,Object.assign(Object.assign({},this.rippleConfig),G)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),oe))}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(m.t4),e.Y36(c,8),e.Y36(h.Qb,8))},qe.\u0275dir=e.lG2({type:qe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(oe,Z){2&oe&&e.ekj("mat-ripple-unbounded",Z.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),qe})(),y=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[H,m.ud],H]}),qe})(),M=(()=>{class qe{constructor(oe){this._animationMode=oe,this.state="unchecked",this.disabled=!1}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.Y36(h.Qb,8))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(oe,Z){2&oe&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Z.state)("mat-pseudo-checkbox-checked","checked"===Z.state)("mat-pseudo-checkbox-disabled",Z.disabled)("_mat-animation-noopable","NoopAnimations"===Z._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(oe,Z){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),qe})(),re=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[H]]}),qe})();const et=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),It=new e.OlP("MatOptgroup");let mt=0;class Ht{constructor(Ye,oe=!1){this.source=Ye,this.isUserInput=oe}}let _t=(()=>{class qe{constructor(oe,Z,G,X){this._element=oe,this._changeDetectorRef=Z,this._parent=G,this.group=X,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+mt++,this.onSelectionChange=new e.vpe,this._stateChanges=new b.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(oe){this._disabled=(0,s.Ig)(oe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(oe,Z){const G=this._getHostElement();"function"==typeof G.focus&&G.focus(Z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(oe){(oe.keyCode===k.K5||oe.keyCode===k.L_)&&!(0,k.Vb)(oe)&&(this._selectViaInteraction(),oe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const oe=this.viewValue;oe!==this._mostRecentViewValue&&(this._mostRecentViewValue=oe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(oe=!1){this.onSelectionChange.emit(new Ht(this,oe))}}return qe.\u0275fac=function(oe){e.$Z()},qe.\u0275dir=e.lG2({type:qe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),qe})(),Je=(()=>{class qe extends _t{constructor(oe,Z,G,X){super(oe,Z,G,X)}}return qe.\u0275fac=function(oe){return new(oe||qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(et,8),e.Y36(It,8))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(oe,Z){1&oe&&e.NdJ("click",function(){return Z._selectViaInteraction()})("keydown",function(X){return Z._handleKeydown(X)}),2&oe&&(e.Ikx("id",Z.id),e.uIk("tabindex",Z._getTabIndex())("aria-selected",Z._getAriaSelected())("aria-disabled",Z.disabled.toString()),e.ekj("mat-selected",Z.selected)("mat-option-multiple",Z.multiple)("mat-active",Z.active)("mat-option-disabled",Z.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:ce,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(oe,Z){1&oe&&(e.F$t(),e.YNc(0,$,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,ue,2,1,"span",2),e._UZ(4,"div",3)),2&oe&&(e.Q6J("ngIf",Z.multiple),e.xp6(3),e.Q6J("ngIf",Z.group&&Z.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",Z._getHostElement())("matRippleDisabled",Z.disabled||Z.disableRipple))},directives:[M,T.O5,u],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),qe})();function Lt(qe,Ye,oe){if(oe.length){let Z=Ye.toArray(),G=oe.toArray(),X=0;for(let _e=0;_eoe+Z?Math.max(0,qe-Z+Ye):oe}let Rt=(()=>{class qe{}return qe.\u0275fac=function(oe){return new(oe||qe)},qe.\u0275mod=e.oAB({type:qe}),qe.\u0275inj=e.cJS({imports:[[y,T.ez,H,re]]}),qe})()},86856:(Ke,be,d)=>{"use strict";d.d(be,{Mq:()=>wt,hl:()=>Ot,FA:()=>Qe,nW:()=>li});var e=d(15664),f=d(92845),g=d(47429),T=d(69808),m=d(5e3),A=d(47423),s=d(53435),b=d(90508),O=d(8929),E=d(42654),h=d(36787),k=d(21086),L=d(91159),V=d(72986),$=d(1059),ue=d(92198),ce=d(50226),Le=d(63191),de=d(70925),ke=d(41777),ae=d(93075),j=d(67322),H=d(98833);const Q=["mat-calendar-body",""];function te(Ze,gt){if(1&Ze&&(m.TgZ(0,"tr",2),m.TgZ(1,"td",3),m._uU(2),m.qZA(),m.qZA()),2&Ze){const F=m.oxw();m.xp6(1),m.Udp("padding-top",F._cellPadding)("padding-bottom",F._cellPadding),m.uIk("colspan",F.numCols),m.xp6(1),m.hij(" ",F.label," ")}}function se(Ze,gt){if(1&Ze&&(m.TgZ(0,"td",3),m._uU(1),m.qZA()),2&Ze){const F=m.oxw(2);m.Udp("padding-top",F._cellPadding)("padding-bottom",F._cellPadding),m.uIk("colspan",F._firstRowOffset),m.xp6(1),m.hij(" ",F._firstRowOffset>=F.labelMinRequiredCells?F.label:""," ")}}function ge(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"td",7),m.TgZ(1,"button",8),m.NdJ("click",function(ut){const ei=m.CHM(F).$implicit;return m.oxw(2)._cellClicked(ei,ut)}),m.TgZ(2,"div",9),m._uU(3),m.qZA(),m._UZ(4,"div",10),m.qZA(),m.qZA()}if(2&Ze){const F=gt.$implicit,Be=gt.index,ut=m.oxw().index,Mt=m.oxw();m.Udp("width",Mt._cellWidth)("padding-top",Mt._cellPadding)("padding-bottom",Mt._cellPadding),m.uIk("data-mat-row",ut)("data-mat-col",Be),m.xp6(1),m.ekj("mat-calendar-body-disabled",!F.enabled)("mat-calendar-body-active",Mt._isActiveCell(ut,Be))("mat-calendar-body-range-start",Mt._isRangeStart(F.compareValue))("mat-calendar-body-range-end",Mt._isRangeEnd(F.compareValue))("mat-calendar-body-in-range",Mt._isInRange(F.compareValue))("mat-calendar-body-comparison-bridge-start",Mt._isComparisonBridgeStart(F.compareValue,ut,Be))("mat-calendar-body-comparison-bridge-end",Mt._isComparisonBridgeEnd(F.compareValue,ut,Be))("mat-calendar-body-comparison-start",Mt._isComparisonStart(F.compareValue))("mat-calendar-body-comparison-end",Mt._isComparisonEnd(F.compareValue))("mat-calendar-body-in-comparison-range",Mt._isInComparisonRange(F.compareValue))("mat-calendar-body-preview-start",Mt._isPreviewStart(F.compareValue))("mat-calendar-body-preview-end",Mt._isPreviewEnd(F.compareValue))("mat-calendar-body-in-preview",Mt._isInPreview(F.compareValue)),m.Q6J("ngClass",F.cssClasses)("tabindex",Mt._isActiveCell(ut,Be)?0:-1),m.uIk("aria-label",F.ariaLabel)("aria-disabled",!F.enabled||null)("aria-pressed",Mt._isSelected(F.compareValue))("aria-current",Mt.todayValue===F.compareValue?"date":null),m.xp6(1),m.ekj("mat-calendar-body-selected",Mt._isSelected(F.compareValue))("mat-calendar-body-comparison-identical",Mt._isComparisonIdentical(F.compareValue))("mat-calendar-body-today",Mt.todayValue===F.compareValue),m.xp6(1),m.hij(" ",F.displayValue," ")}}function Ne(Ze,gt){if(1&Ze&&(m.TgZ(0,"tr",4),m.YNc(1,se,2,6,"td",5),m.YNc(2,ge,5,47,"td",6),m.qZA()),2&Ze){const F=gt.$implicit,Be=gt.index,ut=m.oxw();m.xp6(1),m.Q6J("ngIf",0===Be&&ut._firstRowOffset),m.xp6(1),m.Q6J("ngForOf",F)}}function Fe(Ze,gt){if(1&Ze&&(m.TgZ(0,"th",5),m._uU(1),m.qZA()),2&Ze){const F=gt.$implicit;m.uIk("aria-label",F.long),m.xp6(1),m.hij(" ",F.narrow," ")}}const ne=["*"];function Me(Ze,gt){}function ve(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-month-view",5),m.NdJ("activeDateChange",function(ut){return m.CHM(F),m.oxw().activeDate=ut})("_userSelection",function(ut){return m.CHM(F),m.oxw()._dateSelected(ut)}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)("comparisonStart",F.comparisonStart)("comparisonEnd",F.comparisonEnd)}}function me(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-year-view",6),m.NdJ("activeDateChange",function(ut){return m.CHM(F),m.oxw().activeDate=ut})("monthSelected",function(ut){return m.CHM(F),m.oxw()._monthSelectedInYearView(ut)})("selectedChange",function(ut){return m.CHM(F),m.oxw()._goToDateInView(ut,"month")}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)}}function Te(Ze,gt){if(1&Ze){const F=m.EpF();m.TgZ(0,"mat-multi-year-view",7),m.NdJ("activeDateChange",function(ut){return m.CHM(F),m.oxw().activeDate=ut})("yearSelected",function(ut){return m.CHM(F),m.oxw()._yearSelectedInMultiYearView(ut)})("selectedChange",function(ut){return m.CHM(F),m.oxw()._goToDateInView(ut,"year")}),m.qZA()}if(2&Ze){const F=m.oxw();m.Q6J("activeDate",F.activeDate)("selected",F.selected)("dateFilter",F.dateFilter)("maxDate",F.maxDate)("minDate",F.minDate)("dateClass",F.dateClass)}}function ee(Ze,gt){}const R=["button"];function Oe(Ze,gt){1&Ze&&(m.O4$(),m.TgZ(0,"svg",3),m._UZ(1,"path",4),m.qZA())}const Ie=[[["","matDatepickerToggleIcon",""]]],He=["[matDatepickerToggleIcon]"];class tt{constructor(gt,F,Be,ut,Mt={},ei=gt,Qt){this.value=gt,this.displayValue=F,this.ariaLabel=Be,this.enabled=ut,this.cssClasses=Mt,this.compareValue=ei,this.rawValue=Qt}}let rt=(()=>{class Ze{constructor(F,Be){this._elementRef=F,this._ngZone=Be,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new m.vpe,this.previewChange=new m.vpe,this._enterHandler=ut=>{if(this._skipNextFocus&&"focus"===ut.type)this._skipNextFocus=!1;else if(ut.target&&this.isRange){const Mt=this._getCellFromElement(ut.target);Mt&&this._ngZone.run(()=>this.previewChange.emit({value:Mt.enabled?Mt:null,event:ut}))}},this._leaveHandler=ut=>{null!==this.previewEnd&&this.isRange&&ut.target&&this._getCellFromElement(ut.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ut}))},Be.runOutsideAngular(()=>{const ut=F.nativeElement;ut.addEventListener("mouseenter",this._enterHandler,!0),ut.addEventListener("focus",this._enterHandler,!0),ut.addEventListener("mouseleave",this._leaveHandler,!0),ut.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(F,Be){F.enabled&&this.selectedValueChange.emit({value:F.value,event:Be})}_isSelected(F){return this.startValue===F||this.endValue===F}ngOnChanges(F){const Be=F.numCols,{rows:ut,numCols:Mt}=this;(F.rows||Be)&&(this._firstRowOffset=ut&&ut.length&&ut[0].length?Mt-ut[0].length:0),(F.cellAspectRatio||Be||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Mt+"%"),(Be||!this._cellWidth)&&(this._cellWidth=100/Mt+"%")}ngOnDestroy(){const F=this._elementRef.nativeElement;F.removeEventListener("mouseenter",this._enterHandler,!0),F.removeEventListener("focus",this._enterHandler,!0),F.removeEventListener("mouseleave",this._leaveHandler,!0),F.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(F,Be){let ut=F*this.numCols+Be;return F&&(ut-=this._firstRowOffset),ut==this.activeCell}_focusActiveCell(F=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(()=>{const Be=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Be&&(F||(this._skipNextFocus=!0),Be.focus())})})}_isRangeStart(F){return he(F,this.startValue,this.endValue)}_isRangeEnd(F){return D(F,this.startValue,this.endValue)}_isInRange(F){return S(F,this.startValue,this.endValue,this.isRange)}_isComparisonStart(F){return he(F,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(F,Be,ut){if(!this._isComparisonStart(F)||this._isRangeStart(F)||!this._isInRange(F))return!1;let Mt=this.rows[Be][ut-1];if(!Mt){const ei=this.rows[Be-1];Mt=ei&&ei[ei.length-1]}return Mt&&!this._isRangeEnd(Mt.compareValue)}_isComparisonBridgeEnd(F,Be,ut){if(!this._isComparisonEnd(F)||this._isRangeEnd(F)||!this._isInRange(F))return!1;let Mt=this.rows[Be][ut+1];if(!Mt){const ei=this.rows[Be+1];Mt=ei&&ei[0]}return Mt&&!this._isRangeStart(Mt.compareValue)}_isComparisonEnd(F){return D(F,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(F){return S(F,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(F){return this.comparisonStart===this.comparisonEnd&&F===this.comparisonStart}_isPreviewStart(F){return he(F,this.previewStart,this.previewEnd)}_isPreviewEnd(F){return D(F,this.previewStart,this.previewEnd)}_isInPreview(F){return S(F,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(F){let Be;if(N(F)?Be=F:N(F.parentNode)&&(Be=F.parentNode),Be){const ut=Be.getAttribute("data-mat-row"),Mt=Be.getAttribute("data-mat-col");if(ut&&Mt)return this.rows[parseInt(ut)][parseInt(Mt)]}return null}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(m.R0b))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[m.TTD],attrs:Q,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(F,Be){1&F&&(m.YNc(0,te,3,6,"tr",0),m.YNc(1,Ne,3,2,"tr",1)),2&F&&(m.Q6J("ngIf",Be._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),Ze})();function N(Ze){return"TD"===Ze.nodeName}function he(Ze,gt,F){return null!==F&>!==F&&Ze=gt&&Ze===F}function S(Ze,gt,F,Be){return Be&&null!==gt&&null!==F&>!==F&&Ze>=gt&&Ze<=F}class I{constructor(gt,F){this.start=gt,this.end=F}}let P=(()=>{class Ze{constructor(F,Be){this.selection=F,this._adapter=Be,this._selectionChanged=new O.xQ,this.selectionChanged=this._selectionChanged,this.selection=F}updateSelection(F,Be){const ut=this.selection;this.selection=F,this._selectionChanged.next({selection:F,source:Be,oldValue:ut})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(F){return this._adapter.isDateInstance(F)&&this._adapter.isValid(F)}}return Ze.\u0275fac=function(F){m.$Z()},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),i=(()=>{class Ze extends P{constructor(F){super(null,F)}add(F){super.updateSelection(F,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const F=new Ze(this._adapter);return F.updateSelection(this.selection,this),F}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.LFG(b._A))},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const o={provide:P,deps:[[new m.FiY,new m.tp0,P],b._A],useFactory:function p(Ze,gt){return Ze||new i(gt)}},c=new m.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let et=(()=>{class Ze{constructor(F,Be,ut,Mt,ei){this._changeDetectorRef=F,this._dateFormats=Be,this._dateAdapter=ut,this._dir=Mt,this._rangeStrategy=ei,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this._userSelection=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){const Be=this._activeDate,ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ut,this.minDate,this.maxDate),this._hasSameMonthAndYear(Be,this._activeDate)||this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$.O)(null)).subscribe(()=>this._init())}ngOnChanges(F){const Be=F.comparisonStart||F.comparisonEnd;Be&&!Be.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(F){const Be=F.value,ut=this._dateAdapter.getYear(this.activeDate),Mt=this._dateAdapter.getMonth(this.activeDate),ei=this._dateAdapter.createDate(ut,Mt,Be);let Qt,Ri;this._selected instanceof I?(Qt=this._getDateInCurrentMonth(this._selected.start),Ri=this._getDateInCurrentMonth(this._selected.end)):Qt=Ri=this._getDateInCurrentMonth(this._selected),(Qt!==Be||Ri!==Be)&&this.selectedChange.emit(ei),this._userSelection.emit({value:ei,event:F.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(F){const Be=this._activeDate,ut=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ut?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ut?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case L.Ku:this.activeDate=F.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case L.VM:this.activeDate=F.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case L.K5:case L.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&F.preventDefault());case L.hY:return void(null!=this._previewEnd&&!(0,L.Vb)(F)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:F}),F.preventDefault(),F.stopPropagation()));default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let F=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(F)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(F){this._matCalendarBody._focusActiveCell(F)}_previewChanged({event:F,value:Be}){if(this._rangeStrategy){const Mt=this._rangeStrategy.createPreview(Be?Be.rawValue:null,this.selected,F);this._previewStart=this._getCellCompareValue(Mt.start),this._previewEnd=this._getCellCompareValue(Mt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const F=this._dateAdapter.getFirstDayOfWeek(),Be=this._dateAdapter.getDayOfWeekNames("narrow");let Mt=this._dateAdapter.getDayOfWeekNames("long").map((ei,Qt)=>({long:ei,narrow:Be[Qt]}));this._weekdays=Mt.slice(F).concat(Mt.slice(0,F))}_createWeekCells(){const F=this._dateAdapter.getNumDaysInMonth(this.activeDate),Be=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ut=0,Mt=this._firstWeekOffset;ut=0)&&(!this.maxDate||this._dateAdapter.compareDate(F,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(F))}_getDateInCurrentMonth(F){return F&&this._hasSameMonthAndYear(F,this.activeDate)?this._dateAdapter.getDate(F):null}_hasSameMonthAndYear(F,Be){return!(!F||!Be||this._dateAdapter.getMonth(F)!=this._dateAdapter.getMonth(Be)||this._dateAdapter.getYear(F)!=this._dateAdapter.getYear(Be))}_getCellCompareValue(F){if(F){const Be=this._dateAdapter.getYear(F),ut=this._dateAdapter.getMonth(F),Mt=this._dateAdapter.getDate(F);return new Date(Be,ut,Mt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(F){F instanceof I?(this._rangeStart=this._getCellCompareValue(F.start),this._rangeEnd=this._getCellCompareValue(F.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(F),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(F){return!this.dateFilter||this.dateFilter(F)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.sBO),m.Y36(b.sG,8),m.Y36(b._A,8),m.Y36(ce.Is,8),m.Y36(c,8))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-month-view"]],viewQuery:function(F,Be){if(1&F&&m.Gf(rt,5),2&F){let ut;m.iGM(ut=m.CRH())&&(Be._matCalendarBody=ut.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[m.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(F,Be){1&F&&(m.TgZ(0,"table",0),m.TgZ(1,"thead",1),m.TgZ(2,"tr"),m.YNc(3,Fe,2,2,"th",2),m.qZA(),m.TgZ(4,"tr"),m._UZ(5,"th",3),m.qZA(),m.qZA(),m.TgZ(6,"tbody",4),m.NdJ("selectedValueChange",function(Mt){return Be._dateSelected(Mt)})("previewChange",function(Mt){return Be._previewChanged(Mt)})("keyup",function(Mt){return Be._handleCalendarBodyKeyup(Mt)})("keydown",function(Mt){return Be._handleCalendarBodyKeydown(Mt)}),m.qZA(),m.qZA()),2&F&&(m.xp6(3),m.Q6J("ngForOf",Be._weekdays),m.xp6(3),m.Q6J("label",Be._monthLabel)("rows",Be._weeks)("todayValue",Be._todayDate)("startValue",Be._rangeStart)("endValue",Be._rangeEnd)("comparisonStart",Be._comparisonRangeStart)("comparisonEnd",Be._comparisonRangeEnd)("previewStart",Be._previewStart)("previewEnd",Be._previewEnd)("isRange",Be._isRange)("labelMinRequiredCells",3)("activeCell",Be._dateAdapter.getDate(Be.activeDate)-1))},directives:[rt,T.sg],encapsulation:2,changeDetection:0}),Ze})(),Nt=(()=>{class Ze{constructor(F,Be,ut){this._changeDetectorRef=F,this._dateAdapter=Be,this._dir=ut,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){let Be=this._activeDate;const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ut,this.minDate,this.maxDate),It(this._dateAdapter,Be,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setSelectedYear(F)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Be=this._dateAdapter.getYear(this._activeDate)-Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ut=0,Mt=[];ut<24;ut++)Mt.push(Be+ut),4==Mt.length&&(this._years.push(Mt.map(ei=>this._createCellForYear(ei))),Mt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(F){const Be=F.value;this.yearSelected.emit(this._dateAdapter.createDate(Be,0,1));let ut=this._dateAdapter.getMonth(this.activeDate),Mt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Be,ut,1));this.selectedChange.emit(this._dateAdapter.createDate(Be,ut,Math.min(this._dateAdapter.getDate(this.activeDate),Mt)))}_handleCalendarBodyKeydown(F){const Be=this._activeDate,ut=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ut?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ut?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case L.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?-240:-24);break;case L.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?240:24);break;case L.K5:case L.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_getActiveCell(){return Zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(F){const Be=this._dateAdapter.createDate(F,0,1),ut=this._dateAdapter.getYearName(Be),Mt=this.dateClass?this.dateClass(Be,"multi-year"):void 0;return new tt(F,ut,ut,this._shouldEnableYear(F),Mt)}_shouldEnableYear(F){if(null==F||this.maxDate&&F>this._dateAdapter.getYear(this.maxDate)||this.minDate&&F{class Ze{constructor(F,Be,ut,Mt){this._changeDetectorRef=F,this._dateFormats=Be,this._dateAdapter=ut,this._dir=Mt,this._rerenderSubscription=E.w.EMPTY,this.selectedChange=new m.vpe,this.monthSelected=new m.vpe,this.activeDateChange=new m.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(F){let Be=this._activeDate;const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ut,this.minDate,this.maxDate),this._dateAdapter.getYear(Be)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F)),this._setSelectedMonth(F)}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,$.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(F){const Be=F.value,ut=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Be,1);this.monthSelected.emit(ut);const Mt=this._dateAdapter.getNumDaysInMonth(ut);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Be,Math.min(this._dateAdapter.getDate(this.activeDate),Mt)))}_handleCalendarBodyKeydown(F){const Be=this._activeDate,ut=this._isRtl();switch(F.keyCode){case L.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ut?1:-1);break;case L.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ut?-1:1);break;case L.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case L.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case L.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case L.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case L.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?-10:-1);break;case L.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,F.altKey?10:1);break;case L.K5:case L.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),F.preventDefault()}_handleCalendarBodyKeyup(F){(F.keyCode===L.L_||F.keyCode===L.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:F}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let F=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Be=>Be.map(ut=>this._createCellForMonth(ut,F[ut]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(F){return F&&this._dateAdapter.getYear(F)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(F):null}_createCellForMonth(F,Be){const ut=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),F,1),Mt=this._dateAdapter.format(ut,this._dateFormats.display.monthYearA11yLabel),ei=this.dateClass?this.dateClass(ut,"year"):void 0;return new tt(F,Be.toLocaleUpperCase(),Mt,this._shouldEnableMonth(F),ei)}_shouldEnableMonth(F){const Be=this._dateAdapter.getYear(this.activeDate);if(null==F||this._isYearAndMonthAfterMaxDate(Be,F)||this._isYearAndMonthBeforeMinDate(Be,F))return!1;if(!this.dateFilter)return!0;for(let Mt=this._dateAdapter.createDate(Be,F,1);this._dateAdapter.getMonth(Mt)==F;Mt=this._dateAdapter.addCalendarDays(Mt,1))if(this.dateFilter(Mt))return!0;return!1}_isYearAndMonthAfterMaxDate(F,Be){if(this.maxDate){const ut=this._dateAdapter.getYear(this.maxDate),Mt=this._dateAdapter.getMonth(this.maxDate);return F>ut||F===ut&&Be>Mt}return!1}_isYearAndMonthBeforeMinDate(F,Be){if(this.minDate){const ut=this._dateAdapter.getYear(this.minDate),Mt=this._dateAdapter.getMonth(this.minDate);return F{class Ze{constructor(){this.changes=new O.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(F,Be){return`${F} \u2013 ${Be}`}}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275prov=m.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),Lt=0,ht=(()=>{class Ze{constructor(F,Be,ut,Mt,ei){this._intl=F,this.calendar=Be,this._dateAdapter=ut,this._dateFormats=Mt,this._buttonDescriptionId="mat-calendar-button-"+Lt++,this.calendar.stateChanges.subscribe(()=>ei.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const Be=this._dateAdapter.getYear(this.calendar.activeDate)-Zt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ut=Be+24-1,Mt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Be,0,1)),ei=this._dateAdapter.getYearName(this._dateAdapter.createDate(ut,0,1));return this._intl.formatYearRange(Mt,ei)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(F,Be){return"month"==this.calendar.currentView?this._dateAdapter.getYear(F)==this._dateAdapter.getYear(Be)&&this._dateAdapter.getMonth(F)==this._dateAdapter.getMonth(Be):"year"==this.calendar.currentView?this._dateAdapter.getYear(F)==this._dateAdapter.getYear(Be):It(this._dateAdapter,F,Be,this.calendar.minDate,this.calendar.maxDate)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(Je),m.Y36((0,m.Gpc)(()=>Rt)),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ne,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(F,Be){1&F&&(m.F$t(),m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"button",2),m.NdJ("click",function(){return Be.currentPeriodClicked()}),m.TgZ(3,"span"),m._uU(4),m.qZA(),m.O4$(),m.TgZ(5,"svg",3),m._UZ(6,"polygon",4),m.qZA(),m.qZA(),m.kcU(),m._UZ(7,"div",5),m.Hsn(8),m.TgZ(9,"button",6),m.NdJ("click",function(){return Be.previousClicked()}),m.qZA(),m.TgZ(10,"button",7),m.NdJ("click",function(){return Be.nextClicked()}),m.qZA(),m.qZA(),m.qZA()),2&F&&(m.xp6(2),m.uIk("aria-label",Be.periodButtonLabel)("aria-describedby",Be._buttonDescriptionId),m.xp6(1),m.uIk("id",Be._buttonDescriptionId),m.xp6(1),m.Oqu(Be.periodButtonText),m.xp6(1),m.ekj("mat-calendar-invert","month"!==Be.calendar.currentView),m.xp6(4),m.Q6J("disabled",!Be.previousEnabled()),m.uIk("aria-label",Be.prevButtonLabel),m.xp6(1),m.Q6J("disabled",!Be.nextEnabled()),m.uIk("aria-label",Be.nextButtonLabel))},directives:[A.lW,e.Qr],encapsulation:2,changeDetection:0}),Ze})(),Rt=(()=>{class Ze{constructor(F,Be,ut,Mt){this._dateAdapter=Be,this._dateFormats=ut,this._changeDetectorRef=Mt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new m.vpe,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this._userSelection=new m.vpe,this.stateChanges=new O.xQ,this._intlChanges=F.changes.subscribe(()=>{Mt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(F){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get selected(){return this._selected}set selected(F){this._selected=F instanceof I?F:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get minDate(){return this._minDate}set minDate(F){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get activeDate(){return this._clampedActiveDate}set activeDate(F){this._clampedActiveDate=this._dateAdapter.clampDate(F,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(F){const Be=this._currentView!==F?F:null;this._currentView=F,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Be&&this.viewChanged.emit(Be)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||ht),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(F){const Be=F.minDate||F.maxDate||F.dateFilter;if(Be&&!Be.firstChange){const ut=this._getCurrentViewComponent();ut&&(this._changeDetectorRef.detectChanges(),ut._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(F){const Be=F.value;(this.selected instanceof I||Be&&!this._dateAdapter.sameDate(Be,this.selected))&&this.selectedChange.emit(Be),this._userSelection.emit(F)}_yearSelectedInMultiYearView(F){this.yearSelected.emit(F)}_monthSelectedInYearView(F){this.monthSelected.emit(F)}_goToDateInView(F,Be){this.activeDate=F,this.currentView=Be}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(Je),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(m.sBO))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-calendar"]],viewQuery:function(F,Be){if(1&F&&(m.Gf(et,5),m.Gf(_t,5),m.Gf(Nt,5)),2&F){let ut;m.iGM(ut=m.CRH())&&(Be.monthView=ut.first),m.iGM(ut=m.CRH())&&(Be.yearView=ut.first),m.iGM(ut=m.CRH())&&(Be.multiYearView=ut.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[m._Bn([o]),m.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(F,Be){1&F&&(m.YNc(0,Me,0,0,"ng-template",0),m.TgZ(1,"div",1),m.YNc(2,ve,1,8,"mat-month-view",2),m.YNc(3,me,1,6,"mat-year-view",3),m.YNc(4,Te,1,6,"mat-multi-year-view",4),m.qZA()),2&F&&(m.Q6J("cdkPortalOutlet",Be._calendarHeaderPortal),m.xp6(1),m.Q6J("ngSwitch",Be.currentView),m.xp6(1),m.Q6J("ngSwitchCase","month"),m.xp6(1),m.Q6J("ngSwitchCase","year"),m.xp6(1),m.Q6J("ngSwitchCase","multi-year"))},directives:[et,_t,Nt,g.Pl,e.kH,T.RF,T.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),Ze})();const qe={transformPanel:(0,ke.X$)("transformPanel",[(0,ke.eR)("void => enter-dropdown",(0,ke.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ke.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ke.eR)("void => enter-dialog",(0,ke.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.F4)([(0,ke.oB)({opacity:0,transform:"scale(0.7)"}),(0,ke.oB)({transform:"none",opacity:1})]))),(0,ke.eR)("* => void",(0,ke.jt)("100ms linear",(0,ke.oB)({opacity:0})))]),fadeInCalendar:(0,ke.X$)("fadeInCalendar",[(0,ke.SB)("void",(0,ke.oB)({opacity:0})),(0,ke.SB)("enter",(0,ke.oB)({opacity:1})),(0,ke.eR)("void => *",(0,ke.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Ye=0;const oe=new m.OlP("mat-datepicker-scroll-strategy"),G={provide:oe,deps:[f.aV],useFactory:function Z(Ze){return()=>Ze.scrollStrategies.reposition()}},X=(0,b.pj)(class{constructor(Ze){this._elementRef=Ze}});let _e=(()=>{class Ze extends X{constructor(F,Be,ut,Mt,ei,Qt){super(F),this._changeDetectorRef=Be,this._globalModel=ut,this._dateAdapter=Mt,this._rangeSelectionStrategy=ei,this._subscriptions=new E.w,this._animationDone=new O.xQ,this._actionsPortal=null,this._closeButtonText=Qt.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(F){const Be=this._model.selection,ut=F.value,Mt=Be instanceof I;if(Mt&&this._rangeSelectionStrategy){const ei=this._rangeSelectionStrategy.selectionFinished(ut,Be,F.event);this._model.updateSelection(ei,this)}else ut&&(Mt||!this._dateAdapter.sameDate(ut,Be))&&this._model.add(ut);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(P),m.Y36(b._A),m.Y36(c,8),m.Y36(Je))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker-content"]],viewQuery:function(F,Be){if(1&F&&m.Gf(Rt,5),2&F){let ut;m.iGM(ut=m.CRH())&&(Be._calendar=ut.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(F,Be){1&F&&m.WFA("@transformPanel.done",function(){return Be._animationDone.next()}),2&F&&(m.d8E("@transformPanel",Be._animationState),m.ekj("mat-datepicker-content-touch",Be.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[m.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(F,Be){if(1&F&&(m.TgZ(0,"div",0),m.TgZ(1,"mat-calendar",1),m.NdJ("yearSelected",function(Mt){return Be.datepicker._selectYear(Mt)})("monthSelected",function(Mt){return Be.datepicker._selectMonth(Mt)})("viewChanged",function(Mt){return Be.datepicker._viewChanged(Mt)})("_userSelection",function(Mt){return Be._handleUserSelection(Mt)}),m.qZA(),m.YNc(2,ee,0,0,"ng-template",2),m.TgZ(3,"button",3),m.NdJ("focus",function(){return Be._closeButtonFocused=!0})("blur",function(){return Be._closeButtonFocused=!1})("click",function(){return Be.datepicker.close()}),m._uU(4),m.qZA(),m.qZA()),2&F){let ut;m.ekj("mat-datepicker-content-container-with-custom-header",Be.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Be._actionsPortal),m.uIk("aria-modal",!0)("aria-labelledby",null!==(ut=Be._dialogLabelId)&&void 0!==ut?ut:void 0),m.xp6(1),m.Q6J("id",Be.datepicker.id)("ngClass",Be.datepicker.panelClass)("startAt",Be.datepicker.startAt)("startView",Be.datepicker.startView)("minDate",Be.datepicker._getMinDate())("maxDate",Be.datepicker._getMaxDate())("dateFilter",Be.datepicker._getDateFilter())("headerComponent",Be.datepicker.calendarHeaderComponent)("selected",Be._getSelected())("dateClass",Be.datepicker.dateClass)("comparisonStart",Be.comparisonStart)("comparisonEnd",Be.comparisonEnd)("@fadeInCalendar","enter"),m.xp6(1),m.Q6J("cdkPortalOutlet",Be._actionsPortal),m.xp6(1),m.ekj("cdk-visually-hidden",!Be._closeButtonFocused),m.Q6J("color",Be.color||"primary"),m.xp6(1),m.Oqu(Be._closeButtonText)}},directives:[Rt,A.lW,e.mK,T.mk,g.Pl],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[qe.transformPanel,qe.fadeInCalendar]},changeDetection:0}),Ze})(),Ue=(()=>{class Ze{constructor(F,Be,ut,Mt,ei,Qt,Ri){this._overlay=F,this._ngZone=Be,this._viewContainerRef=ut,this._dateAdapter=ei,this._dir=Qt,this._model=Ri,this._inputStateChanges=E.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new m.vpe,this.monthSelected=new m.vpe,this.viewChanged=new m.vpe(!0),this.openedStream=new m.vpe,this.closedStream=new m.vpe,this._opened=!1,this.id="mat-datepicker-"+Ye++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new O.xQ,this._scrollStrategy=Mt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(F){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(F){this._color=F}get touchUi(){return this._touchUi}set touchUi(F){this._touchUi=(0,Le.Ig)(F)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(F){const Be=(0,Le.Ig)(F);Be!==this._disabled&&(this._disabled=Be,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(F){this._restoreFocus=(0,Le.Ig)(F)}get panelClass(){return this._panelClass}set panelClass(F){this._panelClass=(0,Le.du)(F)}get opened(){return this._opened}set opened(F){(0,Le.Ig)(F)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(F){const Be=F.xPosition||F.yPosition;if(Be&&!Be.firstChange&&this._overlayRef){const ut=this._overlayRef.getConfig().positionStrategy;ut instanceof f._G&&(this._setConnectedPositions(ut),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(F){this._model.add(F)}_selectYear(F){this.yearSelected.emit(F)}_selectMonth(F){this.monthSelected.emit(F)}_viewChanged(F){this.viewChanged.emit(F)}registerInput(F){return this._inputStateChanges.unsubscribe(),this.datepickerInput=F,this._inputStateChanges=F.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(F){this._actionsPortal=F}removeActions(F){F===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,de.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const Be=this._componentRef.instance;Be._startExitAnimation(),Be._animationDone.pipe((0,V.q)(1)).subscribe(()=>this._destroyOverlay())}const F=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(F)):F()}_applyPendingSelection(){var F,Be;null===(Be=null===(F=this._componentRef)||void 0===F?void 0:F.instance)||void 0===Be||Be._applyPendingSelection()}_forwardContentValues(F){F.datepicker=this,F.color=this.color,F._actionsPortal=this._actionsPortal,F._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const F=this.touchUi,Be=new g.C5(_e,this._viewContainerRef),ut=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:F?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[F?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:F?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(F?"dialog":"popup")}));this._getCloseStream(ut).subscribe(Mt=>{Mt&&Mt.preventDefault(),this.close()}),this._componentRef=ut.attach(Be),this._forwardContentValues(this._componentRef.instance),F||this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(()=>ut.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const F=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(F)}_setConnectedPositions(F){const Be="end"===this.xPosition?"end":"start",ut="start"===Be?"end":"start",Mt="above"===this.yPosition?"bottom":"top",ei="top"===Mt?"bottom":"top";return F.withPositions([{originX:Be,originY:ei,overlayX:Be,overlayY:Mt},{originX:Be,originY:Mt,overlayX:Be,overlayY:ei},{originX:ut,originY:ei,overlayX:ut,overlayY:Mt},{originX:ut,originY:Mt,overlayX:ut,overlayY:ei}])}_getCloseStream(F){return(0,h.T)(F.backdropClick(),F.detachments(),F.keydownEvents().pipe((0,ue.h)(Be=>Be.keyCode===L.hY&&!(0,L.Vb)(Be)||this.datepickerInput&&(0,L.Vb)(Be,"altKey")&&Be.keyCode===L.LH)))}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(f.aV),m.Y36(m.R0b),m.Y36(m.s_b),m.Y36(oe),m.Y36(b._A,8),m.Y36(ce.Is,8),m.Y36(P))},Ze.\u0275dir=m.lG2({type:Ze,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[m.TTD]}),Ze})(),wt=(()=>{class Ze extends Ue{}return Ze.\u0275fac=function(){let gt;return function(Be){return(gt||(gt=m.n5z(Ze)))(Be||Ze)}}(),Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[m._Bn([o,{provide:Ue,useExisting:Ze}]),m.qOj],decls:0,vars:0,template:function(F,Be){},encapsulation:2,changeDetection:0}),Ze})();class Ut{constructor(gt,F){this.target=gt,this.targetElement=F,this.value=this.target.value}}let Vt=(()=>{class Ze{constructor(F,Be,ut){this._elementRef=F,this._dateAdapter=Be,this._dateFormats=ut,this.dateChange=new m.vpe,this.dateInput=new m.vpe,this.stateChanges=new O.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w.EMPTY,this._localeSubscription=E.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Mt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Mt.value));return!ei||this._matchesFilter(ei)?null:{matDatepickerFilter:!0}},this._minValidator=Mt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Mt.value)),Qt=this._getMinDate();return!Qt||!ei||this._dateAdapter.compareDate(Qt,ei)<=0?null:{matDatepickerMin:{min:Qt,actual:ei}}},this._maxValidator=Mt=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Mt.value)),Qt=this._getMaxDate();return!Qt||!ei||this._dateAdapter.compareDate(Qt,ei)>=0?null:{matDatepickerMax:{max:Qt,actual:ei}}},this._lastValueValid=!1,this._localeSubscription=Be.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(F){this._assignValueProgrammatically(F)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(F){const Be=(0,Le.Ig)(F),ut=this._elementRef.nativeElement;this._disabled!==Be&&(this._disabled=Be,this.stateChanges.next(void 0)),Be&&this._isInitialized&&ut.blur&&ut.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(F){this._model=F,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Be=>{if(this._shouldHandleChangeEvent(Be)){const ut=this._getValueFromModel(Be.selection);this._lastValueValid=this._isValidValue(ut),this._cvaOnChange(ut),this._onTouched(),this._formatValue(ut),this.dateInput.emit(new Ut(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ut(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(F){(function Dt(Ze,gt){const F=Object.keys(Ze);for(let Be of F){const{previousValue:ut,currentValue:Mt}=Ze[Be];if(!gt.isDateInstance(ut)||!gt.isDateInstance(Mt))return!0;if(!gt.sameDate(ut,Mt))return!0}return!1})(F,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(F){this._validatorOnChange=F}validate(F){return this._validator?this._validator(F):null}writeValue(F){this._assignValueProgrammatically(F)}registerOnChange(F){this._cvaOnChange=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this.disabled=F}_onKeydown(F){F.altKey&&F.keyCode===L.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),F.preventDefault())}_onInput(F){const Be=this._lastValueValid;let ut=this._dateAdapter.parse(F,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ut),ut=this._dateAdapter.getValidDateOrNull(ut),this._dateAdapter.sameDate(ut,this.value)?(F&&!this.value&&this._cvaOnChange(ut),Be!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(ut),this._cvaOnChange(ut),this.dateInput.emit(new Ut(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ut(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(F){this._elementRef.nativeElement.value=F?this._dateAdapter.format(F,this._dateFormats.display.dateInput):""}_assignValue(F){this._model?(this._assignValueToModel(F),this._pendingValue=null):this._pendingValue=F}_isValidValue(F){return!F||this._dateAdapter.isValid(F)}_parentDisabled(){return!1}_assignValueProgrammatically(F){F=this._dateAdapter.deserialize(F),this._lastValueValid=this._isValidValue(F),F=this._dateAdapter.getValidDateOrNull(F),this._assignValue(F),this._formatValue(F)}_matchesFilter(F){const Be=this._getDateFilter();return!Be||Be(F)}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8))},Ze.\u0275dir=m.lG2({type:Ze,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[m.TTD]}),Ze})();const Et={provide:ae.JU,useExisting:(0,m.Gpc)(()=>Ot),multi:!0},At={provide:ae.Cf,useExisting:(0,m.Gpc)(()=>Ot),multi:!0};let Ot=(()=>{class Ze extends Vt{constructor(F,Be,ut,Mt){super(F,Be,ut),this._formField=Mt,this._closedSubscription=E.w.EMPTY,this._validator=ae.kI.compose(super._getValidators())}set matDatepicker(F){F&&(this._datepicker=F,this._closedSubscription=F.closedStream.subscribe(()=>this._onTouched()),this._registerModel(F.registerInput(this)))}get min(){return this._min}set min(F){const Be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F));this._dateAdapter.sameDate(Be,this._min)||(this._min=Be,this._validatorOnChange())}get max(){return this._max}set max(F){const Be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(F));this._dateAdapter.sameDate(Be,this._max)||(this._max=Be,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(F){const Be=this._matchesFilter(this.value);this._dateFilter=F,this._matchesFilter(this.value)!==Be&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(F){return F}_assignValueToModel(F){this._model&&this._model.updateSelection(F,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(F){return F.source!==this}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(m.SBq),m.Y36(b._A,8),m.Y36(b.sG,8),m.Y36(j.G_,8))},Ze.\u0275dir=m.lG2({type:Ze,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(F,Be){1&F&&m.NdJ("input",function(Mt){return Be._onInput(Mt.target.value)})("change",function(){return Be._onChange()})("blur",function(){return Be._onBlur()})("keydown",function(Mt){return Be._onKeydown(Mt)}),2&F&&(m.Ikx("disabled",Be.disabled),m.uIk("aria-haspopup",Be._datepicker?"dialog":null)("aria-owns",(null==Be._datepicker?null:Be._datepicker.opened)&&Be._datepicker.id||null)("min",Be.min?Be._dateAdapter.toIso8601(Be.min):null)("max",Be.max?Be._dateAdapter.toIso8601(Be.max):null)("data-mat-calendar",Be._datepicker?Be._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[m._Bn([Et,At,{provide:H.Jk,useExisting:Ze}]),m.qOj]}),Ze})(),Kt=(()=>{class Ze{}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275dir=m.lG2({type:Ze,selectors:[["","matDatepickerToggleIcon",""]]}),Ze})(),li=(()=>{class Ze{constructor(F,Be,ut){this._intl=F,this._changeDetectorRef=Be,this._stateChanges=E.w.EMPTY;const Mt=Number(ut);this.tabIndex=Mt||0===Mt?Mt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(F){this._disabled=(0,Le.Ig)(F)}ngOnChanges(F){F.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(F){this.datepicker&&!this.disabled&&(this.datepicker.open(),F.stopPropagation())}_watchStateChanges(){const F=this.datepicker?this.datepicker.stateChanges:(0,k.of)(),Be=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,k.of)(),ut=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,k.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,F,Be,ut).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Ze.\u0275fac=function(F){return new(F||Ze)(m.Y36(Je),m.Y36(m.sBO),m.$8M("tabindex"))},Ze.\u0275cmp=m.Xpm({type:Ze,selectors:[["mat-datepicker-toggle"]],contentQueries:function(F,Be,ut){if(1&F&&m.Suo(ut,Kt,5),2&F){let Mt;m.iGM(Mt=m.CRH())&&(Be._customIcon=Mt.first)}},viewQuery:function(F,Be){if(1&F&&m.Gf(R,5),2&F){let ut;m.iGM(ut=m.CRH())&&(Be._button=ut.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(F,Be){1&F&&m.NdJ("click",function(Mt){return Be._open(Mt)}),2&F&&(m.uIk("tabindex",null)("data-mat-calendar",Be.datepicker?Be.datepicker.id:null),m.ekj("mat-datepicker-toggle-active",Be.datepicker&&Be.datepicker.opened)("mat-accent",Be.datepicker&&"accent"===Be.datepicker.color)("mat-warn",Be.datepicker&&"warn"===Be.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[m.TTD],ngContentSelectors:He,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(F,Be){1&F&&(m.F$t(Ie),m.TgZ(0,"button",0,1),m.YNc(2,Oe,2,0,"svg",2),m.Hsn(3),m.qZA()),2&F&&(m.Q6J("disabled",Be.disabled)("disableRipple",Be.disableRipple),m.uIk("aria-haspopup",Be.datepicker?"dialog":null)("aria-label",Be.ariaLabel||Be._intl.openCalendarLabel)("tabindex",Be.disabled?-1:Be.tabIndex),m.xp6(2),m.Q6J("ngIf",!Be._customIcon))},directives:[A.lW,T.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),Ze})(),Qe=(()=>{class Ze{}return Ze.\u0275fac=function(F){return new(F||Ze)},Ze.\u0275mod=m.oAB({type:Ze}),Ze.\u0275inj=m.cJS({providers:[Je,G],imports:[[T.ez,A.ot,f.U8,e.rt,g.eL,b.BQ],s.ZD]}),Ze})()},48966:(Ke,be,d)=>{"use strict";d.d(be,{WI:()=>Ne,uw:()=>ee,H8:()=>Ce,vA:()=>ke,xY:()=>fe,Is:()=>Xe,so:()=>se,uh:()=>He});var e=d(92845),f=d(47429),g=d(5e3),T=d(90508),m=d(50226),A=d(8929),s=d(88514),b=d(42654),O=d(21086),E=d(92198),h=d(72986),k=d(1059),L=d(70925),V=d(69808),$=d(41777),ue=d(15664),ce=d(91159),Le=d(76360);function de(tt,rt){}class ke{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const ae={dialogContainer:(0,$.X$)("dialogContainer",[(0,$.SB)("void, exit",(0,$.oB)({opacity:0,transform:"scale(0.7)"})),(0,$.SB)("enter",(0,$.oB)({transform:"none"})),(0,$.eR)("* => enter",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({transform:"none",opacity:1}))),(0,$.eR)("* => void, * => exit",(0,$.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,$.oB)({opacity:0})))])};let H=(()=>{class tt extends f.en{constructor(N,he,D,S,I,P,i,r){super(),this._elementRef=N,this._focusTrapFactory=he,this._changeDetectorRef=D,this._config=I,this._interactivityChecker=P,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=p=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(p)),this._ariaLabelledBy=I.ariaLabelledBy||null,this._document=S}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(N){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(N)}attachTemplatePortal(N){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(N)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(N,he){this._interactivityChecker.isFocusable(N)||(N.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{N.addEventListener("blur",()=>N.removeAttribute("tabindex")),N.addEventListener("mousedown",()=>N.removeAttribute("tabindex"))})),N.focus(he)}_focusByCssSelector(N,he){let D=this._elementRef.nativeElement.querySelector(N);D&&this._forceFocus(D,he)}_trapFocus(){const N=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||N.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(he=>{he||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const N=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&N&&"function"==typeof N.focus){const he=(0,L.ht)(),D=this._elementRef.nativeElement;(!he||he===this._document.body||he===D||D.contains(he))&&(this._focusMonitor?(this._focusMonitor.focusVia(N,this._closeInteractionType),this._closeInteractionType=null):N.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,L.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const N=this._elementRef.nativeElement,he=(0,L.ht)();return N===he||N.contains(he)}}return tt.\u0275fac=function(N){return new(N||tt)(g.Y36(g.SBq),g.Y36(ue.qV),g.Y36(g.sBO),g.Y36(V.K0,8),g.Y36(ke),g.Y36(ue.ic),g.Y36(g.R0b),g.Y36(ue.tE))},tt.\u0275dir=g.lG2({type:tt,viewQuery:function(N,he){if(1&N&&g.Gf(f.Pl,7),2&N){let D;g.iGM(D=g.CRH())&&(he._portalOutlet=D.first)}},features:[g.qOj]}),tt})(),Q=(()=>{class tt extends H{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:N,totalTime:he}){"enter"===N?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:he})):"exit"===N&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:he}))}_onAnimationStart({toState:N,totalTime:he}){"enter"===N?this._animationStateChanged.next({state:"opening",totalTime:he}):("exit"===N||"void"===N)&&this._animationStateChanged.next({state:"closing",totalTime:he})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return tt.\u0275fac=function(){let rt;return function(he){return(rt||(rt=g.n5z(tt)))(he||tt)}}(),tt.\u0275cmp=g.Xpm({type:tt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(N,he){1&N&&g.WFA("@dialogContainer.start",function(S){return he._onAnimationStart(S)})("@dialogContainer.done",function(S){return he._onAnimationDone(S)}),2&N&&(g.Ikx("id",he._id),g.uIk("role",he._config.role)("aria-labelledby",he._config.ariaLabel?null:he._ariaLabelledBy)("aria-label",he._config.ariaLabel)("aria-describedby",he._config.ariaDescribedBy||null),g.d8E("@dialogContainer",he._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(N,he){1&N&&g.YNc(0,de,0,0,"ng-template",0)},directives:[f.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ae.dialogContainer]}}),tt})(),te=0;class se{constructor(rt,N,he="mat-dialog-"+te++){this._overlayRef=rt,this._containerInstance=N,this.id=he,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.xQ,this._afterClosed=new A.xQ,this._beforeClosed=new A.xQ,this._state=0,N._id=he,N._animationStateChanged.pipe((0,E.h)(D=>"opened"===D.state),(0,h.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),N._animationStateChanged.pipe((0,E.h)(D=>"closed"===D.state),(0,h.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),rt.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),rt.keydownEvents().pipe((0,E.h)(D=>D.keyCode===ce.hY&&!this.disableClose&&!(0,ce.Vb)(D))).subscribe(D=>{D.preventDefault(),ge(this,"keyboard")}),rt.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():ge(this,"mouse")})}close(rt){this._result=rt,this._containerInstance._animationStateChanged.pipe((0,E.h)(N=>"closing"===N.state),(0,h.q)(1)).subscribe(N=>{this._beforeClosed.next(rt),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),N.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(rt){let N=this._getPositionStrategy();return rt&&(rt.left||rt.right)?rt.left?N.left(rt.left):N.right(rt.right):N.centerHorizontally(),rt&&(rt.top||rt.bottom)?rt.top?N.top(rt.top):N.bottom(rt.bottom):N.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(rt="",N=""){return this._overlayRef.updateSize({width:rt,height:N}),this._overlayRef.updatePosition(),this}addPanelClass(rt){return this._overlayRef.addPanelClass(rt),this}removePanelClass(rt){return this._overlayRef.removePanelClass(rt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function ge(tt,rt,N){return void 0!==tt._containerInstance&&(tt._containerInstance._closeInteractionType=rt),tt.close(N)}const Ne=new g.OlP("MatDialogData"),Fe=new g.OlP("mat-dialog-default-options"),ne=new g.OlP("mat-dialog-scroll-strategy"),me={provide:ne,deps:[e.aV],useFactory:function ve(tt){return()=>tt.scrollStrategies.block()}};let Te=(()=>{class tt{constructor(N,he,D,S,I,P,i,r,p,o){this._overlay=N,this._injector=he,this._defaultOptions=D,this._parentDialog=S,this._overlayContainer=I,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=p,this._animationMode=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.xQ,this._afterOpenedAtThisLevel=new A.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,s.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,k.O)(void 0))),this._scrollStrategy=P}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const N=this._parentDialog;return N?N._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(N,he){if(he=function R(tt,rt){return Object.assign(Object.assign({},rt),tt)}(he,this._defaultOptions||new ke),he.id&&this.getDialogById(he.id),this._dialogAnimatingOpen)return this._lastDialogRef;const D=this._createOverlay(he),S=this._attachDialogContainer(D,he);if("NoopAnimations"!==this._animationMode){const P=S._animationStateChanged.subscribe(i=>{"opening"===i.state&&(this._dialogAnimatingOpen=!0),"opened"===i.state&&(this._dialogAnimatingOpen=!1,P.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new b.w),this._animationStateSubscriptions.add(P)}const I=this._attachDialogContent(N,S,D,he);return this._lastDialogRef=I,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(I),I.afterClosed().subscribe(()=>this._removeOpenDialog(I)),this.afterOpened.next(I),S._initializeWithAttachedContent(),I}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(N){return this.openDialogs.find(he=>he.id===N)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(N){const he=this._getOverlayConfig(N);return this._overlay.create(he)}_getOverlayConfig(N){const he=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:N.scrollStrategy||this._scrollStrategy(),panelClass:N.panelClass,hasBackdrop:N.hasBackdrop,direction:N.direction,minWidth:N.minWidth,minHeight:N.minHeight,maxWidth:N.maxWidth,maxHeight:N.maxHeight,disposeOnNavigation:N.closeOnNavigation});return N.backdropClass&&(he.backdropClass=N.backdropClass),he}_attachDialogContainer(N,he){const S=g.zs3.create({parent:he&&he.viewContainerRef&&he.viewContainerRef.injector||this._injector,providers:[{provide:ke,useValue:he}]}),I=new f.C5(this._dialogContainerType,he.viewContainerRef,S,he.componentFactoryResolver);return N.attach(I).instance}_attachDialogContent(N,he,D,S){const I=new this._dialogRefConstructor(D,he,S.id);if(N instanceof g.Rgc)he.attachTemplatePortal(new f.UE(N,null,{$implicit:S.data,dialogRef:I}));else{const P=this._createInjector(S,I,he),i=he.attachComponentPortal(new f.C5(N,S.viewContainerRef,P));I.componentInstance=i.instance}return I.updateSize(S.width,S.height).updatePosition(S.position),I}_createInjector(N,he,D){const S=N&&N.viewContainerRef&&N.viewContainerRef.injector,I=[{provide:this._dialogContainerType,useValue:D},{provide:this._dialogDataToken,useValue:N.data},{provide:this._dialogRefConstructor,useValue:he}];return N.direction&&(!S||!S.get(m.Is,null,g.XFs.Optional))&&I.push({provide:m.Is,useValue:{value:N.direction,change:(0,O.of)()}}),g.zs3.create({parent:S||this._injector,providers:I})}_removeOpenDialog(N){const he=this.openDialogs.indexOf(N);he>-1&&(this.openDialogs.splice(he,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((D,S)=>{D?S.setAttribute("aria-hidden",D):S.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const N=this._overlayContainer.getContainerElement();if(N.parentElement){const he=N.parentElement.children;for(let D=he.length-1;D>-1;D--){let S=he[D];S!==N&&"SCRIPT"!==S.nodeName&&"STYLE"!==S.nodeName&&!S.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(S,S.getAttribute("aria-hidden")),S.setAttribute("aria-hidden","true"))}}}_closeDialogs(N){let he=N.length;for(;he--;)N[he].close()}}return tt.\u0275fac=function(N){g.$Z()},tt.\u0275dir=g.lG2({type:tt}),tt})(),ee=(()=>{class tt extends Te{constructor(N,he,D,S,I,P,i,r){super(N,he,S,P,i,I,se,Q,Ne,r)}}return tt.\u0275fac=function(N){return new(N||tt)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(V.Ye,8),g.LFG(Fe,8),g.LFG(ne),g.LFG(tt,12),g.LFG(e.Xj),g.LFG(Le.Qb,8))},tt.\u0275prov=g.Yz7({token:tt,factory:tt.\u0275fac}),tt})(),Oe=0,He=(()=>{class tt{constructor(N,he,D){this._dialogRef=N,this._elementRef=he,this._dialog=D,this.id="mat-dialog-title-"+Oe++}ngOnInit(){this._dialogRef||(this._dialogRef=function Ve(tt,rt){let N=tt.nativeElement.parentElement;for(;N&&!N.classList.contains("mat-dialog-container");)N=N.parentElement;return N?rt.find(he=>he.id===N.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const N=this._dialogRef._containerInstance;N&&!N._ariaLabelledBy&&(N._ariaLabelledBy=this.id)})}}return tt.\u0275fac=function(N){return new(N||tt)(g.Y36(se,8),g.Y36(g.SBq),g.Y36(ee))},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(N,he){2&N&&g.Ikx("id",he.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),tt})(),fe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),tt})(),Ce=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275dir=g.lG2({type:tt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),tt})(),Xe=(()=>{class tt{}return tt.\u0275fac=function(N){return new(N||tt)},tt.\u0275mod=g.oAB({type:tt}),tt.\u0275inj=g.cJS({providers:[ee,me],imports:[[e.U8,f.eL,T.BQ],T.BQ]}),tt})()},4834:(Ke,be,d)=>{"use strict";d.d(be,{d:()=>T,t:()=>m});var e=d(5e3),f=d(63191),g=d(90508);let T=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(b){this._vertical=(0,f.Ig)(b)}get inset(){return this._inset}set inset(b){this._inset=(0,f.Ig)(b)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(b,O){2&b&&(e.uIk("aria-orientation",O.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(b,O){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),A})(),m=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),A})()},81125:(Ke,be,d)=>{"use strict";d.d(be,{pp:()=>rt,To:()=>N,ib:()=>Ie,HS:()=>ee,u4:()=>Xe,yz:()=>Ve,yK:()=>tt});var e=d(5e3),f=d(63191),g=d(8929),T=d(42654),m=d(20449);let A=0;const s=new e.OlP("CdkAccordion");let b=(()=>{class he{constructor(){this._stateChanges=new g.xQ,this._openCloseAllActions=new g.xQ,this.id="cdk-accordion-"+A++,this._multi=!1}get multi(){return this._multi}set multi(S){this._multi=(0,f.Ig)(S)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(S){this._stateChanges.next(S)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:s,useExisting:he}]),e.TTD]}),he})(),O=0,E=(()=>{class he{constructor(S,I,P){this.accordion=S,this._changeDetectorRef=I,this._expansionDispatcher=P,this._openCloseAllSubscription=T.w.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+O++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=P.listen((i,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==i&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(S){S=(0,f.Ig)(S),this._expanded!==S&&(this._expanded=S,this.expandedChange.emit(S),S?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(S){this._disabled=(0,f.Ig)(S)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(S=>{this.disabled||(this.expanded=S)})}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(s,12),e.Y36(e.sBO),e.Y36(m.A8))},he.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:s,useValue:void 0}])]}),he})(),h=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({}),he})();var k=d(47429),L=d(69808),V=d(90508),$=d(15664),ue=d(75778),ce=d(1059),Le=d(92198),de=d(72986),ke=d(91159),ae=d(76360),j=d(68896),H=d(36787),Q=d(41777);const te=["body"];function se(he,D){}const ge=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ne=["mat-expansion-panel-header","*","mat-action-row"];function Fe(he,D){if(1&he&&e._UZ(0,"span",2),2&he){const S=e.oxw();e.Q6J("@indicatorRotate",S._getExpandedState())}}const ne=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Me=["mat-panel-title","mat-panel-description","*"],ve=new e.OlP("MAT_ACCORDION"),me="225ms cubic-bezier(0.4,0.0,0.2,1)",Te={indicatorRotate:(0,Q.X$)("indicatorRotate",[(0,Q.SB)("collapsed, void",(0,Q.oB)({transform:"rotate(0deg)"})),(0,Q.SB)("expanded",(0,Q.oB)({transform:"rotate(180deg)"})),(0,Q.eR)("expanded <=> collapsed, void => collapsed",(0,Q.jt)(me))]),bodyExpansion:(0,Q.X$)("bodyExpansion",[(0,Q.SB)("collapsed, void",(0,Q.oB)({height:"0px",visibility:"hidden"})),(0,Q.SB)("expanded",(0,Q.oB)({height:"*",visibility:"visible"})),(0,Q.eR)("expanded <=> collapsed, void => collapsed",(0,Q.jt)(me))])};let ee=(()=>{class he{constructor(S){this._template=S}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(e.Rgc))},he.\u0275dir=e.lG2({type:he,selectors:[["ng-template","matExpansionPanelContent",""]]}),he})(),R=0;const Oe=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Ie=(()=>{class he extends E{constructor(S,I,P,i,r,p,o){super(S,I,P),this._viewContainerRef=i,this._animationMode=p,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new g.xQ,this._headerId="mat-expansion-panel-header-"+R++,this._bodyAnimationDone=new g.xQ,this.accordion=S,this._document=r,this._bodyAnimationDone.pipe((0,ue.x)((t,n)=>t.fromState===n.fromState&&t.toState===n.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(S){this._togglePosition=S}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,ce.O)(null),(0,Le.h)(()=>this.expanded&&!this._portal),(0,de.q)(1)).subscribe(()=>{this._portal=new k.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(S){this._inputChanges.next(S)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const S=this._document.activeElement,I=this._body.nativeElement;return S===I||I.contains(S)}return!1}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(ve,12),e.Y36(e.sBO),e.Y36(m.A8),e.Y36(e.s_b),e.Y36(L.K0),e.Y36(ae.Qb,8),e.Y36(Oe,8))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel"]],contentQueries:function(S,I,P){if(1&S&&e.Suo(P,ee,5),2&S){let i;e.iGM(i=e.CRH())&&(I._lazyContent=i.first)}},viewQuery:function(S,I){if(1&S&&e.Gf(te,5),2&S){let P;e.iGM(P=e.CRH())&&(I._body=P.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(S,I){2&S&&e.ekj("mat-expanded",I.expanded)("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-expansion-panel-spacing",I._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:ve,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Ne,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(S,I){1&S&&(e.F$t(ge),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(i){return I._bodyAnimationDone.next(i)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,se,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&S&&(e.xp6(1),e.Q6J("@bodyExpansion",I._getExpandedState())("id",I.id),e.uIk("aria-labelledby",I._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",I._portal))},directives:[k.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Te.bodyExpansion]},changeDetection:0}),he})();class fe{}const Ce=(0,V.sb)(fe);let Ve=(()=>{class he extends Ce{constructor(S,I,P,i,r,p,o){super(),this.panel=S,this._element=I,this._focusMonitor=P,this._changeDetectorRef=i,this._animationMode=p,this._parentChangeSubscription=T.w.EMPTY;const t=S.accordion?S.accordion._stateChanges.pipe((0,Le.h)(n=>!(!n.hideToggle&&!n.togglePosition))):j.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,H.T)(S.opened,S.closed,t,S._inputChanges.pipe((0,Le.h)(n=>!!(n.hideToggle||n.disabled||n.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),S.closed.pipe((0,Le.h)(()=>S._containsFocus())).subscribe(()=>P.focusVia(I,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const S=this._isExpanded();return S&&this.expandedHeight?this.expandedHeight:!S&&this.collapsedHeight?this.collapsedHeight:null}_keydown(S){switch(S.keyCode){case ke.L_:case ke.K5:(0,ke.Vb)(S)||(S.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(S))}}focus(S,I){S?this._focusMonitor.focusVia(this._element,S,I):this._element.nativeElement.focus(I)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(S=>{S&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return he.\u0275fac=function(S){return new(S||he)(e.Y36(Ie,1),e.Y36(e.SBq),e.Y36($.tE),e.Y36(e.sBO),e.Y36(Oe,8),e.Y36(ae.Qb,8),e.$8M("tabindex"))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(S,I){1&S&&e.NdJ("click",function(){return I._toggle()})("keydown",function(i){return I._keydown(i)}),2&S&&(e.uIk("id",I.panel._headerId)("tabindex",I.tabIndex)("aria-controls",I._getPanelId())("aria-expanded",I._isExpanded())("aria-disabled",I.panel.disabled),e.Udp("height",I._getHeaderHeight()),e.ekj("mat-expanded",I._isExpanded())("mat-expansion-toggle-indicator-after","after"===I._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===I._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===I._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:Me,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(S,I){1&S&&(e.F$t(ne),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Fe,1,1,"span",1)),2&S&&(e.xp6(4),e.Q6J("ngIf",I._showToggle()))},directives:[L.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[Te.indicatorRotate]},changeDetection:0}),he})(),Xe=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),he})(),tt=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),he})(),rt=(()=>{class he extends b{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(S){this._hideToggle=(0,f.Ig)(S)}ngAfterContentInit(){this._headers.changes.pipe((0,ce.O)(this._headers)).subscribe(S=>{this._ownHeaders.reset(S.filter(I=>I.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new $.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(S){this._keyManager.onKeydown(S)}_handleHeaderFocus(S){this._keyManager.updateActiveItem(S)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return he.\u0275fac=function(){let D;return function(I){return(D||(D=e.n5z(he)))(I||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["mat-accordion"]],contentQueries:function(S,I,P){if(1&S&&e.Suo(P,Ve,5),2&S){let i;e.iGM(i=e.CRH())&&(I._headers=i)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(S,I){2&S&&e.ekj("mat-accordion-multi",I.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:ve,useExisting:he}]),e.qOj]}),he})(),N=(()=>{class he{}return he.\u0275fac=function(S){return new(S||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[[L.ez,V.BQ,h,k.eL]]}),he})()},67322:(Ke,be,d)=>{"use strict";d.d(be,{G_:()=>p,TO:()=>Te,KE:()=>o,Eo:()=>R,lN:()=>t,bx:()=>Ve,hX:()=>Xe,UY:()=>tt,R9:()=>D});var e=d(17144),f=d(69808),g=d(5e3),T=d(90508),m=d(63191),A=d(8929),s=d(36787),b=d(23753),O=d(1059),E=d(7625),h=d(72986),k=d(41777),L=d(76360),V=d(50226),$=d(70925);const ue=["connectionContainer"],ce=["inputContainer"],Le=["label"];function de(n,c){1&n&&(g.ynx(0),g.TgZ(1,"div",14),g._UZ(2,"div",15),g._UZ(3,"div",16),g._UZ(4,"div",17),g.qZA(),g.TgZ(5,"div",18),g._UZ(6,"div",15),g._UZ(7,"div",16),g._UZ(8,"div",17),g.qZA(),g.BQk())}function ke(n,c){if(1&n){const u=g.EpF();g.TgZ(0,"div",19),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.Hsn(1,1),g.qZA()}if(2&n){const u=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)}}function ae(n,c){if(1&n&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&n){const u=g.oxw(2);g.xp6(3),g.Oqu(u._control.placeholder)}}function j(n,c){1&n&&g.Hsn(0,3,["*ngSwitchCase","true"])}function H(n,c){1&n&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function Q(n,c){if(1&n){const u=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.YNc(2,ae,4,1,"ng-container",12),g.YNc(3,j,1,0,"ng-content",12),g.YNc(4,H,2,0,"span",22),g.qZA()}if(2&n){const u=g.oxw();g.ekj("mat-empty",u._control.empty&&!u._shouldAlwaysFloat())("mat-form-field-empty",u._control.empty&&!u._shouldAlwaysFloat())("mat-accent","accent"==u.color)("mat-warn","warn"==u.color),g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)("id",u._labelId)("ngSwitch",u._hasLabel()),g.uIk("for",u._control.id)("aria-owns",u._control.id),g.xp6(2),g.Q6J("ngSwitchCase",!1),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngIf",!u.hideRequiredMarker&&u._control.required&&!u._control.disabled)}}function te(n,c){1&n&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function se(n,c){if(1&n&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&n){const u=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==u.color)("mat-warn","warn"==u.color)}}function ge(n,c){if(1&n&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&n){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState)}}function Ne(n,c){if(1&n&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&n){const u=g.oxw(2);g.Q6J("id",u._hintLabelId),g.xp6(1),g.Oqu(u.hintLabel)}}function Fe(n,c){if(1&n&&(g.TgZ(0,"div",27),g.YNc(1,Ne,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&n){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",u.hintLabel)}}const ne=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Me=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let ve=0;const me=new g.OlP("MatError");let Te=(()=>{class n{constructor(u,y){this.id="mat-error-"+ve++,u||y.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(u){return new(u||n)(g.$8M("aria-live"),g.Y36(g.SBq))},n.\u0275dir=g.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(u,y){2&u&&g.uIk("id",y.id)},inputs:{id:"id"},features:[g._Bn([{provide:me,useExisting:n}])]}),n})();const ee={transitionMessages:(0,k.X$)("transitionMessages",[(0,k.SB)("enter",(0,k.oB)({opacity:1,transform:"translateY(0%)"})),(0,k.eR)("void => enter",[(0,k.oB)({opacity:0,transform:"translateY(-5px)"}),(0,k.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let R=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n}),n})(),fe=0;const Ce=new g.OlP("MatHint");let Ve=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+fe++}}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(u,y){2&u&&(g.uIk("id",y.id)("align",null),g.ekj("mat-form-field-hint-end","end"===y.align))},inputs:{align:"align",id:"id"},features:[g._Bn([{provide:Ce,useExisting:n}])]}),n})(),Xe=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-label"]]}),n})(),tt=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const rt=new g.OlP("MatPrefix"),he=new g.OlP("MatSuffix");let D=(()=>{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275dir=g.lG2({type:n,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:he,useExisting:n}])]}),n})(),S=0;const i=(0,T.pj)(class{constructor(n){this._elementRef=n}},"primary"),r=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),p=new g.OlP("MatFormField");let o=(()=>{class n extends i{constructor(u,y,M,re,et,yt,pt){super(u),this._changeDetectorRef=y,this._dir=M,this._defaults=re,this._platform=et,this._ngZone=yt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new A.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+S++,this._labelId="mat-form-field-label-"+S++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==pt,this.appearance=re&&re.appearance?re.appearance:"legacy",this._hideRequiredMarker=!(!re||null==re.hideRequiredMarker)&&re.hideRequiredMarker}get appearance(){return this._appearance}set appearance(u){const y=this._appearance;this._appearance=u||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&y!==u&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(u){this._hideRequiredMarker=(0,m.Ig)(u)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(u){this._hintLabel=u,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(u){u!==this._floatLabel&&(this._floatLabel=u||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(u){this._explicitFormFieldControl=u}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const u=this._control;u.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${u.controlType}`),u.stateChanges.pipe((0,O.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),u.ngControl&&u.ngControl.valueChanges&&u.ngControl.valueChanges.pipe((0,E.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,E.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,s.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,E.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(u){const y=this._control?this._control.ngControl:null;return y&&y[u]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,h.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let u=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&u.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const y=this._hintChildren?this._hintChildren.find(re=>"start"===re.align):null,M=this._hintChildren?this._hintChildren.find(re=>"end"===re.align):null;y?u.push(y.id):this._hintLabel&&u.push(this._hintLabelId),M&&u.push(M.id)}else this._errorChildren&&u.push(...this._errorChildren.map(y=>y.id));this._control.setDescribedByIds(u)}}_validateControlChild(){}updateOutlineGap(){const u=this._label?this._label.nativeElement:null,y=this._connectionContainerRef.nativeElement,M=".mat-form-field-outline-start",re=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!u||!u.children.length||!u.textContent.trim()){const It=y.querySelectorAll(`${M}, ${re}`);for(let Zt=0;Zt0?.75*_t+10:0}for(let It=0;It{class n{}return n.\u0275fac=function(u){return new(u||n)},n.\u0275mod=g.oAB({type:n}),n.\u0275inj=g.cJS({imports:[[f.ez,T.BQ,e.Q8],T.BQ]}),n})()},25245:(Ke,be,d)=>{"use strict";d.d(be,{Hw:()=>Ie,Ps:()=>He,jv:()=>se});var e=d(5e3),f=d(90508),g=d(63191),T=d(69808),m=d(21086),A=d(61737),s=d(30567),b=d(42654),O=d(22868),E=d(24850),h=d(27221),k=d(40537),L=d(12474),V=d(72986),$=d(40520),ue=d(22313);const ce=["*"];let Le;function ke(fe){var Ce;return(null===(Ce=function de(){if(void 0===Le&&(Le=null,"undefined"!=typeof window)){const fe=window;void 0!==fe.trustedTypes&&(Le=fe.trustedTypes.createPolicy("angular#components",{createHTML:Ce=>Ce}))}return Le}())||void 0===Ce?void 0:Ce.createHTML(fe))||fe}function ae(fe){return Error(`Unable to find icon with the name "${fe}"`)}function H(fe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${fe}".`)}function Q(fe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${fe}".`)}class te{constructor(Ce,Ve,Xe){this.url=Ce,this.svgText=Ve,this.options=Xe}}let se=(()=>{class fe{constructor(Ve,Xe,tt,rt){this._httpClient=Ve,this._sanitizer=Xe,this._errorHandler=rt,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=tt}addSvgIcon(Ve,Xe,tt){return this.addSvgIconInNamespace("",Ve,Xe,tt)}addSvgIconLiteral(Ve,Xe,tt){return this.addSvgIconLiteralInNamespace("",Ve,Xe,tt)}addSvgIconInNamespace(Ve,Xe,tt,rt){return this._addSvgIconConfig(Ve,Xe,new te(tt,null,rt))}addSvgIconResolver(Ve){return this._resolvers.push(Ve),this}addSvgIconLiteralInNamespace(Ve,Xe,tt,rt){const N=this._sanitizer.sanitize(e.q3G.HTML,tt);if(!N)throw Q(tt);const he=ke(N);return this._addSvgIconConfig(Ve,Xe,new te("",he,rt))}addSvgIconSet(Ve,Xe){return this.addSvgIconSetInNamespace("",Ve,Xe)}addSvgIconSetLiteral(Ve,Xe){return this.addSvgIconSetLiteralInNamespace("",Ve,Xe)}addSvgIconSetInNamespace(Ve,Xe,tt){return this._addSvgIconSetConfig(Ve,new te(Xe,null,tt))}addSvgIconSetLiteralInNamespace(Ve,Xe,tt){const rt=this._sanitizer.sanitize(e.q3G.HTML,Xe);if(!rt)throw Q(Xe);const N=ke(rt);return this._addSvgIconSetConfig(Ve,new te("",N,tt))}registerFontClassAlias(Ve,Xe=Ve){return this._fontCssClassesByAlias.set(Ve,Xe),this}classNameForFontAlias(Ve){return this._fontCssClassesByAlias.get(Ve)||Ve}setDefaultFontSetClass(Ve){return this._defaultFontSetClass=Ve,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ve){const Xe=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ve);if(!Xe)throw H(Ve);const tt=this._cachedIconsByUrl.get(Xe);return tt?(0,m.of)(Fe(tt)):this._loadSvgIconFromConfig(new te(Ve,null)).pipe((0,O.b)(rt=>this._cachedIconsByUrl.set(Xe,rt)),(0,E.U)(rt=>Fe(rt)))}getNamedSvgIcon(Ve,Xe=""){const tt=ne(Xe,Ve);let rt=this._svgIconConfigs.get(tt);if(rt)return this._getSvgFromConfig(rt);if(rt=this._getIconConfigFromResolvers(Xe,Ve),rt)return this._svgIconConfigs.set(tt,rt),this._getSvgFromConfig(rt);const N=this._iconSetConfigs.get(Xe);return N?this._getSvgFromIconSetConfigs(Ve,N):(0,A._)(ae(tt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ve){return Ve.svgText?(0,m.of)(Fe(this._svgElementFromConfig(Ve))):this._loadSvgIconFromConfig(Ve).pipe((0,E.U)(Xe=>Fe(Xe)))}_getSvgFromIconSetConfigs(Ve,Xe){const tt=this._extractIconWithNameFromAnySet(Ve,Xe);if(tt)return(0,m.of)(tt);const rt=Xe.filter(N=>!N.svgText).map(N=>this._loadSvgIconSetFromConfig(N).pipe((0,h.K)(he=>{const S=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,N.url)} failed: ${he.message}`;return this._errorHandler.handleError(new Error(S)),(0,m.of)(null)})));return(0,s.D)(rt).pipe((0,E.U)(()=>{const N=this._extractIconWithNameFromAnySet(Ve,Xe);if(!N)throw ae(Ve);return N}))}_extractIconWithNameFromAnySet(Ve,Xe){for(let tt=Xe.length-1;tt>=0;tt--){const rt=Xe[tt];if(rt.svgText&&rt.svgText.toString().indexOf(Ve)>-1){const N=this._svgElementFromConfig(rt),he=this._extractSvgIconFromSet(N,Ve,rt.options);if(he)return he}}return null}_loadSvgIconFromConfig(Ve){return this._fetchIcon(Ve).pipe((0,O.b)(Xe=>Ve.svgText=Xe),(0,E.U)(()=>this._svgElementFromConfig(Ve)))}_loadSvgIconSetFromConfig(Ve){return Ve.svgText?(0,m.of)(null):this._fetchIcon(Ve).pipe((0,O.b)(Xe=>Ve.svgText=Xe))}_extractSvgIconFromSet(Ve,Xe,tt){const rt=Ve.querySelector(`[id="${Xe}"]`);if(!rt)return null;const N=rt.cloneNode(!0);if(N.removeAttribute("id"),"svg"===N.nodeName.toLowerCase())return this._setSvgAttributes(N,tt);if("symbol"===N.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(N),tt);const he=this._svgElementFromString(ke(""));return he.appendChild(N),this._setSvgAttributes(he,tt)}_svgElementFromString(Ve){const Xe=this._document.createElement("DIV");Xe.innerHTML=Ve;const tt=Xe.querySelector("svg");if(!tt)throw Error(" tag not found");return tt}_toSvgElement(Ve){const Xe=this._svgElementFromString(ke("")),tt=Ve.attributes;for(let rt=0;rtke(I)),(0,k.x)(()=>this._inProgressUrlFetches.delete(he)),(0,L.B)());return this._inProgressUrlFetches.set(he,S),S}_addSvgIconConfig(Ve,Xe,tt){return this._svgIconConfigs.set(ne(Ve,Xe),tt),this}_addSvgIconSetConfig(Ve,Xe){const tt=this._iconSetConfigs.get(Ve);return tt?tt.push(Xe):this._iconSetConfigs.set(Ve,[Xe]),this}_svgElementFromConfig(Ve){if(!Ve.svgElement){const Xe=this._svgElementFromString(Ve.svgText);this._setSvgAttributes(Xe,Ve.options),Ve.svgElement=Xe}return Ve.svgElement}_getIconConfigFromResolvers(Ve,Xe){for(let tt=0;ttCe?Ce.pathname+Ce.search:""}}}),ee=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=ee.map(fe=>`[${fe}]`).join(", "),Oe=/^url\(['"]?#(.*?)['"]?\)$/;let Ie=(()=>{class fe extends ve{constructor(Ve,Xe,tt,rt,N){super(Ve),this._iconRegistry=Xe,this._location=rt,this._errorHandler=N,this._inline=!1,this._currentIconFetch=b.w.EMPTY,tt||Ve.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ve){this._inline=(0,g.Ig)(Ve)}get svgIcon(){return this._svgIcon}set svgIcon(Ve){Ve!==this._svgIcon&&(Ve?this._updateSvgIcon(Ve):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ve)}get fontSet(){return this._fontSet}set fontSet(Ve){const Xe=this._cleanupFontValue(Ve);Xe!==this._fontSet&&(this._fontSet=Xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ve){const Xe=this._cleanupFontValue(Ve);Xe!==this._fontIcon&&(this._fontIcon=Xe,this._updateFontIconClasses())}_splitIconName(Ve){if(!Ve)return["",""];const Xe=Ve.split(":");switch(Xe.length){case 1:return["",Xe[0]];case 2:return Xe;default:throw Error(`Invalid icon name: "${Ve}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ve=this._elementsWithExternalReferences;if(Ve&&Ve.size){const Xe=this._location.getPathname();Xe!==this._previousPath&&(this._previousPath=Xe,this._prependPathToReferences(Xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ve){this._clearSvgElement();const Xe=Ve.querySelectorAll("style");for(let rt=0;rt{tt.forEach(N=>{rt.setAttribute(N.name,`url('${Ve}#${N.value}')`)})})}_cacheChildrenWithExternalReferences(Ve){const Xe=Ve.querySelectorAll(R),tt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let rt=0;rt{const he=Xe[rt],D=he.getAttribute(N),S=D?D.match(Oe):null;if(S){let I=tt.get(he);I||(I=[],tt.set(he,I)),I.push({name:N,value:S[1]})}})}_updateSvgIcon(Ve){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ve){const[Xe,tt]=this._splitIconName(Ve);Xe&&(this._svgNamespace=Xe),tt&&(this._svgName=tt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(tt,Xe).pipe((0,V.q)(1)).subscribe(rt=>this._setSvgElement(rt),rt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Xe}:${tt}! ${rt.message}`))})}}}return fe.\u0275fac=function(Ve){return new(Ve||fe)(e.Y36(e.SBq),e.Y36(se),e.$8M("aria-hidden"),e.Y36(me),e.Y36(e.qLn))},fe.\u0275cmp=e.Xpm({type:fe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ve,Xe){2&Ve&&(e.uIk("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet),e.ekj("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:ce,decls:1,vars:0,template:function(Ve,Xe){1&Ve&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),fe})(),He=(()=>{class fe{}return fe.\u0275fac=function(Ve){return new(Ve||fe)},fe.\u0275mod=e.oAB({type:fe}),fe.\u0275inj=e.cJS({imports:[[f.BQ],f.BQ]}),fe})()},98833:(Ke,be,d)=>{"use strict";d.d(be,{Jk:()=>E,Nt:()=>V,c:()=>$});var e=d(63191),f=d(70925),g=d(5e3),T=d(93075),m=d(90508),A=d(67322),s=d(8929),b=d(74533);const E=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),h=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let k=0;const L=(0,m.FD)(class{constructor(ue,ce,Le,de){this._defaultErrorStateMatcher=ue,this._parentForm=ce,this._parentFormGroup=Le,this.ngControl=de}});let V=(()=>{class ue extends L{constructor(Le,de,ke,ae,j,H,Q,te,se,ge){super(H,ae,j,ke),this._elementRef=Le,this._platform=de,this._autofillMonitor=te,this._formField=ge,this._uid="mat-input-"+k++,this.focused=!1,this.stateChanges=new s.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ne=>(0,f.qK)().has(ne));const Ne=this._elementRef.nativeElement,Fe=Ne.nodeName.toLowerCase();this._inputValueAccessor=Q||Ne,this._previousNativeValue=this.value,this.id=this.id,de.IOS&&se.runOutsideAngular(()=>{Le.nativeElement.addEventListener("keyup",ne=>{const Me=ne.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Fe,this._isTextarea="textarea"===Fe,this._isInFormField=!!ge,this._isNativeSelect&&(this.controlType=Ne.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Le){this._disabled=(0,e.Ig)(Le),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Le){this._id=Le||this._uid}get required(){var Le,de,ke,ae;return null!==(ae=null!==(Le=this._required)&&void 0!==Le?Le:null===(ke=null===(de=this.ngControl)||void 0===de?void 0:de.control)||void 0===ke?void 0:ke.hasValidator(T.kI.required))&&void 0!==ae&&ae}set required(Le){this._required=(0,e.Ig)(Le)}get type(){return this._type}set type(Le){this._type=Le||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Le){Le!==this.value&&(this._inputValueAccessor.value=Le,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Le){this._readonly=(0,e.Ig)(Le)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Le=>{this.autofilled=Le.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Le){this._elementRef.nativeElement.focus(Le)}_focusChanged(Le){Le!==this.focused&&(this.focused=Le,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Le,de;const ke=(null===(de=null===(Le=this._formField)||void 0===Le?void 0:Le._hideControlPlaceholder)||void 0===de?void 0:de.call(Le))?null:this.placeholder;if(ke!==this._previousPlaceholder){const ae=this._elementRef.nativeElement;this._previousPlaceholder=ke,ke?ae.setAttribute("placeholder",ke):ae.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Le=this._elementRef.nativeElement.value;this._previousNativeValue!==Le&&(this._previousNativeValue=Le,this.stateChanges.next())}_validateType(){h.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Le=this._elementRef.nativeElement.validity;return Le&&Le.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Le=this._elementRef.nativeElement,de=Le.options[0];return this.focused||Le.multiple||!this.empty||!!(Le.selectedIndex>-1&&de&&de.label)}return this.focused||!this.empty}setDescribedByIds(Le){Le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Le=this._elementRef.nativeElement;return this._isNativeSelect&&(Le.multiple||Le.size>1)}}return ue.\u0275fac=function(Le){return new(Le||ue)(g.Y36(g.SBq),g.Y36(f.t4),g.Y36(T.a5,10),g.Y36(T.F,8),g.Y36(T.sg,8),g.Y36(m.rD),g.Y36(E,10),g.Y36(b.Lq),g.Y36(g.R0b),g.Y36(A.G_,8))},ue.\u0275dir=g.lG2({type:ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Le,de){1&Le&&g.NdJ("focus",function(){return de._focusChanged(!0)})("blur",function(){return de._focusChanged(!1)})("input",function(){return de._onInput()}),2&Le&&(g.Ikx("disabled",de.disabled)("required",de.required),g.uIk("id",de.id)("data-placeholder",de.placeholder)("name",de.name||null)("readonly",de.readonly&&!de._isNativeSelect||null)("aria-invalid",de.empty&&de.required?null:de.errorState)("aria-required",de.required),g.ekj("mat-input-server",de._isServer)("mat-native-select-inline",de._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g._Bn([{provide:A.Eo,useExisting:ue}]),g.qOj,g.TTD]}),ue})(),$=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275mod=g.oAB({type:ue}),ue.\u0275inj=g.cJS({providers:[m.rD],imports:[[b.Ky,A.lN,m.BQ],b.Ky,A.lN]}),ue})()},14623:(Ke,be,d)=>{"use strict";d.d(be,{i$:()=>se,Tg:()=>ne,ie:()=>Oe});var e=d(69808),f=d(5e3),g=d(90508),T=d(63191),m=d(8929),A=d(7625),k=(d(1059),d(15664),d(20449),d(91159),d(93075),d(4834));const L=["*"],$=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],ue=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],ae=(0,g.Id)((0,g.Kr)(class{})),j=(0,g.Kr)(class{}),H=new f.OlP("MatList"),Q=new f.OlP("MatNavList");let se=(()=>{class Ie extends ae{constructor(fe){super(),this._elementRef=fe,this._stateChanges=new m.xQ,"action-list"===this._getListType()&&fe.nativeElement.classList.add("mat-action-list")}_getListType(){const fe=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===fe?"list":"mat-action-list"===fe?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[f._Bn([{provide:H,useExisting:Ie}]),f.qOj,f.TTD],ngContentSelectors:L,decls:1,vars:0,template:function(fe,Ce){1&fe&&(f.F$t(),f.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),Ie})(),ge=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Ie})(),Ne=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275dir=f.lG2({type:Ie,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Ie})(),ne=(()=>{class Ie extends j{constructor(fe,Ce,Ve,Xe){super(),this._element=fe,this._isInteractiveList=!1,this._destroyed=new m.xQ,this._disabled=!1,this._isInteractiveList=!!(Ve||Xe&&"action-list"===Xe._getListType()),this._list=Ve||Xe;const tt=this._getHostElement();"button"===tt.nodeName.toLowerCase()&&!tt.hasAttribute("type")&&tt.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,A.R)(this._destroyed)).subscribe(()=>{Ce.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(fe){this._disabled=(0,T.Ig)(fe)}ngAfterContentInit(){(0,g.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(Q,8),f.Y36(H,8))},Ie.\u0275cmp=f.Xpm({type:Ie,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(fe,Ce,Ve){if(1&fe&&(f.Suo(Ve,ge,5),f.Suo(Ve,Ne,5),f.Suo(Ve,g.X2,5)),2&fe){let Xe;f.iGM(Xe=f.CRH())&&(Ce._avatar=Xe.first),f.iGM(Xe=f.CRH())&&(Ce._icon=Xe.first),f.iGM(Xe=f.CRH())&&(Ce._lines=Xe)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(fe,Ce){2&fe&&f.ekj("mat-list-item-disabled",Ce.disabled)("mat-list-item-avatar",Ce._avatar||Ce._icon)("mat-list-item-with-avatar",Ce._avatar||Ce._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[f.qOj],ngContentSelectors:ue,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(fe,Ce){1&fe&&(f.F$t($),f.TgZ(0,"span",0),f._UZ(1,"span",1),f.Hsn(2),f.TgZ(3,"span",2),f.Hsn(4,1),f.qZA(),f.Hsn(5,2),f.qZA()),2&fe&&(f.xp6(1),f.Q6J("matRippleTrigger",Ce._getHostElement())("matRippleDisabled",Ce._isRippleDisabled()))},directives:[g.wG],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=f.oAB({type:Ie}),Ie.\u0275inj=f.cJS({imports:[[g.uc,g.si,g.BQ,g.us,e.ez],g.uc,g.BQ,g.us,k.t]}),Ie})()},92181:(Ke,be,d)=>{"use strict";d.d(be,{VK:()=>rt,OP:()=>fe,Tx:()=>r,p6:()=>i});var e=d(15664),f=d(63191),g=d(91159),T=d(5e3),m=d(8929),A=d(42654),s=d(36787),b=d(21086),O=d(8139),E=d(1059),h=d(87545),k=d(72986),L=d(7625),V=d(92198),$=d(40943),ue=d(41777),ce=d(47429),Le=d(69808),de=d(90508),ke=d(92845),ae=d(70925),j=d(50226),H=d(53435);const Q=["mat-menu-item",""];function te(p,o){1&p&&(T.O4$(),T.TgZ(0,"svg",2),T._UZ(1,"polygon",3),T.qZA())}const se=["*"];function ge(p,o){if(1&p){const t=T.EpF();T.TgZ(0,"div",0),T.NdJ("keydown",function(c){return T.CHM(t),T.oxw()._handleKeydown(c)})("click",function(){return T.CHM(t),T.oxw().closed.emit("click")})("@transformMenu.start",function(c){return T.CHM(t),T.oxw()._onAnimationStart(c)})("@transformMenu.done",function(c){return T.CHM(t),T.oxw()._onAnimationDone(c)}),T.TgZ(1,"div",1),T.Hsn(2),T.qZA(),T.qZA()}if(2&p){const t=T.oxw();T.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),T.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Ne={transformMenu:(0,ue.X$)("transformMenu",[(0,ue.SB)("void",(0,ue.oB)({opacity:0,transform:"scale(0.8)"})),(0,ue.eR)("void => enter",(0,ue.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ue.oB)({opacity:1,transform:"scale(1)"}))),(0,ue.eR)("* => void",(0,ue.jt)("100ms 25ms linear",(0,ue.oB)({opacity:0})))]),fadeInItems:(0,ue.X$)("fadeInItems",[(0,ue.SB)("showing",(0,ue.oB)({opacity:1})),(0,ue.eR)("void => *",[(0,ue.oB)({opacity:0}),(0,ue.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Me=new T.OlP("MatMenuContent"),Ie=new T.OlP("MAT_MENU_PANEL"),He=(0,de.Kr)((0,de.Id)(class{}));let fe=(()=>{class p extends He{constructor(t,n,c,u,y){var M;super(),this._elementRef=t,this._focusMonitor=c,this._parentMenu=u,this._changeDetectorRef=y,this.role="menuitem",this._hovered=new m.xQ,this._focused=new m.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(M=null==u?void 0:u.addItem)||void 0===M||M.call(u,this)}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t;const n=this._elementRef.nativeElement.cloneNode(!0),c=n.querySelectorAll("mat-icon, .material-icons");for(let u=0;u{class p{constructor(t,n,c){this._elementRef=t,this._ngZone=n,this._defaultOptions=c,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new T.n_E,this._tabSubscription=A.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new m.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new T.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Xe++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,f.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,f.Ig)(t)}set panelClass(t){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(c=>{this._classList[c]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(c=>{this._classList[c]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(t=>(0,s.T)(...t.map(n=>n._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,E.O)(this._directDescendantItems),(0,h.w)(n=>(0,s.T)(...n.map(c=>c._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const n=t.keyCode,c=this._keyManager;switch(n){case g.hY:(0,g.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(n===g.LH||n===g.JH)&&c.setFocusOrigin("keyboard"),void c.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const n=this._keyManager;if(n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&this._directDescendantItems.length){let c=this._directDescendantItems.first._getHostElement().parentElement;for(;c;){if("menu"===c.getAttribute("role")){c.focus();break}c=c.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const n=Math.min(this._baseElevation+t,24),c=`${this._elevationPrefix}${n}`,u=Object.keys(this._classList).find(y=>y.startsWith(this._elevationPrefix));(!u||u===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[c]=!0,this._previousElevation=c)}setPositionClasses(t=this.xPosition,n=this.yPosition){const c=this._classList;c["mat-menu-before"]="before"===t,c["mat-menu-after"]="after"===t,c["mat-menu-above"]="above"===n,c["mat-menu-below"]="below"===n}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,E.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(Ce))},p.\u0275dir=T.lG2({type:p,contentQueries:function(t,n,c){if(1&t&&(T.Suo(c,Me,5),T.Suo(c,fe,5),T.Suo(c,fe,4)),2&t){let u;T.iGM(u=T.CRH())&&(n.lazyContent=u.first),T.iGM(u=T.CRH())&&(n._allItems=u),T.iGM(u=T.CRH())&&(n.items=u)}},viewQuery:function(t,n){if(1&t&&T.Gf(T.Rgc,5),2&t){let c;T.iGM(c=T.CRH())&&(n.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),p})(),rt=(()=>{class p extends tt{constructor(t,n,c){super(t,n,c),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(Ce))},p.\u0275cmp=T.Xpm({type:p,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&T.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[T._Bn([{provide:Ie,useExisting:p}]),T.qOj],ngContentSelectors:se,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(T.F$t(),T.YNc(0,ge,3,6,"ng-template"))},directives:[Le.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Ne.transformMenu,Ne.fadeInItems]},changeDetection:0}),p})();const N=new T.OlP("mat-menu-scroll-strategy"),D={provide:N,deps:[ke.aV],useFactory:function he(p){return()=>p.scrollStrategies.reposition()}},I=(0,ae.i$)({passive:!0});let P=(()=>{class p{constructor(t,n,c,u,y,M,re,et){this._overlay=t,this._element=n,this._viewContainerRef=c,this._menuItemInstance=M,this._dir=re,this._focusMonitor=et,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.w.EMPTY,this._hoverSubscription=A.w.EMPTY,this._menuCloseSubscription=A.w.EMPTY,this._handleTouchStart=yt=>{(0,e.yG)(yt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new T.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new T.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=u,this._parentMaterialMenu=y instanceof tt?y:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,I),M&&(M._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,I),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),n=t.getConfig(),c=n.positionStrategy;this._setPosition(c),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof tt&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,L.R)(this.menu.close)).subscribe(()=>{c.withLockedPosition(!1).reapplyLastPosition(),c.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof tt?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,V.h)(c=>"void"===c.toState),(0,k.q)(1),(0,L.R)(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,n=this.menu.parentMenu;for(;n;)t++,n=n.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ke.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(n=>{this.menu.setPositionClasses("start"===n.connectionPair.overlayX?"after":"before","top"===n.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[n,c]="before"===this.menu.xPosition?["end","start"]:["start","end"],[u,y]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[M,re]=[u,y],[et,yt]=[n,c],pt=0;this.triggersSubmenu()?(yt=n="before"===this.menu.xPosition?"start":"end",c=et="end"===n?"start":"end",pt="bottom"===u?8:-8):this.menu.overlapTrigger||(M="top"===u?"bottom":"top",re="top"===y?"bottom":"top"),t.withPositions([{originX:n,originY:M,overlayX:et,overlayY:u,offsetY:pt},{originX:c,originY:M,overlayX:yt,overlayY:u,offsetY:pt},{originX:n,originY:re,overlayX:et,overlayY:y,offsetY:-pt},{originX:c,originY:re,overlayX:yt,overlayY:y,offsetY:-pt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),c=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,b.of)(),u=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,V.h)(y=>y!==this._menuItemInstance),(0,V.h)(()=>this._menuOpen)):(0,b.of)();return(0,s.T)(t,c,u,n)}_handleMousedown(t){(0,e.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const n=t.keyCode;(n===g.K5||n===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===g.SV&&"ltr"===this.dir||n===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,V.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,$.g)(0,O.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,k.q)(1),(0,$.g)(0,O.e),(0,L.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ce.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return p.\u0275fac=function(t){return new(t||p)(T.Y36(ke.aV),T.Y36(T.SBq),T.Y36(T.s_b),T.Y36(N),T.Y36(Ie,8),T.Y36(fe,10),T.Y36(j.Is,8),T.Y36(e.tE))},p.\u0275dir=T.lG2({type:p,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(t,n){1&t&&T.NdJ("click",function(u){return n._handleClick(u)})("mousedown",function(u){return n._handleMousedown(u)})("keydown",function(u){return n._handleKeydown(u)}),2&t&&T.uIk("aria-expanded",n.menuOpen||null)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),p})(),i=(()=>{class p extends P{}return p.\u0275fac=function(){let o;return function(n){return(o||(o=T.n5z(p)))(n||p)}}(),p.\u0275dir=T.lG2({type:p,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[T.qOj]}),p})(),r=(()=>{class p{}return p.\u0275fac=function(t){return new(t||p)},p.\u0275mod=T.oAB({type:p}),p.\u0275inj=T.cJS({providers:[D],imports:[[Le.ez,de.BQ,de.si,ke.U8],H.ZD,de.BQ]}),p})()},86087:(Ke,be,d)=>{"use strict";d.d(be,{NW:()=>Q,ye:()=>ue,TU:()=>te});var e=d(69808),f=d(5e3),g=d(90508),T=d(47423),m=d(74107),A=d(29772),s=d(63191),b=d(8929),O=d(67322);function E(se,ge){if(1&se&&(f.TgZ(0,"mat-option",19),f._uU(1),f.qZA()),2&se){const Ne=ge.$implicit;f.Q6J("value",Ne),f.xp6(1),f.hij(" ",Ne," ")}}function h(se,ge){if(1&se){const Ne=f.EpF();f.TgZ(0,"mat-form-field",16),f.TgZ(1,"mat-select",17),f.NdJ("selectionChange",function(ne){return f.CHM(Ne),f.oxw(2)._changePageSize(ne.value)}),f.YNc(2,E,2,2,"mat-option",18),f.qZA(),f.qZA()}if(2&se){const Ne=f.oxw(2);f.Q6J("appearance",Ne._formFieldAppearance)("color",Ne.color),f.xp6(1),f.Q6J("value",Ne.pageSize)("disabled",Ne.disabled)("aria-label",Ne._intl.itemsPerPageLabel),f.xp6(1),f.Q6J("ngForOf",Ne._displayedPageSizeOptions)}}function k(se,ge){if(1&se&&(f.TgZ(0,"div",20),f._uU(1),f.qZA()),2&se){const Ne=f.oxw(2);f.xp6(1),f.Oqu(Ne.pageSize)}}function L(se,ge){if(1&se&&(f.TgZ(0,"div",12),f.TgZ(1,"div",13),f._uU(2),f.qZA(),f.YNc(3,h,3,6,"mat-form-field",14),f.YNc(4,k,2,1,"div",15),f.qZA()),2&se){const Ne=f.oxw();f.xp6(2),f.hij(" ",Ne._intl.itemsPerPageLabel," "),f.xp6(1),f.Q6J("ngIf",Ne._displayedPageSizeOptions.length>1),f.xp6(1),f.Q6J("ngIf",Ne._displayedPageSizeOptions.length<=1)}}function V(se,ge){if(1&se){const Ne=f.EpF();f.TgZ(0,"button",21),f.NdJ("click",function(){return f.CHM(Ne),f.oxw().firstPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",22),f.qZA(),f.qZA()}if(2&se){const Ne=f.oxw();f.Q6J("matTooltip",Ne._intl.firstPageLabel)("matTooltipDisabled",Ne._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Ne._previousButtonsDisabled()),f.uIk("aria-label",Ne._intl.firstPageLabel)}}function $(se,ge){if(1&se){const Ne=f.EpF();f.O4$(),f.kcU(),f.TgZ(0,"button",23),f.NdJ("click",function(){return f.CHM(Ne),f.oxw().lastPage()}),f.O4$(),f.TgZ(1,"svg",7),f._UZ(2,"path",24),f.qZA(),f.qZA()}if(2&se){const Ne=f.oxw();f.Q6J("matTooltip",Ne._intl.lastPageLabel)("matTooltipDisabled",Ne._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Ne._nextButtonsDisabled()),f.uIk("aria-label",Ne._intl.lastPageLabel)}}let ue=(()=>{class se{constructor(){this.changes=new b.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Ne,Fe,ne)=>{if(0==ne||0==Fe)return`0 of ${ne}`;const Me=Ne*Fe;return`${Me+1} \u2013 ${Me<(ne=Math.max(ne,0))?Math.min(Me+Fe,ne):Me+Fe} of ${ne}`}}}return se.\u0275fac=function(Ne){return new(Ne||se)},se.\u0275prov=f.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const Le={provide:ue,deps:[[new f.FiY,new f.tp0,ue]],useFactory:function ce(se){return se||new ue}},ae=new f.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),j=(0,g.Id)((0,g.dB)(class{}));let H=(()=>{class se extends j{constructor(Ne,Fe,ne){if(super(),this._intl=Ne,this._changeDetectorRef=Fe,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new f.vpe,this._intlChanges=Ne.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),ne){const{pageSize:Me,pageSizeOptions:ve,hidePageSize:me,showFirstLastButtons:Te}=ne;null!=Me&&(this._pageSize=Me),null!=ve&&(this._pageSizeOptions=ve),null!=me&&(this._hidePageSize=me),null!=Te&&(this._showFirstLastButtons=Te)}}get pageIndex(){return this._pageIndex}set pageIndex(Ne){this._pageIndex=Math.max((0,s.su)(Ne),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Ne){this._length=(0,s.su)(Ne),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Ne){this._pageSize=Math.max((0,s.su)(Ne),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Ne){this._pageSizeOptions=(Ne||[]).map(Fe=>(0,s.su)(Fe)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Ne){this._hidePageSize=(0,s.Ig)(Ne)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Ne){this._showFirstLastButtons=(0,s.Ig)(Ne)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Ne=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Ne)}previousPage(){if(!this.hasPreviousPage())return;const Ne=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Ne)}firstPage(){if(!this.hasPreviousPage())return;const Ne=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Ne)}lastPage(){if(!this.hasNextPage())return;const Ne=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Ne)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Ne=this.getNumberOfPages()-1;return this.pageIndexNe-Fe),this._changeDetectorRef.markForCheck())}_emitPageEvent(Ne){this.page.emit({previousPageIndex:Ne,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return se.\u0275fac=function(Ne){f.$Z()},se.\u0275dir=f.lG2({type:se,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[f.qOj]}),se})(),Q=(()=>{class se extends H{constructor(Ne,Fe,ne){super(Ne,Fe,ne),ne&&null!=ne.formFieldAppearance&&(this._formFieldAppearance=ne.formFieldAppearance)}}return se.\u0275fac=function(Ne){return new(Ne||se)(f.Y36(ue),f.Y36(f.sBO),f.Y36(ae,8))},se.\u0275cmp=f.Xpm({type:se,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[f.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Ne,Fe){1&Ne&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.YNc(2,L,5,3,"div",2),f.TgZ(3,"div",3),f.TgZ(4,"div",4),f._uU(5),f.qZA(),f.YNc(6,V,3,5,"button",5),f.TgZ(7,"button",6),f.NdJ("click",function(){return Fe.previousPage()}),f.O4$(),f.TgZ(8,"svg",7),f._UZ(9,"path",8),f.qZA(),f.qZA(),f.kcU(),f.TgZ(10,"button",9),f.NdJ("click",function(){return Fe.nextPage()}),f.O4$(),f.TgZ(11,"svg",7),f._UZ(12,"path",10),f.qZA(),f.qZA(),f.YNc(13,$,3,5,"button",11),f.qZA(),f.qZA(),f.qZA()),2&Ne&&(f.xp6(2),f.Q6J("ngIf",!Fe.hidePageSize),f.xp6(3),f.hij(" ",Fe._intl.getRangeLabel(Fe.pageIndex,Fe.pageSize,Fe.length)," "),f.xp6(1),f.Q6J("ngIf",Fe.showFirstLastButtons),f.xp6(1),f.Q6J("matTooltip",Fe._intl.previousPageLabel)("matTooltipDisabled",Fe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._previousButtonsDisabled()),f.uIk("aria-label",Fe._intl.previousPageLabel),f.xp6(3),f.Q6J("matTooltip",Fe._intl.nextPageLabel)("matTooltipDisabled",Fe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Fe._nextButtonsDisabled()),f.uIk("aria-label",Fe._intl.nextPageLabel),f.xp6(3),f.Q6J("ngIf",Fe.showFirstLastButtons))},directives:[O.KE,m.gD,g.ey,T.lW,e.O5,e.sg,A.gM],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),se})(),te=(()=>{class se{}return se.\u0275fac=function(Ne){return new(Ne||se)},se.\u0275mod=f.oAB({type:se}),se.\u0275inj=f.cJS({providers:[Le],imports:[[e.ez,T.ot,m.LD,A.AV,g.BQ]]}),se})()},85899:(Ke,be,d)=>{"use strict";d.d(be,{Cv:()=>k});var e=d(5e3),f=d(69808),g=d(90508);let k=(()=>{class L{}return L.\u0275fac=function($){return new($||L)},L.\u0275mod=e.oAB({type:L}),L.\u0275inj=e.cJS({imports:[[f.ez,g.BQ],g.BQ]}),L})()},20773:(Ke,be,d)=>{"use strict";d.d(be,{Cq:()=>j,$g:()=>ae});var e=d(5e3),f=d(69808),g=d(90508),T=d(63191),m=d(70925),A=d(76360),s=d(42654),b=d(53435);function O(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}function E(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}function h(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}function k(H,Q){if(1&H&&(e.O4$(),e._UZ(0,"circle",4)),2&H){const te=e.oxw(),se=e.MAs(1);e.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(se)),e.uIk("r",te._getCircleRadius())}}const ue=(0,g.pj)(class{constructor(H){this._elementRef=H}},"primary"),ce=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Le(){return{diameter:100}}});class ke extends ue{constructor(Q,te,se,ge,Ne,Fe,ne,Me){super(Q),this._document=se,this._diameter=100,this._value=0,this._resizeSubscription=s.w.EMPTY,this.mode="determinate";const ve=ke._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),ve.has(se.head)||ve.set(se.head,new Set([100])),this._noopAnimations="NoopAnimations"===ge&&!!Ne&&!Ne._forceAnimations,Ne&&(Ne.diameter&&(this.diameter=Ne.diameter),Ne.strokeWidth&&(this.strokeWidth=Ne.strokeWidth)),te.isBrowser&&te.SAFARI&&ne&&Fe&&Me&&(this._resizeSubscription=ne.change(150).subscribe(()=>{"indeterminate"===this.mode&&Me.run(()=>Fe.markForCheck())}))}get diameter(){return this._diameter}set diameter(Q){this._diameter=(0,T.su)(Q),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Q){this._strokeWidth=(0,T.su)(Q)}get value(){return"determinate"===this.mode?this._value:0}set value(Q){this._value=Math.max(0,Math.min(100,(0,T.su)(Q)))}ngOnInit(){const Q=this._elementRef.nativeElement;this._styleRoot=(0,m.kV)(Q)||this._document.head,this._attachStyleNode(),Q.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Q=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Q} ${Q}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(Q){var te;const se=50*(null!==(te=Q.currentScale)&&void 0!==te?te:1);return`${se}% ${se}%`}_attachStyleNode(){const Q=this._styleRoot,te=this._diameter,se=ke._diameters;let ge=se.get(Q);if(!ge||!ge.has(te)){const Ne=this._document.createElement("style");Ne.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Ne.textContent=this._getAnimationText(),Q.appendChild(Ne),ge||(ge=new Set,se.set(Q,ge)),ge.add(te)}}_getAnimationText(){const Q=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*Q).replace(/END_VALUE/g,""+.2*Q).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}ke._diameters=new WeakMap,ke.\u0275fac=function(Q){return new(Q||ke)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(ce),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},ke.\u0275cmp=e.Xpm({type:ke,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(Q,te){2&Q&&(e.uIk("aria-valuemin","determinate"===te.mode?0:null)("aria-valuemax","determinate"===te.mode?100:null)("aria-valuenow","determinate"===te.mode?te.value:null)("mode",te.mode),e.Udp("width",te.diameter,"px")("height",te.diameter,"px"),e.ekj("_mat-animation-noopable",te._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(Q,te){1&Q&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,O,1,11,"circle",2),e.YNc(3,E,1,9,"circle",3),e.qZA()),2&Q&&(e.Udp("width",te.diameter,"px")("height",te.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===te.mode),e.uIk("viewBox",te._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let ae=(()=>{class H extends ke{constructor(te,se,ge,Ne,Fe,ne,Me,ve){super(te,se,ge,Ne,Fe,ne,Me,ve),this.mode="indeterminate"}}return H.\u0275fac=function(te){return new(te||H)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(f.K0,8),e.Y36(A.Qb,8),e.Y36(ce),e.Y36(e.sBO),e.Y36(b.rL),e.Y36(e.R0b))},H.\u0275cmp=e.Xpm({type:H,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(te,se){2&te&&(e.Udp("width",se.diameter,"px")("height",se.diameter,"px"),e.ekj("_mat-animation-noopable",se._noopAnimations))},inputs:{color:"color"},features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(te,se){1&te&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,h,1,11,"circle",2),e.YNc(3,k,1,9,"circle",3),e.qZA()),2&te&&(e.Udp("width",se.diameter,"px")("height",se.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===se.mode),e.uIk("viewBox",se._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[f.RF,f.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),H})(),j=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=e.oAB({type:H}),H.\u0275inj=e.cJS({imports:[[g.BQ,f.ez],g.BQ]}),H})()},79814:(Ke,be,d)=>{"use strict";d.d(be,{U0:()=>j,VQ:()=>Le,Fk:()=>H});var e=d(5e3),f=d(90508),g=d(63191),T=d(93075),m=d(76360),A=d(15664),s=d(20449);const b=["input"],O=function(Q){return{enterDuration:Q}},E=["*"],h=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function k(){return{color:"accent"}}});let L=0;const V={provide:T.JU,useExisting:(0,e.Gpc)(()=>Le),multi:!0};class ${constructor(te,se){this.source=te,this.value=se}}const ue=new e.OlP("MatRadioGroup");let ce=(()=>{class Q{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(se){this._name=se,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(se){this._labelPosition="before"===se?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(se){this._selected=se,this.value=se?se.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,g.Ig)(se),this._markRadiosForCheck()}get required(){return this._required}set required(se){this._required=(0,g.Ig)(se),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(se=>{se.name=this.name,se._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ge=>{ge.checked=this.value===ge.value,ge.checked&&(this._selected=ge)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new $(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(se=>se._markForCheck())}writeValue(se){this.value=se,this._changeDetector.markForCheck()}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this.onTouched=se}setDisabledState(se){this.disabled=se,this._changeDetector.markForCheck()}}return Q.\u0275fac=function(se){return new(se||Q)(e.Y36(e.sBO))},Q.\u0275dir=e.lG2({type:Q,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Q})(),Le=(()=>{class Q extends ce{}return Q.\u0275fac=function(){let te;return function(ge){return(te||(te=e.n5z(Q)))(ge||Q)}}(),Q.\u0275dir=e.lG2({type:Q,selectors:[["mat-radio-group"]],contentQueries:function(se,ge,Ne){if(1&se&&e.Suo(Ne,j,5),2&se){let Fe;e.iGM(Fe=e.CRH())&&(ge._radios=Fe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([V,{provide:ue,useExisting:Q}]),e.qOj]}),Q})();class de{constructor(te){this._elementRef=te}}const ke=(0,f.Kr)((0,f.sb)(de));let ae=(()=>{class Q extends ke{constructor(se,ge,Ne,Fe,ne,Me,ve,me){super(ge),this._changeDetector=Ne,this._focusMonitor=Fe,this._radioDispatcher=ne,this._providerOverride=ve,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===Me,me&&(this.tabIndex=(0,g.su)(me,0)),this._removeUniqueSelectionListener=ne.listen((Te,ee)=>{Te!==this.id&&ee===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(se){const ge=(0,g.Ig)(se);this._checked!==ge&&(this._checked=ge,ge&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ge&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ge&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===se),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(se){this._labelPosition=se}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(se){this._setDisabled((0,g.Ig)(se))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(se){this._required=(0,g.Ig)(se)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(se){this._color=se}get inputId(){return`${this.id||this._uniqueId}-input`}focus(se,ge){ge?this._focusMonitor.focusVia(this._inputElement,ge,se):this._inputElement.nativeElement.focus(se)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(se=>{!se&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new $(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const ge=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ge&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}}return Q.\u0275fac=function(se){e.$Z()},Q.\u0275dir=e.lG2({type:Q,viewQuery:function(se,ge){if(1&se&&e.Gf(b,5),2&se){let Ne;e.iGM(Ne=e.CRH())&&(ge._inputElement=Ne.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),Q})(),j=(()=>{class Q extends ae{constructor(se,ge,Ne,Fe,ne,Me,ve,me){super(se,ge,Ne,Fe,ne,Me,ve,me)}}return Q.\u0275fac=function(se){return new(se||Q)(e.Y36(ue,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(A.tE),e.Y36(s.A8),e.Y36(m.Qb,8),e.Y36(h,8),e.$8M("tabindex"))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(se,ge){1&se&&e.NdJ("focus",function(){return ge._inputElement.nativeElement.focus()}),2&se&&(e.uIk("tabindex",null)("id",ge.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",ge.checked)("mat-radio-disabled",ge.disabled)("_mat-animation-noopable",ge._noopAnimations)("mat-primary","primary"===ge.color)("mat-accent","accent"===ge.color)("mat-warn","warn"===ge.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:E,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(se,ge){if(1&se&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e._UZ(3,"span",3),e._UZ(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(Fe){return ge._onInputInteraction(Fe)})("click",function(Fe){return ge._onInputClick(Fe)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA(),e.qZA(),e.TgZ(9,"span",9),e.TgZ(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA(),e.qZA()),2&se){const Ne=e.MAs(1);e.uIk("for",ge.inputId),e.xp6(5),e.Q6J("id",ge.inputId)("checked",ge.checked)("disabled",ge.disabled)("tabIndex",ge.tabIndex)("required",ge.required),e.uIk("name",ge.name)("value",ge.value)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledby)("aria-describedby",ge.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Ne)("matRippleDisabled",ge._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(18,O,ge._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==ge.labelPosition)}},directives:[f.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),Q})(),H=(()=>{class Q{}return Q.\u0275fac=function(se){return new(se||Q)},Q.\u0275mod=e.oAB({type:Q}),Q.\u0275inj=e.cJS({imports:[[f.si,f.BQ],f.BQ]}),Q})()},74107:(Ke,be,d)=>{"use strict";d.d(be,{gD:()=>r,LD:()=>p,$L:()=>P});var e=d(92845),f=d(69808),g=d(5e3),T=d(90508),m=d(67322),A=d(53435),s=d(15664),b=d(63191),O=d(20449),E=d(91159),h=d(93075),k=d(8929),L=d(88514),V=d(36787),$=d(1059),ue=d(87545),ce=d(72986),Le=d(92198),de=d(24850),ke=d(75778),ae=d(7625),j=d(41777),H=d(50226);const Q=["trigger"],te=["panel"];function se(o,t){if(1&o&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&o){const n=g.oxw();g.xp6(1),g.Oqu(n.placeholder)}}function ge(o,t){if(1&o&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&o){const n=g.oxw(2);g.xp6(1),g.Oqu(n.triggerValue)}}function Ne(o,t){1&o&&g.Hsn(0,0,["*ngSwitchCase","true"])}function Fe(o,t){if(1&o&&(g.TgZ(0,"span",9),g.YNc(1,ge,2,1,"span",10),g.YNc(2,Ne,1,0,"ng-content",11),g.qZA()),2&o){const n=g.oxw();g.Q6J("ngSwitch",!!n.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function ne(o,t){if(1&o){const n=g.EpF();g.TgZ(0,"div",13),g.TgZ(1,"div",14,15),g.NdJ("@transformPanel.done",function(u){return g.CHM(n),g.oxw()._panelDoneAnimatingStream.next(u.toState)})("keydown",function(u){return g.CHM(n),g.oxw()._handleKeydown(u)}),g.Hsn(3,1),g.qZA(),g.qZA()}if(2&o){const n=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",n._getPanelTheme(),""),g.Udp("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),g.Q6J("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),g.uIk("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}const Me=[[["mat-select-trigger"]],"*"],ve=["mat-select-trigger","*"],me={transformPanelWrap:(0,j.X$)("transformPanelWrap",[(0,j.eR)("* => void",(0,j.IO)("@transformPanel",[(0,j.pV)()],{optional:!0}))]),transformPanel:(0,j.X$)("transformPanel",[(0,j.SB)("void",(0,j.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,j.SB)("showing",(0,j.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,j.SB)("showing-multiple",(0,j.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,j.eR)("void => *",(0,j.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,j.eR)("* => void",(0,j.jt)("100ms 25ms linear",(0,j.oB)({opacity:0})))])};let Oe=0;const tt=new g.OlP("mat-select-scroll-strategy"),N=new g.OlP("MAT_SELECT_CONFIG"),he={provide:tt,deps:[e.aV],useFactory:function rt(o){return()=>o.scrollStrategies.reposition()}};class D{constructor(t,n){this.source=t,this.value=n}}const S=(0,T.Kr)((0,T.sb)((0,T.Id)((0,T.FD)(class{constructor(o,t,n,c,u){this._elementRef=o,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=c,this.ngControl=u}})))),I=new g.OlP("MatSelectTrigger");let P=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275dir=g.lG2({type:o,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:I,useExisting:o}])]}),o})(),i=(()=>{class o extends S{constructor(n,c,u,y,M,re,et,yt,pt,Nt,It,Zt,mt,Ht){var _t,Je,Lt;super(M,y,et,yt,Nt),this._viewportRuler=n,this._changeDetectorRef=c,this._ngZone=u,this._dir=re,this._parentFormField=pt,this._liveAnnouncer=mt,this._defaultOptions=Ht,this._panelOpen=!1,this._compareWith=(ht,Rt)=>ht===Rt,this._uid="mat-select-"+Oe++,this._triggerAriaLabelledBy=null,this._destroy=new k.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Oe++,this._panelDoneAnimatingStream=new k.xQ,this._overlayPanelClass=(null===(_t=this._defaultOptions)||void 0===_t?void 0:_t.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Lt=null===(Je=this._defaultOptions)||void 0===Je?void 0:Je.disableOptionCentering)&&void 0!==Lt&&Lt,this.ariaLabel="",this.optionSelectionChanges=(0,L.P)(()=>{const ht=this.options;return ht?ht.changes.pipe((0,$.O)(ht),(0,ue.w)(()=>(0,V.T)(...ht.map(Rt=>Rt.onSelectionChange)))):this._ngZone.onStable.pipe((0,ce.q)(1),(0,ue.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,Le.h)(ht=>ht),(0,de.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Le.h)(ht=>!ht),(0,de.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Ht?void 0:Ht.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Ht.typeaheadDebounceInterval),this._scrollStrategyFactory=Zt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(It)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){var n,c,u,y;return null!==(y=null!==(n=this._required)&&void 0!==n?n:null===(u=null===(c=this.ngControl)||void 0===c?void 0:c.control)||void 0===u?void 0:u.hasValidator(h.kI.required))&&void 0!==y&&y}set required(n){this._required=(0,b.Ig)(n),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._multiple=(0,b.Ig)(n)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(n){this._disableOptionCentering=(0,b.Ig)(n)}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){(n!==this._value||this._multiple&&Array.isArray(n))&&(this.options&&this._setSelectionByValue(n),this._value=n)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(n){this._typeaheadDebounceInterval=(0,b.su)(n)}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new O.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ke.x)(),(0,ae.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ae.R)(this._destroy)).subscribe(n=>{n.added.forEach(c=>c.select()),n.removed.forEach(c=>c.deselect())}),this.options.changes.pipe((0,$.O)(null),(0,ae.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const n=this._getTriggerAriaLabelledby();if(n!==this._triggerAriaLabelledBy){const c=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?c.setAttribute("aria-labelledby",n):c.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(n){n.disabled&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(n){this.value=n}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var n,c;return this.multiple?(null===(n=this._selectionModel)||void 0===n?void 0:n.selected)||[]:null===(c=this._selectionModel)||void 0===c?void 0:c.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const n=this._selectionModel.selected.map(c=>c.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){const c=n.keyCode,u=c===E.JH||c===E.LH||c===E.oh||c===E.SV,y=c===E.K5||c===E.L_,M=this._keyManager;if(!M.isTyping()&&y&&!(0,E.Vb)(n)||(this.multiple||n.altKey)&&u)n.preventDefault(),this.open();else if(!this.multiple){const re=this.selected;M.onKeydown(n);const et=this.selected;et&&re!==et&&this._liveAnnouncer.announce(et.viewValue,1e4)}}_handleOpenKeydown(n){const c=this._keyManager,u=n.keyCode,y=u===E.JH||u===E.LH,M=c.isTyping();if(y&&n.altKey)n.preventDefault(),this.close();else if(M||u!==E.K5&&u!==E.L_||!c.activeItem||(0,E.Vb)(n))if(!M&&this._multiple&&u===E.A&&n.ctrlKey){n.preventDefault();const re=this.options.some(et=>!et.disabled&&!et.selected);this.options.forEach(et=>{et.disabled||(re?et.select():et.deselect())})}else{const re=c.activeItemIndex;c.onKeydown(n),this._multiple&&y&&n.shiftKey&&c.activeItem&&c.activeItemIndex!==re&&c.activeItem._selectViaInteraction()}else n.preventDefault(),c.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ce.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(n){if(this._selectionModel.selected.forEach(c=>c.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(c=>this._selectValue(c)),this._sortValues();else{const c=this._selectValue(n);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(n){const c=this.options.find(u=>{if(this._selectionModel.isSelected(u))return!1;try{return null!=u.value&&this._compareWith(u.value,n)}catch(y){return!1}});return c&&this._selectionModel.select(c),c}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,ae.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,ae.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const n=(0,V.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ae.R)(n)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,V.T)(...this.options.map(c=>c._stateChanges)).pipe((0,ae.R)(n)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(n,c){const u=this._selectionModel.isSelected(n);null!=n.value||this._multiple?(u!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),c&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),c&&this.focus())):(n.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(n.value)),u!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const n=this.options.toArray();this._selectionModel.sort((c,u)=>this.sortComparator?this.sortComparator(c,u,n):n.indexOf(c)-n.indexOf(u)),this.stateChanges.next()}}_propagateChanges(n){let c=null;c=this.multiple?this.selected.map(u=>u.value):this.selected?this.selected.value:n,this._value=c,this.valueChange.emit(c),this._onChange(c),this.selectionChange.emit(this._getChangeEvent(c)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var n;return!this._panelOpen&&!this.disabled&&(null===(n=this.options)||void 0===n?void 0:n.length)>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){var n;if(this.ariaLabel)return null;const c=null===(n=this._parentFormField)||void 0===n?void 0:n.getLabelId();return this.ariaLabelledby?(c?c+" ":"")+this.ariaLabelledby:c}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var n;if(this.ariaLabel)return null;const c=null===(n=this._parentFormField)||void 0===n?void 0:n.getLabelId();let u=(c?c+" ":"")+this._valueId;return this.ariaLabelledby&&(u+=" "+this.ariaLabelledby),u}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){this._ariaDescribedby=n.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return o.\u0275fac=function(n){return new(n||o)(g.Y36(A.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(T.rD),g.Y36(g.SBq),g.Y36(H.Is,8),g.Y36(h.F,8),g.Y36(h.sg,8),g.Y36(m.G_,8),g.Y36(h.a5,10),g.$8M("tabindex"),g.Y36(tt),g.Y36(s.Kd),g.Y36(N,8))},o.\u0275dir=g.lG2({type:o,viewQuery:function(n,c){if(1&n&&(g.Gf(Q,5),g.Gf(te,5),g.Gf(e.pI,5)),2&n){let u;g.iGM(u=g.CRH())&&(c.trigger=u.first),g.iGM(u=g.CRH())&&(c.panel=u.first),g.iGM(u=g.CRH())&&(c._overlayDir=u.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[g.qOj,g.TTD]}),o})(),r=(()=>{class o extends i{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(n,c,u){const y=this._getItemHeight();return Math.min(Math.max(0,y*n-c+y/2),u)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ae.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,ce.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(n){const c=(0,T.CB)(n,this.options,this.optionGroups),u=this._getItemHeight();this.panel.nativeElement.scrollTop=0===n&&1===c?0:(0,T.jH)((n+c)*u,u,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(n){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(n)}_getChangeEvent(n){return new D(this,n)}_calculateOverlayOffsetX(){const n=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),c=this._viewportRuler.getViewportSize(),u=this._isRtl(),y=this.multiple?56:32;let M;if(this.multiple)M=40;else if(this.disableOptionCentering)M=16;else{let yt=this._selectionModel.selected[0]||this.options.first;M=yt&&yt.group?32:16}u||(M*=-1);const re=0-(n.left+M-(u?y:0)),et=n.right+M-c.width+(u?0:y);re>0?M+=re+8:et>0&&(M-=et+8),this._overlayDir.offsetX=Math.round(M),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(n,c,u){const y=this._getItemHeight(),M=(y-this._triggerRect.height)/2,re=Math.floor(256/y);let et;return this.disableOptionCentering?0:(et=0===this._scrollTop?n*y:this._scrollTop===u?(n-(this._getItemCount()-re))*y+(y-(this._getItemCount()*y-256)%y):c-y/2,Math.round(-1*et-M))}_checkOverlayWithinViewport(n){const c=this._getItemHeight(),u=this._viewportRuler.getViewportSize(),y=this._triggerRect.top-8,M=u.height-this._triggerRect.bottom-8,re=Math.abs(this._offsetY),yt=Math.min(this._getItemCount()*c,256)-re-this._triggerRect.height;yt>M?this._adjustPanelUp(yt,M):re>y?this._adjustPanelDown(re,y,n):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(n,c){const u=Math.round(n-c);this._scrollTop-=u,this._offsetY-=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(n,c,u){const y=Math.round(n-c);if(this._scrollTop+=y,this._offsetY+=y,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=u)return this._scrollTop=u,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const n=this._getItemHeight(),c=this._getItemCount(),u=Math.min(c*n,256),M=c*n-u;let re;re=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),re+=(0,T.CB)(re,this.options,this.optionGroups);const et=u/2;this._scrollTop=this._calculateOverlayScroll(re,et,M),this._offsetY=this._calculateOverlayOffsetY(re,et,M),this._checkOverlayWithinViewport(M)}_getOriginBasedOnOption(){const n=this._getItemHeight(),c=(n-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-c+n/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return o.\u0275fac=function(){let t;return function(c){return(t||(t=g.n5z(o)))(c||o)}}(),o.\u0275cmp=g.Xpm({type:o,selectors:[["mat-select"]],contentQueries:function(n,c,u){if(1&n&&(g.Suo(u,I,5),g.Suo(u,T.ey,5),g.Suo(u,T.K7,5)),2&n){let y;g.iGM(y=g.CRH())&&(c.customTrigger=y.first),g.iGM(y=g.CRH())&&(c.options=y),g.iGM(y=g.CRH())&&(c.optionGroups=y)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(n,c){1&n&&g.NdJ("keydown",function(y){return c._handleKeydown(y)})("focus",function(){return c._onFocus()})("blur",function(){return c._onBlur()}),2&n&&(g.uIk("id",c.id)("tabindex",c.tabIndex)("aria-controls",c.panelOpen?c.id+"-panel":null)("aria-expanded",c.panelOpen)("aria-label",c.ariaLabel||null)("aria-required",c.required.toString())("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState)("aria-describedby",c._ariaDescribedby||null)("aria-activedescendant",c._getAriaActiveDescendant()),g.ekj("mat-select-disabled",c.disabled)("mat-select-invalid",c.errorState)("mat-select-required",c.required)("mat-select-empty",c.empty)("mat-select-multiple",c.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:m.Eo,useExisting:o},{provide:T.HF,useExisting:o}]),g.qOj],ngContentSelectors:ve,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,c){if(1&n&&(g.F$t(Me),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return c.toggle()}),g.TgZ(3,"div",2),g.YNc(4,se,2,1,"span",3),g.YNc(5,Fe,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA(),g.qZA(),g.YNc(8,ne,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return c.close()})("attach",function(){return c._onAttached()})("detach",function(){return c.close()})),2&n){const u=g.MAs(1);g.uIk("aria-owns",c.panelOpen?c.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",c.empty),g.uIk("id",c._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayOpen",c.panelOpen)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayMinWidth",null==c._triggerRect?null:c._triggerRect.width)("cdkConnectedOverlayOffsetY",c._offsetY)}},directives:[e.xu,f.RF,f.n9,f.ED,e.pI,f.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[me.transformPanelWrap,me.transformPanel]},changeDetection:0}),o})(),p=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=g.oAB({type:o}),o.\u0275inj=g.cJS({providers:[he],imports:[[f.ez,e.U8,T.Ng,T.BQ],A.ZD,m.lN,T.Ng,T.BQ]}),o})()},2638:(Ke,be,d)=>{"use strict";d.d(be,{JX:()=>Xe,TM:()=>tt,Rh:()=>Ve,SJ:()=>rt});var e=d(70925),f=d(53435),g=d(69808),T=d(5e3),m=d(90508),A=d(63191),s=d(91159),b=d(8929),O=d(23753),E=d(36787),h=d(92198),k=d(24850),L=d(77604),V=d(7625),$=d(75778),ue=d(72986),ce=d(1059),Le=d(80013),de=d(41777),ke=d(76360),ae=d(15664),j=d(50226);const H=["*"],Q=["content"];function te(N,he){if(1&N){const D=T.EpF();T.TgZ(0,"div",2),T.NdJ("click",function(){return T.CHM(D),T.oxw()._onBackdropClicked()}),T.qZA()}if(2&N){const D=T.oxw();T.ekj("mat-drawer-shown",D._isShowingBackdrop())}}function se(N,he){1&N&&(T.TgZ(0,"mat-drawer-content"),T.Hsn(1,2),T.qZA())}const ge=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ne=["mat-drawer","mat-drawer-content","*"];function Fe(N,he){if(1&N){const D=T.EpF();T.TgZ(0,"div",2),T.NdJ("click",function(){return T.CHM(D),T.oxw()._onBackdropClicked()}),T.qZA()}if(2&N){const D=T.oxw();T.ekj("mat-drawer-shown",D._isShowingBackdrop())}}function ne(N,he){1&N&&(T.TgZ(0,"mat-sidenav-content"),T.Hsn(1,2),T.qZA())}const Me=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ve=["mat-sidenav","mat-sidenav-content","*"],Te={transformDrawer:(0,de.X$)("transform",[(0,de.SB)("open, open-instant",(0,de.oB)({transform:"none",visibility:"visible"})),(0,de.SB)("void",(0,de.oB)({"box-shadow":"none",visibility:"hidden"})),(0,de.eR)("void => open-instant",(0,de.jt)("0ms")),(0,de.eR)("void <=> open, open-instant => void",(0,de.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},R=new T.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ie(){return!1}}),Oe=new T.OlP("MAT_DRAWER_CONTAINER");let He=(()=>{class N extends f.PQ{constructor(D,S,I,P,i){super(I,P,i),this._changeDetectorRef=D,this._container=S}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.sBO),T.Y36((0,T.Gpc)(()=>Ce)),T.Y36(T.SBq),T.Y36(f.mF),T.Y36(T.R0b))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(D,S){2&D&&T.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[T._Bn([{provide:f.PQ,useExisting:N}]),T.qOj],ngContentSelectors:H,decls:1,vars:0,template:function(D,S){1&D&&(T.F$t(),T.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),fe=(()=>{class N{constructor(D,S,I,P,i,r,p,o){this._elementRef=D,this._focusTrapFactory=S,this._focusMonitor=I,this._platform=P,this._ngZone=i,this._interactivityChecker=r,this._doc=p,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new b.xQ,this._animationEnd=new b.xQ,this._animationState="void",this.openedChange=new T.vpe(!0),this._openedStream=this.openedChange.pipe((0,h.h)(t=>t),(0,k.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,h.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),(0,L.h)(void 0)),this._closedStream=this.openedChange.pipe((0,h.h)(t=>!t),(0,k.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,h.h)(t=>t.fromState!==t.toState&&"void"===t.toState),(0,L.h)(void 0)),this._destroyed=new b.xQ,this.onPositionChanged=new T.vpe,this._modeChanged=new b.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,O.R)(this._elementRef.nativeElement,"keydown").pipe((0,h.h)(t=>t.keyCode===s.hY&&!this.disableClose&&!(0,s.Vb)(t)),(0,V.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,$.x)((t,n)=>t.fromState===n.fromState&&t.toState===n.toState)).subscribe(t=>{const{fromState:n,toState:c}=t;(0===c.indexOf("open")&&"void"===n||"void"===c&&0===n.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(D){(D="end"===D?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(D),this._position=D,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(D){this._mode=D,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(D){this._disableClose=(0,A.Ig)(D)}get autoFocus(){const D=this._autoFocus;return null==D?"side"===this.mode?"dialog":"first-tabbable":D}set autoFocus(D){("true"===D||"false"===D||null==D)&&(D=(0,A.Ig)(D)),this._autoFocus=D}get opened(){return this._opened}set opened(D){this.toggle((0,A.Ig)(D))}_forceFocus(D,S){this._interactivityChecker.isFocusable(D)||(D.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{D.addEventListener("blur",()=>D.removeAttribute("tabindex")),D.addEventListener("mousedown",()=>D.removeAttribute("tabindex"))})),D.focus(S)}_focusByCssSelector(D,S){let I=this._elementRef.nativeElement.querySelector(D);I&&this._forceFocus(I,S)}_takeFocus(){if(!this._focusTrap)return;const D=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(S=>{!S&&"function"==typeof this._elementRef.nativeElement.focus&&D.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(D){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,D):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const D=this._doc.activeElement;return!!D&&this._elementRef.nativeElement.contains(D)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var D;this._focusTrap&&this._focusTrap.destroy(),null===(D=this._anchor)||void 0===D||D.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(D){return this.toggle(!0,D)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(D=!this.opened,S){D&&S&&(this._openedVia=S);const I=this._setOpen(D,!D&&this._isFocusWithinDrawer(),this._openedVia||"program");return D||(this._openedVia=null),I}_setOpen(D,S,I){return this._opened=D,D?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",S&&this._restoreFocus(I)),this._updateFocusTrapState(),new Promise(P=>{this.openedChange.pipe((0,ue.q)(1)).subscribe(i=>P(i?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(D){const S=this._elementRef.nativeElement,I=S.parentNode;"end"===D?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),I.insertBefore(this._anchor,S)),I.appendChild(S)):this._anchor&&this._anchor.parentNode.insertBefore(S,this._anchor)}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.SBq),T.Y36(ae.qV),T.Y36(ae.tE),T.Y36(e.t4),T.Y36(T.R0b),T.Y36(ae.ic),T.Y36(g.K0,8),T.Y36(Oe,8))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer"]],viewQuery:function(D,S){if(1&D&&T.Gf(Q,5),2&D){let I;T.iGM(I=T.CRH())&&(S._content=I.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(D,S){1&D&&T.WFA("@transform.start",function(P){return S._animationStarted.next(P)})("@transform.done",function(P){return S._animationEnd.next(P)}),2&D&&(T.uIk("align",null),T.d8E("@transform",S._animationState),T.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:H,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(D,S){1&D&&(T.F$t(),T.TgZ(0,"div",0,1),T.Hsn(2),T.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Te.transformDrawer]},changeDetection:0}),N})(),Ce=(()=>{class N{constructor(D,S,I,P,i,r=!1,p){this._dir=D,this._element=S,this._ngZone=I,this._changeDetectorRef=P,this._animationMode=p,this._drawers=new T.n_E,this.backdropClick=new T.vpe,this._destroyed=new b.xQ,this._doCheckSubject=new b.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new b.xQ,D&&D.change.pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe((0,V.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(D){this._autosize=(0,A.Ig)(D)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(D){this._backdropOverride=null==D?null:(0,A.Ig)(D)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ce.O)(this._allDrawers),(0,V.R)(this._destroyed)).subscribe(D=>{this._drawers.reset(D.filter(S=>!S._container||S._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ce.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(D=>{this._watchDrawerToggle(D),this._watchDrawerPosition(D),this._watchDrawerMode(D)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Le.b)(10),(0,V.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(D=>D.open())}close(){this._drawers.forEach(D=>D.close())}updateContentMargins(){let D=0,S=0;if(this._left&&this._left.opened)if("side"==this._left.mode)D+=this._left._getWidth();else if("push"==this._left.mode){const I=this._left._getWidth();D+=I,S-=I}if(this._right&&this._right.opened)if("side"==this._right.mode)S+=this._right._getWidth();else if("push"==this._right.mode){const I=this._right._getWidth();S+=I,D-=I}D=D||null,S=S||null,(D!==this._contentMargins.left||S!==this._contentMargins.right)&&(this._contentMargins={left:D,right:S},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(D){D._animationStarted.pipe((0,h.h)(S=>S.fromState!==S.toState),(0,V.R)(this._drawers.changes)).subscribe(S=>{"open-instant"!==S.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==D.mode&&D.openedChange.pipe((0,V.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(D.opened))}_watchDrawerPosition(D){!D||D.onPositionChanged.pipe((0,V.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,ue.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(D){D&&D._modeChanged.pipe((0,V.R)((0,E.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(D){const S=this._element.nativeElement.classList,I="mat-drawer-container-has-open";D?S.add(I):S.remove(I)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(D=>{"end"==D.position?this._end=D:this._start=D}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(D=>D&&!D.disableClose&&this._canHaveBackdrop(D)).forEach(D=>D._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(D){return"side"!==D.mode||!!this._backdropOverride}_isDrawerOpen(D){return null!=D&&D.opened}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(j.Is,8),T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(T.sBO),T.Y36(f.rL),T.Y36(R),T.Y36(ke.Qb,8))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-drawer-container"]],contentQueries:function(D,S,I){if(1&D&&(T.Suo(I,He,5),T.Suo(I,fe,5)),2&D){let P;T.iGM(P=T.CRH())&&(S._content=P.first),T.iGM(P=T.CRH())&&(S._allDrawers=P)}},viewQuery:function(D,S){if(1&D&&T.Gf(He,5),2&D){let I;T.iGM(I=T.CRH())&&(S._userContent=I.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(D,S){2&D&&T.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[T._Bn([{provide:Oe,useExisting:N}])],ngContentSelectors:Ne,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(D,S){1&D&&(T.F$t(ge),T.YNc(0,te,1,2,"div",0),T.Hsn(1),T.Hsn(2,1),T.YNc(3,se,2,0,"mat-drawer-content",1)),2&D&&(T.Q6J("ngIf",S.hasBackdrop),T.xp6(3),T.Q6J("ngIf",!S._content))},directives:[He,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),N})(),Ve=(()=>{class N extends He{constructor(D,S,I,P,i){super(D,S,I,P,i)}}return N.\u0275fac=function(D){return new(D||N)(T.Y36(T.sBO),T.Y36((0,T.Gpc)(()=>tt)),T.Y36(T.SBq),T.Y36(f.mF),T.Y36(T.R0b))},N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(D,S){2&D&&T.Udp("margin-left",S._container._contentMargins.left,"px")("margin-right",S._container._contentMargins.right,"px")},features:[T._Bn([{provide:f.PQ,useExisting:N}]),T.qOj],ngContentSelectors:H,decls:1,vars:0,template:function(D,S){1&D&&(T.F$t(),T.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),Xe=(()=>{class N extends fe{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(D){this._fixedInViewport=(0,A.Ig)(D)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(D){this._fixedTopGap=(0,A.su)(D)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(D){this._fixedBottomGap=(0,A.su)(D)}}return N.\u0275fac=function(){let he;return function(S){return(he||(he=T.n5z(N)))(S||N)}}(),N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(D,S){2&D&&(T.uIk("align",null),T.Udp("top",S.fixedInViewport?S.fixedTopGap:null,"px")("bottom",S.fixedInViewport?S.fixedBottomGap:null,"px"),T.ekj("mat-drawer-end","end"===S.position)("mat-drawer-over","over"===S.mode)("mat-drawer-push","push"===S.mode)("mat-drawer-side","side"===S.mode)("mat-drawer-opened",S.opened)("mat-sidenav-fixed",S.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[T.qOj],ngContentSelectors:H,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(D,S){1&D&&(T.F$t(),T.TgZ(0,"div",0,1),T.Hsn(2),T.qZA())},directives:[f.PQ],encapsulation:2,data:{animation:[Te.transformDrawer]},changeDetection:0}),N})(),tt=(()=>{class N extends Ce{}return N.\u0275fac=function(){let he;return function(S){return(he||(he=T.n5z(N)))(S||N)}}(),N.\u0275cmp=T.Xpm({type:N,selectors:[["mat-sidenav-container"]],contentQueries:function(D,S,I){if(1&D&&(T.Suo(I,Ve,5),T.Suo(I,Xe,5)),2&D){let P;T.iGM(P=T.CRH())&&(S._content=P.first),T.iGM(P=T.CRH())&&(S._allDrawers=P)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(D,S){2&D&&T.ekj("mat-drawer-container-explicit-backdrop",S._backdropOverride)},exportAs:["matSidenavContainer"],features:[T._Bn([{provide:Oe,useExisting:N}]),T.qOj],ngContentSelectors:ve,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(D,S){1&D&&(T.F$t(Me),T.YNc(0,Fe,1,2,"div",0),T.Hsn(1),T.Hsn(2,1),T.YNc(3,ne,2,0,"mat-sidenav-content",1)),2&D&&(T.Q6J("ngIf",S.hasBackdrop),T.xp6(3),T.Q6J("ngIf",!S._content))},directives:[Ve,g.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),N})(),rt=(()=>{class N{}return N.\u0275fac=function(D){return new(D||N)},N.\u0275mod=T.oAB({type:N}),N.\u0275inj=T.cJS({imports:[[g.ez,m.BQ,e.ud,f.ZD],f.ZD,m.BQ]}),N})()},32368:(Ke,be,d)=>{"use strict";d.d(be,{Rr:()=>Le,rP:()=>j});var e=d(17144),f=d(5e3),g=d(90508),T=d(63191),m=d(93075),A=d(76360),s=d(15664);const b=["thumbContainer"],O=["toggleBar"],E=["input"],h=function(H){return{enterDuration:H}},k=["*"],L=new f.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let V=0;const $={provide:m.JU,useExisting:(0,f.Gpc)(()=>Le),multi:!0};class ue{constructor(Q,te){this.source=Q,this.checked=te}}const ce=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(H){this._elementRef=H}}))));let Le=(()=>{class H extends ce{constructor(te,se,ge,Ne,Fe,ne){super(te),this._focusMonitor=se,this._changeDetectorRef=ge,this.defaults=Fe,this._onChange=Me=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++V,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new f.vpe,this.toggleChange=new f.vpe,this.tabIndex=parseInt(Ne)||0,this.color=this.defaultColor=Fe.color||"accent",this._noopAnimations="NoopAnimations"===ne}get required(){return this._required}set required(te){this._required=(0,T.Ig)(te)}get checked(){return this._checked}set checked(te){this._checked=(0,T.Ig)(te),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(te=>{te||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(te){te.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(te){te.stopPropagation()}writeValue(te){this.checked=!!te}registerOnChange(te){this._onChange=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te,this._changeDetectorRef.markForCheck()}focus(te,se){se?this._focusMonitor.focusVia(this._inputElement,se,te):this._inputElement.nativeElement.focus(te)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new ue(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(s.tE),f.Y36(f.sBO),f.$8M("tabindex"),f.Y36(L),f.Y36(A.Qb,8))},H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-slide-toggle"]],viewQuery:function(te,se){if(1&te&&(f.Gf(b,5),f.Gf(O,5),f.Gf(E,5)),2&te){let ge;f.iGM(ge=f.CRH())&&(se._thumbEl=ge.first),f.iGM(ge=f.CRH())&&(se._thumbBarEl=ge.first),f.iGM(ge=f.CRH())&&(se._inputElement=ge.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(te,se){2&te&&(f.Ikx("id",se.id),f.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),f.ekj("mat-checked",se.checked)("mat-disabled",se.disabled)("mat-slide-toggle-label-before","before"==se.labelPosition)("_mat-animation-noopable",se._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[f._Bn([$]),f.qOj],ngContentSelectors:k,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(te,se){if(1&te&&(f.F$t(),f.TgZ(0,"label",0,1),f.TgZ(2,"span",2,3),f.TgZ(4,"input",4,5),f.NdJ("change",function(Ne){return se._onChangeEvent(Ne)})("click",function(Ne){return se._onInputClick(Ne)}),f.qZA(),f.TgZ(6,"span",6,7),f._UZ(8,"span",8),f.TgZ(9,"span",9),f._UZ(10,"span",10),f.qZA(),f.qZA(),f.qZA(),f.TgZ(11,"span",11,12),f.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),f.TgZ(13,"span",13),f._uU(14,"\xa0"),f.qZA(),f.Hsn(15),f.qZA(),f.qZA()),2&te){const ge=f.MAs(1),Ne=f.MAs(12);f.uIk("for",se.inputId),f.xp6(2),f.ekj("mat-slide-toggle-bar-no-side-margin",!Ne.textContent||!Ne.textContent.trim()),f.xp6(2),f.Q6J("id",se.inputId)("required",se.required)("tabIndex",se.tabIndex)("checked",se.checked)("disabled",se.disabled),f.uIk("name",se.name)("aria-checked",se.checked)("aria-label",se.ariaLabel)("aria-labelledby",se.ariaLabelledby)("aria-describedby",se.ariaDescribedby),f.xp6(5),f.Q6J("matRippleTrigger",ge)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",f.VKq(18,h,se._noopAnimations?0:150))}},directives:[g.wG,e.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),H})(),ae=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({}),H})(),j=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[ae,g.si,g.BQ,e.Q8],ae,g.BQ]}),H})()},57261:(Ke,be,d)=>{"use strict";d.d(be,{ZX:()=>ce});var e=d(92845),f=d(47429),g=d(69808),T=d(5e3),m=d(90508),A=d(47423);d(41777);let ce=(()=>{class j{}return j.\u0275fac=function(Q){return new(Q||j)},j.\u0275mod=T.oAB({type:j}),j.\u0275inj=T.cJS({imports:[[e.U8,f.eL,g.ez,A.ot,m.BQ],m.BQ]}),j})()},84847:(Ke,be,d)=>{"use strict";d.d(be,{YE:()=>Q,nU:()=>ge,JX:()=>Ne});var e=d(5e3),f=d(63191),g=d(91159),T=d(90508),m=d(8929),A=d(36787),s=d(41777),b=d(15664),O=d(69808);const E=["mat-sort-header",""];function h(Fe,ne){if(1&Fe){const Me=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(Me),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(Me),e.oxw()._disableViewStateAnimation=!1}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6),e._UZ(4,"div",7),e._UZ(5,"div",8),e.qZA(),e.qZA()}if(2&Fe){const Me=e.oxw();e.Q6J("@arrowOpacity",Me._getArrowViewState())("@arrowPosition",Me._getArrowViewState())("@allowChildren",Me._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",Me._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",Me._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",Me._getArrowDirectionState())}}const k=["*"],L=T.mZ.ENTERING+" "+T.yN.STANDARD_CURVE,V={indicator:(0,s.X$)("indicator",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"translateY(0px)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"translateY(10px)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),leftPointer:(0,s.X$)("leftPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),rightPointer:(0,s.X$)("rightPointer",[(0,s.SB)("active-asc, asc",(0,s.oB)({transform:"rotate(45deg)"})),(0,s.SB)("active-desc, desc",(0,s.oB)({transform:"rotate(-45deg)"})),(0,s.eR)("active-asc <=> active-desc",(0,s.jt)(L))]),arrowOpacity:(0,s.X$)("arrowOpacity",[(0,s.SB)("desc-to-active, asc-to-active, active",(0,s.oB)({opacity:1})),(0,s.SB)("desc-to-hint, asc-to-hint, hint",(0,s.oB)({opacity:.54})),(0,s.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,s.oB)({opacity:0})),(0,s.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,s.jt)("0ms")),(0,s.eR)("* <=> *",(0,s.jt)(L))]),arrowPosition:(0,s.X$)("arrowPosition",[(0,s.eR)("* => desc-to-hint, * => desc-to-active",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(-25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-desc, * => active-to-desc",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(25%)"})]))),(0,s.eR)("* => asc-to-hint, * => asc-to-active",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(25%)"}),(0,s.oB)({transform:"translateY(0)"})]))),(0,s.eR)("* => hint-to-asc, * => active-to-asc",(0,s.jt)(L,(0,s.F4)([(0,s.oB)({transform:"translateY(0)"}),(0,s.oB)({transform:"translateY(-25%)"})]))),(0,s.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,s.oB)({transform:"translateY(0)"})),(0,s.SB)("hint-to-desc, active-to-desc, desc",(0,s.oB)({transform:"translateY(-25%)"})),(0,s.SB)("hint-to-asc, active-to-asc, asc",(0,s.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,s.X$)("allowChildren",[(0,s.eR)("* <=> *",[(0,s.IO)("@*",(0,s.pV)(),{optional:!0})])])};let de=(()=>{class Fe{constructor(){this.changes=new m.xQ}}return Fe.\u0275fac=function(Me){return new(Me||Fe)},Fe.\u0275prov=e.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const ae={provide:de,deps:[[new e.FiY,new e.tp0,de]],useFactory:function ke(Fe){return Fe||new de}},j=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),H=(0,T.dB)((0,T.Id)(class{}));let Q=(()=>{class Fe extends H{constructor(Me){super(),this._defaultOptions=Me,this.sortables=new Map,this._stateChanges=new m.xQ,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(Me){this._direction=Me}get disableClear(){return this._disableClear}set disableClear(Me){this._disableClear=(0,f.Ig)(Me)}register(Me){this.sortables.set(Me.id,Me)}deregister(Me){this.sortables.delete(Me.id)}sort(Me){this.active!=Me.id?(this.active=Me.id,this.direction=Me.start?Me.start:this.start):this.direction=this.getNextSortDirection(Me),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(Me){var ve,me,Te;if(!Me)return"";const ee=null!==(me=null!==(ve=null==Me?void 0:Me.disableClear)&&void 0!==ve?ve:this.disableClear)&&void 0!==me?me:!!(null===(Te=this._defaultOptions)||void 0===Te?void 0:Te.disableClear);let R=function te(Fe,ne){let Me=["asc","desc"];return"desc"==Fe&&Me.reverse(),ne||Me.push(""),Me}(Me.start||this.start,ee),Oe=R.indexOf(this.direction)+1;return Oe>=R.length&&(Oe=0),R[Oe]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(e.Y36(j,8))},Fe.\u0275dir=e.lG2({type:Fe,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),Fe})();const se=(0,T.Id)(class{});let ge=(()=>{class Fe extends se{constructor(Me,ve,me,Te,ee,R,Oe){super(),this._intl=Me,this._changeDetectorRef=ve,this._sort=me,this._columnDef=Te,this._focusMonitor=ee,this._elementRef=R,this._ariaDescriber=Oe,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(Me){this._updateSortActionDescription(Me)}get disableClear(){return this._disableClear}set disableClear(Me){this._disableClear=(0,f.Ig)(Me)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Me=>{const ve=!!Me;ve!==this._showIndicatorHint&&(this._setIndicatorHintVisible(ve),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(Me){this._isDisabled()&&Me||(this._showIndicatorHint=Me,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(Me){this._viewState=Me||{},this._disableViewStateAnimation&&(this._viewState={toState:Me.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(Me){!this._isDisabled()&&(Me.keyCode===g.L_||Me.keyCode===g.K5)&&(Me.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const Me=this._viewState.fromState;return(Me?`${Me}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(Me){var ve,me;this._sortButton&&(null===(ve=this._ariaDescriber)||void 0===ve||ve.removeDescription(this._sortButton,this._sortActionDescription),null===(me=this._ariaDescriber)||void 0===me||me.describe(this._sortButton,Me)),this._sortActionDescription=Me}_handleStateChanges(){this._rerenderSubscription=(0,A.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(e.Y36(de),e.Y36(e.sBO),e.Y36(Q,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(b.tE),e.Y36(e.SBq),e.Y36(b.$s,8))},Fe.\u0275cmp=e.Xpm({type:Fe,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(Me,ve){1&Me&&e.NdJ("click",function(){return ve._handleClick()})("keydown",function(Te){return ve._handleKeydown(Te)})("mouseenter",function(){return ve._setIndicatorHintVisible(!0)})("mouseleave",function(){return ve._setIndicatorHintVisible(!1)}),2&Me&&(e.uIk("aria-sort",ve._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",ve._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:E,ngContentSelectors:k,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(Me,ve){1&Me&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,h,6,6,"div",2),e.qZA()),2&Me&&(e.ekj("mat-sort-header-sorted",ve._isSorted())("mat-sort-header-position-before","before"==ve.arrowPosition),e.uIk("tabindex",ve._isDisabled()?null:0),e.xp6(3),e.Q6J("ngIf",ve._renderArrow()))},directives:[O.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[V.indicator,V.leftPointer,V.rightPointer,V.arrowOpacity,V.arrowPosition,V.allowChildren]},changeDetection:0}),Fe})(),Ne=(()=>{class Fe{}return Fe.\u0275fac=function(Me){return new(Me||Fe)},Fe.\u0275mod=e.oAB({type:Fe}),Fe.\u0275inj=e.cJS({providers:[ae],imports:[[O.ez,T.BQ]]}),Fe})()},92081:(Ke,be,d)=>{"use strict";d.d(be,{C0:()=>yt,BY:()=>et,VY:()=>o,Vq:()=>Zt,T5:()=>_t,fd:()=>Ht});var e=d(47429),f=d(15664),g=d(63191),T=d(91159),m=d(69808),A=d(5e3),s=d(70925),b=d(8929),O=d(21086),E=d(1059),h=d(7625),k=d(50226);function L(Je,Lt){1&Je&&A.Hsn(0)}const V=["*"];let $=(()=>{class Je{constructor(ht){this._elementRef=ht}focus(){this._elementRef.nativeElement.focus()}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.SBq))},Je.\u0275dir=A.lG2({type:Je,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),Je})(),ue=(()=>{class Je{constructor(ht){this.template=ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.Rgc))},Je.\u0275dir=A.lG2({type:Je,selectors:[["","cdkStepLabel",""]]}),Je})(),ce=0;const ke=new A.OlP("STEPPER_GLOBAL_OPTIONS");let ae=(()=>{class Je{constructor(ht,Rt){this._stepper=ht,this.interacted=!1,this.interactedStream=new A.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=Rt||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(ht){this._editable=(0,g.Ig)(ht)}get optional(){return this._optional}set optional(ht){this._optional=(0,g.Ig)(ht)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(ht){this._completedOverride=(0,g.Ig)(ht)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(ht){this._customError=(0,g.Ig)(ht)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var ht;return null!==(ht=this._stepperOptions.showError)&&void 0!==ht?ht:null!=this._customError}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36((0,A.Gpc)(()=>j)),A.Y36(ke,8))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["cdk-step"]],contentQueries:function(ht,Rt,qe){if(1&ht&&A.Suo(qe,ue,5),2&ht){let Ye;A.iGM(Ye=A.CRH())&&(Rt.stepLabel=Ye.first)}},viewQuery:function(ht,Rt){if(1&ht&&A.Gf(A.Rgc,7),2&ht){let qe;A.iGM(qe=A.CRH())&&(Rt.content=qe.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.TTD],ngContentSelectors:V,decls:1,vars:0,template:function(ht,Rt){1&ht&&(A.F$t(),A.YNc(0,L,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Je})(),j=(()=>{class Je{constructor(ht,Rt,qe,Ye){this._dir=ht,this._changeDetectorRef=Rt,this._elementRef=qe,this._destroyed=new b.xQ,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this._orientation="horizontal",this._groupId=ce++}get linear(){return this._linear}set linear(ht){this._linear=(0,g.Ig)(ht)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ht){var Rt;const qe=(0,g.su)(ht);this.steps&&this._steps?(this._isValidIndex(qe),null===(Rt=this.selected)||void 0===Rt||Rt._markAsInteracted(),this._selectedIndex!==qe&&!this._anyControlsInvalidOrPending(qe)&&(qe>=this._selectedIndex||this.steps.toArray()[qe].editable)&&this._updateSelectedItemIndex(qe)):this._selectedIndex=qe}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(ht){this.selectedIndex=ht&&this.steps?this.steps.toArray().indexOf(ht):-1}get orientation(){return this._orientation}set orientation(ht){this._orientation=ht,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===ht)}ngAfterContentInit(){this._steps.changes.pipe((0,E.O)(this._steps),(0,h.R)(this._destroyed)).subscribe(ht=>{this.steps.reset(ht.filter(Rt=>Rt._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,E.O)(this._stepHeader),(0,h.R)(this._destroyed)).subscribe(ht=>{this._sortedHeaders.reset(ht.toArray().sort((Rt,qe)=>Rt._elementRef.nativeElement.compareDocumentPosition(qe._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new f.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.O)(this._layoutDirection()),(0,h.R)(this._destroyed)).subscribe(ht=>this._keyManager.withHorizontalOrientation(ht)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(ht=>ht.reset()),this._stateChanged()}_getStepLabelId(ht){return`cdk-step-label-${this._groupId}-${ht}`}_getStepContentId(ht){return`cdk-step-content-${this._groupId}-${ht}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(ht){const Rt=ht-this._selectedIndex;return Rt<0?"rtl"===this._layoutDirection()?"next":"previous":Rt>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(ht,Rt="number"){const qe=this.steps.toArray()[ht],Ye=this._isCurrentStep(ht);return qe._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(qe,Ye):this._getGuidelineLogic(qe,Ye,Rt)}_getDefaultIndicatorLogic(ht,Rt){return ht._showError()&&ht.hasError&&!Rt?"error":!ht.completed||Rt?"number":ht.editable?"edit":"done"}_getGuidelineLogic(ht,Rt,qe="number"){return ht._showError()&&ht.hasError&&!Rt?"error":ht.completed&&!Rt?"done":ht.completed&&Rt?qe:ht.editable&&Rt?"edit":qe}_isCurrentStep(ht){return this._selectedIndex===ht}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(ht){const Rt=this.steps.toArray();this.selectionChange.emit({selectedIndex:ht,previouslySelectedIndex:this._selectedIndex,selectedStep:Rt[ht],previouslySelectedStep:Rt[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(ht):this._keyManager.updateActiveItem(ht),this._selectedIndex=ht,this._stateChanged()}_onKeydown(ht){const Rt=(0,T.Vb)(ht),qe=ht.keyCode,Ye=this._keyManager;null==Ye.activeItemIndex||Rt||qe!==T.L_&&qe!==T.K5?Ye.onKeydown(ht):(this.selectedIndex=Ye.activeItemIndex,ht.preventDefault())}_anyControlsInvalidOrPending(ht){return!!(this._linear&&ht>=0)&&this.steps.toArray().slice(0,ht).some(Rt=>{const qe=Rt.stepControl;return(qe?qe.invalid||qe.pending||!Rt.interacted:!Rt.completed)&&!Rt.optional&&!Rt._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const ht=this._elementRef.nativeElement,Rt=(0,s.ht)();return ht===Rt||ht.contains(Rt)}_isValidIndex(ht){return ht>-1&&(!this.steps||ht{class Je{constructor(ht){this._stepper=ht,this.type="button"}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(j))},Je.\u0275dir=A.lG2({type:Je,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(ht,Rt){1&ht&&A.NdJ("click",function(){return Rt._stepper.previous()}),2&ht&&A.Ikx("type",Rt.type)},inputs:{type:"type"}}),Je})(),te=(()=>{class Je{}return Je.\u0275fac=function(ht){return new(ht||Je)},Je.\u0275mod=A.oAB({type:Je}),Je.\u0275inj=A.cJS({imports:[[k.vT]]}),Je})();var se=d(47423),ge=d(90508),Ne=d(25245),Fe=d(42654),ne=d(87545),Me=d(24850),ve=d(75778),me=d(41777);function Te(Je,Lt){if(1&Je&&A.GkF(0,8),2&Je){const ht=A.oxw();A.Q6J("ngTemplateOutlet",ht.iconOverrides[ht.state])("ngTemplateOutletContext",ht._getIconContext())}}function ee(Je,Lt){if(1&Je&&(A.TgZ(0,"span",13),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._getDefaultTextForState(ht.state))}}function R(Je,Lt){if(1&Je&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._intl.completedLabel)}}function Oe(Je,Lt){if(1&Je&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._intl.editableLabel)}}function Ie(Je,Lt){if(1&Je&&(A.TgZ(0,"mat-icon",13),A._uU(1),A.qZA()),2&Je){const ht=A.oxw(2);A.xp6(1),A.Oqu(ht._getDefaultTextForState(ht.state))}}function He(Je,Lt){if(1&Je&&(A.ynx(0,9),A.YNc(1,ee,2,1,"span",10),A.YNc(2,R,2,1,"span",11),A.YNc(3,Oe,2,1,"span",11),A.YNc(4,Ie,2,1,"mat-icon",12),A.BQk()),2&Je){const ht=A.oxw();A.Q6J("ngSwitch",ht.state),A.xp6(1),A.Q6J("ngSwitchCase","number"),A.xp6(1),A.Q6J("ngIf","done"===ht.state),A.xp6(1),A.Q6J("ngIf","edit"===ht.state)}}function fe(Je,Lt){if(1&Je&&(A.TgZ(0,"div",15),A.GkF(1,16),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",ht._templateLabel().template)}}function Ce(Je,Lt){if(1&Je&&(A.TgZ(0,"div",15),A._uU(1),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Oqu(ht.label)}}function Ve(Je,Lt){if(1&Je&&(A.TgZ(0,"div",17),A._uU(1),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Oqu(ht._intl.optionalLabel)}}function Xe(Je,Lt){if(1&Je&&(A.TgZ(0,"div",18),A._uU(1),A.qZA()),2&Je){const ht=A.oxw();A.xp6(1),A.Oqu(ht.errorMessage)}}function tt(Je,Lt){}function rt(Je,Lt){if(1&Je&&(A.Hsn(0),A.YNc(1,tt,0,0,"ng-template",0)),2&Je){const ht=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",ht._portal)}}const N=["*"];function he(Je,Lt){1&Je&&A._UZ(0,"div",9)}const D=function(Je,Lt){return{step:Je,i:Lt}};function S(Je,Lt){if(1&Je&&(A.ynx(0),A.GkF(1,7),A.YNc(2,he,1,0,"div",8),A.BQk()),2&Je){const ht=Lt.$implicit,Rt=Lt.index,qe=Lt.last;A.oxw(2);const Ye=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",Ye)("ngTemplateOutletContext",A.WLB(3,D,ht,Rt)),A.xp6(1),A.Q6J("ngIf",!qe)}}function I(Je,Lt){if(1&Je){const ht=A.EpF();A.TgZ(0,"div",10),A.NdJ("@horizontalStepTransition.done",function(qe){return A.CHM(ht),A.oxw(2)._animationDone.next(qe)}),A.GkF(1,11),A.qZA()}if(2&Je){const ht=Lt.$implicit,Rt=Lt.index,qe=A.oxw(2);A.Q6J("@horizontalStepTransition",qe._getAnimationDirection(Rt))("id",qe._getStepContentId(Rt)),A.uIk("aria-labelledby",qe._getStepLabelId(Rt))("aria-expanded",qe.selectedIndex===Rt),A.xp6(1),A.Q6J("ngTemplateOutlet",ht.content)}}function P(Je,Lt){if(1&Je&&(A.ynx(0),A.TgZ(1,"div",3),A.YNc(2,S,3,6,"ng-container",4),A.qZA(),A.TgZ(3,"div",5),A.YNc(4,I,2,5,"div",6),A.qZA(),A.BQk()),2&Je){const ht=A.oxw();A.xp6(2),A.Q6J("ngForOf",ht.steps),A.xp6(2),A.Q6J("ngForOf",ht.steps)}}function i(Je,Lt){if(1&Je){const ht=A.EpF();A.TgZ(0,"div",13),A.GkF(1,7),A.TgZ(2,"div",14),A.TgZ(3,"div",15),A.NdJ("@verticalStepTransition.done",function(qe){return A.CHM(ht),A.oxw(2)._animationDone.next(qe)}),A.TgZ(4,"div",16),A.GkF(5,11),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&Je){const ht=Lt.$implicit,Rt=Lt.index,qe=Lt.last,Ye=A.oxw(2),oe=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",A.WLB(9,D,ht,Rt)),A.xp6(1),A.ekj("mat-stepper-vertical-line",!qe),A.xp6(1),A.Q6J("@verticalStepTransition",Ye._getAnimationDirection(Rt))("id",Ye._getStepContentId(Rt)),A.uIk("aria-labelledby",Ye._getStepLabelId(Rt))("aria-expanded",Ye.selectedIndex===Rt),A.xp6(2),A.Q6J("ngTemplateOutlet",ht.content)}}function r(Je,Lt){if(1&Je&&(A.ynx(0),A.YNc(1,i,6,12,"div",12),A.BQk()),2&Je){const ht=A.oxw();A.xp6(1),A.Q6J("ngForOf",ht.steps)}}function p(Je,Lt){if(1&Je){const ht=A.EpF();A.TgZ(0,"mat-step-header",17),A.NdJ("click",function(){return A.CHM(ht).step.select()})("keydown",function(qe){return A.CHM(ht),A.oxw()._onKeydown(qe)}),A.qZA()}if(2&Je){const ht=Lt.step,Rt=Lt.i,qe=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===qe.orientation)("mat-vertical-stepper-header","vertical"===qe.orientation),A.Q6J("tabIndex",qe._getFocusIndex()===Rt?0:-1)("id",qe._getStepLabelId(Rt))("index",Rt)("state",qe._getIndicatorType(Rt,ht.state))("label",ht.stepLabel||ht.label)("selected",qe.selectedIndex===Rt)("active",qe._stepIsNavigable(Rt,ht))("optional",ht.optional)("errorMessage",ht.errorMessage)("iconOverrides",qe._iconOverrides)("disableRipple",qe.disableRipple||!qe._stepIsNavigable(Rt,ht))("color",ht.color||qe.color),A.uIk("aria-posinset",Rt+1)("aria-setsize",qe.steps.length)("aria-controls",qe._getStepContentId(Rt))("aria-selected",qe.selectedIndex==Rt)("aria-label",ht.ariaLabel||null)("aria-labelledby",!ht.ariaLabel&&ht.ariaLabelledby?ht.ariaLabelledby:null)("aria-disabled",!qe._stepIsNavigable(Rt,ht)||null)}}let o=(()=>{class Je extends ue{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["","matStepLabel",""]],features:[A.qOj]}),Je})(),t=(()=>{class Je{constructor(){this.changes=new b.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return Je.\u0275fac=function(ht){return new(ht||Je)},Je.\u0275prov=A.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();const c={provide:t,deps:[[new A.FiY,new A.tp0,t]],useFactory:function n(Je){return Je||new t}},u=(0,ge.pj)(class extends ${constructor(Lt){super(Lt)}},"primary");let y=(()=>{class Je extends u{constructor(ht,Rt,qe,Ye){super(qe),this._intl=ht,this._focusMonitor=Rt,this._intlSubscription=ht.changes.subscribe(()=>Ye.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(ht,Rt){ht?this._focusMonitor.focusVia(this._elementRef,ht,Rt):this._elementRef.nativeElement.focus(Rt)}_stringLabel(){return this.label instanceof o?null:this.label}_templateLabel(){return this.label instanceof o?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(ht){return"number"==ht?`${this.index+1}`:"edit"==ht?"create":"error"==ht?"warning":ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(t),A.Y36(f.tE),A.Y36(A.SBq),A.Y36(A.sBO))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(ht,Rt){1&ht&&(A._UZ(0,"div",0),A.TgZ(1,"div"),A.TgZ(2,"div",1),A.YNc(3,Te,1,2,"ng-container",2),A.YNc(4,He,5,4,"ng-container",3),A.qZA(),A.qZA(),A.TgZ(5,"div",4),A.YNc(6,fe,2,1,"div",5),A.YNc(7,Ce,2,1,"div",5),A.YNc(8,Ve,2,1,"div",6),A.YNc(9,Xe,2,1,"div",7),A.qZA()),2&ht&&(A.Q6J("matRippleTrigger",Rt._getHostElement())("matRippleDisabled",Rt.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",Rt.state," mat-step-icon"),A.ekj("mat-step-icon-selected",Rt.selected),A.xp6(1),A.Q6J("ngSwitch",!(!Rt.iconOverrides||!Rt.iconOverrides[Rt.state])),A.xp6(1),A.Q6J("ngSwitchCase",!0),A.xp6(2),A.ekj("mat-step-label-active",Rt.active)("mat-step-label-selected",Rt.selected)("mat-step-label-error","error"==Rt.state),A.xp6(1),A.Q6J("ngIf",Rt._templateLabel()),A.xp6(1),A.Q6J("ngIf",Rt._stringLabel()),A.xp6(1),A.Q6J("ngIf",Rt.optional&&"error"!=Rt.state),A.xp6(1),A.Q6J("ngIf","error"==Rt.state))},directives:[Ne.Hw,ge.wG,m.RF,m.n9,m.tP,m.ED,m.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),Je})();const M={horizontalStepTransition:(0,me.X$)("horizontalStepTransition",[(0,me.SB)("previous",(0,me.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,me.SB)("current",(0,me.oB)({transform:"none",visibility:"inherit"})),(0,me.SB)("next",(0,me.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,me.eR)("* => *",(0,me.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,me.X$)("verticalStepTransition",[(0,me.SB)("previous",(0,me.oB)({height:"0px",visibility:"hidden"})),(0,me.SB)("next",(0,me.oB)({height:"0px",visibility:"hidden"})),(0,me.SB)("current",(0,me.oB)({height:"*",visibility:"inherit"})),(0,me.eR)("* <=> current",(0,me.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let re=(()=>{class Je{constructor(ht){this.templateRef=ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.Rgc))},Je.\u0275dir=A.lG2({type:Je,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),Je})(),et=(()=>{class Je{constructor(ht){this._template=ht}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(A.Rgc))},Je.\u0275dir=A.lG2({type:Je,selectors:[["ng-template","matStepContent",""]]}),Je})(),yt=(()=>{class Je extends ae{constructor(ht,Rt,qe,Ye){super(ht,Ye),this._errorStateMatcher=Rt,this._viewContainerRef=qe,this._isSelected=Fe.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,ne.w)(()=>this._stepper.selectionChange.pipe((0,Me.U)(ht=>ht.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(ht=>{ht&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(ht,Rt){return this._errorStateMatcher.isErrorState(ht,Rt)||!!(ht&&ht.invalid&&this.interacted)}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36((0,A.Gpc)(()=>Zt)),A.Y36(ge.rD,4),A.Y36(A.s_b),A.Y36(ke,8))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["mat-step"]],contentQueries:function(ht,Rt,qe){if(1&ht&&(A.Suo(qe,o,5),A.Suo(qe,et,5)),2&ht){let Ye;A.iGM(Ye=A.CRH())&&(Rt.stepLabel=Ye.first),A.iGM(Ye=A.CRH())&&(Rt._lazyContent=Ye.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:ge.rD,useExisting:Je},{provide:ae,useExisting:Je}]),A.qOj],ngContentSelectors:N,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ht,Rt){1&ht&&(A.F$t(),A.YNc(0,rt,2,1,"ng-template"))},directives:[e.Pl],encapsulation:2,changeDetection:0}),Je})(),pt=(()=>{class Je extends j{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,features:[A.qOj]}),Je})(),Nt=(()=>{class Je extends pt{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["mat-horizontal-stepper"]],features:[A.qOj]}),Je})(),It=(()=>{class Je extends pt{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["mat-vertical-stepper"]],features:[A.qOj]}),Je})(),Zt=(()=>{class Je extends j{constructor(ht,Rt,qe,Ye){super(ht,Rt,qe,Ye),this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new b.xQ;const oe=qe.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===oe?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:ht,templateRef:Rt})=>this._iconOverrides[ht]=Rt),this.steps.changes.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,ve.x)((ht,Rt)=>ht.fromState===Rt.fromState&&ht.toState===Rt.toState),(0,h.R)(this._destroyed)).subscribe(ht=>{"current"===ht.toState&&this.animationDone.emit()})}_stepIsNavigable(ht,Rt){return Rt.completed||this.selectedIndex===ht||!this.linear}}return Je.\u0275fac=function(ht){return new(ht||Je)(A.Y36(k.Is,8),A.Y36(A.sBO),A.Y36(A.SBq),A.Y36(m.K0))},Je.\u0275cmp=A.Xpm({type:Je,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ht,Rt,qe){if(1&ht&&(A.Suo(qe,yt,5),A.Suo(qe,re,5)),2&ht){let Ye;A.iGM(Ye=A.CRH())&&(Rt._steps=Ye),A.iGM(Ye=A.CRH())&&(Rt._icons=Ye)}},viewQuery:function(ht,Rt){if(1&ht&&A.Gf(y,5),2&ht){let qe;A.iGM(qe=A.CRH())&&(Rt._stepHeader=qe)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(ht,Rt){2&ht&&(A.uIk("aria-orientation",Rt.orientation),A.ekj("mat-stepper-horizontal","horizontal"===Rt.orientation)("mat-stepper-vertical","vertical"===Rt.orientation)("mat-stepper-label-position-end","horizontal"===Rt.orientation&&"end"==Rt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Rt.orientation&&"bottom"==Rt.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:j,useExisting:Je},{provide:Nt,useExisting:Je},{provide:It,useExisting:Je}]),A.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(ht,Rt){1&ht&&(A.ynx(0,0),A.YNc(1,P,5,2,"ng-container",1),A.YNc(2,r,2,1,"ng-container",1),A.BQk(),A.YNc(3,p,1,23,"ng-template",null,2,A.W1O)),2&ht&&(A.Q6J("ngSwitch",Rt.orientation),A.xp6(1),A.Q6J("ngSwitchCase","horizontal"),A.xp6(1),A.Q6J("ngSwitchCase","vertical"))},directives:[y,m.RF,m.n9,m.sg,m.tP,m.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[M.horizontalStepTransition,M.verticalStepTransition]},changeDetection:0}),Je})(),Ht=(()=>{class Je extends Q{}return Je.\u0275fac=function(){let Lt;return function(Rt){return(Lt||(Lt=A.n5z(Je)))(Rt||Je)}}(),Je.\u0275dir=A.lG2({type:Je,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ht,Rt){2&ht&&A.Ikx("type",Rt.type)},inputs:{type:"type"},features:[A.qOj]}),Je})(),_t=(()=>{class Je{}return Je.\u0275fac=function(ht){return new(ht||Je)},Je.\u0275mod=A.oAB({type:Je}),Je.\u0275inj=A.cJS({providers:[c,ge.rD],imports:[[ge.BQ,m.ez,e.eL,se.ot,te,Ne.Ps,ge.si],ge.BQ]}),Je})()},32075:(Ke,be,d)=>{"use strict";d.d(be,{ev:()=>Et,Dz:()=>_e,w1:()=>Ut,ge:()=>Vt,fO:()=>Ue,XQ:()=>li,as:()=>At,Gk:()=>Ci,nj:()=>Kt,BZ:()=>X,by:()=>Qi,p0:()=>$i});var e=d(5e3),f=d(63191),g=d(20449),T=d(69808),m=d(8929),A=d(5254),s=d(591),b=d(54715),O=d(21086),E=d(7625),h=d(72986),k=d(50226),L=d(70925),V=d(53435);const $=[[["caption"]],[["colgroup"],["col"]]],ue=["caption","colgroup, col"];function de(We){return class extends We{constructor(...Tt){super(...Tt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Tt){const Qe=this._sticky;this._sticky=(0,f.Ig)(Tt),this._hasStickyChanged=Qe!==this._sticky}hasStickyChanged(){const Tt=this._hasStickyChanged;return this._hasStickyChanged=!1,Tt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ke=new e.OlP("CDK_TABLE");let j=(()=>{class We{constructor(Qe){this.template=Qe}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkCellDef",""]]}),We})(),H=(()=>{class We{constructor(Qe){this.template=Qe}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkHeaderCellDef",""]]}),We})(),Q=(()=>{class We{constructor(Qe){this.template=Qe}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkFooterCellDef",""]]}),We})();class te{}const se=de(te);let ge=(()=>{class We extends se{constructor(Qe){super(),this._table=Qe,this._stickyEnd=!1}get name(){return this._name}set name(Qe){this._setNameInput(Qe)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Qe){const Ze=this._stickyEnd;this._stickyEnd=(0,f.Ig)(Qe),this._hasStickyChanged=Ze!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Qe){Qe&&(this._name=Qe,this.cssClassFriendlyName=Qe.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkColumnDef",""]],contentQueries:function(Qe,Ze,gt){if(1&Qe&&(e.Suo(gt,j,5),e.Suo(gt,H,5),e.Suo(gt,Q,5)),2&Qe){let F;e.iGM(F=e.CRH())&&(Ze.cell=F.first),e.iGM(F=e.CRH())&&(Ze.headerCell=F.first),e.iGM(F=e.CRH())&&(Ze.footerCell=F.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:We}]),e.qOj]}),We})();class Ne{constructor(Tt,Qe){Qe.nativeElement.classList.add(...Tt._columnCssClassName)}}let Fe=(()=>{class We extends Ne{constructor(Qe,Ze){super(Qe,Ze)}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(ge),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),We})(),Me=(()=>{class We extends Ne{constructor(Qe,Ze){var gt;if(super(Qe,Ze),1===(null===(gt=Qe._table)||void 0===gt?void 0:gt._elementRef.nativeElement.nodeType)){const F=Qe._table._elementRef.nativeElement.getAttribute("role");Ze.nativeElement.setAttribute("role","grid"===F||"treegrid"===F?"gridcell":"cell")}}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(ge),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),We})();class ve{constructor(){this.tasks=[],this.endTasks=[]}}const me=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Te=(()=>{class We{constructor(Qe){this._ngZone=Qe,this._currentSchedule=null,this._destroyed=new m.xQ}schedule(Qe){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Qe)}scheduleEnd(Qe){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Qe)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ve,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Qe=this._currentSchedule;this._currentSchedule=new ve;for(const Ze of Qe.tasks)Ze();for(const Ze of Qe.endTasks)Ze()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,A.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,h.q)(1))}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.LFG(e.R0b))},We.\u0275prov=e.Yz7({token:We,factory:We.\u0275fac}),We})(),R=(()=>{class We{constructor(Qe,Ze){this.template=Qe,this._differs=Ze}ngOnChanges(Qe){if(!this._columnsDiffer){const Ze=Qe.columns&&Qe.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ze).create(),this._columnsDiffer.diff(Ze)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Qe){return this instanceof He?Qe.headerCell.template:this instanceof Ve?Qe.footerCell.template:Qe.cell.template}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},We.\u0275dir=e.lG2({type:We,features:[e.TTD]}),We})();class Oe extends R{}const Ie=de(Oe);let He=(()=>{class We extends Ie{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),We})();class fe extends R{}const Ce=de(fe);let Ve=(()=>{class We extends Ce{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),We})(),Xe=(()=>{class We extends R{constructor(Qe,Ze,gt){super(Qe,Ze),this._table=gt}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ke,8))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),We})(),tt=(()=>{class We{constructor(Qe){this._viewContainer=Qe,We.mostRecentCellOutlet=this}ngOnDestroy(){We.mostRecentCellOutlet===this&&(We.mostRecentCellOutlet=null)}}return We.mostRecentCellOutlet=null,We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b))},We.\u0275dir=e.lG2({type:We,selectors:[["","cdkCellOutlet",""]]}),We})(),rt=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275cmp=e.Xpm({type:We,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),he=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275cmp=e.Xpm({type:We,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),D=(()=>{class We{constructor(Qe){this.templateRef=Qe,this._contentClassName="cdk-no-data-row"}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.Rgc))},We.\u0275dir=e.lG2({type:We,selectors:[["ng-template","cdkNoDataRow",""]]}),We})();const S=["top","bottom","left","right"];class I{constructor(Tt,Qe,Ze,gt,F=!0,Be=!0,ut){this._isNativeHtmlTable=Tt,this._stickCellCss=Qe,this.direction=Ze,this._coalescedStyleScheduler=gt,this._isBrowser=F,this._needsPositionStickyOnElement=Be,this._positionListener=ut,this._cachedCellWidths=[],this._borderCellCss={top:`${Qe}-border-elem-top`,bottom:`${Qe}-border-elem-bottom`,left:`${Qe}-border-elem-left`,right:`${Qe}-border-elem-right`}}clearStickyPositioning(Tt,Qe){const Ze=[];for(const gt of Tt)if(gt.nodeType===gt.ELEMENT_NODE){Ze.push(gt);for(let F=0;F{for(const gt of Ze)this._removeStickyStyle(gt,Qe)})}updateStickyColumns(Tt,Qe,Ze,gt=!0){if(!Tt.length||!this._isBrowser||!Qe.some(bi=>bi)&&!Ze.some(bi=>bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const F=Tt[0],Be=F.children.length,ut=this._getCellWidths(F,gt),Mt=this._getStickyStartColumnPositions(ut,Qe),ei=this._getStickyEndColumnPositions(ut,Ze),Qt=Qe.lastIndexOf(!0),Ri=Ze.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const bi="rtl"===this.direction,Li=bi?"right":"left",Ji=bi?"left":"right";for(const Ni of Tt)for(let Hi=0;HiQe[Hi]?Ni:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ri?[]:ut.slice(Ri).map((Ni,Hi)=>Ze[Hi+Ri]?Ni:null).reverse()}))})}stickRows(Tt,Qe,Ze){if(!this._isBrowser)return;const gt="bottom"===Ze?Tt.slice().reverse():Tt,F="bottom"===Ze?Qe.slice().reverse():Qe,Be=[],ut=[],Mt=[];for(let Qt=0,Ri=0;Qt{var Qt,Ri;for(let bi=0;bi{Qe.some(gt=>!gt)?this._removeStickyStyle(Ze,["bottom"]):this._addStickyStyle(Ze,"bottom",0,!1)})}_removeStickyStyle(Tt,Qe){for(const gt of Qe)Tt.style[gt]="",Tt.classList.remove(this._borderCellCss[gt]);S.some(gt=>-1===Qe.indexOf(gt)&&Tt.style[gt])?Tt.style.zIndex=this._getCalculatedZIndex(Tt):(Tt.style.zIndex="",this._needsPositionStickyOnElement&&(Tt.style.position=""),Tt.classList.remove(this._stickCellCss))}_addStickyStyle(Tt,Qe,Ze,gt){Tt.classList.add(this._stickCellCss),gt&&Tt.classList.add(this._borderCellCss[Qe]),Tt.style[Qe]=`${Ze}px`,Tt.style.zIndex=this._getCalculatedZIndex(Tt),this._needsPositionStickyOnElement&&(Tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Tt){const Qe={top:100,bottom:10,left:1,right:1};let Ze=0;for(const gt of S)Tt.style[gt]&&(Ze+=Qe[gt]);return Ze?`${Ze}`:""}_getCellWidths(Tt,Qe=!0){if(!Qe&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ze=[],gt=Tt.children;for(let F=0;F0;F--)Qe[F]&&(Ze[F]=gt,gt+=Tt[F]);return Ze}}const u=new e.OlP("CDK_SPL");let M=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","rowOutlet",""]]}),We})(),re=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","headerRowOutlet",""]]}),We})(),et=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","footerRowOutlet",""]]}),We})(),yt=(()=>{class We{constructor(Qe,Ze){this.viewContainer=Qe,this.elementRef=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.s_b),e.Y36(e.SBq))},We.\u0275dir=e.lG2({type:We,selectors:[["","noDataRowOutlet",""]]}),We})(),It=(()=>{class We{constructor(Qe,Ze,gt,F,Be,ut,Mt,ei,Qt,Ri,bi,Li){this._differs=Qe,this._changeDetectorRef=Ze,this._elementRef=gt,this._dir=Be,this._platform=Mt,this._viewRepeater=ei,this._coalescedStyleScheduler=Qt,this._viewportRuler=Ri,this._stickyPositioningListener=bi,this._ngZone=Li,this._onDestroy=new m.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new s.X({start:0,end:Number.MAX_VALUE}),F||this._elementRef.nativeElement.setAttribute("role","table"),this._document=ut,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(Qe){this._trackByFn=Qe}get dataSource(){return this._dataSource}set dataSource(Qe){this._dataSource!==Qe&&this._switchDataSource(Qe)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Qe){this._multiTemplateDataRows=(0,f.Ig)(Qe),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Qe){this._fixedLayout=(0,f.Ig)(Qe),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Qe,Ze)=>this.trackBy?this.trackBy(Ze.dataIndex,Ze.data):Ze),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ze=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ze,this._forceRecalculateCellWidths=Ze,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Qe=>{Qe.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Qe=this._dataDiffer.diff(this._renderRows);if(!Qe)return this._updateNoDataRow(),void this.contentChanged.next();const Ze=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Qe,Ze,(gt,F,Be)=>this._getEmbeddedViewArgs(gt.item,Be),gt=>gt.item.data,gt=>{1===gt.operation&>.context&&this._renderCellTemplateForItem(gt.record.item.rowDef,gt.context)}),this._updateRowIndexContext(),Qe.forEachIdentityChange(gt=>{Ze.get(gt.currentIndex).context.$implicit=gt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,h.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Qe){this._customColumnDefs.add(Qe)}removeColumnDef(Qe){this._customColumnDefs.delete(Qe)}addRowDef(Qe){this._customRowDefs.add(Qe)}removeRowDef(Qe){this._customRowDefs.delete(Qe)}addHeaderRowDef(Qe){this._customHeaderRowDefs.add(Qe),this._headerRowDefChanged=!0}removeHeaderRowDef(Qe){this._customHeaderRowDefs.delete(Qe),this._headerRowDefChanged=!0}addFooterRowDef(Qe){this._customFooterRowDefs.add(Qe),this._footerRowDefChanged=!0}removeFooterRowDef(Qe){this._customFooterRowDefs.delete(Qe),this._footerRowDefChanged=!0}setNoDataRow(Qe){this._customNoDataRow=Qe}updateStickyHeaderRowStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),gt=this._elementRef.nativeElement.querySelector("thead");gt&&(gt.style.display=Qe.length?"":"none");const F=this._headerRowDefs.map(Be=>Be.sticky);this._stickyStyler.clearStickyPositioning(Qe,["top"]),this._stickyStyler.stickRows(Qe,F,"top"),this._headerRowDefs.forEach(Be=>Be.resetStickyChanged())}updateStickyFooterRowStyles(){const Qe=this._getRenderedRows(this._footerRowOutlet),gt=this._elementRef.nativeElement.querySelector("tfoot");gt&&(gt.style.display=Qe.length?"":"none");const F=this._footerRowDefs.map(Be=>Be.sticky);this._stickyStyler.clearStickyPositioning(Qe,["bottom"]),this._stickyStyler.stickRows(Qe,F,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,F),this._footerRowDefs.forEach(Be=>Be.resetStickyChanged())}updateStickyColumnStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),Ze=this._getRenderedRows(this._rowOutlet),gt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Qe,...Ze,...gt],["left","right"]),this._stickyColumnStylesNeedReset=!1),Qe.forEach((F,Be)=>{this._addStickyColumnStyles([F],this._headerRowDefs[Be])}),this._rowDefs.forEach(F=>{const Be=[];for(let ut=0;ut{this._addStickyColumnStyles([F],this._footerRowDefs[Be])}),Array.from(this._columnDefsByName.values()).forEach(F=>F.resetStickyChanged())}_getAllRenderRows(){const Qe=[],Ze=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let gt=0;gt{const ut=gt&>.has(Be)?gt.get(Be):[];if(ut.length){const Mt=ut.shift();return Mt.dataIndex=Ze,Mt}return{data:Qe,rowDef:Be,dataIndex:Ze}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Zt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ze=>{this._columnDefsByName.has(Ze.name),this._columnDefsByName.set(Ze.name,Ze)})}_cacheRowDefs(){this._headerRowDefs=Zt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Zt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Zt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Qe=this._rowDefs.filter(Ze=>!Ze.when);this._defaultRowDef=Qe[0]}_renderUpdatedColumns(){const Qe=(Be,ut)=>Be||!!ut.getColumnsDiff(),Ze=this._rowDefs.reduce(Qe,!1);Ze&&this._forceRenderDataRows();const gt=this._headerRowDefs.reduce(Qe,!1);gt&&this._forceRenderHeaderRows();const F=this._footerRowDefs.reduce(Qe,!1);return F&&this._forceRenderFooterRows(),Ze||gt||F}_switchDataSource(Qe){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Qe||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Qe}_observeRenderChanges(){if(!this.dataSource)return;let Qe;(0,g.Z9)(this.dataSource)?Qe=this.dataSource.connect(this):(0,b.b)(this.dataSource)?Qe=this.dataSource:Array.isArray(this.dataSource)&&(Qe=(0,O.of)(this.dataSource)),this._renderChangeSubscription=Qe.pipe((0,E.R)(this._onDestroy)).subscribe(Ze=>{this._data=Ze||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Qe,Ze)=>this._renderRow(this._headerRowOutlet,Qe,Ze)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Qe,Ze)=>this._renderRow(this._footerRowOutlet,Qe,Ze)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Qe,Ze){const gt=Array.from(Ze.columns||[]).map(ut=>this._columnDefsByName.get(ut)),F=gt.map(ut=>ut.sticky),Be=gt.map(ut=>ut.stickyEnd);this._stickyStyler.updateStickyColumns(Qe,F,Be,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Qe){const Ze=[];for(let gt=0;gt!F.when||F.when(Ze,Qe));else{let F=this._rowDefs.find(Be=>Be.when&&Be.when(Ze,Qe))||this._defaultRowDef;F&>.push(F)}return gt}_getEmbeddedViewArgs(Qe,Ze){return{templateRef:Qe.rowDef.template,context:{$implicit:Qe.data},index:Ze}}_renderRow(Qe,Ze,gt,F={}){const Be=Qe.viewContainer.createEmbeddedView(Ze.template,F,gt);return this._renderCellTemplateForItem(Ze,F),Be}_renderCellTemplateForItem(Qe,Ze){for(let gt of this._getCellTemplates(Qe))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(gt,Ze);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Qe=this._rowOutlet.viewContainer;for(let Ze=0,gt=Qe.length;Ze{const gt=this._columnDefsByName.get(Ze);return Qe.extractCellTemplate(gt)}):[]}_applyNativeTableSections(){const Qe=this._document.createDocumentFragment(),Ze=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const gt of Ze){const F=this._document.createElement(gt.tag);F.setAttribute("role","rowgroup");for(const Be of gt.outlets)F.appendChild(Be.elementRef.nativeElement);Qe.appendChild(F)}this._elementRef.nativeElement.appendChild(Qe)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Qe=(Ze,gt)=>Ze||gt.hasStickyChanged();this._headerRowDefs.reduce(Qe,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Qe,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Qe,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new I(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Ze=>{this._stickyStyler.direction=Ze,this.updateStickyColumnStyles()})}_getOwnDefs(Qe){return Qe.filter(Ze=>!Ze._table||Ze._table===this)}_updateNoDataRow(){const Qe=this._customNoDataRow||this._noDataRow;if(!Qe)return;const Ze=0===this._rowOutlet.viewContainer.length;if(Ze===this._isShowingNoDataRow)return;const gt=this._noDataRowOutlet.viewContainer;if(Ze){const F=gt.createEmbeddedView(Qe.templateRef),Be=F.rootNodes[0];1===F.rootNodes.length&&(null==Be?void 0:Be.nodeType)===this._document.ELEMENT_NODE&&(Be.setAttribute("role","row"),Be.classList.add(Qe._contentClassName))}else gt.clear();this._isShowingNoDataRow=Ze}}return We.\u0275fac=function(Qe){return new(Qe||We)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(k.Is,8),e.Y36(T.K0),e.Y36(L.t4),e.Y36(g.k),e.Y36(me),e.Y36(V.rL),e.Y36(u,12),e.Y36(e.R0b,8))},We.\u0275cmp=e.Xpm({type:We,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Qe,Ze,gt){if(1&Qe&&(e.Suo(gt,D,5),e.Suo(gt,ge,5),e.Suo(gt,Xe,5),e.Suo(gt,He,5),e.Suo(gt,Ve,5)),2&Qe){let F;e.iGM(F=e.CRH())&&(Ze._noDataRow=F.first),e.iGM(F=e.CRH())&&(Ze._contentColumnDefs=F),e.iGM(F=e.CRH())&&(Ze._contentRowDefs=F),e.iGM(F=e.CRH())&&(Ze._contentHeaderRowDefs=F),e.iGM(F=e.CRH())&&(Ze._contentFooterRowDefs=F)}},viewQuery:function(Qe,Ze){if(1&Qe&&(e.Gf(M,7),e.Gf(re,7),e.Gf(et,7),e.Gf(yt,7)),2&Qe){let gt;e.iGM(gt=e.CRH())&&(Ze._rowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._headerRowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._footerRowOutlet=gt.first),e.iGM(gt=e.CRH())&&(Ze._noDataRowOutlet=gt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Qe,Ze){2&Qe&&e.ekj("cdk-table-fixed-layout",Ze.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ke,useExisting:We},{provide:g.k,useClass:g.yy},{provide:me,useClass:Te},{provide:u,useValue:null}])],ngContentSelectors:ue,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Ze){1&Qe&&(e.F$t($),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[re,M,yt,et],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),We})();function Zt(We,Tt){return We.concat(Array.from(Tt))}let _t=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[V.Cl]]}),We})();var Je=d(90508),Lt=d(36787),ht=d(36053),Rt=d(24850);const qe=[[["caption"]],[["colgroup"],["col"]]],Ye=["caption","colgroup, col"];let X=(()=>{class We extends It{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(Qe,Ze){2&Qe&&e.ekj("mat-table-fixed-layout",Ze.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:g.k,useClass:g.yy},{provide:It,useExisting:We},{provide:ke,useExisting:We},{provide:me,useClass:Te},{provide:u,useValue:null}]),e.qOj],ngContentSelectors:Ye,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Ze){1&Qe&&(e.F$t(qe),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[re,M,yt,et],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),We})(),_e=(()=>{class We extends j{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:j,useExisting:We}]),e.qOj]}),We})(),Ue=(()=>{class We extends H{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:H,useExisting:We}]),e.qOj]}),We})(),Ut=(()=>{class We extends ge{get name(){return this._name}set name(Qe){this._setNameInput(Qe)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:ge,useExisting:We},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:We}]),e.qOj]}),We})(),Vt=(()=>{class We extends Fe{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),We})(),Et=(()=>{class We extends Me{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),We})(),At=(()=>{class We extends He{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:He,useExisting:We}]),e.qOj]}),We})(),Kt=(()=>{class We extends Xe{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Xe,useExisting:We}]),e.qOj]}),We})(),li=(()=>{class We extends rt{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:rt,useExisting:We}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),Ci=(()=>{class We extends he{}return We.\u0275fac=function(){let Tt;return function(Ze){return(Tt||(Tt=e.n5z(We)))(Ze||We)}}(),We.\u0275cmp=e.Xpm({type:We,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:he,useExisting:We}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Ze){1&Qe&&e.GkF(0,0)},directives:[tt],encapsulation:2}),We})(),$i=(()=>{class We{}return We.\u0275fac=function(Qe){return new(Qe||We)},We.\u0275mod=e.oAB({type:We}),We.\u0275inj=e.cJS({imports:[[_t,Je.BQ],Je.BQ]}),We})();class bn extends g.o2{constructor(Tt=[]){super(),this._renderData=new s.X([]),this._filter=new s.X(""),this._internalPageChanges=new m.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(Qe,Ze)=>{const gt=Qe[Ze];if((0,f.t6)(gt)){const F=Number(gt);return F<9007199254740991?F:gt}return gt},this.sortData=(Qe,Ze)=>{const gt=Ze.active,F=Ze.direction;return gt&&""!=F?Qe.sort((Be,ut)=>{let Mt=this.sortingDataAccessor(Be,gt),ei=this.sortingDataAccessor(ut,gt);const Qt=typeof Mt,Ri=typeof ei;Qt!==Ri&&("number"===Qt&&(Mt+=""),"number"===Ri&&(ei+=""));let bi=0;return null!=Mt&&null!=ei?Mt>ei?bi=1:Mt{const gt=Object.keys(Qe).reduce((Be,ut)=>Be+Qe[ut]+"\u25ec","").toLowerCase(),F=Ze.trim().toLowerCase();return-1!=gt.indexOf(F)},this._data=new s.X(Tt),this._updateChangeSubscription()}get data(){return this._data.value}set data(Tt){Tt=Array.isArray(Tt)?Tt:[],this._data.next(Tt),this._renderChangesSubscription||this._filterData(Tt)}get filter(){return this._filter.value}set filter(Tt){this._filter.next(Tt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Tt){this._sort=Tt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Tt){this._paginator=Tt,this._updateChangeSubscription()}_updateChangeSubscription(){var Tt;const Qe=this._sort?(0,Lt.T)(this._sort.sortChange,this._sort.initialized):(0,O.of)(null),Ze=this._paginator?(0,Lt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,O.of)(null),F=(0,ht.aj)([this._data,this._filter]).pipe((0,Rt.U)(([Mt])=>this._filterData(Mt))),Be=(0,ht.aj)([F,Qe]).pipe((0,Rt.U)(([Mt])=>this._orderData(Mt))),ut=(0,ht.aj)([Be,Ze]).pipe((0,Rt.U)(([Mt])=>this._pageData(Mt)));null===(Tt=this._renderChangesSubscription)||void 0===Tt||Tt.unsubscribe(),this._renderChangesSubscription=ut.subscribe(Mt=>this._renderData.next(Mt))}_filterData(Tt){return this.filteredData=null==this.filter||""===this.filter?Tt:Tt.filter(Qe=>this.filterPredicate(Qe,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Tt){return this.sort?this.sortData(Tt.slice(),this.sort):Tt}_pageData(Tt){if(!this.paginator)return Tt;const Qe=this.paginator.pageIndex*this.paginator.pageSize;return Tt.slice(Qe,Qe+this.paginator.pageSize)}_updatePaginator(Tt){Promise.resolve().then(()=>{const Qe=this.paginator;if(Qe&&(Qe.length=Tt,Qe.pageIndex>0)){const Ze=Math.ceil(Qe.length/Qe.pageSize)-1||0,gt=Math.min(Qe.pageIndex,Ze);gt!==Qe.pageIndex&&(Qe.pageIndex=gt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Tt;null===(Tt=this._renderChangesSubscription)||void 0===Tt||Tt.unsubscribe(),this._renderChangesSubscription=null}}class Qi extends bn{}},53251:(Ke,be,d)=>{"use strict";d.d(be,{uX:()=>P,Vc:()=>rt,SP:()=>Ht,uD:()=>D,Nh:()=>oe});var e=d(15664),f=d(17144),g=d(47429),T=d(69808),m=d(5e3),A=d(90508),s=d(76360),b=d(8929),O=d(42654),E=d(23753),h=d(21086),k=d(36787),L=d(98723),V=d(41777),$=d(1059),ue=d(75778),ce=d(7625),Le=d(50226),de=d(63191),ke=d(91159),ae=d(70925),j=d(53435);function H(Z,G){1&Z&&m.Hsn(0)}const Q=["*"];function te(Z,G){}const se=function(Z){return{animationDuration:Z}},ge=function(Z,G){return{value:Z,params:G}},Ne=["tabListContainer"],Fe=["tabList"],ne=["tabListInner"],Me=["nextPaginator"],ve=["previousPaginator"],me=["tabBodyWrapper"],Te=["tabHeader"];function ee(Z,G){}function R(Z,G){if(1&Z&&m.YNc(0,ee,0,0,"ng-template",10),2&Z){const X=m.oxw().$implicit;m.Q6J("cdkPortalOutlet",X.templateLabel)}}function Oe(Z,G){if(1&Z&&m._uU(0),2&Z){const X=m.oxw().$implicit;m.Oqu(X.textLabel)}}function Ie(Z,G){if(1&Z){const X=m.EpF();m.TgZ(0,"div",6),m.NdJ("click",function(){const Ue=m.CHM(X),wt=Ue.$implicit,Ut=Ue.index,Vt=m.oxw(),Dt=m.MAs(1);return Vt._handleClick(wt,Dt,Ut)})("cdkFocusChange",function(Ue){const Ut=m.CHM(X).index;return m.oxw()._tabFocusChanged(Ue,Ut)}),m.TgZ(1,"div",7),m.YNc(2,R,1,1,"ng-template",8),m.YNc(3,Oe,1,1,"ng-template",null,9,m.W1O),m.qZA(),m.qZA()}if(2&Z){const X=G.$implicit,_e=G.index,Ue=m.MAs(4),wt=m.oxw();m.ekj("mat-tab-label-active",wt.selectedIndex===_e),m.Q6J("id",wt._getTabLabelId(_e))("ngClass",X.labelClass)("disabled",X.disabled)("matRippleDisabled",X.disabled||wt.disableRipple),m.uIk("tabIndex",wt._getTabIndex(X,_e))("aria-posinset",_e+1)("aria-setsize",wt._tabs.length)("aria-controls",wt._getTabContentId(_e))("aria-selected",wt.selectedIndex===_e)("aria-label",X.ariaLabel||null)("aria-labelledby",!X.ariaLabel&&X.ariaLabelledby?X.ariaLabelledby:null),m.xp6(2),m.Q6J("ngIf",X.templateLabel)("ngIfElse",Ue)}}function He(Z,G){if(1&Z){const X=m.EpF();m.TgZ(0,"mat-tab-body",11),m.NdJ("_onCentered",function(){return m.CHM(X),m.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Ue){return m.CHM(X),m.oxw()._setTabBodyWrapperHeight(Ue)}),m.qZA()}if(2&Z){const X=G.$implicit,_e=G.index,Ue=m.oxw();m.ekj("mat-tab-body-active",Ue.selectedIndex===_e),m.Q6J("id",Ue._getTabContentId(_e))("ngClass",X.bodyClass)("content",X.content)("position",X.position)("origin",X.origin)("animationDuration",Ue.animationDuration),m.uIk("tabindex",null!=Ue.contentTabIndex&&Ue.selectedIndex===_e?Ue.contentTabIndex:null)("aria-labelledby",Ue._getTabLabelId(_e))}}const Ce=new m.OlP("MatInkBarPositioner",{providedIn:"root",factory:function Ve(){return G=>({left:G?(G.offsetLeft||0)+"px":"0",width:G?(G.offsetWidth||0)+"px":"0"})}});let Xe=(()=>{class Z{constructor(X,_e,Ue,wt){this._elementRef=X,this._ngZone=_e,this._inkBarPositioner=Ue,this._animationMode=wt}alignToElement(X){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(X))}):this._setStyles(X)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(X){const _e=this._inkBarPositioner(X),Ue=this._elementRef.nativeElement;Ue.style.left=_e.left,Ue.style.width=_e.width}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(Ce),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(X,_e){2&X&&m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode)}}),Z})();const tt=new m.OlP("MatTabContent");let rt=(()=>{class Z{constructor(X){this.template=X}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.Rgc))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabContent",""]],features:[m._Bn([{provide:tt,useExisting:Z}])]}),Z})();const N=new m.OlP("MatTabLabel"),he=new m.OlP("MAT_TAB");let D=(()=>{class Z extends g.ig{constructor(X,_e,Ue){super(X,_e),this._closestTab=Ue}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.Rgc),m.Y36(m.s_b),m.Y36(he,8))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[m._Bn([{provide:N,useExisting:Z}]),m.qOj]}),Z})();const S=(0,A.Id)(class{}),I=new m.OlP("MAT_TAB_GROUP");let P=(()=>{class Z extends S{constructor(X,_e){super(),this._viewContainerRef=X,this._closestTabGroup=_e,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(X){this._setTemplateLabelInput(X)}get content(){return this._contentPortal}ngOnChanges(X){(X.hasOwnProperty("textLabel")||X.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(X){X&&X._closestTab===this&&(this._templateLabel=X)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.s_b),m.Y36(I,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab"]],contentQueries:function(X,_e,Ue){if(1&X&&(m.Suo(Ue,N,5),m.Suo(Ue,tt,7,m.Rgc)),2&X){let wt;m.iGM(wt=m.CRH())&&(_e.templateLabel=wt.first),m.iGM(wt=m.CRH())&&(_e._explicitContent=wt.first)}},viewQuery:function(X,_e){if(1&X&&m.Gf(m.Rgc,7),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._implicitContent=Ue.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[m._Bn([{provide:he,useExisting:Z}]),m.qOj,m.TTD],ngContentSelectors:Q,decls:1,vars:0,template:function(X,_e){1&X&&(m.F$t(),m.YNc(0,H,1,0,"ng-template"))},encapsulation:2}),Z})();const i={translateTab:(0,V.X$)("translateTab",[(0,V.SB)("center, void, left-origin-center, right-origin-center",(0,V.oB)({transform:"none"})),(0,V.SB)("left",(0,V.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,V.SB)("right",(0,V.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,V.eR)("* => left, * => right, left => center, right => center",(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,V.eR)("void => left-origin-center",[(0,V.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,V.eR)("void => right-origin-center",[(0,V.oB)({transform:"translate3d(100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let r=(()=>{class Z extends g.Pl{constructor(X,_e,Ue,wt){super(X,_e,wt),this._host=Ue,this._centeringSub=O.w.EMPTY,this._leavingSub=O.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,$.O)(this._host._isCenterPosition(this._host._position))).subscribe(X=>{X&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m._Vd),m.Y36(m.s_b),m.Y36((0,m.Gpc)(()=>o)),m.Y36(T.K0))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabBodyHost",""]],features:[m.qOj]}),Z})(),p=(()=>{class Z{constructor(X,_e,Ue){this._elementRef=X,this._dir=_e,this._dirChangeSubscription=O.w.EMPTY,this._translateTabComplete=new b.xQ,this._onCentering=new m.vpe,this._beforeCentering=new m.vpe,this._afterLeavingCenter=new m.vpe,this._onCentered=new m.vpe(!0),this.animationDuration="500ms",_e&&(this._dirChangeSubscription=_e.change.subscribe(wt=>{this._computePositionAnimationState(wt),Ue.markForCheck()})),this._translateTabComplete.pipe((0,ue.x)((wt,Ut)=>wt.fromState===Ut.fromState&&wt.toState===Ut.toState)).subscribe(wt=>{this._isCenterPosition(wt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(wt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(X){this._positionIndex=X,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(X){const _e=this._isCenterPosition(X.toState);this._beforeCentering.emit(_e),_e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(X){return"center"==X||"left-origin-center"==X||"right-origin-center"==X}_computePositionAnimationState(X=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==X?"left":"right":this._positionIndex>0?"ltr"==X?"right":"left":"center"}_computePositionFromOrigin(X){const _e=this._getLayoutDirection();return"ltr"==_e&&X<=0||"rtl"==_e&&X>0?"left-origin-center":"right-origin-center"}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(Le.Is,8),m.Y36(m.sBO))},Z.\u0275dir=m.lG2({type:Z,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Z})(),o=(()=>{class Z extends p{constructor(X,_e,Ue){super(X,_e,Ue)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(Le.Is,8),m.Y36(m.sBO))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-body"]],viewQuery:function(X,_e){if(1&X&&m.Gf(g.Pl,5),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._portalHost=Ue.first)}},hostAttrs:[1,"mat-tab-body"],features:[m.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(X,_e){1&X&&(m.TgZ(0,"div",0,1),m.NdJ("@translateTab.start",function(wt){return _e._onTranslateTabStarted(wt)})("@translateTab.done",function(wt){return _e._translateTabComplete.next(wt)}),m.YNc(2,te,0,0,"ng-template",2),m.qZA()),2&X&&m.Q6J("@translateTab",m.WLB(3,ge,_e._position,m.VKq(1,se,_e.animationDuration)))},directives:[r],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[i.translateTab]}}),Z})();const t=new m.OlP("MAT_TABS_CONFIG"),n=(0,A.Id)(class{});let c=(()=>{class Z extends n{constructor(X){super(),this.elementRef=X}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq))},Z.\u0275dir=m.lG2({type:Z,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(X,_e){2&X&&(m.uIk("aria-disabled",!!_e.disabled),m.ekj("mat-tab-disabled",_e.disabled))},inputs:{disabled:"disabled"},features:[m.qOj]}),Z})();const u=(0,ae.i$)({passive:!0});let et=(()=>{class Z{constructor(X,_e,Ue,wt,Ut,Vt,Dt){this._elementRef=X,this._changeDetectorRef=_e,this._viewportRuler=Ue,this._dir=wt,this._ngZone=Ut,this._platform=Vt,this._animationMode=Dt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new m.vpe,this.indexFocused=new m.vpe,Ut.runOutsideAngular(()=>{(0,E.R)(X.nativeElement,"mouseleave").pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(X){X=(0,de.su)(X),this._selectedIndex!=X&&(this._selectedIndexChanged=!0,this._selectedIndex=X,this._keyManager&&this._keyManager.updateActiveItem(X))}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",u).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",u).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const X=this._dir?this._dir.change:(0,h.of)("ltr"),_e=this._viewportRuler.change(150),Ue=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue(),(0,k.T)(X,_e,this._items.changes).pipe((0,ce.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(Ue)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,ce.R)(this._destroyed)).subscribe(wt=>{this.indexFocused.emit(wt),this._setTabFocus(wt)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(X){if(!(0,ke.Vb)(X))switch(X.keyCode){case ke.K5:case ke.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(X));break;default:this._keyManager.onKeydown(X)}}_onContentChanges(){const X=this._elementRef.nativeElement.textContent;X!==this._currentTextContent&&(this._currentTextContent=X||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(X){!this._isValidIndex(X)||this.focusIndex===X||!this._keyManager||this._keyManager.setActiveItem(X)}_isValidIndex(X){if(!this._items)return!0;const _e=this._items?this._items.toArray()[X]:null;return!!_e&&!_e.disabled}_setTabFocus(X){if(this._showPaginationControls&&this._scrollToLabel(X),this._items&&this._items.length){this._items.toArray()[X].focus();const _e=this._tabListContainer.nativeElement;_e.scrollLeft="ltr"==this._getLayoutDirection()?0:_e.scrollWidth-_e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const X=this.scrollDistance,_e="ltr"===this._getLayoutDirection()?-X:X;this._tabList.nativeElement.style.transform=`translateX(${Math.round(_e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(X){this._scrollTo(X)}_scrollHeader(X){return this._scrollTo(this._scrollDistance+("before"==X?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(X){this._stopInterval(),this._scrollHeader(X)}_scrollToLabel(X){if(this.disablePagination)return;const _e=this._items?this._items.toArray()[X]:null;if(!_e)return;const Ue=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:wt,offsetWidth:Ut}=_e.elementRef.nativeElement;let Vt,Dt;"ltr"==this._getLayoutDirection()?(Vt=wt,Dt=Vt+Ut):(Dt=this._tabListInner.nativeElement.offsetWidth-wt,Vt=Dt-Ut);const Et=this.scrollDistance,At=this.scrollDistance+Ue;VtAt&&(this.scrollDistance+=Dt-At+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const X=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;X||(this.scrollDistance=0),X!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=X}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const X=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,_e=X?X.elementRef.nativeElement:null;_e?this._inkBar.alignToElement(_e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(X,_e){_e&&null!=_e.button&&0!==_e.button||(this._stopInterval(),(0,L.H)(650,100).pipe((0,ce.R)((0,k.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ue,distance:wt}=this._scrollHeader(X);(0===wt||wt>=Ue)&&this._stopInterval()}))}_scrollTo(X){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const _e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(_e,X)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:_e,distance:this._scrollDistance}}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(j.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{disablePagination:"disablePagination"}}),Z})(),yt=(()=>{class Z extends et{constructor(X,_e,Ue,wt,Ut,Vt,Dt){super(X,_e,Ue,wt,Ut,Vt,Dt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(X){this._disableRipple=(0,de.Ig)(X)}_itemSelected(X){X.preventDefault()}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(j.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{disableRipple:"disableRipple"},features:[m.qOj]}),Z})(),pt=(()=>{class Z extends yt{constructor(X,_e,Ue,wt,Ut,Vt,Dt){super(X,_e,Ue,wt,Ut,Vt,Dt)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(j.rL),m.Y36(Le.Is,8),m.Y36(m.R0b),m.Y36(ae.t4),m.Y36(s.Qb,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-header"]],contentQueries:function(X,_e,Ue){if(1&X&&m.Suo(Ue,c,4),2&X){let wt;m.iGM(wt=m.CRH())&&(_e._items=wt)}},viewQuery:function(X,_e){if(1&X&&(m.Gf(Xe,7),m.Gf(Ne,7),m.Gf(Fe,7),m.Gf(ne,7),m.Gf(Me,5),m.Gf(ve,5)),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._inkBar=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabListContainer=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabList=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabListInner=Ue.first),m.iGM(Ue=m.CRH())&&(_e._nextPaginator=Ue.first),m.iGM(Ue=m.CRH())&&(_e._previousPaginator=Ue.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(X,_e){2&X&&m.ekj("mat-tab-header-pagination-controls-enabled",_e._showPaginationControls)("mat-tab-header-rtl","rtl"==_e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[m.qOj],ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(X,_e){1&X&&(m.F$t(),m.TgZ(0,"div",0,1),m.NdJ("click",function(){return _e._handlePaginatorClick("before")})("mousedown",function(wt){return _e._handlePaginatorPress("before",wt)})("touchend",function(){return _e._stopInterval()}),m._UZ(2,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.NdJ("keydown",function(wt){return _e._handleKeydown(wt)}),m.TgZ(5,"div",5,6),m.NdJ("cdkObserveContent",function(){return _e._onContentChanges()}),m.TgZ(7,"div",7,8),m.Hsn(9),m.qZA(),m._UZ(10,"mat-ink-bar"),m.qZA(),m.qZA(),m.TgZ(11,"div",9,10),m.NdJ("mousedown",function(wt){return _e._handlePaginatorPress("after",wt)})("click",function(){return _e._handlePaginatorClick("after")})("touchend",function(){return _e._stopInterval()}),m._UZ(13,"div",2),m.qZA()),2&X&&(m.ekj("mat-tab-header-pagination-disabled",_e._disableScrollBefore),m.Q6J("matRippleDisabled",_e._disableScrollBefore||_e.disableRipple),m.xp6(5),m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode),m.xp6(6),m.ekj("mat-tab-header-pagination-disabled",_e._disableScrollAfter),m.Q6J("matRippleDisabled",_e._disableScrollAfter||_e.disableRipple))},directives:[A.wG,f.wD,Xe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),Z})(),Nt=0;class It{}const Zt=(0,A.pj)((0,A.Kr)(class{constructor(Z){this._elementRef=Z}}),"primary");let mt=(()=>{class Z extends Zt{constructor(X,_e,Ue,wt){var Ut;super(X),this._changeDetectorRef=_e,this._animationMode=wt,this._tabs=new m.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w.EMPTY,this._tabLabelSubscription=O.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new m.vpe,this.focusChange=new m.vpe,this.animationDone=new m.vpe,this.selectedTabChange=new m.vpe(!0),this._groupId=Nt++,this.animationDuration=Ue&&Ue.animationDuration?Ue.animationDuration:"500ms",this.disablePagination=!(!Ue||null==Ue.disablePagination)&&Ue.disablePagination,this.dynamicHeight=!(!Ue||null==Ue.dynamicHeight)&&Ue.dynamicHeight,this.contentTabIndex=null!==(Ut=null==Ue?void 0:Ue.contentTabIndex)&&void 0!==Ut?Ut:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(X){this._dynamicHeight=(0,de.Ig)(X)}get selectedIndex(){return this._selectedIndex}set selectedIndex(X){this._indexToSelect=(0,de.su)(X,null)}get animationDuration(){return this._animationDuration}set animationDuration(X){this._animationDuration=/^\d+$/.test(X+"")?X+"ms":X}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(X){this._contentTabIndex=(0,de.su)(X,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(X){const _e=this._elementRef.nativeElement;_e.classList.remove(`mat-background-${this.backgroundColor}`),X&&_e.classList.add(`mat-background-${X}`),this._backgroundColor=X}ngAfterContentChecked(){const X=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=X){const _e=null==this._selectedIndex;if(!_e){this.selectedTabChange.emit(this._createChangeEvent(X));const Ue=this._tabBodyWrapper.nativeElement;Ue.style.minHeight=Ue.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ue,wt)=>Ue.isActive=wt===X),_e||(this.selectedIndexChange.emit(X),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((_e,Ue)=>{_e.position=Ue-X,null!=this._selectedIndex&&0==_e.position&&!_e.origin&&(_e.origin=X-this._selectedIndex)}),this._selectedIndex!==X&&(this._selectedIndex=X,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const _e=this._tabs.toArray();for(let Ue=0;Ue<_e.length;Ue++)if(_e[Ue].isActive){this._indexToSelect=this._selectedIndex=Ue;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,$.O)(this._allTabs)).subscribe(X=>{this._tabs.reset(X.filter(_e=>_e._closestTabGroup===this||!_e._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(X){const _e=this._tabHeader;_e&&(_e.focusIndex=X)}_focusChanged(X){this.focusChange.emit(this._createChangeEvent(X))}_createChangeEvent(X){const _e=new It;return _e.index=X,this._tabs&&this._tabs.length&&(_e.tab=this._tabs.toArray()[X]),_e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,k.T)(...this._tabs.map(X=>X._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(X){return Math.min(this._tabs.length-1,Math.max(X||0,0))}_getTabLabelId(X){return`mat-tab-label-${this._groupId}-${X}`}_getTabContentId(X){return`mat-tab-content-${this._groupId}-${X}`}_setTabBodyWrapperHeight(X){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const _e=this._tabBodyWrapper.nativeElement;_e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(_e.style.height=X+"px")}_removeTabBodyWrapperHeight(){const X=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=X.clientHeight,X.style.height="",this.animationDone.emit()}_handleClick(X,_e,Ue){X.disabled||(this.selectedIndex=_e.focusIndex=Ue)}_getTabIndex(X,_e){return X.disabled?null:this.selectedIndex===_e?0:-1}_tabFocusChanged(X,_e){X&&"mouse"!==X&&"touch"!==X&&(this._tabHeader.focusIndex=_e)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(t,8),m.Y36(s.Qb,8))},Z.\u0275dir=m.lG2({type:Z,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[m.qOj]}),Z})(),Ht=(()=>{class Z extends mt{constructor(X,_e,Ue,wt){super(X,_e,Ue,wt)}}return Z.\u0275fac=function(X){return new(X||Z)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(t,8),m.Y36(s.Qb,8))},Z.\u0275cmp=m.Xpm({type:Z,selectors:[["mat-tab-group"]],contentQueries:function(X,_e,Ue){if(1&X&&m.Suo(Ue,P,5),2&X){let wt;m.iGM(wt=m.CRH())&&(_e._allTabs=wt)}},viewQuery:function(X,_e){if(1&X&&(m.Gf(me,5),m.Gf(Te,5)),2&X){let Ue;m.iGM(Ue=m.CRH())&&(_e._tabBodyWrapper=Ue.first),m.iGM(Ue=m.CRH())&&(_e._tabHeader=Ue.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(X,_e){2&X&&m.ekj("mat-tab-group-dynamic-height",_e.dynamicHeight)("mat-tab-group-inverted-header","below"===_e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[m._Bn([{provide:I,useExisting:Z}]),m.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(X,_e){1&X&&(m.TgZ(0,"mat-tab-header",0,1),m.NdJ("indexFocused",function(wt){return _e._focusChanged(wt)})("selectFocusedIndex",function(wt){return _e.selectedIndex=wt}),m.YNc(2,Ie,5,15,"div",2),m.qZA(),m.TgZ(3,"div",3,4),m.YNc(5,He,1,10,"mat-tab-body",5),m.qZA()),2&X&&(m.Q6J("selectedIndex",_e.selectedIndex||0)("disableRipple",_e.disableRipple)("disablePagination",_e.disablePagination),m.xp6(2),m.Q6J("ngForOf",_e._tabs),m.xp6(1),m.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode),m.xp6(2),m.Q6J("ngForOf",_e._tabs))},directives:[pt,o,T.sg,c,A.wG,e.kH,T.mk,T.O5,g.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),Z})(),oe=(()=>{class Z{}return Z.\u0275fac=function(X){return new(X||Z)},Z.\u0275mod=m.oAB({type:Z}),Z.\u0275inj=m.cJS({imports:[[T.ez,A.BQ,g.eL,A.si,f.Q8,e.rt],A.BQ]}),Z})()},29772:(Ke,be,d)=>{"use strict";d.d(be,{gM:()=>rt,AV:()=>D});var e=d(92845),f=d(15664),g=d(69808),T=d(5e3),m=d(90508),A=d(53435),s=d(63191),b=d(91159),O=d(8929),E=d(36053),h=d(61221),k=d(32916),L=d(72986),V=d(31307),$=d(80013),ue=d(24850),ce=d(1059),Le=d(7625),de=d(70925);const ae=new Set;let j,H=(()=>{class S{constructor(P){this._platform=P,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):te}matchMedia(P){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(S){if(!ae.has(S))try{j||(j=document.createElement("style"),j.setAttribute("type","text/css"),document.head.appendChild(j)),j.sheet&&(j.sheet.insertRule(`@media ${S} {body{ }}`,0),ae.add(S))}catch(I){console.error(I)}}(P),this._matchMedia(P)}}return S.\u0275fac=function(P){return new(P||S)(T.LFG(de.t4))},S.\u0275prov=T.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function te(S){return{matches:"all"===S||""===S,media:S,addListener:()=>{},removeListener:()=>{}}}let se=(()=>{class S{constructor(P,i){this._mediaMatcher=P,this._zone=i,this._queries=new Map,this._destroySubject=new O.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(P){return ge((0,s.Eq)(P)).some(r=>this._registerQuery(r).mql.matches)}observe(P){const r=ge((0,s.Eq)(P)).map(o=>this._registerQuery(o).observable);let p=(0,E.aj)(r);return p=(0,h.z)(p.pipe((0,L.q)(1)),p.pipe((0,V.T)(1),(0,$.b)(0))),p.pipe((0,ue.U)(o=>{const t={matches:!1,breakpoints:{}};return o.forEach(({matches:n,query:c})=>{t.matches=t.matches||n,t.breakpoints[c]=n}),t}))}_registerQuery(P){if(this._queries.has(P))return this._queries.get(P);const i=this._mediaMatcher.matchMedia(P),p={observable:new k.y(o=>{const t=n=>this._zone.run(()=>o.next(n));return i.addListener(t),()=>{i.removeListener(t)}}).pipe((0,ce.O)(i),(0,ue.U)(({matches:o})=>({query:P,matches:o})),(0,Le.R)(this._destroySubject)),mql:i};return this._queries.set(P,p),p}}return S.\u0275fac=function(P){return new(P||S)(T.LFG(H),T.LFG(T.R0b))},S.\u0275prov=T.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();function ge(S){return S.map(I=>I.split(",")).reduce((I,P)=>I.concat(P)).map(I=>I.trim())}var Fe=d(47429),ne=d(41777),Me=d(50226);const ve={tooltipState:(0,ne.X$)("state",[(0,ne.SB)("initial, void, hidden",(0,ne.oB)({opacity:0,transform:"scale(0)"})),(0,ne.SB)("visible",(0,ne.oB)({transform:"scale(1)"})),(0,ne.eR)("* => visible",(0,ne.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,ne.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,ne.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,ne.eR)("* => hidden",(0,ne.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({opacity:0})))])},ee="tooltip-panel",R=(0,de.i$)({passive:!0}),He=new T.OlP("mat-tooltip-scroll-strategy"),Ce={provide:He,deps:[e.aV],useFactory:function fe(S){return()=>S.scrollStrategies.reposition({scrollThrottle:20})}},Ve=new T.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let tt=(()=>{class S{constructor(P,i,r,p,o,t,n,c,u,y,M,re){this._overlay=P,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=p,this._ngZone=o,this._platform=t,this._ariaDescriber=n,this._focusMonitor=c,this._dir=y,this._defaultOptions=M,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new O.xQ,this._scrollStrategy=u,this._document=re,M&&(M.position&&(this.position=M.position),M.touchGestures&&(this.touchGestures=M.touchGestures)),y.change.pipe((0,Le.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(P){var i;P!==this._position&&(this._position=P,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(P){this._disabled=(0,s.Ig)(P),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(P){this._showDelay=(0,s.su)(P)}get hideDelay(){return this._hideDelay}set hideDelay(P){this._hideDelay=(0,s.su)(P)}get message(){return this._message}set message(P){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=P?String(P).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(P){this._tooltipClass=P,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Le.R)(this._destroyed)).subscribe(P=>{P?"keyboard"===P&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const P=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{P.removeEventListener(i,r,R)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(P,this.message,"tooltip"),this._focusMonitor.stopMonitoring(P)}show(P=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Fe.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(P)}hide(P=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(P)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const P=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(P);return i.positionChanges.pipe((0,Le.R)(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${ee}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Le.R)(this._destroyed)).subscribe(()=>{var r;return null===(r=this._tooltipInstance)||void 0===r?void 0:r._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Le.R)(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===b.hY&&!(0,b.Vb)(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(P){const i=P.getConfig().positionStrategy,r=this._getOrigin(),p=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),p.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),p.fallback))])}_addOffset(P){return P}_getOrigin(){const P=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&P||"right"==i&&!P?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&P||"left"==i&&!P)&&(r={originX:"end",originY:"center"});const{x:p,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:p,originY:o}}}_getOverlayPosition(){const P=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&P||"right"==i&&!P?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&P||"left"==i&&!P)&&(r={overlayX:"start",overlayY:"center"});const{x:p,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:p,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,L.q)(1),(0,Le.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(P){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=P,this._tooltipInstance._markForCheck())}_invertPosition(P,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===P?P="start":"start"===P&&(P="end"),{x:P,y:i}}_updateCurrentPositionClass(P){const{overlayY:i,originX:r,originY:p}=P;let o;if(o="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===p?"above":"below",o!==this._currentPosition){const t=this._overlayRef;if(t){const n=`${this._cssClassPrefix}-${ee}-`;t.removePanelClass(n+this._currentPosition),t.addPanelClass(n+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const P=[];if(this._platformSupportsMouseEvents())P.push(["mouseleave",()=>this.hide()],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};P.push(["touchend",i],["touchcancel",i])}this._addListeners(P),this._passiveListeners.push(...P)}_addListeners(P){P.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,R)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(P){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(P.clientX,P.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const P=this.touchGestures;if("off"!==P){const i=this._elementRef.nativeElement,r=i.style;("on"===P||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===P||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return S.\u0275fac=function(P){T.$Z()},S.\u0275dir=T.lG2({type:S,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),S})(),rt=(()=>{class S extends tt{constructor(P,i,r,p,o,t,n,c,u,y,M,re){super(P,i,r,p,o,t,n,c,u,y,M,re),this._tooltipComponent=he}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(e.aV),T.Y36(T.SBq),T.Y36(A.mF),T.Y36(T.s_b),T.Y36(T.R0b),T.Y36(de.t4),T.Y36(f.$s),T.Y36(f.tE),T.Y36(He),T.Y36(Me.Is,8),T.Y36(Ve,8),T.Y36(g.K0))},S.\u0275dir=T.lG2({type:S,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[T.qOj]}),S})(),N=(()=>{class S{constructor(P){this._changeDetectorRef=P,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new O.xQ}show(P){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},P)}hide(P){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},P)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(P){const i=P.toState;"hidden"===i&&!this.isVisible()&&this._onHide.next(),("visible"===i||"hidden"===i)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(T.sBO))},S.\u0275dir=T.lG2({type:S}),S})(),he=(()=>{class S extends N{constructor(P,i){super(P),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return S.\u0275fac=function(P){return new(P||S)(T.Y36(T.sBO),T.Y36(se))},S.\u0275cmp=T.Xpm({type:S,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(P,i){2&P&&T.Udp("zoom","visible"===i._visibility?1:null)},features:[T.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(P,i){if(1&P&&(T.TgZ(0,"div",0),T.NdJ("@state.start",function(){return i._animationStart()})("@state.done",function(p){return i._animationDone(p)}),T.ALo(1,"async"),T._uU(2),T.qZA()),2&P){let r;T.ekj("mat-tooltip-handset",null==(r=T.lcZ(1,5,i._isHandset))?null:r.matches),T.Q6J("ngClass",i.tooltipClass)("@state",i._visibility),T.xp6(2),T.Oqu(i.message)}},directives:[g.mk],pipes:[g.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ve.tooltipState]},changeDetection:0}),S})(),D=(()=>{class S{}return S.\u0275fac=function(P){return new(P||S)},S.\u0275mod=T.oAB({type:S}),S.\u0275inj=T.cJS({providers:[Ce],imports:[[f.rt,g.ez,e.U8,m.BQ],m.BQ,A.ZD]}),S})()},90149:(Ke,be,d)=>{"use strict";d.d(be,{GZ:()=>L,gi:()=>ue,kc:()=>ae,JZ:()=>ke,dp:()=>de,WX:()=>j,uo:()=>h,fQ:()=>k,Ar:()=>$,eu:()=>ce});var e=d(28258),f=d(5e3),g=d(90508),T=d(63191),m=d(20449),A=d(591),s=d(36787),b=d(72986),O=d(24850);const E=(0,g.sb)((0,g.Id)(e.Hs));let h=(()=>{class H extends E{constructor(te,se,ge){super(te,se),this.tabIndex=Number(ge)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(e._0),f.$8M("tabindex"))},H.\u0275dir=f.lG2({type:H,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[f._Bn([{provide:e.Hs,useExisting:H}]),f.qOj]}),H})(),k=(()=>{class H extends e.rO{}return H.\u0275fac=function(){let Q;return function(se){return(Q||(Q=f.n5z(H)))(se||H)}}(),H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[f._Bn([{provide:e.rO,useExisting:H}]),f.qOj]}),H})(),L=(()=>{class H extends e.Xx{constructor(te,se,ge,Ne){super(te,se,ge),this._disabled=!1,this.tabIndex=Number(Ne)||0}get disabled(){return this._disabled}set disabled(te){this._disabled=(0,T.Ig)(te)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(te){this._tabIndex=null!=te?te:0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.SBq),f.Y36(e._0),f.Y36(f.ZZ4),f.$8M("tabindex"))},H.\u0275dir=f.lG2({type:H,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[f._Bn([{provide:e.Xx,useExisting:H},{provide:e.Hs,useExisting:H},{provide:e.HI,useExisting:H}]),f.qOj]}),H})(),$=(()=>{class H{constructor(te,se){this.viewContainer=te,this._node=se}}return H.\u0275fac=function(te){return new(te||H)(f.Y36(f.s_b),f.Y36(e.HI,8))},H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeOutlet",""]],features:[f._Bn([{provide:e.cu,useExisting:H}])]}),H})(),ue=(()=>{class H extends e._0{}return H.\u0275fac=function(){let Q;return function(se){return(Q||(Q=f.n5z(H)))(se||H)}}(),H.\u0275cmp=f.Xpm({type:H,selectors:[["mat-tree"]],viewQuery:function(te,se){if(1&te&&f.Gf($,7),2&te){let ge;f.iGM(ge=f.CRH())&&(se._nodeOutlet=ge.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[f._Bn([{provide:e._0,useExisting:H}]),f.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(te,se){1&te&&f.GkF(0,0)},directives:[$],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),H})(),ce=(()=>{class H extends e.Ud{}return H.\u0275fac=function(){let Q;return function(se){return(Q||(Q=f.n5z(H)))(se||H)}}(),H.\u0275dir=f.lG2({type:H,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[f._Bn([{provide:e.Ud,useExisting:H}]),f.qOj]}),H})(),de=(()=>{class H{}return H.\u0275fac=function(te){return new(te||H)},H.\u0275mod=f.oAB({type:H}),H.\u0275inj=f.cJS({imports:[[e.nZ,g.BQ],g.BQ]}),H})();class ke{constructor(Q,te,se,ge){this.transformFunction=Q,this.getLevel=te,this.isExpandable=se,this.getChildren=ge}_flattenNode(Q,te,se,ge){const Ne=this.transformFunction(Q,te);if(se.push(Ne),this.isExpandable(Ne)){const Fe=this.getChildren(Q);Fe&&(Array.isArray(Fe)?this._flattenChildren(Fe,te,se,ge):Fe.pipe((0,b.q)(1)).subscribe(ne=>{this._flattenChildren(ne,te,se,ge)}))}return se}_flattenChildren(Q,te,se,ge){Q.forEach((Ne,Fe)=>{let ne=ge.slice();ne.push(Fe!=Q.length-1),this._flattenNode(Ne,te+1,se,ne)})}flattenNodes(Q){let te=[];return Q.forEach(se=>this._flattenNode(se,0,te,[])),te}expandFlattenedNodes(Q,te){let se=[],ge=[];return ge[0]=!0,Q.forEach(Ne=>{let Fe=!0;for(let ne=0;ne<=this.getLevel(Ne);ne++)Fe=Fe&&ge[ne];Fe&&se.push(Ne),this.isExpandable(Ne)&&(ge[this.getLevel(Ne)+1]=te.isExpanded(Ne))}),se}}class ae extends m.o2{constructor(Q,te,se){super(),this._treeControl=Q,this._treeFlattener=te,this._flattenedData=new A.X([]),this._expandedData=new A.X([]),this._data=new A.X([]),se&&(this.data=se)}get data(){return this._data.value}set data(Q){this._data.next(Q),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(Q){return(0,s.T)(Q.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,O.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class j extends m.o2{constructor(){super(...arguments),this._data=new A.X([])}get data(){return this._data.value}set data(Q){this._data.next(Q)}connect(Q){return(0,s.T)(Q.viewChange,this._data).pipe((0,O.U)(()=>this.data))}disconnect(){}}},76360:(Ke,be,d)=>{"use strict";d.d(be,{Qb:()=>ps,PW:()=>Un});var e=d(5e3),f=d(22313),g=d(41777);function T(){return"undefined"!=typeof window&&void 0!==window.document}function m(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function A(ot){switch(ot.length){case 0:return new g.ZN;case 1:return ot[0];default:return new g.ZE(ot)}}function s(ot,B,U,Se,nt={},ft={}){const q=[],De=[];let ie=-1,Ge=null;if(Se.forEach(bt=>{const Ft=bt.offset,jt=Ft==ie,ii=jt&&Ge||{};Object.keys(bt).forEach(ai=>{let hi=ai,mi=bt[ai];if("offset"!==ai)switch(hi=B.normalizePropertyName(hi,q),mi){case g.k1:mi=nt[ai];break;case g.l3:mi=ft[ai];break;default:mi=B.normalizeStyleValue(ai,hi,mi,q)}ii[hi]=mi}),jt||De.push(ii),Ge=ii,ie=Ft}),q.length){const bt="\n - ";throw new Error(`Unable to animate due to the following errors:${bt}${q.join(bt)}`)}return De}function b(ot,B,U,Se){switch(B){case"start":ot.onStart(()=>Se(U&&O(U,"start",ot)));break;case"done":ot.onDone(()=>Se(U&&O(U,"done",ot)));break;case"destroy":ot.onDestroy(()=>Se(U&&O(U,"destroy",ot)))}}function O(ot,B,U){const Se=U.totalTime,ft=E(ot.element,ot.triggerName,ot.fromState,ot.toState,B||ot.phaseName,null==Se?ot.totalTime:Se,!!U.disabled),q=ot._data;return null!=q&&(ft._data=q),ft}function E(ot,B,U,Se,nt="",ft=0,q){return{element:ot,triggerName:B,fromState:U,toState:Se,phaseName:nt,totalTime:ft,disabled:!!q}}function h(ot,B,U){let Se;return ot instanceof Map?(Se=ot.get(B),Se||ot.set(B,Se=U)):(Se=ot[B],Se||(Se=ot[B]=U)),Se}function k(ot){const B=ot.indexOf(":");return[ot.substring(1,B),ot.substr(B+1)]}let L=(ot,B)=>!1,V=(ot,B,U)=>[];(m()||"undefined"!=typeof Element)&&(L=T()?(ot,B)=>{for(;B&&B!==document.documentElement;){if(B===ot)return!0;B=B.parentNode||B.host}return!1}:(ot,B)=>ot.contains(B),V=(ot,B,U)=>{if(U)return Array.from(ot.querySelectorAll(B));const Se=ot.querySelector(B);return Se?[Se]:[]});let ce=null,Le=!1;function de(ot){ce||(ce=function ke(){return"undefined"!=typeof document?document.body:null}()||{},Le=!!ce.style&&"WebkitAppearance"in ce.style);let B=!0;return ce.style&&!function ue(ot){return"ebkit"==ot.substring(1,6)}(ot)&&(B=ot in ce.style,!B&&Le&&(B="Webkit"+ot.charAt(0).toUpperCase()+ot.substr(1)in ce.style)),B}const ae=L,j=V;let Q=(()=>{class ot{validateStyleProperty(U){return de(U)}matchesElement(U,Se){return!1}containsElement(U,Se){return ae(U,Se)}query(U,Se,nt){return j(U,Se,nt)}computeStyle(U,Se,nt){return nt||""}animate(U,Se,nt,ft,q,De=[],ie){return new g.ZN(nt,ft)}}return ot.\u0275fac=function(U){return new(U||ot)},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})(),te=(()=>{class ot{}return ot.NOOP=new Q,ot})();const Fe="ng-enter",ne="ng-leave",Me="ng-trigger",ve=".ng-trigger",me="ng-animating",Te=".ng-animating";function ee(ot){if("number"==typeof ot)return ot;const B=ot.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:R(parseFloat(B[1]),B[2])}function R(ot,B){return"s"===B?1e3*ot:ot}function Oe(ot,B,U){return ot.hasOwnProperty("duration")?ot:function Ie(ot,B,U){let nt,ft=0,q="";if("string"==typeof ot){const De=ot.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===De)return B.push(`The provided timing value "${ot}" is invalid.`),{duration:0,delay:0,easing:""};nt=R(parseFloat(De[1]),De[2]);const ie=De[3];null!=ie&&(ft=R(parseFloat(ie),De[4]));const Ge=De[5];Ge&&(q=Ge)}else nt=ot;if(!U){let De=!1,ie=B.length;nt<0&&(B.push("Duration values below 0 are not allowed for this animation step."),De=!0),ft<0&&(B.push("Delay values below 0 are not allowed for this animation step."),De=!0),De&&B.splice(ie,0,`The provided timing value "${ot}" is invalid.`)}return{duration:nt,delay:ft,easing:q}}(ot,B,U)}function He(ot,B={}){return Object.keys(ot).forEach(U=>{B[U]=ot[U]}),B}function Ce(ot,B,U={}){if(B)for(let Se in ot)U[Se]=ot[Se];else He(ot,U);return U}function Ve(ot,B,U){return U?B+":"+U+";":""}function Xe(ot){let B="";for(let U=0;U{const nt=r(Se);U&&!U.hasOwnProperty(Se)&&(U[Se]=ot.style[nt]),ot.style[nt]=B[Se]}),m()&&Xe(ot))}function rt(ot,B){ot.style&&(Object.keys(B).forEach(U=>{const Se=r(U);ot.style[Se]=""}),m()&&Xe(ot))}function N(ot){return Array.isArray(ot)?1==ot.length?ot[0]:(0,g.vP)(ot):ot}const D=new RegExp("{{\\s*(.+?)\\s*}}","g");function S(ot){let B=[];if("string"==typeof ot){let U;for(;U=D.exec(ot);)B.push(U[1]);D.lastIndex=0}return B}function I(ot,B,U){const Se=ot.toString(),nt=Se.replace(D,(ft,q)=>{let De=B[q];return B.hasOwnProperty(q)||(U.push(`Please provide a value for the animation param ${q}`),De=""),De.toString()});return nt==Se?ot:nt}function P(ot){const B=[];let U=ot.next();for(;!U.done;)B.push(U.value),U=ot.next();return B}const i=/-+([a-z0-9])/g;function r(ot){return ot.replace(i,(...B)=>B[1].toUpperCase())}function p(ot){return ot.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function n(ot,B,U){switch(B.type){case 7:return ot.visitTrigger(B,U);case 0:return ot.visitState(B,U);case 1:return ot.visitTransition(B,U);case 2:return ot.visitSequence(B,U);case 3:return ot.visitGroup(B,U);case 4:return ot.visitAnimate(B,U);case 5:return ot.visitKeyframes(B,U);case 6:return ot.visitStyle(B,U);case 8:return ot.visitReference(B,U);case 9:return ot.visitAnimateChild(B,U);case 10:return ot.visitAnimateRef(B,U);case 11:return ot.visitQuery(B,U);case 12:return ot.visitStagger(B,U);default:throw new Error(`Unable to resolve animation metadata node #${B.type}`)}}function c(ot,B){return window.getComputedStyle(ot)[B]}const u="*";function y(ot,B){const U=[];return"string"==typeof ot?ot.split(/\s*,\s*/).forEach(Se=>function M(ot,B,U){if(":"==ot[0]){const ie=function re(ot,B){switch(ot){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(U,Se)=>parseFloat(Se)>parseFloat(U);case":decrement":return(U,Se)=>parseFloat(Se) *"}}(ot,U);if("function"==typeof ie)return void B.push(ie);ot=ie}const Se=ot.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Se||Se.length<4)return U.push(`The provided transition expression "${ot}" is not supported`),B;const nt=Se[1],ft=Se[2],q=Se[3];B.push(pt(nt,q));"<"==ft[0]&&!(nt==u&&q==u)&&B.push(pt(q,nt))}(Se,U,B)):U.push(ot),U}const et=new Set(["true","1"]),yt=new Set(["false","0"]);function pt(ot,B){const U=et.has(ot)||yt.has(ot),Se=et.has(B)||yt.has(B);return(nt,ft)=>{let q=ot==u||ot==nt,De=B==u||B==ft;return!q&&U&&"boolean"==typeof nt&&(q=nt?et.has(ot):yt.has(ot)),!De&&Se&&"boolean"==typeof ft&&(De=ft?et.has(B):yt.has(B)),q&&De}}const It=new RegExp("s*:selfs*,?","g");function Zt(ot,B,U){return new Ht(ot).build(B,U)}class Ht{constructor(B){this._driver=B}build(B,U){const Se=new Lt(U);return this._resetContextStyleTimingState(Se),n(this,N(B),Se)}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles={},B.collectedStyles[""]={},B.currentTime=0}visitTrigger(B,U){let Se=U.queryCount=0,nt=U.depCount=0;const ft=[],q=[];return"@"==B.name.charAt(0)&&U.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),B.definitions.forEach(De=>{if(this._resetContextStyleTimingState(U),0==De.type){const ie=De,Ge=ie.name;Ge.toString().split(/\s*,\s*/).forEach(bt=>{ie.name=bt,ft.push(this.visitState(ie,U))}),ie.name=Ge}else if(1==De.type){const ie=this.visitTransition(De,U);Se+=ie.queryCount,nt+=ie.depCount,q.push(ie)}else U.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:B.name,states:ft,transitions:q,queryCount:Se,depCount:nt,options:null}}visitState(B,U){const Se=this.visitStyle(B.styles,U),nt=B.options&&B.options.params||null;if(Se.containsDynamicStyles){const ft=new Set,q=nt||{};if(Se.styles.forEach(De=>{if(Rt(De)){const ie=De;Object.keys(ie).forEach(Ge=>{S(ie[Ge]).forEach(bt=>{q.hasOwnProperty(bt)||ft.add(bt)})})}}),ft.size){const De=P(ft.values());U.errors.push(`state("${B.name}", ...) must define default values for all the following style substitutions: ${De.join(", ")}`)}}return{type:0,name:B.name,style:Se,options:nt?{params:nt}:null}}visitTransition(B,U){U.queryCount=0,U.depCount=0;const Se=n(this,N(B.animation),U);return{type:1,matchers:y(B.expr,U.errors),animation:Se,queryCount:U.queryCount,depCount:U.depCount,options:Ye(B.options)}}visitSequence(B,U){return{type:2,steps:B.steps.map(Se=>n(this,Se,U)),options:Ye(B.options)}}visitGroup(B,U){const Se=U.currentTime;let nt=0;const ft=B.steps.map(q=>{U.currentTime=Se;const De=n(this,q,U);return nt=Math.max(nt,U.currentTime),De});return U.currentTime=nt,{type:3,steps:ft,options:Ye(B.options)}}visitAnimate(B,U){const Se=function qe(ot,B){let U=null;if(ot.hasOwnProperty("duration"))U=ot;else if("number"==typeof ot)return oe(Oe(ot,B).duration,0,"");const Se=ot;if(Se.split(/\s+/).some(ft=>"{"==ft.charAt(0)&&"{"==ft.charAt(1))){const ft=oe(0,0,"");return ft.dynamic=!0,ft.strValue=Se,ft}return U=U||Oe(Se,B),oe(U.duration,U.delay,U.easing)}(B.timings,U.errors);U.currentAnimateTimings=Se;let nt,ft=B.styles?B.styles:(0,g.oB)({});if(5==ft.type)nt=this.visitKeyframes(ft,U);else{let q=B.styles,De=!1;if(!q){De=!0;const Ge={};Se.easing&&(Ge.easing=Se.easing),q=(0,g.oB)(Ge)}U.currentTime+=Se.duration+Se.delay;const ie=this.visitStyle(q,U);ie.isEmptyStep=De,nt=ie}return U.currentAnimateTimings=null,{type:4,timings:Se,style:nt,options:null}}visitStyle(B,U){const Se=this._makeStyleAst(B,U);return this._validateStyleAst(Se,U),Se}_makeStyleAst(B,U){const Se=[];Array.isArray(B.styles)?B.styles.forEach(q=>{"string"==typeof q?q==g.l3?Se.push(q):U.errors.push(`The provided style string value ${q} is not allowed.`):Se.push(q)}):Se.push(B.styles);let nt=!1,ft=null;return Se.forEach(q=>{if(Rt(q)){const De=q,ie=De.easing;if(ie&&(ft=ie,delete De.easing),!nt)for(let Ge in De)if(De[Ge].toString().indexOf("{{")>=0){nt=!0;break}}}),{type:6,styles:Se,easing:ft,offset:B.offset,containsDynamicStyles:nt,options:null}}_validateStyleAst(B,U){const Se=U.currentAnimateTimings;let nt=U.currentTime,ft=U.currentTime;Se&&ft>0&&(ft-=Se.duration+Se.delay),B.styles.forEach(q=>{"string"!=typeof q&&Object.keys(q).forEach(De=>{if(!this._driver.validateStyleProperty(De))return void U.errors.push(`The provided animation property "${De}" is not a supported CSS property for animations`);const ie=U.collectedStyles[U.currentQuerySelector],Ge=ie[De];let bt=!0;Ge&&(ft!=nt&&ft>=Ge.startTime&&nt<=Ge.endTime&&(U.errors.push(`The CSS property "${De}" that exists between the times of "${Ge.startTime}ms" and "${Ge.endTime}ms" is also being animated in a parallel animation between the times of "${ft}ms" and "${nt}ms"`),bt=!1),ft=Ge.startTime),bt&&(ie[De]={startTime:ft,endTime:nt}),U.options&&function he(ot,B,U){const Se=B.params||{},nt=S(ot);nt.length&&nt.forEach(ft=>{Se.hasOwnProperty(ft)||U.push(`Unable to resolve the local animation param ${ft} in the given list of values`)})}(q[De],U.options,U.errors)})})}visitKeyframes(B,U){const Se={type:5,styles:[],options:null};if(!U.currentAnimateTimings)return U.errors.push("keyframes() must be placed inside of a call to animate()"),Se;let ft=0;const q=[];let De=!1,ie=!1,Ge=0;const bt=B.steps.map(yi=>{const xi=this._makeStyleAst(yi,U);let xe=null!=xi.offset?xi.offset:function ht(ot){if("string"==typeof ot)return null;let B=null;if(Array.isArray(ot))ot.forEach(U=>{if(Rt(U)&&U.hasOwnProperty("offset")){const Se=U;B=parseFloat(Se.offset),delete Se.offset}});else if(Rt(ot)&&ot.hasOwnProperty("offset")){const U=ot;B=parseFloat(U.offset),delete U.offset}return B}(xi.styles),Ee=0;return null!=xe&&(ft++,Ee=xi.offset=xe),ie=ie||Ee<0||Ee>1,De=De||Ee0&&ft{const xe=jt>0?xi==ii?1:jt*xi:q[xi],Ee=xe*mi;U.currentTime=ai+hi.delay+Ee,hi.duration=Ee,this._validateStyleAst(yi,U),yi.offset=xe,Se.styles.push(yi)}),Se}visitReference(B,U){return{type:8,animation:n(this,N(B.animation),U),options:Ye(B.options)}}visitAnimateChild(B,U){return U.depCount++,{type:9,options:Ye(B.options)}}visitAnimateRef(B,U){return{type:10,animation:this.visitReference(B.animation,U),options:Ye(B.options)}}visitQuery(B,U){const Se=U.currentQuerySelector,nt=B.options||{};U.queryCount++,U.currentQuery=B;const[ft,q]=function _t(ot){const B=!!ot.split(/\s*,\s*/).find(U=>":self"==U);return B&&(ot=ot.replace(It,"")),ot=ot.replace(/@\*/g,ve).replace(/@\w+/g,U=>ve+"-"+U.substr(1)).replace(/:animating/g,Te),[ot,B]}(B.selector);U.currentQuerySelector=Se.length?Se+" "+ft:ft,h(U.collectedStyles,U.currentQuerySelector,{});const De=n(this,N(B.animation),U);return U.currentQuery=null,U.currentQuerySelector=Se,{type:11,selector:ft,limit:nt.limit||0,optional:!!nt.optional,includeSelf:q,animation:De,originalSelector:B.selector,options:Ye(B.options)}}visitStagger(B,U){U.currentQuery||U.errors.push("stagger() can only be used inside of query()");const Se="full"===B.timings?{duration:0,delay:0,easing:"full"}:Oe(B.timings,U.errors,!0);return{type:12,animation:n(this,N(B.animation),U),timings:Se,options:null}}}class Lt{constructor(B){this.errors=B,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Rt(ot){return!Array.isArray(ot)&&"object"==typeof ot}function Ye(ot){return ot?(ot=He(ot)).params&&(ot.params=function Je(ot){return ot?He(ot):null}(ot.params)):ot={},ot}function oe(ot,B,U){return{duration:ot,delay:B,easing:U}}function Z(ot,B,U,Se,nt,ft,q=null,De=!1){return{type:1,element:ot,keyframes:B,preStyleProps:U,postStyleProps:Se,duration:nt,delay:ft,totalTime:nt+ft,easing:q,subTimeline:De}}class G{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,U){let Se=this._map.get(B);Se||this._map.set(B,Se=[]),Se.push(...U)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const Ue=new RegExp(":enter","g"),Ut=new RegExp(":leave","g");function Vt(ot,B,U,Se,nt,ft={},q={},De,ie,Ge=[]){return(new Dt).buildKeyframes(ot,B,U,Se,nt,ft,q,De,ie,Ge)}class Dt{buildKeyframes(B,U,Se,nt,ft,q,De,ie,Ge,bt=[]){Ge=Ge||new G;const Ft=new At(B,U,Ge,nt,ft,bt,[]);Ft.options=ie,Ft.currentTimeline.setStyles([q],null,Ft.errors,ie),n(this,Se,Ft);const jt=Ft.timelines.filter(ii=>ii.containsAnimation());if(Object.keys(De).length){let ii;for(let ai=jt.length-1;ai>=0;ai--){const hi=jt[ai];if(hi.element===U){ii=hi;break}}ii&&!ii.allowOnlyTimelineStyles()&&ii.setStyles([De],null,Ft.errors,ie)}return jt.length?jt.map(ii=>ii.buildKeyframes()):[Z(U,[],[],[],0,0,"",!1)]}visitTrigger(B,U){}visitState(B,U){}visitTransition(B,U){}visitAnimateChild(B,U){const Se=U.subInstructions.get(U.element);if(Se){const nt=U.createSubContext(B.options),ft=U.currentTimeline.currentTime,q=this._visitSubInstructions(Se,nt,nt.options);ft!=q&&U.transformIntoNewTimeline(q)}U.previousNode=B}visitAnimateRef(B,U){const Se=U.createSubContext(B.options);Se.transformIntoNewTimeline(),this.visitReference(B.animation,Se),U.transformIntoNewTimeline(Se.currentTimeline.currentTime),U.previousNode=B}_visitSubInstructions(B,U,Se){let ft=U.currentTimeline.currentTime;const q=null!=Se.duration?ee(Se.duration):null,De=null!=Se.delay?ee(Se.delay):null;return 0!==q&&B.forEach(ie=>{const Ge=U.appendInstructionToTimeline(ie,q,De);ft=Math.max(ft,Ge.duration+Ge.delay)}),ft}visitReference(B,U){U.updateOptions(B.options,!0),n(this,B.animation,U),U.previousNode=B}visitSequence(B,U){const Se=U.subContextCount;let nt=U;const ft=B.options;if(ft&&(ft.params||ft.delay)&&(nt=U.createSubContext(ft),nt.transformIntoNewTimeline(),null!=ft.delay)){6==nt.previousNode.type&&(nt.currentTimeline.snapshotCurrentStyles(),nt.previousNode=Et);const q=ee(ft.delay);nt.delayNextStep(q)}B.steps.length&&(B.steps.forEach(q=>n(this,q,nt)),nt.currentTimeline.applyStylesToKeyframe(),nt.subContextCount>Se&&nt.transformIntoNewTimeline()),U.previousNode=B}visitGroup(B,U){const Se=[];let nt=U.currentTimeline.currentTime;const ft=B.options&&B.options.delay?ee(B.options.delay):0;B.steps.forEach(q=>{const De=U.createSubContext(B.options);ft&&De.delayNextStep(ft),n(this,q,De),nt=Math.max(nt,De.currentTimeline.currentTime),Se.push(De.currentTimeline)}),Se.forEach(q=>U.currentTimeline.mergeTimelineCollectedStyles(q)),U.transformIntoNewTimeline(nt),U.previousNode=B}_visitTiming(B,U){if(B.dynamic){const Se=B.strValue;return Oe(U.params?I(Se,U.params,U.errors):Se,U.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,U){const Se=U.currentAnimateTimings=this._visitTiming(B.timings,U),nt=U.currentTimeline;Se.delay&&(U.incrementTime(Se.delay),nt.snapshotCurrentStyles());const ft=B.style;5==ft.type?this.visitKeyframes(ft,U):(U.incrementTime(Se.duration),this.visitStyle(ft,U),nt.applyStylesToKeyframe()),U.currentAnimateTimings=null,U.previousNode=B}visitStyle(B,U){const Se=U.currentTimeline,nt=U.currentAnimateTimings;!nt&&Se.getCurrentStyleProperties().length&&Se.forwardFrame();const ft=nt&&nt.easing||B.easing;B.isEmptyStep?Se.applyEmptyStep(ft):Se.setStyles(B.styles,ft,U.errors,U.options),U.previousNode=B}visitKeyframes(B,U){const Se=U.currentAnimateTimings,nt=U.currentTimeline.duration,ft=Se.duration,De=U.createSubContext().currentTimeline;De.easing=Se.easing,B.styles.forEach(ie=>{De.forwardTime((ie.offset||0)*ft),De.setStyles(ie.styles,ie.easing,U.errors,U.options),De.applyStylesToKeyframe()}),U.currentTimeline.mergeTimelineCollectedStyles(De),U.transformIntoNewTimeline(nt+ft),U.previousNode=B}visitQuery(B,U){const Se=U.currentTimeline.currentTime,nt=B.options||{},ft=nt.delay?ee(nt.delay):0;ft&&(6===U.previousNode.type||0==Se&&U.currentTimeline.getCurrentStyleProperties().length)&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=Et);let q=Se;const De=U.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!nt.optional,U.errors);U.currentQueryTotal=De.length;let ie=null;De.forEach((Ge,bt)=>{U.currentQueryIndex=bt;const Ft=U.createSubContext(B.options,Ge);ft&&Ft.delayNextStep(ft),Ge===U.element&&(ie=Ft.currentTimeline),n(this,B.animation,Ft),Ft.currentTimeline.applyStylesToKeyframe(),q=Math.max(q,Ft.currentTimeline.currentTime)}),U.currentQueryIndex=0,U.currentQueryTotal=0,U.transformIntoNewTimeline(q),ie&&(U.currentTimeline.mergeTimelineCollectedStyles(ie),U.currentTimeline.snapshotCurrentStyles()),U.previousNode=B}visitStagger(B,U){const Se=U.parentContext,nt=U.currentTimeline,ft=B.timings,q=Math.abs(ft.duration),De=q*(U.currentQueryTotal-1);let ie=q*U.currentQueryIndex;switch(ft.duration<0?"reverse":ft.easing){case"reverse":ie=De-ie;break;case"full":ie=Se.currentStaggerTime}const bt=U.currentTimeline;ie&&bt.delayNextStep(ie);const Ft=bt.currentTime;n(this,B.animation,U),U.previousNode=B,Se.currentStaggerTime=nt.currentTime-Ft+(nt.startTime-Se.currentTimeline.startTime)}}const Et={};class At{constructor(B,U,Se,nt,ft,q,De,ie){this._driver=B,this.element=U,this.subInstructions=Se,this._enterClassName=nt,this._leaveClassName=ft,this.errors=q,this.timelines=De,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Et,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ie||new Ot(this._driver,U,0),De.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,U){if(!B)return;const Se=B;let nt=this.options;null!=Se.duration&&(nt.duration=ee(Se.duration)),null!=Se.delay&&(nt.delay=ee(Se.delay));const ft=Se.params;if(ft){let q=nt.params;q||(q=this.options.params={}),Object.keys(ft).forEach(De=>{(!U||!q.hasOwnProperty(De))&&(q[De]=I(ft[De],q,this.errors))})}}_copyOptions(){const B={};if(this.options){const U=this.options.params;if(U){const Se=B.params={};Object.keys(U).forEach(nt=>{Se[nt]=U[nt]})}}return B}createSubContext(B=null,U,Se){const nt=U||this.element,ft=new At(this._driver,nt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(nt,Se||0));return ft.previousNode=this.previousNode,ft.currentAnimateTimings=this.currentAnimateTimings,ft.options=this._copyOptions(),ft.updateOptions(B),ft.currentQueryIndex=this.currentQueryIndex,ft.currentQueryTotal=this.currentQueryTotal,ft.parentContext=this,this.subContextCount++,ft}transformIntoNewTimeline(B){return this.previousNode=Et,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,U,Se){const nt={duration:null!=U?U:B.duration,delay:this.currentTimeline.currentTime+(null!=Se?Se:0)+B.delay,easing:""},ft=new Kt(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,nt,B.stretchStartingKeyframe);return this.timelines.push(ft),nt}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,U,Se,nt,ft,q){let De=[];if(nt&&De.push(this.element),B.length>0){B=(B=B.replace(Ue,"."+this._enterClassName)).replace(Ut,"."+this._leaveClassName);let Ge=this._driver.query(this.element,B,1!=Se);0!==Se&&(Ge=Se<0?Ge.slice(Ge.length+Se,Ge.length):Ge.slice(0,Se)),De.push(...Ge)}return!ft&&0==De.length&&q.push(`\`query("${U}")\` returned zero elements. (Use \`query("${U}", { optional: true })\` if you wish to allow this.)`),De}}class Ot{constructor(B,U,Se,nt){this._driver=B,this.element=U,this.startTime=Se,this._elementTimelineStylesLookup=nt,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(U),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(U,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(B){const U=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||U?(this.forwardTime(this.currentTime+B),U&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,U){return this.applyStylesToKeyframe(),new Ot(this._driver,B,U||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(B){this.applyStylesToKeyframe(),this.duration=B,this._loadKeyframe()}_updateStyle(B,U){this._localTimelineStyles[B]=U,this._globalTimelineStyles[B]=U,this._styleSummary[B]={time:this.currentTime,value:U}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&(this._previousKeyframe.easing=B),Object.keys(this._globalTimelineStyles).forEach(U=>{this._backFill[U]=this._globalTimelineStyles[U]||g.l3,this._currentKeyframe[U]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,U,Se,nt){U&&(this._previousKeyframe.easing=U);const ft=nt&&nt.params||{},q=function fi(ot,B){const U={};let Se;return ot.forEach(nt=>{"*"===nt?(Se=Se||Object.keys(B),Se.forEach(ft=>{U[ft]=g.l3})):Ce(nt,!1,U)}),U}(B,this._globalTimelineStyles);Object.keys(q).forEach(De=>{const ie=I(q[De],ft,Se);this._pendingStyles[De]=ie,this._localTimelineStyles.hasOwnProperty(De)||(this._backFill[De]=this._globalTimelineStyles.hasOwnProperty(De)?this._globalTimelineStyles[De]:g.l3),this._updateStyle(De,ie)})}applyStylesToKeyframe(){const B=this._pendingStyles,U=Object.keys(B);0!=U.length&&(this._pendingStyles={},U.forEach(Se=>{this._currentKeyframe[Se]=B[Se]}),Object.keys(this._localTimelineStyles).forEach(Se=>{this._currentKeyframe.hasOwnProperty(Se)||(this._currentKeyframe[Se]=this._localTimelineStyles[Se])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(B=>{const U=this._localTimelineStyles[B];this._pendingStyles[B]=U,this._updateStyle(B,U)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let U in this._currentKeyframe)B.push(U);return B}mergeTimelineCollectedStyles(B){Object.keys(B._styleSummary).forEach(U=>{const Se=this._styleSummary[U],nt=B._styleSummary[U];(!Se||nt.time>Se.time)&&this._updateStyle(U,nt.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,U=new Set,Se=1===this._keyframes.size&&0===this.duration;let nt=[];this._keyframes.forEach((De,ie)=>{const Ge=Ce(De,!0);Object.keys(Ge).forEach(bt=>{const Ft=Ge[bt];Ft==g.k1?B.add(bt):Ft==g.l3&&U.add(bt)}),Se||(Ge.offset=ie/this.duration),nt.push(Ge)});const ft=B.size?P(B.values()):[],q=U.size?P(U.values()):[];if(Se){const De=nt[0],ie=He(De);De.offset=0,ie.offset=1,nt=[De,ie]}return Z(this.element,nt,ft,q,this.duration,this.startTime,this.easing,!1)}}class Kt extends Ot{constructor(B,U,Se,nt,ft,q,De=!1){super(B,U,q.delay),this.keyframes=Se,this.preStyleProps=nt,this.postStyleProps=ft,this._stretchStartingKeyframe=De,this.timings={duration:q.duration,delay:q.delay,easing:q.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:U,duration:Se,easing:nt}=this.timings;if(this._stretchStartingKeyframe&&U){const ft=[],q=Se+U,De=U/q,ie=Ce(B[0],!1);ie.offset=0,ft.push(ie);const Ge=Ce(B[0],!1);Ge.offset=li(De),ft.push(Ge);const bt=B.length-1;for(let Ft=1;Ft<=bt;Ft++){let jt=Ce(B[Ft],!1);jt.offset=li((U+jt.offset*Se)/q),ft.push(jt)}Se=q,U=0,nt="",B=ft}return Z(this.element,B,this.preStyleProps,this.postStyleProps,Se,U,nt,!0)}}function li(ot,B=3){const U=Math.pow(10,B-1);return Math.round(ot*U)/U}class Si{}class nn extends Si{normalizePropertyName(B,U){return r(B)}normalizeStyleValue(B,U,Se,nt){let ft="";const q=Se.toString().trim();if($i[U]&&0!==Se&&"0"!==Se)if("number"==typeof Se)ft="px";else{const De=Se.match(/^[+-]?[\d\.]+([a-z]*)$/);De&&0==De[1].length&&nt.push(`Please provide a CSS unit value for ${B}:${Se}`)}return q+ft}}const $i=(()=>function Yi(ot){const B={};return ot.forEach(U=>B[U]=!0),B}("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".split(",")))();function bn(ot,B,U,Se,nt,ft,q,De,ie,Ge,bt,Ft,jt){return{type:0,element:ot,triggerName:B,isRemovalTransition:nt,fromState:U,fromStyles:ft,toState:Se,toStyles:q,timelines:De,queriedElements:ie,preStyleProps:Ge,postStyleProps:bt,totalTime:Ft,errors:jt}}const Qi={};class We{constructor(B,U,Se){this._triggerName=B,this.ast=U,this._stateStyles=Se}match(B,U,Se,nt){return function Tt(ot,B,U,Se,nt){return ot.some(ft=>ft(B,U,Se,nt))}(this.ast.matchers,B,U,Se,nt)}buildStyles(B,U,Se){const nt=this._stateStyles["*"],ft=this._stateStyles[B],q=nt?nt.buildStyles(U,Se):{};return ft?ft.buildStyles(U,Se):q}build(B,U,Se,nt,ft,q,De,ie,Ge,bt){const Ft=[],jt=this.ast.options&&this.ast.options.params||Qi,ai=this.buildStyles(Se,De&&De.params||Qi,Ft),hi=ie&&ie.params||Qi,mi=this.buildStyles(nt,hi,Ft),yi=new Set,xi=new Map,xe=new Map,Ee="void"===nt,ye={params:Object.assign(Object.assign({},jt),hi)},st=bt?[]:Vt(B,U,this.ast.animation,ft,q,ai,mi,ye,Ge,Ft);let Bt=0;if(st.forEach(Bi=>{Bt=Math.max(Bi.duration+Bi.delay,Bt)}),Ft.length)return bn(U,this._triggerName,Se,nt,Ee,ai,mi,[],[],xi,xe,Bt,Ft);st.forEach(Bi=>{const ln=Bi.element,On=h(xi,ln,{});Bi.preStyleProps.forEach(zn=>On[zn]=!0);const Kn=h(xe,ln,{});Bi.postStyleProps.forEach(zn=>Kn[zn]=!0),ln!==U&&yi.add(ln)});const ci=P(yi.values());return bn(U,this._triggerName,Se,nt,Ee,ai,mi,st,ci,xi,xe,Bt)}}class Qe{constructor(B,U,Se){this.styles=B,this.defaultParams=U,this.normalizer=Se}buildStyles(B,U){const Se={},nt=He(this.defaultParams);return Object.keys(B).forEach(ft=>{const q=B[ft];null!=q&&(nt[ft]=q)}),this.styles.styles.forEach(ft=>{if("string"!=typeof ft){const q=ft;Object.keys(q).forEach(De=>{let ie=q[De];ie.length>1&&(ie=I(ie,nt,U));const Ge=this.normalizer.normalizePropertyName(De,U);ie=this.normalizer.normalizeStyleValue(De,Ge,ie,U),Se[Ge]=ie})}}),Se}}class gt{constructor(B,U,Se){this.name=B,this.ast=U,this._normalizer=Se,this.transitionFactories=[],this.states={},U.states.forEach(nt=>{this.states[nt.name]=new Qe(nt.style,nt.options&&nt.options.params||{},Se)}),Be(this.states,"true","1"),Be(this.states,"false","0"),U.transitions.forEach(nt=>{this.transitionFactories.push(new We(B,nt,this.states))}),this.fallbackTransition=function F(ot,B,U){return new We(ot,{type:1,animation:{type:2,steps:[],options:null},matchers:[(q,De)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,U,Se,nt){return this.transitionFactories.find(q=>q.match(B,U,Se,nt))||null}matchStyles(B,U,Se){return this.fallbackTransition.buildStyles(B,U,Se)}}function Be(ot,B,U){ot.hasOwnProperty(B)?ot.hasOwnProperty(U)||(ot[U]=ot[B]):ot.hasOwnProperty(U)&&(ot[B]=ot[U])}const ut=new G;class Mt{constructor(B,U,Se){this.bodyNode=B,this._driver=U,this._normalizer=Se,this._animations={},this._playersById={},this.players=[]}register(B,U){const Se=[],nt=Zt(this._driver,U,Se);if(Se.length)throw new Error(`Unable to build the animation due to the following errors: ${Se.join("\n")}`);this._animations[B]=nt}_buildPlayer(B,U,Se){const nt=B.element,ft=s(0,this._normalizer,0,B.keyframes,U,Se);return this._driver.animate(nt,ft,B.duration,B.delay,B.easing,[],!0)}create(B,U,Se={}){const nt=[],ft=this._animations[B];let q;const De=new Map;if(ft?(q=Vt(this._driver,U,ft,Fe,ne,{},{},Se,ut,nt),q.forEach(bt=>{const Ft=h(De,bt.element,{});bt.postStyleProps.forEach(jt=>Ft[jt]=null)})):(nt.push("The requested animation doesn't exist or has already been destroyed"),q=[]),nt.length)throw new Error(`Unable to create the animation due to the following errors: ${nt.join("\n")}`);De.forEach((bt,Ft)=>{Object.keys(bt).forEach(jt=>{bt[jt]=this._driver.computeStyle(Ft,jt,g.l3)})});const Ge=A(q.map(bt=>{const Ft=De.get(bt.element);return this._buildPlayer(bt,{},Ft)}));return this._playersById[B]=Ge,Ge.onDestroy(()=>this.destroy(B)),this.players.push(Ge),Ge}destroy(B){const U=this._getPlayer(B);U.destroy(),delete this._playersById[B];const Se=this.players.indexOf(U);Se>=0&&this.players.splice(Se,1)}_getPlayer(B){const U=this._playersById[B];if(!U)throw new Error(`Unable to find the timeline player referenced by ${B}`);return U}listen(B,U,Se,nt){const ft=E(U,"","","");return b(this._getPlayer(B),Se,ft,nt),()=>{}}command(B,U,Se,nt){if("register"==Se)return void this.register(B,nt[0]);if("create"==Se)return void this.create(B,U,nt[0]||{});const ft=this._getPlayer(B);switch(Se){case"play":ft.play();break;case"pause":ft.pause();break;case"reset":ft.reset();break;case"restart":ft.restart();break;case"finish":ft.finish();break;case"init":ft.init();break;case"setPosition":ft.setPosition(parseFloat(nt[0]));break;case"destroy":this.destroy(B)}}}const ei="ng-animate-queued",Ri="ng-animate-disabled",Ni=[],Hi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pi="__ng_removed";class Ti{constructor(B,U=""){this.namespaceId=U;const Se=B&&B.hasOwnProperty("value");if(this.value=function Y(ot){return null!=ot?ot:null}(Se?B.value:B),Se){const ft=He(B);delete ft.value,this.options=ft}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(B){const U=B.params;if(U){const Se=this.options.params;Object.keys(U).forEach(nt=>{null==Se[nt]&&(Se[nt]=U[nt])})}}}const Ui="void",fn=new Ti(Ui);class sn{constructor(B,U,Se){this.id=B,this.hostElement=U,this._engine=Se,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+B,di(U,this._hostClassName)}listen(B,U,Se,nt){if(!this._triggers.hasOwnProperty(U))throw new Error(`Unable to listen on the animation trigger event "${Se}" because the animation trigger "${U}" doesn't exist!`);if(null==Se||0==Se.length)throw new Error(`Unable to listen on the animation trigger "${U}" because the provided event is undefined!`);if(!function we(ot){return"start"==ot||"done"==ot}(Se))throw new Error(`The provided animation trigger event "${Se}" for the animation trigger "${U}" is not supported!`);const ft=h(this._elementListeners,B,[]),q={name:U,phase:Se,callback:nt};ft.push(q);const De=h(this._engine.statesByElement,B,{});return De.hasOwnProperty(U)||(di(B,Me),di(B,Me+"-"+U),De[U]=fn),()=>{this._engine.afterFlush(()=>{const ie=ft.indexOf(q);ie>=0&&ft.splice(ie,1),this._triggers[U]||delete De[U]})}}register(B,U){return!this._triggers[B]&&(this._triggers[B]=U,!0)}_getTrigger(B){const U=this._triggers[B];if(!U)throw new Error(`The provided animation trigger "${B}" has not been registered!`);return U}trigger(B,U,Se,nt=!0){const ft=this._getTrigger(U),q=new Ct(this.id,U,B);let De=this._engine.statesByElement.get(B);De||(di(B,Me),di(B,Me+"-"+U),this._engine.statesByElement.set(B,De={}));let ie=De[U];const Ge=new Ti(Se,this.id);if(!(Se&&Se.hasOwnProperty("value"))&&ie&&Ge.absorbOptions(ie.options),De[U]=Ge,ie||(ie=fn),Ge.value!==Ui&&ie.value===Ge.value){if(!function Wi(ot,B){const U=Object.keys(ot),Se=Object.keys(B);if(U.length!=Se.length)return!1;for(let nt=0;nt{rt(B,mi),tt(B,yi)})}return}const jt=h(this._engine.playersByElement,B,[]);jt.forEach(hi=>{hi.namespaceId==this.id&&hi.triggerName==U&&hi.queued&&hi.destroy()});let ii=ft.matchTransition(ie.value,Ge.value,B,Ge.params),ai=!1;if(!ii){if(!nt)return;ii=ft.fallbackTransition,ai=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:U,transition:ii,fromState:ie,toState:Ge,player:q,isFallbackTransition:ai}),ai||(di(B,ei),q.onStart(()=>{Oi(B,ei)})),q.onDone(()=>{let hi=this.players.indexOf(q);hi>=0&&this.players.splice(hi,1);const mi=this._engine.playersByElement.get(B);if(mi){let yi=mi.indexOf(q);yi>=0&&mi.splice(yi,1)}}),this.players.push(q),jt.push(q),q}deregister(B){delete this._triggers[B],this._engine.statesByElement.forEach((U,Se)=>{delete U[B]}),this._elementListeners.forEach((U,Se)=>{this._elementListeners.set(Se,U.filter(nt=>nt.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const U=this._engine.playersByElement.get(B);U&&(U.forEach(Se=>Se.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,U){const Se=this._engine.driver.query(B,ve,!0);Se.forEach(nt=>{if(nt[Pi])return;const ft=this._engine.fetchNamespacesByElement(nt);ft.size?ft.forEach(q=>q.triggerLeaveAnimation(nt,U,!1,!0)):this.clearElementCache(nt)}),this._engine.afterFlushAnimationsDone(()=>Se.forEach(nt=>this.clearElementCache(nt)))}triggerLeaveAnimation(B,U,Se,nt){const ft=this._engine.statesByElement.get(B),q=new Map;if(ft){const De=[];if(Object.keys(ft).forEach(ie=>{if(q.set(ie,ft[ie].value),this._triggers[ie]){const Ge=this.trigger(B,ie,Ui,nt);Ge&&De.push(Ge)}}),De.length)return this._engine.markElementAsRemoved(this.id,B,!0,U,q),Se&&A(De).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const U=this._elementListeners.get(B),Se=this._engine.statesByElement.get(B);if(U&&Se){const nt=new Set;U.forEach(ft=>{const q=ft.name;if(nt.has(q))return;nt.add(q);const ie=this._triggers[q].fallbackTransition,Ge=Se[q]||fn,bt=new Ti(Ui),Ft=new Ct(this.id,q,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:q,transition:ie,fromState:Ge,toState:bt,player:Ft,isFallbackTransition:!0})})}}removeNode(B,U){const Se=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,U),this.triggerLeaveAnimation(B,U,!0))return;let nt=!1;if(Se.totalAnimations){const ft=Se.players.length?Se.playersByQueriedElement.get(B):[];if(ft&&ft.length)nt=!0;else{let q=B;for(;q=q.parentNode;)if(Se.statesByElement.get(q)){nt=!0;break}}}if(this.prepareLeaveAnimationListeners(B),nt)Se.markElementAsRemoved(this.id,B,!1,U);else{const ft=B[Pi];(!ft||ft===Hi)&&(Se.afterFlush(()=>this.clearElementCache(B)),Se.destroyInnerAnimations(B),Se._onRemovalComplete(B,U))}}insertNode(B,U){di(B,this._hostClassName)}drainQueuedTransitions(B){const U=[];return this._queue.forEach(Se=>{const nt=Se.player;if(nt.destroyed)return;const ft=Se.element,q=this._elementListeners.get(ft);q&&q.forEach(De=>{if(De.name==Se.triggerName){const ie=E(ft,Se.triggerName,Se.fromState.value,Se.toState.value);ie._data=B,b(Se.player,De.phase,ie,De.callback)}}),nt.markedForDestroy?this._engine.afterFlush(()=>{nt.destroy()}):U.push(Se)}),this._queue=[],U.sort((Se,nt)=>{const ft=Se.transition.ast.depCount,q=nt.transition.ast.depCount;return 0==ft||0==q?ft-q:this._engine.driver.containsElement(Se.element,nt.element)?1:-1})}destroy(B){this.players.forEach(U=>U.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}elementContainsData(B){let U=!1;return this._elementListeners.has(B)&&(U=!0),U=!!this._queue.find(Se=>Se.element===B)||U,U}}class qi{constructor(B,U,Se){this.bodyNode=B,this.driver=U,this._normalizer=Se,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=(nt,ft)=>{}}_onRemovalComplete(B,U){this.onRemovalComplete(B,U)}get queuedPlayers(){const B=[];return this._namespaceList.forEach(U=>{U.players.forEach(Se=>{Se.queued&&B.push(Se)})}),B}createNamespace(B,U){const Se=new sn(B,U,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,U)?this._balanceNamespaceList(Se,U):(this.newHostElements.set(U,Se),this.collectEnterElement(U)),this._namespaceLookup[B]=Se}_balanceNamespaceList(B,U){const Se=this._namespaceList.length-1;if(Se>=0){let nt=!1;for(let ft=Se;ft>=0;ft--)if(this.driver.containsElement(this._namespaceList[ft].hostElement,U)){this._namespaceList.splice(ft+1,0,B),nt=!0;break}nt||this._namespaceList.splice(0,0,B)}else this._namespaceList.push(B);return this.namespacesByHostElement.set(U,B),B}register(B,U){let Se=this._namespaceLookup[B];return Se||(Se=this.createNamespace(B,U)),Se}registerTrigger(B,U,Se){let nt=this._namespaceLookup[B];nt&&nt.register(U,Se)&&this.totalAnimations++}destroy(B,U){if(!B)return;const Se=this._fetchNamespace(B);this.afterFlush(()=>{this.namespacesByHostElement.delete(Se.hostElement),delete this._namespaceLookup[B];const nt=this._namespaceList.indexOf(Se);nt>=0&&this._namespaceList.splice(nt,1)}),this.afterFlushAnimationsDone(()=>Se.destroy(U))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const U=new Set,Se=this.statesByElement.get(B);if(Se){const nt=Object.keys(Se);for(let ft=0;ft=0&&this.collectedLeaveElements.splice(q,1)}if(B){const q=this._fetchNamespace(B);q&&q.insertNode(U,Se)}nt&&this.collectEnterElement(U)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,U){U?this.disabledNodes.has(B)||(this.disabledNodes.add(B),di(B,Ri)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),Oi(B,Ri))}removeNode(B,U,Se,nt){if(lt(U)){const ft=B?this._fetchNamespace(B):null;if(ft?ft.removeNode(U,nt):this.markElementAsRemoved(B,U,!1,nt),Se){const q=this.namespacesByHostElement.get(U);q&&q.id!==B&&q.removeNode(U,nt)}}else this._onRemovalComplete(U,nt)}markElementAsRemoved(B,U,Se,nt,ft){this.collectedLeaveElements.push(U),U[Pi]={namespaceId:B,setForRemoval:nt,hasAnimation:Se,removedBeforeQueried:!1,previousTriggersValues:ft}}listen(B,U,Se,nt,ft){return lt(U)?this._fetchNamespace(B).listen(U,Se,nt,ft):()=>{}}_buildInstruction(B,U,Se,nt,ft){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,Se,nt,B.fromState.options,B.toState.options,U,ft)}destroyInnerAnimations(B){let U=this.driver.query(B,ve,!0);U.forEach(Se=>this.destroyActiveAnimationsForElement(Se)),0!=this.playersByQueriedElement.size&&(U=this.driver.query(B,Te,!0),U.forEach(Se=>this.finishActiveQueriedAnimationOnElement(Se)))}destroyActiveAnimationsForElement(B){const U=this.playersByElement.get(B);U&&U.forEach(Se=>{Se.queued?Se.markedForDestroy=!0:Se.destroy()})}finishActiveQueriedAnimationOnElement(B){const U=this.playersByQueriedElement.get(B);U&&U.forEach(Se=>Se.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return A(this.players).onDone(()=>B());B()})}processLeaveNode(B){var U;const Se=B[Pi];if(Se&&Se.setForRemoval){if(B[Pi]=Hi,Se.namespaceId){this.destroyInnerAnimations(B);const nt=this._fetchNamespace(Se.namespaceId);nt&&nt.clearElementCache(B)}this._onRemovalComplete(B,Se.setForRemoval)}(null===(U=B.classList)||void 0===U?void 0:U.contains(Ri))&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(nt=>{this.markElementAsDisabled(nt,!1)})}flush(B=-1){let U=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Se,nt)=>this._balanceNamespaceList(Se,nt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Se=0;SeSe()),this._flushFns=[],this._whenQuietFns.length){const Se=this._whenQuietFns;this._whenQuietFns=[],U.length?A(U).onDone(()=>{Se.forEach(nt=>nt())}):Se.forEach(nt=>nt())}}reportError(B){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${B.join("\n")}`)}_flushAnimations(B,U){const Se=new G,nt=[],ft=new Map,q=[],De=new Map,ie=new Map,Ge=new Map,bt=new Set;this.disabledNodes.forEach(si=>{bt.add(si);const vi=this.driver.query(si,".ng-animate-queued",!0);for(let gi=0;gi{const gi=Fe+hi++;ai.set(vi,gi),si.forEach(Fi=>di(Fi,gi))});const mi=[],yi=new Set,xi=new Set;for(let si=0;siyi.add(Fi)):xi.add(vi))}const xe=new Map,Ee=Jt(jt,Array.from(yi));Ee.forEach((si,vi)=>{const gi=ne+hi++;xe.set(vi,gi),si.forEach(Fi=>di(Fi,gi))}),B.push(()=>{ii.forEach((si,vi)=>{const gi=ai.get(vi);si.forEach(Fi=>Oi(Fi,gi))}),Ee.forEach((si,vi)=>{const gi=xe.get(vi);si.forEach(Fi=>Oi(Fi,gi))}),mi.forEach(si=>{this.processLeaveNode(si)})});const ye=[],st=[];for(let si=this._namespaceList.length-1;si>=0;si--)this._namespaceList[si].drainQueuedTransitions(U).forEach(gi=>{const Fi=gi.player,un=gi.element;if(ye.push(Fi),this.collectedEnterElements.length){const yn=un[Pi];if(yn&&yn.setForMove){if(yn.previousTriggersValues&&yn.previousTriggersValues.has(gi.triggerName)){const hn=yn.previousTriggersValues.get(gi.triggerName),Tn=this.statesByElement.get(gi.element);Tn&&Tn[gi.triggerName]&&(Tn[gi.triggerName].value=hn)}return void Fi.destroy()}}const An=!Ft||!this.driver.containsElement(Ft,un),Dn=xe.get(un),Vn=ai.get(un),dn=this._buildInstruction(gi,Se,Vn,Dn,An);if(dn.errors&&dn.errors.length)return void st.push(dn);if(An)return Fi.onStart(()=>rt(un,dn.fromStyles)),Fi.onDestroy(()=>tt(un,dn.toStyles)),void nt.push(Fi);if(gi.isFallbackTransition)return Fi.onStart(()=>rt(un,dn.fromStyles)),Fi.onDestroy(()=>tt(un,dn.toStyles)),void nt.push(Fi);const io=[];dn.timelines.forEach(yn=>{yn.stretchStartingKeyframe=!0,this.disabledNodes.has(yn.element)||io.push(yn)}),dn.timelines=io,Se.append(un,dn.timelines),q.push({instruction:dn,player:Fi,element:un}),dn.queriedElements.forEach(yn=>h(De,yn,[]).push(Fi)),dn.preStyleProps.forEach((yn,hn)=>{const Tn=Object.keys(yn);if(Tn.length){let as=ie.get(hn);as||ie.set(hn,as=new Set),Tn.forEach(cs=>as.add(cs))}}),dn.postStyleProps.forEach((yn,hn)=>{const Tn=Object.keys(yn);let as=Ge.get(hn);as||Ge.set(hn,as=new Set),Tn.forEach(cs=>as.add(cs))})});if(st.length){const si=[];st.forEach(vi=>{si.push(`@${vi.triggerName} has failed due to:\n`),vi.errors.forEach(gi=>si.push(`- ${gi}\n`))}),ye.forEach(vi=>vi.destroy()),this.reportError(si)}const Bt=new Map,ci=new Map;q.forEach(si=>{const vi=si.element;Se.has(vi)&&(ci.set(vi,vi),this._beforeAnimationBuild(si.player.namespaceId,si.instruction,Bt))}),nt.forEach(si=>{const vi=si.element;this._getPreviousPlayers(vi,!1,si.namespaceId,si.triggerName,null).forEach(Fi=>{h(Bt,vi,[]).push(Fi),Fi.destroy()})});const Bi=mi.filter(si=>$n(si,ie,Ge)),ln=new Map;zt(ln,this.driver,xi,Ge,g.l3).forEach(si=>{$n(si,ie,Ge)&&Bi.push(si)});const Kn=new Map;ii.forEach((si,vi)=>{zt(Kn,this.driver,new Set(si),ie,g.k1)}),Bi.forEach(si=>{const vi=ln.get(si),gi=Kn.get(si);ln.set(si,Object.assign(Object.assign({},vi),gi))});const zn=[],Ws=[],ti={};q.forEach(si=>{const{element:vi,player:gi,instruction:Fi}=si;if(Se.has(vi)){if(bt.has(vi))return gi.onDestroy(()=>tt(vi,Fi.toStyles)),gi.disabled=!0,gi.overrideTotalTime(Fi.totalTime),void nt.push(gi);let un=ti;if(ci.size>1){let Dn=vi;const Vn=[];for(;Dn=Dn.parentNode;){const dn=ci.get(Dn);if(dn){un=dn;break}Vn.push(Dn)}Vn.forEach(dn=>ci.set(dn,un))}const An=this._buildAnimation(gi.namespaceId,Fi,Bt,ft,Kn,ln);if(gi.setRealPlayer(An),un===ti)zn.push(gi);else{const Dn=this.playersByElement.get(un);Dn&&Dn.length&&(gi.parentPlayer=A(Dn)),nt.push(gi)}}else rt(vi,Fi.fromStyles),gi.onDestroy(()=>tt(vi,Fi.toStyles)),Ws.push(gi),bt.has(vi)&&nt.push(gi)}),Ws.forEach(si=>{const vi=ft.get(si.element);if(vi&&vi.length){const gi=A(vi);si.setRealPlayer(gi)}}),nt.forEach(si=>{si.parentPlayer?si.syncPlayerEvents(si.parentPlayer):si.destroy()});for(let si=0;si!An.destroyed);un.length?zi(this,vi,un):this.processLeaveNode(vi)}return mi.length=0,zn.forEach(si=>{this.players.push(si),si.onDone(()=>{si.destroy();const vi=this.players.indexOf(si);this.players.splice(vi,1)}),si.play()}),zn}elementContainsData(B,U){let Se=!1;const nt=U[Pi];return nt&&nt.setForRemoval&&(Se=!0),this.playersByElement.has(U)&&(Se=!0),this.playersByQueriedElement.has(U)&&(Se=!0),this.statesByElement.has(U)&&(Se=!0),this._fetchNamespace(B).elementContainsData(U)||Se}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,U,Se,nt,ft){let q=[];if(U){const De=this.playersByQueriedElement.get(B);De&&(q=De)}else{const De=this.playersByElement.get(B);if(De){const ie=!ft||ft==Ui;De.forEach(Ge=>{Ge.queued||!ie&&Ge.triggerName!=nt||q.push(Ge)})}}return(Se||nt)&&(q=q.filter(De=>!(Se&&Se!=De.namespaceId||nt&&nt!=De.triggerName))),q}_beforeAnimationBuild(B,U,Se){const ft=U.element,q=U.isRemovalTransition?void 0:B,De=U.isRemovalTransition?void 0:U.triggerName;for(const ie of U.timelines){const Ge=ie.element,bt=Ge!==ft,Ft=h(Se,Ge,[]);this._getPreviousPlayers(Ge,bt,q,De,U.toState).forEach(ii=>{const ai=ii.getRealPlayer();ai.beforeDestroy&&ai.beforeDestroy(),ii.destroy(),Ft.push(ii)})}rt(ft,U.fromStyles)}_buildAnimation(B,U,Se,nt,ft,q){const De=U.triggerName,ie=U.element,Ge=[],bt=new Set,Ft=new Set,jt=U.timelines.map(ai=>{const hi=ai.element;bt.add(hi);const mi=hi[Pi];if(mi&&mi.removedBeforeQueried)return new g.ZN(ai.duration,ai.delay);const yi=hi!==ie,xi=function mn(ot){const B=[];return In(ot,B),B}((Se.get(hi)||Ni).map(Bt=>Bt.getRealPlayer())).filter(Bt=>!!Bt.element&&Bt.element===hi),xe=ft.get(hi),Ee=q.get(hi),ye=s(0,this._normalizer,0,ai.keyframes,xe,Ee),st=this._buildPlayer(ai,ye,xi);if(ai.subTimeline&&nt&&Ft.add(hi),yi){const Bt=new Ct(B,De,hi);Bt.setRealPlayer(st),Ge.push(Bt)}return st});Ge.forEach(ai=>{h(this.playersByQueriedElement,ai.element,[]).push(ai),ai.onDone(()=>function $t(ot,B,U){let Se;if(ot instanceof Map){if(Se=ot.get(B),Se){if(Se.length){const nt=Se.indexOf(U);Se.splice(nt,1)}0==Se.length&&ot.delete(B)}}else if(Se=ot[B],Se){if(Se.length){const nt=Se.indexOf(U);Se.splice(nt,1)}0==Se.length&&delete ot[B]}return Se}(this.playersByQueriedElement,ai.element,ai))}),bt.forEach(ai=>di(ai,me));const ii=A(jt);return ii.onDestroy(()=>{bt.forEach(ai=>Oi(ai,me)),tt(ie,U.toStyles)}),Ft.forEach(ai=>{h(nt,ai,[]).push(ii)}),ii}_buildPlayer(B,U,Se){return U.length>0?this.driver.animate(B.element,U,B.duration,B.delay,B.easing,Se):new g.ZN(B.duration,B.delay)}}class Ct{constructor(B,U,Se){this.namespaceId=B,this.triggerName=U,this.element=Se,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(B){this._containsRealPlayer||(this._player=B,Object.keys(this._queuedCallbacks).forEach(U=>{this._queuedCallbacks[U].forEach(Se=>b(B,U,void 0,Se))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(B.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(B){this.totalTime=B}syncPlayerEvents(B){const U=this._player;U.triggerCallback&&B.onStart(()=>U.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,U){h(this._queuedCallbacks,B,[]).push(U)}onDone(B){this.queued&&this._queueEvent("done",B),this._player.onDone(B)}onStart(B){this.queued&&this._queueEvent("start",B),this._player.onStart(B)}onDestroy(B){this.queued&&this._queueEvent("destroy",B),this._player.onDestroy(B)}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(B){this.queued||this._player.setPosition(B)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(B){const U=this._player;U.triggerCallback&&U.triggerCallback(B)}}function lt(ot){return ot&&1===ot.nodeType}function ct(ot,B){const U=ot.style.display;return ot.style.display=null!=B?B:"none",U}function zt(ot,B,U,Se,nt){const ft=[];U.forEach(ie=>ft.push(ct(ie)));const q=[];Se.forEach((ie,Ge)=>{const bt={};ie.forEach(Ft=>{const jt=bt[Ft]=B.computeStyle(Ge,Ft,nt);(!jt||0==jt.length)&&(Ge[Pi]=pn,q.push(Ge))}),ot.set(Ge,bt)});let De=0;return U.forEach(ie=>ct(ie,ft[De++])),q}function Jt(ot,B){const U=new Map;if(ot.forEach(De=>U.set(De,[])),0==B.length)return U;const nt=new Set(B),ft=new Map;function q(De){if(!De)return 1;let ie=ft.get(De);if(ie)return ie;const Ge=De.parentNode;return ie=U.has(Ge)?Ge:nt.has(Ge)?1:q(Ge),ft.set(De,ie),ie}return B.forEach(De=>{const ie=q(De);1!==ie&&U.get(ie).push(De)}),U}function di(ot,B){var U;null===(U=ot.classList)||void 0===U||U.add(B)}function Oi(ot,B){var U;null===(U=ot.classList)||void 0===U||U.remove(B)}function zi(ot,B,U){A(U).onDone(()=>ot.processLeaveNode(B))}function In(ot,B){for(let U=0;Unt.add(ft)):B.set(ot,Se),U.delete(ot),!0}class Zn{constructor(B,U,Se){this.bodyNode=B,this._driver=U,this._normalizer=Se,this._triggerCache={},this.onRemovalComplete=(nt,ft)=>{},this._transitionEngine=new qi(B,U,Se),this._timelineEngine=new Mt(B,U,Se),this._transitionEngine.onRemovalComplete=(nt,ft)=>this.onRemovalComplete(nt,ft)}registerTrigger(B,U,Se,nt,ft){const q=B+"-"+nt;let De=this._triggerCache[q];if(!De){const ie=[],Ge=Zt(this._driver,ft,ie);if(ie.length)throw new Error(`The animation trigger "${nt}" has failed to build due to the following errors:\n - ${ie.join("\n - ")}`);De=function Ze(ot,B,U){return new gt(ot,B,U)}(nt,Ge,this._normalizer),this._triggerCache[q]=De}this._transitionEngine.registerTrigger(U,nt,De)}register(B,U){this._transitionEngine.register(B,U)}destroy(B,U){this._transitionEngine.destroy(B,U)}onInsert(B,U,Se,nt){this._transitionEngine.insertNode(B,U,Se,nt)}onRemove(B,U,Se,nt){this._transitionEngine.removeNode(B,U,nt||!1,Se)}disableAnimations(B,U){this._transitionEngine.markElementAsDisabled(B,U)}process(B,U,Se,nt){if("@"==Se.charAt(0)){const[ft,q]=k(Se);this._timelineEngine.command(ft,U,q,nt)}else this._transitionEngine.trigger(B,U,Se,nt)}listen(B,U,Se,nt,ft){if("@"==Se.charAt(0)){const[q,De]=k(Se);return this._timelineEngine.listen(q,U,De,ft)}return this._transitionEngine.listen(B,U,Se,nt,ft)}flush(B=-1){this._transitionEngine.flush(B)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Rn=(()=>{class ot{constructor(U,Se,nt){this._element=U,this._startStyles=Se,this._endStyles=nt,this._state=0;let ft=ot.initialStylesByElement.get(U);ft||ot.initialStylesByElement.set(U,ft={}),this._initialStyles=ft}start(){this._state<1&&(this._startStyles&&tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tt(this._element,this._initialStyles),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ot.initialStylesByElement.delete(this._element),this._startStyles&&(rt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rt(this._element,this._endStyles),this._endStyles=null),tt(this._element,this._initialStyles),this._state=3)}}return ot.initialStylesByElement=new WeakMap,ot})();function Gn(ot){let B=null;const U=Object.keys(ot);for(let Se=0;SeB()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const B=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,B,this.options),this._finalKeyframe=B.length?B[B.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(B,U,Se){return B.animate(U,Se)}onStart(B){this._onStartFns.push(B)}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(B=>B()),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}_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(B=>B()),this._onDestroyFns=[])}setPosition(B){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=B*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const B={};if(this.hasStarted()){const U=this._finalKeyframe;Object.keys(U).forEach(Se=>{"offset"!=Se&&(B[Se]=this._finished?U[Se]:c(this.element,Se))})}this.currentSnapshot=B}triggerCallback(B){const U="start"==B?this._onStartFns:this._onDoneFns;U.forEach(Se=>Se()),U.length=0}}class vs{validateStyleProperty(B){return de(B)}matchesElement(B,U){return!1}containsElement(B,U){return ae(B,U)}query(B,U,Se){return j(B,U,Se)}computeStyle(B,U,Se){return window.getComputedStyle(B)[U]}animate(B,U,Se,nt,ft,q=[]){const ie={duration:Se,delay:nt,fill:0==nt?"both":"forwards"};ft&&(ie.easing=ft);const Ge={},bt=q.filter(jt=>jt instanceof ys);(function o(ot,B){return 0===ot||0===B})(Se,nt)&&bt.forEach(jt=>{let ii=jt.currentSnapshot;Object.keys(ii).forEach(ai=>Ge[ai]=ii[ai])}),U=function t(ot,B,U){const Se=Object.keys(U);if(Se.length&&B.length){let ft=B[0],q=[];if(Se.forEach(De=>{ft.hasOwnProperty(De)||q.push(De),ft[De]=U[De]}),q.length)for(var nt=1;ntCe(jt,!1)),Ge);const Ft=function kn(ot,B){let U=null,Se=null;return Array.isArray(B)&&B.length?(U=Gn(B[0]),B.length>1&&(Se=Gn(B[B.length-1]))):B&&(U=Gn(B)),U||Se?new Rn(ot,U,Se):null}(B,U);return new ys(B,U,ie,Ft)}}var ss=d(69808);let os=(()=>{class ot extends g._j{constructor(U,Se){super(),this._nextAnimationId=0,this._renderer=U.createRenderer(Se.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(U){const Se=this._nextAnimationId.toString();this._nextAnimationId++;const nt=Array.isArray(U)?(0,g.vP)(U):U;return Cs(this._renderer,null,Se,"register",[nt]),new Ts(Se,this._renderer)}}return ot.\u0275fac=function(U){return new(U||ot)(e.LFG(e.FYo),e.LFG(ss.K0))},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})();class Ts extends g.LC{constructor(B,U){super(),this._id=B,this._renderer=U}create(B,U){return new wn(this._id,B,U||{},this._renderer)}}class wn{constructor(B,U,Se,nt){this.id=B,this.element=U,this._renderer=nt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Se)}_listen(B,U){return this._renderer.listen(this.element,`@@${this.id}:${B}`,U)}_command(B,...U){return Cs(this._renderer,this.element,this.id,B,U)}onDone(B){this._listen("done",B)}onStart(B){this._listen("start",B)}onDestroy(B){this._listen("destroy",B)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(B){this._command("setPosition",B)}getPosition(){var B,U;return null!==(U=null===(B=this._renderer.engine.players[+this.id])||void 0===B?void 0:B.getPosition())&&void 0!==U?U:0}}function Cs(ot,B,U,Se,nt){return ot.setProperty(B,`@@${U}:${Se}`,nt)}const Fn="@.disabled";let Jn=(()=>{class ot{constructor(U,Se,nt){this.delegate=U,this.engine=Se,this._zone=nt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Se.onRemovalComplete=(ft,q)=>{const De=null==q?void 0:q.parentNode(ft);De&&q.removeChild(De,ft)}}createRenderer(U,Se){const ft=this.delegate.createRenderer(U,Se);if(!(U&&Se&&Se.data&&Se.data.animation)){let bt=this._rendererCache.get(ft);return bt||(bt=new Qn("",ft,this.engine),this._rendererCache.set(ft,bt)),bt}const q=Se.id,De=Se.id+"-"+this._currentId;this._currentId++,this.engine.register(De,U);const ie=bt=>{Array.isArray(bt)?bt.forEach(ie):this.engine.registerTrigger(q,De,U,bt.name,bt)};return Se.data.animation.forEach(ie),new Xn(this,De,ft,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(U,Se,nt){U>=0&&USe(nt)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ft=>{const[q,De]=ft;q(De)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Se,nt]))}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()}}return ot.\u0275fac=function(U){return new(U||ot)(e.LFG(e.FYo),e.LFG(Zn),e.LFG(e.R0b))},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})();class Qn{constructor(B,U,Se){this.namespaceId=B,this.delegate=U,this.engine=Se,this.destroyNode=this.delegate.destroyNode?nt=>U.destroyNode(nt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(B,U){return this.delegate.createElement(B,U)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,U){this.delegate.appendChild(B,U),this.engine.onInsert(this.namespaceId,U,B,!1)}insertBefore(B,U,Se,nt=!0){this.delegate.insertBefore(B,U,Se),this.engine.onInsert(this.namespaceId,U,B,nt)}removeChild(B,U,Se){this.engine.onRemove(this.namespaceId,U,this.delegate,Se)}selectRootElement(B,U){return this.delegate.selectRootElement(B,U)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,U,Se,nt){this.delegate.setAttribute(B,U,Se,nt)}removeAttribute(B,U,Se){this.delegate.removeAttribute(B,U,Se)}addClass(B,U){this.delegate.addClass(B,U)}removeClass(B,U){this.delegate.removeClass(B,U)}setStyle(B,U,Se,nt){this.delegate.setStyle(B,U,Se,nt)}removeStyle(B,U,Se){this.delegate.removeStyle(B,U,Se)}setProperty(B,U,Se){"@"==U.charAt(0)&&U==Fn?this.disableAnimations(B,!!Se):this.delegate.setProperty(B,U,Se)}setValue(B,U){this.delegate.setValue(B,U)}listen(B,U,Se){return this.delegate.listen(B,U,Se)}disableAnimations(B,U){this.engine.disableAnimations(B,U)}}class Xn extends Qn{constructor(B,U,Se,nt){super(U,Se,nt),this.factory=B,this.namespaceId=U}setProperty(B,U,Se){"@"==U.charAt(0)?"."==U.charAt(1)&&U==Fn?this.disableAnimations(B,Se=void 0===Se||!!Se):this.engine.process(this.namespaceId,B,U.substr(1),Se):this.delegate.setProperty(B,U,Se)}listen(B,U,Se){if("@"==U.charAt(0)){const nt=function Ln(ot){switch(ot){case"body":return document.body;case"document":return document;case"window":return window;default:return ot}}(B);let ft=U.substr(1),q="";return"@"!=ft.charAt(0)&&([ft,q]=function Hn(ot){const B=ot.indexOf(".");return[ot.substring(0,B),ot.substr(B+1)]}(ft)),this.engine.listen(this.namespaceId,nt,ft,q,De=>{this.factory.scheduleListenerCallback(De._data||-1,Se,De)})}return this.delegate.listen(B,U,Se)}}let hs=(()=>{class ot extends Zn{constructor(U,Se,nt){super(U.body,Se,nt)}ngOnDestroy(){this.flush()}}return ot.\u0275fac=function(U){return new(U||ot)(e.LFG(ss.K0),e.LFG(te),e.LFG(Si))},ot.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac}),ot})();const ps=new e.OlP("AnimationModuleType"),_n=[{provide:g._j,useClass:os},{provide:Si,useFactory:function jn(){return new nn}},{provide:Zn,useClass:hs},{provide:e.FYo,useFactory:function Sn(ot,B,U){return new Jn(ot,B,U)},deps:[f.se,Zn,e.R0b]}],es=[{provide:te,useFactory:()=>new vs},{provide:ps,useValue:"BrowserAnimations"},..._n],Es=[{provide:te,useClass:Q},{provide:ps,useValue:"NoopAnimations"},..._n];let Un=(()=>{class ot{static withConfig(U){return{ngModule:ot,providers:U.disableAnimations?Es:es}}}return ot.\u0275fac=function(U){return new(U||ot)},ot.\u0275mod=e.oAB({type:ot}),ot.\u0275inj=e.cJS({providers:es,imports:[f.b2]}),ot})()},22313:(Ke,be,d)=>{"use strict";d.d(be,{b2:()=>P,H7:()=>Ue,Dx:()=>t,q6:()=>S,se:()=>Me});var e=d(69808),f=d(5e3);class g extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends g{static makeCurrent(){(0,e.HT)(new T)}onAndCancel(Et,At,Ot){return Et.addEventListener(At,Ot,!1),()=>{Et.removeEventListener(At,Ot,!1)}}dispatchEvent(Et,At){Et.dispatchEvent(At)}remove(Et){Et.parentNode&&Et.parentNode.removeChild(Et)}createElement(Et,At){return(At=At||this.getDefaultDocument()).createElement(Et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Et){return Et.nodeType===Node.ELEMENT_NODE}isShadowRoot(Et){return Et instanceof DocumentFragment}getGlobalEventTarget(Et,At){return"window"===At?window:"document"===At?Et:"body"===At?Et.body:null}getBaseHref(Et){const At=function A(){return m=m||document.querySelector("base"),m?m.getAttribute("href"):null}();return null==At?null:function b(Dt){s=s||document.createElement("a"),s.setAttribute("href",Dt);const Et=s.pathname;return"/"===Et.charAt(0)?Et:`/${Et}`}(At)}resetBaseElement(){m=null}getUserAgent(){return window.navigator.userAgent}getCookie(Et){return(0,e.Mx)(document.cookie,Et)}}let s,m=null;const O=new f.OlP("TRANSITION_ID"),h=[{provide:f.ip1,useFactory:function E(Dt,Et,At){return()=>{At.get(f.CZH).donePromise.then(()=>{const Ot=(0,e.q)(),Kt=Et.querySelectorAll(`style[ng-transition="${Dt}"]`);for(let li=0;li{const li=Et.findTestabilityInTree(Ot,Kt);if(null==li)throw new Error("Could not find testability for element.");return li},f.dqk.getAllAngularTestabilities=()=>Et.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>Et.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(Ot=>{const Kt=f.dqk.getAllAngularTestabilities();let li=Kt.length,fi=!1;const Ci=function(Si){fi=fi||Si,li--,0==li&&Ot(fi)};Kt.forEach(function(Si){Si.whenStable(Ci)})})}findTestabilityInTree(Et,At,Ot){if(null==At)return null;const Kt=Et.getTestability(At);return null!=Kt?Kt:Ot?(0,e.q)().isShadowRoot(At)?this.findTestabilityInTree(Et,At.host,!0):this.findTestabilityInTree(Et,At.parentElement,!0):null}}let L=(()=>{class Dt{build(){return new XMLHttpRequest}}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const V=new f.OlP("EventManagerPlugins");let $=(()=>{class Dt{constructor(At,Ot){this._zone=Ot,this._eventNameToPlugin=new Map,At.forEach(Kt=>Kt.manager=this),this._plugins=At.slice().reverse()}addEventListener(At,Ot,Kt){return this._findPluginFor(Ot).addEventListener(At,Ot,Kt)}addGlobalEventListener(At,Ot,Kt){return this._findPluginFor(Ot).addGlobalEventListener(At,Ot,Kt)}getZone(){return this._zone}_findPluginFor(At){const Ot=this._eventNameToPlugin.get(At);if(Ot)return Ot;const Kt=this._plugins;for(let li=0;li{class Dt{constructor(){this._stylesSet=new Set}addStyles(At){const Ot=new Set;At.forEach(Kt=>{this._stylesSet.has(Kt)||(this._stylesSet.add(Kt),Ot.add(Kt))}),this.onStylesAdded(Ot)}onStylesAdded(At){}getAllStyles(){return Array.from(this._stylesSet)}}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})(),Le=(()=>{class Dt extends ce{constructor(At){super(),this._doc=At,this._hostNodes=new Map,this._hostNodes.set(At.head,[])}_addStylesToHost(At,Ot,Kt){At.forEach(li=>{const fi=this._doc.createElement("style");fi.textContent=li,Kt.push(Ot.appendChild(fi))})}addHost(At){const Ot=[];this._addStylesToHost(this._stylesSet,At,Ot),this._hostNodes.set(At,Ot)}removeHost(At){const Ot=this._hostNodes.get(At);Ot&&Ot.forEach(de),this._hostNodes.delete(At)}onStylesAdded(At){this._hostNodes.forEach((Ot,Kt)=>{this._addStylesToHost(At,Kt,Ot)})}ngOnDestroy(){this._hostNodes.forEach(At=>At.forEach(de))}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();function de(Dt){(0,e.q)().remove(Dt)}const ke={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/"},ae=/%COMP%/g,H="%COMP%",Q=`_nghost-${H}`,te=`_ngcontent-${H}`;function Ne(Dt,Et,At){for(let Ot=0;Ot{if("__ngUnwrap__"===Et)return Dt;!1===Dt(Et)&&(Et.preventDefault(),Et.returnValue=!1)}}let Me=(()=>{class Dt{constructor(At,Ot,Kt){this.eventManager=At,this.sharedStylesHost=Ot,this.appId=Kt,this.rendererByCompId=new Map,this.defaultRenderer=new ve(At)}createRenderer(At,Ot){if(!At||!Ot)return this.defaultRenderer;switch(Ot.encapsulation){case f.ifc.Emulated:{let Kt=this.rendererByCompId.get(Ot.id);return Kt||(Kt=new ee(this.eventManager,this.sharedStylesHost,Ot,this.appId),this.rendererByCompId.set(Ot.id,Kt)),Kt.applyToHost(At),Kt}case 1:case f.ifc.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,At,Ot);default:if(!this.rendererByCompId.has(Ot.id)){const Kt=Ne(Ot.id,Ot.styles,[]);this.sharedStylesHost.addStyles(Kt),this.rendererByCompId.set(Ot.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG($),f.LFG(Le),f.LFG(f.AFp))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();class ve{constructor(Et){this.eventManager=Et,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Et,At){return At?document.createElementNS(ke[At]||At,Et):document.createElement(Et)}createComment(Et){return document.createComment(Et)}createText(Et){return document.createTextNode(Et)}appendChild(Et,At){Et.appendChild(At)}insertBefore(Et,At,Ot){Et&&Et.insertBefore(At,Ot)}removeChild(Et,At){Et&&Et.removeChild(At)}selectRootElement(Et,At){let Ot="string"==typeof Et?document.querySelector(Et):Et;if(!Ot)throw new Error(`The selector "${Et}" did not match any elements`);return At||(Ot.textContent=""),Ot}parentNode(Et){return Et.parentNode}nextSibling(Et){return Et.nextSibling}setAttribute(Et,At,Ot,Kt){if(Kt){At=Kt+":"+At;const li=ke[Kt];li?Et.setAttributeNS(li,At,Ot):Et.setAttribute(At,Ot)}else Et.setAttribute(At,Ot)}removeAttribute(Et,At,Ot){if(Ot){const Kt=ke[Ot];Kt?Et.removeAttributeNS(Kt,At):Et.removeAttribute(`${Ot}:${At}`)}else Et.removeAttribute(At)}addClass(Et,At){Et.classList.add(At)}removeClass(Et,At){Et.classList.remove(At)}setStyle(Et,At,Ot,Kt){Kt&(f.JOm.DashCase|f.JOm.Important)?Et.style.setProperty(At,Ot,Kt&f.JOm.Important?"important":""):Et.style[At]=Ot}removeStyle(Et,At,Ot){Ot&f.JOm.DashCase?Et.style.removeProperty(At):Et.style[At]=""}setProperty(Et,At,Ot){Et[At]=Ot}setValue(Et,At){Et.nodeValue=At}listen(Et,At,Ot){return"string"==typeof Et?this.eventManager.addGlobalEventListener(Et,At,Fe(Ot)):this.eventManager.addEventListener(Et,At,Fe(Ot))}}class ee extends ve{constructor(Et,At,Ot,Kt){super(Et),this.component=Ot;const li=Ne(Kt+"-"+Ot.id,Ot.styles,[]);At.addStyles(li),this.contentAttr=function se(Dt){return te.replace(ae,Dt)}(Kt+"-"+Ot.id),this.hostAttr=function ge(Dt){return Q.replace(ae,Dt)}(Kt+"-"+Ot.id)}applyToHost(Et){super.setAttribute(Et,this.hostAttr,"")}createElement(Et,At){const Ot=super.createElement(Et,At);return super.setAttribute(Ot,this.contentAttr,""),Ot}}class R extends ve{constructor(Et,At,Ot,Kt){super(Et),this.sharedStylesHost=At,this.hostEl=Ot,this.shadowRoot=Ot.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const li=Ne(Kt.id,Kt.styles,[]);for(let fi=0;fi{class Dt extends ue{constructor(At){super(At)}supports(At){return!0}addEventListener(At,Ot,Kt){return At.addEventListener(Ot,Kt,!1),()=>this.removeEventListener(At,Ot,Kt)}removeEventListener(At,Ot,Kt){return At.removeEventListener(Ot,Kt)}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const Ie=["alt","control","meta","shift"],fe={"\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"},Ce={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ve={alt:Dt=>Dt.altKey,control:Dt=>Dt.ctrlKey,meta:Dt=>Dt.metaKey,shift:Dt=>Dt.shiftKey};let Xe=(()=>{class Dt extends ue{constructor(At){super(At)}supports(At){return null!=Dt.parseEventName(At)}addEventListener(At,Ot,Kt){const li=Dt.parseEventName(Ot),fi=Dt.eventCallback(li.fullKey,Kt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(At,li.domEventName,fi))}static parseEventName(At){const Ot=At.toLowerCase().split("."),Kt=Ot.shift();if(0===Ot.length||"keydown"!==Kt&&"keyup"!==Kt)return null;const li=Dt._normalizeKey(Ot.pop());let fi="";if(Ie.forEach(Si=>{const Vi=Ot.indexOf(Si);Vi>-1&&(Ot.splice(Vi,1),fi+=Si+".")}),fi+=li,0!=Ot.length||0===li.length)return null;const Ci={};return Ci.domEventName=Kt,Ci.fullKey=fi,Ci}static getEventFullKey(At){let Ot="",Kt=function tt(Dt){let Et=Dt.key;if(null==Et){if(Et=Dt.keyIdentifier,null==Et)return"Unidentified";Et.startsWith("U+")&&(Et=String.fromCharCode(parseInt(Et.substring(2),16)),3===Dt.location&&Ce.hasOwnProperty(Et)&&(Et=Ce[Et]))}return fe[Et]||Et}(At);return Kt=Kt.toLowerCase()," "===Kt?Kt="space":"."===Kt&&(Kt="dot"),Ie.forEach(li=>{li!=Kt&&Ve[li](At)&&(Ot+=li+".")}),Ot+=Kt,Ot}static eventCallback(At,Ot,Kt){return li=>{Dt.getEventFullKey(li)===At&&Kt.runGuarded(()=>Ot(li))}}static _normalizeKey(At){return"esc"===At?"escape":At}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:Dt.\u0275fac}),Dt})();const S=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:e.bD},{provide:f.g9A,useValue:function rt(){T.makeCurrent(),k.init()},multi:!0},{provide:e.K0,useFactory:function he(){return(0,f.RDi)(document),document},deps:[]}]),I=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function N(){return new f.qLn},deps:[]},{provide:V,useClass:Oe,multi:!0,deps:[e.K0,f.R0b,f.Lbi]},{provide:V,useClass:Xe,multi:!0,deps:[e.K0]},{provide:Me,useClass:Me,deps:[$,Le,f.AFp]},{provide:f.FYo,useExisting:Me},{provide:ce,useExisting:Le},{provide:Le,useClass:Le,deps:[e.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:$,useClass:$,deps:[V,f.R0b]},{provide:e.JF,useClass:L,deps:[]}];let P=(()=>{class Dt{constructor(At){if(At)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(At){return{ngModule:Dt,providers:[{provide:f.AFp,useValue:At.appId},{provide:O,useExisting:f.AFp},h]}}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(Dt,12))},Dt.\u0275mod=f.oAB({type:Dt}),Dt.\u0275inj=f.cJS({providers:I,imports:[e.ez,f.hGG]}),Dt})(),t=(()=>{class Dt{constructor(At){this._doc=At}getTitle(){return this._doc.title}setTitle(At){this._doc.title=At||""}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new At:function o(){return new t((0,f.LFG)(e.K0))}(),Ot},providedIn:"root"}),Dt})();"undefined"!=typeof window&&window;let Ue=(()=>{class Dt{}return Dt.\u0275fac=function(At){return new(At||Dt)},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new(At||Dt):f.LFG(Ut),Ot},providedIn:"root"}),Dt})(),Ut=(()=>{class Dt extends Ue{constructor(At){super(),this._doc=At}sanitize(At,Ot){if(null==Ot)return null;switch(At){case f.q3G.NONE:return Ot;case f.q3G.HTML:return(0,f.qzn)(Ot,"HTML")?(0,f.z3N)(Ot):(0,f.EiD)(this._doc,String(Ot)).toString();case f.q3G.STYLE:return(0,f.qzn)(Ot,"Style")?(0,f.z3N)(Ot):Ot;case f.q3G.SCRIPT:if((0,f.qzn)(Ot,"Script"))return(0,f.z3N)(Ot);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(Ot),(0,f.qzn)(Ot,"URL")?(0,f.z3N)(Ot):(0,f.mCW)(String(Ot));case f.q3G.RESOURCE_URL:if((0,f.qzn)(Ot,"ResourceURL"))return(0,f.z3N)(Ot);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${At} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(At){return(0,f.JVY)(At)}bypassSecurityTrustStyle(At){return(0,f.L6k)(At)}bypassSecurityTrustScript(At){return(0,f.eBb)(At)}bypassSecurityTrustUrl(At){return(0,f.LAX)(At)}bypassSecurityTrustResourceUrl(At){return(0,f.pB0)(At)}}return Dt.\u0275fac=function(At){return new(At||Dt)(f.LFG(e.K0))},Dt.\u0275prov=f.Yz7({token:Dt,factory:function(At){let Ot=null;return Ot=At?new At:function wt(Dt){return new Ut(Dt.get(e.K0))}(f.LFG(f.zs3)),Ot},providedIn:"root"}),Dt})()},30325:(Ke,be,d)=>{"use strict";d.d(be,{gz:()=>Ji,m2:()=>Ce,OD:()=>fe,GZ:()=>Qs,wN:()=>oi,F0:()=>vn,rH:()=>$s,yS:()=>Js,Bz:()=>fu,lC:()=>Sn});var e=d(5e3),f=d(5254),g=d(21086),T=d(591),m=d(36053),A=d(32916),s=d(84450),b=d(61221),O=d(88514),E=d(68896),h=d(71762),k=d(8929),L=d(43489);function V(pe,W){let z=!1;return arguments.length>=2&&(z=!0),function(ze){return ze.lift(new $(pe,W,z))}}class ${constructor(W,z,Pe=!1){this.accumulator=W,this.seed=z,this.hasSeed=Pe}call(W,z){return z.subscribe(new ue(W,this.accumulator,this.seed,this.hasSeed))}}class ue extends L.L{constructor(W,z,Pe,ze){super(W),this.accumulator=z,this._seed=Pe,this.hasSeed=ze,this.index=0}get seed(){return this._seed}set seed(W){this.hasSeed=!0,this._seed=W}_next(W){if(this.hasSeed)return this._tryNext(W);this.seed=W,this.destination.next(W)}_tryNext(W){const z=this.index++;let Pe;try{Pe=this.accumulator(this.seed,W,z)}catch(ze){this.destination.error(ze)}this.seed=Pe,this.destination.next(Pe)}}var ce=d(92198),Le=d(94231);function de(pe){return function(z){return 0===pe?(0,E.c)():z.lift(new ke(pe))}}class ke{constructor(W){if(this.total=W,this.total<0)throw new Le.W}call(W,z){return z.subscribe(new ae(W,this.total))}}class ae extends L.L{constructor(W,z){super(W),this.total=z,this.ring=new Array,this.count=0}_next(W){const z=this.ring,Pe=this.total,ze=this.count++;z.length0){const Pe=this.count>=this.total?this.total:this.count,ze=this.ring;for(let dt=0;dtpe.length||"full"===z.pathMatch&&(W.hasChildren()||Pe.lengthPe[dt]===ze)}return pe===W}function Nt(pe){return Array.prototype.concat.apply([],pe)}function It(pe){return pe.length>0?pe[pe.length-1]:null}function mt(pe,W){for(const z in pe)pe.hasOwnProperty(z)&&W(pe[z],z)}function Ht(pe){return(0,e.CqO)(pe)?pe:(0,e.QGY)(pe)?(0,f.D)(Promise.resolve(pe)):(0,g.of)(pe)}const Je={exact:function qe(pe,W,z){if(!Ut(pe.segments,W.segments)||!G(pe.segments,W.segments,z)||pe.numberOfChildren!==W.numberOfChildren)return!1;for(const Pe in W.children)if(!pe.children[Pe]||!qe(pe.children[Pe],W.children[Pe],z))return!1;return!0},subset:oe},Lt={exact:function Rt(pe,W){return yt(pe,W)},subset:function Ye(pe,W){return Object.keys(W).length<=Object.keys(pe).length&&Object.keys(W).every(z=>pt(pe[z],W[z]))},ignored:()=>!0};function ht(pe,W,z){return Je[z.paths](pe.root,W.root,z.matrixParams)&&Lt[z.queryParams](pe.queryParams,W.queryParams)&&!("exact"===z.fragment&&pe.fragment!==W.fragment)}function oe(pe,W,z){return Z(pe,W,W.segments,z)}function Z(pe,W,z,Pe){if(pe.segments.length>z.length){const ze=pe.segments.slice(0,z.length);return!(!Ut(ze,z)||W.hasChildren()||!G(ze,z,Pe))}if(pe.segments.length===z.length){if(!Ut(pe.segments,z)||!G(pe.segments,z,Pe))return!1;for(const ze in W.children)if(!pe.children[ze]||!oe(pe.children[ze],W.children[ze],Pe))return!1;return!0}{const ze=z.slice(0,pe.segments.length),dt=z.slice(pe.segments.length);return!!(Ut(pe.segments,ze)&&G(pe.segments,ze,Pe)&&pe.children[t])&&Z(pe.children[t],W,dt,Pe)}}function G(pe,W,z){return W.every((Pe,ze)=>Lt[z](pe[ze].parameters,Pe.parameters))}class X{constructor(W,z,Pe){this.root=W,this.queryParams=z,this.fragment=Pe}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=c(this.queryParams)),this._queryParamMap}toString(){return At.serialize(this)}}class _e{constructor(W,z){this.segments=W,this.children=z,this.parent=null,mt(z,(Pe,ze)=>Pe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ot(this)}}class Ue{constructor(W,z){this.path=W,this.parameters=z}get parameterMap(){return this._parameterMap||(this._parameterMap=c(this.parameters)),this._parameterMap}toString(){return $i(this)}}function Ut(pe,W){return pe.length===W.length&&pe.every((z,Pe)=>z.path===W[Pe].path)}class Dt{}class Et{parse(W){const z=new F(W);return new X(z.parseRootSegment(),z.parseQueryParams(),z.parseFragment())}serialize(W){const z=`/${Kt(W.root,!0)}`,Pe=function bn(pe){const W=Object.keys(pe).map(z=>{const Pe=pe[z];return Array.isArray(Pe)?Pe.map(ze=>`${fi(z)}=${fi(ze)}`).join("&"):`${fi(z)}=${fi(Pe)}`}).filter(z=>!!z);return W.length?`?${W.join("&")}`:""}(W.queryParams);return`${z}${Pe}${"string"==typeof W.fragment?`#${function Ci(pe){return encodeURI(pe)}(W.fragment)}`:""}`}}const At=new Et;function Ot(pe){return pe.segments.map(W=>$i(W)).join("/")}function Kt(pe,W){if(!pe.hasChildren())return Ot(pe);if(W){const z=pe.children[t]?Kt(pe.children[t],!1):"",Pe=[];return mt(pe.children,(ze,dt)=>{dt!==t&&Pe.push(`${dt}:${Kt(ze,!1)}`)}),Pe.length>0?`${z}(${Pe.join("//")})`:z}{const z=function Vt(pe,W){let z=[];return mt(pe.children,(Pe,ze)=>{ze===t&&(z=z.concat(W(Pe,ze)))}),mt(pe.children,(Pe,ze)=>{ze!==t&&(z=z.concat(W(Pe,ze)))}),z}(pe,(Pe,ze)=>ze===t?[Kt(pe.children[t],!1)]:[`${ze}:${Kt(Pe,!1)}`]);return 1===Object.keys(pe.children).length&&null!=pe.children[t]?`${Ot(pe)}/${z[0]}`:`${Ot(pe)}/(${z.join("//")})`}}function li(pe){return encodeURIComponent(pe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fi(pe){return li(pe).replace(/%3B/gi,";")}function Si(pe){return li(pe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vi(pe){return decodeURIComponent(pe)}function nn(pe){return Vi(pe.replace(/\+/g,"%20"))}function $i(pe){return`${Si(pe.path)}${function Yi(pe){return Object.keys(pe).map(W=>`;${Si(W)}=${Si(pe[W])}`).join("")}(pe.parameters)}`}const Qi=/^[^\/()?;=#]+/;function We(pe){const W=pe.match(Qi);return W?W[0]:""}const Tt=/^[^=?&#]+/,Ze=/^[^&#]+/;class F{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _e([],{}):new _e([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let z={};this.peekStartsWith("/(")&&(this.capture("/"),z=this.parseParens(!0));let Pe={};return this.peekStartsWith("(")&&(Pe=this.parseParens(!1)),(W.length>0||Object.keys(z).length>0)&&(Pe[t]=new _e(W,z)),Pe}parseSegment(){const W=We(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(W),new Ue(Vi(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const z=We(this.remaining);if(!z)return;this.capture(z);let Pe="";if(this.consumeOptional("=")){const ze=We(this.remaining);ze&&(Pe=ze,this.capture(Pe))}W[Vi(z)]=Vi(Pe)}parseQueryParam(W){const z=function Qe(pe){const W=pe.match(Tt);return W?W[0]:""}(this.remaining);if(!z)return;this.capture(z);let Pe="";if(this.consumeOptional("=")){const St=function gt(pe){const W=pe.match(Ze);return W?W[0]:""}(this.remaining);St&&(Pe=St,this.capture(Pe))}const ze=nn(z),dt=nn(Pe);if(W.hasOwnProperty(ze)){let St=W[ze];Array.isArray(St)||(St=[St],W[ze]=St),St.push(dt)}else W[ze]=dt}parseParens(W){const z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Pe=We(this.remaining),ze=this.remaining[Pe.length];if("/"!==ze&&")"!==ze&&";"!==ze)throw new Error(`Cannot parse url '${this.url}'`);let dt;Pe.indexOf(":")>-1?(dt=Pe.substr(0,Pe.indexOf(":")),this.capture(dt),this.capture(":")):W&&(dt=t);const St=this.parseChildren();z[dt]=1===Object.keys(St).length?St[t]:new _e([],St),this.consumeOptional("//")}return z}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new Error(`Expected "${W}".`)}}class Be{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const z=this.pathFromRoot(W);return z.length>1?z[z.length-2]:null}children(W){const z=ut(W,this._root);return z?z.children.map(Pe=>Pe.value):[]}firstChild(W){const z=ut(W,this._root);return z&&z.children.length>0?z.children[0].value:null}siblings(W){const z=Mt(W,this._root);return z.length<2?[]:z[z.length-2].children.map(ze=>ze.value).filter(ze=>ze!==W)}pathFromRoot(W){return Mt(W,this._root).map(z=>z.value)}}function ut(pe,W){if(pe===W.value)return W;for(const z of W.children){const Pe=ut(pe,z);if(Pe)return Pe}return null}function Mt(pe,W){if(pe===W.value)return[W];for(const z of W.children){const Pe=Mt(pe,z);if(Pe.length)return Pe.unshift(W),Pe}return[]}class ei{constructor(W,z){this.value=W,this.children=z}toString(){return`TreeNode(${this.value})`}}function Qt(pe){const W={};return pe&&pe.children.forEach(z=>W[z.value.outlet]=z),W}class Ri extends Be{constructor(W,z){super(W),this.snapshot=z,Ti(this,W)}toString(){return this.snapshot.toString()}}function bi(pe,W){const z=function Li(pe,W){const St=new pn([],{},{},"",{},t,W,null,pe.root,-1,{});return new Pi("",new ei(St,[]))}(pe,W),Pe=new T.X([new Ue("",{})]),ze=new T.X({}),dt=new T.X({}),St=new T.X({}),xt=new T.X(""),qt=new Ji(Pe,ze,St,xt,dt,t,W,z.root);return qt.snapshot=z.root,new Ri(new ei(qt,[]),z)}class Ji{constructor(W,z,Pe,ze,dt,St,xt,qt){this.url=W,this.params=z,this.queryParams=Pe,this.fragment=ze,this.data=dt,this.outlet=St,this.component=xt,this._futureSnapshot=qt}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._paramMap=this.params.pipe((0,se.U)(W=>c(W)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,se.U)(W=>c(W)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ni(pe,W="emptyOnly"){const z=pe.pathFromRoot;let Pe=0;if("always"!==W)for(Pe=z.length-1;Pe>=1;){const ze=z[Pe],dt=z[Pe-1];if(ze.routeConfig&&""===ze.routeConfig.path)Pe--;else{if(dt.component)break;Pe--}}return function Hi(pe){return pe.reduce((W,z)=>({params:Object.assign(Object.assign({},W.params),z.params),data:Object.assign(Object.assign({},W.data),z.data),resolve:Object.assign(Object.assign({},W.resolve),z._resolvedData)}),{params:{},data:{},resolve:{}})}(z.slice(Pe))}class pn{constructor(W,z,Pe,ze,dt,St,xt,qt,_i,ji,Ei){this.url=W,this.params=z,this.queryParams=Pe,this.fragment=ze,this.data=dt,this.outlet=St,this.component=xt,this.routeConfig=qt,this._urlSegment=_i,this._lastPathIndex=ji,this._resolve=Ei}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._paramMap=c(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=c(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Pe=>Pe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Pi extends Be{constructor(W,z){super(z),this.url=W,Ti(this,z)}toString(){return Ui(this._root)}}function Ti(pe,W){W.value._routerState=pe,W.children.forEach(z=>Ti(pe,z))}function Ui(pe){const W=pe.children.length>0?` { ${pe.children.map(Ui).join(", ")} } `:"";return`${pe.value}${W}`}function fn(pe){if(pe.snapshot){const W=pe.snapshot,z=pe._futureSnapshot;pe.snapshot=z,yt(W.queryParams,z.queryParams)||pe.queryParams.next(z.queryParams),W.fragment!==z.fragment&&pe.fragment.next(z.fragment),yt(W.params,z.params)||pe.params.next(z.params),function et(pe,W){if(pe.length!==W.length)return!1;for(let z=0;zyt(z.parameters,W[Pe].parameters))}(pe.url,W.url);return z&&!(!pe.parent!=!W.parent)&&(!pe.parent||sn(pe.parent,W.parent))}function Ct(pe,W,z){if(z&&pe.shouldReuseRoute(W.value,z.value.snapshot)){const Pe=z.value;Pe._futureSnapshot=W.value;const ze=function $t(pe,W,z){return W.children.map(Pe=>{for(const ze of z.children)if(pe.shouldReuseRoute(Pe.value,ze.value.snapshot))return Ct(pe,Pe,ze);return Ct(pe,Pe)})}(pe,W,z);return new ei(Pe,ze)}{if(pe.shouldAttach(W.value)){const dt=pe.retrieve(W.value);if(null!==dt){const St=dt.route;return St.value._futureSnapshot=W.value,St.children=W.children.map(xt=>Ct(pe,xt)),St}}const Pe=function Y(pe){return new Ji(new T.X(pe.url),new T.X(pe.params),new T.X(pe.queryParams),new T.X(pe.fragment),new T.X(pe.data),pe.outlet,pe.component,pe)}(W.value),ze=W.children.map(dt=>Ct(pe,dt));return new ei(Pe,ze)}}function we(pe){return"object"==typeof pe&&null!=pe&&!pe.outlets&&!pe.segmentPath}function ct(pe){return"object"==typeof pe&&null!=pe&&pe.outlets}function zt(pe,W,z,Pe,ze){let dt={};return Pe&&mt(Pe,(St,xt)=>{dt[xt]=Array.isArray(St)?St.map(qt=>`${qt}`):`${St}`}),new X(z.root===pe?W:Jt(z.root,pe,W),dt,ze)}function Jt(pe,W,z){const Pe={};return mt(pe.children,(ze,dt)=>{Pe[dt]=ze===W?z:Jt(ze,W,z)}),new _e(pe.segments,Pe)}class di{constructor(W,z,Pe){if(this.isAbsolute=W,this.numberOfDoubleDots=z,this.commands=Pe,W&&Pe.length>0&&we(Pe[0]))throw new Error("Root segment cannot have matrix parameters");const ze=Pe.find(ct);if(ze&&ze!==It(Pe))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zi{constructor(W,z,Pe){this.segmentGroup=W,this.processChildren=z,this.index=Pe}}function $n(pe,W,z){if(pe||(pe=new _e([],{})),0===pe.segments.length&&pe.hasChildren())return Zn(pe,W,z);const Pe=function kn(pe,W,z){let Pe=0,ze=W;const dt={match:!1,pathIndex:0,commandIndex:0};for(;ze=z.length)return dt;const St=pe.segments[ze],xt=z[Pe];if(ct(xt))break;const qt=`${xt}`,_i=Pe0&&void 0===qt)break;if(qt&&_i&&"object"==typeof _i&&void 0===_i.outlets){if(!ys(qt,_i,St))return dt;Pe+=2}else{if(!ys(qt,{},St))return dt;Pe++}ze++}return{match:!0,pathIndex:ze,commandIndex:Pe}}(pe,W,z),ze=z.slice(Pe.commandIndex);if(Pe.match&&Pe.pathIndex{"string"==typeof dt&&(dt=[dt]),null!==dt&&(ze[St]=$n(pe.children[St],W,dt))}),mt(pe.children,(dt,St)=>{void 0===Pe[St]&&(ze[St]=dt)}),new _e(pe.segments,ze)}}function Rn(pe,W,z){const Pe=pe.segments.slice(0,W);let ze=0;for(;ze{"string"==typeof z&&(z=[z]),null!==z&&(W[Pe]=Rn(new _e([],{}),0,z))}),W}function bs(pe){const W={};return mt(pe,(z,Pe)=>W[Pe]=`${z}`),W}function ys(pe,W,z){return pe==z.path&&yt(W,z.parameters)}class ss{constructor(W,z,Pe,ze){this.routeReuseStrategy=W,this.futureState=z,this.currState=Pe,this.forwardEvent=ze}activate(W){const z=this.futureState._root,Pe=this.currState?this.currState._root:null;this.deactivateChildRoutes(z,Pe,W),fn(this.futureState.root),this.activateChildRoutes(z,Pe,W)}deactivateChildRoutes(W,z,Pe){const ze=Qt(z);W.children.forEach(dt=>{const St=dt.value.outlet;this.deactivateRoutes(dt,ze[St],Pe),delete ze[St]}),mt(ze,(dt,St)=>{this.deactivateRouteAndItsChildren(dt,Pe)})}deactivateRoutes(W,z,Pe){const ze=W.value,dt=z?z.value:null;if(ze===dt)if(ze.component){const St=Pe.getContext(ze.outlet);St&&this.deactivateChildRoutes(W,z,St.children)}else this.deactivateChildRoutes(W,z,Pe);else dt&&this.deactivateRouteAndItsChildren(z,Pe)}deactivateRouteAndItsChildren(W,z){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,z):this.deactivateRouteAndOutlet(W,z)}detachAndStoreRouteSubtree(W,z){const Pe=z.getContext(W.value.outlet),ze=Pe&&W.value.component?Pe.children:z,dt=Qt(W);for(const St of Object.keys(dt))this.deactivateRouteAndItsChildren(dt[St],ze);if(Pe&&Pe.outlet){const St=Pe.outlet.detach(),xt=Pe.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:St,route:W,contexts:xt})}}deactivateRouteAndOutlet(W,z){const Pe=z.getContext(W.value.outlet),ze=Pe&&W.value.component?Pe.children:z,dt=Qt(W);for(const St of Object.keys(dt))this.deactivateRouteAndItsChildren(dt[St],ze);Pe&&Pe.outlet&&(Pe.outlet.deactivate(),Pe.children.onOutletDeactivated(),Pe.attachRef=null,Pe.resolver=null,Pe.route=null)}activateChildRoutes(W,z,Pe){const ze=Qt(z);W.children.forEach(dt=>{this.activateRoutes(dt,ze[dt.value.outlet],Pe),this.forwardEvent(new p(dt.value.snapshot))}),W.children.length&&this.forwardEvent(new i(W.value.snapshot))}activateRoutes(W,z,Pe){const ze=W.value,dt=z?z.value:null;if(fn(ze),ze===dt)if(ze.component){const St=Pe.getOrCreateContext(ze.outlet);this.activateChildRoutes(W,z,St.children)}else this.activateChildRoutes(W,z,Pe);else if(ze.component){const St=Pe.getOrCreateContext(ze.outlet);if(this.routeReuseStrategy.shouldAttach(ze.snapshot)){const xt=this.routeReuseStrategy.retrieve(ze.snapshot);this.routeReuseStrategy.store(ze.snapshot,null),St.children.onOutletReAttached(xt.contexts),St.attachRef=xt.componentRef,St.route=xt.route.value,St.outlet&&St.outlet.attach(xt.componentRef,xt.route.value),fn(xt.route.value),this.activateChildRoutes(W,null,St.children)}else{const xt=function os(pe){for(let W=pe.parent;W;W=W.parent){const z=W.routeConfig;if(z&&z._loadedConfig)return z._loadedConfig;if(z&&z.component)return null}return null}(ze.snapshot),qt=xt?xt.module.componentFactoryResolver:null;St.attachRef=null,St.route=ze,St.resolver=qt,St.outlet&&St.outlet.activateWith(ze,qt),this.activateChildRoutes(W,null,St.children)}}else this.activateChildRoutes(W,null,Pe)}}class Ts{constructor(W,z){this.routes=W,this.module=z}}function wn(pe){return"function"==typeof pe}function gn(pe){return pe instanceof X}const Ln=Symbol("INITIAL_VALUE");function Hn(){return(0,ge.w)(pe=>(0,m.aj)(pe.map(W=>W.pipe((0,Ne.q)(1),(0,Fe.O)(Ln)))).pipe(V((W,z)=>{let Pe=!1;return z.reduce((ze,dt,St)=>ze!==Ln?ze:(dt===Ln&&(Pe=!0),Pe||!1!==dt&&St!==z.length-1&&!gn(dt)?ze:dt),W)},Ln),(0,ce.h)(W=>W!==Ln),(0,se.U)(W=>gn(W)?W:!0===W),(0,Ne.q)(1)))}class hs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new jn,this.attachRef=null}}class jn{constructor(){this.contexts=new Map}onChildOutletCreated(W,z){const Pe=this.getOrCreateContext(W);Pe.outlet=z,this.contexts.set(W,Pe)}onChildOutletDestroyed(W){const z=this.getContext(W);z&&(z.outlet=null,z.attachRef=null)}onOutletDeactivated(){const W=this.contexts;return this.contexts=new Map,W}onOutletReAttached(W){this.contexts=W}getOrCreateContext(W){let z=this.getContext(W);return z||(z=new hs,this.contexts.set(W,z)),z}getContext(W){return this.contexts.get(W)||null}}let Sn=(()=>{class pe{constructor(z,Pe,ze,dt,St){this.parentContexts=z,this.location=Pe,this.resolver=ze,this.changeDetector=St,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.name=dt||t,z.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const z=this.parentContexts.getContext(this.name);z&&z.route&&(z.attachRef?this.attach(z.attachRef,z.route):this.activateWith(z.route,z.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(z.instance),z}attach(z,Pe){this.activated=z,this._activatedRoute=Pe,this.location.insert(z.hostView),this.attachEvents.emit(z.instance)}deactivate(){if(this.activated){const z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(z)}}activateWith(z,Pe){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=z;const St=(Pe=Pe||this.resolver).resolveComponentFactory(z._futureSnapshot.routeConfig.component),xt=this.parentContexts.getOrCreateContext(this.name).children,qt=new ps(z,xt,this.location.injector);this.activated=this.location.createComponent(St,this.location.length,qt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(jn),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},pe.\u0275dir=e.lG2({type:pe,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),pe})();class ps{constructor(W,z,Pe){this.route=W,this.childContexts=z,this.parent=Pe}get(W,z){return W===Ji?this.route:W===jn?this.childContexts:this.parent.get(W,z)}}let _n=(()=>{class pe{}return pe.\u0275fac=function(z){return new(z||pe)},pe.\u0275cmp=e.Xpm({type:pe,selectors:[["ng-component"]],decls:1,vars:0,template:function(z,Pe){1&z&&e._UZ(0,"router-outlet")},directives:[Sn],encapsulation:2}),pe})();function es(pe,W=""){for(let z=0;zot(Pe)===W);return z.push(...pe.filter(Pe=>ot(Pe)!==W)),z}const U={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Se(pe,W,z){var Pe;if(""===W.path)return"full"===W.pathMatch&&(pe.hasChildren()||z.length>0)?Object.assign({},U):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const dt=(W.matcher||re)(z,pe,W);if(!dt)return Object.assign({},U);const St={};mt(dt.posParams,(qt,_i)=>{St[_i]=qt.path});const xt=dt.consumed.length>0?Object.assign(Object.assign({},St),dt.consumed[dt.consumed.length-1].parameters):St;return{matched:!0,consumedSegments:dt.consumed,lastChild:dt.consumed.length,parameters:xt,positionalParamSegments:null!==(Pe=dt.posParams)&&void 0!==Pe?Pe:{}}}function nt(pe,W,z,Pe,ze="corrected"){if(z.length>0&&function De(pe,W,z){return z.some(Pe=>Ge(pe,W,Pe)&&ot(Pe)!==t)}(pe,z,Pe)){const St=new _e(W,function q(pe,W,z,Pe){const ze={};ze[t]=Pe,Pe._sourceSegment=pe,Pe._segmentIndexShift=W.length;for(const dt of z)if(""===dt.path&&ot(dt)!==t){const St=new _e([],{});St._sourceSegment=pe,St._segmentIndexShift=W.length,ze[ot(dt)]=St}return ze}(pe,W,Pe,new _e(z,pe.children)));return St._sourceSegment=pe,St._segmentIndexShift=W.length,{segmentGroup:St,slicedSegments:[]}}if(0===z.length&&function ie(pe,W,z){return z.some(Pe=>Ge(pe,W,Pe))}(pe,z,Pe)){const St=new _e(pe.segments,function ft(pe,W,z,Pe,ze,dt){const St={};for(const xt of Pe)if(Ge(pe,z,xt)&&!ze[ot(xt)]){const qt=new _e([],{});qt._sourceSegment=pe,qt._segmentIndexShift="legacy"===dt?pe.segments.length:W.length,St[ot(xt)]=qt}return Object.assign(Object.assign({},ze),St)}(pe,W,z,Pe,pe.children,ze));return St._sourceSegment=pe,St._segmentIndexShift=W.length,{segmentGroup:St,slicedSegments:z}}const dt=new _e(pe.segments,pe.children);return dt._sourceSegment=pe,dt._segmentIndexShift=W.length,{segmentGroup:dt,slicedSegments:z}}function Ge(pe,W,z){return(!(pe.hasChildren()||W.length>0)||"full"!==z.pathMatch)&&""===z.path}function bt(pe,W,z,Pe){return!!(ot(pe)===Pe||Pe!==t&&Ge(W,z,pe))&&("**"===pe.path||Se(W,pe,z).matched)}function Ft(pe,W,z){return 0===W.length&&!pe.children[z]}class jt{constructor(W){this.segmentGroup=W||null}}class ii{constructor(W){this.urlTree=W}}function ai(pe){return new A.y(W=>W.error(new jt(pe)))}function hi(pe){return new A.y(W=>W.error(new ii(pe)))}function mi(pe){return new A.y(W=>W.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${pe}'`)))}class xe{constructor(W,z,Pe,ze,dt){this.configLoader=z,this.urlSerializer=Pe,this.urlTree=ze,this.config=dt,this.allowRedirects=!0,this.ngModule=W.get(e.h0i)}apply(){const W=nt(this.urlTree.root,[],[],this.config).segmentGroup,z=new _e(W.segments,W.children);return this.expandSegmentGroup(this.ngModule,this.config,z,t).pipe((0,se.U)(dt=>this.createUrlTree(ye(dt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ne.K)(dt=>{if(dt instanceof ii)return this.allowRedirects=!1,this.match(dt.urlTree);throw dt instanceof jt?this.noMatchError(dt):dt}))}match(W){return this.expandSegmentGroup(this.ngModule,this.config,W.root,t).pipe((0,se.U)(ze=>this.createUrlTree(ye(ze),W.queryParams,W.fragment))).pipe((0,ne.K)(ze=>{throw ze instanceof jt?this.noMatchError(ze):ze}))}noMatchError(W){return new Error(`Cannot match any routes. URL Segment: '${W.segmentGroup}'`)}createUrlTree(W,z,Pe){const ze=W.segments.length>0?new _e([],{[t]:W}):W;return new X(ze,z,Pe)}expandSegmentGroup(W,z,Pe,ze){return 0===Pe.segments.length&&Pe.hasChildren()?this.expandChildren(W,z,Pe).pipe((0,se.U)(dt=>new _e([],dt))):this.expandSegment(W,Pe,z,Pe.segments,ze,!0)}expandChildren(W,z,Pe){const ze=[];for(const dt of Object.keys(Pe.children))"primary"===dt?ze.unshift(dt):ze.push(dt);return(0,f.D)(ze).pipe((0,Me.b)(dt=>{const St=Pe.children[dt],xt=B(z,dt);return this.expandSegmentGroup(W,xt,St,dt).pipe((0,se.U)(qt=>({segment:qt,outlet:dt})))}),V((dt,St)=>(dt[St.outlet]=St.segment,dt),{}),function te(pe,W){const z=arguments.length>=2;return Pe=>Pe.pipe(pe?(0,ce.h)((ze,dt)=>pe(ze,dt,Pe)):Q.y,de(1),z?(0,H.d)(W):(0,j.T)(()=>new s.K))}())}expandSegment(W,z,Pe,ze,dt,St){return(0,f.D)(Pe).pipe((0,Me.b)(xt=>this.expandSegmentAgainstRoute(W,z,Pe,xt,ze,dt,St).pipe((0,ne.K)(_i=>{if(_i instanceof jt)return(0,g.of)(null);throw _i}))),(0,ve.P)(xt=>!!xt),(0,ne.K)((xt,qt)=>{if(xt instanceof s.K||"EmptyError"===xt.name){if(Ft(z,ze,dt))return(0,g.of)(new _e([],{}));throw new jt(z)}throw xt}))}expandSegmentAgainstRoute(W,z,Pe,ze,dt,St,xt){return bt(ze,z,dt,St)?void 0===ze.redirectTo?this.matchSegmentAgainstRoute(W,z,ze,dt,St):xt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St):ai(z):ai(z)}expandSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St){return"**"===ze.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(W,Pe,ze,St):this.expandRegularSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St)}expandWildCardWithParamsAgainstRouteUsingRedirect(W,z,Pe,ze){const dt=this.applyRedirectCommands([],Pe.redirectTo,{});return Pe.redirectTo.startsWith("/")?hi(dt):this.lineralizeSegments(Pe,dt).pipe((0,me.zg)(St=>{const xt=new _e(St,{});return this.expandSegment(W,xt,z,St,ze,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(W,z,Pe,ze,dt,St){const{matched:xt,consumedSegments:qt,lastChild:_i,positionalParamSegments:ji}=Se(z,ze,dt);if(!xt)return ai(z);const Ei=this.applyRedirectCommands(qt,ze.redirectTo,ji);return ze.redirectTo.startsWith("/")?hi(Ei):this.lineralizeSegments(ze,Ei).pipe((0,me.zg)(tn=>this.expandSegment(W,z,Pe,tn.concat(dt.slice(_i)),St,!1)))}matchSegmentAgainstRoute(W,z,Pe,ze,dt){if("**"===Pe.path)return Pe.loadChildren?(Pe._loadedConfig?(0,g.of)(Pe._loadedConfig):this.configLoader.load(W.injector,Pe)).pipe((0,se.U)(tn=>(Pe._loadedConfig=tn,new _e(ze,{})))):(0,g.of)(new _e(ze,{}));const{matched:St,consumedSegments:xt,lastChild:qt}=Se(z,Pe,ze);if(!St)return ai(z);const _i=ze.slice(qt);return this.getChildConfig(W,Pe,ze).pipe((0,me.zg)(Ei=>{const tn=Ei.module,an=Ei.routes,{segmentGroup:uo,slicedSegments:ds}=nt(z,xt,_i,an),ts=new _e(uo.segments,uo.children);if(0===ds.length&&ts.hasChildren())return this.expandChildren(tn,an,ts).pipe((0,se.U)(fs=>new _e(xt,fs)));if(0===an.length&&0===ds.length)return(0,g.of)(new _e(xt,{}));const Hs=ot(Pe)===dt;return this.expandSegment(tn,ts,an,ds,Hs?t:dt,!0).pipe((0,se.U)(Ss=>new _e(xt.concat(Ss.segments),Ss.children)))}))}getChildConfig(W,z,Pe){return z.children?(0,g.of)(new Ts(z.children,W)):z.loadChildren?void 0!==z._loadedConfig?(0,g.of)(z._loadedConfig):this.runCanLoadGuards(W.injector,z,Pe).pipe((0,me.zg)(ze=>ze?this.configLoader.load(W.injector,z).pipe((0,se.U)(dt=>(z._loadedConfig=dt,dt))):function yi(pe){return new A.y(W=>W.error(y(`Cannot load children because the guard of the route "path: '${pe.path}'" returned false`)))}(z))):(0,g.of)(new Ts([],W))}runCanLoadGuards(W,z,Pe){const ze=z.canLoad;if(!ze||0===ze.length)return(0,g.of)(!0);const dt=ze.map(St=>{const xt=W.get(St);let qt;if(function Fn(pe){return pe&&wn(pe.canLoad)}(xt))qt=xt.canLoad(z,Pe);else{if(!wn(xt))throw new Error("Invalid CanLoad guard");qt=xt(z,Pe)}return Ht(qt)});return(0,g.of)(dt).pipe(Hn(),(0,Te.b)(St=>{if(!gn(St))return;const xt=y(`Redirecting to "${this.urlSerializer.serialize(St)}"`);throw xt.url=St,xt}),(0,se.U)(St=>!0===St))}lineralizeSegments(W,z){let Pe=[],ze=z.root;for(;;){if(Pe=Pe.concat(ze.segments),0===ze.numberOfChildren)return(0,g.of)(Pe);if(ze.numberOfChildren>1||!ze.children[t])return mi(W.redirectTo);ze=ze.children[t]}}applyRedirectCommands(W,z,Pe){return this.applyRedirectCreatreUrlTree(z,this.urlSerializer.parse(z),W,Pe)}applyRedirectCreatreUrlTree(W,z,Pe,ze){const dt=this.createSegmentGroup(W,z.root,Pe,ze);return new X(dt,this.createQueryParams(z.queryParams,this.urlTree.queryParams),z.fragment)}createQueryParams(W,z){const Pe={};return mt(W,(ze,dt)=>{if("string"==typeof ze&&ze.startsWith(":")){const xt=ze.substring(1);Pe[dt]=z[xt]}else Pe[dt]=ze}),Pe}createSegmentGroup(W,z,Pe,ze){const dt=this.createSegments(W,z.segments,Pe,ze);let St={};return mt(z.children,(xt,qt)=>{St[qt]=this.createSegmentGroup(W,xt,Pe,ze)}),new _e(dt,St)}createSegments(W,z,Pe,ze){return z.map(dt=>dt.path.startsWith(":")?this.findPosParam(W,dt,ze):this.findOrReturn(dt,Pe))}findPosParam(W,z,Pe){const ze=Pe[z.path.substring(1)];if(!ze)throw new Error(`Cannot redirect to '${W}'. Cannot find '${z.path}'.`);return ze}findOrReturn(W,z){let Pe=0;for(const ze of z){if(ze.path===W.path)return z.splice(Pe),ze;Pe++}return W}}function ye(pe){const W={};for(const Pe of Object.keys(pe.children)){const dt=ye(pe.children[Pe]);(dt.segments.length>0||dt.hasChildren())&&(W[Pe]=dt)}return function Ee(pe){if(1===pe.numberOfChildren&&pe.children[t]){const W=pe.children[t];return new _e(pe.segments.concat(W.segments),W.children)}return pe}(new _e(pe.segments,W))}class Bt{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class ci{constructor(W,z){this.component=W,this.route=z}}function Bi(pe,W,z){const Pe=pe._root;return zn(Pe,W?W._root:null,z,[Pe.value])}function On(pe,W,z){const Pe=function Kn(pe){if(!pe)return null;for(let W=pe.parent;W;W=W.parent){const z=W.routeConfig;if(z&&z._loadedConfig)return z._loadedConfig}return null}(W);return(Pe?Pe.module.injector:z).get(pe)}function zn(pe,W,z,Pe,ze={canDeactivateChecks:[],canActivateChecks:[]}){const dt=Qt(W);return pe.children.forEach(St=>{(function Ws(pe,W,z,Pe,ze={canDeactivateChecks:[],canActivateChecks:[]}){const dt=pe.value,St=W?W.value:null,xt=z?z.getContext(pe.value.outlet):null;if(St&&dt.routeConfig===St.routeConfig){const qt=function ti(pe,W,z){if("function"==typeof z)return z(pe,W);switch(z){case"pathParamsChange":return!Ut(pe.url,W.url);case"pathParamsOrQueryParamsChange":return!Ut(pe.url,W.url)||!yt(pe.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sn(pe,W)||!yt(pe.queryParams,W.queryParams);default:return!sn(pe,W)}}(St,dt,dt.routeConfig.runGuardsAndResolvers);qt?ze.canActivateChecks.push(new Bt(Pe)):(dt.data=St.data,dt._resolvedData=St._resolvedData),zn(pe,W,dt.component?xt?xt.children:null:z,Pe,ze),qt&&xt&&xt.outlet&&xt.outlet.isActivated&&ze.canDeactivateChecks.push(new ci(xt.outlet.component,St))}else St&&si(W,xt,ze),ze.canActivateChecks.push(new Bt(Pe)),zn(pe,null,dt.component?xt?xt.children:null:z,Pe,ze)})(St,dt[St.value.outlet],z,Pe.concat([St.value]),ze),delete dt[St.value.outlet]}),mt(dt,(St,xt)=>si(St,z.getContext(xt),ze)),ze}function si(pe,W,z){const Pe=Qt(pe),ze=pe.value;mt(Pe,(dt,St)=>{si(dt,ze.component?W?W.children.getContext(St):null:W,z)}),z.canDeactivateChecks.push(new ci(ze.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,ze))}class io{}function rs(pe){return new A.y(W=>W.error(pe))}class hn{constructor(W,z,Pe,ze,dt,St){this.rootComponentType=W,this.config=z,this.urlTree=Pe,this.url=ze,this.paramsInheritanceStrategy=dt,this.relativeLinkResolution=St}recognize(){const W=nt(this.urlTree.root,[],[],this.config.filter(St=>void 0===St.redirectTo),this.relativeLinkResolution).segmentGroup,z=this.processSegmentGroup(this.config,W,t);if(null===z)return null;const Pe=new pn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},t,this.rootComponentType,null,this.urlTree.root,-1,{}),ze=new ei(Pe,z),dt=new Pi(this.url,ze);return this.inheritParamsAndData(dt._root),dt}inheritParamsAndData(W){const z=W.value,Pe=Ni(z,this.paramsInheritanceStrategy);z.params=Object.freeze(Pe.params),z.data=Object.freeze(Pe.data),W.children.forEach(ze=>this.inheritParamsAndData(ze))}processSegmentGroup(W,z,Pe){return 0===z.segments.length&&z.hasChildren()?this.processChildren(W,z):this.processSegment(W,z,z.segments,Pe)}processChildren(W,z){const Pe=[];for(const dt of Object.keys(z.children)){const St=z.children[dt],xt=B(W,dt),qt=this.processSegmentGroup(xt,St,dt);if(null===qt)return null;Pe.push(...qt)}const ze=ls(Pe);return function Tn(pe){pe.sort((W,z)=>W.value.outlet===t?-1:z.value.outlet===t?1:W.value.outlet.localeCompare(z.value.outlet))}(ze),ze}processSegment(W,z,Pe,ze){for(const dt of W){const St=this.processSegmentAgainstRoute(dt,z,Pe,ze);if(null!==St)return St}return Ft(z,Pe,ze)?[]:null}processSegmentAgainstRoute(W,z,Pe,ze){if(W.redirectTo||!bt(W,z,Pe,ze))return null;let dt,St=[],xt=[];if("**"===W.path){const an=Pe.length>0?It(Pe).parameters:{};dt=new pn(Pe,an,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,or(W),ot(W),W.component,W,ao(z),yo(z)+Pe.length,le(W))}else{const an=Se(z,W,Pe);if(!an.matched)return null;St=an.consumedSegments,xt=Pe.slice(an.lastChild),dt=new pn(St,an.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,or(W),ot(W),W.component,W,ao(z),yo(z)+St.length,le(W))}const qt=function as(pe){return pe.children?pe.children:pe.loadChildren?pe._loadedConfig.routes:[]}(W),{segmentGroup:_i,slicedSegments:ji}=nt(z,St,xt,qt.filter(an=>void 0===an.redirectTo),this.relativeLinkResolution);if(0===ji.length&&_i.hasChildren()){const an=this.processChildren(qt,_i);return null===an?null:[new ei(dt,an)]}if(0===qt.length&&0===ji.length)return[new ei(dt,[])];const Ei=ot(W)===ze,tn=this.processSegment(qt,_i,ji,Ei?t:ze);return null===tn?null:[new ei(dt,tn)]}}function cs(pe){const W=pe.value.routeConfig;return W&&""===W.path&&void 0===W.redirectTo}function ls(pe){const W=[],z=new Set;for(const Pe of pe){if(!cs(Pe)){W.push(Pe);continue}const ze=W.find(dt=>Pe.value.routeConfig===dt.value.routeConfig);void 0!==ze?(ze.children.push(...Pe.children),z.add(ze)):W.push(Pe)}for(const Pe of z){const ze=ls(Pe.children);W.push(new ei(Pe.value,ze))}return W.filter(Pe=>!z.has(Pe))}function ao(pe){let W=pe;for(;W._sourceSegment;)W=W._sourceSegment;return W}function yo(pe){let W=pe,z=W._segmentIndexShift?W._segmentIndexShift:0;for(;W._sourceSegment;)W=W._sourceSegment,z+=W._segmentIndexShift?W._segmentIndexShift:0;return z-1}function or(pe){return pe.data||{}}function le(pe){return pe.resolve||{}}function Yt(pe){return[...Object.keys(pe),...Object.getOwnPropertySymbols(pe)]}function ui(pe){return(0,ge.w)(W=>{const z=pe(W);return z?(0,f.D)(z).pipe((0,se.U)(()=>W)):(0,g.of)(W)})}class oi{}class Zi extends class Di{shouldDetach(W){return!1}store(W,z){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,z){return W.routeConfig===z.routeConfig}}{}const en=new e.OlP("ROUTES");class Nn{constructor(W,z,Pe,ze){this.injector=W,this.compiler=z,this.onLoadStartListener=Pe,this.onLoadEndListener=ze}load(W,z){if(z._loader$)return z._loader$;this.onLoadStartListener&&this.onLoadStartListener(z);const ze=this.loadModuleFactory(z.loadChildren).pipe((0,se.U)(dt=>{this.onLoadEndListener&&this.onLoadEndListener(z);const St=dt.create(W);return new Ts(Nt(St.injector.get(en,void 0,e.XFs.Self|e.XFs.Optional)).map(ws),St)}),(0,ne.K)(dt=>{throw z._loader$=void 0,dt}));return z._loader$=new h.c(ze,()=>new k.xQ).pipe((0,ee.x)()),z._loader$}loadModuleFactory(W){return Ht(W()).pipe((0,me.zg)(z=>z instanceof e.YKP?(0,g.of)(z):(0,f.D)(this.compiler.compileModuleAsync(z))))}}class Ii{shouldProcessUrl(W){return!0}extract(W){return W}merge(W,z){return W}}function on(pe){throw pe}function Gi(pe,W,z){return W.parse("/")}function rn(pe,W){return(0,g.of)(null)}const Xi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Yn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class pe{constructor(z,Pe,ze,dt,St,xt,qt){this.rootComponentType=z,this.urlSerializer=Pe,this.rootContexts=ze,this.location=dt,this.config=qt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new k.xQ,this.errorHandler=on,this.malformedUriErrorHandler=Gi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rn,afterPreactivation:rn},this.urlHandlingStrategy=new Ii,this.routeReuseStrategy=new Zi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=St.get(e.h0i),this.console=St.get(e.c2e);const Ei=St.get(e.R0b);this.isNgZoneEnabled=Ei instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(qt),this.currentUrlTree=function _t(){return new X(new _e([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Nn(St,xt,tn=>this.triggerEvent(new S(tn)),tn=>this.triggerEvent(new I(tn))),this.routerState=bi(this.currentUrlTree,this.rootComponentType),this.transitions=new T.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var z;return null===(z=this.location.getState())||void 0===z?void 0:z.\u0275routerPageId}setupNavigations(z){const Pe=this.events;return z.pipe((0,ce.h)(ze=>0!==ze.id),(0,se.U)(ze=>Object.assign(Object.assign({},ze),{extractedUrl:this.urlHandlingStrategy.extract(ze.rawUrl)})),(0,ge.w)(ze=>{let dt=!1,St=!1;return(0,g.of)(ze).pipe((0,Te.b)(xt=>{this.currentNavigation={id:xt.id,initialUrl:xt.currentRawUrl,extractedUrl:xt.extractedUrl,trigger:xt.source,extras:xt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ge.w)(xt=>{const qt=this.browserUrlTree.toString(),_i=!this.navigated||xt.extractedUrl.toString()!==qt||qt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||_i)&&this.urlHandlingStrategy.shouldProcessUrl(xt.rawUrl))return vo(xt.source)&&(this.browserUrlTree=xt.extractedUrl),(0,g.of)(xt).pipe((0,ge.w)(Ei=>{const tn=this.transitions.getValue();return Pe.next(new fe(Ei.id,this.serializeUrl(Ei.extractedUrl),Ei.source,Ei.restoredState)),tn!==this.transitions.getValue()?E.E:Promise.resolve(Ei)}),function st(pe,W,z,Pe){return(0,ge.w)(ze=>function xi(pe,W,z,Pe,ze){return new xe(pe,W,z,Pe,ze).apply()}(pe,W,z,ze.extractedUrl,Pe).pipe((0,se.U)(dt=>Object.assign(Object.assign({},ze),{urlAfterRedirects:dt}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Te.b)(Ei=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Ei.urlAfterRedirects})}),function $e(pe,W,z,Pe,ze){return(0,me.zg)(dt=>function yn(pe,W,z,Pe,ze="emptyOnly",dt="legacy"){try{const St=new hn(pe,W,z,Pe,ze,dt).recognize();return null===St?rs(new io):(0,g.of)(St)}catch(St){return rs(St)}}(pe,W,dt.urlAfterRedirects,z(dt.urlAfterRedirects),Pe,ze).pipe((0,se.U)(St=>Object.assign(Object.assign({},dt),{targetSnapshot:St}))))}(this.rootComponentType,this.config,Ei=>this.serializeUrl(Ei),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Te.b)(Ei=>{if("eager"===this.urlUpdateStrategy){if(!Ei.extras.skipLocationChange){const an=this.urlHandlingStrategy.merge(Ei.urlAfterRedirects,Ei.rawUrl);this.setBrowserUrl(an,Ei)}this.browserUrlTree=Ei.urlAfterRedirects}const tn=new tt(Ei.id,this.serializeUrl(Ei.extractedUrl),this.serializeUrl(Ei.urlAfterRedirects),Ei.targetSnapshot);Pe.next(tn)}));if(_i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:tn,extractedUrl:an,source:uo,restoredState:ds,extras:ts}=xt,Hs=new fe(tn,this.serializeUrl(an),uo,ds);Pe.next(Hs);const ho=bi(an,this.rootComponentType).snapshot;return(0,g.of)(Object.assign(Object.assign({},xt),{targetSnapshot:ho,urlAfterRedirects:an,extras:Object.assign(Object.assign({},ts),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=xt.rawUrl,xt.resolve(null),E.E}),ui(xt=>{const{targetSnapshot:qt,id:_i,extractedUrl:ji,rawUrl:Ei,extras:{skipLocationChange:tn,replaceUrl:an}}=xt;return this.hooks.beforePreactivation(qt,{navigationId:_i,appliedUrlTree:ji,rawUrlTree:Ei,skipLocationChange:!!tn,replaceUrl:!!an})}),(0,Te.b)(xt=>{const qt=new rt(xt.id,this.serializeUrl(xt.extractedUrl),this.serializeUrl(xt.urlAfterRedirects),xt.targetSnapshot);this.triggerEvent(qt)}),(0,se.U)(xt=>Object.assign(Object.assign({},xt),{guards:Bi(xt.targetSnapshot,xt.currentSnapshot,this.rootContexts)})),function vi(pe,W){return(0,me.zg)(z=>{const{targetSnapshot:Pe,currentSnapshot:ze,guards:{canActivateChecks:dt,canDeactivateChecks:St}}=z;return 0===St.length&&0===dt.length?(0,g.of)(Object.assign(Object.assign({},z),{guardsResult:!0})):function gi(pe,W,z,Pe){return(0,f.D)(pe).pipe((0,me.zg)(ze=>function dn(pe,W,z,Pe,ze){const dt=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!dt||0===dt.length)return(0,g.of)(!0);const St=dt.map(xt=>{const qt=On(xt,W,ze);let _i;if(function Xn(pe){return pe&&wn(pe.canDeactivate)}(qt))_i=Ht(qt.canDeactivate(pe,W,z,Pe));else{if(!wn(qt))throw new Error("Invalid CanDeactivate guard");_i=Ht(qt(pe,W,z,Pe))}return _i.pipe((0,ve.P)())});return(0,g.of)(St).pipe(Hn())}(ze.component,ze.route,z,W,Pe)),(0,ve.P)(ze=>!0!==ze,!0))}(St,Pe,ze,pe).pipe((0,me.zg)(xt=>xt&&function Cs(pe){return"boolean"==typeof pe}(xt)?function Fi(pe,W,z,Pe){return(0,f.D)(W).pipe((0,Me.b)(ze=>(0,b.z)(function An(pe,W){return null!==pe&&W&&W(new P(pe)),(0,g.of)(!0)}(ze.route.parent,Pe),function un(pe,W){return null!==pe&&W&&W(new r(pe)),(0,g.of)(!0)}(ze.route,Pe),function Vn(pe,W,z){const Pe=W[W.length-1],dt=W.slice(0,W.length-1).reverse().map(St=>function ln(pe){const W=pe.routeConfig?pe.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:pe,guards:W}:null}(St)).filter(St=>null!==St).map(St=>(0,O.P)(()=>{const xt=St.guards.map(qt=>{const _i=On(qt,St.node,z);let ji;if(function Qn(pe){return pe&&wn(pe.canActivateChild)}(_i))ji=Ht(_i.canActivateChild(Pe,pe));else{if(!wn(_i))throw new Error("Invalid CanActivateChild guard");ji=Ht(_i(Pe,pe))}return ji.pipe((0,ve.P)())});return(0,g.of)(xt).pipe(Hn())}));return(0,g.of)(dt).pipe(Hn())}(pe,ze.path,z),function Dn(pe,W,z){const Pe=W.routeConfig?W.routeConfig.canActivate:null;if(!Pe||0===Pe.length)return(0,g.of)(!0);const ze=Pe.map(dt=>(0,O.P)(()=>{const St=On(dt,W,z);let xt;if(function Jn(pe){return pe&&wn(pe.canActivate)}(St))xt=Ht(St.canActivate(W,pe));else{if(!wn(St))throw new Error("Invalid CanActivate guard");xt=Ht(St(W,pe))}return xt.pipe((0,ve.P)())}));return(0,g.of)(ze).pipe(Hn())}(pe,ze.route,z))),(0,ve.P)(ze=>!0!==ze,!0))}(Pe,dt,pe,W):(0,g.of)(xt)),(0,se.U)(xt=>Object.assign(Object.assign({},z),{guardsResult:xt})))})}(this.ngModule.injector,xt=>this.triggerEvent(xt)),(0,Te.b)(xt=>{if(gn(xt.guardsResult)){const _i=y(`Redirecting to "${this.serializeUrl(xt.guardsResult)}"`);throw _i.url=xt.guardsResult,_i}const qt=new N(xt.id,this.serializeUrl(xt.extractedUrl),this.serializeUrl(xt.urlAfterRedirects),xt.targetSnapshot,!!xt.guardsResult);this.triggerEvent(qt)}),(0,ce.h)(xt=>!!xt.guardsResult||(this.restoreHistory(xt),this.cancelNavigationTransition(xt,""),!1)),ui(xt=>{if(xt.guards.canActivateChecks.length)return(0,g.of)(xt).pipe((0,Te.b)(qt=>{const _i=new he(qt.id,this.serializeUrl(qt.extractedUrl),this.serializeUrl(qt.urlAfterRedirects),qt.targetSnapshot);this.triggerEvent(_i)}),(0,ge.w)(qt=>{let _i=!1;return(0,g.of)(qt).pipe(function Re(pe,W){return(0,me.zg)(z=>{const{targetSnapshot:Pe,guards:{canActivateChecks:ze}}=z;if(!ze.length)return(0,g.of)(z);let dt=0;return(0,f.D)(ze).pipe((0,Me.b)(St=>function at(pe,W,z,Pe){return function kt(pe,W,z,Pe){const ze=Yt(pe);if(0===ze.length)return(0,g.of)({});const dt={};return(0,f.D)(ze).pipe((0,me.zg)(St=>function ni(pe,W,z,Pe){const ze=On(pe,W,Pe);return Ht(ze.resolve?ze.resolve(W,z):ze(W,z))}(pe[St],W,z,Pe).pipe((0,Te.b)(xt=>{dt[St]=xt}))),de(1),(0,me.zg)(()=>Yt(dt).length===ze.length?(0,g.of)(dt):E.E))}(pe._resolve,pe,W,Pe).pipe((0,se.U)(dt=>(pe._resolvedData=dt,pe.data=Object.assign(Object.assign({},pe.data),Ni(pe,z).resolve),null)))}(St.route,Pe,pe,W)),(0,Te.b)(()=>dt++),de(1),(0,me.zg)(St=>dt===ze.length?(0,g.of)(z):E.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Te.b)({next:()=>_i=!0,complete:()=>{_i||(this.restoreHistory(qt),this.cancelNavigationTransition(qt,"At least one route resolver didn't emit any value."))}}))}),(0,Te.b)(qt=>{const _i=new D(qt.id,this.serializeUrl(qt.extractedUrl),this.serializeUrl(qt.urlAfterRedirects),qt.targetSnapshot);this.triggerEvent(_i)}))}),ui(xt=>{const{targetSnapshot:qt,id:_i,extractedUrl:ji,rawUrl:Ei,extras:{skipLocationChange:tn,replaceUrl:an}}=xt;return this.hooks.afterPreactivation(qt,{navigationId:_i,appliedUrlTree:ji,rawUrlTree:Ei,skipLocationChange:!!tn,replaceUrl:!!an})}),(0,se.U)(xt=>{const qt=function qi(pe,W,z){const Pe=Ct(pe,W._root,z?z._root:void 0);return new Ri(Pe,W)}(this.routeReuseStrategy,xt.targetSnapshot,xt.currentRouterState);return Object.assign(Object.assign({},xt),{targetRouterState:qt})}),(0,Te.b)(xt=>{this.currentUrlTree=xt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(xt.urlAfterRedirects,xt.rawUrl),this.routerState=xt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(xt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,xt),this.browserUrlTree=xt.urlAfterRedirects)}),((pe,W,z)=>(0,se.U)(Pe=>(new ss(W,Pe.targetRouterState,Pe.currentRouterState,z).activate(pe),Pe)))(this.rootContexts,this.routeReuseStrategy,xt=>this.triggerEvent(xt)),(0,Te.b)({next(){dt=!0},complete(){dt=!0}}),(0,R.x)(()=>{var xt;dt||St||this.cancelNavigationTransition(ze,`Navigation ID ${ze.id} is not equal to the current navigation id ${this.navigationId}`),(null===(xt=this.currentNavigation)||void 0===xt?void 0:xt.id)===ze.id&&(this.currentNavigation=null)}),(0,ne.K)(xt=>{if(St=!0,function M(pe){return pe&&pe[u]}(xt)){const qt=gn(xt.url);qt||(this.navigated=!0,this.restoreHistory(ze,!0));const _i=new Ve(ze.id,this.serializeUrl(ze.extractedUrl),xt.message);Pe.next(_i),qt?setTimeout(()=>{const ji=this.urlHandlingStrategy.merge(xt.url,this.rawUrlTree),Ei={skipLocationChange:ze.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vo(ze.source)};this.scheduleNavigation(ji,"imperative",null,Ei,{resolve:ze.resolve,reject:ze.reject,promise:ze.promise})},0):ze.resolve(!1)}else{this.restoreHistory(ze,!0);const qt=new Xe(ze.id,this.serializeUrl(ze.extractedUrl),xt);Pe.next(qt);try{ze.resolve(this.errorHandler(xt))}catch(_i){ze.reject(_i)}}return E.E}))}))}resetRootComponentType(z){this.rootComponentType=z,this.routerState.root.component=this.rootComponentType}setTransition(z){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),z))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(z=>{const Pe="popstate"===z.type?"popstate":"hashchange";"popstate"===Pe&&setTimeout(()=>{var ze;const dt={replaceUrl:!0},St=(null===(ze=z.state)||void 0===ze?void 0:ze.navigationId)?z.state:null;if(St){const qt=Object.assign({},St);delete qt.navigationId,delete qt.\u0275routerPageId,0!==Object.keys(qt).length&&(dt.state=qt)}const xt=this.parseUrl(z.url);this.scheduleNavigation(xt,Pe,St,dt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(z){this.events.next(z)}resetConfig(z){es(z),this.config=z.map(ws),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(z,Pe={}){const{relativeTo:ze,queryParams:dt,fragment:St,queryParamsHandling:xt,preserveFragment:qt}=Pe,_i=ze||this.routerState.root,ji=qt?this.currentUrlTree.fragment:St;let Ei=null;switch(xt){case"merge":Ei=Object.assign(Object.assign({},this.currentUrlTree.queryParams),dt);break;case"preserve":Ei=this.currentUrlTree.queryParams;break;default:Ei=dt||null}return null!==Ei&&(Ei=this.removeEmptyProps(Ei)),function lt(pe,W,z,Pe,ze){if(0===z.length)return zt(W.root,W.root,W,Pe,ze);const dt=function Oi(pe){if("string"==typeof pe[0]&&1===pe.length&&"/"===pe[0])return new di(!0,0,pe);let W=0,z=!1;const Pe=pe.reduce((ze,dt,St)=>{if("object"==typeof dt&&null!=dt){if(dt.outlets){const xt={};return mt(dt.outlets,(qt,_i)=>{xt[_i]="string"==typeof qt?qt.split("/"):qt}),[...ze,{outlets:xt}]}if(dt.segmentPath)return[...ze,dt.segmentPath]}return"string"!=typeof dt?[...ze,dt]:0===St?(dt.split("/").forEach((xt,qt)=>{0==qt&&"."===xt||(0==qt&&""===xt?z=!0:".."===xt?W++:""!=xt&&ze.push(xt))}),ze):[...ze,dt]},[]);return new di(z,W,Pe)}(z);if(dt.toRoot())return zt(W.root,new _e([],{}),W,Pe,ze);const St=function mn(pe,W,z){if(pe.isAbsolute)return new zi(W.root,!0,0);if(-1===z.snapshot._lastPathIndex){const dt=z.snapshot._urlSegment;return new zi(dt,dt===W.root,0)}const Pe=we(pe.commands[0])?0:1;return function In(pe,W,z){let Pe=pe,ze=W,dt=z;for(;dt>ze;){if(dt-=ze,Pe=Pe.parent,!Pe)throw new Error("Invalid number of '../'");ze=Pe.segments.length}return new zi(Pe,!1,ze-dt)}(z.snapshot._urlSegment,z.snapshot._lastPathIndex+Pe,pe.numberOfDoubleDots)}(dt,W,pe),xt=St.processChildren?Zn(St.segmentGroup,St.index,dt.commands):$n(St.segmentGroup,St.index,dt.commands);return zt(St.segmentGroup,xt,W,Pe,ze)}(_i,this.currentUrlTree,z,Ei,null!=ji?ji:null)}navigateByUrl(z,Pe={skipLocationChange:!1}){const ze=gn(z)?z:this.parseUrl(z),dt=this.urlHandlingStrategy.merge(ze,this.rawUrlTree);return this.scheduleNavigation(dt,"imperative",null,Pe)}navigate(z,Pe={skipLocationChange:!1}){return function Ha(pe){for(let W=0;W{const dt=z[ze];return null!=dt&&(Pe[ze]=dt),Pe},{})}processNavigations(){this.navigations.subscribe(z=>{this.navigated=!0,this.lastSuccessfulId=z.id,this.currentPageId=z.targetPageId,this.events.next(new Ce(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,z.resolve(!0)},z=>{this.console.warn(`Unhandled Navigation Error: ${z}`)})}scheduleNavigation(z,Pe,ze,dt,St){var xt,qt,_i;if(this.disposed)return Promise.resolve(!1);const ji=this.transitions.value,Ei=vo(Pe)&&ji&&!vo(ji.source),tn=ji.rawUrl.toString()===z.toString(),an=ji.id===(null===(xt=this.currentNavigation)||void 0===xt?void 0:xt.id);if(Ei&&tn&&an)return Promise.resolve(!0);let ds,ts,Hs;St?(ds=St.resolve,ts=St.reject,Hs=St.promise):Hs=new Promise((fs,Xr)=>{ds=fs,ts=Xr});const ho=++this.navigationId;let Ss;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(ze=this.location.getState()),Ss=ze&&ze.\u0275routerPageId?ze.\u0275routerPageId:dt.replaceUrl||dt.skipLocationChange?null!==(qt=this.browserPageId)&&void 0!==qt?qt:0:(null!==(_i=this.browserPageId)&&void 0!==_i?_i:0)+1):Ss=0,this.setTransition({id:ho,targetPageId:Ss,source:Pe,restoredState:ze,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:z,extras:dt,resolve:ds,reject:ts,promise:Hs,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Hs.catch(fs=>Promise.reject(fs))}setBrowserUrl(z,Pe){const ze=this.urlSerializer.serialize(z),dt=Object.assign(Object.assign({},Pe.extras.state),this.generateNgRouterState(Pe.id,Pe.targetPageId));this.location.isCurrentPathEqualTo(ze)||Pe.extras.replaceUrl?this.location.replaceState(ze,"",dt):this.location.go(ze,"",dt)}restoreHistory(z,Pe=!1){var ze,dt;if("computed"===this.canceledNavigationResolution){const St=this.currentPageId-z.targetPageId;"popstate"!==z.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(ze=this.currentNavigation)||void 0===ze?void 0:ze.finalUrl)||0===St?this.currentUrlTree===(null===(dt=this.currentNavigation)||void 0===dt?void 0:dt.finalUrl)&&0===St&&(this.resetState(z),this.browserUrlTree=z.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(St)}else"replace"===this.canceledNavigationResolution&&(Pe&&this.resetState(z),this.resetUrlToCurrentUrlTree())}resetState(z){this.routerState=z.currentRouterState,this.currentUrlTree=z.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,z.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(z,Pe){const ze=new Ve(z.id,this.serializeUrl(z.extractedUrl),Pe);this.triggerEvent(ze),z.resolve(!1)}generateNgRouterState(z,Pe){return"computed"===this.canceledNavigationResolution?{navigationId:z,\u0275routerPageId:Pe}:{navigationId:z}}}return pe.\u0275fac=function(z){e.$Z()},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function vo(pe){return"imperative"!==pe}let $s=(()=>{class pe{constructor(z,Pe,ze,dt,St){this.router=z,this.route=Pe,this.tabIndexAttribute=ze,this.renderer=dt,this.el=St,this.commands=null,this.onChanges=new k.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(z){if(null!=this.tabIndexAttribute)return;const Pe=this.renderer,ze=this.el.nativeElement;null!==z?Pe.setAttribute(ze,"tabindex",z):Pe.removeAttribute(ze,"tabindex")}ngOnChanges(z){this.onChanges.next(this)}set routerLink(z){null!=z?(this.commands=Array.isArray(z)?z:[z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const z={skipLocationChange:Rs(this.skipLocationChange),replaceUrl:Rs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,z),!0}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:Rs(this.preserveFragment)})}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(vn),e.Y36(Ji),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},pe.\u0275dir=e.lG2({type:pe,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(z,Pe){1&z&&e.NdJ("click",function(){return Pe.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),pe})(),Js=(()=>{class pe{constructor(z,Pe,ze){this.router=z,this.route=Pe,this.locationStrategy=ze,this.commands=null,this.href=null,this.onChanges=new k.xQ,this.subscription=z.events.subscribe(dt=>{dt instanceof Ce&&this.updateTargetUrlAndHref()})}set routerLink(z){this.commands=null!=z?Array.isArray(z)?z:[z]:null}ngOnChanges(z){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(z,Pe,ze,dt,St){if(0!==z||Pe||ze||dt||St||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const xt={skipLocationChange:Rs(this.skipLocationChange),replaceUrl:Rs(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,xt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:Rs(this.preserveFragment)})}}return pe.\u0275fac=function(z){return new(z||pe)(e.Y36(vn),e.Y36(Ji),e.Y36(Ie.S$))},pe.\u0275dir=e.lG2({type:pe,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(z,Pe){1&z&&e.NdJ("click",function(dt){return Pe.onClick(dt.button,dt.ctrlKey,dt.shiftKey,dt.altKey,dt.metaKey)}),2&z&&e.uIk("target",Pe.target)("href",Pe.href,e.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),pe})();function Rs(pe){return""===pe||!!pe}class Yr{}class Qs{preload(W,z){return(0,g.of)(null)}}let qr=(()=>{class pe{constructor(z,Pe,ze,dt){this.router=z,this.injector=ze,this.preloadingStrategy=dt,this.loader=new Nn(ze,Pe,qt=>z.triggerEvent(new S(qt)),qt=>z.triggerEvent(new I(qt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.h)(z=>z instanceof Ce),(0,Me.b)(()=>this.preload())).subscribe(()=>{})}preload(){const z=this.injector.get(e.h0i);return this.processRoutes(z,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(z,Pe){const ze=[];for(const dt of Pe)if(dt.loadChildren&&!dt.canLoad&&dt._loadedConfig){const St=dt._loadedConfig;ze.push(this.processRoutes(St.module,St.routes))}else dt.loadChildren&&!dt.canLoad?ze.push(this.preloadConfig(z,dt)):dt.children&&ze.push(this.processRoutes(z,dt.children));return(0,f.D)(ze).pipe((0,Oe.J)(),(0,se.U)(dt=>{}))}preloadConfig(z,Pe){return this.preloadingStrategy.preload(Pe,()=>(Pe._loadedConfig?(0,g.of)(Pe._loadedConfig):this.loader.load(z.injector,Pe)).pipe((0,me.zg)(dt=>(Pe._loadedConfig=dt,this.processRoutes(dt.module,dt.routes)))))}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(vn),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(Yr))},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),ar=(()=>{class pe{constructor(z,Pe,ze={}){this.router=z,this.viewportScroller=Pe,this.options=ze,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ze.scrollPositionRestoration=ze.scrollPositionRestoration||"disabled",ze.anchorScrolling=ze.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(z=>{z instanceof fe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=z.navigationTrigger,this.restoredId=z.restoredState?z.restoredState.navigationId:0):z instanceof Ce&&(this.lastId=z.id,this.scheduleScrollEvent(z,this.router.parseUrl(z.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(z=>{z instanceof o&&(z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(z.position):z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(z,Pe){this.router.triggerEvent(new o(z,"popstate"===this.lastSource?this.store[this.restoredId]:null,Pe))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return pe.\u0275fac=function(z){e.$Z()},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const Os=new e.OlP("ROUTER_CONFIGURATION"),Wr=new e.OlP("ROUTER_FORROOT_GUARD"),Ua=[Ie.Ye,{provide:Dt,useClass:Et},{provide:vn,useFactory:function Jr(pe,W,z,Pe,ze,dt,St={},xt,qt){const _i=new vn(null,pe,W,z,Pe,ze,Nt(dt));return xt&&(_i.urlHandlingStrategy=xt),qt&&(_i.routeReuseStrategy=qt),function Qr(pe,W){pe.errorHandler&&(W.errorHandler=pe.errorHandler),pe.malformedUriErrorHandler&&(W.malformedUriErrorHandler=pe.malformedUriErrorHandler),pe.onSameUrlNavigation&&(W.onSameUrlNavigation=pe.onSameUrlNavigation),pe.paramsInheritanceStrategy&&(W.paramsInheritanceStrategy=pe.paramsInheritanceStrategy),pe.relativeLinkResolution&&(W.relativeLinkResolution=pe.relativeLinkResolution),pe.urlUpdateStrategy&&(W.urlUpdateStrategy=pe.urlUpdateStrategy),pe.canceledNavigationResolution&&(W.canceledNavigationResolution=pe.canceledNavigationResolution)}(St,_i),St.enableTracing&&_i.events.subscribe(ji=>{var Ei,tn;null===(Ei=console.group)||void 0===Ei||Ei.call(console,`Router Event: ${ji.constructor.name}`),console.log(ji.toString()),console.log(ji),null===(tn=console.groupEnd)||void 0===tn||tn.call(console)}),_i},deps:[Dt,jn,Ie.Ye,e.zs3,e.Sil,en,Os,[class us{},new e.FiY],[oi,new e.FiY]]},jn,{provide:Ji,useFactory:function no(pe){return pe.routerState.root},deps:[vn]},qr,Qs,class Fs{preload(W,z){return z().pipe((0,ne.K)(()=>(0,g.of)(null)))}},{provide:Os,useValue:{enableTracing:!1}}];function pu(){return new e.PXZ("Router",vn)}let fu=(()=>{class pe{constructor(z,Pe){}static forRoot(z,Pe){return{ngModule:pe,providers:[Ua,co(z),{provide:Wr,useFactory:cr,deps:[[vn,new e.FiY,new e.tp0]]},{provide:Os,useValue:Pe||{}},{provide:Ie.S$,useFactory:$r,deps:[Ie.lw,[new e.tBr(Ie.mr),new e.FiY],Os]},{provide:ar,useFactory:Co,deps:[vn,Ie.EM,Os]},{provide:Yr,useExisting:Pe&&Pe.preloadingStrategy?Pe.preloadingStrategy:Qs},{provide:e.PXZ,multi:!0,useFactory:pu},[lr,{provide:e.ip1,multi:!0,useFactory:so,deps:[lr]},{provide:lo,useFactory:ur,deps:[lr]},{provide:e.tb,multi:!0,useExisting:lo}]]}}static forChild(z){return{ngModule:pe,providers:[co(z)]}}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(Wr,8),e.LFG(vn,8))},pe.\u0275mod=e.oAB({type:pe}),pe.\u0275inj=e.cJS({}),pe})();function Co(pe,W,z){return z.scrollOffset&&W.setOffset(z.scrollOffset),new ar(pe,W,z)}function $r(pe,W,z={}){return z.useHash?new Ie.Do(pe,W):new Ie.b0(pe,W)}function cr(pe){return"guarded"}function co(pe){return[{provide:e.deG,multi:!0,useValue:pe},{provide:en,multi:!0,useValue:pe}]}let lr=(()=>{class pe{constructor(z){this.injector=z,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new k.xQ}appInitializer(){return this.injector.get(Ie.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Pe=null;const ze=new Promise(xt=>Pe=xt),dt=this.injector.get(vn),St=this.injector.get(Os);return"disabled"===St.initialNavigation?(dt.setUpLocationChangeListener(),Pe(!0)):"enabled"===St.initialNavigation||"enabledBlocking"===St.initialNavigation?(dt.hooks.afterPreactivation=()=>this.initNavigation?(0,g.of)(null):(this.initNavigation=!0,Pe(!0),this.resultOfPreactivationDone),dt.initialNavigation()):Pe(!0),ze})}bootstrapListener(z){const Pe=this.injector.get(Os),ze=this.injector.get(qr),dt=this.injector.get(ar),St=this.injector.get(vn),xt=this.injector.get(e.z2F);z===xt.components[0]&&(("enabledNonBlocking"===Pe.initialNavigation||void 0===Pe.initialNavigation)&&St.initialNavigation(),ze.setUpPreloading(),dt.init(),St.resetRootComponentType(xt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return pe.\u0275fac=function(z){return new(z||pe)(e.LFG(e.zs3))},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function so(pe){return pe.appInitializer.bind(pe)}function ur(pe){return pe.bootstrapListener.bind(pe)}const lo=new e.OlP("Router Initializer")},51062:(Ke,be,d)=>{"use strict";d.d(be,{Zw:()=>k,aw:()=>ve,X$:()=>Me,sK:()=>Fe});var e=d(5e3),f=d(21086),g=d(54715),T=d(30567),m=d(61221),A=d(88514),s=d(72986),b=d(5154),O=d(24850),E=d(21406),h=d(87545);class k{}let L=(()=>{class me extends k{getTranslation(ee){return(0,f.of)({})}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class V{}let $=(()=>{class me{handle(ee){return ee.key}}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();function ue(me,Te){if(me===Te)return!0;if(null===me||null===Te)return!1;if(me!=me&&Te!=Te)return!0;let Oe,Ie,He,ee=typeof me;if(ee==typeof Te&&"object"==ee){if(!Array.isArray(me)){if(Array.isArray(Te))return!1;for(Ie in He=Object.create(null),me){if(!ue(me[Ie],Te[Ie]))return!1;He[Ie]=!0}for(Ie in Te)if(!(Ie in He)&&void 0!==Te[Ie])return!1;return!0}if(!Array.isArray(Te))return!1;if((Oe=me.length)==Te.length){for(Ie=0;Ie{Le(Te[R])?R in me?ee[R]=de(me[R],Te[R]):Object.assign(ee,{[R]:Te[R]}):Object.assign(ee,{[R]:Te[R]})}),ee}class ke{}let ae=(()=>{class me extends ke{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ee,R){let Oe;return Oe="string"==typeof ee?this.interpolateString(ee,R):"function"==typeof ee?this.interpolateFunction(ee,R):ee,Oe}getValue(ee,R){let Oe="string"==typeof R?R.split("."):[R];R="";do{R+=Oe.shift(),!ce(ee)||!ce(ee[R])||"object"!=typeof ee[R]&&Oe.length?Oe.length?R+=".":ee=void 0:(ee=ee[R],R="")}while(Oe.length);return ee}interpolateFunction(ee,R){return ee(R)}interpolateString(ee,R){return R?ee.replace(this.templateMatcher,(Oe,Ie)=>{let He=this.getValue(R,Ie);return ce(He)?He:Oe}):ee}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class j{}let H=(()=>{class me extends j{compile(ee,R){return ee}compileTranslations(ee,R){return ee}}return me.\u0275fac=function(){let Te;return function(R){return(Te||(Te=e.n5z(me)))(R||me)}}(),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})();class Q{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new e.vpe,this.onLangChange=new e.vpe,this.onDefaultLangChange=new e.vpe}}const te=new e.OlP("USE_STORE"),se=new e.OlP("USE_DEFAULT_LANG"),ge=new e.OlP("DEFAULT_LANGUAGE"),Ne=new e.OlP("USE_EXTEND");let Fe=(()=>{class me{constructor(ee,R,Oe,Ie,He,fe=!0,Ce=!1,Ve=!1,Xe){this.store=ee,this.currentLoader=R,this.compiler=Oe,this.parser=Ie,this.missingTranslationHandler=He,this.useDefaultLang=fe,this.isolate=Ce,this.extend=Ve,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},Xe&&this.setDefaultLang(Xe)}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(ee){this.isolate?this._defaultLang=ee:this.store.defaultLang=ee}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ee){this.isolate?this._currentLang=ee:this.store.currentLang=ee}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ee){this.isolate?this._langs=ee:this.store.langs=ee}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ee){this.isolate?this._translations=ee:this.store.translations=ee}setDefaultLang(ee){if(ee===this.defaultLang)return;let R=this.retrieveTranslations(ee);void 0!==R?(null==this.defaultLang&&(this.defaultLang=ee),R.pipe((0,s.q)(1)).subscribe(Oe=>{this.changeDefaultLang(ee)})):this.changeDefaultLang(ee)}getDefaultLang(){return this.defaultLang}use(ee){if(ee===this.currentLang)return(0,f.of)(this.translations[ee]);let R=this.retrieveTranslations(ee);return void 0!==R?(this.currentLang||(this.currentLang=ee),R.pipe((0,s.q)(1)).subscribe(Oe=>{this.changeLang(ee)}),R):(this.changeLang(ee),(0,f.of)(this.translations[ee]))}retrieveTranslations(ee){let R;return(void 0===this.translations[ee]||this.extend)&&(this._translationRequests[ee]=this._translationRequests[ee]||this.getTranslation(ee),R=this._translationRequests[ee]),R}getTranslation(ee){this.pending=!0;const R=this.currentLoader.getTranslation(ee).pipe((0,b.d)(1),(0,s.q)(1));return this.loadingTranslations=R.pipe((0,O.U)(Oe=>this.compiler.compileTranslations(Oe,ee)),(0,b.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Oe=>{this.translations[ee]=this.extend&&this.translations[ee]?Object.assign(Object.assign({},Oe),this.translations[ee]):Oe,this.updateLangs(),this.pending=!1},error:Oe=>{this.pending=!1}}),R}setTranslation(ee,R,Oe=!1){R=this.compiler.compileTranslations(R,ee),this.translations[ee]=(Oe||this.extend)&&this.translations[ee]?de(this.translations[ee],R):R,this.updateLangs(),this.onTranslationChange.emit({lang:ee,translations:this.translations[ee]})}getLangs(){return this.langs}addLangs(ee){ee.forEach(R=>{-1===this.langs.indexOf(R)&&this.langs.push(R)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ee,R,Oe){let Ie;if(R instanceof Array){let He={},fe=!1;for(let Ce of R)He[Ce]=this.getParsedResult(ee,Ce,Oe),(0,g.b)(He[Ce])&&(fe=!0);if(fe){const Ce=R.map(Ve=>(0,g.b)(He[Ve])?He[Ve]:(0,f.of)(He[Ve]));return(0,T.D)(Ce).pipe((0,O.U)(Ve=>{let Xe={};return Ve.forEach((tt,rt)=>{Xe[R[rt]]=tt}),Xe}))}return He}if(ee&&(Ie=this.parser.interpolate(this.parser.getValue(ee,R),Oe)),void 0===Ie&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ie=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],R),Oe)),void 0===Ie){let He={key:R,translateService:this};void 0!==Oe&&(He.interpolateParams=Oe),Ie=this.missingTranslationHandler.handle(He)}return void 0!==Ie?Ie:R}get(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,E.b)(Oe=>(Oe=this.getParsedResult(Oe,ee,R),(0,g.b)(Oe)?Oe:(0,f.of)(Oe))));{let Oe=this.getParsedResult(this.translations[this.currentLang],ee,R);return(0,g.b)(Oe)?Oe:(0,f.of)(Oe)}}getStreamOnTranslationChange(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(ee,R)),this.onTranslationChange.pipe((0,h.w)(Oe=>{const Ie=this.getParsedResult(Oe.translations,ee,R);return"function"==typeof Ie.subscribe?Ie:(0,f.of)(Ie)})))}stream(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');return(0,m.z)((0,A.P)(()=>this.get(ee,R)),this.onLangChange.pipe((0,h.w)(Oe=>{const Ie=this.getParsedResult(Oe.translations,ee,R);return(0,g.b)(Ie)?Ie:(0,f.of)(Ie)})))}instant(ee,R){if(!ce(ee)||!ee.length)throw new Error('Parameter "key" required');let Oe=this.getParsedResult(this.translations[this.currentLang],ee,R);if((0,g.b)(Oe)){if(ee instanceof Array){let Ie={};return ee.forEach((He,fe)=>{Ie[ee[fe]]=ee[fe]}),Ie}return ee}return Oe}set(ee,R,Oe=this.currentLang){this.translations[Oe][ee]=this.compiler.compile(R,Oe),this.updateLangs(),this.onTranslationChange.emit({lang:Oe,translations:this.translations[Oe]})}changeLang(ee){this.currentLang=ee,this.onLangChange.emit({lang:ee,translations:this.translations[ee]}),null==this.defaultLang&&this.changeDefaultLang(ee)}changeDefaultLang(ee){this.defaultLang=ee,this.onDefaultLangChange.emit({lang:ee,translations:this.translations[ee]})}reloadLang(ee){return this.resetLang(ee),this.getTranslation(ee)}resetLang(ee){this._translationRequests[ee]=void 0,this.translations[ee]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ee=window.navigator.languages?window.navigator.languages[0]:null;return ee=ee||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==ee?(-1!==ee.indexOf("-")&&(ee=ee.split("-")[0]),-1!==ee.indexOf("_")&&(ee=ee.split("_")[0]),ee):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ee=window.navigator.languages?window.navigator.languages[0]:null;return ee=ee||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ee}}return me.\u0275fac=function(ee){return new(ee||me)(e.LFG(Q),e.LFG(k),e.LFG(j),e.LFG(ke),e.LFG(V),e.LFG(se),e.LFG(te),e.LFG(Ne),e.LFG(ge))},me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),Me=(()=>{class me{constructor(ee,R){this.translate=ee,this._ref=R,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ee,R,Oe){let Ie=He=>{this.value=void 0!==He?He:ee,this.lastKey=ee,this._ref.markForCheck()};if(Oe){let He=this.translate.getParsedResult(Oe,ee,R);(0,g.b)(He.subscribe)?He.subscribe(Ie):Ie(He)}this.translate.get(ee,R).subscribe(Ie)}transform(ee,...R){if(!ee||!ee.length)return ee;if(ue(ee,this.lastKey)&&ue(R,this.lastParams))return this.value;let Oe;if(ce(R[0])&&R.length)if("string"==typeof R[0]&&R[0].length){let Ie=R[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Oe=JSON.parse(Ie)}catch(He){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${R[0]}`)}}else"object"==typeof R[0]&&!Array.isArray(R[0])&&(Oe=R[0]);return this.lastKey=ee,this.lastParams=R,this.updateValue(ee,Oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ie=>{this.lastKey&&Ie.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ee,Oe,Ie.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ie=>{this.lastKey&&(this.lastKey=null,this.updateValue(ee,Oe,Ie.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ee,Oe))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return me.\u0275fac=function(ee){return new(ee||me)(e.Y36(Fe,16),e.Y36(e.sBO,16))},me.\u0275pipe=e.Yjl({name:"translate",type:me,pure:!1}),me.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac}),me})(),ve=(()=>{class me{static forRoot(ee={}){return{ngModule:me,providers:[ee.loader||{provide:k,useClass:L},ee.compiler||{provide:j,useClass:H},ee.parser||{provide:ke,useClass:ae},ee.missingTranslationHandler||{provide:V,useClass:$},Q,{provide:te,useValue:ee.isolate},{provide:se,useValue:ee.useDefaultLang},{provide:Ne,useValue:ee.extend},{provide:ge,useValue:ee.defaultLanguage},Fe]}}static forChild(ee={}){return{ngModule:me,providers:[ee.loader||{provide:k,useClass:L},ee.compiler||{provide:j,useClass:H},ee.parser||{provide:ke,useClass:ae},ee.missingTranslationHandler||{provide:V,useClass:$},{provide:te,useValue:ee.isolate},{provide:se,useValue:ee.useDefaultLang},{provide:Ne,useValue:ee.extend},{provide:ge,useValue:ee.defaultLanguage},Fe]}}}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275mod=e.oAB({type:me}),me.\u0275inj=e.cJS({}),me})()},86114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(69808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(40520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(70655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(21086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(61946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(61737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(36053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(36787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(92198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(22868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(80013),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(40943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(87545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(24850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(87224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(27221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(46227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(72986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(61709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Ke extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Ke.\u0275fac=function(){let be;return function(e){return(be||(be=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Ke)))(e||Ke)}}(),Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Ke{constructor(){this.data=new Map}getItem(d){return this.data.get(d)}removeItem(d){this.data.delete(d)}setItem(d,e){this.data.set(d,e)}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class ReceivedTokens{}class OAuthEvent{constructor(be){this.type=be}}class OAuthSuccessEvent extends OAuthEvent{constructor(be,d=null){super(be),this.info=d}}class OAuthInfoEvent extends OAuthEvent{constructor(be,d=null){super(be),this.info=d}}class OAuthErrorEvent extends OAuthEvent{constructor(be,d,e=null){super(be),this.reason=d,this.params=e}}function b64DecodeUnicode(Ke){const be=Ke.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(be).split("").map(function(d){return"%"+("00"+d.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Ke){return btoa(Ke).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(be){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=d=>{location.href=d},be&&Object.assign(this,be)}}class WebHttpUrlEncodingCodec{encodeKey(be){return encodeURIComponent(be)}encodeValue(be){return encodeURIComponent(be)}decodeKey(be){return decodeURIComponent(be)}decodeValue(be){return decodeURIComponent(be)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(be){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let d=this.inferHashAlgorithm(be.idTokenHeader),e=yield this.calcHash(be.accessToken,d),g=base64UrlEncode(e.substr(0,e.length/2)),T=be.idTokenClaims.at_hash.replace(/=/g,"");return g!==T&&(console.error("exptected at_hash: "+g),console.error("actual at_hash: "+T)),g===T})}inferHashAlgorithm(be){let d=be.alg;if(!d.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+d);return"sha-"+d.substr(2)}}let UrlHelperService=(()=>{class Ke{getHashFragmentParams(d){let e=d||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const f=e.indexOf("?");return e=e.substr(f>-1?f+1:1),this.parseQueryString(e)}parseQueryString(d){const e={};let f,g,T,m,A,s,b;if(null===d)return e;f=d.split("&");for(let O=0;O>6,g[m++]=128|63&A):A<55296||A>=57344?(g[m++]=224|A>>12,g[m++]=128|A>>6&63,g[m++]=128|63&A):(A=65536+((1023&A)<<10|1023&Ke.charCodeAt(++e)),g[m++]=240|A>>18,g[m++]=128|A>>12&63,g[m++]=128|A>>6&63,g[m++]=128|63&A);Ke=g}else{if("object"!==f)throw new Error(ERROR);if(null===Ke)throw new Error(ERROR);if(ARRAY_BUFFER&&Ke.constructor===ArrayBuffer)Ke=new Uint8Array(Ke);else if(!(Array.isArray(Ke)||ARRAY_BUFFER&&ArrayBuffer.isView(Ke)))throw new Error(ERROR)}Ke.length>64&&(Ke=new Sha256(be,!0).update(Ke).array());var s=[],b=[];for(e=0;e<64;++e){var O=Ke[e]||0;s[e]=92^O,b[e]=54^O}Sha256.call(this,be,d),this.update(b),this.oKeyPad=s,this.inner=!0,this.sharedMemory=d}Sha256.prototype.update=function(Ke){if(!this.finalized){var be,d=typeof Ke;if("string"!==d){if("object"!==d)throw new Error(ERROR);if(null===Ke)throw new Error(ERROR);if(ARRAY_BUFFER&&Ke.constructor===ArrayBuffer)Ke=new Uint8Array(Ke);else if(!(Array.isArray(Ke)||ARRAY_BUFFER&&ArrayBuffer.isView(Ke)))throw new Error(ERROR);be=!0}for(var e,g,f=0,T=Ke.length,m=this.blocks;f>2]|=Ke[f]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(m[g>>2]|=(224|e>>12)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<>2]|=(240|e>>18)<>2]|=(128|e>>12&63)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<=64?(this.block=m[16],this.start=g-64,this.hash(),this.hashed=!0):this.start=g}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Ke=this.blocks,be=this.lastByteIndex;Ke[16]=this.block,Ke[be>>2]|=EXTRA[3&be],this.block=Ke[16],be>=56&&(this.hashed||this.hash(),Ke[0]=this.block,Ke[16]=Ke[1]=Ke[2]=Ke[3]=Ke[4]=Ke[5]=Ke[6]=Ke[7]=Ke[8]=Ke[9]=Ke[10]=Ke[11]=Ke[12]=Ke[13]=Ke[14]=Ke[15]=0),Ke[14]=this.hBytes<<3|this.bytes>>>29,Ke[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var s,h,V,$,ue,ce,Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=this.blocks;for(s=16;s<64;++s)A[s]=A[s-16]+(((h=A[s-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+A[s-7]+(((h=A[s-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(ce=be&d,s=0;s<64;s+=4)this.first?(this.is224?(V=300032,m=(h=A[0]-1413257819)-150054599<<0,e=h+24177077<<0):(V=704751109,m=(h=A[0]-210244248)-1521486534<<0,e=h+143694565<<0),this.first=!1):(m=e+(h=m+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&g^~f&T)+K[s]+A[s])<<0,e=h+(((Ke>>>2|Ke<<30)^(Ke>>>13|Ke<<19)^(Ke>>>22|Ke<<10))+((V=Ke&be)^Ke&d^ce))<<0),T=d+(h=T+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&f^~m&g)+K[s+1]+A[s+1])<<0,d=h+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(($=e&Ke)^e&be^V))<<0,g=be+(h=g+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&m^~T&f)+K[s+2]+A[s+2])<<0,be=h+(((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+((ue=d&e)^d&Ke^$))<<0,f=Ke+(h=f+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&T^~g&m)+K[s+3]+A[s+3])<<0,Ke=h+(((be>>>2|be<<30)^(be>>>13|be<<19)^(be>>>22|be<<10))+((ce=be&d)^be&e^ue))<<0;this.h0=this.h0+Ke<<0,this.h1=this.h1+be<<0,this.h2=this.h2+d<<0,this.h3=this.h3+e<<0,this.h4=this.h4+f<<0,this.h5=this.h5+g<<0,this.h6=this.h6+T<<0,this.h7=this.h7+m<<0},Sha256.prototype.hex=function(){this.finalize();var Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=HEX_CHARS[Ke>>28&15]+HEX_CHARS[Ke>>24&15]+HEX_CHARS[Ke>>20&15]+HEX_CHARS[Ke>>16&15]+HEX_CHARS[Ke>>12&15]+HEX_CHARS[Ke>>8&15]+HEX_CHARS[Ke>>4&15]+HEX_CHARS[15&Ke]+HEX_CHARS[be>>28&15]+HEX_CHARS[be>>24&15]+HEX_CHARS[be>>20&15]+HEX_CHARS[be>>16&15]+HEX_CHARS[be>>12&15]+HEX_CHARS[be>>8&15]+HEX_CHARS[be>>4&15]+HEX_CHARS[15&be]+HEX_CHARS[d>>28&15]+HEX_CHARS[d>>24&15]+HEX_CHARS[d>>20&15]+HEX_CHARS[d>>16&15]+HEX_CHARS[d>>12&15]+HEX_CHARS[d>>8&15]+HEX_CHARS[d>>4&15]+HEX_CHARS[15&d]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[f>>28&15]+HEX_CHARS[f>>24&15]+HEX_CHARS[f>>20&15]+HEX_CHARS[f>>16&15]+HEX_CHARS[f>>12&15]+HEX_CHARS[f>>8&15]+HEX_CHARS[f>>4&15]+HEX_CHARS[15&f]+HEX_CHARS[g>>28&15]+HEX_CHARS[g>>24&15]+HEX_CHARS[g>>20&15]+HEX_CHARS[g>>16&15]+HEX_CHARS[g>>12&15]+HEX_CHARS[g>>8&15]+HEX_CHARS[g>>4&15]+HEX_CHARS[15&g]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T];return this.is224||(A+=HEX_CHARS[m>>28&15]+HEX_CHARS[m>>24&15]+HEX_CHARS[m>>20&15]+HEX_CHARS[m>>16&15]+HEX_CHARS[m>>12&15]+HEX_CHARS[m>>8&15]+HEX_CHARS[m>>4&15]+HEX_CHARS[15&m]),A},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Ke=this.h0,be=this.h1,d=this.h2,e=this.h3,f=this.h4,g=this.h5,T=this.h6,m=this.h7,A=[Ke>>24&255,Ke>>16&255,Ke>>8&255,255&Ke,be>>24&255,be>>16&255,be>>8&255,255&be,d>>24&255,d>>16&255,d>>8&255,255&d,e>>24&255,e>>16&255,e>>8&255,255&e,f>>24&255,f>>16&255,f>>8&255,255&f,g>>24&255,g>>16&255,g>>8&255,255&g,T>>24&255,T>>16&255,T>>8&255,255&T];return this.is224||A.push(m>>24&255,m>>16&255,m>>8&255,255&m),A},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Ke=new ArrayBuffer(this.is224?28:32),be=new DataView(Ke);return be.setUint32(0,this.h0),be.setUint32(4,this.h1),be.setUint32(8,this.h2),be.setUint32(12,this.h3),be.setUint32(16,this.h4),be.setUint32(20,this.h5),be.setUint32(24,this.h6),this.is224||be.setUint32(28,this.h7),Ke},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Ke=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Ke),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Ke){if("string"!=typeof Ke)throw new TypeError("expected string");var be,d=Ke,e=new Uint8Array(d.length);for(be=0;be{class Ke{calcHash(d,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(d)))})}toHashString2(d){let e="";for(let f of d)e+=String.fromCharCode(f);return e}toHashString(d){const e=new Uint8Array(d);let f="";for(let g of e)f+=String.fromCharCode(g);return f}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),OAuthService=(()=>{class Ke extends AuthConfig{constructor(d,e,f,g,T,m,A,s,b,O){var E;super(),this.ngZone=d,this.http=e,this.config=T,this.urlHelper=m,this.logger=A,this.crypto=s,this.dateTimeService=O,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=b,T||(T={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),g&&(this.tokenValidationHandler=g),T&&this.configure(T);try{f?this.setStorage(f):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(E=null==window?void 0:window.navigator)||void 0===E?void 0:E.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const d="test";try{return void 0!==window.localStorage&&(localStorage.setItem(d,d),localStorage.removeItem(d),!0)}catch(e){return!1}}configure(d){Object.assign(this,new AuthConfig,d),this.config=Object.assign({},new AuthConfig,d),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(d={},e,f=!0){let g=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(T=>{"token_received"===T.type?g=!0:"logout"===T.type&&(g=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>"token_expires"===T.type&&(null==e||"any"===e||T.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(T=>{g&&this.refreshInternal(d,f).catch(m=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(d,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(d,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(d=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(d))}loadDiscoveryDocumentAndLogin(d=null){return this.loadDiscoveryDocumentAndTryLogin(d=d||{}).then(e=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof d.state?d.state:""),!1))}debug(...d){this.showDebugInformation&&this.logger.debug.apply(this.logger,d)}validateUrlFromDiscoveryDocument(d){const e=[],f=this.validateUrlForHttps(d),g=this.validateUrlAgainstIssuer(d);return f||e.push("https for all urls required. Also for urls received by discovery."),g||e.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),e}validateUrlForHttps(d){if(!d)return!0;const e=d.toLowerCase();return!(!1!==this.requireHttps&&(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(d,e){if(!d)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(d))throw new Error(`'${e}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(d){return!this.strictDiscoveryDocumentValidation||!d||d.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"token_received"===d.type)).subscribe(d=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const d=this.getAccessTokenExpiration(),e=this.getAccessTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}setupIdTokenTimer(){const d=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),f=this.calcTimeout(e,d);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(f)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(d,e){const f=this.dateTimeService.now();return Math.max(0,(e-d)*this.timeoutFactor-(f-d))}setStorage(d){this._storage=d,this.configChanged()}loadDiscoveryDocument(d=null){return new Promise((e,f)=>{d||((d=this.issuer||"").endsWith("/")||(d+="/"),d+=".well-known/openid-configuration"),this.validateUrlForHttps(d)?this.http.get(d).subscribe(g=>{if(!this.validateDiscoveryDocument(g))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void f("discovery_document_validation_error");this.loginUrl=g.authorization_endpoint,this.logoutUrl=g.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=g.grant_types_supported,this.issuer=g.issuer,this.tokenEndpoint=g.token_endpoint,this.userinfoEndpoint=g.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=g.jwks_uri,this.sessionCheckIFrameUrl=g.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(g),this.revocationEndpoint=g.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(T=>{const A=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:g,jwks:T});this.eventsSubject.next(A),e(A)}).catch(T=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),f(T)})},g=>{this.logger.error("error loading discovery document",g),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",g)),f(g)}):f("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((d,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(f=>{this.jwks=f,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),d(f)},f=>{this.logger.error("error loading jwks",f),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",f)),e(f)}):d(null)})}validateDiscoveryDocument(d){let e;return this.skipIssuerCheck||d.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(d.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(d.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(d.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!1):(this.sessionChecksEnabled&&!d.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+d.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(d,e,f).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((d,e)=>{const f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:f,observe:"response",responseType:"text"}).subscribe(g=>{if(this.debug("userinfo received",JSON.stringify(g)),g.headers.get("content-type").startsWith("application/json")){let T=JSON.parse(g.body);const m=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!m.sub||T.sub!==m.sub))return void e("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");T=Object.assign({},m,T),this._storage.setItem("id_token_claims_obj",JSON.stringify(T)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d({info:T})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),d(JSON.parse(g.body))},g=>{this.logger.error("error loading user info",g),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",g)),e(g)})})}fetchTokenUsingPasswordFlow(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:d,password:e},f)}fetchTokenUsingGrant(d,e,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",d).set("scope",this.scope);if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+T)}if(this.useHttpBasicAuth||(g=g.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(g=g.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const T of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(T,this.customQueryParams[T]);for(const T of Object.keys(e))g=g.set(T,e[T]);return f=f.set("Content-Type","application/x-www-form-urlencoded"),new Promise((T,m)=>{this.http.post(this.tokenEndpoint,g,{headers:f}).subscribe(A=>{this.debug("tokenResponse",A),this.storeAccessTokenResponse(A.access_token,A.refresh_token,A.expires_in||this.fallbackAccessTokenExpirationTimeInSec,A.scope,this.extractRecognizedCustomParameters(A)),this.oidc&&A.id_token&&this.processIdToken(A.id_token,A.access_token).then(s=>{this.storeIdToken(s),T(A)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),T(A)},A=>{this.logger.error("Error performing ${grantType} flow",A),this.eventsSubject.next(new OAuthErrorEvent("token_error",A)),m(A)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((d,e)=>{let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+T)}if(this.useHttpBasicAuth||(f=f.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(f=f.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const T of Object.getOwnPropertyNames(this.customQueryParams))f=f.set(T,this.customQueryParams[T]);this.http.post(this.tokenEndpoint,f,{headers:g}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(T=>T.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(T.id_token,T.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(m=>this.storeIdToken(m)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(m=>T)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(T))).subscribe(T=>{this.debug("refresh tokenResponse",T),this.storeAccessTokenResponse(T.access_token,T.refresh_token,T.expires_in||this.fallbackAccessTokenExpirationTimeInSec,T.scope,this.extractRecognizedCustomParameters(T)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),d(T)},T=>{this.logger.error("Error refreshing token",T),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",T)),e(T)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=d=>{const e=this.processMessageEventMessage(d);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(f=>this.debug("tryLogin during silent refresh failed",f))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(d={},e=!0){const f=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(d.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const g=this.document.getElementById(this.silentRefreshIFrameName);g&&this.document.body.removeChild(g),this.silentRefreshSubject=f.sub;const T=this.document.createElement("iframe");T.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,d).then(O=>{T.setAttribute("src",O),this.silentRefreshShowIFrame||(T.style.display="none"),this.document.body.appendChild(T)});const A=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>O instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),s=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([A,s,b]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>{if(O instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===O.type||(O=new OAuthErrorEvent("silent_refresh_error",O)),this.eventsSubject.next(O),O;return"token_received"===O.type&&(O=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(O)),O})).toPromise()}initImplicitFlowInPopup(d){return this.initLoginFlowInPopup(d)}initLoginFlowInPopup(d){return d=d||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((f,g)=>{let A,m=null;d.windowRef?d.windowRef&&!d.windowRef.closed&&(m=d.windowRef,m.location.href=e):m=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(d));const s=k=>{this.tryLogin({customHashFragment:k,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{O(),f(!0)},L=>{O(),g(L)})};m?A=window.setInterval(()=>{(!m||m.closed)&&(O(),g(new OAuthErrorEvent("popup_closed",{})))},500):g(new OAuthErrorEvent("popup_blocked",{}));const O=()=>{window.clearInterval(A),window.removeEventListener("storage",h),window.removeEventListener("message",E),null!==m&&m.close(),m=null},E=k=>{const L=this.processMessageEventMessage(k);L&&null!==L?(window.removeEventListener("storage",h),s(L)):console.log("false event firing")},h=k=>{"auth_hash"===k.key&&(window.removeEventListener("message",E),s(k.newValue))};window.addEventListener("message",E),window.addEventListener("storage",h)}))}calculatePopupFeatures(d){const e=d.height||470,f=d.width||500,g=window.screenLeft+(window.outerWidth-f)/2;return`location=no,toolbar=no,width=${f},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${g}`}processMessageEventMessage(d){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!d||!d.data||"string"!=typeof d.data)return;const f=d.data;return f.startsWith(e)?"#"+f.substr(e.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=d=>{const e=d.origin.toLowerCase(),f=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),f.startsWith(e)){switch(d.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",d)}else this.debug("sessionCheckEventListener","wrong origin",e,"expected",f,"event",d)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(d=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(d=>{this.debug("token refresh after session change worked")}).catch(d=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(d=>"silently_refreshed"===d.type||"silent_refresh_timeout"===d.type||"silent_refresh_error"===d.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(d=>{"silently_refreshed"!==d.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const d=this.document.getElementById(this.sessionCheckIFrameName);d&&this.document.body.removeChild(d);const e=this.document.createElement("iframe");e.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),e.setAttribute("src",this.sessionCheckIFrameUrl),e.style.display="none",this.document.body.appendChild(e),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const d=this.document.getElementById(this.sessionCheckIFrameName);d||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),d.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(d="",e="",f="",g=!1,T={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const m=this;let A;A=f||this.redirectUri;const s=yield this.createAndSaveNonce();if(d=d?s+this.config.nonceStateSeparator+encodeURIComponent(d):s,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const b=m.loginUrl.indexOf("?")>-1?"&":"?";let O=m.scope;this.oidc&&!O.match(/(^|\s)openid($|\s)/)&&(O="openid "+O);let E=m.loginUrl+b+"response_type="+encodeURIComponent(m.responseType)+"&client_id="+encodeURIComponent(m.clientId)+"&state="+encodeURIComponent(d)+"&redirect_uri="+encodeURIComponent(A)+"&scope="+encodeURIComponent(O);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,k]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",k):this._storage.setItem("PKCE_verifier",k),E+="&code_challenge="+h,E+="&code_challenge_method=S256"}e&&(E+="&login_hint="+encodeURIComponent(e)),m.resource&&(E+="&resource="+encodeURIComponent(m.resource)),m.oidc&&(E+="&nonce="+encodeURIComponent(s)),g&&(E+="&prompt=none");for(const h of Object.keys(T))E+="&"+encodeURIComponent(h)+"="+encodeURIComponent(T[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))E+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return E})}initImplicitFlowInternal(d="",e=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(T=>{console.error("Error in initImplicitFlow",T),this.inImplicitFlow=!1})}initImplicitFlow(d="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(d,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(f=>"discovery_document_loaded"===f.type)).subscribe(f=>this.initImplicitFlowInternal(d,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(d){const e=this;if(d.onTokenReceived){const f={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};d.onTokenReceived(f)}}storeAccessTokenResponse(d,e,f,g,T){if(this._storage.setItem("access_token",d),g&&!Array.isArray(g)?this._storage.setItem("granted_scopes",JSON.stringify(g.split(" "))):g&&Array.isArray(g)&&this._storage.setItem("granted_scopes",JSON.stringify(g)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),f){const m=1e3*f,s=this.dateTimeService.new().getTime()+m;this._storage.setItem("expires_at",""+s)}e&&this._storage.setItem("refresh_token",e),T&&T.forEach((m,A)=>{this._storage.setItem(A,m)})}tryLogin(d=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(d).then(e=>!0):this.tryLoginImplicitFlow(d)}parseQueryString(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):{}}tryLoginCodeFlow(d=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const e=(d=d||{}).customHashFragment?d.customHashFragment.substring(1):window.location.search,f=this.getCodePartsFromUrl(e),g=f.code,T=f.state,m=f.session_state;if(!d.preventClearHashAfterLogin){const b=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,b)}let[A,s]=this.parseState(T);if(this.state=s,f.error){this.debug("error trying to login"),this.handleLoginError(d,f);const b=new OAuthErrorEvent("code_error",{},f);return this.eventsSubject.next(b),Promise.reject(b)}if(!d.disableNonceCheck){if(!A)return this.saveRequestedRoute(),Promise.resolve();if(!d.disableOAuth2StateCheck&&!this.validateNonce(A)){const O=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(O),Promise.reject(O)}return this.storeSessionState(m),g&&(yield this.getTokenFromCode(g,d),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const d=this._storage.getItem("requested_route");d&&history.replaceState(null,"",window.location.origin+d)}getCodePartsFromUrl(d){return d&&0!==d.length?("?"===d.charAt(0)&&(d=d.substr(1)),this.urlHelper.parseQueryString(d)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(d,e){let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",d).set("redirect_uri",e.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let g;g=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),g?f=f.set("code_verifier",g):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(f,e)}fetchAndProcessToken(d,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let f=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const g=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+g)}return this.useHttpBasicAuth||(d=d.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(d=d.set("client_secret",this.dummyClientSecret)),new Promise((g,T)=>{if(this.customQueryParams)for(let m of Object.getOwnPropertyNames(this.customQueryParams))d=d.set(m,this.customQueryParams[m]);this.http.post(this.tokenEndpoint,d,{headers:f}).subscribe(m=>{this.debug("refresh tokenResponse",m),this.storeAccessTokenResponse(m.access_token,m.refresh_token,m.expires_in||this.fallbackAccessTokenExpirationTimeInSec,m.scope,this.extractRecognizedCustomParameters(m)),this.oidc&&m.id_token?this.processIdToken(m.id_token,m.access_token,e.disableNonceCheck).then(A=>{this.storeIdToken(A),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m)}).catch(A=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",A)),console.error("Error validating tokens"),console.error(A),T(A)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(m))},m=>{console.error("Error getting token",m),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",m)),T(m)})})}tryLoginImplicitFlow(d=null){let e;e=(d=d||{}).customHashFragment?this.urlHelper.getHashFragmentParams(d.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const f=e.state;let[g,T]=this.parseState(f);if(this.state=T,e.error){this.debug("error trying to login"),this.handleLoginError(d,e);const O=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(O),Promise.reject(O)}const m=e.access_token,A=e.id_token,s=e.session_state,b=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!m||this.requestAccessToken&&!d.disableOAuth2StateCheck&&!f||this.oidc&&!A)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!s&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!d.disableNonceCheck&&!this.validateNonce(g)){const E=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(E),Promise.reject(E)}return this.requestAccessToken&&this.storeAccessTokenResponse(m,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,b),this.oidc?this.processIdToken(A,m,d.disableNonceCheck).then(O=>d.validationHandler?d.validationHandler({accessToken:m,idClaims:O.idTokenClaims,idToken:O.idToken,state:f}).then(E=>O):O).then(O=>(this.storeIdToken(O),this.storeSessionState(s),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(d),this.inImplicitFlow=!1,!0)).catch(O=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),this.logger.error("Error validating tokens"),this.logger.error(O),Promise.reject(O))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(d),Promise.resolve(!0))}parseState(d){let e=d,f="";if(d){const g=d.indexOf(this.config.nonceStateSeparator);g>-1&&(e=d.substr(0,g),f=d.substr(g+this.config.nonceStateSeparator.length))}return[e,f]}validateNonce(d){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===d||(console.error("Validating access_token failed, wrong state/nonce.",e,d),!1)}storeIdToken(d){this._storage.setItem("id_token",d.idToken),this._storage.setItem("id_token_claims_obj",d.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+d.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(d){this._storage.setItem("session_state",d)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(d,e){d.onLoginError&&d.onLoginError(e),this.clearHashAfterLogin&&!d.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(d=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:d}processIdToken(d,e,f=!1){const g=d.split("."),m=b64DecodeUnicode(this.padBase64(g[0])),A=JSON.parse(m),b=b64DecodeUnicode(this.padBase64(g[1])),O=JSON.parse(b);let E;if(E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(O.aud)){if(O.aud.every(ue=>ue!==this.clientId)){const ue="Wrong audience: "+O.aud.join(",");return this.logger.warn(ue),Promise.reject(ue)}}else if(O.aud!==this.clientId){const ue="Wrong audience: "+O.aud;return this.logger.warn(ue),Promise.reject(ue)}if(!O.sub){const ue="No sub claim in id_token";return this.logger.warn(ue),Promise.reject(ue)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==O.sub){const ue=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${O.sub}`;return this.logger.warn(ue),Promise.reject(ue)}if(!O.iat){const ue="No iat claim in id_token";return this.logger.warn(ue),Promise.reject(ue)}if(!this.skipIssuerCheck&&O.iss!==this.issuer){const ue="Wrong issuer: "+O.iss;return this.logger.warn(ue),Promise.reject(ue)}if(!f&&O.nonce!==E){const ue="Wrong nonce: "+O.nonce;return this.logger.warn(ue),Promise.reject(ue)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!O.at_hash){const ue="An at_hash is needed!";return this.logger.warn(ue),Promise.reject(ue)}const h=this.dateTimeService.now(),k=1e3*O.iat,L=1e3*O.exp,V=this.getClockSkewInMsec();if(k-V>=h||L+V<=h){const ue="Token has expired";return console.error(ue),console.error({now:h,issuedAtMSec:k,expiresAtMSec:L}),Promise.reject(ue)}const $={accessToken:e,idToken:d,jwks:this.jwks,idTokenClaims:O,idTokenHeader:A,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature($).then(ue=>({idToken:d,idTokenClaims:O,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:L})):this.checkAtHash($).then(ue=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ue){const ce="Wrong at_hash";return this.logger.warn(ce),Promise.reject(ce)}return this.checkSignature($).then(ce=>{const de={idToken:d,idTokenClaims:O,idTokenClaimsJson:b,idTokenHeader:A,idTokenHeaderJson:m,idTokenExpiresAt:L};return this.disableAtHashCheck?de:this.checkAtHash($).then(ke=>{if(this.requestAccessToken&&!ke){const ae="Wrong at_hash";return this.logger.warn(ae),Promise.reject(ae)}return de})})})}getIdentityClaims(){const d=this._storage.getItem("id_token_claims_obj");return d?JSON.parse(d):null}getGrantedScopes(){const d=this._storage.getItem("granted_scopes");return d?JSON.parse(d):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(d){for(;d.length%4!=0;)d+="=";return d}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const d=this._storage.getItem("expires_at"),e=this.dateTimeService.new();return!(d&&parseInt(d,10)=0&&null!==this._storage.getItem(d)?JSON.parse(this._storage.getItem(d)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(d={},e=""){let f=!1;"boolean"==typeof d&&(f=d,d={});const g=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(m=>this._storage.removeItem(m)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||f||!g&&!this.postLogoutRedirectUri)return;let T;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)T=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(g)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});g&&(m=m.set("id_token_hint",g));const A=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";A&&(m=m.set("post_logout_redirect_uri",A),e&&(m=m.set("state",e)));for(let s in d)m=m.set(s,d[s]);T=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+m.toString()}this.config.openUri(T)}createAndSaveNonce(){const d=this;return this.createNonce().then(function(e){return d.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):d._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const d=this.document.getElementById(this.silentRefreshIFrameName);d&&d.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(d=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let f=45,g="";const T="undefined"==typeof self?null:self.crypto||self.msCrypto;if(T){let m=new Uint8Array(f);T.getRandomValues(m),m.map||(m.map=Array.prototype.map),m=m.map(A=>e.charCodeAt(A%e.length)),g=String.fromCharCode.apply(null,m)}else for(;0"discovery_document_loaded"===f.type)).subscribe(f=>this.initCodeFlowInternal(d,e))}initCodeFlowInternal(d="",e={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let f={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(f=e),this.createLoginUrl(d,g,null,!1,f).then(this.config.openUri).catch(T=>{console.error("Error in initAuthorizationCodeFlow"),console.error(T)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const d=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(d,"sha-256")),d]})}extractRecognizedCustomParameters(d){let e=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(f=>{d[f]&&e.set(f,JSON.stringify(d[f]))}),e}revokeTokenAndLogout(d={},e=!1){let f=this.revocationEndpoint,g=this.getAccessToken(),T=this.getRefreshToken();if(!g)return;let m=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),A=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const s=btoa(`${this.clientId}:${this.dummyClientSecret}`);A=A.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(m=m.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(m=m.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const s of Object.getOwnPropertyNames(this.customQueryParams))m=m.set(s,this.customQueryParams[s]);return new Promise((s,b)=>{let O,E;if(g){let h=m.set("token",g).set("token_type_hint","access_token");O=this.http.post(f,h,{headers:A})}else O=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(T){let h=m.set("token",T).set("token_type_hint","refresh_token");E=this.http.post(f,h,{headers:A})}else E=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);e&&(O=O.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),E=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([O,E]).subscribe(h=>{this.logOut(d),s(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),b(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ke.\u0275fac=function(d){return new(d||Ke)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(be){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(be)}}let DefaultOAuthInterceptor=(()=>{class Ke{constructor(d,e,f){this.oAuthService=d,this.errorHandler=e,this.moduleConfig=f}checkUrl(d){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(d):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>d.toLowerCase().startsWith(e.toLowerCase()))}intercept(d,e){const f=d.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(f)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>!!T)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(T=>"token_received"===T.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(T=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(T=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(T=>{if(T){const A=d.headers.set("Authorization","Bearer "+T);d=d.clone({headers:A})}return e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(m=>this.errorHandler.handleError(m)))})):e.handle(d).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(T=>this.errorHandler.handleError(T))):e.handle(d)}}return Ke.\u0275fac=function(d){return new(d||Ke)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Ke.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class NullValidationHandler{validateSignature(be){return Promise.resolve(null)}validateAtHash(be){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Ke{static forRoot(d=null,e=NullValidationHandler){return{ngModule:Ke,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:e},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:d},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Ke.\u0275fac=function(d){return new(d||Ke)},Ke.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Ke}),Ke.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Ke})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},43586:(Ke,be,d)=>{"use strict";d.d(be,{nu:()=>fe,Co:()=>Ve});var e=d(5e3),f=d(93075),g=d(90508),T=d(74107),m=d(67322),A=d(91159),s=d(591),b=d(21086),O=d(36053),E=d(8929),h=d(87545),k=d(24850),L=d(1059),V=d(40943),$=d(7625),ue=d(72986),ce=d(92198),Le=d(22868),de=d(53435),ke=d(15664),ae=d(77446),j=d(20773),H=d(47423),Q=d(25245),te=d(69808),se=d(29772);const ge=["searchSelectInput"],Ne=["innerSelectSearch"];function Fe(Xe,tt){if(1&Xe){const rt=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(he){return e.CHM(rt),e.oxw()._emitSelectAllBooleanToParent(he.checked)}),e.qZA()}if(2&Xe){const rt=e.oxw();e.Q6J("color",null==rt.matFormField?null:rt.matFormField.color)("checked",rt.toggleAllCheckboxChecked)("indeterminate",rt.toggleAllCheckboxIndeterminate)("matTooltip",rt.toggleAllCheckboxTooltipMessage)("matTooltipPosition",rt.toogleAllCheckboxTooltipPosition)}}function ne(Xe,tt){1&Xe&&e._UZ(0,"mat-spinner",10)}function Me(Xe,tt){1&Xe&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ve(Xe,tt){1&Xe&&(e.TgZ(0,"mat-icon"),e._uU(1,"close"),e.qZA())}function me(Xe,tt){if(1&Xe){const rt=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(rt),e.oxw()._reset(!0)}),e.YNc(1,Me,1,0,"ng-content",12),e.YNc(2,ve,2,0,"ng-template",null,13,e.W1O),e.qZA()}if(2&Xe){const rt=e.MAs(3),N=e.oxw();e.xp6(1),e.Q6J("ngIf",N.clearIcon)("ngIfElse",rt)}}function Te(Xe,tt){if(1&Xe&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&Xe){const rt=e.oxw();e.xp6(1),e.hij(" ",rt.noEntriesFoundLabel,"\n")}}const ee=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]]],R=function(Xe,tt){return{"mat-select-search-inner-multiple":Xe,"mat-select-search-inner-toggle-all":tt}},Oe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]"];let Ie=(()=>{class Xe{}return Xe.\u0275fac=function(rt){return new(rt||Xe)},Xe.\u0275dir=e.lG2({type:Xe,selectors:[["","ngxMatSelectSearchClear",""]]}),Xe})(),fe=(()=>{class Xe{constructor(rt,N,he,D=null,S,I=null){this.matSelect=rt,this.changeDetectorRef=N,this._viewportRuler=he,this.matOption=D,this.liveAnnouncer=S,this.matFormField=I,this.placeholderLabel="Suche",this.type="text",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=P=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,h.w)(P=>P?P.changes.pipe((0,k.U)(i=>i.toArray()),(0,L.O)(P.toArray())):(0,b.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,k.U)(P=>P?P.length:0)),this._formControl=new f.NI(""),this._showNoEntriesFound$=(0,O.aj)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,k.U)(([P,i])=>this.noEntriesFoundLabel&&P&&i===this.getOptionsLengthOffset())),this._onDestroy=new E.xQ}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(rt){this._options$.next(rt)}get _options(){return this._options$.getValue()}ngOnInit(){const rt="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(rt):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,rt]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[rt]=!0):this.matSelect.panelClass=rt,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,V.g)(1),(0,$.R)(this._onDestroy)).subscribe(N=>{N?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,ue.q)(1)).pipe((0,$.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,$.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let N=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,$.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const he=this._options.toArray(),D=he[this.getOptionsLengthOffset()],S=this.matSelect._keyManager;S&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(N,D)||!S.activeItem||!he.find(P=>this.matSelect.compareWith(P,S.activeItem)))&&S.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),N=D})})}),this._showNoEntriesFound$.pipe((0,$.R)(this._onDestroy)).subscribe(N=>{this.matOption&&(N?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,$.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,$.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(rt){this.toggleAll.emit(rt)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(rt){(rt.key&&1===rt.key.length||rt.keyCode>=A.A&&rt.keyCode<=A.Z||rt.keyCode>=A.xE&&rt.keyCode<=A.aO||rt.keyCode===A.L_||this.preventHomeEndKeyPropagation&&(rt.keyCode===A.Sd||rt.keyCode===A.uR))&&rt.stopPropagation(),this.matSelect.multiple&&rt.key&&rt.keyCode===A.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&rt.keyCode===A.hY&&this.value&&(this._reset(!0),rt.stopPropagation())}_handleKeyup(rt){if(rt.keyCode===A.LH||rt.keyCode===A.JH){const N=this.matSelect._getAriaActiveDescendant(),he=this._options.toArray().findIndex(D=>D.id===N);if(-1!==he){const D=this._options.toArray()[he];this.liveAnnouncer.announce(D.viewValue+" "+this.getAriaIndex(he)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(rt){return 0===this.getOptionsLengthOffset()?rt+1:rt}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(rt){this._lastExternalInputValue=rt,this._formControl.setValue(rt),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(rt){this._formControl.valueChanges.pipe((0,ce.h)(N=>N!==this._lastExternalInputValue),(0,Le.b)(()=>this._lastExternalInputValue=void 0),(0,$.R)(this._onDestroy)).subscribe(rt)}registerOnTouched(rt){this.onTouched=rt}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const rt=this.matSelect.panel.nativeElement,N=rt.scrollTop;this.searchSelectInput.nativeElement.focus(),rt.scrollTop=N}_reset(rt){this._formControl.setValue(""),rt&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,$.R)(this._onDestroy)).subscribe(rt=>{let N=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!rt||!Array.isArray(rt))&&(rt=[]);const he=this.matSelect.options.map(D=>D.value);this.previousSelectedValues.forEach(D=>{!rt.some(S=>this.matSelect.compareWith(S,D))&&!he.some(S=>this.matSelect.compareWith(S,D))&&(rt.push(D),N=!0)})}this.previousSelectedValues=rt,N&&this.matSelect._onChange(rt)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const rt=this.getMatOptionHeight(),N=this.matSelect._keyManager.activeItemIndex||0,he=(0,g.CB)(N,this.matSelect.options,this.matSelect.optionGroups),D=(this.matOption?-1:0)+he+N,S=this.matSelect.panel.nativeElement.scrollTop,I=this.innerSelectSearch.nativeElement.offsetHeight,P=Math.floor((256-I)/rt),i=Math.round((S+I)/rt)-1;i>=D?this.matSelect.panel.nativeElement.scrollTop=D*rt:i+P<=D&&(this.matSelect.panel.nativeElement.scrollTop=(D+1)*rt-(256-I))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let N,rt=this.innerSelectSearch.nativeElement;for(;rt=rt.parentElement;)if(rt.classList.contains("mat-select-panel")){N=rt;break}N&&(this.innerSelectSearch.nativeElement.style.width=N.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return Xe.\u0275fac=function(rt){return new(rt||Xe)(e.Y36(T.gD),e.Y36(e.sBO),e.Y36(de.rL),e.Y36(g.ey,8),e.Y36(ke.Kd),e.Y36(m.KE,8))},Xe.\u0275cmp=e.Xpm({type:Xe,selectors:[["ngx-mat-select-search"]],contentQueries:function(rt,N,he){if(1&rt&&e.Suo(he,Ie,5),2&rt){let D;e.iGM(D=e.CRH())&&(N.clearIcon=D.first)}},viewQuery:function(rt,N){if(1&rt&&(e.Gf(ge,7,e.SBq),e.Gf(Ne,7,e.SBq)),2&rt){let he;e.iGM(he=e.CRH())&&(N.searchSelectInput=he.first),e.iGM(he=e.CRH())&&(N.innerSelectSearch=he.first)}},hostVars:2,hostBindings:function(rt,N){2&rt&&e.ekj("mat-select-search-inside-mat-option",N.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:f.JU,useExisting:(0,e.Gpc)(()=>Xe),multi:!0}])],ngContentSelectors:Oe,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[1,"mat-select-search-no-entries-found"]],template:function(rt,N){1&rt&&(e.F$t(ee),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,Fe,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(D){return N._handleKeydown(D)})("keyup",function(D){return N._handleKeyup(D)})("blur",function(){return N.onBlur()}),e.qZA(),e.YNc(6,ne,1,0,"mat-spinner",6),e.YNc(7,me,4,2,"button",7),e.Hsn(8),e.qZA(),e.YNc(9,Te,2,1,"div",8),e.ALo(10,"async")),2&rt&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,R,N.matSelect.multiple,N._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",N._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",N.type)("formControl",N._formControl)("placeholder",N.placeholderLabel),e.uIk("aria-label",N.ariaLabel),e.xp6(2),e.Q6J("ngIf",N.searching),e.xp6(1),e.Q6J("ngIf",!N.hideClearSearchButton&&N.value&&!N.searching),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,9,N._showNoEntriesFound$)))},directives:[ae.oG,j.$g,H.lW,Q.Hw,te.mk,te.O5,se.gM,f.Fj,f.JJ,f.oH],pipes:[te.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),Xe})(),Ve=(()=>{class Xe{}return Xe.\u0275fac=function(rt){return new(rt||Xe)},Xe.\u0275mod=e.oAB({type:Xe}),Xe.\u0275inj=e.cJS({imports:[[te.ez,f.UX,H.ot,ae.p9,Q.Ps,j.Cq,se.AV]]}),Xe})()},4147:Ke=>{"use strict";Ke.exports={i8:"6.1.0"}}},Ke=>{Ke(Ke.s=9193)}]); \ No newline at end of file diff --git a/dist/apps/password-reset/index.html b/dist/apps/password-reset/index.html index f2a004285..58b2e2572 100644 --- a/dist/apps/password-reset/index.html +++ b/dist/apps/password-reset/index.html @@ -9,5 +9,5 @@ - + diff --git a/dist/apps/password-reset/main.67a2cc1c60e35b3f.js b/dist/apps/password-reset/main.67a2cc1c60e35b3f.js deleted file mode 100644 index 021e697d4..000000000 --- a/dist/apps/password-reset/main.67a2cc1c60e35b3f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpassword_reset=self.webpackChunkpassword_reset||[]).push([[179],{4159:(N,G,v)=>{"use strict";var b=v(9808),u=v(5e3);class I extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends I{static makeCurrent(){(0,b.HT)(new L)}onAndCancel(n,e,t){return n.addEventListener(e,t,!1),()=>{n.removeEventListener(e,t,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function O(){return R=R||document.querySelector("base"),R?R.getAttribute("href"):null}();return null==e?null:function U(o){$=$||document.createElement("a"),$.setAttribute("href",o);const n=$.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){R=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return(0,b.Mx)(document.cookie,n)}}let $,R=null;const j=new u.OlP("TRANSITION_ID"),z=[{provide:u.ip1,useFactory:function F(o,n,e){return()=>{e.get(u.CZH).donePromise.then(()=>{const t=(0,b.q)(),r=n.querySelectorAll(`style[ng-transition="${o}"]`);for(let s=0;s{const s=n.findTestabilityInTree(t,r);if(null==s)throw new Error("Could not find testability for element.");return s},u.dqk.getAllAngularTestabilities=()=>n.getAllTestabilities(),u.dqk.getAllAngularRootElements=()=>n.getAllRootElements(),u.dqk.frameworkStabilizers||(u.dqk.frameworkStabilizers=[]),u.dqk.frameworkStabilizers.push(t=>{const r=u.dqk.getAllAngularTestabilities();let s=r.length,i=!1;const a=function(d){i=i||d,s--,0==s&&t(i)};r.forEach(function(d){d.whenStable(a)})})}findTestabilityInTree(n,e,t){if(null==e)return null;const r=n.getTestability(e);return null!=r?r:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null}}let q=(()=>{class o{build(){return new XMLHttpRequest}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const J=new u.OlP("EventManagerPlugins");let ie=(()=>{class o{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,r){return this._findPluginFor(t).addEventListener(e,t,r)}addGlobalEventListener(e,t,r){return this._findPluginFor(t).addGlobalEventListener(e,t,r)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const r=this._plugins;for(let s=0;s{class o{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),t.add(r))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),Ce=(()=>{class o extends oe{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,r){e.forEach(s=>{const i=this._doc.createElement("style");i.textContent=s,r.push(t.appendChild(i))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Ae),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,r)=>{this._addStylesToHost(e,r,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Ae))}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();function Ae(o){(0,b.q)().remove(o)}const He={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/"},ft=/%COMP%/g;function ue(o,n,e){for(let t=0;t{if("__ngUnwrap__"===n)return o;!1===o(n)&&(n.preventDefault(),n.returnValue=!1)}}let be=(()=>{class o{constructor(e,t,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new se(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case u.ifc.Emulated:{let r=this.rendererByCompId.get(t.id);return r||(r=new Ii(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,r)),r.applyToHost(e),r}case 1:case u.ifc.ShadowDom:return new Ne(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const r=ue(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(ie),u.LFG(Ce),u.LFG(u.AFp))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();class se{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(He[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){n.appendChild(e)}insertBefore(n,e,t){n&&n.insertBefore(e,t)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error(`The selector "${n}" did not match any elements`);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,r){if(r){e=r+":"+e;const s=He[r];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){const r=He[t];r?n.removeAttributeNS(r,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,r){r&(u.JOm.DashCase|u.JOm.Important)?n.style.setProperty(e,t,r&u.JOm.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&u.JOm.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n[e]=t}setValue(n,e){n.nodeValue=e}listen(n,e,t){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,de(t)):this.eventManager.addEventListener(n,e,de(t))}}class Ii extends se{constructor(n,e,t,r){super(n),this.component=t;const s=ue(r+"-"+t.id,t.styles,[]);e.addStyles(s),this.contentAttr=function Ze(o){return"_ngcontent-%COMP%".replace(ft,o)}(r+"-"+t.id),this.hostAttr=function re(o){return"_nghost-%COMP%".replace(ft,o)}(r+"-"+t.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}}class Ne extends se{constructor(n,e,t,r){super(n),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=ue(r.id,r.styles,[]);for(let i=0;i{class o extends ee{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r){return e.addEventListener(t,r,!1),()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,r){return e.removeEventListener(t,r)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const An=["alt","control","meta","shift"],ir={"\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={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},kr={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey};let Cn=(()=>{class o extends ee{constructor(e){super(e)}supports(e){return null!=o.parseEventName(e)}addEventListener(e,t,r){const s=o.parseEventName(t),i=o.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;const s=o._normalizeKey(t.pop());let i="";if(An.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),i+=d+".")}),i+=s,0!=t.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=i,a}static getEventFullKey(e){let t="",r=function oi(o){let n=o.key;if(null==n){if(n=o.keyIdentifier,null==n)return"Unidentified";n.startsWith("U+")&&(n=String.fromCharCode(parseInt(n.substring(2),16)),3===o.location&&Ot.hasOwnProperty(n)&&(n=Ot[n]))}return ir[n]||n}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),An.forEach(s=>{s!=r&&kr[s](e)&&(t+=s+".")}),t+=r,t}static eventCallback(e,t,r){return s=>{o.getEventFullKey(s)===e&&r.runGuarded(()=>t(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const Dr=(0,u.eFA)(u._c5,"browser",[{provide:u.Lbi,useValue:b.bD},{provide:u.g9A,useValue:function nr(){L.makeCurrent(),V.init()},multi:!0},{provide:b.K0,useFactory:function ns(){return(0,u.RDi)(document),document},deps:[]}]),rr=[{provide:u.zSh,useValue:"root"},{provide:u.qLn,useFactory:function is(){return new u.qLn},deps:[]},{provide:J,useClass:Je,multi:!0,deps:[b.K0,u.R0b,u.Lbi]},{provide:J,useClass:Cn,multi:!0,deps:[b.K0]},{provide:be,useClass:be,deps:[ie,Ce,u.AFp]},{provide:u.FYo,useExisting:be},{provide:oe,useExisting:Ce},{provide:Ce,useClass:Ce,deps:[b.K0]},{provide:u.dDg,useClass:u.dDg,deps:[u.R0b]},{provide:ie,useClass:ie,deps:[J,u.R0b]},{provide:b.JF,useClass:q,deps:[]}];let Mr=(()=>{class o{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:o,providers:[{provide:u.AFp,useValue:e.appId},{provide:j,useExisting:u.AFp},z]}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(o,12))},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:rr,imports:[b.ez,u.hGG]}),o})(),Oi=(()=>{class o{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:function(e){let t=null;return t=e?new e:function _i(){return new Oi((0,u.LFG)(b.K0))}(),t},providedIn:"root"}),o})();"undefined"!=typeof window&&window;let Sn=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:function(e){let t=null;return t=e?new(e||o):u.LFG(po),t},providedIn:"root"}),o})(),po=(()=>{class o extends Sn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case u.q3G.NONE:return t;case u.q3G.HTML:return(0,u.qzn)(t,"HTML")?(0,u.z3N)(t):(0,u.EiD)(this._doc,String(t)).toString();case u.q3G.STYLE:return(0,u.qzn)(t,"Style")?(0,u.z3N)(t):t;case u.q3G.SCRIPT:if((0,u.qzn)(t,"Script"))return(0,u.z3N)(t);throw new Error("unsafe value used in a script context");case u.q3G.URL:return(0,u.yhl)(t),(0,u.qzn)(t,"URL")?(0,u.z3N)(t):(0,u.mCW)(String(t));case u.q3G.RESOURCE_URL:if((0,u.qzn)(t,"ResourceURL"))return(0,u.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,u.JVY)(e)}bypassSecurityTrustStyle(e){return(0,u.L6k)(e)}bypassSecurityTrustScript(e){return(0,u.eBb)(e)}bypassSecurityTrustUrl(e){return(0,u.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,u.pB0)(e)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:function(e){let t=null;return t=e?new e:function Lc(o){return new po(o.get(b.K0))}(u.LFG(u.zs3)),t},providedIn:"root"}),o})();var C=v(520);class Lt{encodeKey(n){return encodeURIComponent(n)}encodeValue(n){return encodeURIComponent(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Bt=new u.OlP("basePath");class je{constructor(n={}){this.apiKeys=n.apiKeys,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.withCredentials=n.withCredentials,this.encoder=n.encoder}selectHeaderContentType(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}selectHeaderAccept(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}isJsonMime(n){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==n&&(e.test(n)||"application/json-patch+json"===n.toLowerCase())}}let un=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}convertAttributeToNonunique(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}convertAttributeToUnique(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}createAttributeDefinition(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAttributeDefinition(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attribute",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteAttributeDefinitions(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attributes[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllAttributeDefinitions(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAttribute(e,t,r,s,i,a,d,h,g,S,H,te="body",he=!1){let _e=new C.LE({encoder:this.encoder});null!=e&&(_e=_e.set("attributeName",e)),null!=t&&(_e=_e.set("attributeId",t)),null!=r&&(_e=_e.set("facility",r)),null!=s&&(_e=_e.set("user",s)),null!=i&&(_e=_e.set("vo",i)),null!=a&&(_e=_e.set("resource",a)),null!=d&&(_e=_e.set("member",d)),null!=h&&(_e=_e.set("group",h)),null!=g&&(_e=_e.set("host",g)),null!=S&&(_e=_e.set("userExtSource",S)),null!=H&&(_e=_e.set("key",H));let Te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Te=Te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Te=Te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Te=Te.set("Authorization","Bearer "+bt)}const Rt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Rt&&(Te=Te.set("Accept",Rt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:_e,withCredentials:this.configuration.withCredentials,headers:Te,observe:te,reportProgress:he})}getAttributeDefinitionById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAttributeDefinitionByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAttributeDefinitionsByNamespace(e,t="body",r=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("namespace",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAttributeModulesDependenciesForAttributeGraphText(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("format",e)),null!=t&&(i=i.set("attrName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAttributeModulesDependenciesGraphText(e,t="body",r=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("format",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAttributeRights(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAttributesDefinitionWithRights(e,t,r,s,i,a,d,h,g="body",S=!1){let H=new C.LE({encoder:this.encoder});null!=e&&(H=H.set("member",e)),null!=t&&(H=H.set("user",t)),null!=r&&(H=H.set("vo",r)),null!=s&&(H=H.set("group",s)),null!=i&&(H=H.set("resource",i)),null!=a&&(H=H.set("facility",a)),null!=d&&(H=H.set("host",d)),null!=h&&(H=H.set("userExtSource",h));let te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(te=te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(te=te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;te=te.set("Authorization","Bearer "+Te)}const _e=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==_e&&(te=te.set("Accept",_e)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:H,withCredentials:this.configuration.withCredentials,headers:te,observe:g,reportProgress:S})}getEntitylessAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getEntitylessAttributesByKey(e,t="body",r=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("key",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getEntitylessAttributesByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attrName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getEntitylessAttributesWithKeys(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attrName",e)),t&&t.forEach(g=>{i=i.append("keys[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getEntitylessKeys(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilityAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilityAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilityResourceUserMemberAttributes(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=r&&(d=d.set("user",r)),null!=s&&(d=d.set("member",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getFacilityUserAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupResourceAttributeById(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("attributeId",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupResourceAttributeByName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("attributeName",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupResourceAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getHostAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getHostAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getHostAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHostAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getLogins(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMemberAndUserAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMemberAndUserAttributesByNames(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=r&&(a=a.set("workWithUserAttributes",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMemberAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMemberAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMemberAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMemberGroupAndUserAttributesByNames(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),r&&r.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberGroupAttributeById(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=r&&(a=a.set("attributeId",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberGroupAttributeByName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=r&&(a=a.set("attributeName",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberGroupAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMemberGroupAttributesByNames(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),r&&r.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAndUserFacilityAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("workWithUserAttributes",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAndUserFacilityAttributesByNames(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),r&&r.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberResourceAttributeById(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("attributeId",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAttributeByName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("attributeName",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesDefinition(e,t="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRequiredAttributesFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRequiredAttributesFacilityService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesFacilityServices(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesGroupResourceService(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("group",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesHostService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("host",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesMemberGroup(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=r&&(a=a.set("workWithUserAttributes",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesMemberGroupResourceService(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=r&&(h=h.set("group",r)),null!=s&&(h=h.set("member",s)),null!=i&&(h=h.set("workWithUserAttributes",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=r&&(d=d.set("member",r)),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesMemberResource(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("workWithUserAttributes",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesMemberResourceService(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=r&&(d=d.set("member",r)),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRequiredAttributesResourceService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesResourceServices(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRequiredAttributesUserFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRequiredAttributesVoService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getResourceAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceGroupAndGroupAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==r)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=r&&(a=a.set("workWithGroupAttributes",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResourceGroupAndGroupAttributesByNames(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),r&&r.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithGroupAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getResourceGroupAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceGroupMemberAttributesByNames(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==r)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=r&&(d=d.set("member",r)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUserAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserExtSourceAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserExtSourceAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserExtSourceAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUserExtSourceAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserFacilityAttributeById(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==r)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("attributeId",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getUserFacilityAttributeByName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==r)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("attributeName",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getUserFacilityAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getVoAttributeById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getVoAttributeByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getVoAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeAttributesForFacilityResourceGroupUserMember(e,t,r,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=r&&(g=g.set("group",r)),null!=s&&(g=g.set("user",s)),null!=i&&(g=g.set("member",i)),a&&a.forEach(he=>{g=g.append("attributes[]",he)});let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=r&&(h=h.set("user",r)),null!=s&&(h=h.set("member",s)),i&&i.forEach(te=>{h=h.append("attributes[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}removeEntitylessAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupResourceAttribute(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("attribute",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeGroupResourceAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),r&&r.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),r&&r.forEach(H=>{d=d.append("attributes[]",H)}),null!=s&&(d=d.set("workWithGroupAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeHostAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeHostAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeMemberAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeMemberAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeMemberAttributesWorkWithUserAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attributes[]",S)}),null!=r&&(a=a.set("workWithUserAttributes",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttribute(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=r&&(a=a.set("attribute",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),r&&r.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),r&&r.forEach(H=>{d=d.append("attributes[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeMemberResourceAttribute(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("attribute",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberResourceAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),r&&r.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeResourceAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeResourceAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUesAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUserAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUserAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUserExtSourceAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUserFacilityAttribute(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==r)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("attribute",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeUserFacilityAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),r&&r.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeVoAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeVoAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}setAttributeRights(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setEntitylessAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setFacilityAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setFacilityAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setFacilityResourceGroupUserMemberAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setFacilityResourceUserMemberAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setFacilityUserAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setGroupAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setGroupAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setGroupResourceAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setGroupResourceAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setHostAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setHostAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberGroupAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberGroupAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberGroupWithUserAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberResourceAndUserAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberResourceAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberResourceAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setMemberWithUserAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setResourceAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setResourceAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setResourceGroupAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setResourceGroupWithGroupAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setUserAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setUserAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setUserExtSourceAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setUserExtSourceAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setUserFacilityAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setUserFacilityAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setVoAttribute(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setVoAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateAttributeDefinition(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ai=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}auditMessagesManagerLog(e,t="body",r=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("msg",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}createAuditerConsumer(e,t="body",r=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllAuditerConsumers(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getMessages(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMessagesByCount(e,t="body",r=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMessagesPage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}pollConsumerMessages(e,t="body",r=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}setLastProcessedId(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("consumerName",e)),null!=t&&(i=i.set("lastProcessedId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Hi=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAllPolicies(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==r)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("role",e)),null!=t&&(a=a.set("complementaryObjectId",t)),null!=r&&(a=a.set("complementaryObjectName",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAuthzRichAdmins(e,t,r,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==r)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=r&&(g=g.set("complementaryObjectName",r)),s&&s.forEach(he=>{g=g.append("specificAttributes",he)}),null!=i&&(g=g.set("allUserAttributes",i)),null!=a&&(g=g.set("onlyDirectAdmins",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupRoleNames(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupRoles(e,t="body",r=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("groupId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupsWhereUserIsInRoles(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getLoggedUser(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getPerunPrincipal(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getSecurityTeamsWhereUserIsInRoles(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserRoleNames(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUserRoles(e,t="body",r=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVosWhereUserIsInRoles(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}isFacilityAdmin(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}isGroupAdmin(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}isPerunAdmin(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}isVoAdmin(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}keepAlive(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",r=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setRoleWithUserComplementaryObject(e,t="body",r=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}unsetRoleWithGroupComplementaryObject(e,t="body",r=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}unsetRoleWithUserComplementaryObject(e,t="body",r=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ss=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createAutorship(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createCategoryCat(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createCategoryNR(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createPublication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createPublicationSystem(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createThanks(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAuthorship(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("publicationId",e)),null!=t&&(i=i.set("userId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteCategory(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deletePublication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deletePublicationSystem(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteThanks(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}findAllAuthors(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}findExternalPublications(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==r)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=r&&(d=d.set("yearTill",r)),null!=s&&(d=d.set("pubSysNamespace",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findNewAuthors(e,t="body",r=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}findPublicationById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}findPublicationsByFilter(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let a=new C.LE({encoder:this.encoder});null!=t&&(a=a.set("yearSince",t)),null!=r&&(a=a.set("yearTill",r)),null!=e&&(a=a.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findPublicationsByGUIFilter(e,t,r,s,i,a,d,h,g,S="body",H=!1){let te=new C.LE({encoder:this.encoder});null!=e&&(te=te.set("title",e)),null!=t&&(te=te.set("isbn",t)),null!=r&&(te=te.set("doi",r)),null!=s&&(te=te.set("id",s)),null!=i&&(te=te.set("year",i)),null!=a&&(te=te.set("category",a)),null!=d&&(te=te.set("yearSince",d)),null!=h&&(te=te.set("yearTill",h)),null!=g&&(te=te.set("userId",g));let he=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(he=he.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(he=he.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const mt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;he=he.set("Authorization","Bearer "+mt)}const Te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Te&&(he=he.set("Accept",Te)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:te,withCredentials:this.configuration.withCredentials,headers:he,observe:S,reportProgress:H})}findSimilarPublications(e,t,r,s="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("title",e)),null!=t&&(a=a.set("doi",t)),null!=r&&(a=a.set("isbn",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getCategories(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getRank(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichThanksByPublicationId(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}lockPublications(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateCategory(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updatePublication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updatePublicationSystem(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),xr=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getCurrentDatabaseVersion(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),or=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addExtSourceWithGroupSource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addExtSourceWithVoSource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createExtSourceFromExtSourceObject(e,t="body",r=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createExtSourceWithNameType(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteExtSource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getExtSourceById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getExtSourceByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getExtSources(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoExtSources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}loadExtSourcesDefinitions(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeExtSourceWithVoSource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),kn=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addFacilityAdminGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityAdminGroupByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityAdminUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityAdminUserByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityOwner(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityOwnerByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityOwnerByFacilityNameOwnerName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addFacilityOwnerByOwnerName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addHost(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addHostByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addHosts(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addHostsByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}assignSecurityTeam(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}assignSecurityTeamByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyAttributesByDestinationName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyAttributesBySourceDestinationNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyAttributesBySourceName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyManagers(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyManagersByDestinationName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyManagersBySourceDestinationNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyManagersBySourceName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyOwners(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyOwnersByDestinationName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyOwnersBySourceDestinationNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyOwnersBySourceName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteFacilityByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllFacilities(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAllowedGroups(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=r&&(a=a.set("service",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedGroupsByFacilityName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=r&&(a=a.set("service",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedRichGroupsWithAttributes(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=r&&(d=d.set("vo",r)),null!=s&&(d=d.set("service",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=r&&(d=d.set("vo",r)),null!=s&&(d=d.set("service",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedUsersOfFacility(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=r&&(a=a.set("service",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedUsersOfFacilityByFacilityName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=r&&(a=a.set("service",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedVos(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllowedVosByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedFacilitiesByGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedFacilitiesByMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedFacilitiesByService(e,t="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedFacilitiesByUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedResourcesByAssignedServiceForFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAssignedResourcesForFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedResourcesForFacilityByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichResourcesForFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedSecurityTeams(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedSecurityTeamsByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedUsers(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAssignedUsersByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getBansForFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facilityId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getBansForUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getEnrichedFacilities(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getEnrichedHosts(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilitiesByAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilitiesByDestination(e,t="body",r=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilitiesByHostName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilitiesByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilitiesCount(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityAdminGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityAdminUsers(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilityAdminUsersByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilityBan(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacilityBanById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityForHost(e,t="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityOwners(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityOwnersByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHostById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHosts(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHostsByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHostsByHostname(e,t="body",r=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHostsCount(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getHostsCountByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getOwnerFacilities(e,t="body",r=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichFacilities(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityAdminGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityAdminGroupByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityAdminUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityAdminUserByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityBanById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeFacilityOwner(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityOwnerByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityOwnerByFacilityNameOwnerName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeFacilityOwnerByOwnerName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeHost(e,t="body",r=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeHostByHostname(e,t="body",r=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeHosts(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeHostsByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeSecurityTeam(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeSecurityTeamByFacilityName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}setFacilityBan(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateFacilityBan(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ei=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getFacilityAdminGroupsByFacilityName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),as=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addMembers(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}canExtendMembershipInGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createGroupUnion(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createGroupWithParentGroupNameDescription(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("parentGroup",e)),null!=t&&(a=a.set("name",t)),null!=r&&(a=a.set("description",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}createGroupWithVoNameDescription(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==r)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("name",t)),null!=r&&(a=a.set("description",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}deleteGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}extendMembershipInGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}forceAllSubGroupsSynchronization(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}forceGroupStructureSynchronization(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}forceGroupSynchronization(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllGroupsFromAllVos(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllRichGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attrNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllRichGroupsWithAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupMemberById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupMembersCount(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupMembersCountsByGroupStatus(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupMembersCountsByVoStatus(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupRichMembersByIds(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==r)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("members[]",S)}),r&&r.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupUnions(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("reverseDirection",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupsByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupsPage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getIndirectMembershipPaths(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMemberGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMemberRichGroupsWithAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRichGroupByIdWithAttributesByNames(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("groupId",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getSubgroupsPage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isGroupMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}moveGroupWithDestinationGroupMovingGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("destinationGroup",t)),null!=e&&(i=i.set("movingGroup",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupUnion(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeMembers(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}setGroupsMemberStatus(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==r)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=r&&(a=a.set("status",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}updateGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Si=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getGroupMemberData(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),De=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}canExtendMembership(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}createMemberForCandidate(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createMemberForUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createMemberFromExtSource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createSpecificMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createSponsoredMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createSponsoredMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createSponsoredMembersFromCSV(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("members[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}extendMembership(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}findCompleteRichMembersByAttributes(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("attrsNames[]",S)}),null!=t&&(a=a.set("searchString",t)),r&&r.forEach(S=>{a=a.append("allowedStatuses[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findCompleteRichMembersForGroup(e,t,r,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(he=>{g=g.append("attrsNames[]",he)}),i&&i.forEach(he=>{g=g.append("allowedStatuses[]",he)}),a&&a.forEach(he=>{g=g.append("allowedGroupStatuses[]",he)}),null!=r&&(g=g.set("searchString",r)),null!=s&&(g=g.set("lookingInParentGroup",s));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),s&&s.forEach(H=>{d=d.append("allowedStatuses[]",H)}),null!=r&&(d=d.set("searchString",r));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findMembersInVo(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}findSponsoredCompleteRichMembersForVo(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),null!=r&&(d=d.set("searchString",r)),null!=s&&(d=d.set("onlySponsored",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllMembers(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllSponsoredMembersAndTheirSponsors(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getCompleteRichMembersForGroup(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),r&&r.forEach(te=>{h=h.append("allowedStatuses[]",te)}),s&&s.forEach(te=>{h=h.append("allowedGroupStatuses[]",te)}),null!=t&&(h=h.set("lookingInParentGroup",t)),i&&i.forEach(te=>{h=h.append("attrsNames[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==r)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),r&&r.forEach(H=>{d=d.append("attrsNames[]",H)}),s&&s.forEach(H=>{d=d.append("allowedStatuses[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getCompleteRichMembersForVo(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("allowedStatuses[]",S)}),r&&r.forEach(S=>{a=a.append("attrsNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberByExtSourceNameAndExtLogin(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==r)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extLogin",t)),null!=r&&(a=a.set("extSourceName",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMemberByUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMembers(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getMembersByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMembersByUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMembersCount(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getMembersPage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersWithStatusCount(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getRichMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichMemberWithAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichMembersByIds(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("ids[]",g)}),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getSponsoredMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getSponsoredMembersAndTheirSponsors(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getSponsorsByMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getSponsorsByVo(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==r)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=r&&(d=d.set("extLogin",r)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}moveMembership(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==r)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("sourceUser",t)),null!=r&&(a=a.set("targetUser",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeSponsor(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("sponsor",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}sendAccountActivationLinkEmail(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==r)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=r&&(d=d.set("emailAttributeURN",r)),null!=s&&(d=d.set("language",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendPasswordResetLinkEmail(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==r)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=r&&(h=h.set("emailAttributeURN",r)),null!=s&&(h=h.set("language",s)),null!=i&&(h=h.set("baseUrl",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}setSponsoredMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setSponsorshipForMember(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("sponsoredMember",e)),null!=t&&(a=a.set("sponsor",t)),null!=r&&(a=a.set("validityTo",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}setStatus(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}sponsorMember(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=r&&(a=a.set("validityTo",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}updateSponsorshipValidity(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=r&&(a=a.set("validityTo",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}validateMemberAsync(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),tt=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createOwner(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteOwner(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("owner",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAllOwners(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getOwnerById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getOwnerByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Et=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}sentMessageToRTWithMemberQueue(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=r&&(d=d.set("subject",r)),null!=s&&(d=d.set("text",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sentMessageToRTWithQueue(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==r)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("queue",e)),null!=t&&(a=a.set("subject",t)),null!=r&&(a=a.set("text",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sentMessageToRTWithVo(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==r)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("subject",t)),null!=r&&(a=a.set("text",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sentMessageToRTWithVoQueue(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==r)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=r&&(d=d.set("subject",r)),null!=s&&(d=d.set("text",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),yi=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addApplicationMailForGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}addApplicationMailForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}addGroupsToAutoRegistration(e,t="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}approveApplication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}copyFormFromGroupToGroup(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyFormFromGroupToVo(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyFormFromVoToGroup(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyFormFromVoToVo(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyMailsFromGroupToGroup(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyMailsFromGroupToVo(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyMailsFromVoToGroup(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyMailsFromVoToVo(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createApplicationFormInGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}createApplicationFormInVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteApplication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteApplicationMailForGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteApplicationMailForVo(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteGroupsFromAutoRegistration(e,t="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getApplicationById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getApplicationDataById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getApplicationMailsForGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getApplicationMailsForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getApplicationsForGroup(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=r&&(d=d.set("dateFrom",r)),null!=s&&(d=d.set("dateTo",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsForMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getApplicationsForVo(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=r&&(d=d.set("dateFrom",r)),null!=s&&(d=d.set("dateTo",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsPage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsolidatorToken(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFormItemsForGroupWithType(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFormItemsForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFormItemsForVoWithType(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupApplicationForm(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupsToAutoRegistration(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoApplicationForm(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}rejectApplication(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),null!=t&&(i=i.set("reason",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}sendInvitation(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new C.LE({encoder:this.encoder});null!=r&&(d=d.set("voId",r)),null!=s&&(d=d.set("name",s)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendInvitationForGroup(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new C.LE({encoder:this.encoder});null!=r&&(h=h.set("voId",r)),null!=s&&(h=h.set("groupId",s)),null!=i&&(h=h.set("name",i)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,r,s="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e)),null!=t&&(a=a.set("voId",t)),null!=r&&(a=a.set("groupId",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sendInvitationToExistingUser(e,t,r="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userId",e)),null!=t&&(i=i.set("voId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}sendMessage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setSendingEnabled(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}submitApplication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateApplicationMail(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateForm(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateFormItemData(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateFormItemsData(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateFormItemsForGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateFormItemsForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}verifyApplication(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Vn=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}activateGroupResourceAssignment(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=r&&(a=a.set("async",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}addAdminToGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addAdminToUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addResourceSelfServiceGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addResourceSelfServiceUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}allowGroupsToResources(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("groups[]",S)}),t&&t.forEach(S=>{a=a.append("resources[]",S)}),null!=r&&(a=a.set("async",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}assignGroupToResource(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=r&&(h=h.set("async",r)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupToResources(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(te=>{h=h.append("resources[]",te)}),null!=r&&(h=h.set("async",r)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupsToResource(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new C.LE({encoder:this.encoder});e&&e.forEach(te=>{h=h.append("groups[]",te)}),null!=t&&(h=h.set("resource",t)),null!=r&&(h=h.set("async",r)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignResourceTagToResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}assignService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}assignServices(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}assignServicesPackage(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}copyResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createResource(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==r)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=r&&(d=d.set("name",r)),null!=s&&(d=d.set("description",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createResourceTagWithResourceTag(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createResourceTagWithTagName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("tagName",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deactivateGroupResourceAssignment(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteAllResources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteAllResourcesTagsForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}deleteResourceTag(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAdminGroups(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAdmins(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAllResourcesByResourceTag(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllResourcesTagsForResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllResourcesTagsForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllResourcesWhereUserIsAdmin(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllowedMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllowedResources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllowedUsersOfResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedGroups(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAssignedMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedMembersWithStatus(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedResourcesWithGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedResourcesWithMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedResourcesWithStatus(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichMembers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichResourcesWithGroup(e,t="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichResourcesWithMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichResourcesWithMemberService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAssignedServicesToResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getBansForMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getBansForResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getEnrichedResourceById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getEnrichedResourcesForFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getEnrichedResourcesForVo(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupAssignments(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceAssignments(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceBan(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourceBanById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getResourceById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getResourceByName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==r)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("name",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getResourcesByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getResourcesCountForAll(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getResourcesFromVoWhereUserIsAdmin(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getResourcesWhereGroupIsAdmin(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==r)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=r&&(a=a.set("group",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResourcesWhereUserIsAdmin(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==r)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=r&&(a=a.set("user",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRichAdmins(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==r)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(H=>{d=d.append("specificAttributes",H)}),null!=r&&(d=d.set("allUserAttributes",r)),null!=s&&(d=d.set("onlyDirectAdmins",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRichResourceById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichResources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichResourcesByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeAllResourceTagsFromResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeBanByMemberAndResource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupAdminResource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupFromResource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupFromResources(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeGroupsFromResource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeResourceBanById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeResourceSelfServiceGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeResourceSelfServiceUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeResourceTagFromResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeServices(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeServicesPackage(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUserAdminResource(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}setResourceBan(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}unallowGroupsFromResources(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}updateResource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateResourceBan(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateResourceTag(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Gt=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addDestination(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=r&&(h=h.set("destination",r)),null!=s&&(h=h.set("type",s)),null!=i&&(h=h.set("propagationType",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}addDestinationToMultipleServices(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addDestinationsForAllServicesOnFacility(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==r)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=r&&(d=d.set("type",r)),null!=s&&(d=d.set("propagationType",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}addRequiredAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addRequiredAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addServiceToServicesPackage(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}blockAllServicesOnDestinationById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}blockAllServicesOnDestinationByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}blockAllServicesOnFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}blockServiceOnDestination(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}blockServiceOnDestinationWithNameAndType(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=r&&(a=a.set("destinationType",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}blockServiceOnFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createService(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==r)throw new Error("Required parameter script was null or undefined when calling createService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e)),null!=t&&(a=a.set("description",t)),null!=r&&(a=a.set("script",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}createServiceWithService(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createServicesPackage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createServicesPackageByNameAndDescription(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteService(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteServicesPackage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}forceServicePropagation(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAllDestinations(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllRichDestinationsForService(e,t="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedResources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedServices(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getDataWithGroups(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("filterExpiredMembers",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getDataWithVos(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("filterExpiredMembers",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getDestinationById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getDestinations(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getDestinationsCount(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityAssignedServicesForGUI(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFlatData(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("filterExpiredMembers",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHashedDataWithGroups(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("filterExpiredMembers",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHashedHierarchicalData(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("filterExpiredMembers",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHierarchicalData(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=r&&(a=a.set("filterExpiredMembers",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRichDestinations(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getServiceById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServiceByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServices(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",r=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServicesBlockedOnFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServicesByAttributeDefinition(e,t="body",r=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServicesFromServicesPackage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServicesPackageById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServicesPackageByName(e,t="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getServicesPackages(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}isServiceBlockedOnFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}planServicePropagation(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeAllDestinations(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeAllRequiredAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeDestination(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==r)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=r&&(d=d.set("destination",r)),null!=s&&(d=d.set("type",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeRequiredAttribute(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeRequiredAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeServiceFromServicesPackage(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}unblockAllServicesOnDestinationById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}unblockAllServicesOnDestinationByName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}unblockAllServicesOnFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}unblockServiceOnDestinationById(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}unblockServiceOnDestinationByName(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==r)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=r&&(a=a.set("destinationType",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}unblockServiceOnFacility(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}updateService(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateServicesPackage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),dn=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}countTasks(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}deleteTask(e,t="body",r=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteTaskResultById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteTaskResultsIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteTaskResultsNames(e,t="body",r=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllFacilitiesStates(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAllResourcesState(e,t="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("voId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityServicesState(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getFacilityState(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getTask(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getTaskById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getTaskResultById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("taskResult",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getTaskResults(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",r=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getTaskResultsForDestinations(e,t="body",r=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("destinations[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getTaskResultsForGUIByTask(e,t="body",r=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getTaskResultsForGUIByTaskAndDestination(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("task",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",r=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}isThereSuchTask(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}listAllTasks(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}suspendTasksPropagation(e,t="body",r=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("suspend",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),St=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSpecificUserOwner(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addUserExtSource(e,t="body",r=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}anonymizeUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}changeNonAuthzPasswordByToken(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e)),null!=t&&(a=a.set("password",t)),null!=r&&(a=a.set("lang",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}changePasswordForLogin(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==r)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=r&&(h=h.set("newPassword",r)),null!=s&&(h=h.set("oldPassword",s)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}changePasswordForUser(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==r)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=r&&(h=h.set("newPassword",r)),null!=s&&(h=h.set("oldPassword",s)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}checkPasswordStrength(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("password",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createAlternativePassword(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==r)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=r&&(d=d.set("loginNamespace",r)),null!=s&&(d=d.set("password",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createServiceUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAlternativePassword(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==r)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("loginNamespace",t)),null!=r&&(a=a.set("passwordId",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}deletePasswordForLogin(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deletePasswordForUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}deleteUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}findRichUsers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}findRichUsersWithAttributes(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("searchString",e)),t&&t.forEach(g=>{i=i.append("attrsNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}findUsers(e,t="body",r=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}generateAccountForName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("namespace",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAllRichUsersWithAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("includedSpecificUsers",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getAssignedRichResourcesForUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getGroupsForFacilityWhereUserIsActive(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupsForResourceWhereUserIsActive(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupsInVoWhereUserIsAdmin(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getGroupsWhereUserIsAdmin(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getPendingPreferredEmailChanges(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichUserExtSources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichUserWithAttributes(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichUsersByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichUsersWithAttributesByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getRichUsersWithoutVoWithAttributes(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attrsNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getSpecificUsersByUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getSponsorsForMember(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getSponsorsForMemberByVoAndLogin(e,t,r,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==r)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=r&&(d=d.set("extLogin",r)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserByExtSourceNameAndExtLogin(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("extLogin",e)),null!=t&&(i=i.set("extSourceName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUserExtSourceById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeId",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getUserExtSources(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUserExtSourcesByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUsers(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getUsersByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUsersBySpecificUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("specificUser",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getUsersPage(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosWhereUserIsAdmin(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVosWhereUserIsMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}isLoginAvailable(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("loginNamespace",e)),null!=t&&(i=i.set("login",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}loginExist(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeSpecificUserOwner(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeUserExtSource(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("userExtSource",t)),null!=r&&(a=a.set("force",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}requestPreferredEmailChange(e,t,r,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=r&&(g=g.set("lang",r)),null!=s&&(g=g.set("linkPath",s)),null!=i&&(g=g.set("customUrl",i)),null!=a&&(g=g.set("idpFilter",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==r)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("login",e)),null!=t&&(a=a.set("namespace",t)),null!=r&&(a=a.set("password",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}reservePasswordForUser(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==r)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("namespace",t)),null!=r&&(a=a.set("password",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}reserveRandomPassword(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}updateUser(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}validatePasswordForLogin(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}validatePasswordForUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}validatePreferredEmailChangeWithToken(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("token",e)),null!=t&&(i=i.set("u",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Kn=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAppsConfig(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),sr=(()=>{class o{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,r&&(this.configuration=r),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSponsorRoleToGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addSponsorRoleToUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addVoAdminGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}addVoAdminUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createVoWithName(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("shortName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}createVoWithVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteVo(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}findCandidates(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e)),null!=t&&(a=a.set("searchString",t)),null!=r&&(a=a.set("maxNumOfResults",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findCandidatesForGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getAllVos(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=r&&(a=a.set("searchString",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getCompleteCandidatesForVo(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==r)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=r&&(a=a.set("searchString",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMyVos(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,r,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),r&&r.forEach(te=>{h=h.append("specificAttributes",te)}),null!=s&&(h=h.set("allUserAttributes",s)),null!=i&&(h=h.set("onlyDirectAdmins",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getVoAdminGroups(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("role",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}getVoAdminUsers(e,t,r,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("role",t)),null!=r&&(a=a.set("onlyDirectAdmins",r));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getVoBanById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoBanForMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoBansForVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoById(e,t="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoByShortName(e,t="body",r=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("shortName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVoMembersCountsByStatus(e,t="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVosByIds(e,t="body",r=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}getVosCount(e="body",t=!1){let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(r=r.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:r,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeSponsorRoleFromUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeVoAdminGroup(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeVoAdminUser(e,t,r="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:s})}removeVoBan(e,t="body",r=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}removeVoBanForMember(e,t="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:r})}setVoBan(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}updateVo(e,t="body",r=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),pp=(()=>{class o{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:o,providers:[{provide:je,useFactory:e}]}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(o,12),u.LFG(C.eN,8))},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[un,ai,Hi,ss,xr,or,kn,ei,as,Si,De,tt,Et,yi,Vn,Gt,dn,St,Kn,sr],imports:[[]]}),o})();var nt=(()=>{return(o=nt||(nt={})).PERUNADMIN="PERUNADMIN",o.PERUNOBSERVER="PERUNOBSERVER",o.VOADMIN="VOADMIN",o.GROUPADMIN="GROUPADMIN",o.SELF="SELF",o.FACILITYADMIN="FACILITYADMIN",o.FACILITIYOBSERVER="FACILITYOBSERVER",o.RESOURCEADMIN="RESOURCEADMIN",o.RESOURCESELFSERVICE="RESOURCESELFSERVICE",o.REGISTRAR="REGISTRAR",o.ENGINE="ENGINE",o.RPC="RPC",o.NOTIFICATIONS="NOTIFICATIONS",o.SERVICEUSER="SERVICEUSER",o.SPONSOR="SPONSOR",o.VOOBSERVER="VOOBSERVER",o.TOPGROUPCREATOR="TOPGROUPCREATOR",o.SECURITYADMIN="SECURITYADMIN",o.CABINETADMIN="CABINETADMIN",o.UNKNOWNROLENAME="UNKNOWNROLENAME",nt;var o})();let gp=(()=>{class o{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const r=this.fetchPolicyWithAllIncludedPolicies(e);let s=[];for(const a of r)s=s.concat(a.perunRoles);const i=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(s,i)}resolveAuthorization(e,t){for(const r of e){let s=!0;for(const i of Object.keys(r)){const a=r[i];if(null===a)this.principalRoles.has(i)||(s=!1);else if(t[a]){for(const d of t[a])if(!this.principalHasRole(i,a,d)){s=!1;break}}else s=!1;if(!s)break}if(s)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const r of e){let s=r.beanName;switch(r.beanName.startsWith("Rich")&&(s=r.beanName.substring(4)),t[s]?t[s].push(r.id):t[s]=[r.id],s){case"Member":t.User?t.User.push(r.userId):t.User=[r.userId],t.Vo?t.Vo.push(r.voId):t.Vo=[r.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(r.voId):t.Vo=[r.voId];break;case"Resource":t.Facility?t.Facility.push(r.facilityId):t.Facility=[r.facilityId],t.Vo?t.Vo.push(r.voId):t.Vo=[r.voId]}}return t}principalHasRole(e,t,r){let s=t;return t.startsWith("Rich")&&(s=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][s])&&this.principal.roles[e][s].includes(Number(r.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let r=[];for(r.push(e);0!==r.length;){const i=r.shift();if(t.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,e);continue}const a=this.getPerunPolicy(i);if(!a)return[];t.set(i,a),r=r.concat(a.includePolicies)}const s=[];for(const i of t.values())s.push(i);return s}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER,nt.FACILITYADMIN,nt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(nt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(nt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(nt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOOBSERVER,nt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(r=>{this.allRolesManagementRules=r,e()},r=>t(r))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(r=>{r.primaryObject===t&&e.push(r.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let r=e.beanName;r.startsWith("Rich")&&(r=r.substr(4)),this.assignAvailableRoles(t,r);const s=new Map;this.getRolesAuthorization(t,e,s);for(const i of s.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(e,t,r){for(const s of e){let i=[],a=[],d=[];for(const H of this.allRolesManagementRules)if(H.roleName===s){i=i.concat(H.privilegedRolesToRead),a=a.concat(H.privilegedRolesToManage);for(const te of Object.keys(H.entitiesToManage))d="User"===te?[te].concat(d):d.concat(te);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(i,h),S=this.resolveAuthorization(a,h);r.set(s,{readAuth:g,manageAuth:S,modes:d})}}voCustomSort(e){for(let t=0;t{class o{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const r=this.instanceConfig.brandings[this.branding];for(let s=0;s(0,_o.k)(r)?t(...r):t(r))):new bi.y(r=>{Gn(o,n,function s(i){r.next(arguments.length>1?Array.prototype.slice.call(arguments):i)},r,e)})}function Gn(o,n,e,t,r){let s;if(function us(o){return o&&"function"==typeof o.addEventListener&&"function"==typeof o.removeEventListener}(o)){const i=o;o.addEventListener(n,e,r),s=()=>i.removeEventListener(n,e,r)}else if(function yo(o){return o&&"function"==typeof o.on&&"function"==typeof o.off}(o)){const i=o;o.on(n,e),s=()=>i.off(n,e)}else if(function Zu(o){return o&&"function"==typeof o.addListener&&"function"==typeof o.removeListener}(o)){const i=o;o.addListener(n,e),s=()=>i.removeListener(n,e)}else{if(!o||!o.length)throw new TypeError("Invalid event target");for(let i=0,a=o.length;i0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let ga=1;const Qu=Promise.resolve(),fi={};function ma(o){return o in fi&&(delete fi[o],!0)}const Xu={setImmediate(o){const n=ga++;return fi[n]=!0,Qu.then(()=>ma(n)&&o()),n},clearImmediate(o){ma(o)}},wo=new class ed extends ds.v{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,r=-1,s=e.length;n=n||e.shift();do{if(t=n.execute(n.state,n.delay))break}while(++r0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=Xu.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(Xu.clearImmediate(e),n.scheduled=void 0)}});var bo=v(353),hs=v(826),bp=v(9054);class k{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new x(n,this.durationSelector))}}class x extends hs.L{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(n)}catch(r){return this.destination.error(r)}const t=(0,bp.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:n,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,t,r){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function E(o){return!(0,_o.k)(o)&&o-parseFloat(o)+1>=0}var P=v(2866);function Y(o=0,n,e){let t=-1;return E(n)?t=Number(n)<1?1:Number(n):(0,P.K)(n)&&(e=n),(0,P.K)(e)||(e=bo.P),new bi.y(r=>{const s=E(o)?o:+o-e.now();return e.schedule(ae,s,{index:0,period:t,subscriber:r})})}function ae(o){const{index:n,period:e,subscriber:t}=o;if(t.next(n),!t.closed){if(-1===e)return t.complete();o.index=n+1,this.schedule(o,e)}}function ge(o,n=bo.P){return function Ft(o){return function(e){return e.lift(new k(o))}}(()=>Y(o,n))}var ke=v(2198);let kt;try{kt="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(o){kt=!1}let rt,Ve=(()=>{class o{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!kt)&&"undefined"!=typeof CSS&&!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}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.Lbi))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Xe=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})();const qt=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ht(){if(rt)return rt;if("object"!=typeof document||!document)return rt=new Set(qt),rt;let o=document.createElement("input");return rt=new Set(qt.filter(n=>(o.setAttribute("type",n),o.type===n))),rt}let xt,qi,fs;function ti(o){return function Pr(){if(null==xt&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>xt=!0}))}finally{xt=xt||!1}return xt}()?o:!!o.capture}function Uc(){if(null==qi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qi=!1,qi;if("scrollBehavior"in document.documentElement.style)qi=!0;else{const o=Element.prototype.scrollTo;qi=!!o&&!/\{\s*\[native code\]\s*\}/.test(o.toString())}}return qi}function $c(o){if(function vp(){if(null==fs){const o="undefined"!=typeof document?document.head:null;fs=!(!o||!o.createShadowRoot&&!o.attachShadow)}return fs}()){const n=o.getRootNode?o.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function td(){let o="undefined"!=typeof document&&document?document.activeElement:null;for(;o&&o.shadowRoot;){const n=o.shadowRoot.activeElement;if(n===o)break;o=n}return o}function fe(o){return o.composedPath?o.composedPath()[0]:o.target}function pt(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const Ap=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function ii(){return(0,u.f3M)(b.K0)}}),Cp=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ci=(()=>{class o{constructor(e){if(this.value="ltr",this.change=new u.vpe,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function _a(o){const n=(null==o?void 0:o.toLowerCase())||"";return"auto"===n&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?Cp.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ap,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Ir=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),vo=(()=>{class o{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new xe.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new bi.y(t=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(ge(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ie.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,ke.h)(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,e)&&t.push(s)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=jt(t),s=e.getElementRef().nativeElement;do{if(r==s)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Kc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.R0b),u.LFG(Ve),u.LFG(b.K0,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Ao=(()=>{class o{constructor(e,t,r){this._platform=e,this._change=new xe.xQ,this._changeListener=s=>{this._change.next(s)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),r=e.documentElement,s=r.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,left:-s.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(ge(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ve),u.LFG(u.R0b),u.LFG(b.K0,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Dn=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),ps=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Ir,Xe,Dn],Ir,Dn]}),o})();class gs{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Wc extends gs{constructor(n,e,t,r){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r}}class od extends gs{constructor(n,e,t){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Di extends gs{constructor(n){super(),this.element=n instanceof u.SBq?n.nativeElement:n}}class Un{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Wc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof od?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Di?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Dp extends Un{constructor(n,e,t,r,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=i=>{const a=i.element,d=this._document.createComment("dom-portal");a.parentNode.insertBefore(d,a),this.outletElement.appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(a,d)})},this._document=s}attachComponentPortal(n){const t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=t.create(n.injector||this._defaultInjector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context);return t.rootNodes.forEach(r=>this.outletElement.appendChild(r)),t.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(t);-1!==r&&e.remove(r)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Mp=(()=>{class o extends Un{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new u.vpe,this.attachDomPortal=s=>{const i=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),i.parentNode.insertBefore(a,i),this._getRootNode().appendChild(i),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(i,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(s,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u._Vd),u.Y36(u.s_b),u.Y36(b.K0))},o.\u0275dir=u.lG2({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.qOj]}),o})(),Fr=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})();var Nt=v(2654),gn=v(6787),Vt=v(2986);function yt(o){return n=>n.lift(new zr(o))}class zr{constructor(n){this.notifier=n}call(n,e){const t=new ya(n),r=(0,bp.D)(t,this.notifier);return r&&!t.seenValue?(t.add(r),e.subscribe(t)):t}}class ya extends hs.L{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,t,r,s){this.seenValue=!0,this.complete()}notifyComplete(){}}const xp=Uc();class uw{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ut(-this._previousScrollPosition.left),n.style.top=Ut(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,t=n.style,r=this._document.body.style,s=t.scrollBehavior||"",i=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),xp&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xp&&(t.scrollBehavior=s,r.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class ad{constructor(n,e,t,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Rp{enable(){}disable(){}attach(){}}function cd(o,n){return n.some(e=>o.bottome.bottom||o.righte.right)}function dw(o,n){return n.some(e=>o.tope.bottom||o.lefte.right)}class H0{constructor(n,e,t,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();cd(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Zc=(()=>{class o{constructor(e,t,r,s){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new Rp,this.close=i=>new ad(this._scrollDispatcher,this._ngZone,this._viewportRuler,i),this.block=()=>new uw(this._viewportRuler,this._document),this.reposition=i=>new H0(this._scrollDispatcher,this._viewportRuler,this._ngZone,i),this._document=s}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(vo),u.LFG(Ao),u.LFG(u.R0b),u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();class Qc{constructor(n){if(this.scrollStrategy=new Rp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const t of e)void 0!==n[t]&&(this[t]=n[t])}}}class Ip{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}class fw{constructor(n,e,t,r,s,i,a,d,h){this._portalOutlet=n,this._host=e,this._pane=t,this._config=r,this._ngZone=s,this._keyboardDispatcher=i,this._document=a,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new xe.xQ,this._attachments=new xe.xQ,this._detachments=new xe.xQ,this._locationChanges=Nt.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new xe.xQ,this._outsidePointerEvents=new xe.xQ,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){let e=this._portalOutlet.attach(n);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=Object.assign(Object.assign({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Object.assign(Object.assign({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ut(this._config.width),n.height=Ut(this._config.height),n.minWidth=Ut(this._config.minWidth),n.minHeight=Ut(this._config.minHeight),n.maxWidth=Ut(this._config.maxWidth),n.maxHeight=Ut(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(!n)return;let e;const t=()=>{n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",t),this._disposeBackdrop(n)),this._config.backdropClass&&this._toggleClasses(n,this._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",t)}),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(n,e,t){const r=da(e||[]).filter(s=>!!s);r.length&&(t?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(yt((0,gn.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.remove(),this._backdropElement===n&&(this._backdropElement=null))}}let Lr=(()=>{class o{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||pt()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,s=[];let i;for(let a of this._preferredPositions){let d=this._getOriginPoint(n,r,a),h=this._getOverlayPoint(d,e,a),g=this._getOverlayFit(h,e,t,a);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,d);this._canFitWithFlexibleDimensions(g,h,t)?s.push({position:a,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,a)}):(!i||i.overlayFit.visibleAread&&(d=g,a=h)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Br(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let r,s;if("center"==t.originX)r=n.left+n.width/2;else{const i=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==t.originX?i:a}return e.left<0&&(r-=e.left),s="center"==t.originY?n.top+n.height/2:"top"==t.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:r,y:s}}_getOverlayPoint(n,e,t){let r,s;return r="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:n.x+r,y:n.y+s}}_getOverlayFit(n,e,t,r){const s=Op(e);let{x:i,y:a}=n,d=this._getOffset(r,"x"),h=this._getOffset(r,"y");d&&(i+=d),h&&(a+=h);let H=0-a,te=a+s.height-t.height,he=this._subtractOverflows(s.width,0-i,i+s.width-t.width),_e=this._subtractOverflows(s.height,H,te),Te=he*_e;return{visibleArea:Te,isCompletelyWithinViewport:s.width*s.height===Te,fitsInViewportVertically:_e===s.height,fitsInViewportHorizontally:he==s.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){const r=t.bottom-e.y,s=t.right-e.x,i=ud(this._overlayRef.getConfig().minHeight),a=ud(this._overlayRef.getConfig().minWidth),h=n.fitsInViewportHorizontally||null!=a&&a<=s;return(n.fitsInViewportVertically||null!=i&&i<=r)&&h}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=Op(e),s=this._viewportRect,i=Math.max(n.x+r.width-s.width,0),a=Math.max(n.y+r.height-s.height,0),d=Math.max(s.top-t.top-n.y,0),h=Math.max(s.left-t.left-n.x,0);let g=0,S=0;return g=r.width<=s.width?h||-i:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(i=n.y-he/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)H=t.width-n.x+this._viewportMargin,g=n.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)S=n.x,g=t.right-n.x;else{const te=Math.min(t.right-n.x+t.left,n.x),he=this._lastBoundingBoxSize.width;g=2*te,S=n.x-te,g>he&&!this._isInitialRender&&!this._growAfterOpen&&(S=n.x-he/2)}return{top:i,left:S,bottom:a,right:H,width:g,height:s}}_setBoundingBoxStyles(n,e){const t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;r.height=Ut(t.height),r.top=Ut(t.top),r.bottom=Ut(t.bottom),r.width=Ut(t.width),r.left=Ut(t.left),r.right=Ut(t.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(r.maxHeight=Ut(s)),i&&(r.maxWidth=Ut(i))}this._lastBoundingBoxSize=t,Br(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Br(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Br(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const t={},r=this._hasExactPosition(),s=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(r){const g=this._viewportRuler.getViewportScrollPosition();Br(t,this._getExactOverlayY(e,n,g)),Br(t,this._getExactOverlayX(e,n,g))}else t.position="static";let a="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(a+=`translateX(${d}px) `),h&&(a+=`translateY(${h}px)`),t.transform=a.trim(),i.maxHeight&&(r?t.maxHeight=Ut(i.maxHeight):s&&(t.maxHeight="")),i.maxWidth&&(r?t.maxWidth=Ut(i.maxWidth):s&&(t.maxWidth="")),Br(this._pane.style,t)}_getExactOverlayY(n,e,t){let r={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,t)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":r.top=Ut(s.y),r}_getExactOverlayX(n,e,t){let i,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,t)),i=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=Ut(s.x),r}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dw(n,t),isOriginOutsideView:cd(n,t),isOverlayClipped:dw(e,t),isOverlayOutsideView:cd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,r)=>t-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&da(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof u.SBq)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}}function Br(o,n){for(let e in n)n.hasOwnProperty(e)&&(o[e]=n[e]);return o}function ud(o){if("number"!=typeof o&&null!=o){const[n,e]=o.split(Jc);return e&&"px"!==e?null:parseFloat(n)}return o||null}function Op(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}const Hp="cdk-global-overlay-wrapper";class ba{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Hp),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:s,maxWidth:i,maxHeight:a}=t,d=!("100%"!==r&&"100vw"!==r||i&&"100%"!==i&&"100vw"!==i),h=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=d?"0":this._leftOffset,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Hp),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let dd=(()=>{class o{constructor(e,t,r,s){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=s}global(){return new ba}flexibleConnectedTo(e){return new F0(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ao),u.LFG(b.K0),u.LFG(Ve),u.LFG(Lr))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),el=(()=>{class o{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),tl=(()=>{class o extends el{constructor(e){super(e),this._keydownListener=t=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){r[s]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),il=(()=>{class o extends el{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=fe(r)},this._clickListener=r=>{const s=fe(r),i="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const a=this._attachedOverlays.slice();for(let d=a.length-1;d>-1;d--){const h=a[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(s)||h.overlayElement.contains(i))break;h._outsidePointerEvents.next(r)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0),u.LFG(Ve))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),pw=0,Mn=(()=>{class o{constructor(e,t,r,s,i,a,d,h,g,S,H){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=s,this._keyboardDispatcher=i,this._injector=a,this._ngZone=d,this._document=h,this._directionality=g,this._location=S,this._outsideClickDispatcher=H}create(e){const t=this._createHostElement(),r=this._createPaneElement(t),s=this._createPortalOutlet(r),i=new Qc(e);return i.direction=i.direction||this._directionality.value,new fw(s,t,r,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+pw++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(u.z2F)),new Dp(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Zc),u.LFG(Lr),u.LFG(u._Vd),u.LFG(dd),u.LFG(tl),u.LFG(u.zs3),u.LFG(u.R0b),u.LFG(b.K0),u.LFG(ci),u.LFG(b.Ye),u.LFG(il))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const nl={provide:new u.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Mn],useFactory:function _w(o){return()=>o.scrollStrategies.reposition()}};let ar=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Mn,nl],imports:[[Ir,Fr,ps],ps]}),o})();var fd=v(5279);class ni extends xe.xQ{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new fd.N;return this._value}next(n){super.next(this._value=n)}}function Kr(o,...n){return n.length?n.some(e=>o[e]):o.altKey||o.shiftKey||o.ctrlKey||o.metaKey}var ui=v(2868),Yp=v(13),ws=v(3489);function bs(o){return n=>n.lift(new Zp(o))}class Zp{constructor(n){this.total=n}call(n,e){return e.subscribe(new qn(n,this.total))}}class qn extends ws.L{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}class Qp{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new Xp(n,this.compare,this.keySelector))}}class Xp extends ws.L{constructor(n,e,t){super(n),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:r}=this;e=r?r(n):n}catch(r){return this.destination.error(r)}let t=!1;if(this.hasKey)try{const{compare:r}=this;t=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;t||(this.key=e,this.destination.next(n))}}let Ad=(()=>{class o{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ET=(()=>{class o{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=jt(e);return new bi.y(r=>{const i=this._observeElement(t).subscribe(r);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new xe.xQ,r=this._mutationObserverFactory.create(s=>t.next(s));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ad))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Lw=(()=>{class o{constructor(e,t,r){this._contentObserver=e,this._elementRef=t,this._ngZone=r,this.event=new u.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Qe(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=pn(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,Yp.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ET),u.Y36(u.SBq),u.Y36(u.R0b))},o.\u0275dir=u.lG2({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),o})(),Jp=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Ad]}),o})();function Ed(o,n){return(o.getAttribute(n)||"").match(/\S+/g)||[]}const Sd="cdk-describedby-message",fl="cdk-describedby-host";let eg=0,Bw=(()=>{class o{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+eg++,this._document=e}describe(e,t,r){if(!this._canBeDescribed(e,t))return;const s=kd(t,r);"string"!=typeof t?(Dd(t),this._messageRegistry.set(s,{messageElement:t,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,t,r){var s;if(!t||!this._isElementNode(e))return;const i=kd(t,r);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const a=this._messageRegistry.get(i);a&&0===a.referenceCount&&this._deleteMessageElement(i)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${fl}="${this._id}"]`);for(let r=0;r0!=r.indexOf(Sd));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const r=this._messageRegistry.get(t);(function Cd(o,n,e){const t=Ed(o,n);t.some(r=>r.trim()==e.trim())||(t.push(e.trim()),o.setAttribute(n,t.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(fl,this._id),r.referenceCount++}_removeMessageReference(e,t){const r=this._messageRegistry.get(t);r.referenceCount--,function Td(o,n,e){const r=Ed(o,n).filter(s=>s!=e.trim());r.length?o.setAttribute(n,r.join(" ")):o.removeAttribute(n)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(fl)}_isElementDescribedByMessage(e,t){const r=Ed(e,"aria-describedby"),s=this._messageRegistry.get(t),i=s&&s.messageElement.id;return!!i&&-1!=r.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const r=null==t?"":`${t}`.trim(),s=e.getAttribute("aria-label");return!(!r||s&&s.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0),u.LFG(Ve))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function kd(o,n){return"string"==typeof o?`${n||""}/${o}`:o}function Dd(o){o.id||(o.id=`${Sd}-${eg++}`)}class Ra extends class pl{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new xe.xQ,this._typeaheadSubscription=Nt.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new xe.xQ,this.change=new xe.xQ,n instanceof u.n_E&&n.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ui.b)(e=>this._pressedLetters.push(e)),(0,Yp.b)(n),(0,ke.h)(()=>this._pressedLetters.length>0),(0,lt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let r=1;r!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Kr(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),t="number"==typeof n?n:e.indexOf(n),r=e[t];this._activeItem=null==r?null:r,this._activeItemIndex=t}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const r=(this._activeItemIndex+n*t+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const t=this._getItemsArray();if(t[n]){for(;this._skipPredicateFn(t[n]);)if(!t[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof u.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Kt=(()=>{class o{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function jw(o){return!!(o.offsetWidth||o.offsetHeight||"function"==typeof o.getClientRects&&o.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function tg(o){try{return o.frameElement}catch(n){return null}}(function Pa(o){return o.ownerDocument&&o.ownerDocument.defaultView||window}(e));if(t&&(-1===rg(t)||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),s=rg(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function kT(o){let n=o.nodeName.toLowerCase(),e="input"===n&&o.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==s:"video"===r?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function DT(o){return!function ig(o){return function Kw(o){return"input"==o.nodeName.toLowerCase()}(o)&&"hidden"==o.type}(o)&&(function Md(o){let n=o.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(o)||function Vw(o){return function Gw(o){return"a"==o.nodeName.toLowerCase()}(o)&&o.hasAttribute("href")}(o)||o.hasAttribute("contenteditable")||ng(o))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ve))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function ng(o){if(!o.hasAttribute("tabindex")||void 0===o.tabIndex)return!1;let n=o.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function rg(o){if(!ng(o))return null;const n=parseInt(o.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class Mi{constructor(n,e,t,r,s=!1){this._element=n,this._checker=e,this._ngZone=t,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let t=0;t=0;t--){const r=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(r)return r}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(n)}}let xd=(()=>{class o{constructor(e,t,r){this._checker=e,this._ngZone=t,this._document=r}create(e,t=!1){return new Mi(e,this._checker,this._ngZone,this._document,t)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Kt),u.LFG(u.R0b),u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function ml(o){return 0===o.buttons||0===o.offsetX&&0===o.offsetY}function Ia(o){const n=o.touches&&o.touches[0]||o.changedTouches&&o.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const $w=new u.OlP("cdk-input-modality-detector-options"),sg={ignoreKeys:[18,17,224,91,16]},Co=ti({passive:!0,capture:!0});let Ww=(()=>{class o{constructor(e,t,r,s){this._platform=e,this._mostRecentTarget=null,this._modality=new ni(null),this._lastTouchMs=0,this._onKeydown=i=>{var a,d;(null===(d=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===d?void 0:d.some(h=>h===i.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fe(i))},this._onMousedown=i=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ml(i)?"keyboard":"mouse"),this._mostRecentTarget=fe(i))},this._onTouchstart=i=>{Ia(i)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fe(i))},this._options=Object.assign(Object.assign({},sg),s),this.modalityDetected=this._modality.pipe(bs(1)),this.modalityChanged=this.modalityDetected.pipe(function xa(o,n){return e=>e.lift(new Qp(o,n))}()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Co),r.addEventListener("mousedown",this._onMousedown,Co),r.addEventListener("touchstart",this._onTouchstart,Co)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Co),document.removeEventListener("mousedown",this._onMousedown,Co),document.removeEventListener("touchstart",this._onTouchstart,Co))}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ve),u.LFG(u.R0b),u.LFG(b.K0),u.LFG($w,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const Yw=new u.OlP("cdk-focus-monitor-default-options"),_l=ti({passive:!0,capture:!0});let _n=(()=>{class o{constructor(e,t,r,s,i){this._ngZone=e,this._platform=t,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 xe.xQ,this._rootNodeFocusAndBlurListener=a=>{const d=fe(a),h="focus"===a.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,a,g)},this._document=s,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const r=jt(e);if(!this._platform.isBrowser||1!==r.nodeType)return(0,Ie.of)(null);const s=$c(r)||this._getDocument(),i=this._elementInfo.get(r);if(i)return t&&(i.checkChildren=!0),i.subject;const a={checkChildren:t,subject:new xe.xQ,rootNode:s};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=jt(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){const s=jt(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,d])=>this._originChanged(a,t,d)):(this._setOrigin(t),"function"==typeof s.focus&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const r=this._elementInfo.get(t),s=fe(e);!r||!r.checkChildren&&t!==s||this._originChanged(t,this._getFocusOrigin(s),r)}_onBlur(e,t){const r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,_l),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,_l)}),this._rootNodeFocusListenerCount.set(t,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(yt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const r=this._rootNodeFocusListenerCount.get(t);r>1?this._rootNodeFocusListenerCount.set(t,r-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_l),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_l),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,r){this._setClasses(e,t),this._emitOrigin(r.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((r,s)=>{(s===e||r.checkChildren&&s.contains(e))&&t.push([s,r])}),t}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.R0b),u.LFG(Ve),u.LFG(Ww),u.LFG(b.K0,8),u.LFG(Yw,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const lg="cdk-high-contrast-black-on-white",ug="cdk-high-contrast-white-on-black",Pd="cdk-high-contrast-active";let dg=(()=>{class o{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Pd),e.remove(lg),e.remove(ug),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Pd),e.add(lg)):2===t&&(e.add(Pd),e.add(ug))}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ve),u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Id=(()=>{class o{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(dg))},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Xe,Jp]]}),o})();var yl=v(9146);function vs(...o){return function Zw(){return(0,yl.J)(1)}()((0,Ie.of)(...o))}function yn(...o){const n=o[o.length-1];return(0,P.K)(n)?(o.pop(),e=>vs(o,e,n)):e=>vs(o,e)}class Od{}const lr="*";function Qt(o,n){return{type:7,name:o,definitions:n,options:{}}}function wt(o,n=null){return{type:4,styles:n,timings:o}}function Xw(o,n=null){return{type:2,steps:o,options:n}}function Fe(o){return{type:6,styles:o,offset:null}}function dt(o,n,e){return{type:0,name:o,styles:n,options:e}}function As(o){return{type:5,steps:o}}function ot(o,n,e=null){return{type:1,expr:o,animation:n,options:e}}function Fd(o){Promise.resolve(null).then(o)}class Cs{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Fd(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class vl{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,t=0,r=0;const s=this.players.length;0==s?Fd(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++e==s&&this._onFinish()}),i.onDestroy(()=>{++t==s&&this._onDestroy()}),i.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((i,a)=>Math.max(i,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(t=>{const r=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(r)})}getPosition(){const n=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function fg(){return"undefined"!=typeof window&&void 0!==window.document}function pg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function $i(o){switch(o.length){case 0:return new Cs;case 1:return o[0];default:return new vl(o)}}function Al(o,n,e,t,r={},s={}){const i=[],a=[];let d=-1,h=null;if(t.forEach(g=>{const S=g.offset,H=S==d,te=H&&h||{};Object.keys(g).forEach(he=>{let _e=he,Te=g[he];if("offset"!==he)switch(_e=n.normalizePropertyName(_e,i),Te){case"!":Te=r[he];break;case lr:Te=s[he];break;default:Te=n.normalizeStyleValue(he,_e,Te,i)}te[_e]=Te}),H||a.push(te),h=te,d=S}),i.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${i.join(g)}`)}return a}function Cl(o,n,e,t){switch(n){case"start":o.onStart(()=>t(e&&zd(e,"start",o)));break;case"done":o.onDone(()=>t(e&&zd(e,"done",o)));break;case"destroy":o.onDestroy(()=>t(e&&zd(e,"destroy",o)))}}function zd(o,n,e){const t=e.totalTime,s=Ha(o.element,o.triggerName,o.fromState,o.toState,n||o.phaseName,null==t?o.totalTime:t,!!e.disabled),i=o._data;return null!=i&&(s._data=i),s}function Ha(o,n,e,t,r="",s=0,i){return{element:o,triggerName:n,fromState:e,toState:t,phaseName:r,totalTime:s,disabled:!!i}}function Wi(o,n,e){let t;return o instanceof Map?(t=o.get(n),t||o.set(n,t=e)):(t=o[n],t||(t=o[n]=e)),t}function gg(o){const n=o.indexOf(":");return[o.substring(1,n),o.substr(n+1)]}let Ld=(o,n)=>!1,mg=(o,n,e)=>[];(pg()||"undefined"!=typeof Element)&&(Ld=fg()?(o,n)=>{for(;n&&n!==document.documentElement;){if(n===o)return!0;n=n.parentNode||n.host}return!1}:(o,n)=>o.contains(n),mg=(o,n,e)=>{if(e)return Array.from(o.querySelectorAll(n));const t=o.querySelector(n);return t?[t]:[]});let Gr=null,Tl=!1;function Bd(o){Gr||(Gr=function Nd(){return"undefined"!=typeof document?document.body:null}()||{},Tl=!!Gr.style&&"WebkitAppearance"in Gr.style);let n=!0;return Gr.style&&!function Jw(o){return"ebkit"==o.substring(1,6)}(o)&&(n=o in Gr.style,!n&&Tl&&(n="Webkit"+o.charAt(0).toUpperCase()+o.substr(1)in Gr.style)),n}const _g=Ld,yg=mg;let jd=(()=>{class o{validateStyleProperty(e){return Bd(e)}matchesElement(e,t){return!1}containsElement(e,t){return _g(e,t)}query(e,t,r){return yg(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,s,i,a=[],d){return new Cs(r,s)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),dr=(()=>{class o{}return o.NOOP=new jd,o})();const Ts="ng-enter",El="ng-leave",Fa="ng-trigger",za=".ng-trigger",Kd="ng-animating",La=".ng-animating";function Ur(o){if("number"==typeof o)return o;const n=o.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Es(parseFloat(n[1]),n[2])}function Es(o,n){return"s"===n?1e3*o:o}function To(o,n,e){return o.hasOwnProperty("duration")?o:function bg(o,n,e){let r,s=0,i="";if("string"==typeof o){const a=o.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(`The provided timing value "${o}" is invalid.`),{duration:0,delay:0,easing:""};r=Es(parseFloat(a[1]),a[2]);const d=a[3];null!=d&&(s=Es(parseFloat(d),a[4]));const h=a[5];h&&(i=h)}else r=o;if(!e){let a=!1,d=n.length;r<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),s<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(d,0,`The provided timing value "${o}" is invalid.`)}return{duration:r,delay:s,easing:i}}(o,n,e)}function qr(o,n={}){return Object.keys(o).forEach(e=>{n[e]=o[e]}),n}function $n(o,n,e={}){if(n)for(let t in o)e[t]=o[t];else qr(o,e);return e}function Ss(o,n,e){return e?n+":"+e+";":""}function vg(o){let n="";for(let e=0;e{const r=Sl(t);e&&!e.hasOwnProperty(t)&&(e[t]=o.style[r]),o.style[r]=n[t]}),pg()&&vg(o))}function Eo(o,n){o.style&&(Object.keys(n).forEach(e=>{const t=Sl(e);o.style[t]=""}),pg()&&vg(o))}function Ba(o){return Array.isArray(o)?1==o.length?o[0]:Xw(o):o}const Na=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ud(o){let n=[];if("string"==typeof o){let e;for(;e=Na.exec(o);)n.push(e[1]);Na.lastIndex=0}return n}function qd(o,n,e){const t=o.toString(),r=t.replace(Na,(s,i)=>{let a=n[i];return n.hasOwnProperty(i)||(e.push(`Please provide a value for the animation param ${i}`),a=""),a.toString()});return r==t?o:r}function ja(o){const n=[];let e=o.next();for(;!e.done;)n.push(e.value),e=o.next();return n}const ib=/-+([a-z0-9])/g;function Sl(o){return o.replace(ib,(...n)=>n[1].toUpperCase())}function nb(o){return o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Yi(o,n,e){switch(n.type){case 7:return o.visitTrigger(n,e);case 0:return o.visitState(n,e);case 1:return o.visitTransition(n,e);case 2:return o.visitSequence(n,e);case 3:return o.visitGroup(n,e);case 4:return o.visitAnimate(n,e);case 5:return o.visitKeyframes(n,e);case 6:return o.visitStyle(n,e);case 8:return o.visitReference(n,e);case 9:return o.visitAnimateChild(n,e);case 10:return o.visitAnimateRef(n,e);case 11:return o.visitQuery(n,e);case 12:return o.visitStagger(n,e);default:throw new Error(`Unable to resolve animation metadata node #${n.type}`)}}function $d(o,n){return window.getComputedStyle(o)[n]}function ob(o,n){const e=[];return"string"==typeof o?o.split(/\s*,\s*/).forEach(t=>function sb(o,n,e){if(":"==o[0]){const d=function ab(o,n){switch(o){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(o,e);if("function"==typeof d)return void n.push(d);o=d}const t=o.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${o}" is not supported`),n;const r=t[1],s=t[2],i=t[3];n.push(Cg(r,i));"<"==s[0]&&!("*"==r&&"*"==i)&&n.push(Cg(i,r))}(t,e,n)):e.push(o),e}const Va=new Set(["true","1"]),Dl=new Set(["false","0"]);function Cg(o,n){const e=Va.has(o)||Dl.has(o),t=Va.has(n)||Dl.has(n);return(r,s)=>{let i="*"==o||o==r,a="*"==n||n==s;return!i&&e&&"boolean"==typeof r&&(i=r?Va.has(o):Dl.has(o)),!a&&t&&"boolean"==typeof s&&(a=s?Va.has(n):Dl.has(n)),i&&a}}const Ye=new RegExp("s*:selfs*,?","g");function Ml(o,n,e){return new Eg(o).build(n,e)}class Eg{constructor(n){this._driver=n}build(n,e){const t=new Sg(e);return this._resetContextStyleTimingState(t),Yi(this,Ba(n),t)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0}visitTrigger(n,e){let t=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const d=a,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,s.push(this.visitState(d,e))}),d.name=h}else if(1==a.type){const d=this.visitTransition(a,e);t+=d.queryCount,r+=d.depCount,i.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:s,transitions:i,queryCount:t,depCount:r,options:null}}visitState(n,e){const t=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(t.containsDynamicStyles){const s=new Set,i=r||{};if(t.styles.forEach(a=>{if(ks(a)){const d=a;Object.keys(d).forEach(h=>{Ud(d[h]).forEach(g=>{i.hasOwnProperty(g)||s.add(g)})})}}),s.size){const a=ja(s.values());e.errors.push(`state("${n.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:n.name,style:t,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const t=Yi(this,Ba(n.animation),e);return{type:1,matchers:ob(n.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:fr(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(t=>Yi(this,t,e)),options:fr(n.options)}}visitGroup(n,e){const t=e.currentTime;let r=0;const s=n.steps.map(i=>{e.currentTime=t;const a=Yi(this,i,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:s,options:fr(n.options)}}visitAnimate(n,e){const t=function hr(o,n){let e=null;if(o.hasOwnProperty("duration"))e=o;else if("number"==typeof o)return Rl(To(o,n).duration,0,"");const t=o;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Rl(0,0,"");return s.dynamic=!0,s.strValue=t,s}return e=e||To(t,n),Rl(e.duration,e.delay,e.easing)}(n.timings,e.errors);e.currentAnimateTimings=t;let r,s=n.styles?n.styles:Fe({});if(5==s.type)r=this.visitKeyframes(s,e);else{let i=n.styles,a=!1;if(!i){a=!0;const h={};t.easing&&(h.easing=t.easing),i=Fe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(i,e);d.isEmptyStep=a,r=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:r,options:null}}visitStyle(n,e){const t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t}_makeStyleAst(n,e){const t=[];Array.isArray(n.styles)?n.styles.forEach(i=>{"string"==typeof i?i==lr?t.push(i):e.errors.push(`The provided style string value ${i} is not allowed.`):t.push(i)}):t.push(n.styles);let r=!1,s=null;return t.forEach(i=>{if(ks(i)){const a=i,d=a.easing;if(d&&(s=d,delete a.easing),!r)for(let h in a)if(a[h].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:t,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const t=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;t&&s>0&&(s-=t.duration+t.delay),n.styles.forEach(i=>{"string"!=typeof i&&Object.keys(i).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void e.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[a];let g=!0;h&&(s!=r&&s>=h.startTime&&r<=h.endTime&&(e.errors.push(`The CSS property "${a}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),g=!1),s=h.startTime),g&&(d[a]={startTime:s,endTime:r}),e.options&&function Ag(o,n,e){const t=n.params||{},r=Ud(o);r.length&&r.forEach(s=>{t.hasOwnProperty(s)||e.push(`Unable to resolve the local animation param ${s} in the given list of values`)})}(i[a],e.options,e.errors)})})}visitKeyframes(n,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let s=0;const i=[];let a=!1,d=!1,h=0;const g=n.steps.map(mt=>{const Rt=this._makeStyleAst(mt,e);let bt=null!=Rt.offset?Rt.offset:function cb(o){if("string"==typeof o)return null;let n=null;if(Array.isArray(o))o.forEach(e=>{if(ks(e)&&e.hasOwnProperty("offset")){const t=e;n=parseFloat(t.offset),delete t.offset}});else if(ks(o)&&o.hasOwnProperty("offset")){const e=o;n=parseFloat(e.offset),delete e.offset}return n}(Rt.styles),It=0;return null!=bt&&(s++,It=Rt.offset=bt),d=d||It<0||It>1,a=a||It0&&s{const bt=H>0?Rt==te?1:H*Rt:i[Rt],It=bt*Te;e.currentTime=he+_e.delay+It,_e.duration=It,this._validateStyleAst(mt,e),mt.offset=bt,t.styles.push(mt)}),t}visitReference(n,e){return{type:8,animation:Yi(this,Ba(n.animation),e),options:fr(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:fr(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:fr(n.options)}}visitQuery(n,e){const t=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[s,i]=function xl(o){const n=!!o.split(/\s*,\s*/).find(e=>":self"==e);return n&&(o=o.replace(Ye,"")),o=o.replace(/@\*/g,za).replace(/@\w+/g,e=>za+"-"+e.substr(1)).replace(/:animating/g,La),[o,n]}(n.selector);e.currentQuerySelector=t.length?t+" "+s:s,Wi(e.collectedStyles,e.currentQuerySelector,{});const a=Yi(this,Ba(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:a,originalSelector:n.selector,options:fr(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===n.timings?{duration:0,delay:0,easing:"full"}:To(n.timings,e.errors,!0);return{type:12,animation:Yi(this,Ba(n.animation),e),timings:t,options:null}}}class Sg{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={},this.options=null}}function ks(o){return!Array.isArray(o)&&"object"==typeof o}function fr(o){return o?(o=qr(o)).params&&(o.params=function In(o){return o?qr(o):null}(o.params)):o={},o}function Rl(o,n,e){return{duration:o,delay:n,easing:e}}function Ka(o,n,e,t,r,s,i=null,a=!1){return{type:1,element:o,keyframes:n,preStyleProps:e,postStyleProps:t,duration:r,delay:s,totalTime:r+s,easing:i,subTimeline:a}}class Yd{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let t=this._map.get(n);t||this._map.set(n,t=[]),t.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Pl=new RegExp(":enter","g"),Zd=new RegExp(":leave","g");function Ga(o,n,e,t,r,s={},i={},a,d,h=[]){return(new Qd).buildKeyframes(o,n,e,t,r,s,i,a,d,h)}class Qd{buildKeyframes(n,e,t,r,s,i,a,d,h,g=[]){h=h||new Yd;const S=new Jd(n,e,h,r,s,g,[]);S.options=d,S.currentTimeline.setStyles([i],null,S.errors,d),Yi(this,t,S);const H=S.timelines.filter(te=>te.containsAnimation());if(Object.keys(a).length){let te;for(let he=H.length-1;he>=0;he--){const _e=H[he];if(_e.element===e){te=_e;break}}te&&!te.allowOnlyTimelineStyles()&&te.setStyles([a],null,S.errors,d)}return H.length?H.map(te=>te.buildKeyframes()):[Ka(e,[],[],[],0,0,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const t=e.subInstructions.get(e.element);if(t){const r=e.createSubContext(n.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(t,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=n}visitAnimateRef(n,e){const t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,t){let s=e.currentTimeline.currentTime;const i=null!=t.duration?Ur(t.duration):null,a=null!=t.delay?Ur(t.delay):null;return 0!==i&&n.forEach(d=>{const h=e.appendInstructionToTimeline(d,i,a);s=Math.max(s,h.duration+h.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),Yi(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const t=e.subContextCount;let r=e;const s=n.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Xd);const i=Ur(s.delay);r.delayNextStep(i)}n.steps.length&&(n.steps.forEach(i=>Yi(this,i,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>t&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const t=[];let r=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?Ur(n.options.delay):0;n.steps.forEach(i=>{const a=e.createSubContext(n.options);s&&a.delayNextStep(s),Yi(this,i,a),r=Math.max(r,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(i=>e.currentTimeline.mergeTimelineCollectedStyles(i)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const t=n.strValue;return To(e.params?qd(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const t=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),r.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(t.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const t=e.currentTimeline,r=e.currentAnimateTimings;!r&&t.getCurrentStyleProperties().length&&t.forwardFrame();const s=r&&r.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(s):t.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const t=e.currentAnimateTimings,r=e.currentTimeline.duration,s=t.duration,a=e.createSubContext().currentTimeline;a.easing=t.easing,n.styles.forEach(d=>{a.forwardTime((d.offset||0)*s),a.setStyles(d.styles,d.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+s),e.previousNode=n}visitQuery(n,e){const t=e.currentTimeline.currentTime,r=n.options||{},s=r.delay?Ur(r.delay):0;s&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Xd);let i=t;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let d=null;a.forEach((h,g)=>{e.currentQueryIndex=g;const S=e.createSubContext(n.options,h);s&&S.delayNextStep(s),h===e.element&&(d=S.currentTimeline),Yi(this,n.animation,S),S.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,S.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const t=e.parentContext,r=e.currentTimeline,s=n.timings,i=Math.abs(s.duration),a=i*(e.currentQueryTotal-1);let d=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=a-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const S=g.currentTime;Yi(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=r.currentTime-S+(r.startTime-t.currentTimeline.startTime)}}const Xd={};class Jd{constructor(n,e,t,r,s,i,a,d){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new Ol(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const t=n;let r=this.options;null!=t.duration&&(r.duration=Ur(t.duration)),null!=t.delay&&(r.delay=Ur(t.delay));const s=t.params;if(s){let i=r.params;i||(i=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!i.hasOwnProperty(a))&&(i[a]=qd(s[a],i,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const t=n.params={};Object.keys(e).forEach(r=>{t[r]=e[r]})}}return n}createSubContext(n=null,e,t){const r=e||this.element,s=new Jd(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,t||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=Xd,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,t){const r={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},s=new lb(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,t,r,s,i){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(Pl,"."+this._enterClassName)).replace(Zd,"."+this._leaveClassName);let h=this._driver.query(this.element,n,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),a.push(...h)}return!s&&0==a.length&&i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class Ol{constructor(n,e,t,r){this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Ol(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||lr,this._currentKeyframe[e]=lr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,t,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},i=function Mg(o,n){const e={};let t;return o.forEach(r=>{"*"===r?(t=t||Object.keys(n),t.forEach(s=>{e[s]=lr})):$n(r,!1,e)}),e}(n,this._globalTimelineStyles);Object.keys(i).forEach(a=>{const d=qd(i[a],s,t);this._pendingStyles[a]=d,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:lr),this._updateStyle(a,d)})}applyStylesToKeyframe(){const n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=n[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(n=>{const e=this._localTimelineStyles[n];this._pendingStyles[n]=e,this._updateStyle(n,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){Object.keys(n._styleSummary).forEach(e=>{const t=this._styleSummary[e],r=n._styleSummary[e];(!t||r.time>t.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,d)=>{const h=$n(a,!0);Object.keys(h).forEach(g=>{const S=h[g];"!"==S?n.add(g):S==lr&&e.add(g)}),t||(h.offset=d/this.duration),r.push(h)});const s=n.size?ja(n.values()):[],i=e.size?ja(e.values()):[];if(t){const a=r[0],d=qr(a);a.offset=0,d.offset=1,r=[a,d]}return Ka(this.element,r,s,i,this.duration,this.startTime,this.easing,!1)}}class lb extends Ol{constructor(n,e,t,r,s,i,a=!1){super(n,e,i.delay),this.keyframes=t,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:t,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=t+e,a=e/i,d=$n(n[0],!1);d.offset=0,s.push(d);const h=$n(n[0],!1);h.offset=Dg(a),s.push(h);const g=n.length-1;for(let S=1;S<=g;S++){let H=$n(n[S],!1);H.offset=Dg((e+H.offset*t)/i),s.push(H)}t=i,e=0,r="",n=s}return Ka(this.element,n,this.preStyleProps,this.postStyleProps,t,e,r,!0)}}function Dg(o,n=3){const e=Math.pow(10,n-1);return Math.round(o*e)/e}class eh{}class xg extends eh{normalizePropertyName(n,e){return Sl(n)}normalizeStyleValue(n,e,t,r){let s="";const i=t.toString().trim();if(Rg[e]&&0!==t&&"0"!==t)if("number"==typeof t)s="px";else{const a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(`Please provide a CSS unit value for ${n}:${t}`)}return i+s}}const Rg=(()=>function ub(o){const n={};return o.forEach(e=>n[e]=!0),n}("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".split(",")))();function Hl(o,n,e,t,r,s,i,a,d,h,g,S,H){return{type:0,element:o,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:s,toState:t,toStyles:i,timelines:a,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:S,errors:H}}const Pg={};class db{constructor(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}match(n,e,t,r){return function zT(o,n,e,t,r){return o.some(s=>s(n,e,t,r))}(this.ast.matchers,n,e,t,r)}buildStyles(n,e,t){const r=this._stateStyles["*"],s=this._stateStyles[n],i=r?r.buildStyles(e,t):{};return s?s.buildStyles(e,t):i}build(n,e,t,r,s,i,a,d,h,g){const S=[],H=this.ast.options&&this.ast.options.params||Pg,he=this.buildStyles(t,a&&a.params||Pg,S),_e=d&&d.params||Pg,Te=this.buildStyles(r,_e,S),mt=new Set,Rt=new Map,bt=new Map,It="void"===r,ra={params:Object.assign(Object.assign({},H),_e)},ho=g?[]:Ga(n,e,this.ast.animation,s,i,he,Te,ra,h,S);let sn=0;if(ho.forEach(es=>{sn=Math.max(es.duration+es.delay,sn)}),S.length)return Hl(e,this._triggerName,t,r,It,he,Te,[],[],Rt,bt,sn,S);ho.forEach(es=>{const ts=es.element,eD=Wi(Rt,ts,{});es.preStyleProps.forEach(Oc=>eD[Oc]=!0);const dp=Wi(bt,ts,{});es.postStyleProps.forEach(Oc=>dp[Oc]=!0),ts!==e&&mt.add(ts)});const Jo=ja(mt.values());return Hl(e,this._triggerName,t,r,It,he,Te,ho,Jo,Rt,bt,sn)}}class LT{constructor(n,e,t){this.styles=n,this.defaultParams=e,this.normalizer=t}buildStyles(n,e){const t={},r=qr(this.defaultParams);return Object.keys(n).forEach(s=>{const i=n[s];null!=i&&(r[s]=i)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const i=s;Object.keys(i).forEach(a=>{let d=i[a];d.length>1&&(d=qd(d,r,e));const h=this.normalizer.normalizePropertyName(a,e);d=this.normalizer.normalizeStyleValue(a,h,d,e),t[h]=d})}}),t}}class NT{constructor(n,e,t){this.name=n,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new LT(r.style,r.options&&r.options.params||{},t)}),hb(this.states,"true","1"),hb(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new db(n,r,this.states))}),this.fallbackTransition=function jT(o,n,e){return new db(o,{type:1,animation:{type:2,steps:[],options:null},matchers:[(i,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,t,r){return this.transitionFactories.find(i=>i.match(n,e,t,r))||null}matchStyles(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)}}function hb(o,n,e){o.hasOwnProperty(n)?o.hasOwnProperty(e)||(o[e]=o[n]):o.hasOwnProperty(e)&&(o[n]=o[e])}const VT=new Yd;class KT{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(n,e){const t=[],r=Ml(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[n]=r}_buildPlayer(n,e,t){const r=n.element,s=Al(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(r,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,t={}){const r=[],s=this._animations[n];let i;const a=new Map;if(s?(i=Ga(this._driver,e,s,Ts,El,{},{},t,VT,r),i.forEach(g=>{const S=Wi(a,g.element,{});g.postStyleProps.forEach(H=>S[H]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),i=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((g,S)=>{Object.keys(g).forEach(H=>{g[H]=this._driver.computeStyle(S,H,lr)})});const h=$i(i.map(g=>{const S=a.get(g.element);return this._buildPlayer(g,{},S)}));return this._playersById[n]=h,h.onDestroy(()=>this.destroy(n)),this.players.push(h),h}destroy(n){const e=this._getPlayer(n);e.destroy(),delete this._playersById[n];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(n){const e=this._playersById[n];if(!e)throw new Error(`Unable to find the timeline player referenced by ${n}`);return e}listen(n,e,t,r){const s=Ha(e,"","","");return Cl(this._getPlayer(n),t,s,r),()=>{}}command(n,e,t,r){if("register"==t)return void this.register(n,r[0]);if("create"==t)return void this.create(n,e,r[0]||{});const s=this._getPlayer(n);switch(t){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const pr="ng-animate-queued",ih="ng-animate-disabled",rh=[],Hg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$r={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zi="__ng_removed";class oh{constructor(n,e=""){this.namespaceId=e;const t=n&&n.hasOwnProperty("value");if(this.value=function Ds(o){return null!=o?o:null}(t?n.value:n),t){const s=qr(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const t=this.options.params;Object.keys(e).forEach(r=>{null==t[r]&&(t[r]=e[r])})}}}const So="void",sh=new oh(So);class Fg{constructor(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Qi(e,this._hostClassName)}listen(n,e,t,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function xs(o){return"start"==o||"done"==o}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const s=Wi(this._elementListeners,n,[]),i={name:e,phase:t,callback:r};s.push(i);const a=Wi(this._engine.statesByElement,n,{});return a.hasOwnProperty(e)||(Qi(n,Fa),Qi(n,Fa+"-"+e),a[e]=sh),()=>{this._engine.afterFlush(()=>{const d=s.indexOf(i);d>=0&&s.splice(d,1),this._triggers[e]||delete a[e]})}}register(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)}_getTrigger(n){const e=this._triggers[n];if(!e)throw new Error(`The provided animation trigger "${n}" has not been registered!`);return e}trigger(n,e,t,r=!0){const s=this._getTrigger(e),i=new ah(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Qi(n,Fa),Qi(n,Fa+"-"+e),this._engine.statesByElement.set(n,a={}));let d=a[e];const h=new oh(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),a[e]=h,d||(d=sh),h.value!==So&&d.value===h.value){if(!function Fl(o,n){const e=Object.keys(o),t=Object.keys(n);if(e.length!=t.length)return!1;for(let r=0;r{Eo(n,Te),Rn(n,mt)})}return}const H=Wi(this._engine.playersByElement,n,[]);H.forEach(_e=>{_e.namespaceId==this.id&&_e.triggerName==e&&_e.queued&&_e.destroy()});let te=s.matchTransition(d.value,h.value,n,h.params),he=!1;if(!te){if(!r)return;te=s.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:te,fromState:d,toState:h,player:i,isFallbackTransition:he}),he||(Qi(n,pr),i.onStart(()=>{Do(n,pr)})),i.onDone(()=>{let _e=this.players.indexOf(i);_e>=0&&this.players.splice(_e,1);const Te=this._engine.playersByElement.get(n);if(Te){let mt=Te.indexOf(i);mt>=0&&Te.splice(mt,1)}}),this.players.push(i),H.push(i),i}deregister(n){delete this._triggers[n],this._engine.statesByElement.forEach((e,t)=>{delete e[n]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const t=this._engine.driver.query(n,za,!0);t.forEach(r=>{if(r[Zi])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(i=>i.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,t,r){const s=this._engine.statesByElement.get(n),i=new Map;if(s){const a=[];if(Object.keys(s).forEach(d=>{if(i.set(d,s[d].value),this._triggers[d]){const h=this.trigger(n,d,So,r);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,i),t&&$i(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),t=this._engine.statesByElement.get(n);if(e&&t){const r=new Set;e.forEach(s=>{const i=s.name;if(r.has(i))return;r.add(i);const d=this._triggers[i].fallbackTransition,h=t[i]||sh,g=new oh(So),S=new ah(this.id,i,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:i,transition:d,fromState:h,toState:g,player:S,isFallbackTransition:!0})})}}removeNode(n,e){const t=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(t.totalAnimations){const s=t.players.length?t.playersByQueriedElement.get(n):[];if(s&&s.length)r=!0;else{let i=n;for(;i=i.parentNode;)if(t.statesByElement.get(i)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)t.markElementAsRemoved(this.id,n,!1,e);else{const s=n[Zi];(!s||s===Hg)&&(t.afterFlush(()=>this.clearElementCache(n)),t.destroyInnerAnimations(n),t._onRemovalComplete(n,e))}}insertNode(n,e){Qi(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(t=>{const r=t.player;if(r.destroyed)return;const s=t.element,i=this._elementListeners.get(s);i&&i.forEach(a=>{if(a.name==t.triggerName){const d=Ha(s,t.triggerName,t.fromState.value,t.toState.value);d._data=n,Cl(t.player,a.phase,d,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(t)}),this._queue=[],e.sort((t,r)=>{const s=t.transition.ast.depCount,i=r.transition.ast.depCount;return 0==s||0==i?s-i:this._engine.driver.containsElement(t.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(t=>t.element===n)||e,e}}class fb{constructor(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,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=(r,s)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&n.push(t)})}),n}createNamespace(n,e){const t=new Fg(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t}_balanceNamespaceList(n,e){const t=this._namespaceList.length-1;if(t>=0){let r=!1;for(let s=t;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,n),r=!0;break}r||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n}register(n,e){let t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t}registerTrigger(n,e,t){let r=this._namespaceLookup[n];r&&r.register(e,t)&&this.totalAnimations++}destroy(n,e){if(!n)return;const t=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(t);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,t=this.statesByElement.get(n);if(t){const r=Object.keys(t);for(let s=0;s=0&&this.collectedLeaveElements.splice(i,1)}if(n){const i=this._fetchNamespace(n);i&&i.insertNode(e,t)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Qi(n,ih)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Do(n,ih))}removeNode(n,e,t,r){if(Ms(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(n,e,!1,r),t){const i=this.namespacesByHostElement.get(e);i&&i.id!==n&&i.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(n,e,t,r,s){this.collectedLeaveElements.push(e),e[Zi]={namespaceId:n,setForRemoval:r,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,t,r,s){return Ms(e)?this._fetchNamespace(n).listen(e,t,r,s):()=>{}}_buildInstruction(n,e,t,r,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,r,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,za,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,La,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $i(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const t=n[Zi];if(t&&t.setForRemoval){if(n[Zi]=Hg,t.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}(null===(e=n.classList)||void 0===e?void 0:e.contains(ih))&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,r)=>this._balanceNamespaceList(t,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?$i(e).onDone(()=>{t.forEach(r=>r())}):t.forEach(r=>r())}}reportError(n){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${n.join("\n")}`)}_flushAnimations(n,e){const t=new Yd,r=[],s=new Map,i=[],a=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(ze=>{g.add(ze);const Ge=this.driver.query(ze,".ng-animate-queued",!0);for(let $e=0;$e{const $e=Ts+_e++;he.set(Ge,$e),ze.forEach(Ct=>Qi(Ct,$e))});const Te=[],mt=new Set,Rt=new Set;for(let ze=0;zemt.add(Ct)):Rt.add(Ge))}const bt=new Map,It=zg(H,Array.from(mt));It.forEach((ze,Ge)=>{const $e=El+_e++;bt.set(Ge,$e),ze.forEach(Ct=>Qi(Ct,$e))}),n.push(()=>{te.forEach((ze,Ge)=>{const $e=he.get(Ge);ze.forEach(Ct=>Do(Ct,$e))}),It.forEach((ze,Ge)=>{const $e=bt.get(Ge);ze.forEach(Ct=>Do(Ct,$e))}),Te.forEach(ze=>{this.processLeaveNode(ze)})});const ra=[],ho=[];for(let ze=this._namespaceList.length-1;ze>=0;ze--)this._namespaceList[ze].drainQueuedTransitions(e).forEach($e=>{const Ct=$e.player,Ei=$e.element;if(ra.push(Ct),this.collectedEnterElements.length){const an=Ei[Zi];if(an&&an.setForMove){if(an.previousTriggersValues&&an.previousTriggersValues.has($e.triggerName)){const Hc=an.previousTriggersValues.get($e.triggerName),sa=this.statesByElement.get($e.element);sa&&sa[$e.triggerName]&&(sa[$e.triggerName].value=Hc)}return void Ct.destroy()}}const fo=!S||!this.driver.containsElement(S,Ei),Nn=bt.get(Ei),oa=he.get(Ei),Wt=this._buildInstruction($e,t,oa,Nn,fo);if(Wt.errors&&Wt.errors.length)return void ho.push(Wt);if(fo)return Ct.onStart(()=>Eo(Ei,Wt.fromStyles)),Ct.onDestroy(()=>Rn(Ei,Wt.toStyles)),void r.push(Ct);if($e.isFallbackTransition)return Ct.onStart(()=>Eo(Ei,Wt.fromStyles)),Ct.onDestroy(()=>Rn(Ei,Wt.toStyles)),void r.push(Ct);const nD=[];Wt.timelines.forEach(an=>{an.stretchStartingKeyframe=!0,this.disabledNodes.has(an.element)||nD.push(an)}),Wt.timelines=nD,t.append(Ei,Wt.timelines),i.push({instruction:Wt,player:Ct,element:Ei}),Wt.queriedElements.forEach(an=>Wi(a,an,[]).push(Ct)),Wt.preStyleProps.forEach((an,Hc)=>{const sa=Object.keys(an);if(sa.length){let Fc=d.get(Hc);Fc||d.set(Hc,Fc=new Set),sa.forEach(D0=>Fc.add(D0))}}),Wt.postStyleProps.forEach((an,Hc)=>{const sa=Object.keys(an);let Fc=h.get(Hc);Fc||h.set(Hc,Fc=new Set),sa.forEach(D0=>Fc.add(D0))})});if(ho.length){const ze=[];ho.forEach(Ge=>{ze.push(`@${Ge.triggerName} has failed due to:\n`),Ge.errors.forEach($e=>ze.push(`- ${$e}\n`))}),ra.forEach(Ge=>Ge.destroy()),this.reportError(ze)}const sn=new Map,Jo=new Map;i.forEach(ze=>{const Ge=ze.element;t.has(Ge)&&(Jo.set(Ge,Ge),this._beforeAnimationBuild(ze.player.namespaceId,ze.instruction,sn))}),r.forEach(ze=>{const Ge=ze.element;this._getPreviousPlayers(Ge,!1,ze.namespaceId,ze.triggerName,null).forEach(Ct=>{Wi(sn,Ge,[]).push(Ct),Ct.destroy()})});const es=Te.filter(ze=>Lg(ze,d,h)),ts=new Map;ko(ts,this.driver,Rt,h,lr).forEach(ze=>{Lg(ze,d,h)&&es.push(ze)});const dp=new Map;te.forEach((ze,Ge)=>{ko(dp,this.driver,new Set(ze),d,"!")}),es.forEach(ze=>{const Ge=ts.get(ze),$e=dp.get(ze);ts.set(ze,Object.assign(Object.assign({},Ge),$e))});const Oc=[],tD=[],iD={};i.forEach(ze=>{const{element:Ge,player:$e,instruction:Ct}=ze;if(t.has(Ge)){if(g.has(Ge))return $e.onDestroy(()=>Rn(Ge,Ct.toStyles)),$e.disabled=!0,$e.overrideTotalTime(Ct.totalTime),void r.push($e);let Ei=iD;if(Jo.size>1){let Nn=Ge;const oa=[];for(;Nn=Nn.parentNode;){const Wt=Jo.get(Nn);if(Wt){Ei=Wt;break}oa.push(Nn)}oa.forEach(Wt=>Jo.set(Wt,Ei))}const fo=this._buildAnimation($e.namespaceId,Ct,sn,s,dp,ts);if($e.setRealPlayer(fo),Ei===iD)Oc.push($e);else{const Nn=this.playersByElement.get(Ei);Nn&&Nn.length&&($e.parentPlayer=$i(Nn)),r.push($e)}}else Eo(Ge,Ct.fromStyles),$e.onDestroy(()=>Rn(Ge,Ct.toStyles)),tD.push($e),g.has(Ge)&&r.push($e)}),tD.forEach(ze=>{const Ge=s.get(ze.element);if(Ge&&Ge.length){const $e=$i(Ge);ze.setRealPlayer($e)}}),r.forEach(ze=>{ze.parentPlayer?ze.syncPlayerEvents(ze.parentPlayer):ze.destroy()});for(let ze=0;ze!fo.destroyed);Ei.length?ch(this,Ge,Ei):this.processLeaveNode(Ge)}return Te.length=0,Oc.forEach(ze=>{this.players.push(ze),ze.onDone(()=>{ze.destroy();const Ge=this.players.indexOf(ze);this.players.splice(Ge,1)}),ze.play()}),Oc}elementContainsData(n,e){let t=!1;const r=e[Zi];return r&&r.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,t,r,s){let i=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(i=a)}else{const a=this.playersByElement.get(n);if(a){const d=!s||s==So;a.forEach(h=>{h.queued||!d&&h.triggerName!=r||i.push(h)})}}return(t||r)&&(i=i.filter(a=>!(t&&t!=a.namespaceId||r&&r!=a.triggerName))),i}_beforeAnimationBuild(n,e,t){const s=e.element,i=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==s,S=Wi(t,h,[]);this._getPreviousPlayers(h,g,i,a,e.toState).forEach(te=>{const he=te.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),te.destroy(),S.push(te)})}Eo(s,e.fromStyles)}_buildAnimation(n,e,t,r,s,i){const a=e.triggerName,d=e.element,h=[],g=new Set,S=new Set,H=e.timelines.map(he=>{const _e=he.element;g.add(_e);const Te=_e[Zi];if(Te&&Te.removedBeforeQueried)return new Cs(he.duration,he.delay);const mt=_e!==d,Rt=function lh(o){const n=[];return uh(o,n),n}((t.get(_e)||rh).map(sn=>sn.getRealPlayer())).filter(sn=>!!sn.element&&sn.element===_e),bt=s.get(_e),It=i.get(_e),ra=Al(0,this._normalizer,0,he.keyframes,bt,It),ho=this._buildPlayer(he,ra,Rt);if(he.subTimeline&&r&&S.add(_e),mt){const sn=new ah(n,a,_e);sn.setRealPlayer(ho),h.push(sn)}return ho});h.forEach(he=>{Wi(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function Ua(o,n,e){let t;if(o instanceof Map){if(t=o.get(n),t){if(t.length){const r=t.indexOf(e);t.splice(r,1)}0==t.length&&o.delete(n)}}else if(t=o[n],t){if(t.length){const r=t.indexOf(e);t.splice(r,1)}0==t.length&&delete o[n]}return t}(this.playersByQueriedElement,he.element,he))}),g.forEach(he=>Qi(he,Kd));const te=$i(H);return te.onDestroy(()=>{g.forEach(he=>Do(he,Kd)),Rn(d,e.toStyles)}),S.forEach(he=>{Wi(r,he,[]).push(te)}),te}_buildPlayer(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new Cs(n.duration,n.delay)}}class ah{constructor(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Cs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Cl(n,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Wi(this._queuedCallbacks,n,[]).push(e)}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 e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Ms(o){return o&&1===o.nodeType}function Rs(o,n){const e=o.style.display;return o.style.display=null!=n?n:"none",e}function ko(o,n,e,t,r){const s=[];e.forEach(d=>s.push(Rs(d)));const i=[];t.forEach((d,h)=>{const g={};d.forEach(S=>{const H=g[S]=n.computeStyle(h,S,r);(!H||0==H.length)&&(h[Zi]=$r,i.push(h))}),o.set(h,g)});let a=0;return e.forEach(d=>Rs(d,s[a++])),i}function zg(o,n){const e=new Map;if(o.forEach(a=>e.set(a,[])),0==n.length)return e;const r=new Set(n),s=new Map;function i(a){if(!a)return 1;let d=s.get(a);if(d)return d;const h=a.parentNode;return d=e.has(h)?h:r.has(h)?1:i(h),s.set(a,d),d}return n.forEach(a=>{const d=i(a);1!==d&&e.get(d).push(a)}),e}function Qi(o,n){var e;null===(e=o.classList)||void 0===e||e.add(n)}function Do(o,n){var e;null===(e=o.classList)||void 0===e||e.remove(n)}function ch(o,n,e){$i(e).onDone(()=>o.processLeaveNode(n))}function uh(o,n){for(let e=0;er.add(s)):n.set(o,t),e.delete(o),!0}class qa{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new fb(n,e,t),this._timelineEngine=new KT(n,e,t),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(n,e,t,r,s){const i=n+"-"+r;let a=this._triggerCache[i];if(!a){const d=[],h=Ml(this._driver,s,d);if(d.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);a=function BT(o,n,e){return new NT(o,n,e)}(r,h,this._normalizer),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,t,r){this._transitionEngine.insertNode(n,e,t,r)}onRemove(n,e,t,r){this._transitionEngine.removeNode(n,e,r||!1,t)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,t,r){if("@"==t.charAt(0)){const[s,i]=gg(t);this._timelineEngine.command(s,e,i,r)}else this._transitionEngine.trigger(n,e,t,r)}listen(n,e,t,r,s){if("@"==t.charAt(0)){const[i,a]=gg(t);return this._timelineEngine.listen(i,e,a,s)}return this._transitionEngine.listen(n,e,t,r,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Bg=(()=>{class o{constructor(e,t,r){this._element=e,this._startStyles=t,this._endStyles=r,this._state=0;let s=o.initialStylesByElement.get(e);s||o.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(o.initialStylesByElement.delete(this._element),this._startStyles&&(Eo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Eo(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}return o.initialStylesByElement=new WeakMap,o})();function zl(o){let n=null;const e=Object.keys(o);for(let t=0;tn()),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]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(n,e,t){return n.animate(e,t)}onStart(n){this._onStartFns.push(n)}onDone(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}_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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(n[t]=this._finished?e[t]:$d(this.element,t))})}this.currentSnapshot=n}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class gb{validateStyleProperty(n){return Bd(n)}matchesElement(n,e){return!1}containsElement(n,e){return _g(n,e)}query(n,e,t){return yg(n,e,t)}computeStyle(n,e,t){return window.getComputedStyle(n)[e]}animate(n,e,t,r,s,i=[]){const d={duration:t,delay:r,fill:0==r?"both":"forwards"};s&&(d.easing=s);const h={},g=i.filter(H=>H instanceof dh);(function rb(o,n){return 0===o||0===n})(t,r)&&g.forEach(H=>{let te=H.currentSnapshot;Object.keys(te).forEach(he=>h[he]=te[he])}),e=function Pn(o,n,e){const t=Object.keys(e);if(t.length&&n.length){let s=n[0],i=[];if(t.forEach(a=>{s.hasOwnProperty(a)||i.push(a),s[a]=e[a]}),i.length)for(var r=1;r$n(H,!1)),h);const S=function GT(o,n){let e=null,t=null;return Array.isArray(n)&&n.length?(e=zl(n[0]),n.length>1&&(t=zl(n[n.length-1]))):n&&(e=zl(n)),e||t?new Bg(o,e,t):null}(n,e);return new dh(n,e,d,S)}}let mb=(()=>{class o extends Od{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?Xw(e):e;return Ng(this._renderer,null,t,"register",[r]),new Xi(t,this._renderer)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.FYo),u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();class Xi extends class Qw{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new _b(this._id,n,e||{},this._renderer)}}class _b{constructor(n,e,t,r){this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return Ng(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){var n,e;return null!==(e=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==e?e:0}}function Ng(o,n,e,t,r){return o.setProperty(n,`@@${e}:${t}`,r)}const yb="@.disabled";let jg=(()=>{class o{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(s,i)=>{const a=null==i?void 0:i.parentNode(s);a&&i.removeChild(a,s)}}createRenderer(e,t){const s=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(s);return g||(g=new wb("",s,this.engine),this._rendererCache.set(s,g)),g}const i=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(i,a,e,g.name,g)};return t.data.animation.forEach(d),new bb(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){e>=0&&et(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[i,a]=s;i(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,r]))}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()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.FYo),u.LFG(qa),u.LFG(u.R0b))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();class wb{constructor(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,t,r=!0){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,r){this.delegate.setAttribute(n,e,t,r)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,r){this.delegate.setStyle(n,e,t,r)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){"@"==e.charAt(0)&&e==yb?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t){return this.delegate.listen(n,e,t)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class bb extends wb{constructor(n,e,t,r){super(e,t,r),this.factory=n,this.namespaceId=e}setProperty(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==yb?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)}listen(n,e,t){if("@"==e.charAt(0)){const r=function fh(o){switch(o){case"body":return document.body;case"document":return document;case"window":return window;default:return o}}(n);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function Vg(o){const n=o.indexOf(".");return[o.substring(0,n),o.substr(n+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,a=>{this.factory.scheduleListenerCallback(a._data||-1,t,a)})}return this.delegate.listen(n,e,t)}}let vb=(()=>{class o extends qa{constructor(e,t,r){super(e.body,t,r)}ngOnDestroy(){this.flush()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0),u.LFG(dr),u.LFG(eh))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const Ji=new u.OlP("AnimationModuleType"),Kg=[{provide:Od,useClass:mb},{provide:eh,useFactory:function Ab(){return new xg}},{provide:qa,useClass:vb},{provide:u.FYo,useFactory:function Cb(o,n,e){return new jg(o,n,e)},deps:[be,qa,u.R0b]}],ph=[{provide:dr,useFactory:()=>new gb},{provide:Ji,useValue:"BrowserAnimations"},...Kg],Tb=[{provide:dr,useClass:jd},{provide:Ji,useValue:"NoopAnimations"},...Kg];let Eb=(()=>{class o{static withConfig(e){return{ngModule:o,providers:e.disableAnimations?Tb:ph}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:ph,imports:[Mr]}),o})();const Mb=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function Db(){return!0}});let qe=(()=>{class o{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!pt()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(dg),u.LFG(Mb,8),u.LFG(b.K0))},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Ir],Ir]}),o})();function Mo(o){return class extends o{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=Qe(n)}}}function mr(o,n){return class extends o{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function xo(o){return class extends o{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Qe(n)}}}function Ll(o){return class extends o{constructor(...n){super(...n),this.stateChanges=new xe.xQ,this.errorState=!1}updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}}}const Rb=new u.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Pb(){return(0,u.f3M)(u.soG)}});class en{constructor(){this._localeChanges=new xe.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}sameDate(n,e){if(n&&e){let t=this.isValid(n),r=this.isValid(e);return t&&r?!this.compareDate(n,e):t==r}return n==e}clampDate(n,e,t){return e&&this.compareDate(n,e)<0?e:t&&this.compareDate(n,t)>0?t:n}}const gh=new u.OlP("mat-date-formats"),Ib=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Bl(o,n){const e=Array(o);for(let t=0;t{class o extends en{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Bl(12,r=>this._format(t,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Bl(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Bl(7,r=>this._format(t,new Date(2017,0,r+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,r){let s=this._createDateWithOverflow(e,t,r);return s.getMonth(),s}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+t)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Ib.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,r){const s=new Date;return s.setFullYear(e,t,r),s.setHours(0,0,0,0),s}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const r=new Date;return r.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),r.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(r)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Rb,8),u.LFG(Ve))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const Wg={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Yg=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[{provide:en,useClass:mh}],imports:[[Xe]]}),o})(),_h=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[{provide:gh,useValue:Wg}],imports:[[Yg]]}),o})(),Yr=(()=>{class o{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Is=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe],qe]}),o})();class Zg{constructor(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const jl={enterDuration:225,exitDuration:150},yh=ti({passive:!0}),Vl=["mousedown","touchstart"],wh=["mouseup","mouseleave","touchend","touchcancel"];class bh{constructor(n,e,t,r){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=jt(t))}fadeInRipple(n,e,t={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},jl),t.animation);t.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);const i=t.radius||function Fb(o,n,e){const t=Math.max(Math.abs(o-e.left),Math.abs(o-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+r*r)}(n,e,r),a=n-r.left,d=e-r.top,h=s.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=a-i+"px",g.style.top=d-i+"px",g.style.height=2*i+"px",g.style.width=2*i+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function Qg(o){window.getComputedStyle(o).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const S=new Zg(this,g,t);return S.state=0,this._activeRipples.add(S),t.persistent||(this._mostRecentTransientRipple=S),this._runTimeoutOutsideZone(()=>{const H=S===this._mostRecentTransientRipple;S.state=1,!t.persistent&&(!H||!this._isPointerDown)&&S.fadeOut()},h),S}fadeOutRipple(n){const e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=n.element,r=Object.assign(Object.assign({},jl),n.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,t.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=jt(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Vl))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(wh),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const e=ml(n),t=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,e))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,yh)})})}_removeTriggerEvents(){this._triggerElement&&(Vl.forEach(n=>{this._triggerElement.removeEventListener(n,this,yh)}),this._pointerUpEventsRegistered&&wh.forEach(n=>{this._triggerElement.removeEventListener(n,this,yh)}))}}const Kl=new u.OlP("mat-ripple-global-options");let Ro=(()=>{class o{constructor(e,t,r,s,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new bh(this,t,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Ve),u.Y36(Kl,8),u.Y36(Ji,8))},o.\u0275dir=u.lG2({type:o,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),o})(),Wn=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe,Xe],qe]}),o})(),Zr=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe]]}),o})(),Gl=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Wn,b.ez,qe,Zr]]}),o})();var vi=v(5254),Qr=v(8896);function Ya(o){return new bi.y(n=>{let e;try{e=o()}catch(r){return void n.error(r)}return(e?(0,vi.D)(e):(0,Qr.c)()).subscribe(n)})}function Nb(o,n){}class Ul{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const em={dialogContainer:Qt("dialogContainer",[dt("void, exit",Fe({opacity:0,transform:"scale(0.7)"})),dt("enter",Fe({transform:"none"})),ot("* => enter",wt("150ms cubic-bezier(0, 0, 0.2, 1)",Fe({transform:"none",opacity:1}))),ot("* => void, * => exit",wt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Fe({opacity:0})))])};let tm=(()=>{class o extends Un{constructor(e,t,r,s,i,a,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=r,this._config=i,this._interactivityChecker=a,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new u.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=td(),r=this._elementRef.nativeElement;(!t||t===this._document.body||t===r||r.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=td())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=td();return e===t||e.contains(t)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(xd),u.Y36(u.sBO),u.Y36(b.K0,8),u.Y36(Ul),u.Y36(Kt),u.Y36(u.R0b),u.Y36(_n))},o.\u0275dir=u.lG2({type:o,viewQuery:function(e,t){if(1&e&&u.Gf(Mp,7),2&e){let r;u.iGM(r=u.CRH())&&(t._portalOutlet=r.first)}},features:[u.qOj]}),o})(),jb=(()=>{class o extends tm{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275cmp=u.Xpm({type:o,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&u.WFA("@dialogContainer.start",function(s){return t._onAnimationStart(s)})("@dialogContainer.done",function(s){return t._onAnimationDone(s)}),2&e&&(u.Ikx("id",t._id),u.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),u.d8E("@dialogContainer",t._state))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&u.YNc(0,Nb,0,0,"ng-template",0)},directives:[Mp],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[em.dialogContainer]}}),o})(),Vb=0;class ql{constructor(n,e,t="mat-dialog-"+Vb++){this._overlayRef=n,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new xe.xQ,this._afterClosed=new xe.xQ,this._beforeClosed=new xe.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,ke.h)(r=>"opened"===r.state),(0,Vt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,ke.h)(r=>"closed"===r.state),(0,Vt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),n.keydownEvents().pipe((0,ke.h)(r=>27===r.keyCode&&!this.disableClose&&!Kr(r))).subscribe(r=>{r.preventDefault(),Kb(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Kb(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe((0,ke.h)(e=>"closing"===e.state),(0,Vt.q)(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",e=""){return this._overlayRef.updateSize({width:n,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Kb(o,n,e){return void 0!==o._containerInstance&&(o._containerInstance._closeInteractionType=n),o.close(e)}const vh=new u.OlP("MatDialogData"),Gb=new u.OlP("mat-dialog-default-options"),Ah=new u.OlP("mat-dialog-scroll-strategy"),Hn={provide:Ah,deps:[Mn],useFactory:function iE(o){return()=>o.scrollStrategies.block()}};let nE=(()=>{class o{constructor(e,t,r,s,i,a,d,h,g,S){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=s,this._overlayContainer=i,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=S,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new xe.xQ,this._afterOpenedAtThisLevel=new xe.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Ya(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(yn(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function im(o,n){return Object.assign(Object.assign({},n),o)}(t,this._defaultOptions||new Ul),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const r=this._createOverlay(t),s=this._attachDialogContainer(r,t);if("NoopAnimations"!==this._animationMode){const a=s._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,a.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Nt.w),this._animationStateSubscriptions.add(a)}const i=this._attachDialogContent(e,s,r,t);return this._lastDialogRef=i,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),s._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Qc({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const s=u.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Ul,useValue:t}]}),i=new Wc(this._dialogContainerType,t.viewContainerRef,s,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,r,s){const i=new this._dialogRefConstructor(r,t,s.id);if(e instanceof u.Rgc)t.attachTemplatePortal(new od(e,null,{$implicit:s.data,dialogRef:i}));else{const a=this._createInjector(s,i,t),d=t.attachComponentPortal(new Wc(e,s.viewContainerRef,a));i.componentInstance=d.instance}return i.updateSize(s.width,s.height).updatePosition(s.position),i}_createInjector(e,t,r){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!s||!s.get(ci,null,u.XFs.Optional))&&i.push({provide:ci,useValue:{value:e.direction,change:(0,Ie.of)()}}),u.zs3.create({parent:s||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let s=t[r];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return o.\u0275fac=function(e){u.$Z()},o.\u0275dir=u.lG2({type:o}),o})(),Os=(()=>{class o extends nE{constructor(e,t,r,s,i,a,d,h){super(e,t,s,a,d,i,ql,jb,vh,h)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Mn),u.LFG(u.zs3),u.LFG(b.Ye,8),u.LFG(Gb,8),u.LFG(Ah),u.LFG(o,12),u.LFG(Lr),u.LFG(Ji,8))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),nm=0,rm=(()=>{class o{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r,this.id="mat-dialog-title-"+nm++}ngOnInit(){this._dialogRef||(this._dialogRef=function Th(o,n){let e=o.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ql,8),u.Y36(u.SBq),u.Y36(Os))},o.\u0275dir=u.lG2({type:o,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),o})(),om=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),o})(),Ch=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),o})(),$l=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Os,Hn],imports:[[ar,Fr,qe],qe]}),o})();function wn(o){return!!o&&(o instanceof bi.y||"function"==typeof o.lift&&"function"==typeof o.subscribe)}var $b=v(7830);function Eh(...o){if(1===o.length){const n=o[0];if((0,_o.k)(n))return Wl(n,null);if((0,$b.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return Wl(e.map(t=>n[t]),e)}}if("function"==typeof o[o.length-1]){const n=o.pop();return Wl(o=1===o.length&&(0,_o.k)(o[0])?o[0]:o,null).pipe((0,lt.U)(e=>n(...e)))}return Wl(o,null)}function Wl(o,n){return new bi.y(e=>{const t=o.length;if(0===t)return void e.complete();const r=new Array(t);let s=0,i=0;for(let a=0;a{h||(h=!0,i++),r[a]=g},error:g=>e.error(g),complete:()=>{s++,(s===t||!h)&&(i===t&&e.next(n?n.reduce((g,S,H)=>(g[S]=r[H],g),{}):r),e.complete())}}))}})}const Zb=new class Yb extends ds.v{}(class Wb extends fa.o{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(n,e,t):n.flush(this)}});var Hs=v(9312);class Xr extends ws.L{constructor(n,e,t=0){super(n),this.scheduler=e,this.delay=t}static dispatch(n){const{notification:e,destination:t}=n;e.observe(t),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Xr.dispatch,this.delay,new Xb(n,this.destination)))}_next(n){this.scheduleMessage(Hs.P.createNext(n))}_error(n){this.scheduleMessage(Hs.P.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(Hs.P.createComplete()),this.unsubscribe()}}class Xb{constructor(n,e){this.notification=n,this.destination=e}}var Jb=v(5283);class Sh extends xe.xQ{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new Yn(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=t.length;let i;if(this.closed)throw new fd.N;if(this.isStopped||this.hasError?i=Nt.w.EMPTY:(this.observers.push(n),i=new Jb.W(this,n)),r&&n.add(n=new Xr(n,r)),e)for(let a=0;ae&&(i=Math.max(i,s-e)),i>0&&r.splice(0,i),r}}class Yn{constructor(n,e){this.time=n,this.value=e}}function Fs(o,n,e){let t;return t=o&&"object"==typeof o?o:{bufferSize:o,windowTime:n,refCount:!1,scheduler:e},r=>r.lift(function Ai({bufferSize:o=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let r,i,s=0,a=!1,d=!1;return function(g){s++,(!r||a)&&(a=!1,r=new Sh(o,n,t),i=g.subscribe({next(H){r.next(H)},error(H){a=!0,r.error(H)},complete(){d=!0,i=void 0,r.complete()}}));const S=r.subscribe(this);this.add(()=>{s--,S.unsubscribe(),i&&!d&&e&&0===s&&(i.unsubscribe(),i=void 0,r=void 0)})}}(t))}var bn=v(1406),Ri=v(7545);class Ci{}let Yl=(()=>{class o extends Ci{getTranslation(e){return(0,Ie.of)({})}}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();class Jr{}let Po=(()=>{class o{handle(e){return e.key}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();function _r(o,n){if(o===n)return!0;if(null===o||null===n)return!1;if(o!=o&&n!=n)return!0;let r,s,i,e=typeof o;if(e==typeof n&&"object"==e){if(!Array.isArray(o)){if(Array.isArray(n))return!1;for(s in i=Object.create(null),o){if(!_r(o[s],n[s]))return!1;i[s]=!0}for(s in n)if(!(s in i)&&void 0!==n[s])return!1;return!0}if(!Array.isArray(n))return!1;if((r=o.length)==n.length){for(s=0;s{eo(n[t])?t in o?e[t]=Io(o[t],n[t]):Object.assign(e,{[t]:n[t]}):Object.assign(e,{[t]:n[t]})}),e}class yr{}let Oo=(()=>{class o extends yr{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let r;return r="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,r}getValue(e,t){let r="string"==typeof t?t.split("."):[t];t="";do{t+=r.shift(),!tn(e)||!tn(e[t])||"object"!=typeof e[t]&&r.length?r.length?t+=".":e=void 0:(e=e[t],t="")}while(r.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(r,s)=>{let i=this.getValue(t,s);return tn(i)?i:r}):e}}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();class wr{}let kh=(()=>{class o extends wr{compile(e,t){return e}compileTranslations(e,t){return e}}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();class Dh{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new u.vpe,this.onLangChange=new u.vpe,this.onDefaultLangChange=new u.vpe}}const Zl=new u.OlP("USE_STORE"),Ql=new u.OlP("USE_DEFAULT_LANG"),Xl=new u.OlP("DEFAULT_LANGUAGE"),Jl=new u.OlP("USE_EXTEND");let nn=(()=>{class o{constructor(e,t,r,s,i,a=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=r,this.parser=s,this.missingTranslationHandler=i,this.useDefaultLang=a,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new u.vpe,this._onLangChange=new u.vpe,this._onDefaultLangChange=new u.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Vt.q)(1)).subscribe(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ie.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Vt.q)(1)).subscribe(r=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ie.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Fs(1),(0,Vt.q)(1));return this.loadingTranslations=t.pipe((0,lt.U)(r=>this.compiler.compileTranslations(r,e)),Fs(1),(0,Vt.q)(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),t}setTranslation(e,t,r=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(r||this.extend)&&this.translations[e]?Io(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,r){let s;if(t instanceof Array){let i={},a=!1;for(let d of t)i[d]=this.getParsedResult(e,d,r),wn(i[d])&&(a=!0);return a?Eh(t.map(h=>wn(i[h])?i[h]:(0,Ie.of)(i[h]))).pipe((0,lt.U)(h=>{let g={};return h.forEach((S,H)=>{g[t[H]]=S}),g})):i}if(e&&(s=this.parser.interpolate(this.parser.getValue(e,t),r)),void 0===s&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),r)),void 0===s){let i={key:t,translateService:this};void 0!==r&&(i.interpolateParams=r),s=this.missingTranslationHandler.handle(i)}return void 0!==s?s:t}get(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,bn.b)(r=>wn(r=this.getParsedResult(r,e,t))?r:(0,Ie.of)(r)));{let r=this.getParsedResult(this.translations[this.currentLang],e,t);return wn(r)?r:(0,Ie.of)(r)}}getStreamOnTranslationChange(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');return vs(Ya(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ri.w)(r=>{const s=this.getParsedResult(r.translations,e,t);return"function"==typeof s.subscribe?s:(0,Ie.of)(s)})))}stream(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');return vs(Ya(()=>this.get(e,t)),this.onLangChange.pipe((0,Ri.w)(r=>{const s=this.getParsedResult(r.translations,e,t);return wn(s)?s:(0,Ie.of)(s)})))}instant(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,t);if(wn(r)){if(e instanceof Array){let s={};return e.forEach((i,a)=>{s[e[a]]=e[a]}),s}return e}return r}set(e,t,r=this.currentLang){this.translations[r][e]=this.compiler.compile(t,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Dh),u.LFG(Ci),u.LFG(wr),u.LFG(yr),u.LFG(Jr),u.LFG(Ql),u.LFG(Zl),u.LFG(Jl),u.LFG(Xl))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),to=(()=>{class o{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,r){let s=i=>{this.value=void 0!==i?i:e,this.lastKey=e,this._ref.markForCheck()};if(r){let i=this.translate.getParsedResult(r,e,t);wn(i.subscribe)?i.subscribe(s):s(i)}this.translate.get(e,t).subscribe(s)}transform(e,...t){if(!e||!e.length)return e;if(_r(e,this.lastKey)&&_r(t,this.lastParams))return this.value;let r;if(tn(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let s=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(s)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(r=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(nn,16),u.Y36(u.sBO,16))},o.\u0275pipe=u.Yjl({name:"translate",type:o,pure:!1}),o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),Qa=(()=>{class o{static forRoot(e={}){return{ngModule:o,providers:[e.loader||{provide:Ci,useClass:Yl},e.compiler||{provide:wr,useClass:kh},e.parser||{provide:yr,useClass:Oo},e.missingTranslationHandler||{provide:Jr,useClass:Po},Dh,{provide:Zl,useValue:e.isolate},{provide:Ql,useValue:e.useDefaultLang},{provide:Jl,useValue:e.extend},{provide:Xl,useValue:e.defaultLanguage},nn]}}static forChild(e={}){return{ngModule:o,providers:[e.loader||{provide:Ci,useClass:Yl},e.compiler||{provide:wr,useClass:kh},e.parser||{provide:yr,useClass:Oo},e.missingTranslationHandler||{provide:Jr,useClass:Po},{provide:Zl,useValue:e.isolate},{provide:Ql,useValue:e.useDefaultLang},{provide:Jl,useValue:e.extend},{provide:Xl,useValue:e.defaultLanguage},nn]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),sm=(()=>{class o{constructor(e){this.dialogRef=e}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ql))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(u.TgZ(0,"h2",0),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[om],pipes:[to],styles:[""]}),o})();const tv=["mat-button",""],am=["*"],rv=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],cm=mr(Mo(xo(class{constructor(o){this._elementRef=o}})));let eu=(()=>{class o extends cm{constructor(e,t,r){super(e),this._focusMonitor=t,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of rv)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(_n),u.Y36(Ji,8))},o.\u0275cmp=u.Xpm({type:o,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&u.Gf(Ro,5),2&e){let r;u.iGM(r=u.CRH())&&(t.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(u.uIk("disabled",t.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:tv,ngContentSelectors:am,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&e&&(u.xp6(2),u.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),u.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ro],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),o})(),br=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Wn,qe],qe]}),o})();const sv=["connectionContainer"],rE=["inputContainer"],av=["label"];function Mh(o,n){1&o&&(u.ynx(0),u.TgZ(1,"div",14),u._UZ(2,"div",15),u._UZ(3,"div",16),u._UZ(4,"div",17),u.qZA(),u.TgZ(5,"div",18),u._UZ(6,"div",15),u._UZ(7,"div",16),u._UZ(8,"div",17),u.qZA(),u.BQk())}function xh(o,n){if(1&o){const e=u.EpF();u.TgZ(0,"div",19),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.Hsn(1,1),u.qZA()}if(2&o){const e=u.oxw();u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function cv(o,n){if(1&o&&(u.ynx(0),u.Hsn(1,2),u.TgZ(2,"span"),u._uU(3),u.qZA(),u.BQk()),2&o){const e=u.oxw(2);u.xp6(3),u.Oqu(e._control.placeholder)}}function oE(o,n){1&o&&u.Hsn(0,3,["*ngSwitchCase","true"])}function sE(o,n){1&o&&(u.TgZ(0,"span",23),u._uU(1," *"),u.qZA())}function aE(o,n){if(1&o){const e=u.EpF();u.TgZ(0,"label",20,21),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.YNc(2,cv,4,1,"ng-container",12),u.YNc(3,oE,1,0,"ng-content",12),u.YNc(4,sE,2,0,"span",22),u.qZA()}if(2&o){const e=u.oxw();u.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),u.uIk("for",e._control.id)("aria-owns",e._control.id),u.xp6(2),u.Q6J("ngSwitchCase",!1),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function lv(o,n){1&o&&(u.TgZ(0,"div",24),u.Hsn(1,4),u.qZA())}function lm(o,n){if(1&o&&(u.TgZ(0,"div",25),u._UZ(1,"span",26),u.qZA()),2&o){const e=u.oxw();u.xp6(1),u.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function cE(o,n){if(1&o&&(u.TgZ(0,"div"),u.Hsn(1,5),u.qZA()),2&o){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState)}}function uv(o,n){if(1&o&&(u.TgZ(0,"div",30),u._uU(1),u.qZA()),2&o){const e=u.oxw(2);u.Q6J("id",e._hintLabelId),u.xp6(1),u.Oqu(e.hintLabel)}}function zs(o,n){if(1&o&&(u.TgZ(0,"div",27),u.YNc(1,uv,2,2,"div",28),u.Hsn(2,6),u._UZ(3,"div",29),u.Hsn(4,7),u.qZA()),2&o){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState),u.xp6(1),u.Q6J("ngIf",e.hintLabel)}}const dv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],um=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let hv=0;const Rh=new u.OlP("MatError");let Xa=(()=>{class o{constructor(e,t){this.id="mat-error-"+hv++,e||t.nativeElement.setAttribute("aria-live","polite")}}return o.\u0275fac=function(e){return new(e||o)(u.$8M("aria-live"),u.Y36(u.SBq))},o.\u0275dir=u.lG2({type:o,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("id",t.id)},inputs:{id:"id"},features:[u._Bn([{provide:Rh,useExisting:o}])]}),o})();const fv={transitionMessages:Qt("transitionMessages",[dt("enter",Fe({opacity:1,transform:"translateY(0%)"})),ot("void => enter",[Fe({opacity:0,transform:"translateY(-5px)"}),wt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ja=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o}),o})(),pv=0;const dm=new u.OlP("MatHint");let hm=(()=>{class o{constructor(){this.align="start",this.id="mat-hint-"+pv++}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(u.uIk("id",t.id)("align",null),u.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[u._Bn([{provide:dm,useExisting:o}])]}),o})(),tu=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["mat-label"]]}),o})(),fm=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["mat-placeholder"]]}),o})();const pm=new u.OlP("MatPrefix"),gv=new u.OlP("MatSuffix");let Ph=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["","matSuffix",""]],features:[u._Bn([{provide:gv,useExisting:o}])]}),o})(),mm=0;const _m=mr(class{constructor(o){this._elementRef=o}},"primary"),Ih=new u.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ec=new u.OlP("MatFormField");let ym=(()=>{class o extends _m{constructor(e,t,r,s,i,a,d){super(e),this._changeDetectorRef=t,this._dir=r,this._defaults=s,this._platform=i,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new xe.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+mm++,this._labelId="mat-form-field-label-"+mm++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Qe(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(yn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(yt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(yt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,gn.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(yn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(yn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(yt(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Kc(this._label.nativeElement,"transitionend").pipe((0,Vt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,r=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${r}, ${s}`);for(let S=0;S0?.75*he+10:0}for(let g=0;g{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez,qe,Jp],qe]}),o})();const km={provide:new u.OlP("mat-select-scroll-strategy"),deps:[Mn],useFactory:function Fh(o){return()=>o.scrollStrategies.reposition()}};let tc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[km],imports:[[b.ez,ar,Gl,qe],Dn,vr,Gl,qe]}),o})();var Rv=v(6053);const Dm=new Set;let Ho,Pv=(()=>{class o{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mm}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function ri(o){if(!Dm.has(o))try{Ho||(Ho=document.createElement("style"),Ho.setAttribute("type","text/css"),document.head.appendChild(Ho)),Ho.sheet&&(Ho.sheet.insertRule(`@media ${o} {body{ }}`,0),Dm.add(o))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ve))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function Mm(o){return{matches:"all"===o||""===o,media:o,addListener:()=>{},removeListener:()=>{}}}let Iv=(()=>{class o{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new xe.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xm(da(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){const r=xm(da(e)).map(i=>this._registerQuery(i).observable);let s=(0,Rv.aj)(r);return s=vs(s.pipe((0,Vt.q)(1)),s.pipe(bs(1),(0,Yp.b)(0))),s.pipe((0,lt.U)(i=>{const a={matches:!1,breakpoints:{}};return i.forEach(({matches:d,query:h})=>{a.matches=a.matches||d,a.breakpoints[h]=d}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),s={observable:new bi.y(i=>{const a=d=>this._zone.run(()=>i.next(d));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(yn(t),(0,lt.U)(({matches:i})=>({query:e,matches:i})),yt(this._destroySubject)),mql:t};return this._queries.set(e,s),s}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Pv),u.LFG(u.R0b))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function xm(o){return o.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const Ov={tooltipState:Qt("state",[dt("initial, void, hidden",Fe({opacity:0,transform:"scale(0)"})),dt("visible",Fe({transform:"scale(1)"})),ot("* => visible",wt("200ms cubic-bezier(0, 0, 0.2, 1)",As([Fe({opacity:0,transform:"scale(0)",offset:0}),Fe({opacity:.5,transform:"scale(0.99)",offset:.5}),Fe({opacity:1,transform:"scale(1)",offset:1})]))),ot("* => hidden",wt("100ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:0})))])},Fo="tooltip-panel",Im=ti({passive:!0}),Om=new u.OlP("mat-tooltip-scroll-strategy"),mE={provide:Om,deps:[Mn],useFactory:function Hm(o){return()=>o.scrollStrategies.reposition({scrollThrottle:20})}},zh=new u.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Lh(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Zn=(()=>{class o{constructor(e,t,r,s,i,a,d,h,g,S,H,te){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=s,this._ngZone=i,this._platform=a,this._ariaDescriber=d,this._focusMonitor=h,this._dir=S,this._defaultOptions=H,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new xe.xQ,this._scrollStrategy=g,this._document=te,H&&(H.position&&(this.position=H.position),H.touchGestures&&(this.touchGestures=H.touchGestures)),S.change.pipe(yt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Qe(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=pn(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=pn(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(yt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,Im)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Wc(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(yt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(yt(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${Fo}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(yt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(yt(this._destroyed)).subscribe(()=>{var r;return null===(r=this._tooltipInstance)||void 0===r?void 0:r._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(yt(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!Kr(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,r=this._getOrigin(),s=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),s.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),s.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let r;"above"==t||"below"==t?r={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?r={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(r={originX:"end",originY:"center"});const{x:s,y:i}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:s,originY:i}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let r;"above"==t?r={overlayX:"center",overlayY:"bottom"}:"below"==t?r={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?r={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:s,y:i}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:s,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Vt.q)(1),yt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:r,originY:s}=e;let i;if(i="center"===t?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===t&&"top"===s?"above":"below",i!==this._currentPosition){const a=this._overlayRef;if(a){const d=`${this._cssClassPrefix}-${Fo}-`;a.removePanelClass(d+this._currentPosition),a.addPanelClass(d+i)}this._currentPosition=i}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,r])=>{this._elementRef.nativeElement.addEventListener(t,r,Im)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;t!==r&&!r.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,r=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!t.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return o.\u0275fac=function(e){u.$Z()},o.\u0275dir=u.lG2({type:o,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),o})(),Lv=(()=>{class o extends Zn{constructor(e,t,r,s,i,a,d,h,g,S,H,te){super(e,t,r,s,i,a,d,h,g,S,H,te),this._tooltipComponent=Qn}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(Mn),u.Y36(u.SBq),u.Y36(vo),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(Ve),u.Y36(Bw),u.Y36(_n),u.Y36(Om),u.Y36(ci,8),u.Y36(zh,8),u.Y36(b.K0))},o.\u0275dir=u.lG2({type:o,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.qOj]}),o})(),Bv=(()=>{class o{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new xe.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.sBO))},o.\u0275dir=u.lG2({type:o}),o})(),Qn=(()=>{class o extends Bv{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.sBO),u.Y36(Iv))},o.\u0275cmp=u.Xpm({type:o,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&u.Udp("zoom","visible"===t._visibility?1:null)},features:[u.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(u.TgZ(0,"div",0),u.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(s){return t._animationDone(s)}),u.ALo(1,"async"),u._uU(2),u.qZA()),2&e){let r;u.ekj("mat-tooltip-handset",null==(r=u.lcZ(1,5,t._isHandset))?null:r.matches),u.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),u.xp6(2),u.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Ov.tooltipState]},changeDetection:0}),o})(),Ti=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[mE],imports:[[Id,b.ez,ar,qe],qe,Dn]}),o})(),Bh=(()=>{class o{constructor(){this.changes=new xe.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,r)=>{if(0==r||0==t)return`0 of ${r}`;const s=e*t;return`${s+1} \u2013 ${s<(r=Math.max(r,0))?Math.min(s+t,r):s+t} of ${r}`}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const ic={provide:Bh,deps:[[new u.FiY,new u.tp0,Bh]],useFactory:function Nh(o){return o||new Bh}};let iu=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[ic],imports:[[b.ez,br,tc,Ti,qe]]}),o})();var Vh=v(943);const Lm=["mat-menu-item",""];function Kh(o,n){1&o&&(u.O4$(),u.TgZ(0,"svg",2),u._UZ(1,"polygon",3),u.qZA())}const nc=["*"];function Gh(o,n){if(1&o){const e=u.EpF();u.TgZ(0,"div",0),u.NdJ("keydown",function(r){return u.CHM(e),u.oxw()._handleKeydown(r)})("click",function(){return u.CHM(e),u.oxw().closed.emit("click")})("@transformMenu.start",function(r){return u.CHM(e),u.oxw()._onAnimationStart(r)})("@transformMenu.done",function(r){return u.CHM(e),u.oxw()._onAnimationDone(r)}),u.TgZ(1,"div",1),u.Hsn(2),u.qZA(),u.qZA()}if(2&o){const e=u.oxw();u.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),u.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const rc={transformMenu:Qt("transformMenu",[dt("void",Fe({opacity:0,transform:"scale(0.8)"})),ot("void => enter",wt("120ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:1,transform:"scale(1)"}))),ot("* => void",wt("100ms 25ms linear",Fe({opacity:0})))]),fadeInItems:Qt("fadeInItems",[dt("showing",Fe({opacity:1})),ot("void => *",[Fe({opacity:0}),wt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Bm=new u.OlP("MatMenuContent"),Uh=new u.OlP("MAT_MENU_PANEL"),Wv=xo(Mo(class{}));let nu=(()=>{class o extends Wv{constructor(e,t,r,s,i){var a;super(),this._elementRef=e,this._focusMonitor=r,this._parentMenu=s,this._changeDetectorRef=i,this.role="menuitem",this._hovered=new xe.xQ,this._focused=new xe.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==s?void 0:s.addItem)||void 0===a||a.call(s,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),r=t.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class o{constructor(e,t,r){this._elementRef=e,this._ngZone=t,this._defaultOptions=r,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.n_E,this._tabSubscription=Nt.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new xe.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Zv++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Qe(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Qe(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ra(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(yn(this._directDescendantItems),(0,Ri.w)(e=>(0,gn.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(yn(this._directDescendantItems),(0,Ri.w)(t=>(0,gn.T)(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,r=this._keyManager;switch(t){case 27:Kr(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let r=this._directDescendantItems.first._getHostElement().parentElement;for(;r;){if("menu"===r.getAttribute("role")){r.focus();break}r=r.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,s=Object.keys(this._classList).find(i=>i.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,t=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===t,r["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(yn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Nm))},o.\u0275dir=u.lG2({type:o,contentQueries:function(e,t,r){if(1&e&&(u.Suo(r,Bm,5),u.Suo(r,nu,5),u.Suo(r,nu,4)),2&e){let s;u.iGM(s=u.CRH())&&(t.lazyContent=s.first),u.iGM(s=u.CRH())&&(t._allItems=s),u.iGM(s=u.CRH())&&(t.items=s)}},viewQuery:function(e,t){if(1&e&&u.Gf(u.Rgc,5),2&e){let r;u.iGM(r=u.CRH())&&(t.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),o})(),Qv=(()=>{class o extends oc{constructor(e,t,r){super(e,t,r),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Nm))},o.\u0275cmp=u.Xpm({type:o,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&u.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u._Bn([{provide:Uh,useExisting:o}]),u.qOj],ngContentSelectors:nc,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(u.F$t(),u.YNc(0,Gh,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[rc.transformMenu,rc.fadeInItems]},changeDetection:0}),o})();const jm=new u.OlP("mat-menu-scroll-strategy"),Jv={provide:jm,deps:[Mn],useFactory:function Xv(o){return()=>o.scrollStrategies.reposition()}},Km=ti({passive:!0});let eA=(()=>{class o{constructor(e,t,r,s,i,a,d,h){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=a,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Nt.w.EMPTY,this._hoverSubscription=Nt.w.EMPTY,this._menuCloseSubscription=Nt.w.EMPTY,this._handleTouchStart=g=>{Ia(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=i instanceof oc?i:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Km),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Km),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),r=t.positionStrategy;this._setPosition(r),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof oc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(yt(this.menu.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof oc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,ke.h)(r=>"void"===r.toState),(0,Vt.q)(1),yt(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Qc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[s,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,d]=[s,i],[h,g]=[t,r],S=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",r=h="end"===t?"start":"end",S="bottom"===s?8:-8):this.menu.overlapTrigger||(a="top"===s?"bottom":"top",d="top"===i?"bottom":"top"),e.withPositions([{originX:t,originY:a,overlayX:h,overlayY:s,offsetY:S},{originX:r,originY:a,overlayX:g,overlayY:s,offsetY:S},{originX:t,originY:d,overlayX:h,overlayY:i,offsetY:-S},{originX:r,originY:d,overlayX:g,overlayY:i,offsetY:-S}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ie.of)(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ke.h)(i=>i!==this._menuItemInstance),(0,ke.h)(()=>this._menuOpen)):(0,Ie.of)();return(0,gn.T)(e,r,s,t)}_handleMousedown(e){ml(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ke.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Vh.g)(0,wo)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof oc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Vt.q)(1),(0,Vh.g)(0,wo),yt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new od(this.menu.templateRef,this._viewContainerRef)),this._portal}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(Mn),u.Y36(u.SBq),u.Y36(u.s_b),u.Y36(jm),u.Y36(Uh,8),u.Y36(nu,10),u.Y36(ci,8),u.Y36(_n))},o.\u0275dir=u.lG2({type:o,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&u.NdJ("click",function(s){return t._handleClick(s)})("mousedown",function(s){return t._handleMousedown(s)})("keydown",function(s){return t._handleKeydown(s)}),2&e&&u.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),o})(),tA=(()=>{class o extends eA{}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275dir=u.lG2({type:o,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.qOj]}),o})(),sc=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Jv],imports:[[b.ez,qe,Wn,ar],Dn,qe]}),o})();var ac=v(1737),Li=v(7221);function qh(o){return n=>n.lift(new Gm(o))}class Gm{constructor(n){this.callback=n}call(n,e){return e.subscribe(new Um(n,this.callback))}}class Um extends ws.L{constructor(n,e){super(n),this.add(new Nt.w(e))}}var qm=v(2474);const $m=["*"];let cc;function zo(o){var n;return(null===(n=function $h(){if(void 0===cc&&(cc=null,"undefined"!=typeof window)){const o=window;void 0!==o.trustedTypes&&(cc=o.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return cc}())||void 0===n?void 0:n.createHTML(o))||o}function io(o){return Error(`Unable to find icon with the name "${o}"`)}function Wm(o){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${o}".`)}function Lo(o){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${o}".`)}class Bs{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}}let Bo=(()=>{class o{constructor(e,t,r,s){this._httpClient=e,this._sanitizer=t,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,s){return this._addSvgIconConfig(e,t,new Bs(r,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,s){const i=this._sanitizer.sanitize(u.q3G.HTML,r);if(!i)throw Lo(r);const a=zo(i);return this._addSvgIconConfig(e,t,new Bs("",a,s))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new Bs(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){const s=this._sanitizer.sanitize(u.q3G.HTML,t);if(!s)throw Lo(t);const i=zo(s);return this._addSvgIconSetConfig(e,new Bs("",i,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,e);if(!t)throw Wm(e);const r=this._cachedIconsByUrl.get(t);return r?(0,Ie.of)(lc(r)):this._loadSvgIconFromConfig(new Bs(e,null)).pipe((0,ui.b)(s=>this._cachedIconsByUrl.set(t,s)),(0,lt.U)(s=>lc(s)))}getNamedSvgIcon(e,t=""){const r=rA(t,e);let s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(t,e),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);const i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):(0,ac._)(io(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ie.of)(lc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,lt.U)(t=>lc(t)))}_getSvgFromIconSetConfigs(e,t){const r=this._extractIconWithNameFromAnySet(e,t);return r?(0,Ie.of)(r):Eh(t.filter(i=>!i.svgText).map(i=>this._loadSvgIconSetFromConfig(i).pipe((0,Li.K)(a=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,i.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ie.of)(null)})))).pipe((0,lt.U)(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw io(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){const s=t[r];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const i=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(i,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,ui.b)(t=>e.svgText=t),(0,lt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ie.of)(null):this._fetchIcon(e).pipe((0,ui.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){const s=e.querySelector(`[id="${t}"]`);if(!s)return null;const i=s.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,r);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),r);const a=this._svgElementFromString(zo(""));return a.appendChild(i),this._setSvgAttributes(a,r)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const t=this._svgElementFromString(zo("")),r=e.attributes;for(let s=0;szo(g)),qh(()=>this._inProgressUrlFetches.delete(a)),(0,qm.B)());return this._inProgressUrlFetches.set(a,h),h}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(rA(e,t),r),this}_addSvgIconSetConfig(e,t){const r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let r=0;rn?n.pathname+n.search:""}}}),uc=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cA=uc.map(o=>`[${o}]`).join(", "),ru=/^url\(['"]?#(.*?)['"]?\)$/;let Ns=(()=>{class o extends oA{constructor(e,t,r,s,i){super(e),this._iconRegistry=t,this._location=s,this._errorHandler=i,this._inline=!1,this._currentIconFetch=Nt.w.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Qe(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let s=0;s{r.forEach(i=>{s.setAttribute(i.name,`url('${e}#${i.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(cA),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=t[s],d=a.getAttribute(i),h=d?d.match(ru):null;if(h){let g=r.get(a);g||(g=[],r.set(a,g)),g.push({name:i,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,r]=this._splitIconName(e);t&&(this._svgNamespace=t),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,t).pipe((0,Vt.q)(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${r}! ${s.message}`))})}}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(Bo),u.$8M("aria-hidden"),u.Y36(sA),u.Y36(u.qLn))},o.\u0275cmp=u.Xpm({type:o,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(u.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),u.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[u.qOj],ngContentSelectors:$m,decls:1,vars:0,template:function(e,t){1&e&&(u.F$t(),u.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),o})(),Dt=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe],qe]}),o})(),SE=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[],imports:[[iu,sc,Dt,br,Qa,b.ez]]}),o})();function Wh(){const o=new Ul;return o.disableClose=!0,o.autoFocus=!1,o}v(9441),new Intl.Collator("cs",{numeric:!0});class SA{static passwordMatchValidator(n){const e=n.get("passwordCtrl").value,t=n.get("passwordAgainCtrl").value;return n.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(n){return e=>{if(!e.value)return null;let t=0;for(const r of n)t+=r.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}var Zh=v(4450),kA=v(1762);function Qh(o,n){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new DA(o,n,e))}}class DA{constructor(n,e,t=!1){this.accumulator=n,this.seed=e,this.hasSeed=t}call(n,e){return e.subscribe(new Qm(n,this.accumulator,this.seed,this.hasSeed))}}class Qm extends ws.L{constructor(n,e,t,r){super(n),this.accumulator=e,this._seed=t,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let t;try{t=this.accumulator(this.seed,n,e)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}}var MA=v(4231);function fc(o){return function(e){return 0===o?(0,Qr.c)():e.lift(new xA(o))}}class xA{constructor(n){if(this.total=n,this.total<0)throw new MA.W}call(n,e){return e.subscribe(new Xm(n,this.total))}}class Xm extends ws.L{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,t=this.total,r=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;so.length||"full"===e.pathMatch&&(n.hasChildren()||t.lengtht[s]===r)}return o===n}function u_(o){return Array.prototype.concat.apply([],o)}function nf(o){return o.length>0?o[o.length-1]:null}function gi(o,n){for(const e in o)o.hasOwnProperty(e)&&n(o[e],e)}function Ni(o){return(0,u.CqO)(o)?o:(0,u.QGY)(o)?(0,vi.D)(Promise.resolve(o)):(0,Ie.of)(o)}const Vs={exact:function rf(o,n,e){if(!zn(o.segments,n.segments)||!uu(o.segments,n.segments,e)||o.numberOfChildren!==n.numberOfChildren)return!1;for(const t in n.children)if(!o.children[t]||!rf(o.children[t],n.children[t],e))return!1;return!0},subset:h_},Ks={exact:function qE(o,n){return Xn(o,n)},subset:function KA(o,n){return Object.keys(n).length<=Object.keys(o).length&&Object.keys(n).every(e=>tf(o[e],n[e]))},ignored:()=>!0};function d_(o,n,e){return Vs[e.paths](o.root,n.root,e.matrixParams)&&Ks[e.queryParams](o.queryParams,n.queryParams)&&!("exact"===e.fragment&&o.fragment!==n.fragment)}function h_(o,n,e){return f_(o,n,n.segments,e)}function f_(o,n,e,t){if(o.segments.length>e.length){const r=o.segments.slice(0,e.length);return!(!zn(r,e)||n.hasChildren()||!uu(r,e,t))}if(o.segments.length===e.length){if(!zn(o.segments,e)||!uu(o.segments,e,t))return!1;for(const r in n.children)if(!o.children[r]||!h_(o.children[r],n.children[r],t))return!1;return!0}{const r=e.slice(0,o.segments.length),s=e.slice(o.segments.length);return!!(zn(o.segments,r)&&uu(o.segments,r,t)&&o.children[st])&&f_(o.children[st],n,s,t)}}function uu(o,n,e){return n.every((t,r)=>Ks[e](o[r].parameters,t.parameters))}class oo{constructor(n,e,t){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ro(this.queryParams)),this._queryParamMap}toString(){return UA.serialize(this)}}class gt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,gi(e,(t,r)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hu(this)}}class No{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ro(this.parameters)),this._parameterMap}toString(){return lf(this)}}function zn(o,n){return o.length===n.length&&o.every((e,t)=>e.path===n[t].path)}class sf{}class af{parse(n){const e=new uf(n);return new oo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${pc(n.root,!0)}`,t=function WE(o){const n=Object.keys(o).map(e=>{const t=o[e];return Array.isArray(t)?t.map(r=>`${pu(e)}=${pu(r)}`).join("&"):`${pu(e)}=${pu(t)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${t}${"string"==typeof n.fragment?`#${function $E(o){return encodeURI(o)}(n.fragment)}`:""}`}}const UA=new af;function hu(o){return o.segments.map(n=>lf(n)).join("/")}function pc(o,n){if(!o.hasChildren())return hu(o);if(n){const e=o.children[st]?pc(o.children[st],!1):"",t=[];return gi(o.children,(r,s)=>{s!==st&&t.push(`${s}:${pc(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function GA(o,n){let e=[];return gi(o.children,(t,r)=>{r===st&&(e=e.concat(n(t,r)))}),gi(o.children,(t,r)=>{r!==st&&(e=e.concat(n(t,r)))}),e}(o,(t,r)=>r===st?[pc(o.children[st],!1)]:[`${r}:${pc(t,!1)}`]);return 1===Object.keys(o.children).length&&null!=o.children[st]?`${hu(o)}/${e[0]}`:`${hu(o)}/(${e.join("//")})`}}function fu(o){return encodeURIComponent(o).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pu(o){return fu(o).replace(/%3B/gi,";")}function cf(o){return fu(o).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gu(o){return decodeURIComponent(o)}function jo(o){return gu(o.replace(/\+/g,"%20"))}function lf(o){return`${cf(o.path)}${function Gs(o){return Object.keys(o).map(n=>`;${cf(n)}=${cf(o[n])}`).join("")}(o.parameters)}`}const p_=/^[^\/()?;=#]+/;function mu(o){const n=o.match(p_);return n?n[0]:""}const YE=/^[^=?&#]+/,ZE=/^[^&#]+/;class uf{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[st]=new gt(n,e)),t}parseSegment(){const n=mu(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(n),new No(gu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=mu(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=mu(this.remaining);r&&(t=r,this.capture(t))}n[gu(e)]=gu(t)}parseQueryParam(n){const e=function g_(o){const n=o.match(YE);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const i=function m_(o){const n=o.match(ZE);return n?n[0]:""}(this.remaining);i&&(t=i,this.capture(t))}const r=jo(e),s=jo(t);if(n.hasOwnProperty(r)){let i=n[r];Array.isArray(i)||(i=[i],n[r]=i),i.push(s)}else n[r]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=mu(this.remaining),r=this.remaining[t.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;t.indexOf(":")>-1?(s=t.substr(0,t.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=st);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i[st]:new gt([],i),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Error(`Expected "${n}".`)}}class __{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=_u(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){const e=_u(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=df(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return df(n,this._root).map(e=>e.value)}}function _u(o,n){if(o===n.value)return n;for(const e of n.children){const t=_u(o,e);if(t)return t}return null}function df(o,n){if(o===n.value)return[n];for(const e of n.children){const t=df(o,e);if(t.length)return t.unshift(n),t}return[]}class Cr{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Us(o){const n={};return o&&o.children.forEach(e=>n[e.value.outlet]=e),n}class y_ extends __{constructor(n,e){super(n),this.snapshot=e,yu(this,n)}toString(){return this.snapshot.toString()}}function w_(o,n){const e=function qA(o,n){const i=new mc([],{},{},"",{},st,n,null,o.root,-1,{});return new hf("",new Cr(i,[]))}(o,n),t=new ni([new No("",{})]),r=new ni({}),s=new ni({}),i=new ni({}),a=new ni(""),d=new so(t,r,i,a,s,st,n,e.root);return d.snapshot=e.root,new y_(new Cr(d,[]),e)}class so{constructor(n,e,t,r,s,i,a,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=i,this.component=a,this._futureSnapshot=d}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._paramMap=this.params.pipe((0,lt.U)(n=>ro(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,lt.U)(n=>ro(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b_(o,n="emptyOnly"){const e=o.pathFromRoot;let t=0;if("always"!==n)for(t=e.length-1;t>=1;){const r=e[t],s=e[t-1];if(r.routeConfig&&""===r.routeConfig.path)t--;else{if(s.component)break;t--}}return function gc(o){return o.reduce((n,e)=>({params:Object.assign(Object.assign({},n.params),e.params),data:Object.assign(Object.assign({},n.data),e.data),resolve:Object.assign(Object.assign({},n.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class mc{constructor(n,e,t,r,s,i,a,d,h,g,S){this.url=n,this.params=e,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=i,this.component=a,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=S}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._paramMap=ro(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ro(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hf extends __{constructor(n,e){super(e),this.url=n,yu(this,e)}toString(){return ff(this._root)}}function yu(o,n){n.value._routerState=o,n.children.forEach(e=>yu(o,e))}function ff(o){const n=o.children.length>0?` { ${o.children.map(ff).join(", ")} } `:"";return`${o.value}${n}`}function wu(o){if(o.snapshot){const n=o.snapshot,e=o._futureSnapshot;o.snapshot=e,Xn(n.queryParams,e.queryParams)||o.queryParams.next(e.queryParams),n.fragment!==e.fragment&&o.fragment.next(e.fragment),Xn(n.params,e.params)||o.params.next(e.params),function l_(o,n){if(o.length!==n.length)return!1;for(let e=0;eXn(e.parameters,n[t].parameters))}(o.url,n.url);return e&&!(!o.parent!=!n.parent)&&(!o.parent||bu(o.parent,n.parent))}function qs(o,n,e){if(e&&o.shouldReuseRoute(n.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=n.value;const r=function v_(o,n,e){return n.children.map(t=>{for(const r of e.children)if(o.shouldReuseRoute(t.value,r.value.snapshot))return qs(o,t,r);return qs(o,t)})}(o,n,e);return new Cr(t,r)}{if(o.shouldAttach(n.value)){const s=o.retrieve(n.value);if(null!==s){const i=s.route;return i.value._futureSnapshot=n.value,i.children=n.children.map(a=>qs(o,a)),i}}const t=function A_(o){return new so(new ni(o.url),new ni(o.params),new ni(o.queryParams),new ni(o.fragment),new ni(o.data),o.outlet,o.component,o)}(n.value),r=n.children.map(s=>qs(o,s));return new Cr(t,r)}}function vu(o){return"object"==typeof o&&null!=o&&!o.outlets&&!o.segmentPath}function Tr(o){return"object"==typeof o&&null!=o&&o.outlets}function pf(o,n,e,t,r){let s={};return t&&gi(t,(i,a)=>{s[a]=Array.isArray(i)?i.map(d=>`${d}`):`${i}`}),new oo(e.root===o?n:Au(e.root,o,n),s,r)}function Au(o,n,e){const t={};return gi(o.children,(r,s)=>{t[s]=r===n?e:Au(r,n,e)}),new gt(o.segments,t)}class Ln{constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&vu(t[0]))throw new Error("Root segment cannot have matrix parameters");const r=t.find(Tr);if(r&&r!==nf(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $s{constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}function C_(o,n,e){if(o||(o=new gt([],{})),0===o.segments.length&&o.hasChildren())return Vo(o,n,e);const t=function Cu(o,n,e){let t=0,r=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return s;const i=o.segments[r],a=e[t];if(Tr(a))break;const d=`${a}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!_f(d,h,i))return s;t+=2}else{if(!_f(d,{},i))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}(o,n,e),r=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(r[i]=C_(o.children[i],n,s))}),gi(o.children,(s,i)=>{void 0===t[i]&&(r[i]=s)}),new gt(o.segments,r)}}function gf(o,n,e){const t=o.segments.slice(0,n);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(n[t]=gf(new gt([],{}),0,e))}),n}function mf(o){const n={};return gi(o,(e,t)=>n[t]=`${e}`),n}function _f(o,n,e){return o==e.path&&Xn(n,e.parameters)}class T_{constructor(n,e,t,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=r}activate(n){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),wu(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){const r=Us(e);n.children.forEach(s=>{const i=s.value.outlet;this.deactivateRoutes(s,r[i],t),delete r[i]}),gi(r,(s,i)=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(n,e,t){const r=n.value,s=e?e.value:null;if(r===s)if(r.component){const i=t.getContext(r.outlet);i&&this.deactivateChildRoutes(n,e,i.children)}else this.deactivateChildRoutes(n,e,t);else s&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const t=e.getContext(n.value.outlet),r=t&&n.value.component?t.children:e,s=Us(n);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);if(t&&t.outlet){const i=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:i,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const t=e.getContext(n.value.outlet),r=t&&n.value.component?t.children:e,s=Us(n);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(n,e,t){const r=Us(e);n.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new NA(s.value.snapshot))}),n.children.length&&this.forwardEvent(new LA(n.value.snapshot))}activateRoutes(n,e,t){const r=n.value,s=e?e.value:null;if(wu(r),r===s)if(r.component){const i=t.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,i.children)}else this.activateChildRoutes(n,e,t);else if(r.component){const i=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),wu(a.route.value),this.activateChildRoutes(n,null,i.children)}else{const a=function JA(o){for(let n=o.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),d=a?a.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=d,i.outlet&&i.outlet.activateWith(r,d),this.activateChildRoutes(n,null,i.children)}}else this.activateChildRoutes(n,null,t)}}class wf{constructor(n,e){this.routes=n,this.module=e}}function Ko(o){return"function"==typeof o}function Er(o){return o instanceof oo}const yc=Symbol("INITIAL_VALUE");function wc(){return(0,Ri.w)(o=>(0,Rv.aj)(o.map(n=>n.pipe((0,Vt.q)(1),yn(yc)))).pipe(Qh((n,e)=>{let t=!1;return e.reduce((r,s,i)=>r!==yc?r:(s===yc&&(t=!0),t||!1!==s&&i!==e.length-1&&!Er(s)?r:s),n)},yc),(0,ke.h)(n=>n!==yc),(0,lt.U)(n=>Er(n)?n:!0===n),(0,Vt.q)(1)))}class tC{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ws,this.attachRef=null}}class Ws{constructor(){this.contexts=new Map}onChildOutletCreated(n,e){const t=this.getOrCreateContext(n);t.outlet=e,this.contexts.set(n,t)}onChildOutletDestroyed(n){const e=this.getContext(n);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let e=this.getContext(n);return e||(e=new tC,this.contexts.set(n,e)),e}getContext(n){return this.contexts.get(n)||null}}let Tu=(()=>{class o{constructor(e,t,r,s,i){this.parentContexts=e,this.location=t,this.resolver=r,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new u.vpe,this.deactivateEvents=new u.vpe,this.attachEvents=new u.vpe,this.detachEvents=new u.vpe,this.name=s||st,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,d=new S_(e,a,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(Ws),u.Y36(u.s_b),u.Y36(u._Vd),u.$8M("name"),u.Y36(u.sBO))},o.\u0275dir=u.lG2({type:o,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),o})();class S_{constructor(n,e,t){this.route=n,this.childContexts=e,this.parent=t}get(n,e){return n===so?this.route:n===Ws?this.childContexts:this.parent.get(n,e)}}let Cf=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=u.Xpm({type:o,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&u._UZ(0,"router-outlet")},directives:[Tu],encapsulation:2}),o})();function Tf(o,n=""){for(let e=0;ern(t)===n);return e.push(...o.filter(t=>rn(t)!==n)),e}const Ef={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Su(o,n,e){var t;if(""===n.path)return"full"===n.pathMatch&&(o.hasChildren()||e.length>0)?Object.assign({},Ef):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(n.matcher||jA)(e,o,n);if(!s)return Object.assign({},Ef);const i={};gi(s.posParams,(d,h)=>{i[h]=d.path});const a=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:a,positionalParamSegments:null!==(t=s.posParams)&&void 0!==t?t:{}}}function di(o,n,e,t,r="corrected"){if(e.length>0&&function rC(o,n,e){return e.some(t=>ao(o,n,t)&&rn(t)!==st)}(o,e,t)){const i=new gt(n,function nC(o,n,e,t){const r={};r[st]=t,t._sourceSegment=o,t._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&rn(s)!==st){const i=new gt([],{});i._sourceSegment=o,i._segmentIndexShift=n.length,r[rn(s)]=i}return r}(o,n,t,new gt(e,o.children)));return i._sourceSegment=o,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:[]}}if(0===e.length&&function QE(o,n,e){return e.some(t=>ao(o,n,t))}(o,e,t)){const i=new gt(o.segments,function Ys(o,n,e,t,r,s){const i={};for(const a of t)if(ao(o,e,a)&&!r[rn(a)]){const d=new gt([],{});d._sourceSegment=o,d._segmentIndexShift="legacy"===s?o.segments.length:n.length,i[rn(a)]=d}return Object.assign(Object.assign({},r),i)}(o,n,e,t,o.children,r));return i._sourceSegment=o,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:e}}const s=new gt(o.segments,o.children);return s._sourceSegment=o,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}function ao(o,n,e){return(!(o.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function M_(o,n,e,t){return!!(rn(o)===t||t!==st&&ao(n,e,o))&&("**"===o.path||Su(n,o,e).matched)}function ku(o,n,e){return 0===n.length&&!o.children[e]}class bc{constructor(n){this.segmentGroup=n||null}}class Sf{constructor(n){this.urlTree=n}}function Du(o){return new bi.y(n=>n.error(new bc(o)))}function x_(o){return new bi.y(n=>n.error(new Sf(o)))}function kf(o){return new bi.y(n=>n.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${o}'`)))}class Mu{constructor(n,e,t,r,s){this.configLoader=e,this.urlSerializer=t,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=n.get(u.h0i)}apply(){const n=di(this.urlTree.root,[],[],this.config).segmentGroup,e=new gt(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,e,st).pipe((0,lt.U)(s=>this.createUrlTree(I_(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Li.K)(s=>{if(s instanceof Sf)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof bc?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.ngModule,this.config,n.root,st).pipe((0,lt.U)(r=>this.createUrlTree(I_(r),n.queryParams,n.fragment))).pipe((0,Li.K)(r=>{throw r instanceof bc?this.noMatchError(r):r}))}noMatchError(n){return new Error(`Cannot match any routes. URL Segment: '${n.segmentGroup}'`)}createUrlTree(n,e,t){const r=n.segments.length>0?new gt([],{[st]:n}):n;return new oo(r,e,t)}expandSegmentGroup(n,e,t,r){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(n,e,t).pipe((0,lt.U)(s=>new gt([],s))):this.expandSegment(n,t,e,t.segments,r,!0)}expandChildren(n,e,t){const r=[];for(const s of Object.keys(t.children))"primary"===s?r.unshift(s):r.push(s);return(0,vi.D)(r).pipe((0,bn.b)(s=>{const i=t.children[s],a=D_(e,s);return this.expandSegmentGroup(n,a,i,s).pipe((0,lt.U)(d=>({segment:d,outlet:s})))}),Qh((s,i)=>(s[i.outlet]=i.segment,s),{}),function IA(o,n){const e=arguments.length>=2;return t=>t.pipe(o?(0,ke.h)((r,s)=>o(r,s,t)):PA.y,fc(1),e?(0,RA.d)(n):(0,Jm.T)(()=>new Zh.K))}())}expandSegment(n,e,t,r,s,i){return(0,vi.D)(t).pipe((0,bn.b)(a=>this.expandSegmentAgainstRoute(n,e,t,a,r,s,i).pipe((0,Li.K)(h=>{if(h instanceof bc)return(0,Ie.of)(null);throw h}))),(0,no.P)(a=>!!a),(0,Li.K)((a,d)=>{if(a instanceof Zh.K||"EmptyError"===a.name){if(ku(e,r,s))return(0,Ie.of)(new gt([],{}));throw new bc(e)}throw a}))}expandSegmentAgainstRoute(n,e,t,r,s,i,a){return M_(r,e,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,e,r,s,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,r,s,i):Du(e):Du(e)}expandSegmentAgainstRouteUsingRedirect(n,e,t,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,t,r){const s=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?x_(s):this.lineralizeSegments(t,s).pipe((0,Bi.zg)(i=>{const a=new gt(i,{});return this.expandSegment(n,a,e,i,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,r,s,i){const{matched:a,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Su(e,r,s);if(!a)return Du(e);const S=this.applyRedirectCommands(d,r.redirectTo,g);return r.redirectTo.startsWith("/")?x_(S):this.lineralizeSegments(r,S).pipe((0,Bi.zg)(H=>this.expandSegment(n,e,t,H.concat(s.slice(h)),i,!1)))}matchSegmentAgainstRoute(n,e,t,r,s){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ie.of)(t._loadedConfig):this.configLoader.load(n.injector,t)).pipe((0,lt.U)(H=>(t._loadedConfig=H,new gt(r,{})))):(0,Ie.of)(new gt(r,{}));const{matched:i,consumedSegments:a,lastChild:d}=Su(e,t,r);if(!i)return Du(e);const h=r.slice(d);return this.getChildConfig(n,t,r).pipe((0,Bi.zg)(S=>{const H=S.module,te=S.routes,{segmentGroup:he,slicedSegments:_e}=di(e,a,h,te),Te=new gt(he.segments,he.children);if(0===_e.length&&Te.hasChildren())return this.expandChildren(H,te,Te).pipe((0,lt.U)(It=>new gt(a,It)));if(0===te.length&&0===_e.length)return(0,Ie.of)(new gt(a,{}));const mt=rn(t)===s;return this.expandSegment(H,Te,te,_e,mt?st:s,!0).pipe((0,lt.U)(bt=>new gt(a.concat(bt.segments),bt.children)))}))}getChildConfig(n,e,t){return e.children?(0,Ie.of)(new wf(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?(0,Ie.of)(e._loadedConfig):this.runCanLoadGuards(n.injector,e,t).pipe((0,Bi.zg)(r=>r?this.configLoader.load(n.injector,e).pipe((0,lt.U)(s=>(e._loadedConfig=s,s))):function R_(o){return new bi.y(n=>n.error(Jh(`Cannot load children because the guard of the route "path: '${o.path}'" returned false`)))}(e))):(0,Ie.of)(new wf([],n))}runCanLoadGuards(n,e,t){const r=e.canLoad;if(!r||0===r.length)return(0,Ie.of)(!0);const s=r.map(i=>{const a=n.get(i);let d;if(function E_(o){return o&&Ko(o.canLoad)}(a))d=a.canLoad(e,t);else{if(!Ko(a))throw new Error("Invalid CanLoad guard");d=a(e,t)}return Ni(d)});return(0,Ie.of)(s).pipe(wc(),(0,ui.b)(i=>{if(!Er(i))return;const a=Jh(`Redirecting to "${this.urlSerializer.serialize(i)}"`);throw a.url=i,a}),(0,lt.U)(i=>!0===i))}lineralizeSegments(n,e){let t=[],r=e.root;for(;;){if(t=t.concat(r.segments),0===r.numberOfChildren)return(0,Ie.of)(t);if(r.numberOfChildren>1||!r.children[st])return kf(n.redirectTo);r=r.children[st]}}applyRedirectCommands(n,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,t)}applyRedirectCreatreUrlTree(n,e,t,r){const s=this.createSegmentGroup(n,e.root,t,r);return new oo(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const t={};return gi(n,(r,s)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);t[s]=e[a]}else t[s]=r}),t}createSegmentGroup(n,e,t,r){const s=this.createSegments(n,e.segments,t,r);let i={};return gi(e.children,(a,d)=>{i[d]=this.createSegmentGroup(n,a,t,r)}),new gt(s,i)}createSegments(n,e,t,r){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,r):this.findOrReturn(s,t))}findPosParam(n,e,t){const r=t[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${n}'. Cannot find '${e.path}'.`);return r}findOrReturn(n,e){let t=0;for(const r of e){if(r.path===n.path)return e.splice(t),r;t++}return n}}function I_(o){const n={};for(const t of Object.keys(o.children)){const s=I_(o.children[t]);(s.segments.length>0||s.hasChildren())&&(n[t]=s)}return function Df(o){if(1===o.numberOfChildren&&o.children[st]){const n=o.children[st];return new gt(o.segments.concat(n.segments),n.children)}return o}(new gt(o.segments,n))}class H_{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class vc{constructor(n,e){this.component=n,this.route=e}}function xu(o,n,e){const t=o._root;return Go(t,n?n._root:null,e,[t.value])}function Ru(o,n,e){const t=function Mf(o){if(!o)return null;for(let n=o.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(n);return(t?t.module.injector:e).get(o)}function Go(o,n,e,t,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Us(n);return o.children.forEach(i=>{(function XE(o,n,e,t,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=o.value,i=n?n.value:null,a=e?e.getContext(o.value.outlet):null;if(i&&s.routeConfig===i.routeConfig){const d=function oC(o,n,e){if("function"==typeof e)return e(o,n);switch(e){case"pathParamsChange":return!zn(o.url,n.url);case"pathParamsOrQueryParamsChange":return!zn(o.url,n.url)||!Xn(o.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bu(o,n)||!Xn(o.queryParams,n.queryParams);default:return!bu(o,n)}}(i,s,s.routeConfig.runGuardsAndResolvers);d?r.canActivateChecks.push(new H_(t)):(s.data=i.data,s._resolvedData=i._resolvedData),Go(o,n,s.component?a?a.children:null:e,t,r),d&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new vc(a.outlet.component,i))}else i&&Ac(n,a,r),r.canActivateChecks.push(new H_(t)),Go(o,null,s.component?a?a.children:null:e,t,r)})(i,s[i.value.outlet],e,t.concat([i.value]),r),delete s[i.value.outlet]}),gi(s,(i,a)=>Ac(i,e.getContext(a),r)),r}function Ac(o,n,e){const t=Us(o),r=o.value;gi(t,(s,i)=>{Ac(s,r.component?n?n.children.getContext(i):null:n,e)}),e.canDeactivateChecks.push(new vc(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}class lC{}function xf(o){return new bi.y(n=>n.error(o))}class K_{constructor(n,e,t,r,s,i){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const n=di(this.urlTree.root,[],[],this.config.filter(i=>void 0===i.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,st);if(null===e)return null;const t=new mc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Cr(t,e),s=new hf(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(n){const e=n.value,t=b_(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,t)}processChildren(n,e){const t=[];for(const s of Object.keys(e.children)){const i=e.children[s],a=D_(n,s),d=this.processSegmentGroup(a,i,s);if(null===d)return null;t.push(...d)}const r=hC(t);return function G_(o){o.sort((n,e)=>n.value.outlet===st?-1:e.value.outlet===st?1:n.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(n,e,t,r){for(const s of n){const i=this.processSegmentAgainstRoute(s,e,t,r);if(null!==i)return i}return ku(e,t,r)?[]:null}processSegmentAgainstRoute(n,e,t,r){if(n.redirectTo||!M_(n,e,t,r))return null;let s,i=[],a=[];if("**"===n.path){const te=t.length>0?nf(t).parameters:{};s=new mc(t,te,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mC(n),rn(n),n.component,n,pC(e),gC(e)+t.length,_C(n))}else{const te=Su(e,n,t);if(!te.matched)return null;i=te.consumedSegments,a=t.slice(te.lastChild),s=new mc(i,te.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mC(n),rn(n),n.component,n,pC(e),gC(e)+i.length,_C(n))}const d=function uC(o){return o.children?o.children:o.loadChildren?o._loadedConfig.routes:[]}(n),{segmentGroup:h,slicedSegments:g}=di(e,i,a,d.filter(te=>void 0===te.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const te=this.processChildren(d,h);return null===te?null:[new Cr(s,te)]}if(0===d.length&&0===g.length)return[new Cr(s,[])];const S=rn(n)===r,H=this.processSegment(d,h,g,S?st:r);return null===H?null:[new Cr(s,H)]}}function dC(o){const n=o.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function hC(o){const n=[],e=new Set;for(const t of o){if(!dC(t)){n.push(t);continue}const r=n.find(s=>t.value.routeConfig===s.value.routeConfig);void 0!==r?(r.children.push(...t.children),e.add(r)):n.push(t)}for(const t of e){const r=hC(t.children);n.push(new Cr(t.value,r))}return n.filter(t=>!e.has(t))}function pC(o){let n=o;for(;n._sourceSegment;)n=n._sourceSegment;return n}function gC(o){let n=o,e=n._segmentIndexShift?n._segmentIndexShift:0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift?n._segmentIndexShift:0;return e-1}function mC(o){return o.data||{}}function _C(o){return o.resolve||{}}function Cc(o){return[...Object.keys(o),...Object.getOwnPropertySymbols(o)]}function Tc(o){return(0,Ri.w)(n=>{const e=o(n);return e?(0,vi.D)(e).pipe((0,lt.U)(()=>n)):(0,Ie.of)(n)})}class yC extends class U_{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const Rf=new u.OlP("ROUTES");class Pu{constructor(n,e,t,r){this.injector=n,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=r}load(n,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe((0,lt.U)(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=s.create(n);return new wf(u_(i.injector.get(Rf,void 0,u.XFs.Self|u.XFs.Optional)).map(Eu),i)}),(0,Li.K)(s=>{throw e._loader$=void 0,s}));return e._loader$=new kA.c(r,()=>new xe.xQ).pipe((0,e_.x)()),e._loader$}loadModuleFactory(n){return Ni(n()).pipe((0,Bi.zg)(e=>e instanceof u.YKP?(0,Ie.of)(e):(0,vi.D)(this.compiler.compileModuleAsync(e))))}}class $_{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function W_(o){throw o}function rS(o,n,e){return n.parse("/")}function Pf(o,n){return(0,Ie.of)(null)}const Iu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ji=(()=>{class o{constructor(e,t,r,s,i,a,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=r,this.location=s,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new xe.xQ,this.errorHandler=W_,this.malformedUriErrorHandler=rS,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pf,afterPreactivation:Pf},this.urlHandlingStrategy=new $_,this.routeReuseStrategy=new yC,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=i.get(u.h0i),this.console=i.get(u.c2e);const S=i.get(u.R0b);this.isNgZoneEnabled=S instanceof u.R0b&&u.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function VA(){return new oo(new gt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Pu(i,a,H=>this.triggerEvent(new r_(H)),H=>this.triggerEvent(new o_(H))),this.routerState=w_(this.currentUrlTree,this.rootComponentType),this.transitions=new ni({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,ke.h)(r=>0!==r.id),(0,lt.U)(r=>Object.assign(Object.assign({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),(0,Ri.w)(r=>{let s=!1,i=!1;return(0,Ie.of)(r).pipe((0,ui.b)(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ri.w)(a=>{const d=this.browserUrlTree.toString(),h=!this.navigated||a.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return If(a.source)&&(this.browserUrlTree=a.extractedUrl),(0,Ie.of)(a).pipe((0,Ri.w)(S=>{const H=this.transitions.getValue();return t.next(new Xh(S.id,this.serializeUrl(S.extractedUrl),S.source,S.restoredState)),H!==this.transitions.getValue()?Qr.E:Promise.resolve(S)}),function O_(o,n,e,t){return(0,Ri.w)(r=>function P_(o,n,e,t,r){return new Mu(o,n,e,t,r).apply()}(o,n,e,r.extractedUrl,t).pipe((0,lt.U)(s=>Object.assign(Object.assign({},r),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ui.b)(S=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:S.urlAfterRedirects})}),function JE(o,n,e,t,r){return(0,Bi.zg)(s=>function V_(o,n,e,t,r="emptyOnly",s="legacy"){try{const i=new K_(o,n,e,t,r,s).recognize();return null===i?xf(new lC):(0,Ie.of)(i)}catch(i){return xf(i)}}(o,n,s.urlAfterRedirects,e(s.urlAfterRedirects),t,r).pipe((0,lt.U)(i=>Object.assign(Object.assign({},s),{targetSnapshot:i}))))}(this.rootComponentType,this.config,S=>this.serializeUrl(S),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ui.b)(S=>{if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const te=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(te,S)}this.browserUrlTree=S.urlAfterRedirects}const H=new HA(S.id,this.serializeUrl(S.extractedUrl),this.serializeUrl(S.urlAfterRedirects),S.targetSnapshot);t.next(H)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:H,extractedUrl:te,source:he,restoredState:_e,extras:Te}=a,mt=new Xh(H,this.serializeUrl(te),he,_e);t.next(mt);const Rt=w_(te,this.rootComponentType).snapshot;return(0,Ie.of)(Object.assign(Object.assign({},a),{targetSnapshot:Rt,urlAfterRedirects:te,extras:Object.assign(Object.assign({},Te),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Qr.E}),Tc(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,ui.b)(a=>{const d=new FA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(d)}),(0,lt.U)(a=>Object.assign(Object.assign({},a),{guards:xu(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function z_(o,n){return(0,Bi.zg)(e=>{const{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:i}}=e;return 0===i.length&&0===s.length?(0,Ie.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function L_(o,n,e,t){return(0,vi.D)(o).pipe((0,Bi.zg)(r=>function j_(o,n,e,t,r){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,Ie.of)(!0);const i=s.map(a=>{const d=Ru(a,n,r);let h;if(function eC(o){return o&&Ko(o.canDeactivate)}(d))h=Ni(d.canDeactivate(o,n,e,t));else{if(!Ko(d))throw new Error("Invalid CanDeactivate guard");h=Ni(d(o,n,e,t))}return h.pipe((0,no.P)())});return(0,Ie.of)(i).pipe(wc())}(r.component,r.route,e,n,t)),(0,no.P)(r=>!0!==r,!0))}(i,t,r,o).pipe((0,Bi.zg)(a=>a&&function bf(o){return"boolean"==typeof o}(a)?function sC(o,n,e,t){return(0,vi.D)(n).pipe((0,bn.b)(r=>vs(function N_(o,n){return null!==o&&n&&n(new s_(o)),(0,Ie.of)(!0)}(r.route.parent,t),function B_(o,n){return null!==o&&n&&n(new BA(o)),(0,Ie.of)(!0)}(r.route,t),function cC(o,n,e){const t=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(i=>function F_(o){const n=o.routeConfig?o.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:o,guards:n}:null}(i)).filter(i=>null!==i).map(i=>Ya(()=>{const a=i.guards.map(d=>{const h=Ru(d,i.node,e);let g;if(function Af(o){return o&&Ko(o.canActivateChild)}(h))g=Ni(h.canActivateChild(t,o));else{if(!Ko(h))throw new Error("Invalid CanActivateChild guard");g=Ni(h(t,o))}return g.pipe((0,no.P)())});return(0,Ie.of)(a).pipe(wc())}));return(0,Ie.of)(s).pipe(wc())}(o,r.path,e),function aC(o,n,e){const t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ie.of)(!0);const r=t.map(s=>Ya(()=>{const i=Ru(s,n,e);let a;if(function vf(o){return o&&Ko(o.canActivate)}(i))a=Ni(i.canActivate(n,o));else{if(!Ko(i))throw new Error("Invalid CanActivate guard");a=Ni(i(n,o))}return a.pipe((0,no.P)())}));return(0,Ie.of)(r).pipe(wc())}(o,r.route,e))),(0,no.P)(r=>!0!==r,!0))}(t,s,o,n):(0,Ie.of)(a)),(0,lt.U)(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),(0,ui.b)(a=>{if(Er(a.guardsResult)){const h=Jh(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw h.url=a.guardsResult,h}const d=new zA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(d)}),(0,ke.h)(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Tc(a=>{if(a.guards.canActivateChecks.length)return(0,Ie.of)(a).pipe((0,ui.b)(d=>{const h=new i_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Ri.w)(d=>{let h=!1;return(0,Ie.of)(d).pipe(function eS(o,n){return(0,Bi.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:r}}=e;if(!r.length)return(0,Ie.of)(e);let s=0;return(0,vi.D)(r).pipe((0,bn.b)(i=>function tS(o,n,e,t){return function iS(o,n,e,t){const r=Cc(o);if(0===r.length)return(0,Ie.of)({});const s={};return(0,vi.D)(r).pipe((0,Bi.zg)(i=>function nS(o,n,e,t){const r=Ru(o,n,t);return Ni(r.resolve?r.resolve(n,e):r(n,e))}(o[i],n,e,t).pipe((0,ui.b)(a=>{s[i]=a}))),fc(1),(0,Bi.zg)(()=>Cc(s).length===r.length?(0,Ie.of)(s):Qr.E))}(o._resolve,o,n,t).pipe((0,lt.U)(s=>(o._resolvedData=s,o.data=Object.assign(Object.assign({},o.data),b_(o,e).resolve),null)))}(i.route,t,o,n)),(0,ui.b)(()=>s++),fc(1),(0,Bi.zg)(i=>s===r.length?(0,Ie.of)(e):Qr.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ui.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,ui.b)(d=>{const h=new n_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Tc(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,lt.U)(a=>{const d=function $A(o,n,e){const t=qs(o,n._root,e?e._root:void 0);return new y_(t,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:d})}),(0,ui.b)(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((o,n,e)=>(0,lt.U)(t=>(new T_(n,t.targetRouterState,t.currentRouterState,e).activate(o),t)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),(0,ui.b)({next(){s=!0},complete(){s=!0}}),qh(()=>{var a;s||i||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===r.id&&(this.currentNavigation=null)}),(0,Li.K)(a=>{if(i=!0,function ef(o){return o&&o[c_]}(a)){const d=Er(a.url);d||(this.navigated=!0,this.restoreHistory(r,!0));const h=new t_(r.id,this.serializeUrl(r.extractedUrl),a.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),S={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||If(r.source)};this.scheduleNavigation(g,"imperative",null,S,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const d=new OA(r.id,this.serializeUrl(r.extractedUrl),a);t.next(d);try{r.resolve(this.errorHandler(a))}catch(h){r.reject(h)}}return Qr.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var r;const s={replaceUrl:!0},i=(null===(r=e.state)||void 0===r?void 0:r.navigationId)?e.state:null;if(i){const d=Object.assign({},i);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(s.state=d)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,t,i,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Tf(e),this.config=e.map(Eu),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:r,queryParams:s,fragment:i,queryParamsHandling:a,preserveFragment:d}=t,h=r||this.routerState.root,g=d?this.currentUrlTree.fragment:i;let S=null;switch(a){case"merge":S=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":S=this.currentUrlTree.queryParams;break;default:S=s||null}return null!==S&&(S=this.removeEmptyProps(S)),function WA(o,n,e,t,r){if(0===e.length)return pf(n.root,n.root,n,t,r);const s=function YA(o){if("string"==typeof o[0]&&1===o.length&&"/"===o[0])return new Ln(!0,0,o);let n=0,e=!1;const t=o.reduce((r,s,i)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return gi(s.outlets,(d,h)=>{a[h]="string"==typeof d?d.split("/"):d}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return"string"!=typeof s?[...r,s]:0===i?(s.split("/").forEach((a,d)=>{0==d&&"."===a||(0==d&&""===a?e=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,s]},[]);return new Ln(e,n,t)}(e);if(s.toRoot())return pf(n.root,new gt([],{}),n,t,r);const i=function _c(o,n,e){if(o.isAbsolute)return new $s(n.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new $s(s,s===n.root,0)}const t=vu(o.commands[0])?0:1;return function ZA(o,n,e){let t=o,r=n,s=e;for(;s>r;){if(s-=r,t=t.parent,!t)throw new Error("Invalid number of '../'");r=t.segments.length}return new $s(t,!1,r-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,o.numberOfDoubleDots)}(s,n,o),a=i.processChildren?Vo(i.segmentGroup,i.index,s.commands):C_(i.segmentGroup,i.index,s.commands);return pf(i.segmentGroup,a,n,t,r)}(h,this.currentUrlTree,e,S,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const r=Er(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function oS(o){for(let n=0;n{const s=e[r];return null!=s&&(t[r]=s),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new js(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,r,s,i){var a,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,S=If(t)&&g&&!If(g.source),H=g.rawUrl.toString()===e.toString(),te=g.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(S&&H&&te)return Promise.resolve(!0);let _e,Te,mt;i?(_e=i.resolve,Te=i.reject,mt=i.promise):mt=new Promise((It,ra)=>{_e=It,Te=ra});const Rt=++this.navigationId;let bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),bt=r&&r.\u0275routerPageId?r.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):bt=0,this.setTransition({id:Rt,targetPageId:bt,source:t,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:_e,reject:Te,promise:mt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),mt.catch(It=>Promise.reject(It))}setBrowserUrl(e,t){const r=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(r)||t.extras.replaceUrl?this.location.replaceState(r,"",s):this.location.go(r,"",s)}restoreHistory(e,t=!1){var r,s;if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===i?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===i&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const r=new t_(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(r),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return o.\u0275fac=function(e){u.$Z()},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();function If(o){return"imperative"!==o}class Ou{}class Vi{preload(n,e){return(0,Ie.of)(null)}}let Z_=(()=>{class o{constructor(e,t,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new Pu(r,t,d=>e.triggerEvent(new r_(d)),d=>e.triggerEvent(new o_(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ke.h)(e=>e instanceof js),(0,bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(u.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const r=[];for(const s of t)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const i=s._loadedConfig;r.push(this.processRoutes(i.module,i.routes))}else s.loadChildren&&!s.canLoad?r.push(this.preloadConfig(e,s)):s.children&&r.push(this.processRoutes(e,s.children));return(0,vi.D)(r).pipe((0,yl.J)(),(0,lt.U)(s=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ie.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Bi.zg)(s=>(t._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(ji),u.LFG(u.Sil),u.LFG(u.zs3),u.LFG(Ou))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),Sc=(()=>{class o{constructor(e,t,r={}){this.router=e,this.viewportScroller=t,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Xh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof js&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof lu&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new lu(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return o.\u0275fac=function(e){u.$Z()},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const Uo=new u.OlP("ROUTER_CONFIGURATION"),Hu=new u.OlP("ROUTER_FORROOT_GUARD"),Q_=[b.Ye,{provide:sf,useClass:af},{provide:ji,useFactory:function Ff(o,n,e,t,r,s,i={},a,d){const h=new ji(null,o,n,e,t,r,u_(s));return a&&(h.urlHandlingStrategy=a),d&&(h.routeReuseStrategy=d),function Bn(o,n){o.errorHandler&&(n.errorHandler=o.errorHandler),o.malformedUriErrorHandler&&(n.malformedUriErrorHandler=o.malformedUriErrorHandler),o.onSameUrlNavigation&&(n.onSameUrlNavigation=o.onSameUrlNavigation),o.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=o.paramsInheritanceStrategy),o.relativeLinkResolution&&(n.relativeLinkResolution=o.relativeLinkResolution),o.urlUpdateStrategy&&(n.urlUpdateStrategy=o.urlUpdateStrategy),o.canceledNavigationResolution&&(n.canceledNavigationResolution=o.canceledNavigationResolution)}(i,h),i.enableTracing&&h.events.subscribe(g=>{var S,H;null===(S=console.group)||void 0===S||S.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(H=console.groupEnd)||void 0===H||H.call(console)}),h},deps:[sf,Ws,b.Ye,u.zs3,u.Sil,Rf,Uo,[class q_{},new u.FiY],[class Zs{},new u.FiY]]},Ws,{provide:so,useFactory:function AC(o){return o.routerState.root},deps:[ji]},Z_,Vi,class bC{preload(n,e){return e().pipe((0,Li.K)(()=>(0,Ie.of)(null)))}},{provide:Uo,useValue:{enableTracing:!1}}];function X_(){return new u.PXZ("Router",ji)}let Hf=(()=>{class o{constructor(e,t){}static forRoot(e,t){return{ngModule:o,providers:[Q_,ty(e),{provide:Hu,useFactory:vC,deps:[[ji,new u.FiY,new u.tp0]]},{provide:Uo,useValue:t||{}},{provide:b.S$,useFactory:ey,deps:[b.lw,[new u.tBr(b.mr),new u.FiY],Uo]},{provide:Sc,useFactory:J_,deps:[ji,b.EM,Uo]},{provide:Ou,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Vi},{provide:u.PXZ,multi:!0,useFactory:X_},[iy,{provide:u.ip1,multi:!0,useFactory:CC,deps:[iy]},{provide:ry,useFactory:ny,deps:[iy]},{provide:u.tb,multi:!0,useExisting:ry}]]}}static forChild(e){return{ngModule:o,providers:[ty(e)]}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Hu,8),u.LFG(ji,8))},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})();function J_(o,n,e){return e.scrollOffset&&n.setOffset(e.scrollOffset),new Sc(o,n,e)}function ey(o,n,e={}){return e.useHash?new b.Do(o,n):new b.b0(o,n)}function vC(o){return"guarded"}function ty(o){return[{provide:u.deG,multi:!0,useValue:o},{provide:Rf,multi:!0,useValue:o}]}let iy=(()=>{class o{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new xe.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const r=new Promise(a=>t=a),s=this.injector.get(ji),i=this.injector.get(Uo);return"disabled"===i.initialNavigation?(s.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?(0,Ie.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),s.initialNavigation()):t(!0),r})}bootstrapListener(e){const t=this.injector.get(Uo),r=this.injector.get(Z_),s=this.injector.get(Sc),i=this.injector.get(ji),a=this.injector.get(u.z2F);e===a.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&i.initialNavigation(),r.setUpPreloading(),s.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.zs3))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();function CC(o){return o.appInitializer.bind(o)}function ny(o){return o.bootstrapListener.bind(o)}const ry=new u.OlP("Router Initializer");var oy=v(6114);let sy=(()=>{class o{constructor(e,t,r,s,i){this.injector=e,this.store=t,this.dialog=r,this.route=s,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(ji),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(a=>{a.idpFilter&&(this.filterShortname=a.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let r=null;return e.forEach(s=>{const i=s.split("=");"idpFilter"===i[0]&&t[i[1]]&&(this.filterShortname=i[1],r=t[i[1]])}),t.default&&!r?(this.filterShortname="default",t.default):r}startIdpFilterKeeper(){this.router.events.pipe((0,ke.h)(e=>e instanceof js)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,ke.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const r of t)if(e.startsWith(r))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(r=>r?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((s,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const r=sessionStorage.getItem("auth:queryParams");let s=[];r&&(s=r.split("&"));const i={};return s.forEach(a=>{const d=a.split("=");i[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([t],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.zs3),u.LFG(ki),u.LFG(Os),u.LFG(so),u.LFG(oy.Ct))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),zf=(()=>{class o{constructor(e,t,r,s,i,a){this.authService=e,this.storeService=t,this.authResolver=r,this.authzService=s,this.dialog=i,this.router=a,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Wh();this.dialog.open(sm,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const r of e){const s=r.split("=");t[s[0]]=s[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(sy),u.LFG(ki),u.LFG(gp),u.LFG(Hi),u.LFG(Os),u.LFG(ji))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),ay=(()=>{class o{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Bo),u.LFG(Sn))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),kC=(()=>{class o{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ql))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"div",2),u.TgZ(7,"div",3),u.TgZ(8,"button",4),u.NdJ("click",function(){return t.close()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),u.xp6(3),u.hij(" ",u.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),u.xp6(5),u.hij(" ",u.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[rm,om,Ch,eu],pipes:[to],styles:[""]}),o})(),Lf=(()=>{class o{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),qo=(()=>{class o{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new u.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,r,s,i){this.addNotification.emit({type:"error",error:t,description:r,title:e,actionText:void 0===s&&void 0!==r?this.getDefaultActionMessage():s,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,r,s){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===r&&void 0!==t?this.getDefaultActionMessage():r,delay:this.defaultSuccessDelayMs,icon:"done",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(nn))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Fu=(()=>{class o{constructor(e,t,r,s,i,a){this.authService=e,this.apiRequestConfiguration=t,this.notificator=r,this.store=s,this.dialog=i,this.initAuthService=a}intercept(e,t){const r=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==r&&-1!==e.url.toString().indexOf(r)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const a=Wh();a.width="450px",this.dialog.open(kC,a).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const s=this.apiRequestConfiguration.shouldHandleError(),i="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,ui.b)(a=>{a instanceof C.Zn&&i&&this.initAuthService.loadPrincipal()},a=>{const d=this.formatErrors(a,e);return void 0===d?(0,ac._)(a):s?void this.notificator.showRPCError(d):(0,ac._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let r;if(console.error(e),e.error.errorId?r=e.error:e.errorId&&(r=JSON.parse(e.error)),void 0!==r)return r.urlWithParams=t.urlWithParams,r.call=t.url,r.payload=t.body,r}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(sy),u.LFG(Lf),u.LFG(qo),u.LFG(ki),u.LFG(Os),u.LFG(zf))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})(),cy=(()=>{class o{constructor(e,t,r,s){this.http=e,this.notificator=t,this.authService=r,this.storeService=s}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,r,s){const i=e.error;return i.call=t,i.payload=r,s&&this.notificator.showRPCError(e.error),(0,ac._)(i)}getHeaders(){let e=new C.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const r=`${this.getApiUrl()}${e}`;return this.http.get(r,{headers:this.getHeaders()}).pipe((0,Li.K)(s=>this.formatErrors(s,r,null,t)))}put(e,t={},r=!0){const s=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);return this.http.put(s,i,{headers:this.getHeaders()}).pipe((0,Li.K)(a=>this.formatErrors(a,s,i,r)))}post(e,t={},r=!0){const s=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);let a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(s,i,{headers:a}).pipe((0,Li.K)(d=>this.formatErrors(d,s,i,r)))}delete(e,t=!0){const r=`${this.getApiUrl()}${e}`;return this.http.delete(r,{headers:this.getHeaders()}).pipe((0,Li.K)(s=>this.formatErrors(s,r,null,t)))}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(qo),u.LFG(sy),u.LFG(ki))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Bf=(()=>{class o{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),r=navigator.languages.map(a=>a.split("-")[0]),s=location.search.substr(1).split("&");let i=null;for(const a of s){const d=a.split("=");"lang"===d[0]&&(i=d[1])}return i&&t.includes(i)?i:e&&t.includes(e)?e:r&&t.includes(r[0])?r[0]:"en"}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(so),u.LFG(ki))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const lS=["*",[["mat-toolbar-row"]]],MC=["*","mat-toolbar-row"],uS=mr(class{constructor(o){this._elementRef=o}});let dS=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),o})(),ly=(()=>{class o extends uS{constructor(e,t,r){super(e),this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0))},o.\u0275cmp=u.Xpm({type:o,selectors:[["mat-toolbar"]],contentQueries:function(e,t,r){if(1&e&&u.Suo(r,dS,5),2&e){let s;u.iGM(s=u.CRH())&&(t._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&u.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[u.qOj],ngContentSelectors:MC,decls:2,vars:0,template:function(e,t){1&e&&(u.F$t(lS),u.Hsn(0),u.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),o})(),uy=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe],qe]}),o})();function xC(o,n){1&o&&(u.TgZ(0,"div",10),u.TgZ(1,"span",11),u._uU(2," ~ \u{1f5f2}\xa0 "),u.qZA(),u.TgZ(3,"span",12),u._uU(4," DEVEL "),u.qZA(),u.TgZ(5,"span",11),u._uU(6," \xa0\u{1f5f2} ~ "),u.qZA(),u.qZA())}const fS=function(o){return{background:o}},dy=function(o){return{color:o}};let pS=(()=>{class o{constructor(e,t,r,s){this.storeService=e,this.sanitizer=t,this.preferredLangService=r,this.translateService=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.label=this.storeService.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`),this.isDevel=this.storeService.get("is_devel")}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}changeLanguage(){this.translateService.use("en"===this.translateService.currentLang?"cs":"en")}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ki),u.Y36(Sn),u.Y36(Bf),u.Y36(nn))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-header"]],decls:15,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-language",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(u.TgZ(0,"mat-toolbar",0),u.TgZ(1,"div",1),u._UZ(2,"a",2),u.TgZ(3,"p",3),u._uU(4),u.qZA(),u.qZA(),u.YNc(5,xC,7,0,"div",4),u.TgZ(6,"div",5),u.TgZ(7,"button",6),u.TgZ(8,"mat-icon",7),u._uU(9," language "),u.qZA(),u.qZA(),u.TgZ(10,"mat-menu",null,8),u.TgZ(12,"button",9),u.NdJ("click",function(){return t.changeLanguage()}),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e){const r=u.MAs(11);u.Q6J("ngStyle",u.VKq(11,fS,t.bgColor)),u.xp6(2),u.Q6J("innerHTML",t.logo,u.oJD),u.xp6(1),u.Q6J("ngStyle",u.VKq(13,dy,t.textColor)),u.xp6(1),u.Oqu(t.label),u.xp6(1),u.Q6J("ngIf",t.isDevel),u.xp6(1),u.Q6J("ngStyle",u.VKq(15,dy,t.textColor)),u.xp6(1),u.Q6J("matMenuTriggerFor",r),u.xp6(1),u.Q6J("ngStyle",u.VKq(17,dy,t.iconColor)),u.xp6(5),u.hij(" ",u.lcZ(14,9,"HEADER.LANGUAGE")," ")}},directives:[ly,b.PC,b.O5,eu,tA,Ns,Qv,nu],pipes:[to],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-language[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}"]}),o})(),RC=(()=>{class o{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.Qsj),u.Y36(u.SBq))},o.\u0275dir=u.lG2({type:o}),o})(),Xs=(()=>{class o extends RC{}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275dir=u.lG2({type:o,features:[u.qOj]}),o})();const Ki=new u.OlP("NgValueAccessor"),PC={provide:Ki,useExisting:(0,u.Gpc)(()=>Js),multi:!0},$o=new u.OlP("CompositionEventMode");let Js=(()=>{class o extends RC{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fy(){const o=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(o.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36($o,8))},o.\u0275dir=u.lG2({type:o,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(e,t){1&e&&u.NdJ("input",function(s){return t._handleInput(s.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(s){return t._compositionEnd(s.target.value)})},features:[u._Bn([PC]),u.qOj]}),o})();function Jn(o){return null==o||0===o.length}function Lu(o){return null!=o&&"number"==typeof o.length}const hi=new u.OlP("NgValidators"),er=new u.OlP("NgAsyncValidators"),Nf=/^(?=.{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 co{static min(n){return function IC(o){return n=>{if(Jn(n.value)||Jn(o))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(Jn(n.value)||Jn(o))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>o?{max:{max:o,actual:n.value}}:null}}(n)}static required(n){return HC(n)}static requiredTrue(n){return function FC(o){return!0===o.value?null:{required:!0}}(n)}static email(n){return function jf(o){return Jn(o.value)||Nf.test(o.value)?null:{email:!0}}(n)}static minLength(n){return function py(o){return n=>Jn(n.value)||!Lu(n.value)?null:n.value.lengthLu(n.value)&&n.value.length>o?{maxlength:{requiredLength:o,actualLength:n.value.length}}:null}(n)}static pattern(n){return function my(o){if(!o)return Bu;let n,e;return"string"==typeof o?(e="","^"!==o.charAt(0)&&(e+="^"),e+=o,"$"!==o.charAt(o.length-1)&&(e+="$"),n=new RegExp(e)):(e=o.toString(),n=o),t=>{if(Jn(t.value))return null;const r=t.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return kc(n)}static composeAsync(n){return qf(n)}}function HC(o){return Jn(o.value)?{required:!0}:null}function Bu(o){return null}function Vf(o){return null!=o}function Kf(o){const n=(0,u.QGY)(o)?(0,vi.D)(o):o;return(0,u.CqO)(n),n}function Gf(o){let n={};return o.forEach(e=>{n=null!=e?Object.assign(Object.assign({},n),e):n}),0===Object.keys(n).length?null:n}function _y(o,n){return n.map(e=>e(o))}function Uf(o){return o.map(n=>function zC(o){return!o.validate}(n)?n:e=>n.validate(e))}function kc(o){if(!o)return null;const n=o.filter(Vf);return 0==n.length?null:function(e){return Gf(_y(e,n))}}function yy(o){return null!=o?kc(Uf(o)):null}function qf(o){if(!o)return null;const n=o.filter(Vf);return 0==n.length?null:function(e){return Eh(_y(e,n).map(Kf)).pipe((0,lt.U)(Gf))}}function ea(o){return null!=o?qf(Uf(o)):null}function wy(o,n){return null===o?[n]:Array.isArray(o)?[...o,n]:[o,n]}function by(o){return o._rawValidators}function vy(o){return o._rawAsyncValidators}function $f(o){return o?Array.isArray(o)?o:[o]:[]}function Wf(o,n){return Array.isArray(o)?o.includes(n):o===n}function Ay(o,n){const e=$f(n);return $f(o).forEach(r=>{Wf(e,r)||e.push(r)}),e}function Cy(o,n){return $f(n).filter(e=>!Wf(o,e))}class Ty{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(n){this._rawValidators=n||[],this._composedValidatorFn=yy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ea(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class tr extends Ty{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pi extends Ty{get formDirective(){return null}get path(){return null}}class Ey{constructor(n){this._cd=n}is(n){var e,t,r;return"submitted"===n?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(r=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===r?void 0:r[n])}}let Sy=(()=>{class o extends Ey{constructor(e){super(e)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(tr,2))},o.\u0275dir=u.lG2({type:o,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[u.qOj]}),o})(),ky=(()=>{class o extends Ey{constructor(e){super(e)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(Pi,10))},o.\u0275dir=u.lG2({type:o,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[u.qOj]}),o})();function T(o,n){return[...n.path,o]}function D(o,n){ne(o,n),n.valueAccessor.writeValue(o.value),function ve(o,n){n.valueAccessor.registerOnChange(e=>{o._pendingValue=e,o._pendingChange=!0,o._pendingDirty=!0,"change"===o.updateOn&&Pe(o,n)})}(o,n),function pe(o,n){const e=(t,r)=>{n.valueAccessor.writeValue(t),r&&n.viewToModelUpdate(t)};o.registerOnChange(e),n._registerOnDestroy(()=>{o._unregisterOnChange(e)})}(o,n),function Ee(o,n){n.valueAccessor.registerOnTouched(()=>{o._pendingTouched=!0,"blur"===o.updateOn&&o._pendingChange&&Pe(o,n),"submit"!==o.updateOn&&o.markAsTouched()})}(o,n),function W(o,n){if(n.valueAccessor.setDisabledState){const e=t=>{n.valueAccessor.setDisabledState(t)};o.registerOnDisabledChange(e),n._registerOnDestroy(()=>{o._unregisterOnDisabledChange(e)})}}(o,n)}function M(o,n,e=!0){const t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ce(o,n),o&&(n._invokeOnDestroyCallbacks(),o._registerOnCollectionChange(()=>{}))}function B(o,n){o.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function ne(o,n){const e=by(o);null!==n.validator?o.setValidators(wy(e,n.validator)):"function"==typeof e&&o.setValidators([e]);const t=vy(o);null!==n.asyncValidator?o.setAsyncValidators(wy(t,n.asyncValidator)):"function"==typeof t&&o.setAsyncValidators([t]);const r=()=>o.updateValueAndValidity();B(n._rawValidators,r),B(n._rawAsyncValidators,r)}function ce(o,n){let e=!1;if(null!==o){if(null!==n.validator){const r=by(o);if(Array.isArray(r)&&r.length>0){const s=r.filter(i=>i!==n.validator);s.length!==r.length&&(e=!0,o.setValidators(s))}}if(null!==n.asyncValidator){const r=vy(o);if(Array.isArray(r)&&r.length>0){const s=r.filter(i=>i!==n.asyncValidator);s.length!==r.length&&(e=!0,o.setAsyncValidators(s))}}}const t=()=>{};return B(n._rawValidators,t),B(n._rawAsyncValidators,t),e}function Pe(o,n){o._pendingDirty&&o.markAsDirty(),o.setValue(o._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(o._pendingValue),o._pendingChange=!1}function Le(o,n){ne(o,n)}function Sr(o,n){if(!o.hasOwnProperty("model"))return!1;const e=o.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function Nu(o,n){o._syncPendingControls(),n.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Dc(o,n){if(!n)return null;let e,t,r;return Array.isArray(n),n.forEach(s=>{s.constructor===Js?e=s:function Qf(o){return Object.getPrototypeOf(o.constructor)===Xs}(s)?t=s:r=s}),r||t||e||null}function Mc(o,n){const e=o.indexOf(n);e>-1&&o.splice(e,1)}const Wo="VALID",ta="INVALID",lo="PENDING",Xf="DISABLED";function LC(o){return(xy(o)?o.validators:o)||null}function wS(o){return Array.isArray(o)?yy(o):o||null}function BC(o,n){return(xy(n)?n.asyncValidators:o)||null}function bS(o){return Array.isArray(o)?ea(o):o||null}function xy(o){return null!=o&&!Array.isArray(o)&&"object"==typeof o}const NC=o=>o instanceof Jf,Ry=o=>o instanceof Py,vS=o=>o instanceof ES;function AS(o){return NC(o)?o.value:o.getRawValue()}function CS(o,n){const e=Ry(o),t=o.controls;if(!(e?Object.keys(t):t).length)throw new u.vHH(1e3,"");if(!t[n])throw new u.vHH(1001,"")}function TS(o,n){Ry(o),o._forEachChild((t,r)=>{if(void 0===n[r])throw new u.vHH(1002,"")})}class jC{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=wS(this._rawValidators),this._composedAsyncValidatorFn=bS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Wo}get invalid(){return this.status===ta}get pending(){return this.status==lo}get disabled(){return this.status===Xf}get enabled(){return this.status!==Xf}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=wS(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=bS(n)}addValidators(n){this.setValidators(Ay(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ay(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Cy(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Cy(n,this._rawAsyncValidators))}hasValidator(n){return Wf(this._rawValidators,n)}hasAsyncValidator(n){return Wf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=lo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Xf,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Wo,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wo||this.status===lo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xf:Wo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=lo,this._hasOwnPendingAsyncValidator=!0;const e=Kf(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){return function DD(o,n,e){if(null==n||(Array.isArray(n)||(n=n.split(e)),Array.isArray(n)&&0===n.length))return null;let t=o;return n.forEach(r=>{t=Ry(t)?t.controls.hasOwnProperty(r)?t.controls[r]:null:vS(t)&&t.at(r)||null}),t}(this,n,".")}getError(n,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?Xf:this.errors?ta:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lo)?lo:this._anyControlsHaveStatus(ta)?ta:Wo}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_isBoxedValue(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){xy(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jf extends jC{constructor(n=null,e,t){super(LC(e),BC(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xy(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Mc(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Mc(this._onDisabledChange,n)}_forEachChild(n){}_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(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}}class Py extends jC{constructor(n,e,t){super(LC(e),BC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){TS(this,n),Object.keys(n).forEach(t=>{CS(this,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,r)=>{t.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=AS(e),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&n(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(n,e,t)=>((e.enabled||this.disabled)&&(n[t]=e.value),n))}_reduceChildren(n,e){let t=n;return this._forEachChild((r,s)=>{t=e(t,r,s)}),t}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ES extends jC{constructor(n,e,t){super(LC(e),BC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[n]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,t={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){TS(this,n),n.forEach((t,r)=>{CS(this,r),this.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((t,r)=>{this.at(r)&&this.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((t,r)=>{t.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>AS(n))}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_syncPendingControls(){let n=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,t)=>{n(e,t)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}const MD={provide:Pi,useExisting:(0,u.Gpc)(()=>tp)},ep=(()=>Promise.resolve(null))();let tp=(()=>{class o extends Pi{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new Py({},yy(e),ea(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ep.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),D(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ep.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ep.then(()=>{const t=this._findContainer(e.path),r=new Py({});Le(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ep.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ep.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Nu(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(hi,10),u.Y36(er,10))},o.\u0275dir=u.lG2({type:o,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(s){return t.onSubmit(s)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([MD]),u.qOj]}),o})();const RD={provide:tr,useExisting:(0,u.Gpc)(()=>VC)},DS=(()=>Promise.resolve(null))();let VC=(()=>{class o extends tr{constructor(e,t,r,s,i){super(),this._changeDetectorRef=i,this.control=new Jf,this._registered=!1,this.update=new u.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=Dc(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Sr(e,this.viewModel)&&(this._updateValue(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(e){this.viewModel=e,this.update.emit(e)}_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(){D(this.control,this),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(e){DS.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,r=""===t||t&&"false"!==t;DS.then(()=>{var s;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?T(e,this._parent):[e]}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(Pi,9),u.Y36(hi,10),u.Y36(er,10),u.Y36(Ki,10),u.Y36(u.sBO,8))},o.\u0275dir=u.lG2({type:o,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([RD]),u.qOj,u.TTD]}),o})(),xS=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})();const KC=new u.OlP("NgModelWithFormControlWarning"),LD={provide:Pi,useExisting:(0,u.Gpc)(()=>Rc)};let Rc=(()=>{class o extends Pi{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ce(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return D(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){M(e.control||null,e,!1),Mc(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Nu(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,r=this.form.get(e.path);t!==r&&(M(t||null,e),NC(r)&&(D(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Le(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function ht(o,n){return ce(o,n)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ne(this.form,this),this._oldForm&&ce(this._oldForm,this)}_checkFormPresent(){}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(hi,10),u.Y36(er,10))},o.\u0275dir=u.lG2({type:o,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(s){return t.onSubmit(s)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([LD]),u.qOj,u.TTD]}),o})();const jD={provide:tr,useExisting:(0,u.Gpc)(()=>qC)};let qC=(()=>{class o extends tr{constructor(e,t,r,s,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new u.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=Dc(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Sr(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return T(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return o._ngModelWarningSentOnce=!1,o.\u0275fac=function(e){return new(e||o)(u.Y36(Pi,13),u.Y36(hi,10),u.Y36(er,10),u.Y36(Ki,10),u.Y36(KC,8))},o.\u0275dir=u.lG2({type:o,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[u._Bn([jD]),u.qOj,u.TTD]}),o})(),Pc=(()=>{class o{constructor(){this._validator=Bu}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Bu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275dir=u.lG2({type:o,features:[u.TTD]}),o})();const QD={provide:hi,useExisting:(0,u.Gpc)(()=>ip),multi:!0};let ip=(()=>{class o extends Pc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function WD(o){return null!=o&&!1!==o&&"false"!=`${o}`}(e),this.createValidator=e=>HC}enabled(e){return e}}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275dir=u.lG2({type:o,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([QD]),u.qOj]}),o})(),US=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[xS]]}),o})(),ZC=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[US]}),o})(),ju=(()=>{class o{static withConfig(e){return{ngModule:o,providers:[{provide:KC,useValue:e.warnOnNgModelWithFormControl}]}}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[US]}),o})(),rM=(()=>{class o{group(e,t=null){const r=this._reduceControls(e);let a,s=null,i=null;return null!=t&&(function nM(o){return void 0!==o.asyncValidators||void 0!==o.validators||void 0!==o.updateOn}(t)?(s=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(s=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Py(r,{asyncValidators:i,updateOn:a,validators:s})}control(e,t,r){return new Jf(e,t,r)}array(e,t,r){const s=e.map(i=>this._createControl(i));return new ES(s,t,r)}_reduceControls(e){const t={};return Object.keys(e).forEach(r=>{t[r]=this._createControl(e[r])}),t}_createControl(e){return NC(e)||Ry(e)||vS(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:ju}),o})();const qS=ti({passive:!0});let oM=(()=>{class o{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Qr.E;const t=jt(e),r=this._monitoredElements.get(t);if(r)return r.subject;const s=new xe.xQ,i="cdk-text-field-autofilled",a=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(i)&&(t.classList.remove(i),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!1}))):(t.classList.add(i),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",a,qS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:s,unlisten:()=>{t.removeEventListener("animationstart",a,qS)}}),s}stopMonitoring(e){const t=jt(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(Ve),u.LFG(u.R0b))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),$S=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Xe]]}),o})();const WS=new u.OlP("MAT_INPUT_VALUE_ACCESSOR"),sM=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let aM=0;const cM=Ll(class{constructor(o,n,e,t){this._defaultErrorStateMatcher=o,this._parentForm=n,this._parentFormGroup=e,this.ngControl=t}});let YS=(()=>{class o extends cM{constructor(e,t,r,s,i,a,d,h,g,S){super(a,s,i,r),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=S,this._uid="mat-input-"+aM++,this.focused=!1,this.stateChanges=new xe.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>Ht().has(he));const H=this._elementRef.nativeElement,te=H.nodeName.toLowerCase();this._inputValueAccessor=d||H,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",he=>{const _e=he.target;!_e.value&&0===_e.selectionStart&&0===_e.selectionEnd&&(_e.setSelectionRange(1,1),_e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===te,this._isTextarea="textarea"===te,this._isInFormField=!!S,this._isNativeSelect&&(this.controlType=H.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Qe(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,r,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===r?void 0:r.hasValidator(co.required))&&void 0!==s&&s}set required(e){this._required=Qe(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ht().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Qe(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const r=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(r!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=r,r?s.setAttribute("placeholder",r):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){sM.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(tr,10),u.Y36(tp,8),u.Y36(Rc,8),u.Y36(Yr),u.Y36(WS,10),u.Y36(oM),u.Y36(u.R0b),u.Y36(ec,8))},o.\u0275dir=u.lG2({type:o,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&u.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(u.Ikx("disabled",t.disabled)("required",t.required),u.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),u.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u._Bn([{provide:Ja,useExisting:o}]),u.qOj,u.TTD]}),o})(),Iy=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Yr],imports:[[$S,vr,qe],$S,vr]}),o})();function lM(o,n){if(1&o&&(u.O4$(),u._UZ(0,"circle",4)),2&o){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function uM(o,n){if(1&o&&(u.O4$(),u._UZ(0,"circle",4)),2&o){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function dM(o,n){if(1&o&&(u.O4$(),u._UZ(0,"circle",4)),2&o){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function hM(o,n){if(1&o&&(u.O4$(),u._UZ(0,"circle",4)),2&o){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}const gM=mr(class{constructor(o){this._elementRef=o}},"primary"),ZS=new u.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function mM(){return{diameter:100}}});class Yo extends gM{constructor(n,e,t,r,s,i,a,d){super(n),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Nt.w.EMPTY,this.mode="determinate";const h=Yo._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&i&&d&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>i.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=pn(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=pn(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,pn(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=$c(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){var e;const t=50*(null!==(e=n.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,t=Yo._diameters;let r=t.get(n);if(!r||!r.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),n.appendChild(s),r||(r=new Set,t.set(n,r)),r.add(e)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Yo._diameters=new WeakMap,Yo.\u0275fac=function(n){return new(n||Yo)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0,8),u.Y36(Ji,8),u.Y36(ZS),u.Y36(u.sBO),u.Y36(Ao),u.Y36(u.R0b))},Yo.\u0275cmp=u.Xpm({type:Yo,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(u.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,lM,1,11,"circle",2),u.YNc(3,uM,1,9,"circle",3),u.qZA()),2&n&&(u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===e.mode),u.uIk("viewBox",e._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let QS=(()=>{class o extends Yo{constructor(e,t,r,s,i,a,d,h){super(e,t,r,s,i,a,d,h),this.mode="indeterminate"}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0,8),u.Y36(Ji,8),u.Y36(ZS),u.Y36(u.sBO),u.Y36(Ao),u.Y36(u.R0b))},o.\u0275cmp=u.Xpm({type:o,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,dM,1,11,"circle",2),u.YNc(3,hM,1,9,"circle",3),u.qZA()),2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===t.mode),u.uIk("viewBox",t._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),o})(),np=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe,b.ez],qe]}),o})(),XC=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Dt,b.ez]]}),o})(),yM=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[],imports:[[b.ez,vr,Ti,ju,Iy,Qa,np,Dt,XC]]}),o})();class wM{isErrorState(n){return!!(n&&n.invalid&&n.dirty)}}const bM=(o,n,e,t=500)=>r=>Y(t).pipe((0,Ri.w)(()=>(e.dontHandleErrorForNext(),o&&"No namespace"!==o?n.checkPasswordStrength(r.value,o):(0,Ie.of)(null))),(0,lt.U)(()=>null),(0,Li.K)(s=>(0,Ie.of)({backendError:s.error.message.substr(s.error.message.indexOf(":")+1)})));function vM(o,n){1&o&&(u.TgZ(0,"mat-icon",2),u._uU(1," info "),u.qZA())}function AM(o,n){1&o&&(u.TgZ(0,"mat-icon",2),u._uU(1," warning "),u.qZA())}function CM(o,n){1&o&&(u.TgZ(0,"mat-icon",2),u._uU(1," dangerous "),u.qZA())}function TM(o,n){1&o&&(u.TgZ(0,"mat-icon",2),u._uU(1," check_circle "),u.qZA())}const EM=["*"];let JC=(()=>{class o{constructor(){}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=u.Xpm({type:o,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:EM,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"div",0),u.YNc(1,vM,2,0,"mat-icon",1),u.YNc(2,AM,2,0,"mat-icon",1),u.YNc(3,CM,2,0,"mat-icon",1),u.YNc(4,TM,2,0,"mat-icon",1),u.Hsn(5),u.qZA()),2&e&&(u.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","warn"===t.alert_type),u.xp6(1),u.Q6J("ngIf","error"===t.alert_type),u.xp6(1),u.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,Ns],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),o})();function SM(o,n){1&o&&u._UZ(0,"mat-spinner",12),2&o&&u.Q6J("diameter",18)}function kM(o,n){if(1&o&&(u.TgZ(0,"mat-icon",13),u._uU(1," error "),u.qZA()),2&o){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function DM(o,n){1&o&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&o&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function MM(o,n){if(1&o&&(u.TgZ(0,"mat-error",14),u._uU(1),u.qZA()),2&o){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip()),u.xp6(1),u.Oqu(e.getErrorTooltip())}}function xM(o,n){1&o&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&o&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function RM(o,n){1&o&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&o&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let PM=(()=>{class o{constructor(e,t,r){this.translator=e,this.usersManagerService=t,this.store=r,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new wM}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(r=>"preferredLanguage"===r.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(nn),u.Y36(St),u.Y36(ki))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[u.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(u.TgZ(0,"div",0),u.TgZ(1,"mat-form-field",1),u._UZ(2,"input",2),u.ALo(3,"translate"),u.YNc(4,SM,1,1,"mat-spinner",3),u.TgZ(5,"mat-icon",4),u.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),u._uU(6),u.qZA(),u.YNc(7,kM,2,2,"mat-icon",5),u.YNc(8,DM,3,3,"mat-error",6),u.YNc(9,MM,2,2,"mat-error",7),u.qZA(),u.TgZ(10,"mat-form-field",8),u.TgZ(11,"mat-label"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u._UZ(14,"input",9),u.TgZ(15,"mat-icon",4),u.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),u._uU(16),u.qZA(),u.YNc(17,xM,3,3,"mat-error",6),u.YNc(18,RM,3,3,"mat-error",6),u.qZA(),u.TgZ(19,"app-alert",10),u._UZ(20,"div",11),u.qZA(),u.qZA()),2&e&&(u.Q6J("formGroup",t.formGroup),u.xp6(1),u.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),u.xp6(1),u.s9C("placeholder",u.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),u.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),u.xp6(2),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),u.xp6(2),u.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),u.xp6(3),u.Oqu(u.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),u.xp6(2),u.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),u.xp6(2),u.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),u.xp6(2),u.Q6J("innerHTML",t.passwordRequirement,u.oJD))},directives:[ky,Rc,ym,Lv,YS,Js,Sy,qC,ip,b.O5,QS,Ph,Ns,Xa,tu,JC],pipes:[to],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),o})();function IM(o,n){if(1&o&&u._UZ(0,"perun-web-apps-password-form",4),2&o){const e=u.oxw();u.Q6J("formGroup",e.newPasswdForm)("namespace",e.namespace)("language",e.language)}}function OM(o,n){if(1&o){const e=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"button",5),u.NdJ("click",function(){return u.CHM(e),u.oxw().onSubmit()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()}if(2&o){const e=u.oxw();u.xp6(1),u.Q6J("disabled",e.newPasswdForm.invalid||e.newPasswdForm.pending),u.xp6(1),u.hij(" ",u.lcZ(3,2,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_BUTTON":"PAGES.PWD_RESET_PAGE.ACTIVATION_BUTTON")," ")}}function HM(o,n){if(1&o&&(u.TgZ(0,"div",6),u.TgZ(1,"app-alert",7),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&o){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,1,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_SUCCESS":"PAGES.PWD_RESET_PAGE.ACTIVATION_SUCCESS")," ")}}function FM(o,n){1&o&&u._UZ(0,"mat-spinner",8)}let zM=(()=>{class o{constructor(e,t,r,s,i){this.storeService=e,this.translate=t,this.apiRequestConfiguration=r,this.usersService=s,this._formBuilder=i,this.loading=!1,this.success=!1,this.language="en"}ngOnInit(){this.loading=!0,this.translate.onLangChange.subscribe(e=>{this.language=e.lang}),this.newPasswdForm=this._formBuilder.group({passwordCtrl:new Jf("",co.required,[bM(this.namespace,this.usersService,this.apiRequestConfiguration)]),passwordAgainCtrl:new Jf("",co.required)},{validators:SA.passwordMatchValidator}),this.loading=!1}onSubmit(){this.loading=!0,this.authWithoutToken?this.usersService.changePasswordForLogin(this.login,this.namespace,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1}):this.usersService.changeNonAuthzPasswordByToken(this.token,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1})}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ki),u.Y36(nn),u.Y36(Lf),u.Y36(St),u.Y36(rM))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-password-reset-form"]],inputs:{mode:"mode",namespace:"namespace",login:"login",token:"token",authWithoutToken:"authWithoutToken"},decls:4,vars:4,consts:[[3,"formGroup","namespace","language",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"formGroup","namespace","language"],["mat-flat-button","","color","accent",1,"mx-auto","d-block",3,"disabled","click"],[1,"mt-5"],["alert_type","success"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(u.YNc(0,IM,1,3,"perun-web-apps-password-form",0),u.YNc(1,OM,4,4,"div",1),u.YNc(2,HM,4,3,"div",2),u.YNc(3,FM,1,0,"mat-spinner",3)),2&e&&(u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.loading))},directives:[b.O5,PM,ky,Rc,eu,JC,QS],pipes:[to],styles:[""]}),o})(),LM=(()=>{class o{constructor(e){this.translate=e}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.invalidRequestMessage=this.translate.instant("PAGES.PWD_RESET_PAGE.INVALID_REQUEST")})}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(nn))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-invalid-request-alert"]],decls:2,vars:1,consts:[["alert_type","info",1,"alert-wrap"],[3,"innerHTML"]],template:function(e,t){1&e&&(u.TgZ(0,"app-alert",0),u._UZ(1,"div",1),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.invalidRequestMessage,u.oJD))},directives:[JC],styles:[".alert-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),o})();function BM(o,n){if(1&o&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&o){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.LOGIN"),": ",e.login,"")}}function NM(o,n){if(1&o&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&o){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.NAMESPACE"),": ",e.namespace,"")}}function jM(o,n){if(1&o&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-password-reset-form",10)),2&o){const e=u.oxw();u.Q6J("mode",e.mode)("namespace",e.namespace)("login",e.login)("token",e.token)("authWithoutToken",e.authWithoutToken)}}function VM(o,n){1&o&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-invalid-request-alert"))}let KM=(()=>{class o{constructor(e,t){this.storeService=e,this.sanitizer=t}ngOnInit(){this.passwordResetLogo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("password_reset_logo"))}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ki),u.Y36(Sn))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-password-reset-page"]],inputs:{mode:"mode",token:"token",namespace:"namespace",login:"login",validToken:"validToken",authWithoutToken:"authWithoutToken"},decls:14,vars:8,consts:[[3,"innerHTML"],[1,"title-with-icon"],["xmlns","http://www.w3.org/2000/svg","width","30.000000pt","height","30.000000pt","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#000000","stroke","none"],["d","M3530 5103 c-619 -30 -1162 -438 -1356 -1020 -115 -342 -107 -702 21-1035 l36 -92 -1100 -1101 c-605 -605 -1105 -1112 -1110 -1127 -8 -22 -5 -49 15 -125 116 -450 112 -436 146 -454 42 -22 513 -139 539 -134 16 4 122 103 287 268 144 145 262 265 262 267 4 51 29 293 32 295 2 2 70 10 151 18 200 19 193 13 213 213 8 81 17 150 19 152 2 2 67 10 145 18 77 7 149 18 159 23 37 20 44 44 60 194 l16 152 125 12 c69 6 136 12 150 12 18 1 98 75 320 296 l295 295 85 -33 c586 -230 1239 -83 1665 375 405 437 514 1079 275 1629 -122 280 -336 524 -606 690 -237 145 -559 226 -844 212z m201 -184 c307 -31 569 -152 790 -366 467 -452 542 -1155 182 -1697 -187 -280 -490 -487 -823 -561 -42 -9 -144 -19 -230 -22 -236 -8 -402 24 -613 119 -65 29 -96 38 -115 33 -17 -4 -139 -118 -332 -309 l-305 -304 -169 -16 c-224 -20 -214 -11 -233 -213 -8 -81 -16 -150 -18 -152 -2 -2 -68 -10 -147 -18 -148 -14 -182 -26 -197 -66 -5 -12 -15 -85 -22 -162 l-14 -140 -140 -14 c-77 -7 -149 -17 -162 -22 -41 -15 -51 -48 -68 -219 l-16 -165 -213 -213 -212 -213 -185 47 c-101 26 -185 49 -187 50 -2 1 -26 87 -53 191 l-49 188 1115 1115 c849 849 1115 1121 1115 1139 0 13 -18 62 -39 110 -40 90 -80 211 -103 316 -20 95 -17 400 5 505 55 255 171 473 354 661 250 257 570 397 934 408 26 0 93 -4 150 -10z"],["d","M3554 4120 c-201 -30 -366 -170 -424 -359 -14 -43 -20 -92 -20 -153 0 -389 394 -632 750 -461 78 38 189 151 227 233 158 336 -58 712 -427 743 -30 3 -78 1 -106 -3z m138 -181 c108 -23 190 -89 239 -192 37 -80 40 -177 7 -264 -30 -80 -112 -162 -193 -192 -121 -45 -270 -14 -358 75 -164 165 -121 440 83 544 72 37 142 46 222 29z"],["class","subtitle",4,"ngIf"],[3,"mode","namespace","login","token","authWithoutToken",4,"ngIf"],[4,"ngIf"],[1,"subtitle"],[3,"mode","namespace","login","token","authWithoutToken"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"div",0),u.TgZ(2,"div",1),u.TgZ(3,"h1"),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.O4$(),u.TgZ(6,"svg",2),u.TgZ(7,"g",3),u._UZ(8,"path",4),u._UZ(9,"path",5),u.qZA(),u.qZA(),u.qZA(),u.YNc(10,BM,4,4,"p",6),u.YNc(11,NM,4,4,"p",6),u.YNc(12,jM,1,5,"perun-web-apps-password-reset-form",7),u.YNc(13,VM,1,0,"perun-web-apps-invalid-request-alert",8),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.passwordResetLogo,u.oJD),u.xp6(3),u.hij(" ",u.lcZ(5,6,"reset"===t.mode?"PAGES.PWD_RESET_PAGE.TITLE_RESET":"PAGES.PWD_RESET_PAGE.TITLE_ACTIVATION")," "),u.xp6(6),u.Q6J("ngIf",t.login),u.xp6(1),u.Q6J("ngIf",t.namespace),u.xp6(1),u.Q6J("ngIf",t.validToken||t.authWithoutToken),u.xp6(1),u.Q6J("ngIf",!t.validToken&&!t.authWithoutToken))},directives:[b.O5,zM,LM],pipes:[to],styles:[".title-with-icon[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.subtitle[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px}"]}),o})();function GM(o,n){1&o&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&o&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let UM=(()=>{class o{constructor(e,t,r,s,i){this.dialogRef=e,this.translate=t,this.notificator=r,this.rtMessages=s,this.storeService=i,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+v(4147).i8}close(){this.dialogRef.close()}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ql),u.Y36(nn),u.Y36(qo),u.Y36(Et),u.Y36(ki))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u.TgZ(4,"mat-form-field"),u.TgZ(5,"mat-label"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.TgZ(8,"input",2,3),u.NdJ("ngModelChange",function(s){return t.subject=s}),u.qZA(),u.YNc(10,GM,3,3,"mat-error",4),u.qZA(),u.TgZ(11,"mat-form-field"),u.TgZ(12,"mat-label"),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.TgZ(15,"textarea",5),u.NdJ("ngModelChange",function(s){return t.message=s}),u.ALo(16,"translate"),u._uU(17," "),u.qZA(),u.TgZ(18,"mat-hint"),u._uU(19),u.ALo(20,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(21,"div",6),u.TgZ(22,"div",7),u.TgZ(23,"button",8),u.NdJ("click",function(){return t.close()}),u._uU(24),u.ALo(25,"translate"),u.qZA(),u.TgZ(26,"button",9),u.NdJ("click",function(){return t.sendBugReport()}),u._uU(27),u.ALo(28,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e){const r=u.MAs(9);u.xp6(1),u.Oqu(u.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),u.xp6(5),u.Oqu(u.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),u.xp6(2),u.Q6J("ngModel",t.subject),u.xp6(2),u.Q6J("ngIf",r.invalid),u.xp6(3),u.Oqu(u.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),u.xp6(2),u.s9C("placeholder",u.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),u.Q6J("ngModel",t.message),u.xp6(4),u.Oqu(u.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),u.xp6(5),u.hij(" ",u.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),u.xp6(2),u.Q6J("disabled",r.invalid),u.xp6(1),u.hij(" ",u.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[rm,om,ym,tu,YS,Js,ip,Sy,VC,b.O5,Xa,hm,Ch,eu],pipes:[to],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),o})(),qM=(()=>{class o{transform(e,t,r){return e[`${r}_${t}`]}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=u.Yjl({name:"localisedText",type:o,pure:!0}),o})(),$M=(()=>{class o{transform(e,t){return e["link_"+t]||e.link_en}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=u.Yjl({name:"localisedLink",type:o,pure:!0}),o})(),WM=(()=>{class o{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275pipe=u.Yjl({name:"footerLogoPath",type:o,pure:!0}),o})();function YM(o,n){if(1&o&&(u.TgZ(0,"a",13),u.ALo(1,"localisedLink"),u._UZ(2,"img",14),u.ALo(3,"footerLogoPath"),u.qZA()),2&o){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,2,e,t.language),u.LSH),u.xp6(2),u.s9C("src",u.lcZ(3,5,e.logo),u.LSH)}}function ZM(o,n){if(1&o&&(u.TgZ(0,"span"),u._UZ(1,"img",14),u.ALo(2,"footerLogoPath"),u.qZA()),2&o){const e=u.oxw().$implicit;u.xp6(1),u.s9C("src",u.lcZ(2,1,e.logo),u.LSH)}}function QM(o,n){if(1&o&&(u.TgZ(0,"div"),u.YNc(1,YM,4,7,"a",11),u.ALo(2,"localisedLink"),u.YNc(3,ZM,3,3,"span",12),u.ALo(4,"localisedLink"),u.qZA()),2&o){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",u.xi3(2,2,e,t.language)),u.xp6(2),u.Q6J("ngIf",!u.xi3(4,5,e,t.language))}}const XM=function(o){return{"min-height":o}};function JM(o,n){if(1&o&&(u.TgZ(0,"div",10),u.YNc(1,QM,5,8,"div",5),u.qZA()),2&o){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,XM,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}const ia=function(o){return{color:o}};function ex(o,n){if(1&o&&(u.TgZ(0,"i",20),u._uU(1),u.qZA()),2&o){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(2,ia,t.linksTextColor)),u.xp6(1),u.hij(" ",e.icon," ")}}function tx(o,n){if(1&o){const e=u.EpF();u.TgZ(0,"span",21),u.NdJ("click",function(){u.CHM(e);const r=u.oxw().$implicit;return u.oxw(3).openDialog(r.dialog)}),u._uU(1),u.ALo(2,"localisedText"),u.qZA()}if(2&o){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,ia,t.linksTextColor)),u.xp6(1),u.hij("",u.Dn7(2,2,e,t.language,"label")," ")}}function ix(o,n){if(1&o&&(u.TgZ(0,"a",22),u.ALo(1,"localisedLink"),u._uU(2),u.ALo(3,"localisedText"),u.qZA()),2&o){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,3,e,t.language),u.LSH)("ngStyle",u.VKq(10,ia,t.linksTextColor)),u.xp6(2),u.Oqu(u.Dn7(3,6,e,t.language,"label"))}}function nx(o,n){if(1&o&&(u.TgZ(0,"span",10),u._uU(1),u.ALo(2,"localisedText"),u.qZA()),2&o){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,ia,t.linksTextColor)),u.xp6(1),u.Oqu(u.Dn7(2,2,e,t.language,"label"))}}function rx(o,n){if(1&o&&(u.TgZ(0,"div",16),u.YNc(1,ex,2,4,"i",17),u.YNc(2,tx,3,8,"span",18),u.YNc(3,ix,4,12,"a",19),u.ALo(4,"localisedLink"),u.YNc(5,nx,3,8,"span",9),u.ALo(6,"localisedLink"),u.qZA()),2&o){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",e.icon),u.xp6(1),u.Q6J("ngIf",e.dialog),u.xp6(1),u.Q6J("ngIf",u.xi3(4,4,e,t.language)&&!e.dialog),u.xp6(2),u.Q6J("ngIf",!u.xi3(6,7,e,t.language)&&!e.dialog)}}const ox=function(o){return{height:o}};function sx(o,n){if(1&o&&(u.TgZ(0,"div",10),u.YNc(1,rx,7,10,"div",15),u.qZA()),2&o){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,ox,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}function ax(o,n){if(1&o&&(u.TgZ(0,"div",7),u.TgZ(1,"h6",8),u._uU(2),u.ALo(3,"localisedText"),u.qZA(),u.YNc(4,JM,2,4,"div",9),u.YNc(5,sx,2,4,"div",9),u.qZA()),2&o){const e=n.$implicit,t=u.oxw();u.ekj("my-auto",t.containsLogos),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,ia,t.headersTextColor)),u.xp6(1),u.hij(" ",u.Dn7(3,6,e,t.language,"title")," "),u.xp6(2),u.Q6J("ngIf",e.logos),u.xp6(1),u.Q6J("ngIf",e.elements&&!e.logos)}}function cx(o,n){if(1&o&&(u.TgZ(0,"span"),u.TgZ(1,"a",6),u._uU(2),u.qZA(),u.qZA()),2&o){const e=n.$implicit,t=n.index,r=u.oxw();u.xp6(1),u.Q6J("href",e.url,u.LSH)("ngStyle",u.VKq(3,ia,r.copyrightTextColor)),u.xp6(1),u.Oqu(t?", "+e.name:e.name)}}const lx=function(o){return{background:o}};let ux=(()=>{class o{constructor(e,t,r){this.storeService=e,this.translateService=t,this.dialog=r,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=v(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Wh();"reportIssue"===e&&(t.width="550px",this.dialog.open(UM,t))}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(ki),u.Y36(nn),u.Y36(Os))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(u.TgZ(0,"footer",0),u.TgZ(1,"div",1),u.YNc(2,ax,6,12,"div",2),u.qZA(),u._UZ(3,"hr",3),u.TgZ(4,"div",4),u._uU(5),u.YNc(6,cx,3,5,"span",5),u._uU(7," Version "),u.TgZ(8,"a",6),u._uU(9),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Q6J("ngStyle",u.VKq(8,lx,t.bgColor)),u.xp6(2),u.Q6J("ngForOf",t.items),u.xp6(2),u.Q6J("ngStyle",u.VKq(10,ia,t.copyrightTextColor)),u.xp6(1),u.hij(" \xa9 ",t.currentYear," Copyright: "),u.xp6(1),u.Q6J("ngForOf",t.copyrightItems),u.xp6(2),u.Q6J("href",t.githubRepository,u.LSH)("ngStyle",u.VKq(12,ia,t.copyrightTextColor)),u.xp6(1),u.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[qM,$M,WM],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),o})();const dx=["footer"],hx=function(o){return{background:o}},fx=function(o){return{"min-height":o}};let px=(()=>{class o{constructor(e,t,r,s,i,a,d){this.dialog=e,this.usersService=t,this.preferredLangService=r,this.translateService=s,this.store=i,this.attributesManagerService=a,this.changeDetector=d,this.authWithoutToken=!1,this.contentHeight="calc(100vh - 84px)",this.contentBackgroundColor=this.store.get("theme","content_bg_color")}ngOnInit(){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e);const t=location.search.substr(1);this.mode=t.includes("activation")?"activation":"reset",this.namespace=this.parseQueryParams("namespace",t),t.includes("token")?(this.token=this.parseQueryParams("token",t),this.usersService.checkPasswordResetRequestByTokenIsValid(this.token).subscribe(()=>{this.validToken=!0},()=>{this.validToken=!1})):(this.authWithoutToken=!0,this.attributesManagerService.getLogins(this.store.getPerunPrincipal().userId).subscribe(r=>{const s=r.find(i=>i.friendlyNameParameter===this.namespace);this.login=s?s.value.toString():""}))}parseQueryParams(e,t){const r=t.split("&");for(const s of r){const[i,a]=s.split("=");if(i.includes(e))return a}}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return o.\u0275fac=function(e){return new(e||o)(u.Y36(Os),u.Y36(St),u.Y36(Bf),u.Y36(nn),u.Y36(ki),u.Y36(un),u.Y36(u.sBO))},o.\u0275cmp=u.Xpm({type:o,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&u.Gf(dx,5),2&e){let r;u.iGM(r=u.CRH())&&(t.footer=r.first)}},decls:8,vars:12,consts:[["id","nav-menu"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],[3,"mode","token","namespace","login","validToken","authWithoutToken"],["footer",""]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"perun-web-apps-header",0),u.TgZ(2,"div",1),u.TgZ(3,"div",2),u._UZ(4,"perun-web-apps-password-reset-page",3),u.qZA(),u.TgZ(5,"div",null,4),u._UZ(7,"perun-web-apps-footer"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(2),u.Q6J("ngStyle",u.VKq(8,hx,t.contentBackgroundColor)),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,fx,t.contentHeight)),u.xp6(1),u.Q6J("mode",t.mode)("token",t.token)("namespace",t.namespace)("login",t.login)("validToken",t.validToken)("authWithoutToken",t.authWithoutToken))},directives:[pS,b.PC,KM,ux],styles:["#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}#content-inner[_ngcontent-%COMP%]{position:relative;padding-top:64px}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 450px){#content-wrap[_ngcontent-%COMP%]{max-width:400px;margin-left:auto;margin-right:auto}}"]}),o})();class gx{constructor(n,e="/assets/i18n/",t=".json"){this.http=n,this.prefix=e,this.suffix=t}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}}let mx=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez,$l,br,Qa]]}),o})();const _x=[];let yx=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Hf.forRoot(_x,{relativeLinkResolution:"legacy"}),b.ez],Hf]}),o})(),wx=(()=>{class o{constructor(e,t,r,s,i){this.http=e,this.storeService=t,this.authzSevice=r,this.titleService=s,this.utilsService=i}initializeColors(e,t){return new Promise(r=>{t.forEach(s=>{const i=this.storeService.get("theme",s.configValue);document.documentElement.style.setProperty(s.cssVariable,i)}),e.forEach(s=>{const i=this.storeService.get("theme",s.configValue);document.documentElement.style.setProperty(s.cssVariable,i),this.setEntityTheme(s.entity,i)}),r()})}setEntityTheme(e,t){const r=function bx(o){return[vn(tinycolor(o).lighten(52),"50"),vn(tinycolor(o).lighten(37),"100"),vn(tinycolor(o).lighten(26),"200"),vn(tinycolor(o).lighten(12),"300"),vn(tinycolor(o).lighten(6),"400"),vn(tinycolor(o),"500"),vn(tinycolor(o).darken(6),"600"),vn(tinycolor(o).darken(12),"700"),vn(tinycolor(o).darken(18),"800"),vn(tinycolor(o).darken(24),"900"),vn(tinycolor(o).lighten(50).saturate(30),"A100"),vn(tinycolor(o).lighten(30).saturate(30),"A200"),vn(tinycolor(o).lighten(10).saturate(15),"A400"),vn(tinycolor(o).lighten(5).saturate(5),"A700")]}(t);for(const s of r){const d=`--${e}-theme-primary-contrast-${s.name}`,h=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const r=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[r]&&this.storeService.setBanding(r),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new C.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(r=>{this.storeService.setAppsConfig(r),e()},r=>t(r))})}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(C.eN),u.LFG(ki),u.LFG(Hi),u.LFG(Oi),u.LFG(Kn))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function vn(o,n){const e=tinycolor(o),t=e.toRgb();return{name:n,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let vx=(()=>{class o{constructor(e,t,r){this.initAuthService=e,this.appConfigService=t,this.location=r}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>location.search.substr(1).includes("token")?Promise.resolve(!0):this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?location.search.substr(1).includes("token")?void 0:this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(zf),u.LFG(wx),u.LFG(b.Ye))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const Ax=new u.OlP("perun-api-service");let XS=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe],qe]}),o})(),tk=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),Oy=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Wn,qe,Jp,tk],qe,tk]}),o})(),e0=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[qe],qe]}),o})(),Ox=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),nk=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez,qe,Ox,Fr]]}),o})(),ok=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Is,qe],Is,qe]}),o})(),zx=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Ir]]}),o})(),t0=(()=>{class o{constructor(){this.changes=new xe.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const Wx={provide:t0,deps:[[new u.FiY,new u.tp0,t0]],useFactory:function $x(o){return o||new t0}};let ak=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Wx,Yr],imports:[[qe,b.ez,Fr,br,zx,Dt,Wn],qe]}),o})(),lR=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[ps]]}),o})(),p0=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[lR,qe],qe]}),o})(),FR=(()=>{class o{constructor(){this.changes=new xe.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const BR={provide:new u.OlP("mat-datepicker-scroll-strategy"),deps:[Mn],useFactory:function LR(o){return()=>o.scrollStrategies.reposition()}};let g0=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[FR,BR],imports:[[b.ez,br,ar,Id,Fr,qe],Dn]}),o})(),Ck=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez,qe,Xe,Dn],Dn,qe]}),o})(),Ek=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Is,Wn,qe,Zr,b.ez],Is,qe,Zr,e0]}),o})(),m0=(()=>{class o{constructor(){this.changes=new xe.xQ}}return o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const oP={provide:m0,deps:[[new u.FiY,new u.tp0,m0]],useFactory:function rP(o){return o||new m0}};let _0=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[oP],imports:[[b.ez,qe]]}),o})();const Mk=new u.OlP("mat-chips-default-options");let yP=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[Yr,{provide:Mk,useValue:{separatorKeyCodes:[13]}}],imports:[[qe]]}),o})();function bP(o){const{subscriber:n,counter:e,period:t}=o;n.next(e),this.schedule({subscriber:n,counter:e+1,period:t},t)}function w0(o,n,e){for(let t in n)if(n.hasOwnProperty(t)){const r=n[t];r?o.setProperty(t,r,(null==e?void 0:e.has(t))?"important":""):o.removeProperty(t)}return o}function qu(o,n){const e=n?"":"none";w0(o.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function xk(o,n,e){w0(o.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function Wy(o,n){return n&&"none"!=n?o+" "+n:o}function Rk(o){const n=o.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(o)*n}function b0(o,n){return o.getPropertyValue(n).split(",").map(t=>t.trim())}function v0(o){const n=o.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function A0(o,n,e){const{top:t,bottom:r,left:s,right:i}=o;return e>=t&&e<=r&&n>=s&&n<=i}function ap(o,n,e){o.top+=n,o.bottom=o.top+o.height,o.left+=e,o.right=o.left+o.width}function Pk(o,n,e,t){const{top:r,right:s,bottom:i,left:a,width:d,height:h}=o,g=d*n,S=h*n;return t>r-S&&ta-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:v0(e)})})}handleScroll(n){const e=fe(n),t=this.positions.get(e);if(!t)return null;const r=t.scrollPosition;let s,i;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();s=h.top,i=h.left}else s=e.scrollTop,i=e.scrollLeft;const a=r.top-s,d=r.left-i;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&ap(h.clientRect,a,d)}),r.top=s,r.left=i,{top:a,left:d}}}function Ok(o){const n=o.cloneNode(!0),e=n.querySelectorAll("[id]"),t=o.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>a.target&&(a.target===h||h.contains(a.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const d=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const te=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),he=this._dropContainer;if(!te)return void this._endDragSequence(a);(!he||!he.isDragging()&&!he.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),a.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:a,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new Ik(t,s),i.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(n){const e=Qe(n);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>qu(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(t=>jt(t)),this._handles.forEach(t=>qu(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const e=jt(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Bk),e.addEventListener("touchstart",this._pointerDown,Lk)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?jt(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){var n,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(n=this._rootElement)||void 0===n||n.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),qu(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),qu(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var n,e;null===(n=this._preview)||void 0===n||n.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var n,e;null===(n=this._placeholder)||void 0===n||n.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){cp(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,r=t.parentNode,s=this._placeholder=this._createPlaceholderElement(),i=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();r.insertBefore(i,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),xk(t,!1,C0),this._document.body.appendChild(r.replaceChild(s,t)),this._getPreviewInsertionPoint(r,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),r=cp(e),s=!r&&0!==e.button,i=this._rootElement,a=fe(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=r?Ia(e):ml(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),t||s||d||h)return;if(this._handles.length){const H=i.style;this._rootElementTapHighlight=H.webkitTapHighlightColor||"",H.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(H=>this._updateOnScroll(H)),this._boundaryElement&&(this._boundaryRect=v0(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(n,e);const S=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:S.x,y:S.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){xk(this._rootElement,!0,C0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),r=this._getPointerPositionOnPage(n),s=this._getDragDistance(r),i=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:s,dropPoint:r}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:i,distance:s,dropPoint:r}),e.drop(this,t,this._initialIndex,this._initialContainer,i,s,r),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:t,y:r}){let s=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,n,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,r),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const n=this._previewTemplate,e=this.previewClass,t=n?n.template:null;let r;if(t&&n){const s=n.matchSize?this._rootElement.getBoundingClientRect():null,i=n.viewContainer.createEmbeddedView(t,n.context);i.detectChanges(),r=jk(i,this._document),this._previewRef=i,n.matchSize?Vk(r,s):r.style.transform=Yy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const s=this._rootElement;r=Ok(s),Vk(r,s.getBoundingClientRect()),this._initialTransform&&(r.style.transform=this._initialTransform)}return w0(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},C0),qu(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(s=>r.classList.add(s)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const e=function vP(o){const n=getComputedStyle(o),e=b0(n,"transition-property"),t=e.find(a=>"transform"===a||"all"===a);if(!t)return 0;const r=e.indexOf(t),s=b0(n,"transition-duration"),i=b0(n,"transition-delay");return Rk(s[r])+Rk(i[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const r=i=>{var a;(!i||fe(i)===this._preview&&"transform"===i.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",r),t(),clearTimeout(s))},s=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,e=n?n.template:null;let t;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),t=jk(this._placeholderRef,this._document)):t=Ok(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(n,e){const t=this._rootElement.getBoundingClientRect(),r=n===this._rootElement?null:n,s=r?r.getBoundingClientRect():t,i=cp(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:s.left-t.left+(i.pageX-s.left-a.left),y:s.top-t.top+(i.pageY-s.top-a.top)}}_getPointerPositionOnPage(n){const e=this._getViewportScrollPosition(),t=cp(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=t.pageX-e.left,s=t.pageY-e.top;if(this._ownerSVGElement){const i=this._ownerSVGElement.getScreenCTM();if(i){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=s,a.matrixTransform(i.inverse())}}return{x:r,y:s}}_getConstrainedPointerPosition(n){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:r}=this.constrainPosition?this.constrainPosition(n,this):n;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:s,y:i}=this._pickupPositionInElement,a=this._boundaryRect,d=this._previewRect,h=a.top+i,g=a.bottom-(d.height-i);t=Nk(t,a.left+s,a.right-(d.width-s)),r=Nk(r,h,g)}return{x:t,y:r}}_updatePointerDirectionDelta(n){const{x:e,y:t}=n,r=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,i=Math.abs(e-s.x),a=Math.abs(t-s.y);return i>this._config.pointerDirectionChangeThreshold&&(r.x=e>s.x?1:-1,s.x=e),a>this._config.pointerDirectionChangeThreshold&&(r.y=t>s.y?1:-1,s.y=t),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,qu(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,Bk),n.removeEventListener("touchstart",this._pointerDown,Lk)}_applyRootElementTransform(n,e){const t=Yy(n,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=Wy(t,this._initialTransform)}_applyPreviewTransform(n,e){var t;const r=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,s=Yy(n,e);this._preview.style.transform=Wy(s,r)}_getDragDistance(n){const e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(0===n&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===r.width&&0===r.height)return;const s=t.left-r.left,i=r.right-t.right,a=t.top-r.top,d=r.bottom-t.bottom;t.width>r.width?(s>0&&(n+=s),i>0&&(n-=i)):n=0,t.height>r.height?(a>0&&(e+=a),d>0&&(e-=d)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){const e=this.dragStartDelay;return"number"==typeof e?e:cp(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){const e=this._parentPositions.handleScroll(n);if(e){const t=fe(n);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ap(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const n=this._parentPositions.positions.get(this._document);return n?n.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=$c(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){const t=this._previewContainer||"global";if("parent"===t)return n;if("global"===t){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return jt(t)}}function Yy(o,n){return`translate3d(${Math.round(o)}px, ${Math.round(n)}px, 0)`}function Nk(o,n,e){return Math.max(n,Math.min(e,o))}function cp(o){return"t"===o.type[0]}function jk(o,n){const e=o.rootNodes;if(1===e.length&&e[0].nodeType===n.ELEMENT_NODE)return e[0];const t=n.createElement("div");return e.forEach(r=>t.appendChild(r)),t}function Vk(o,n){o.style.width=`${n.width}px`,o.style.height=`${n.height}px`,o.style.transform=Yy(n.left,n.top)}function lp(o,n){return Math.max(0,Math.min(n,o))}class SP{constructor(n,e,t,r,s){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new xe.xQ,this.entered=new xe.xQ,this.exited=new xe.xQ,this.dropped=new xe.xQ,this.sorted=new xe.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=Nt.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new xe.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function wP(o=0,n=bo.P){return(!E(o)||o<0)&&(o=0),(!n||"function"!=typeof n.schedule)&&(n=bo.P),new bi.y(e=>(e.add(n.schedule(bP,o,{subscriber:e,counter:0,period:o})),e))}(0,Gc).pipe(yt(this._stopScrollTimers)).subscribe(()=>{const i=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?i.scrollBy(0,-a):2===this._verticalScrollDirection&&i.scrollBy(0,a),1===this._horizontalScrollDirection?i.scrollBy(-a,0):2===this._horizontalScrollDirection&&i.scrollBy(a,0)})},this.element=jt(n),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new Ik(t,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,t,r){let s;this._draggingStarted(),null==r?(s=this.sortingDisabled?this._draggables.indexOf(n):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(n,e,t))):s=r;const i=this._activeDraggables,a=i.indexOf(n),d=n.getPlaceholderElement();let h=i[s];if(h===n&&(h=i[s+1]),!h&&(null==s||-1===s||s-1&&i.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),i.splice(s,0,n)}else jt(this.element).appendChild(d),i.push(n);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,t,r,s,i,a){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:t,container:this,previousContainer:r,isPointerOverContainer:s,distance:i,dropPoint:a})}withItems(n){const e=this._draggables;return this._draggables=n,n.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===n.indexOf(r))?this._reset():this._cacheItems()),this}withDirection(n){return this._direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._orientation=n,this}withScrollableParents(n){const e=jt(this.element);return this._scrollableElements=-1===n.indexOf(e)?[e,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,t,r){if(this.sortingDisabled||!this._clientRect||!Pk(this._clientRect,.05,e,t))return;const s=this._itemPositions,i=this._getItemIndexFromPointerPosition(n,e,t,r);if(-1===i&&s.length>0)return;const a="horizontal"===this._orientation,d=s.findIndex(Te=>Te.drag===n),h=s[i],S=h.clientRect,H=d>i?1:-1,te=this._getItemOffsetPx(s[d].clientRect,S,H),he=this._getSiblingOffsetPx(d,s,H),_e=s.slice();(function EP(o,n,e){const t=lp(n,o.length-1),r=lp(e,o.length-1);if(t===r)return;const s=o[t],i=r{if(_e[mt]===Te)return;const Rt=Te.drag===n,bt=Rt?te:he,It=Rt?n.getPlaceholderElement():Te.drag.getRootElement();Te.offset+=bt,a?(It.style.transform=Wy(`translate3d(${Math.round(Te.offset)}px, 0, 0)`,Te.initialTransform),ap(Te.clientRect,0,bt)):(It.style.transform=Wy(`translate3d(0, ${Math.round(Te.offset)}px, 0)`,Te.initialTransform),ap(Te.clientRect,bt,0))}),this._previousSwap.overlaps=A0(S,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?r.x:r.y}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let t,r=0,s=0;if(this._parentPositions.positions.forEach((i,a)=>{a===this._document||!i.clientRect||t||Pk(i.clientRect,.05,n,e)&&([r,s]=function kP(o,n,e,t){const r=Uk(n,t),s=qk(n,e);let i=0,a=0;if(r){const d=o.scrollTop;1===r?d>0&&(i=1):o.scrollHeight-d>o.clientHeight&&(i=2)}if(s){const d=o.scrollLeft;1===s?d>0&&(a=1):o.scrollWidth-d>o.clientWidth&&(a=2)}return[i,a]}(a,i.clientRect,n,e),(r||s)&&(t=a))}),!r&&!s){const{width:i,height:a}=this._viewportRuler.getViewportSize(),d={width:i,height:a,top:0,right:i,bottom:a,left:0};r=Uk(d,e),s=qk(d,n),t=window}t&&(r!==this._verticalScrollDirection||s!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=s,this._scrollNode=t,(r||s)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=jt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=jt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(n).clientRect}_cacheItemPositions(){const n="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:v0(t)}}).sort((e,t)=>n?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const n=jt(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const r=e.getRootElement();if(r){const s=null===(t=this._itemPositions.find(i=>i.drag===e))||void 0===t?void 0:t.initialTransform;r.style.transform=s||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(n,e,t){const r="horizontal"===this._orientation,s=e[n].clientRect,i=e[n+-1*t];let a=s[r?"width":"height"]*t;if(i){const d=r?"left":"top",h=r?"right":"bottom";-1===t?a-=i.clientRect[d]-s[h]:a+=s[d]-i.clientRect[h]}return a}_getItemOffsetPx(n,e,t){const r="horizontal"===this._orientation;let s=r?e.left-n.left:e.top-n.top;return-1===t&&(s+=r?e.width-n.width:e.height-n.height),s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,r="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const i=t[t.length-1].clientRect;return r?n>=i.right:e>=i.bottom}{const i=t[0].clientRect;return r?n<=i.left:e<=i.top}}_getItemIndexFromPointerPosition(n,e,t,r){const s="horizontal"===this._orientation,i=this._itemPositions.findIndex(({drag:a,clientRect:d})=>{if(a===n)return!1;if(r){const h=s?r.x:r.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return s?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&tr._canReceive(n,e,t))}_canReceive(n,e,t){if(!this._clientRect||!A0(this._clientRect,e,t)||!this.enterPredicate(n,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,t);if(!r)return!1;const s=jt(this.element);return r===s||s.contains(r)}_startReceiving(n,e){const t=this._activeSiblings;!t.has(n)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(t.add(n),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(n);e&&(this._itemPositions.forEach(({clientRect:t})=>{ap(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=$c(jt(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}}function Uk(o,n){const{top:e,bottom:t,height:r}=o,s=.05*r;return n>=e-s&&n<=e+s?1:n>=t-s&&n<=t+s?2:0}function qk(o,n){const{left:e,right:t,width:r}=o,s=.05*r;return n>=e-s&&n<=e+s?1:n>=t-s&&n<=t+s?2:0}const Zy=ti({passive:!1,capture:!0});let DP=(()=>{class o{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new xe.xQ,this.pointerUp=new xe.xQ,this.scroll=new xe.xQ,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Zy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Zy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=t.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Zy}),r||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:Zy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,i)=>{this._document.addEventListener(i,s.handler,s.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new bi.y(r=>this._ngZone.runOutsideAngular(()=>{const i=a=>{this._activeDragInstances.length&&r.next(a)};return e.addEventListener("scroll",i,!0),()=>{e.removeEventListener("scroll",i,!0)}}))),(0,gn.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(u.R0b),u.LFG(b.K0))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const MP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let xP=(()=>{class o{constructor(e,t,r,s){this._document=e,this._ngZone=t,this._viewportRuler=r,this._dragDropRegistry=s}createDrag(e,t=MP){return new TP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new SP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(b.K0),u.LFG(u.R0b),u.LFG(Ao),u.LFG(DP))},o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),RP=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[xP],imports:[Dn]}),o})(),PP=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez]]}),o})(),IP=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),LP=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({}),o})(),qP=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[LP,qe],qe]}),o})(),oI=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[Wn,qe],qe]}),o})(),cI=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez,ju,br,Oy,Dt,np,Ti]]}),o})(),lI=(()=>{class o extends mh{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return o.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(o)))(t||o)}}(),o.\u0275prov=u.Yz7({token:o,factory:o.\u0275fac}),o})();const uI={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Zk=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({providers:[{provide:en,useClass:lI},{provide:gh,useValue:uI}],imports:[[b.ez,Oy,p0,ZC,yP,RP,Qa,Hf,_0,iu,np,XC,Dt,sc,br,Ti,vr,ju,Iy,Wn,PP,IP,qP,g0,oI,Gl,tc,cI,ps,$l,SE]]}),o})(),d1=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[[b.ez,XS,e0,nk,br,ok,Oy,Dt,p0,$l,np,vr,Iy,ps,ZC,ju,ak,g0,_h,Ck,Ek,Zk,sc,uy,_0,iu,Ti,tc,Wn],XS,e0,nk,br,ok,Oy,Dt,p0,$l,np,vr,Iy,ps,ZC,ju,ak,g0,_h,Ck,Ek,Zk,sc,uy,_0,iu,Ti,tc,Wn]}),o})();const h1={provide:C.TP,useExisting:(0,u.Gpc)(()=>Fu),multi:!0};function f1(o){return new gx(o,"./assets/i18n/",".json")}function p1(o){const n={basePath:o.get("api_url")};return new je(n)}const g1=o=>()=>o.loadConfigs();let m1=(()=>{class o{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return o.\u0275fac=function(e){return new(e||o)(u.LFG(ay),u.LFG(nn))},o.\u0275mod=u.oAB({type:o,bootstrap:[px]}),o.\u0275inj=u.cJS({providers:[ay,{provide:u.ip1,useFactory:g1,multi:!0,deps:[vx]},{provide:je,useFactory:p1,deps:[ki]},Fu,h1,{provide:Ax,useClass:cy}],imports:[[Mr,Qa.forRoot({loader:{provide:Ci,useFactory:f1,deps:[C.eN]}}),Eb,Dt,mx,pp,C.JF,yx,d1,XC,yM,oy.zr.forRoot()]]}),o})();(0,u.G48)(),Dr().bootstrapModule(m1).catch(o=>console.error(o))},1302:function(N,G,v){var b;!function(u,I){var L={};!function(u){"use strict";u.__esModule=!0,u.digestLength=32,u.blockSize=64;var I=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function L(q,J,ie,ee,oe){for(var Ce,Ae,He,ft,_t,Ue,mi,Tt,Ze,re,ue,de,le;oe>=64;){for(Ce=J[0],Ae=J[1],He=J[2],ft=J[3],_t=J[4],Ue=J[5],mi=J[6],Tt=J[7],re=0;re<16;re++)q[re]=(255&ie[ue=ee+4*re])<<24|(255&ie[ue+1])<<16|(255&ie[ue+2])<<8|255&ie[ue+3];for(re=16;re<64;re++)q[re]=((de=((Ze=q[re-2])>>>17|Ze<<15)^(Ze>>>19|Ze<<13)^Ze>>>10)+q[re-7]|0)+((le=((Ze=q[re-15])>>>7|Ze<<25)^(Ze>>>18|Ze<<14)^Ze>>>3)+q[re-16]|0);for(re=0;re<64;re++)de=(((_t>>>6|_t<<26)^(_t>>>11|_t<<21)^(_t>>>25|_t<<7))+(_t&Ue^~_t&mi)|0)+(Tt+(I[re]+q[re]|0)|0)|0,le=((Ce>>>2|Ce<<30)^(Ce>>>13|Ce<<19)^(Ce>>>22|Ce<<10))+(Ce&Ae^Ce&He^Ae&He)|0,Tt=mi,mi=Ue,Ue=_t,_t=ft+de|0,ft=He,He=Ae,Ae=Ce,Ce=de+le|0;J[0]+=Ce,J[1]+=Ae,J[2]+=He,J[3]+=ft,J[4]+=_t,J[5]+=Ue,J[6]+=mi,J[7]+=Tt,ee+=64,oe-=64}return ee}var R=function(){function q(){this.digestLength=u.digestLength,this.blockSize=u.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},q.prototype.clean=function(){for(var J=0;J0){for(;this.bufferLength<64&&ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;64===this.bufferLength&&(L(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ie>=64&&(ee=L(this.temp,this.state,J,ee,ie),ie%=64);ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;return this},q.prototype.finish=function(J){if(!this.finished){var ie=this.bytesHashed,ee=this.bufferLength,oe=ie/536870912|0,Ce=ie<<3,Ae=ie%64<56?64:128;this.buffer[ee]=128;for(var He=ee+1;He>>24&255,this.buffer[Ae-7]=oe>>>16&255,this.buffer[Ae-6]=oe>>>8&255,this.buffer[Ae-5]=oe>>>0&255,this.buffer[Ae-4]=Ce>>>24&255,this.buffer[Ae-3]=Ce>>>16&255,this.buffer[Ae-2]=Ce>>>8&255,this.buffer[Ae-1]=Ce>>>0&255,L(this.temp,this.state,this.buffer,0,Ae),this.finished=!0}for(He=0;He<8;He++)J[4*He+0]=this.state[He]>>>24&255,J[4*He+1]=this.state[He]>>>16&255,J[4*He+2]=this.state[He]>>>8&255,J[4*He+3]=this.state[He]>>>0&255;return this},q.prototype.digest=function(){var J=new Uint8Array(this.digestLength);return this.finish(J),J},q.prototype._saveState=function(J){for(var ie=0;iethis.blockSize)(new R).update(J).finish(ie).clean();else for(var ee=0;ee1&&J.update(q),ie&&J.update(ie),J.update(ee),J.finish(q),ee[0]++}u.HMAC=O,u.hash=$,u.default=$,u.hmac=U;var F=new Uint8Array(u.digestLength);u.hkdf=function z(q,J,ie,ee){void 0===J&&(J=F),void 0===ee&&(ee=32);for(var oe=new Uint8Array([1]),Ce=U(J,q),Ae=new O(Ce),He=new Uint8Array(Ae.digestLength),ft=He.length,_t=new Uint8Array(ee),Ue=0;Ue>>24&255,Ae[1]=mi>>>16&255,Ae[2]=mi>>>8&255,Ae[3]=mi>>>0&255,oe.reset(),oe.update(J),oe.update(Ae),oe.finish(ft);for(var Tt=0;Tt=z.status}function O(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(V){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(z)}}var $="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,U=$.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),j=$.saveAs||("object"!=typeof window||window!==$?function(){}:"download"in HTMLAnchorElement.prototype&&!U?function(F,z,V){var q=$.URL||$.webkitURL,J=document.createElement("a");J.download=z=z||F.name||"download",J.rel="noopener","string"==typeof F?(J.href=F,J.origin===location.origin?O(J):R(J.href)?L(F,z,V):O(J,J.target="_blank")):(J.href=q.createObjectURL(F),setTimeout(function(){q.revokeObjectURL(J.href)},4e4),setTimeout(function(){O(J)},0))}:"msSaveOrOpenBlob"in navigator?function(F,z,V){if(z=z||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function I(F,z){return void 0===z?z={autoBom:!1}:"object"!=typeof z&&(console.warn("Deprecated: Expected third argument to be a object"),z={autoBom:!z}),z.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,V),z);else if(R(F))L(F,z,V);else{var q=document.createElement("a");q.href=F,q.target="_blank",setTimeout(function(){O(q)})}}:function(F,z,V,q){if((q=q||open("","_blank"))&&(q.document.title=q.document.body.innerText="downloading..."),"string"==typeof F)return L(F,z,V);var J="application/octet-stream"===F.type,ie=/constructor/i.test($.HTMLElement)||$.safari,ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((ee||J&&ie||U)&&"undefined"!=typeof FileReader){var oe=new FileReader;oe.onloadend=function(){var He=oe.result;He=ee?He:He.replace(/^data:[^;]*;/,"data:attachment/file;"),q?q.location.href=He:location=He,q=null},oe.readAsDataURL(F)}else{var Ce=$.URL||$.webkitURL,Ae=Ce.createObjectURL(F);q?q.location=Ae:location.href=Ae,q=null,setTimeout(function(){Ce.revokeObjectURL(Ae)},4e4)}});$.saveAs=j.saveAs=j,N.exports=j}.apply(G,[]))&&(N.exports=u)},1869:(N,G,v)=>{"use strict";v.d(G,{d:()=>u});var b=v(3489);class u extends b.L{constructor(L,R,O){super(),this.parent=L,this.outerValue=R,this.outerIndex=O,this.index=0}_next(L){this.parent.notifyNext(this.outerValue,L,this.outerIndex,this.index++,this)}_error(L){this.parent.notifyError(L,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(N,G,v)=>{"use strict";v.d(G,{P:()=>R});var b=v(8896),u=v(1086),I=v(1737);class R{constructor($,U,j){this.kind=$,this.value=U,this.error=j,this.hasValue="N"===$}observe($){switch(this.kind){case"N":return $.next&&$.next(this.value);case"E":return $.error&&$.error(this.error);case"C":return $.complete&&$.complete()}}do($,U,j){switch(this.kind){case"N":return $&&$(this.value);case"E":return U&&U(this.error);case"C":return j&&j()}}accept($,U,j){return $&&"function"==typeof $.next?this.observe($):this.do($,U,j)}toObservable(){switch(this.kind){case"N":return(0,u.of)(this.value);case"E":return(0,I._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext($){return void 0!==$?new R("N",$):R.undefinedValueNotification}static createError($){return new R("E",void 0,$)}static createComplete(){return R.completeNotification}}R.completeNotification=new R("C"),R.undefinedValueNotification=new R("N",void 0)},2916:(N,G,v)=>{"use strict";v.d(G,{y:()=>z});var b=v(3489),I=v(7668),L=v(3292),O=v(3821),$=v(5379);var F=v(2830);let z=(()=>{class q{constructor(ie){this._isScalar=!1,ie&&(this._subscribe=ie)}lift(ie){const ee=new q;return ee.source=this,ee.operator=ie,ee}subscribe(ie,ee,oe){const{operator:Ce}=this,Ae=function R(q,J,ie){if(q){if(q instanceof b.L)return q;if(q[I.b])return q[I.b]()}return q||J||ie?new b.L(q,J,ie):new b.L(L.c)}(ie,ee,oe);if(Ae.add(Ce?Ce.call(Ae,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!Ae.syncErrorThrowable?this._subscribe(Ae):this._trySubscribe(Ae)),F.v.useDeprecatedSynchronousErrorHandling&&Ae.syncErrorThrowable&&(Ae.syncErrorThrowable=!1,Ae.syncErrorThrown))throw Ae.syncErrorValue;return Ae}_trySubscribe(ie){try{return this._subscribe(ie)}catch(ee){F.v.useDeprecatedSynchronousErrorHandling&&(ie.syncErrorThrown=!0,ie.syncErrorValue=ee),function u(q){for(;q;){const{closed:J,destination:ie,isStopped:ee}=q;if(J||ee)return!1;q=ie&&ie instanceof b.L?ie:null}return!0}(ie)?ie.error(ee):console.warn(ee)}}forEach(ie,ee){return new(ee=V(ee))((oe,Ce)=>{let Ae;Ae=this.subscribe(He=>{try{ie(He)}catch(ft){Ce(ft),Ae&&Ae.unsubscribe()}},Ce,oe)})}_subscribe(ie){const{source:ee}=this;return ee&&ee.subscribe(ie)}[O.L](){return this}pipe(...ie){return 0===ie.length?this:function j(q){return 0===q.length?$.y:1===q.length?q[0]:function(ie){return q.reduce((ee,oe)=>oe(ee),ie)}}(ie)(this)}toPromise(ie){return new(ie=V(ie))((ee,oe)=>{let Ce;this.subscribe(Ae=>Ce=Ae,Ae=>oe(Ae),()=>ee(Ce))})}}return q.create=J=>new q(J),q})();function V(q){if(q||(q=F.v.Promise||Promise),!q)throw new Error("no Promise impl found");return q}},3292:(N,G,v)=>{"use strict";v.d(G,{c:()=>I});var b=v(2830),u=v(2782);const I={closed:!0,next(L){},error(L){if(b.v.useDeprecatedSynchronousErrorHandling)throw L;(0,u.z)(L)},complete(){}}},826:(N,G,v)=>{"use strict";v.d(G,{L:()=>u});var b=v(3489);class u extends b.L{notifyNext(L,R,O,$,U){this.destination.next(R)}notifyError(L,R){this.destination.error(L)}notifyComplete(L){this.destination.complete()}}},8929:(N,G,v)=>{"use strict";v.d(G,{Yc:()=>$,xQ:()=>U});var b=v(2916),u=v(3489),I=v(2654),L=v(5279),R=v(5283),O=v(7668);class $ extends u.L{constructor(z){super(z),this.destination=z}}let U=(()=>{class F extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[O.b](){return new $(this)}lift(V){const q=new j(this,this);return q.operator=V,q}next(V){if(this.closed)throw new L.N;if(!this.isStopped){const{observers:q}=this,J=q.length,ie=q.slice();for(let ee=0;eenew j(z,V),F})();class j extends U{constructor(z,V){super(),this.destination=z,this.source=V}next(z){const{destination:V}=this;V&&V.next&&V.next(z)}error(z){const{destination:V}=this;V&&V.error&&this.destination.error(z)}complete(){const{destination:z}=this;z&&z.complete&&this.destination.complete()}_subscribe(z){const{source:V}=this;return V?this.source.subscribe(z):I.w.EMPTY}}},5283:(N,G,v)=>{"use strict";v.d(G,{W:()=>u});var b=v(2654);class u extends b.w{constructor(L,R){super(),this.subject=L,this.subscriber=R,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const L=this.subject,R=L.observers;if(this.subject=null,!R||0===R.length||L.isStopped||L.closed)return;const O=R.indexOf(this.subscriber);-1!==O&&R.splice(O,1)}}},3489:(N,G,v)=>{"use strict";v.d(G,{L:()=>$});var b=v(7043),u=v(3292),I=v(2654),L=v(7668),R=v(2830),O=v(2782);class $ extends I.w{constructor(F,z,V){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=u.c;break;case 1:if(!F){this.destination=u.c;break}if("object"==typeof F){F instanceof $?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,F,z,V)}}[L.b](){return this}static create(F,z,V){const q=new $(F,z,V);return q.syncErrorThrowable=!1,q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class U extends ${constructor(F,z,V,q){super(),this._parentSubscriber=F;let J,ie=this;(0,b.m)(z)?J=z:z&&(J=z.next,V=z.error,q=z.complete,z!==u.c&&(ie=Object.create(z),(0,b.m)(ie.unsubscribe)&&this.add(ie.unsubscribe.bind(ie)),ie.unsubscribe=this.unsubscribe.bind(this))),this._context=ie,this._next=J,this._error=V,this._complete=q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:z}=this;R.v.useDeprecatedSynchronousErrorHandling&&z.syncErrorThrowable?this.__tryOrSetError(z,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:z}=this,{useDeprecatedSynchronousErrorHandling:V}=R.v;if(this._error)V&&z.syncErrorThrowable?(this.__tryOrSetError(z,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(z.syncErrorThrowable)V?(z.syncErrorValue=F,z.syncErrorThrown=!0):(0,O.z)(F),this.unsubscribe();else{if(this.unsubscribe(),V)throw F;(0,O.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const z=()=>this._complete.call(this._context);R.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,z),this.unsubscribe()):(this.__tryOrUnsub(z),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,z){try{F.call(this._context,z)}catch(V){if(this.unsubscribe(),R.v.useDeprecatedSynchronousErrorHandling)throw V;(0,O.z)(V)}}__tryOrSetError(F,z,V){if(!R.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{z.call(this._context,V)}catch(q){return R.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=q,F.syncErrorThrown=!0,!0):((0,O.z)(q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(N,G,v)=>{"use strict";v.d(G,{w:()=>O});var b=v(6688),u=v(7830),I=v(7043);const R=(()=>{function U(j){return Error.call(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((F,z)=>`${z+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j,this}return U.prototype=Object.create(Error.prototype),U})();class O{constructor(j){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,j&&(this._unsubscribe=j)}unsubscribe(){let j;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:z,_subscriptions:V}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof O)F.remove(this);else if(null!==F)for(let q=0;qj.concat(F instanceof R?F.errors:F),[])}O.EMPTY=((U=new O).closed=!0,U)},2830:(N,G,v)=>{"use strict";v.d(G,{v:()=>u});let b=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(I){if(I){const L=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+L.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=I},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(N,G,v)=>{"use strict";v.d(G,{c:()=>R,N:()=>O});var b=v(8929),u=v(2916),I=v(2654),L=v(4327);class R extends u.y{constructor(z,V){super(),this.source=z,this.subjectFactory=V,this._refCount=0,this._isComplete=!1}_subscribe(z){return this.getSubject().subscribe(z)}getSubject(){const z=this._subject;return(!z||z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let z=this._connection;return z||(this._isComplete=!1,z=this._connection=new I.w,z.add(this.source.subscribe(new $(this.getSubject(),this))),z.closed&&(this._connection=null,z=I.w.EMPTY)),z}refCount(){return(0,L.x)()(this)}}const O=(()=>{const F=R.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class $ extends b.Yc{constructor(z,V){super(z),this.connectable=V}_error(z){this._unsubscribe(),super._error(z)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const z=this.connectable;if(z){this.connectable=null;const V=z._connection;z._refCount=0,z._subject=null,z._connection=null,V&&V.unsubscribe()}}}},6053:(N,G,v)=>{"use strict";v.d(G,{aj:()=>$});var b=v(2866),u=v(6688),I=v(826),L=v(9054),R=v(3009);const O={};function $(...F){let z=null,V=null;return(0,b.K)(F[F.length-1])&&(V=F.pop()),"function"==typeof F[F.length-1]&&(z=F.pop()),1===F.length&&(0,u.k)(F[0])&&(F=F[0]),(0,R.n)(F,V).lift(new U(z))}class U{constructor(z){this.resultSelector=z}call(z,V){return V.subscribe(new j(z,this.resultSelector))}}class j extends I.L{constructor(z,V){super(z),this.resultSelector=V,this.active=0,this.values=[],this.observables=[]}_next(z){this.values.push(O),this.observables.push(z)}_complete(){const z=this.observables,V=z.length;if(0===V)this.destination.complete();else{this.active=V,this.toRespond=V;for(let q=0;q{"use strict";v.d(G,{E:()=>u,c:()=>I});var b=v(2916);const u=new b.y(R=>R.complete());function I(R){return R?function L(R){return new b.y(O=>R.schedule(()=>O.complete()))}(R):u}},5254:(N,G,v)=>{"use strict";v.d(G,{D:()=>ie});var b=v(2916),u=v(9249),I=v(2654),L=v(3821),$=v(6454),U=v(5430),z=v(8955),V=v(8515);function ie(ee,oe){return oe?function J(ee,oe){if(null!=ee){if(function F(ee){return ee&&"function"==typeof ee[L.L]}(ee))return function R(ee,oe){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(oe.schedule(()=>{const He=ee[L.L]();Ae.add(He.subscribe({next(ft){Ae.add(oe.schedule(()=>Ce.next(ft)))},error(ft){Ae.add(oe.schedule(()=>Ce.error(ft)))},complete(){Ae.add(oe.schedule(()=>Ce.complete()))}}))})),Ae})}(ee,oe);if((0,z.t)(ee))return function O(ee,oe){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(oe.schedule(()=>ee.then(He=>{Ae.add(oe.schedule(()=>{Ce.next(He),Ae.add(oe.schedule(()=>Ce.complete()))}))},He=>{Ae.add(oe.schedule(()=>Ce.error(He)))}))),Ae})}(ee,oe);if((0,V.z)(ee))return(0,$.r)(ee,oe);if(function q(ee){return ee&&"function"==typeof ee[U.hZ]}(ee)||"string"==typeof ee)return function j(ee,oe){if(!ee)throw new Error("Iterable cannot be null");return new b.y(Ce=>{const Ae=new I.w;let He;return Ae.add(()=>{He&&"function"==typeof He.return&&He.return()}),Ae.add(oe.schedule(()=>{He=ee[U.hZ](),Ae.add(oe.schedule(function(){if(Ce.closed)return;let ft,_t;try{const Ue=He.next();ft=Ue.value,_t=Ue.done}catch(Ue){return void Ce.error(Ue)}_t?Ce.complete():(Ce.next(ft),this.schedule())}))})),Ae})}(ee,oe)}throw new TypeError((null!==ee&&typeof ee||ee)+" is not observable")}(ee,oe):ee instanceof b.y?ee:new b.y((0,u.s)(ee))}},3009:(N,G,v)=>{"use strict";v.d(G,{n:()=>L});var b=v(2916),u=v(3650),I=v(6454);function L(R,O){return O?(0,I.r)(R,O):new b.y((0,u.V)(R))}},6787:(N,G,v)=>{"use strict";v.d(G,{T:()=>R});var b=v(2916),u=v(2866),I=v(9146),L=v(3009);function R(...O){let $=Number.POSITIVE_INFINITY,U=null,j=O[O.length-1];return(0,u.K)(j)?(U=O.pop(),O.length>1&&"number"==typeof O[O.length-1]&&($=O.pop())):"number"==typeof j&&($=O.pop()),null===U&&1===O.length&&O[0]instanceof b.y?O[0]:(0,I.J)($)((0,L.n)(O,U))}},1086:(N,G,v)=>{"use strict";v.d(G,{of:()=>L});var b=v(2866),u=v(3009),I=v(6454);function L(...R){let O=R[R.length-1];return(0,b.K)(O)?(R.pop(),(0,I.r)(R,O)):(0,u.n)(R)}},1946:(N,G,v)=>{"use strict";v.d(G,{S3:()=>R});var b=v(6688),u=v(3009),I=v(826),L=v(9054);function R(...U){if(1===U.length){if(!(0,b.k)(U[0]))return U[0];U=U[0]}return(0,u.n)(U,void 0).lift(new O)}class O{call(j,F){return F.subscribe(new $(j))}}class $ extends I.L{constructor(j){super(j),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(j){this.observables.push(j)}_complete(){const j=this.observables,F=j.length;if(0===F)this.destination.complete();else{for(let z=0;z{"use strict";v.d(G,{_:()=>u});var b=v(2916);function u(L,R){return new b.y(R?O=>R.schedule(I,0,{error:L,subscriber:O}):O=>O.error(L))}function I({error:L,subscriber:R}){R.error(L)}},7221:(N,G,v)=>{"use strict";v.d(G,{K:()=>L});var b=v(826),u=v(1869),I=v(9054);function L($){return function(j){const F=new R($),z=j.lift(F);return F.caught=z}}class R{constructor(U){this.selector=U}call(U,j){return j.subscribe(new O(U,this.selector,this.caught))}}class O extends b.L{constructor(U,j,F){super(U),this.selector=j,this.caught=F}error(U){if(!this.isStopped){let j;try{j=this.selector(U,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const F=new u.d(this,void 0,void 0);this.add(F);const z=(0,I.D)(this,j,void 0,void 0,F);z!==F&&this.add(z)}}}},1406:(N,G,v)=>{"use strict";v.d(G,{b:()=>u});var b=v(1709);function u(I,L){return(0,b.zg)(I,L,1)}},13:(N,G,v)=>{"use strict";v.d(G,{b:()=>I});var b=v(3489),u=v(353);function I($,U=u.P){return j=>j.lift(new L($,U))}class L{constructor(U,j){this.dueTime=U,this.scheduler=j}call(U,j){return j.subscribe(new R(U,this.dueTime,this.scheduler))}}class R extends b.L{constructor(U,j,F){super(U),this.dueTime=j,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(U){this.clearDebounce(),this.lastValue=U,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(O,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:U}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(U)}}clearDebounce(){const U=this.debouncedSubscription;null!==U&&(this.remove(U),U.unsubscribe(),this.debouncedSubscription=null)}}function O($){$.debouncedNext()}},7314:(N,G,v)=>{"use strict";v.d(G,{d:()=>u});var b=v(3489);function u(R=null){return O=>O.lift(new I(R))}class I{constructor(O){this.defaultValue=O}call(O,$){return $.subscribe(new L(O,this.defaultValue))}}class L extends b.L{constructor(O,$){super(O),this.defaultValue=$,this.isEmpty=!0}_next(O){this.isEmpty=!1,this.destination.next(O)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(N,G,v)=>{"use strict";v.d(G,{g:()=>R});var b=v(353),u=v(2697),I=v(3489),L=v(9312);function R(j,F=b.P){const V=(0,u.J)(j)?+j-F.now():Math.abs(j);return q=>q.lift(new O(V,F))}class O{constructor(F,z){this.delay=F,this.scheduler=z}call(F,z){return z.subscribe(new $(F,this.delay,this.scheduler))}}class $ extends I.L{constructor(F,z,V){super(F),this.delay=z,this.scheduler=V,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const z=F.source,V=z.queue,q=F.scheduler,J=F.destination;for(;V.length>0&&V[0].time-q.now()<=0;)V.shift().notification.observe(J);if(V.length>0){const ie=Math.max(0,V[0].time-q.now());this.schedule(F,ie)}else this.unsubscribe(),z.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule($.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const z=this.scheduler,V=new U(z.now()+this.delay,F);this.queue.push(V),!1===this.active&&this._schedule(z)}_next(F){this.scheduleNotification(L.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(L.P.createComplete()),this.unsubscribe()}}class U{constructor(F,z){this.time=F,this.notification=z}}},2198:(N,G,v)=>{"use strict";v.d(G,{h:()=>u});var b=v(3489);function u(R,O){return function(U){return U.lift(new I(R,O))}}class I{constructor(O,$){this.predicate=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.predicate,this.thisArg))}}class L extends b.L{constructor(O,$,U){super(O),this.predicate=$,this.thisArg=U,this.count=0}_next(O){let $;try{$=this.predicate.call(this.thisArg,O,this.count++)}catch(U){return void this.destination.error(U)}$&&this.destination.next(O)}}},7224:(N,G,v)=>{"use strict";v.d(G,{P:()=>$});var b=v(4450),u=v(2198),I=v(2986),L=v(7314),R=v(4907),O=v(5379);function $(U,j){const F=arguments.length>=2;return z=>z.pipe(U?(0,u.h)((V,q)=>U(V,q,z)):O.y,(0,I.q)(1),F?(0,L.d)(j):(0,R.T)(()=>new b.K))}},4850:(N,G,v)=>{"use strict";v.d(G,{U:()=>u});var b=v(3489);function u(R,O){return function(U){if("function"!=typeof R)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return U.lift(new I(R,O))}}class I{constructor(O,$){this.project=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.project,this.thisArg))}}class L extends b.L{constructor(O,$,U){super(O),this.project=$,this.count=0,this.thisArg=U||this}_next(O){let $;try{$=this.project.call(this.thisArg,O,this.count++)}catch(U){return void this.destination.error(U)}this.destination.next($)}}},9146:(N,G,v)=>{"use strict";v.d(G,{J:()=>I});var b=v(1709),u=v(5379);function I(L=Number.POSITIVE_INFINITY){return(0,b.zg)(u.y,L)}},1709:(N,G,v)=>{"use strict";v.d(G,{zg:()=>O});var b=v(9054),u=v(826),I=v(1869),L=v(4850),R=v(5254);function O(j,F,z=Number.POSITIVE_INFINITY){return"function"==typeof F?V=>V.pipe(O((q,J)=>(0,R.D)(j(q,J)).pipe((0,L.U)((ie,ee)=>F(q,ie,J,ee))),z)):("number"==typeof F&&(z=F),V=>V.lift(new $(j,z)))}class ${constructor(F,z=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=z}call(F,z){return z.subscribe(new U(F,this.project,this.concurrent))}}class U extends u.L{constructor(F,z,V=Number.POSITIVE_INFINITY){super(F),this.project=z,this.concurrent=V,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(N,G,v)=>{"use strict";v.d(G,{x:()=>u});var b=v(3489);function u(){return function(O){return O.lift(new I(O))}}class I{constructor(O){this.connectable=O}call(O,$){const{connectable:U}=this;U._refCount++;const j=new L(O,U),F=$.subscribe(j);return j.closed||(j.connection=U.connect()),F}}class L extends b.L{constructor(O,$){super(O),this.connectable=$}_unsubscribe(){const{connectable:O}=this;if(!O)return void(this.connection=null);this.connectable=null;const $=O._refCount;if($<=0)return void(this.connection=null);if(O._refCount=$-1,$>1)return void(this.connection=null);const{connection:U}=this,j=O._connection;this.connection=null,j&&(!U||j===U)&&j.unsubscribe()}}},2474:(N,G,v)=>{"use strict";v.d(G,{B:()=>$});var b=v(1762);class I{constructor(j,F){this.subjectFactory=j,this.selector=F}call(j,F){const{selector:z}=this,V=this.subjectFactory(),q=z(V).subscribe(j);return q.add(F.subscribe(V)),q}}var L=v(4327),R=v(8929);function O(){return new R.xQ}function $(){return U=>(0,L.x)()(function u(U,j){return function(z){let V;if(V="function"==typeof U?U:function(){return U},"function"==typeof j)return z.lift(new I(V,j));const q=Object.create(z,b.N);return q.source=z,q.subjectFactory=V,q}}(O)(U))}},7545:(N,G,v)=>{"use strict";v.d(G,{w:()=>O});var b=v(826),u=v(1869),I=v(9054),L=v(4850),R=v(5254);function O(j,F){return"function"==typeof F?z=>z.pipe(O((V,q)=>(0,R.D)(j(V,q)).pipe((0,L.U)((J,ie)=>F(V,J,q,ie))))):z=>z.lift(new $(j))}class ${constructor(F){this.project=F}call(F,z){return z.subscribe(new U(F,this.project))}}class U extends b.L{constructor(F,z){super(F),this.project=z,this.index=0}_next(F){let z;const V=this.index++;try{z=this.project(F,V)}catch(q){return void this.destination.error(q)}this._innerSub(z,F,V)}_innerSub(F,z,V){const q=this.innerSubscription;q&&q.unsubscribe();const J=new u.d(this,z,V),ie=this.destination;ie.add(J),this.innerSubscription=(0,I.D)(this,F,void 0,void 0,J),this.innerSubscription!==J&&ie.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,z,V,q,J){this.destination.next(z)}}},2986:(N,G,v)=>{"use strict";v.d(G,{q:()=>L});var b=v(3489),u=v(4231),I=v(8896);function L($){return U=>0===$?(0,I.c)():U.lift(new R($))}class R{constructor(U){if(this.total=U,this.total<0)throw new u.W}call(U,j){return j.subscribe(new O(U,this.total))}}class O extends b.L{constructor(U,j){super(U),this.total=j,this.count=0}_next(U){const j=this.total,F=++this.count;F<=j&&(this.destination.next(U),F===j&&(this.destination.complete(),this.unsubscribe()))}}},2868:(N,G,v)=>{"use strict";v.d(G,{b:()=>L});var b=v(3489);function u(){}var I=v(7043);function L($,U,j){return function(z){return z.lift(new R($,U,j))}}class R{constructor(U,j,F){this.nextOrObserver=U,this.error=j,this.complete=F}call(U,j){return j.subscribe(new O(U,this.nextOrObserver,this.error,this.complete))}}class O extends b.L{constructor(U,j,F,z){super(U),this._tapNext=u,this._tapError=u,this._tapComplete=u,this._tapError=F||u,this._tapComplete=z||u,(0,I.m)(j)?(this._context=this,this._tapNext=j):j&&(this._context=j,this._tapNext=j.next||u,this._tapError=j.error||u,this._tapComplete=j.complete||u)}_next(U){try{this._tapNext.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.next(U)}_error(U){try{this._tapError.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.error(U)}_complete(){try{this._tapComplete.call(this._context)}catch(U){return void this.destination.error(U)}return this.destination.complete()}}},4907:(N,G,v)=>{"use strict";v.d(G,{T:()=>I});var b=v(4450),u=v(3489);function I($=O){return U=>U.lift(new L($))}class L{constructor(U){this.errorFactory=U}call(U,j){return j.subscribe(new R(U,this.errorFactory))}}class R extends u.L{constructor(U,j){super(U),this.errorFactory=j,this.hasValue=!1}_next(U){this.hasValue=!0,this.destination.next(U)}_complete(){if(this.hasValue)return this.destination.complete();{let U;try{U=this.errorFactory()}catch(j){U=j}this.destination.error(U)}}}function O(){return new b.K}},6227:(N,G,v)=>{"use strict";v.d(G,{V:()=>z});var b=v(353);const I=(()=>{function V(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return V.prototype=Object.create(Error.prototype),V})();var L=v(2697),R=v(826),O=v(9054);class U{constructor(q,J,ie,ee){this.waitFor=q,this.absoluteTimeout=J,this.withObservable=ie,this.scheduler=ee}call(q,J){return J.subscribe(new j(q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class j extends R.L{constructor(q,J,ie,ee,oe){super(q),this.absoluteTimeout=J,this.waitFor=ie,this.withObservable=ee,this.scheduler=oe,this.action=null,this.scheduleTimeout()}static dispatchTimeout(q){const{withObservable:J}=q;q._unsubscribeAndRecycle(),q.add((0,O.D)(q,J))}scheduleTimeout(){const{action:q}=this;q?this.action=q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(j.dispatchTimeout,this.waitFor,this))}_next(q){this.absoluteTimeout||this.scheduleTimeout(),super._next(q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=v(1737);function z(V,q=b.P){return function $(V,q,J=b.P){return ie=>{let ee=(0,L.J)(V),oe=ee?+V-J.now():Math.abs(V);return ie.lift(new U(oe,ee,q,J))}}(V,(0,F._)(new I),q)}},6454:(N,G,v)=>{"use strict";v.d(G,{r:()=>I});var b=v(2916),u=v(2654);function I(L,R){return new b.y(O=>{const $=new u.w;let U=0;return $.add(R.schedule(function(){U!==L.length?(O.next(L[U++]),O.closed||$.add(this.schedule())):O.complete()})),$})}},6686:(N,G,v)=>{"use strict";v.d(G,{o:()=>I});var b=v(2654);class u extends b.w{constructor(R,O){super()}schedule(R,O=0){return this}}class I extends u{constructor(R,O){super(R,O),this.scheduler=R,this.work=O,this.pending=!1}schedule(R,O=0){if(this.closed)return this;this.state=R;const $=this.id,U=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(U,$,O)),this.pending=!0,this.delay=O,this.id=this.id||this.requestAsyncId(U,this.id,O),this}requestAsyncId(R,O,$=0){return setInterval(R.flush.bind(R,this),$)}recycleAsyncId(R,O,$=0){if(null!==$&&this.delay===$&&!1===this.pending)return O;clearInterval(O)}execute(R,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(R,O);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,O){let U,$=!1;try{this.work(R)}catch(j){$=!0,U=!!j&&j||new Error(j)}if($)return this.unsubscribe(),U}_unsubscribe(){const R=this.id,O=this.scheduler,$=O.actions,U=$.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==U&&$.splice(U,1),null!=R&&(this.id=this.recycleAsyncId(O,R,null)),this.delay=null}}},2268:(N,G,v)=>{"use strict";v.d(G,{v:()=>u});let b=(()=>{class I{constructor(R,O=I.now){this.SchedulerAction=R,this.now=O}schedule(R,O=0,$){return new this.SchedulerAction(this,R).schedule($,O)}}return I.now=()=>Date.now(),I})();class u extends b{constructor(L,R=b.now){super(L,()=>u.delegate&&u.delegate!==this?u.delegate.now():R()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(L,R=0,O){return u.delegate&&u.delegate!==this?u.delegate.schedule(L,R,O):super.schedule(L,R,O)}flush(L){const{actions:R}=this;if(this.active)return void R.push(L);let O;this.active=!0;do{if(O=L.execute(L.state,L.delay))break}while(L=R.shift());if(this.active=!1,O){for(;L=R.shift();)L.unsubscribe();throw O}}}},353:(N,G,v)=>{"use strict";v.d(G,{P:()=>I});var b=v(6686);const I=new(v(2268).v)(b.o)},5430:(N,G,v)=>{"use strict";v.d(G,{hZ:()=>u});const u=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(N,G,v)=>{"use strict";v.d(G,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(N,G,v)=>{"use strict";v.d(G,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(N,G,v)=>{"use strict";v.d(G,{W:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return I.prototype=Object.create(Error.prototype),I})()},4450:(N,G,v)=>{"use strict";v.d(G,{K:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return I.prototype=Object.create(Error.prototype),I})()},5279:(N,G,v)=>{"use strict";v.d(G,{N:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return I.prototype=Object.create(Error.prototype),I})()},2782:(N,G,v)=>{"use strict";function b(u){setTimeout(()=>{throw u},0)}v.d(G,{z:()=>b})},5379:(N,G,v)=>{"use strict";function b(u){return u}v.d(G,{y:()=>b})},6688:(N,G,v)=>{"use strict";v.d(G,{k:()=>b});const b=Array.isArray||(u=>u&&"number"==typeof u.length)},8515:(N,G,v)=>{"use strict";v.d(G,{z:()=>b});const b=u=>u&&"number"==typeof u.length&&"function"!=typeof u},2697:(N,G,v)=>{"use strict";function b(u){return u instanceof Date&&!isNaN(+u)}v.d(G,{J:()=>b})},7043:(N,G,v)=>{"use strict";function b(u){return"function"==typeof u}v.d(G,{m:()=>b})},7830:(N,G,v)=>{"use strict";function b(u){return null!==u&&"object"==typeof u}v.d(G,{K:()=>b})},8955:(N,G,v)=>{"use strict";function b(u){return!!u&&"function"!=typeof u.subscribe&&"function"==typeof u.then}v.d(G,{t:()=>b})},2866:(N,G,v)=>{"use strict";function b(u){return u&&"function"==typeof u.schedule}v.d(G,{K:()=>b})},9249:(N,G,v)=>{"use strict";v.d(G,{s:()=>z});var b=v(3650),u=v(2782),L=v(5430),O=v(3821),U=v(8515),j=v(8955),F=v(7830);const z=V=>{if(V&&"function"==typeof V[O.L])return(V=>q=>{const J=V[O.L]();if("function"!=typeof J.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return J.subscribe(q)})(V);if((0,U.z)(V))return(0,b.V)(V);if((0,j.t)(V))return(V=>q=>(V.then(J=>{q.closed||(q.next(J),q.complete())},J=>q.error(J)).then(null,u.z),q))(V);if(V&&"function"==typeof V[L.hZ])return(V=>q=>{const J=V[L.hZ]();for(;;){const ie=J.next();if(ie.done){q.complete();break}if(q.next(ie.value),q.closed)break}return"function"==typeof J.return&&q.add(()=>{J.return&&J.return()}),q})(V);{const J=`You provided ${(0,F.K)(V)?"an invalid object":`'${V}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(J)}}},3650:(N,G,v)=>{"use strict";v.d(G,{V:()=>b});const b=u=>I=>{for(let L=0,R=u.length;L{"use strict";v.d(G,{D:()=>L});var b=v(1869),u=v(9249),I=v(2916);function L(R,O,$,U,j=new b.d(R,$,U)){if(!j.closed)return O instanceof I.y?O.subscribe(j):(0,u.s)(O)(j)}},655:(N,G,v)=>{"use strict";function U(re,ue,de,le){return new(de||(de=Promise))(function(se,et){function At(Je){try{Ne(le.next(Je))}catch(An){et(An)}}function Ii(Je){try{Ne(le.throw(Je))}catch(An){et(An)}}function Ne(Je){Je.done?se(Je.value):function be(se){return se instanceof de?se:new de(function(et){et(se)})}(Je.value).then(At,Ii)}Ne((le=le.apply(re,ue||[])).next())})}v.d(G,{mG:()=>U})},9808:(N,G,v)=>{"use strict";v.d(G,{mr:()=>Ae,Ov:()=>Qe,ez:()=>ds,K0:()=>$,Do:()=>ft,V_:()=>F,Ye:()=>_t,S$:()=>oe,mk:()=>Rr,sg:()=>wi,O5:()=>Gi,PC:()=>Yu,RF:()=>Fi,n9:()=>Ui,b0:()=>He,lw:()=>U,EM:()=>ed,JF:()=>Ft,NF:()=>fi,w_:()=>O,bD:()=>pa,q:()=>I,Mx:()=>ua,HT:()=>R});var b=v(5e3);let u=null;function I(){return u}function R(k){u||(u=k)}class O{}const $=new b.OlP("DocumentToken");let U=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function j(){return(0,b.LFG)(z)}()},providedIn:"platform"}),k})();const F=new b.OlP("Location Initialized");let z=(()=>{class k extends U{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",E,!1),()=>P.removeEventListener("popstate",E)}onHashChange(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",E,!1),()=>P.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,P,Y){V()?this._history.pushState(E,P,Y):this.location.hash=Y}replaceState(E,P,Y){V()?this._history.replaceState(E,P,Y):this.location.hash=Y}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return k.\u0275fac=function(E){return new(E||k)(b.LFG($))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function q(){return new z((0,b.LFG)($))}()},providedIn:"platform"}),k})();function V(){return!!window.history.pushState}function J(k,x){if(0==k.length)return x;if(0==x.length)return k;let E=0;return k.endsWith("/")&&E++,x.startsWith("/")&&E++,2==E?k+x.substring(1):1==E?k+x:k+"/"+x}function ie(k){const x=k.match(/#|\?|$/),E=x&&x.index||k.length;return k.slice(0,E-("/"===k[E-1]?1:0))+k.slice(E)}function ee(k){return k&&"?"!==k[0]?"?"+k:k}let oe=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ce(k){const x=(0,b.LFG)($).location;return new He((0,b.LFG)(U),x&&x.origin||"")}()},providedIn:"root"}),k})();const Ae=new b.OlP("appBaseHref");let He=(()=>{class k extends oe{constructor(E,P){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==P&&(P=this._platformLocation.getBaseHrefFromDOM()),null==P)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=P}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return J(this._baseHref,E)}path(E=!1){const P=this._platformLocation.pathname+ee(this._platformLocation.search),Y=this._platformLocation.hash;return Y&&E?`${P}${Y}`:P}pushState(E,P,Y,ae){const ge=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.pushState(E,P,ge)}replaceState(E,P,Y,ae){const ge=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.replaceState(E,P,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(U),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),ft=(()=>{class k extends oe{constructor(E,P){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(E){const P=J(this._baseHref,E);return P.length>0?"#"+P:P}pushState(E,P,Y,ae){let ge=this.prepareExternalUrl(Y+ee(ae));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.pushState(E,P,ge)}replaceState(E,P,Y,ae){let ge=this.prepareExternalUrl(Y+ee(ae));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.replaceState(E,P,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(U),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),_t=(()=>{class k{constructor(E,P){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const Y=this._platformStrategy.getBaseHref();this._platformLocation=P,this._baseHref=ie(Tt(Y)),this._platformStrategy.onPopState(ae=>{this._subject.emit({url:this.path(!0),pop:!0,state:ae.state,type:ae.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,P=""){return this.path()==this.normalize(E+ee(P))}normalize(E){return k.stripTrailingSlash(function mi(k,x){return k&&x.startsWith(k)?x.substring(k.length):x}(this._baseHref,Tt(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,P="",Y=null){this._platformStrategy.pushState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}replaceState(E,P="",Y=null){this._platformStrategy.replaceState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformStrategy).historyGo)||void 0===Y||Y.call(P,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)}))}_notifyUrlChangeListeners(E="",P){this._urlChangeListeners.forEach(Y=>Y(E,P))}subscribe(E,P,Y){return this._subject.subscribe({next:E,error:P,complete:Y})}}return k.normalizeQueryParams=ee,k.joinWithSlash=J,k.stripTrailingSlash=ie,k.\u0275fac=function(E){return new(E||k)(b.LFG(oe),b.LFG(U))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ue(){return new _t((0,b.LFG)(oe),(0,b.LFG)(U))}()},providedIn:"root"}),k})();function Tt(k){return k.replace(/\/index.html$/,"")}var ue=(()=>((ue=ue||{})[ue.Zero=0]="Zero",ue[ue.One=1]="One",ue[ue.Two=2]="Two",ue[ue.Few=3]="Few",ue[ue.Many=4]="Many",ue[ue.Other=5]="Other",ue))();const rr=b.kL8;class St{}let sr=(()=>{class k extends St{constructor(E){super(),this.locale=E}getPluralCategory(E,P){switch(rr(P||this.locale)(E)){case ue.Zero:return"zero";case ue.One:return"one";case ue.Two:return"two";case ue.Few:return"few";case ue.Many:return"many";default:return"other"}}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(b.soG))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})();function ua(k,x){x=encodeURIComponent(x);for(const E of k.split(";")){const P=E.indexOf("="),[Y,ae]=-1==P?[E,""]:[E.slice(0,P),E.slice(P+1)];if(Y.trim()===x)return decodeURIComponent(ae)}return null}let Rr=(()=>{class k{constructor(E,P,Y,ae){this._iterableDiffers=E,this._keyValueDiffers=P,this._ngEl=Y,this._renderer=ae,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachChangedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachRemovedItem(P=>{P.previousValue&&this._toggleClass(P.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(P=>{if("string"!=typeof P.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(P.item)}`);this._toggleClass(P.item,!0)}),E.forEachRemovedItem(P=>this._toggleClass(P.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!0)):Object.keys(E).forEach(P=>this._toggleClass(P,!!E[P])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!1)):Object.keys(E).forEach(P=>this._toggleClass(P,!1)))}_toggleClass(E,P){(E=E.trim())&&E.split(/\s+/g).forEach(Y=>{P?this._renderer.addClass(this._ngEl.nativeElement,Y):this._renderer.removeClass(this._ngEl.nativeElement,Y)})}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),k})();class go{constructor(x,E,P,Y){this.$implicit=x,this.ngForOf=E,this.index=P,this.count=Y}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 wi=(()=>{class k{constructor(E,P,Y){this._viewContainer=E,this._template=P,this._differs=Y,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const P=this._viewContainer;E.forEachOperation((Y,ae,ge)=>{if(null==Y.previousIndex)P.createEmbeddedView(this._template,new go(Y.item,this._ngForOf,-1,-1),null===ge?void 0:ge);else if(null==ge)P.remove(null===ae?void 0:ae);else if(null!==ae){const ke=P.get(ae);P.move(ke,ge),mo(ke,Y)}});for(let Y=0,ae=P.length;Y{mo(P.get(Y.currentIndex),Y)})}static ngTemplateContextGuard(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),k})();function mo(k,x){k.context.$implicit=x.item}let Gi=(()=>{class k{constructor(E,P){this._viewContainer=E,this._context=new Pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Wu("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Wu("ngIfElse",E),this._elseTemplateRef=E,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(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),k})();class Pt{constructor(){this.$implicit=null,this.ngIf=null}}function Wu(k,x){if(x&&!x.createEmbeddedView)throw new Error(`${k} must be a TemplateRef, but received '${(0,b.AaK)(x)}'.`)}class Nc{constructor(x,E){this._viewContainerRef=x,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(x){x&&!this._created?this.create():!x&&this._created&&this.destroy()}}let Fi=(()=>{class k{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const P=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let P=0;P{class k{constructor(E,P,Y){this.ngSwitch=Y,Y._addCase(),this._view=new Nc(E,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Fi,9))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),k})(),Yu=(()=>{class k{constructor(E,P,Y){this._ngEl=E,this._differs=P,this._renderer=Y,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,P){const[Y,ae]=E.split(".");null!=(P=null!=P&&ae?`${P}${ae}`:P)?this._renderer.setStyle(this._ngEl.nativeElement,Y,P):this._renderer.removeStyle(this._ngEl.nativeElement,Y)}_applyChanges(E){E.forEachRemovedItem(P=>this._setStyle(P.key,null)),E.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),E.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),k})();class pp{createSubscription(x,E){return x.subscribe({next:E,error:P=>{throw P}})}dispose(x){x.unsubscribe()}onDestroy(x){x.unsubscribe()}}class nt{createSubscription(x,E){return x.then(E,P=>{throw P})}dispose(x){}onDestroy(x){}}const gp=new nt,ki=new pp;let Qe=(()=>{class k{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,P=>this._updateLatestValue(E,P))}_selectStrategy(E){if((0,b.QGY)(E))return gp;if((0,b.F4k)(E))return ki;throw function fn(k,x){return new b.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,P){E===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.sBO,16))},k.\u0275pipe=b.Yjl({name:"async",type:k,pure:!1}),k})(),ds=(()=>{class k{}return k.\u0275fac=function(E){return new(E||k)},k.\u0275mod=b.oAB({type:k}),k.\u0275inj=b.cJS({providers:[{provide:St,useClass:sr}]}),k})();const pa="browser";function fi(k){return k===pa}let ed=(()=>{class k{}return k.\u0275prov=(0,b.Yz7)({token:k,providedIn:"root",factory:()=>new wo((0,b.LFG)($),window)}),k})();class wo{constructor(x,E){this.document=x,this.window=E,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const E=function hs(k,x){const E=k.getElementById(x)||k.getElementsByName(x)[0];if(E)return E;if("function"==typeof k.createTreeWalker&&k.body&&(k.body.createShadowRoot||k.body.attachShadow)){const P=k.createTreeWalker(k.body,NodeFilter.SHOW_ELEMENT);let Y=P.currentNode;for(;Y;){const ae=Y.shadowRoot;if(ae){const ge=ae.getElementById(x)||ae.querySelector(`[name="${x}"]`);if(ge)return ge}Y=P.nextNode()}}return null}(this.document,x);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=x)}}scrollToElement(x){const E=x.getBoundingClientRect(),P=E.left+this.window.pageXOffset,Y=E.top+this.window.pageYOffset,ae=this.offset();this.window.scrollTo(P-ae[0],Y-ae[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=bo(this.window.history)||bo(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch(x){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(x){return!1}}}function bo(k){return Object.getOwnPropertyDescriptor(k,"scrollRestoration")}class Ft{}},520:(N,G,v)=>{"use strict";v.d(G,{TP:()=>At,eN:()=>se,JF:()=>_i,WM:()=>F,LE:()=>oe,Zn:()=>de});var b=v(9808),u=v(5e3),I=v(1086),L=v(2916),R=v(1406),O=v(2198),$=v(4850);class U{}class j{}class F{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(X=>{const we=X.indexOf(":");if(we>0){const ye=X.slice(0,we),Me=ye.toLowerCase(),Se=X.slice(we+1).trim();this.maybeSetNormalizedName(ye,Me),this.headers.has(Me)?this.headers.get(Me).push(Se):this.headers.set(Me,[Se])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(X=>{let we=Q[X];const ye=X.toLowerCase();"string"==typeof we&&(we=[we]),we.length>0&&(this.headers.set(ye,we),this.maybeSetNormalizedName(X,ye))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const X=this.headers.get(Q.toLowerCase());return X&&X.length>0?X[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,X){return this.clone({name:Q,value:X,op:"a"})}set(Q,X){return this.clone({name:Q,value:X,op:"s"})}delete(Q,X){return this.clone({name:Q,value:X,op:"d"})}maybeSetNormalizedName(Q,X){this.normalizedNames.has(X)||this.normalizedNames.set(X,Q)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(X=>{this.headers.set(X,Q.headers.get(X)),this.normalizedNames.set(X,Q.normalizedNames.get(X))})}clone(Q){const X=new F;return X.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,X.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),X}applyUpdate(Q){const X=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let we=Q.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(Q.name,X);const ye=("a"===Q.op?this.headers.get(X):void 0)||[];ye.push(...we),this.headers.set(X,ye);break;case"d":const Me=Q.value;if(Me){let Se=this.headers.get(X);if(!Se)return;Se=Se.filter(Oe=>-1===Me.indexOf(Oe)),0===Se.length?(this.headers.delete(X),this.normalizedNames.delete(X)):this.headers.set(X,Se)}else this.headers.delete(X),this.normalizedNames.delete(X)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(X=>Q(this.normalizedNames.get(X),this.headers.get(X)))}}class z{encodeKey(Q){return ie(Q)}encodeValue(Q){return ie(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ie(me){return encodeURIComponent(me).replace(q,(Q,X)=>{var we;return null!==(we=J[X])&&void 0!==we?we:Q})}function ee(me){return`${me}`}class oe{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new z,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function V(me,Q){const X=new Map;return me.length>0&&me.replace(/^\?/,"").split("&").forEach(ye=>{const Me=ye.indexOf("="),[Se,Oe]=-1==Me?[Q.decodeKey(ye),""]:[Q.decodeKey(ye.slice(0,Me)),Q.decodeValue(ye.slice(Me+1))],ut=X.get(Se)||[];ut.push(Oe),X.set(Se,ut)}),X}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(X=>{const we=Q.fromObject[X];this.map.set(X,Array.isArray(we)?we:[we])})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const X=this.map.get(Q);return X?X[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,X){return this.clone({param:Q,value:X,op:"a"})}appendAll(Q){const X=[];return Object.keys(Q).forEach(we=>{const ye=Q[we];Array.isArray(ye)?ye.forEach(Me=>{X.push({param:we,value:Me,op:"a"})}):X.push({param:we,value:ye,op:"a"})}),this.clone(X)}set(Q,X){return this.clone({param:Q,value:X,op:"s"})}delete(Q,X){return this.clone({param:Q,value:X,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const X=this.encoder.encodeKey(Q);return this.map.get(Q).map(we=>X+"="+this.encoder.encodeValue(we)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const X=new oe({encoder:this.encoder});return X.cloneFrom=this.cloneFrom||this,X.updates=(this.updates||[]).concat(Q),X}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const X=("a"===Q.op?this.map.get(Q.param):void 0)||[];X.push(ee(Q.value)),this.map.set(Q.param,X);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let we=this.map.get(Q.param)||[];const ye=we.indexOf(ee(Q.value));-1!==ye&&we.splice(ye,1),we.length>0?this.map.set(Q.param,we):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class Ae{constructor(){this.map=new Map}set(Q,X){return this.map.set(Q,X),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function ft(me){return"undefined"!=typeof ArrayBuffer&&me instanceof ArrayBuffer}function _t(me){return"undefined"!=typeof Blob&&me instanceof Blob}function Ue(me){return"undefined"!=typeof FormData&&me instanceof FormData}class Tt{constructor(Q,X,we,ye){let Me;if(this.url=X,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function He(me){switch(me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==we?we:null,Me=ye):Me=we,Me&&(this.reportProgress=!!Me.reportProgress,this.withCredentials=!!Me.withCredentials,Me.responseType&&(this.responseType=Me.responseType),Me.headers&&(this.headers=Me.headers),Me.context&&(this.context=Me.context),Me.params&&(this.params=Me.params)),this.headers||(this.headers=new F),this.context||(this.context=new Ae),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=X;else{const Oe=X.indexOf("?");this.urlWithParams=X+(-1===Oe?"?":OeZt.set(ct,Q.setHeaders[ct]),Yt)),Q.setParams&&(at=Object.keys(Q.setParams).reduce((Zt,ct)=>Zt.set(ct,Q.setParams[ct]),at)),new Tt(we,ye,Se,{params:at,headers:Yt,context:jn,reportProgress:ut,responseType:Me,withCredentials:Oe})}}var Ze=(()=>((Ze=Ze||{})[Ze.Sent=0]="Sent",Ze[Ze.UploadProgress=1]="UploadProgress",Ze[Ze.ResponseHeader=2]="ResponseHeader",Ze[Ze.DownloadProgress=3]="DownloadProgress",Ze[Ze.Response=4]="Response",Ze[Ze.User=5]="User",Ze))();class re{constructor(Q,X=200,we="OK"){this.headers=Q.headers||new F,this.status=void 0!==Q.status?Q.status:X,this.statusText=Q.statusText||we,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends re{constructor(Q={}){super(Q),this.type=Ze.ResponseHeader}clone(Q={}){return new ue({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class de extends re{constructor(Q={}){super(Q),this.type=Ze.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new de({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class le extends re{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function be(me,Q){return{body:Q,headers:me.headers,context:me.context,observe:me.observe,params:me.params,reportProgress:me.reportProgress,responseType:me.responseType,withCredentials:me.withCredentials}}let se=(()=>{class me{constructor(X){this.handler=X}request(X,we,ye={}){let Me;if(X instanceof Tt)Me=X;else{let ut,Yt;ut=ye.headers instanceof F?ye.headers:new F(ye.headers),ye.params&&(Yt=ye.params instanceof oe?ye.params:new oe({fromObject:ye.params})),Me=new Tt(X,we,void 0!==ye.body?ye.body:null,{headers:ut,context:ye.context,params:Yt,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials})}const Se=(0,I.of)(Me).pipe((0,R.b)(ut=>this.handler.handle(ut)));if(X instanceof Tt||"events"===ye.observe)return Se;const Oe=Se.pipe((0,O.h)(ut=>ut instanceof de));switch(ye.observe||"body"){case"body":switch(Me.responseType){case"arraybuffer":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body}));case"blob":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body}));case"text":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body}));default:return Oe.pipe((0,$.U)(ut=>ut.body))}case"response":return Oe;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(X,we={}){return this.request("DELETE",X,we)}get(X,we={}){return this.request("GET",X,we)}head(X,we={}){return this.request("HEAD",X,we)}jsonp(X,we){return this.request("JSONP",X,{params:(new oe).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,we={}){return this.request("OPTIONS",X,we)}patch(X,we,ye={}){return this.request("PATCH",X,be(ye,we))}post(X,we,ye={}){return this.request("POST",X,be(ye,we))}put(X,we,ye={}){return this.request("PUT",X,be(ye,we))}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(U))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();class et{constructor(Q,X){this.next=Q,this.interceptor=X}handle(Q){return this.interceptor.intercept(Q,this.next)}}const At=new u.OlP("HTTP_INTERCEPTORS");let Ii=(()=>{class me{intercept(X,we){return we.handle(X)}}return me.\u0275fac=function(X){return new(X||me)},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();const Cn=/^\)\]\}',?\n/;let nr=(()=>{class me{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new L.y(we=>{const ye=this.xhrFactory.build();if(ye.open(X.method,X.urlWithParams),X.withCredentials&&(ye.withCredentials=!0),X.headers.forEach((ct,Re)=>ye.setRequestHeader(ct,Re.join(","))),X.headers.has("Accept")||ye.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const ct=X.detectContentTypeHeader();null!==ct&&ye.setRequestHeader("Content-Type",ct)}if(X.responseType){const ct=X.responseType.toLowerCase();ye.responseType="json"!==ct?ct:"text"}const Me=X.serializeBody();let Se=null;const Oe=()=>{if(null!==Se)return Se;const ct=ye.statusText||"OK",Re=new F(ye.getAllResponseHeaders()),cn=function oi(me){return"responseURL"in me&&me.responseURL?me.responseURL:/^X-Request-URL:/m.test(me.getAllResponseHeaders())?me.getResponseHeader("X-Request-URL"):null}(ye)||X.url;return Se=new ue({headers:Re,status:ye.status,statusText:ct,url:cn}),Se},ut=()=>{let{headers:ct,status:Re,statusText:cn,url:vt}=Oe(),Jt=null;204!==Re&&(Jt=void 0===ye.response?ye.responseText:ye.response),0===Re&&(Re=Jt?200:0);let Tn=Re>=200&&Re<300;if("json"===X.responseType&&"string"==typeof Jt){const ln=Jt;Jt=Jt.replace(Cn,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(En){Jt=ln,Tn&&(Tn=!1,Jt={error:En,text:Jt})}}Tn?(we.next(new de({body:Jt,headers:ct,status:Re,statusText:cn,url:vt||void 0})),we.complete()):we.error(new le({error:Jt,headers:ct,status:Re,statusText:cn,url:vt||void 0}))},Yt=ct=>{const{url:Re}=Oe(),cn=new le({error:ct,status:ye.status||0,statusText:ye.statusText||"Unknown Error",url:Re||void 0});we.error(cn)};let at=!1;const jn=ct=>{at||(we.next(Oe()),at=!0);let Re={type:Ze.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(Re.total=ct.total),"text"===X.responseType&&!!ye.responseText&&(Re.partialText=ye.responseText),we.next(Re)},Zt=ct=>{let Re={type:Ze.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(Re.total=ct.total),we.next(Re)};return ye.addEventListener("load",ut),ye.addEventListener("error",Yt),ye.addEventListener("timeout",Yt),ye.addEventListener("abort",Yt),X.reportProgress&&(ye.addEventListener("progress",jn),null!==Me&&ye.upload&&ye.upload.addEventListener("progress",Zt)),ye.send(Me),we.next({type:Ze.Sent}),()=>{ye.removeEventListener("error",Yt),ye.removeEventListener("abort",Yt),ye.removeEventListener("load",ut),ye.removeEventListener("timeout",Yt),X.reportProgress&&(ye.removeEventListener("progress",jn),null!==Me&&ye.upload&&ye.upload.removeEventListener("progress",Zt)),ye.readyState!==ye.DONE&&ye.abort()}})}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(b.JF))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();const is=new u.OlP("XSRF_COOKIE_NAME"),ns=new u.OlP("XSRF_HEADER_NAME");class rs{}let Dr=(()=>{class me{constructor(X,we,ye){this.doc=X,this.platform=we,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(b.K0),u.LFG(u.Lbi),u.LFG(is))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),rr=(()=>{class me{constructor(X,we){this.tokenService=X,this.headerName=we}intercept(X,we){const ye=X.url.toLowerCase();if("GET"===X.method||"HEAD"===X.method||ye.startsWith("http://")||ye.startsWith("https://"))return we.handle(X);const Me=this.tokenService.getToken();return null!==Me&&!X.headers.has(this.headerName)&&(X=X.clone({headers:X.headers.set(this.headerName,Me)})),we.handle(X)}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(rs),u.LFG(ns))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),Mr=(()=>{class me{constructor(X,we){this.backend=X,this.injector=we,this.chain=null}handle(X){if(null===this.chain){const we=this.injector.get(At,[]);this.chain=we.reduceRight((ye,Me)=>new et(ye,Me),this.backend)}return this.chain.handle(X)}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(j),u.LFG(u.zs3))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),aa=(()=>{class me{static disable(){return{ngModule:me,providers:[{provide:rr,useClass:Ii}]}}static withOptions(X={}){return{ngModule:me,providers:[X.cookieName?{provide:is,useValue:X.cookieName}:[],X.headerName?{provide:ns,useValue:X.headerName}:[]]}}}return me.\u0275fac=function(X){return new(X||me)},me.\u0275mod=u.oAB({type:me}),me.\u0275inj=u.cJS({providers:[rr,{provide:At,useExisting:rr,multi:!0},{provide:rs,useClass:Dr},{provide:is,useValue:"XSRF-TOKEN"},{provide:ns,useValue:"X-XSRF-TOKEN"}]}),me})(),_i=(()=>{class me{}return me.\u0275fac=function(X){return new(X||me)},me.\u0275mod=u.oAB({type:me}),me.\u0275inj=u.cJS({providers:[se,{provide:U,useClass:Mr},nr,{provide:j,useExisting:nr}],imports:[[aa.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),me})()},5e3:(N,G,v)=>{"use strict";v.d(G,{deG:()=>B0,tb:()=>W_,AFp:()=>U_,ip1:()=>Tc,CZH:()=>Zs,hGG:()=>mS,z2F:()=>qo,sBO:()=>hS,Sil:()=>Ec,_Vd:()=>Ni,EJc:()=>Y_,SBq:()=>Ks,qLn:()=>_n,vpe:()=>Ln,tBr:()=>ul,XFs:()=>We,OlP:()=>zt,zs3:()=>On,ZZ4:()=>kc,aQg:()=>ea,soG:()=>Iu,YKP:()=>lf,h0i:()=>jo,PXZ:()=>ry,R0b:()=>Vi,FiY:()=>_s,Lbi:()=>$_,g9A:()=>q_,n_E:()=>$s,Qsj:()=>KA,FYo:()=>rf,JOm:()=>ot,q3G:()=>Kt,tp0:()=>Sa,Rgc:()=>_c,dDg:()=>J_,GfV:()=>oo,s_b:()=>Cu,ifc:()=>Me,eFA:()=>EC,G48:()=>MC,Gpc:()=>z,f3M:()=>kw,_c5:()=>Ay,VLi:()=>ty,c2e:()=>Pf,zSh:()=>jl,wAp:()=>Ke,vHH:()=>ie,EiD:()=>Nw,mCW:()=>bs,qzn:()=>Ma,JVY:()=>wT,pB0:()=>CT,eBb:()=>vT,L6k:()=>bT,LAX:()=>AT,cg1:()=>Bo,kL8:()=>nA,yhl:()=>Hw,dqk:()=>at,sIi:()=>Xr,CqO:()=>vv,QGY:()=>vm,F4k:()=>bv,RDi:()=>bo,AaK:()=>U,z3N:()=>Vr,qOj:()=>Th,TTD:()=>yo,_Bn:()=>l_,xp6:()=>Ml,uIk:()=>Yl,ekj:()=>Lh,Suo:()=>Tf,Xpm:()=>la,lG2:()=>Lt,Yz7:()=>Ot,cJS:()=>Cn,oAB:()=>po,Yjl:()=>Bt,Y36:()=>Ls,_UZ:()=>mv,GkF:()=>yv,BQk:()=>bm,ynx:()=>Oh,qZA:()=>wm,TgZ:()=>vr,EpF:()=>wv,n5z:()=>yw,Ikx:()=>$h,LFG:()=>pi,$8M:()=>rl,$Z:()=>_m,NdJ:()=>Am,CRH:()=>k_,kcU:()=>lw,O4$:()=>Dp,oxw:()=>Cv,ALo:()=>bu,lcZ:()=>qs,xi3:()=>v_,Dn7:()=>A_,Hsn:()=>Em,F$t:()=>Tv,Q6J:()=>Ih,s9C:()=>Fh,VKq:()=>_u,iGM:()=>S_,MAs:()=>am,CHM:()=>Ap,oJD:()=>tg,LSH:()=>Md,Udp:()=>zh,WFA:()=>Cm,d8E:()=>zo,YNc:()=>sm,_uU:()=>Lm,Oqu:()=>Kh,hij:()=>nc,AsE:()=>Gh,Gf:()=>Cf});var b=v(8929),u=v(2654),I=v(2916),L=v(6787),R=v(2474);function O(c){for(let l in c)if(c[l]===O)return l;throw Error("Could not find renamed property on target object.")}function $(c,l){for(const f in l)l.hasOwnProperty(f)&&!c.hasOwnProperty(f)&&(c[f]=l[f])}function U(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(U).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const l=c.toString();if(null==l)return""+l;const f=l.indexOf("\n");return-1===f?l:l.substring(0,f)}function j(c,l){return null==c||""===c?null===l?"":l:null==l||""===l?c:c+" "+l}const F=O({__forward_ref__:O});function z(c){return c.__forward_ref__=z,c.toString=function(){return U(this())},c}function V(c){return q(c)?c():c}function q(c){return"function"==typeof c&&c.hasOwnProperty(F)&&c.__forward_ref__===z}class ie extends Error{constructor(l,f){super(function ee(c,l){return`NG0${Math.abs(c)}${l?": "+l:""}`}(l,f)),this.code=l}}function oe(c){return"string"==typeof c?c:null==c?"":String(c)}function Ce(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():oe(c)}function _t(c,l){const f=l?` in ${l}`:"";throw new ie(-201,`No provider for ${Ce(c)} found${f}`)}function Ne(c,l){null==c&&function Je(c,l,f,p){throw new Error(`ASSERTION ERROR: ${c}`+(null==p?"":` [Expected=> ${f} ${p} ${l} <=Actual]`))}(l,c,null,"!=")}function Ot(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function Cn(c){return{providers:c.providers||[],imports:c.imports||[]}}function oi(c){return nr(c,Dr)||nr(c,Mr)}function nr(c,l){return c.hasOwnProperty(l)?c[l]:null}function rs(c){return c&&(c.hasOwnProperty(rr)||c.hasOwnProperty($u))?c[rr]:null}const Dr=O({\u0275prov:O}),rr=O({\u0275inj:O}),Mr=O({ngInjectableDef:O}),$u=O({ngInjectorDef:O});var We=(()=>((We=We||{})[We.Default=0]="Default",We[We.Host=1]="Host",We[We.Self=2]="Self",We[We.SkipSelf=4]="SkipSelf",We[We.Optional=8]="Optional",We))();let aa;function Oi(c){const l=aa;return aa=c,l}function ca(c,l,f){const p=oi(c);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&We.Optional?null:void 0!==l?l:void _t(U(c),"Injector")}function Q(c){return{toString:c}.toString()}var X=(()=>((X=X||{})[X.OnPush=0]="OnPush",X[X.Default=1]="Default",X))(),Me=(()=>{return(c=Me||(Me={}))[c.Emulated=0]="Emulated",c[c.None=2]="None",c[c.ShadowDom=3]="ShadowDom",Me;var c})();const Se="undefined"!=typeof globalThis&&globalThis,Oe="undefined"!=typeof window&&window,ut="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,at=Se||"undefined"!=typeof global&&global||Oe||ut,ct={},Re=[],cn=O({\u0275cmp:O}),vt=O({\u0275dir:O}),Jt=O({\u0275pipe:O}),Tn=O({\u0275mod:O}),ln=O({\u0275fac:O}),En=O({__NG_ELEMENT_ID__:O});let hp=0;function la(c){return Q(()=>{const f={},p={type:c.type,providersResolver:null,decls:c.decls,vars:c.vars,factory:null,template:c.template||null,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:c.exportAs||null,onPush:c.changeDetection===X.OnPush,directiveDefs:null,pipeDefs:null,selectors:c.selectors||Re,viewQuery:c.viewQuery||null,features:c.features||null,data:c.data||{},encapsulation:c.encapsulation||Me.Emulated,id:"c",styles:c.styles||Re,_:null,setInput:null,schemas:c.schemas||null,tView:null},m=c.directives,_=c.features,y=c.pipes;return p.id+=hp++,p.inputs=C(c.inputs,f),p.outputs=C(c.outputs),_&&_.forEach(w=>w(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(os):null,p.pipeDefs=y?()=>("function"==typeof y?y():y).map(Sn):null,p})}function os(c){return si(c)||function je(c){return c[vt]||null}(c)}function Sn(c){return function un(c){return c[Jt]||null}(c)}const Lc={};function po(c){return Q(()=>{const l={type:c.type,bootstrap:c.bootstrap||Re,declarations:c.declarations||Re,imports:c.imports||Re,exports:c.exports||Re,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null};return null!=c.id&&(Lc[c.id]=c.type),l})}function C(c,l){if(null==c)return ct;const f={};for(const p in c)if(c.hasOwnProperty(p)){let m=c[p],_=m;Array.isArray(m)&&(_=m[1],m=m[0]),f[m]=p,l&&(l[m]=_)}return f}const Lt=la;function Bt(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,onDestroy:c.type.prototype.ngOnDestroy||null}}function si(c){return c[cn]||null}function ai(c,l){const f=c[Tn]||null;if(!f&&!0===l)throw new Error(`Type ${U(c)} does not have '\u0275mod' property.`);return f}function Fi(c){return Array.isArray(c)&&"object"==typeof c[1]}function Ui(c){return Array.isArray(c)&&!0===c[1]}function jc(c){return 0!=(8&c.flags)}function Vc(c){return 2==(2&c.flags)}function ls(c){return 1==(1&c.flags)}function hn(c){return null!==c.template}function Yu(c){return 0!=(512&c[2])}function Gn(c,l){return c.hasOwnProperty(ln)?c[ln]:null}class Zu{constructor(l,f,p){this.previousValue=l,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function yo(){return us}function us(c){return c.type.prototype.ngOnChanges&&(c.setInput=yp),fa}function fa(){const c=pa(this),l=null==c?void 0:c.current;if(l){const f=c.previous;if(f===ct)c.previous=l;else for(let p in l)f[p]=l[p];c.current=null,this.ngOnChanges(l)}}function yp(c,l,f,p){const m=pa(c)||function Gc(c,l){return c[ds]=l}(c,{previous:ct,current:null}),_=m.current||(m.current={}),y=m.previous,w=this.declaredInputs[f],T=y[w];_[w]=new Zu(T&&T.currentValue,l,y===ct),c[p]=l}yo.ngInherit=!0;const ds="__ngSimpleChanges__";function pa(c){return c[ds]||null}let wo;function bo(c){wo=c}function hs(){return void 0!==wo?wo:"undefined"!=typeof document?document:void 0}function Ft(c){return!!c.listen}const k={createRenderer:(c,l)=>hs()};function E(c){for(;Array.isArray(c);)c=c[0];return c}function ae(c,l){return E(l[c])}function ge(c,l){return E(l[c.index])}function kt(c,l){return c.data[l]}function Ve(c,l){return c[l]}function Xe(c,l){const f=l[c];return Fi(f)?f:f[0]}function rt(c){return 4==(4&c[2])}function qt(c){return 128==(128&c[2])}function xt(c,l){return null==l?null:c[l]}function Pr(c){c[18]=0}function ti(c,l){c[5]+=l;let f=c,p=c[3];for(;null!==p&&(1===l&&1===f[5]||-1===l&&0===f[5]);)p[5]+=l,f=p,p=p[3]}const Be={lFrame:sw(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function vp(){return Be.bindingsEnabled}function fe(){return Be.lFrame.lView}function pt(){return Be.lFrame.tView}function Ap(c){return Be.lFrame.contextLView=c,c[8]}function ii(){let c=Cp();for(;null!==c&&64===c.type;)c=c.parent;return c}function Cp(){return Be.lFrame.currentTNode}function ci(c,l){const f=Be.lFrame;f.currentTNode=c,f.isParent=l}function Tp(){return Be.lFrame.isParent}function Ir(){Be.lFrame.isParent=!1}function id(){return Be.isInCheckNoChangesMode}function nd(c){Be.isInCheckNoChangesMode=c}function zi(){const c=Be.lFrame;let l=c.bindingRootIndex;return-1===l&&(l=c.bindingRootIndex=c.tView.bindingStartIndex),l}function vo(){return Be.lFrame.bindingIndex++}function Hr(c){const l=Be.lFrame,f=l.bindingIndex;return l.bindingIndex=l.bindingIndex+c,f}function x0(c,l){const f=Be.lFrame;f.bindingIndex=f.bindingRootIndex=c,Sp(l)}function Sp(c){Be.lFrame.currentDirectiveIndex=c}function kp(c){const l=Be.lFrame.currentDirectiveIndex;return-1===l?null:c[l]}function nw(){return Be.lFrame.currentQueryIndex}function Dn(c){Be.lFrame.currentQueryIndex=c}function ps(c){const l=c[1];return 2===l.type?l.declTNode:1===l.type?c[6]:null}function rw(c,l,f){if(f&We.SkipSelf){let m=l,_=c;for(;!(m=m.parent,null!==m||f&We.Host||(m=ps(_),null===m||(_=_[15],10&m.type))););if(null===m)return!1;l=m,c=_}const p=Be.lFrame=ow();return p.currentTNode=l,p.lView=c,!0}function rd(c){const l=ow(),f=c[1];Be.lFrame=l,l.currentTNode=f.firstChild,l.lView=c,l.tView=f,l.contextLView=c,l.bindingIndex=f.bindingStartIndex,l.inI18n=!1}function ow(){const c=Be.lFrame,l=null===c?null:c.child;return null===l?sw(c):l}function sw(c){const l={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:c,child:null,inI18n:!1};return null!==c&&(c.child=l),l}function aw(){const c=Be.lFrame;return Be.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const cw=aw;function gs(){const c=aw();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function Di(){return Be.lFrame.selectedIndex}function Un(c){Be.lFrame.selectedIndex=c}function $t(){const c=Be.lFrame;return kt(c.tView,c.selectedIndex)}function Dp(){Be.lFrame.currentNamespace="svg"}function lw(){!function I0(){Be.lFrame.currentNamespace=null}()}function Fr(c,l){for(let f=l.directiveStart,p=l.directiveEnd;f=p)break}else l[T]<0&&(c[18]+=65536),(w<_||-1==_)&&(yt(c,f,l,T),c[18]=(4294901760&c[18])+T+2),T++}function yt(c,l,f,p){const m=f[p]<0,_=f[p+1],w=c[m?-f[p]:f[p]];if(m){if(c[2]>>11>16&&(3&c[2])===l){c[2]+=2048;try{_.call(w)}finally{}}}else try{_.call(w)}finally{}}class ya{constructor(l,f,p){this.factory=l,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function Zc(c,l,f){const p=Ft(c);let m=0;for(;ml){y=_-1;break}}}for(;_>16}(c),p=l;for(;f>0;)p=p[15],f--;return p}let Xc=!0;function Jc(c){const l=Xc;return Xc=c,l}let Op=0;function ba(c,l){const f=el(c,l);if(-1!==f)return f;const p=l[1];p.firstCreatePass&&(c.injectorIndex=l.length,dd(p.data,c),dd(l,null),dd(p.blueprint,null));const m=tl(c,l),_=c.injectorIndex;if(hw(m)){const y=wa(m),w=Lr(m,l),T=w[1].data;for(let D=0;D<8;D++)l[_+D]=w[y+D]|T[y+D]}return l[_+8]=m,_}function dd(c,l){c.push(0,0,0,0,0,0,0,0,l)}function el(c,l){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===l[c.injectorIndex+8]?-1:c.injectorIndex}function tl(c,l){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let f=0,p=null,m=l;for(;null!==m;){const _=m[1],y=_.type;if(p=2===y?_.declTNode:1===y?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function il(c,l,f){!function Hp(c,l,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(En)&&(p=f[En]),null==p&&(p=f[En]=Op++);const m=255&p;l.data[c+(m>>5)]|=1<=0?255&l:z0:l}(f);if("function"==typeof _){if(!rw(l,c,p))return p&We.Host?Mn(m,f,p):gw(l,f,p,m);try{const y=_(p);if(null!=y||p&We.Optional)return y;_t(f)}finally{cw()}}else if("number"==typeof _){let y=null,w=el(c,l),T=-1,D=p&We.Host?l[16][6]:null;for((-1===w||p&We.SkipSelf)&&(T=-1===w?tl(c,l):l[w+8],-1!==T&&fd(p,!1)?(y=l[1],w=wa(T),l=Lr(T,l)):w=-1);-1!==w;){const M=l[1];if(hd(_,w,M.data)){const B=_w(w,l,f,y,p,D);if(B!==mw)return B}T=l[w+8],-1!==T&&fd(p,l[1].data[w+8]===D)&&hd(_,w,l)?(y=M,w=wa(T),l=Lr(T,l)):w=-1}}}return gw(l,f,p,m)}const mw={};function z0(){return new ni(ii(),fe())}function _w(c,l,f,p,m,_){const y=l[1],w=y.data[c+8],M=nl(w,y,f,null==p?Vc(w)&&Xc:p!=y&&0!=(3&w.type),m&We.Host&&_===w);return null!==M?ar(l,y,M,w):mw}function nl(c,l,f,p,m){const _=c.providerIndexes,y=l.data,w=1048575&_,T=c.directiveStart,M=_>>20,W=m?w+M:c.directiveEnd;for(let ne=p?w:w+M;ne=T&&ce.type===f)return ne}if(m){const ne=y[T];if(ne&&hn(ne)&&ne.type===f)return T}return null}function ar(c,l,f,p){let m=c[f];const _=l.data;if(function xp(c){return c instanceof ya}(m)){const y=m;y.resolving&&function Ae(c,l){const f=l?`. Dependency path: ${l.join(" > ")} > ${c}`:"";throw new ie(-200,`Circular dependency in DI detected for ${c}${f}`)}(Ce(_[f]));const w=Jc(y.canSeeViewProviders);y.resolving=!0;const T=y.injectImpl?Oi(y.injectImpl):null;rw(c,p,We.Default);try{m=c[f]=y.factory(void 0,_,c,p),l.firstCreatePass&&f>=p.directiveStart&&function O0(c,l,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:_}=l.type.prototype;if(p){const y=us(l);(f.preOrderHooks||(f.preOrderHooks=[])).push(c,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,y)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-c,m),_&&((f.preOrderHooks||(f.preOrderHooks=[])).push(c,_),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,_))}(f,_[f],l)}finally{null!==T&&Oi(T),Jc(w),y.resolving=!1,cw()}}return m}function hd(c,l,f){return!!(f[l+(c>>5)]&1<{const l=c.prototype.constructor,f=l[ln]||va(l),p=Object.prototype;let m=Object.getPrototypeOf(c.prototype).constructor;for(;m&&m!==p;){const _=m[ln]||va(m);if(_&&_!==f)return _;m=Object.getPrototypeOf(m)}return _=>new _})}function va(c){return q(c)?()=>{const l=va(V(c));return l&&l()}:Gn(c)}function rl(c){return function pw(c,l){if("class"===l)return c.classes;if("style"===l)return c.styles;const f=c.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function pd(c){return function(...f){if(c){const p=c(...f);for(const m in p)this[m]=p[m]}}}(l);function m(..._){if(this instanceof m)return p.apply(this,_),this;const y=new m(..._);return w.annotation=y,w;function w(T,D,M){const B=T.hasOwnProperty(Nr)?T[Nr]:Object.defineProperty(T,Nr,{value:[]})[Nr];for(;B.length<=M;)B.push(null);return(B[M]=B[M]||[]).push(y),T}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=c,m.annotationCls=m,m})}class zt{constructor(l,f){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=Ot({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const B0=new zt("AnalyzeForEntryComponents");function xn(c,l){void 0===l&&(l=c);for(let f=0;fArray.isArray(f)?cr(f,l):l(f))}function ww(c,l,f){l>=c.length?c.push(f):c.splice(l,0,f)}function md(c,l){return l>=c.length-1?c.pop():c.splice(l,1)[0]}function ol(c,l){const f=[];for(let p=0;p=0?c[1|p]=f:(p=~p,function vw(c,l,f,p){let m=c.length;if(m==l)c.push(f,p);else if(1===m)c.push(p,c[0]),c[0]=f;else{for(m--,c.push(c[m-1],c[m]);m>l;)c[m]=c[m-2],m--;c[l]=f,c[l+1]=p}}(c,p,l,f)),p}function sl(c,l){const f=Ea(c,l);if(f>=0)return c[1|f]}function Ea(c,l){return function Cw(c,l,f){let p=0,m=c.length>>f;for(;m!==p;){const _=p+(m-p>>1),y=c[_<l?m=_:p=_+1}return~(m<({token:c})),-1),_s=ll(Ca("Optional"),8),Sa=ll(Ca("SkipSelf"),4);let bd,vd;function Da(c){var l;return(null===(l=function $p(){if(void 0===bd&&(bd=null,at.trustedTypes))try{bd=at.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return bd}())||void 0===l?void 0:l.createHTML(c))||c}function Pw(c){var l;return(null===(l=function Wp(){if(void 0===vd&&(vd=null,at.trustedTypes))try{vd=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return vd}())||void 0===l?void 0:l.createHTML(c))||c}class ys{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class pT extends ys{getTypeName(){return"HTML"}}class gT extends ys{getTypeName(){return"Style"}}class mT extends ys{getTypeName(){return"Script"}}class _T extends ys{getTypeName(){return"URL"}}class yT extends ys{getTypeName(){return"ResourceURL"}}function Vr(c){return c instanceof ys?c.changingThisBreaksApplicationSecurity:c}function Ma(c,l){const f=Hw(c);if(null!=f&&f!==l){if("ResourceURL"===f&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===l}function Hw(c){return c instanceof ys&&c.getTypeName()||null}function wT(c){return new pT(c)}function bT(c){return new gT(c)}function vT(c){return new mT(c)}function AT(c){return new _T(c)}function CT(c){return new yT(c)}class TT{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const f=(new window.DOMParser).parseFromString(Da(l),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(l):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class zw{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(l){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=Da(l),f;const p=this.inertDocument.createElement("body");return p.innerHTML=Da(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(l){const f=l.attributes;for(let m=f.length-1;0bs(l.trim())).join(", ")),this.buf.push(" ",y,'="',Dd(T),'"')}var c;return this.buf.push(">"),!0}endElement(l){const f=l.nodeName.toLowerCase();hl.hasOwnProperty(f)&&!Qp.hasOwnProperty(f)&&(this.buf.push(""))}chars(l){this.buf.push(Dd(l))}checkClobberedElement(l,f){if(f&&(l.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return f}}const Bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kd=/([^\#-~ |!])/g;function Dd(c){return c.replace(/&/g,"&").replace(Bw,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(kd,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let pl;function Nw(c,l){let f=null;try{pl=pl||function Fw(c){const l=new zw(c);return function Kr(){try{return!!(new window.DOMParser).parseFromString(Da(""),"text/html")}catch(c){return!1}}()?new TT(l):l}(c);let p=l?String(l):"";f=pl.getInertBodyElement(p);let m=5,_=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=_,_=f.innerHTML,f=pl.getInertBodyElement(p)}while(p!==_);return Da((new eg).sanitizeChildren(Ra(f)||f))}finally{if(f){const p=Ra(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Ra(c){return"content"in c&&function ST(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var Kt=(()=>((Kt=Kt||{})[Kt.NONE=0]="NONE",Kt[Kt.HTML=1]="HTML",Kt[Kt.STYLE=2]="STYLE",Kt[Kt.SCRIPT=3]="SCRIPT",Kt[Kt.URL=4]="URL",Kt[Kt.RESOURCE_URL=5]="RESOURCE_URL",Kt))();function tg(c){const l=Pa();return l?Pw(l.sanitize(Kt.HTML,c)||""):Ma(c,"HTML")?Pw(Vr(c)):Nw(hs(),oe(c))}function Md(c){const l=Pa();return l?l.sanitize(Kt.URL,c)||"":Ma(c,"URL")?Vr(c):bs(oe(c))}function Pa(){const c=fe();return c&&c[12]}const qw="__ngContext__";function xi(c,l){c[qw]=l}function og(c){const l=function gl(c){return c[qw]||null}(c);return l?Array.isArray(l)?l:l.lView:null}function cg(c){return c.ngOriginalError}function _l(c,...l){c.error(...l)}class _n{constructor(){this._console=console}handleError(l){const f=this._findOriginalError(l),p=function Yw(c){return c&&c.ngErrorLogger||_l}(l);p(this._console,"ERROR",l),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(l){let f=l&&cg(l);for(;f&&cg(f);)f=cg(f);return f||null}}const Od=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(at))();function ur(c){return c instanceof Function?c():c}var ot=(()=>((ot=ot||{})[ot.Important=1]="Important",ot[ot.DashCase=2]="DashCase",ot))();function wl(c,l){return undefined(c,l)}function bl(c){const l=c[3];return Ui(l)?l[3]:l}function vl(c){return fg(c[13])}function Oa(c){return fg(c[4])}function fg(c){for(;null!==c&&!Ui(c);)c=c[4];return c}function $i(c,l,f,p,m){if(null!=p){let _,y=!1;Ui(p)?_=p:Fi(p)&&(y=!0,p=p[0]);const w=E(p);0===c&&null!==f?null==m?wg(l,f,w):dr(l,f,w,m||null,!0):1===c&&null!==f?dr(l,f,w,m||null,!0):2===c?function Gd(c,l,f){const p=Ts(c,l);p&&function tb(c,l,f,p){Ft(c)?c.removeChild(l,f,p):l.removeChild(f)}(c,p,l,f)}(l,w,y):3===c&&l.destroyNode(w),null!=_&&function Eo(c,l,f,p,m){const _=f[7];_!==E(f)&&$i(l,c,p,_,m);for(let w=10;w0&&(c[f-1][4]=p[4]);const _=md(c,10+l);!function Wi(c,l){Ss(c,l,l[11],2,null,null),l[0]=null,l[6]=null}(p[1],p);const y=_[19];null!==y&&y.detachView(_[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function Bd(c,l){if(!(256&l[2])){const f=l[11];Ft(f)&&f.destroyNode&&Ss(c,l,f,3,null,null),function mg(c){let l=c[13];if(!l)return Nd(c[1],c);for(;l;){let f=null;if(Fi(l))f=l[13];else{const p=l[10];p&&(f=p)}if(!f){for(;l&&!l[4]&&l!==c;)Fi(l)&&Nd(l[1],l),l=l[3];null===l&&(l=c),Fi(l)&&Nd(l[1],l),f=l&&l[4]}l=f}}(l)}}function Nd(c,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function yg(c,l){let f;if(null!=c&&null!=(f=c.destroyHooks))for(let p=0;p=0?p[m=D]():p[m=-D].unsubscribe(),_+=2}else{const y=p[m=f[_+1]];f[_].call(y)}if(null!==p){for(let _=m+1;__?"":m[B+1].toLowerCase();const ne=8&p?W:null;if(ne&&-1!==Ud(ne,D,0)||2&p&&D!==W){if(Pn(p))return!1;y=!0}}}}else{if(!y&&!Pn(p)&&!Pn(T))return!1;if(y&&Pn(T))continue;y=!1,p=T|1&p}}return Pn(p)||y}function Pn(c){return 0==(1&c)}function Yi(c,l,f,p){if(null===l)return-1;let m=0;if(p||!f){let _=!1;for(;m-1)for(f++;f0?'="'+w+'"':"")+"]"}else 8&p?m+="."+y:4&p&&(m+=" "+y);else""!==m&&!Pn(y)&&(l+=Va(_,m),m=""),p=y,_=_||!Pn(p);f++}return""!==m&&(l+=Va(_,m)),l}const Ye={};function Ml(c){Wd(pt(),fe(),Di()+c,id())}function Wd(c,l,f,p){if(!p)if(3==(3&l[2])){const _=c.preOrderCheckHooks;null!==_&&sd(l,_,f)}else{const _=c.preOrderHooks;null!==_&&Nt(l,_,0,f)}Un(f)}function xl(c,l){return c<<17|l<<2}function In(c){return c>>17&32767}function ks(c){return 2|c}function hr(c){return(131068&c)>>2}function fr(c,l){return-131069&c|l<<2}function Ka(c){return 1|c}function Fg(c,l){const f=c.contentQueries;if(null!==f)for(let p=0;p20&&Wd(c,l,20,id()),f(p,m)}finally{Un(_)}}function Do(c,l,f){if(jc(l)){const m=l.directiveEnd;for(let _=l.directiveStart;_0;){const f=c[--l];if("number"==typeof f&&f<0)return f}return 0})(w)!=T&&w.push(T),w.push(p,m,y)}}function Ji(c,l){null!==c.hostBindings&&c.hostBindings(1,l)}function ph(c,l){l.flags|=2,(c.components||(c.components=[])).push(l.index)}function Eb(c,l,f){if(f){if(l.exportAs)for(let p=0;p0&&$g(f)}}function $g(c){for(let p=vl(c);null!==p;p=Oa(p))for(let m=10;m0&&$g(_)}const f=c[1].components;if(null!==f)for(let p=0;p0&&$g(m)}}function WT(c,l){const f=Xe(l,c),p=f[1];(function YT(c,l){for(let f=l.length;fPromise.resolve(null))();function Bl(c){return c[7]||(c[7]=[])}function mh(c){return c.cleanup||(c.cleanup=[])}function Wg(c,l,f){return(null===c||hn(c))&&(f=function P(c){for(;Array.isArray(c);){if("object"==typeof c[1])return c;c=c[0]}return null}(f[l.index])),f[11]}function Yg(c,l){const f=c[9],p=f?f.get(_n,null):null;p&&p.handleError(l)}function _h(c,l,f,p,m){for(let _=0;_this.processProvider(w,l,f)),cr([l],w=>this.processInjectorType(w,[],_)),this.records.set(Is,Zr(void 0,this));const y=this.records.get(jl);this.scope=null!=y?y.value:null,this.source=m||("object"==typeof l?null:U(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,f=al,p=We.Default){this.assertNotDestroyed();const m=Sw(this),_=Oi(void 0);try{if(!(p&We.SkipSelf)){let w=this.records.get(l);if(void 0===w){const T=function tE(c){return"function"==typeof c||"object"==typeof c&&c instanceof zt}(l)&&oi(l);w=T&&this.injectableDefInScope(T)?Zr(Kl(l),$a):null,this.records.set(l,w)}if(null!=w)return this.hydrate(l,w)}return(p&We.Self?wh():this.parent).get(l,f=p&We.Optional&&f===al?null:f)}catch(y){if("NullInjectorError"===y.name){if((y[yd]=y[yd]||[]).unshift(U(l)),m)throw y;return function iT(c,l,f,p){const m=c[yd];throw l[Ew]&&m.unshift(l[Ew]),c.message=function nT(c,l,f,p=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.substr(2):c;let m=U(l);if(Array.isArray(l))m=l.map(U).join(" -> ");else if("object"==typeof l){let _=[];for(let y in l)if(l.hasOwnProperty(y)){let w=l[y];_.push(y+":"+("string"==typeof w?JSON.stringify(w):U(w)))}m=`{${_.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${c.replace(Q0,"\n ")}`}("\n"+c.message,m,f,p),c.ngTokenPath=m,c[yd]=null,c}(y,l,"R3InjectorError",this.source)}throw y}finally{Oi(_),Sw(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((p,m)=>l.push(U(m))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ie(205,!1)}processInjectorType(l,f,p){if(!(l=V(l)))return!1;let m=rs(l);const _=null==m&&l.ngModule||void 0,y=void 0===_?l:_,w=-1!==p.indexOf(y);if(void 0!==_&&(m=rs(_)),null==m)return!1;if(null!=m.imports&&!w){let M;p.push(y);try{cr(m.imports,B=>{this.processInjectorType(B,f,p)&&(void 0===M&&(M=[]),M.push(B))})}finally{}if(void 0!==M)for(let B=0;Bthis.processProvider(ce,W,ne||Re))}}this.injectorDefTypes.add(y);const T=Gn(y)||(()=>new y);this.records.set(y,Zr(T,$a));const D=m.providers;if(null!=D&&!w){const M=l;cr(D,B=>this.processProvider(B,M,D))}return void 0!==_&&void 0!==l.providers}processProvider(l,f,p){let m=Wa(l=V(l))?l:V(l&&l.provide);const _=function Wn(c,l,f){return zb(c)?Zr(void 0,c.useValue):Zr(Xg(c),$a)}(l);if(Wa(l)||!0!==l.multi)this.records.get(m);else{let y=this.records.get(m);y||(y=Zr(void 0,$a,!0),y.factory=()=>Up(y.multi),this.records.set(m,y)),m=l,y.multi.push(l)}this.records.set(m,_)}hydrate(l,f){return f.value===$a&&(f.value=yh,f.value=f.factory()),"object"==typeof f.value&&f.value&&function eE(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(l){if(!l.providedIn)return!1;const f=V(l.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function Kl(c){const l=oi(c),f=null!==l?l.factory:Gn(c);if(null!==f)return f;if(c instanceof zt)throw new ie(204,!1);if(c instanceof Function)return function Ro(c){const l=c.length;if(l>0)throw ol(l,"?"),new ie(204,!1);const f=function is(c){const l=c&&(c[Dr]||c[Mr]);if(l){const f=function ns(c){if(c.hasOwnProperty("name"))return c.name;const l=(""+c).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(c);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),l}return null}(c);return null!==f?()=>f.factory(c):()=>new c}(c);throw new ie(204,!1)}function Xg(c,l,f){let p;if(Wa(c)){const m=V(c);return Gn(m)||Kl(m)}if(zb(c))p=()=>V(c.useValue);else if(function QT(c){return!(!c||!c.useFactory)}(c))p=()=>c.useFactory(...Up(c.deps||[]));else if(function ZT(c){return!(!c||!c.useExisting)}(c))p=()=>pi(V(c.useExisting));else{const m=V(c&&(c.useClass||c.provide));if(!function JT(c){return!!c.deps}(c))return Gn(m)||Kl(m);p=()=>new m(...Up(c.deps))}return p}function Zr(c,l,f=!1){return{factory:c,value:l,multi:f?[]:void 0}}function zb(c){return null!==c&&"object"==typeof c&&J0 in c}function Wa(c){return"function"==typeof c}let On=(()=>{class c{static create(f,p){var m;if(Array.isArray(f))return bh({name:""},p,f,"");{const _=null!==(m=f.name)&&void 0!==m?m:"";return bh({name:_},f.parent,f.providers,_)}}}return c.THROW_IF_NOT_FOUND=al,c.NULL=new Zg,c.\u0275prov=Ot({token:c,providedIn:"any",factory:()=>pi(Is)}),c.__NG_ELEMENT_ID__=-1,c})();function rm(c,l){Fr(og(c)[1],ii())}function Th(c){let l=function Ch(c){return Object.getPrototypeOf(c.prototype).constructor}(c.type),f=!0;const p=[c];for(;l;){let m;if(hn(c))m=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new ie(903,"");m=l.\u0275dir}if(m){if(f){p.push(m);const y=c;y.inputs=wn(c.inputs),y.declaredInputs=wn(c.declaredInputs),y.outputs=wn(c.outputs);const w=m.hostBindings;w&&Wl(c,w);const T=m.viewQuery,D=m.contentQueries;if(T&&$b(c,T),D&&Eh(c,D),$(c.inputs,m.inputs),$(c.declaredInputs,m.declaredInputs),$(c.outputs,m.outputs),hn(m)&&m.data.animation){const M=c.data;M.animation=(M.animation||[]).concat(m.data.animation)}}const _=m.features;if(_)for(let y=0;y<_.length;y++){const w=_[y];w&&w.ngInherit&&w(c),w===Th&&(f=!1)}}l=Object.getPrototypeOf(l)}!function $l(c){let l=0,f=null;for(let p=c.length-1;p>=0;p--){const m=c[p];m.hostVars=l+=m.hostVars,m.hostAttrs=ld(m.hostAttrs,f=ld(f,m.hostAttrs))}}(p)}function wn(c){return c===ct?{}:c===Re?[]:c}function $b(c,l){const f=c.viewQuery;c.viewQuery=f?(p,m)=>{l(p,m),f(p,m)}:l}function Eh(c,l){const f=c.contentQueries;c.contentQueries=f?(p,m,_)=>{l(p,m,_),f(p,m,_)}:l}function Wl(c,l){const f=c.hostBindings;c.hostBindings=f?(p,m)=>{l(p,m),f(p,m)}:l}let Hs=null;function Za(){if(!Hs){const c=at.Symbol;if(c&&c.iterator)Hs=c.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fw(E(ht[p.index])):p.index;if(Ft(f)){let ht=null;if(!w&&T&&(ht=function fE(c,l,f,p){const m=c.cleanup;if(null!=m)for(let _=0;_T?w[T]:null}"string"==typeof y&&(_+=2)}return null}(c,l,m,p.index)),null!==ht)(ht.__ngLastListenerFn__||ht).__ngNextListenerFn__=_,ht.__ngLastListenerFn__=_,ne=!1;else{_=Tm(p,l,B,_,!1);const Mt=f.listen(Pe,m,_);W.push(_,Mt),M&&M.push(m,Le,pe,pe+1)}}else _=Tm(p,l,B,_,!0),Pe.addEventListener(m,_,y),W.push(_),M&&M.push(m,Le,pe,y)}else _=Tm(p,l,B,_,!1);const ce=p.outputs;let ve;if(ne&&null!==ce&&(ve=ce[m])){const Ee=ve.length;if(Ee)for(let Pe=0;Pe0;)l=l[15],c--;return l}(c,Be.lFrame.contextLView))[8]}(c)}function pE(c,l){let f=null;const p=function kl(c){const l=c.attrs;if(null!=l){const f=l.indexOf(5);if(0==(1&f))return l[f+1]}return null}(c);for(let m=0;m=0}function zh(c,l,f){return Ti(c,l,f,!1),zh}function Lh(c,l){return Ti(c,l,null,!0),Lh}function Ti(c,l,f,p){const m=fe(),_=pt(),y=Hr(2);_.firstUpdatePass&&function zm(c,l,f,p){const m=c.data;if(null===m[f+1]){const _=m[Di()],y=function Fm(c,l){return l>=c.expandoStartIndex}(c,f);(function Vh(c,l){return 0!=(c.flags&(l?16:32))})(_,p)&&null===l&&!y&&(l=!1),l=function _E(c,l,f,p){const m=kp(c);let _=p?l.residualClasses:l.residualStyles;if(null===m)0===(p?l.classBindings:l.styleBindings)&&(f=ic(f=Nh(null,c,l,f,p),l.attrs,p),_=null);else{const y=l.directiveStylingLast;if(-1===y||c[y]!==m)if(f=Nh(m,c,l,f,p),null===_){let T=function yE(c,l,f){const p=f?l.classBindings:l.styleBindings;if(0!==hr(p))return c[In(p)]}(c,l,p);void 0!==T&&Array.isArray(T)&&(T=Nh(null,c,l,T[1],p),T=ic(T,l.attrs,p),function wE(c,l,f,p){c[In(f?l.classBindings:l.styleBindings)]=p}(c,l,p,T))}else _=function Bh(c,l,f){let p;const m=l.directiveEnd;for(let _=1+l.directiveStylingLast;_0)&&(D=!0)}else M=f;if(m)if(0!==T){const W=In(c[w+1]);c[p+1]=xl(W,w),0!==W&&(c[W+1]=fr(c[W+1],p)),c[w+1]=function cb(c,l){return 131071&c|l<<17}(c[w+1],p)}else c[p+1]=xl(w,0),0!==w&&(c[w+1]=fr(c[w+1],p)),w=p;else c[p+1]=xl(T,0),0===w?w=p:c[T+1]=fr(c[T+1],p),T=p;D&&(c[p+1]=ks(c[p+1])),Ho(c,M,p,!0),Ho(c,M,p,!1),function Dm(c,l,f,p,m){const _=m?c.residualClasses:c.residualStyles;null!=_&&"string"==typeof l&&Ea(_,l)>=0&&(f[p+1]=Ka(f[p+1]))}(l,M,c,p,_),y=xl(w,T),_?l.classBindings=y:l.styleBindings=y}(m,_,l,f,y,p)}}(_,c,y,p),l!==Ye&&Ai(m,y,l)&&function jv(c,l,f,p,m,_,y,w){if(!(3&l.type))return;const T=c.data,D=T[w+1];jh(function Rl(c){return 1==(1&c)}(D)?Vv(T,l,f,m,hr(D),y):void 0)||(jh(_)||function Sg(c){return 2==(2&c)}(D)&&(_=Vv(T,null,f,m,w,y)),function Ba(c,l,f,p,m){const _=Ft(c);if(l)m?_?c.addClass(f,p):f.classList.add(p):_?c.removeClass(f,p):f.classList.remove(p);else{let y=-1===p.indexOf("-")?void 0:ot.DashCase;if(null==m)_?c.removeStyle(f,p,y):f.style.removeProperty(p);else{const w="string"==typeof m&&m.endsWith("!important");w&&(m=m.slice(0,-10),y|=ot.Important),_?c.setStyle(f,p,m,y):f.style.setProperty(p,m,w?"important":"")}}}(p,y,ae(Di(),f),m,_))}(_,_.data[Di()],m,m[11],c,m[y+1]=function iu(c,l){return null==c||("string"==typeof l?c+=l:"object"==typeof c&&(c=U(Vr(c)))),c}(l,f),p,y)}function Nh(c,l,f,p,m){let _=null;const y=f.directiveEnd;let w=f.directiveStylingLast;for(-1===w?w=f.directiveStart:w++;w0;){const T=c[m],D=Array.isArray(T),M=D?T[1]:T,B=null===M;let W=f[m+1];W===Ye&&(W=B?Re:void 0);let ne=B?sl(W,p):M===p?W:void 0;if(D&&!jh(ne)&&(ne=sl(T,p)),jh(ne)&&(w=ne,y))return w;const ce=c[m+1];m=y?In(ce):hr(ce)}if(null!==l){let T=_?l.residualClasses:l.residualStyles;null!=T&&(w=sl(T,p))}return w}function jh(c){return void 0!==c}function Lm(c,l=""){const f=fe(),p=pt(),m=c+20,_=p.firstCreatePass?Ds(p,m,1,l,null):p.data[m],y=f[m]=function Al(c,l){return Ft(c)?c.createText(l):c.createTextNode(l)}(f[11],l);Es(p,f,y,_),ci(_,!1)}function Kh(c){return nc("",c,""),Kh}function nc(c,l,f){const p=fe(),m=Po(p,c,l,f);return m!==Ye&&Wr(p,Di(),m),nc}function Gh(c,l,f,p,m){const _=fe(),y=_r(_,c,l,f,p,m);return y!==Ye&&Wr(_,Di(),y),Gh}function $h(c,l,f){const p=fe();return Ai(p,vo(),l)&&Xi(pt(),$t(),p,c,l,p[11],f,!0),$h}function zo(c,l,f){const p=fe();if(Ai(p,vo(),l)){const _=pt(),y=$t();Xi(_,y,p,c,l,Wg(kp(_.data),y,p),f,!0)}return zo}const io=void 0;var Wm=["en",[["a","p"],["AM","PM"],io],[["AM","PM"],io,io],[["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"]],io,[["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"]],io,[["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}",io,"{1} 'at' {0}",io],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iA(c){const f=Math.floor(Math.abs(c)),p=c.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Lo={};function Bo(c){const l=function oA(c){return c.toLowerCase().replace(/_/g,"-")}(c);let f=lc(l);if(f)return f;const p=l.split("-")[0];if(f=lc(p),f)return f;if("en"===p)return Wm;throw new Error(`Missing locale data for the locale "${c}".`)}function nA(c){return Bo(c)[Ke.PluralCase]}function lc(c){return c in Lo||(Lo[c]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[c]),Lo[c]}var Ke=(()=>((Ke=Ke||{})[Ke.LocaleId=0]="LocaleId",Ke[Ke.DayPeriodsFormat=1]="DayPeriodsFormat",Ke[Ke.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ke[Ke.DaysFormat=3]="DaysFormat",Ke[Ke.DaysStandalone=4]="DaysStandalone",Ke[Ke.MonthsFormat=5]="MonthsFormat",Ke[Ke.MonthsStandalone=6]="MonthsStandalone",Ke[Ke.Eras=7]="Eras",Ke[Ke.FirstDayOfWeek=8]="FirstDayOfWeek",Ke[Ke.WeekendRange=9]="WeekendRange",Ke[Ke.DateFormat=10]="DateFormat",Ke[Ke.TimeFormat=11]="TimeFormat",Ke[Ke.DateTimeFormat=12]="DateTimeFormat",Ke[Ke.NumberSymbols=13]="NumberSymbols",Ke[Ke.NumberFormats=14]="NumberFormats",Ke[Ke.CurrencyCode=15]="CurrencyCode",Ke[Ke.CurrencySymbol=16]="CurrencySymbol",Ke[Ke.CurrencyName=17]="CurrencyName",Ke[Ke.Currencies=18]="Currencies",Ke[Ke.Directionality=19]="Directionality",Ke[Ke.PluralCase=20]="PluralCase",Ke[Ke.ExtraData=21]="ExtraData",Ke))();const uc="en-US";let lA=uc;function lu(c,l,f,p,m){if(c=V(c),Array.isArray(c))for(let _=0;_>20;if(Wa(c)||!c.multi){const ne=new ya(T,m,Ls),ce=ro(w,l,m?M:M+W,B);-1===ce?(il(ba(D,y),_,w),st(_,c,l.length),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(ne),y.push(ne)):(f[ce]=ne,y[ce]=ne)}else{const ne=ro(w,l,M+W,B),ce=ro(w,l,M,M+W),ve=ne>=0&&f[ne],Ee=ce>=0&&f[ce];if(m&&!Ee||!m&&!ve){il(ba(D,y),_,w);const Pe=function jA(c,l,f,p,m){const _=new ya(c,f,Ls);return _.multi=[],_.index=l,_.componentProviders=0,a_(_,m,p&&!f),_}(m?Jh:c_,f.length,m,p,T);!m&&Ee&&(f[ce].providerFactory=Pe),st(_,c,l.length,0),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(Pe),y.push(Pe)}else st(_,c,ne>-1?ne:ce,a_(f[m?ce:ne],T,!m&&p));!m&&p&&Ee&&f[ce].componentProviders++}}}function st(c,l,f,p){const m=Wa(l),_=function XT(c){return!!c.useClass}(l);if(m||_){const T=(_?V(l.useClass):l).prototype.ngOnDestroy;if(T){const D=c.destroyHooks||(c.destroyHooks=[]);if(!m&&l.multi){const M=D.indexOf(f);-1===M?D.push(f,[p,T]):D[M+1].push(p,T)}else D.push(f,T)}}}function a_(c,l,f){return f&&c.componentProviders++,c.multi.push(l)-1}function ro(c,l,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function NA(c,l,f){const p=pt();if(p.firstCreatePass){const m=hn(c);lu(f,p.data,p.blueprint,m,!0),lu(l,p.data,p.blueprint,m,!1)}}(p,m?m(c):c,l)}}class tf{}class gi{resolveComponentFactory(l){throw function u_(c){const l=Error(`No component factory found for ${U(c)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=c,l}(l)}}let Ni=(()=>{class c{}return c.NULL=new gi,c})();function VA(){return Vs(ii(),fe())}function Vs(c,l){return new Ks(ge(c,l))}let Ks=(()=>{class c{constructor(f){this.nativeElement=f}}return c.__NG_ELEMENT_ID__=VA,c})();function d_(c){return c instanceof Ks?c.nativeElement:c}class rf{}let KA=(()=>{class c{}return c.__NG_ELEMENT_ID__=()=>function f_(){const c=fe(),f=Xe(ii().index,c);return function h_(c){return c[11]}(Fi(f)?f:c)}(),c})(),uu=(()=>{class c{}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:()=>null}),c})();class oo{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const gt=new oo("13.2.2"),No={};function du(c,l,f,p,m=!1){for(;null!==f;){const _=l[f.index];if(null!==_&&p.push(E(_)),Ui(_))for(let w=10;w<_.length;w++){const T=_[w],D=T[1].firstChild;null!==D&&du(T[1],T,D,p)}const y=f.type;if(8&y)du(c,l,f.child,p);else if(32&y){const w=wl(f,l);let T;for(;T=w();)p.push(T)}else if(16&y){const w=bg(l,f);if(Array.isArray(w))p.push(...w);else{const T=bl(l[16]);du(T[1],T,w,p,!0)}}f=m?f.projectionNext:f.next}return p}class zn{constructor(l,f){this._lView=l,this._cdRefInjectingView=f,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const l=this._lView,f=l[1];return du(f,l,f.firstChild,[])}get context(){return this._lView[8]}set context(l){this._lView[8]=l}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const l=this._lView[3];if(Ui(l)){const f=l[8],p=f?f.indexOf(this):-1;p>-1&&(Tl(l,p),md(f,p))}this._attachedToViewContainer=!1}Bd(this._lView[1],this._lView)}onDestroy(l){zl(this._lView[1],this._lView,null,l)}markForCheck(){mr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Rb(c,l,f){nd(!0);try{Ll(c,l,f)}finally{nd(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ie(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ld(c,l){Ss(c,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new ie(902,"");this._appRef=l}}class GA extends zn{constructor(l){super(l),this._view=l}detectChanges(){xb(this._view)}checkNoChanges(){!function Pb(c){nd(!0);try{xb(c)}finally{nd(!1)}}(this._view)}get context(){return null}}class sf extends Ni{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const f=si(l);return new fu(f,this.ngModule)}}function af(c){const l=[];for(let f in c)c.hasOwnProperty(f)&&l.push({propName:c[f],templateName:f});return l}const hu=new zt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Od});class fu extends tf{constructor(l,f){super(),this.componentDef=l,this.ngModule=f,this.componentType=l.type,this.selector=function Cg(c){return c.map(Dl).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return af(this.componentDef.inputs)}get outputs(){return af(this.componentDef.outputs)}create(l,f,p,m){const _=(m=m||this.ngModule)?function pc(c,l){return{get:(f,p,m)=>{const _=c.get(f,No,m);return _!==No||p===No?_:l.get(f,p,m)}}}(l,m.injector):l,y=_.get(rf,k),w=_.get(uu,null),T=y.createRenderer(null,this.componentDef),D=this.componentDef.selectors[0][0]||"div",M=p?function Bg(c,l,f){if(Ft(c))return c.selectRootElement(l,f===Me.ShadowDom);let p="string"==typeof l?c.querySelector(l):l;return p.textContent="",p}(T,p,this.componentDef.encapsulation):Ha(y.createRenderer(null,this.componentDef),D,function UA(c){const l=c.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(D)),B=this.componentDef.onPush?576:528,W=function qb(c,l){return{components:[],scheduler:c||Od,clean:Ib,playerHandler:l||null,flags:0}}(),ne=Fl(0,null,null,1,0,null,null,null,null,null),ce=Ua(null,ne,W,B,null,null,y,T,w,_);let ve,Ee;rd(ce);try{const Pe=function im(c,l,f,p,m,_){const y=f[1];f[20]=c;const T=Ds(y,20,2,"#host",null),D=T.mergedAttrs=l.hostAttrs;null!==D&&(Yr(T,D,!0),null!==c&&(Zc(m,c,D),null!==T.classes&&Na(m,c,T.classes),null!==T.styles&&Ag(m,c,T.styles)));const M=p.createRenderer(c,l),B=Ua(f,uh(l),null,l.onPush?64:16,f[20],T,p,M,_||null,null);return y.firstCreatePass&&(il(ba(T,f),y,l.type),ph(y,T),Sb(T,f.length,1)),Mo(f,B),f[20]=B}(M,this.componentDef,ce,y,T);if(M)if(p)Zc(T,M,["ng-version",gt.full]);else{const{attrs:pe,classes:Le}=function Tg(c){const l=[],f=[];let p=1,m=2;for(;p0&&Na(T,M,Le.join(" "))}if(Ee=kt(ne,20),void 0!==f){const pe=Ee.projection=[];for(let Le=0;LeT(y,l)),l.contentQueries){const T=ii();l.contentQueries(1,y,T.directiveStart)}const w=ii();return!_.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(Un(w.index),Vg(f[1],w,0,w.directiveStart,w.directiveEnd,l),Ji(l,y)),y}(Pe,this.componentDef,ce,W,[rm]),Rs(ne,ce,null)}finally{gs()}return new cf(this.componentType,ve,Vs(Ee,ce),ce,Ee)}}class cf extends class Xn{}{constructor(l,f,p,m,_){super(),this.location=p,this._rootLView=m,this._tNode=_,this.instance=f,this.hostView=this.changeDetectorRef=new GA(m),this.componentType=l}get injector(){return new ni(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class jo{}class lf{}const Gs=new Map;class m_ extends jo{constructor(l,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sf(this);const p=ai(l);this._bootstrapComponents=ur(p.bootstrap),this._r3Injector=Qg(l,f,[{provide:jo,useValue:this},{provide:Ni,useValue:this.componentFactoryResolver}],U(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,f=On.THROW_IF_NOT_FOUND,p=We.Default){return l===On||l===jo||l===Is?this:this._r3Injector.get(l,f,p)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class uf extends lf{constructor(l){super(),this.moduleType=l,null!==ai(l)&&function mu(c){const l=new Set;!function f(p){const m=ai(p,!0),_=m.id;null!==_&&(function p_(c,l,f){if(l&&l!==f)throw new Error(`Duplicate module registered for ${c} - ${U(l)} vs ${U(l.name)}`)}(_,Gs.get(_),p),Gs.set(_,p));const y=ur(m.imports);for(const w of y)l.has(w)||(l.add(w),f(w))}(c)}(l)}create(l){return new m_(this.moduleType,l)}}function _u(c,l,f,p){return mc(fe(),zi(),c,l,f,p)}function gc(c,l){const f=c[l];return f===Ye?void 0:f}function mc(c,l,f,p,m,_){const y=l+f;return Ai(c,y,m)?Yn(c,y+1,_?p.call(_,m):p(m)):gc(c,y+1)}function yu(c,l,f,p,m,_,y,w){const T=l+f;return function Ri(c,l,f,p,m){const _=bn(c,l,f,p);return Ai(c,l+2,m)||_}(c,T,m,_,y)?Yn(c,T+3,w?p.call(w,m,_,y):p(m,_,y)):gc(c,T+3)}function bu(c,l){const f=pt();let p;const m=c+20;f.firstCreatePass?(p=function $A(c,l){if(l)for(let f=l.length-1;f>=0;f--){const p=l[f];if(c===p.name)return p}}(l,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const _=p.factory||(p.factory=Gn(p.type)),y=Oi(Ls);try{const w=Jc(!1),T=_();return Jc(w),function tv(c,l,f,p){f>=c.data.length&&(c.data[f]=null,c.blueprint[f]=null),l[f]=p}(f,fe(),m,T),T}finally{Oi(y)}}function qs(c,l,f){const p=c+20,m=fe(),_=Ve(m,p);return Tr(m,p)?mc(m,zi(),l,_.transform,f,_):_.transform(f)}function v_(c,l,f,p){const m=c+20,_=fe(),y=Ve(_,m);return Tr(_,m)?function hf(c,l,f,p,m,_,y){const w=l+f;return bn(c,w,m,_)?Yn(c,w+2,y?p.call(y,m,_):p(m,_)):gc(c,w+2)}(_,zi(),l,y.transform,f,p,y):y.transform(f,p)}function A_(c,l,f,p,m){const _=c+20,y=fe(),w=Ve(y,_);return Tr(y,_)?yu(y,zi(),l,w.transform,f,p,m,w):w.transform(f,p,m)}function Tr(c,l){return c[1].data[l].pure}function Au(c){return l=>{setTimeout(c,void 0,l)}}const Ln=class pf extends b.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,f,p){var m,_,y;let w=l,T=f||(()=>null),D=p;if(l&&"object"==typeof l){const B=l;w=null===(m=B.next)||void 0===m?void 0:m.bind(B),T=null===(_=B.error)||void 0===_?void 0:_.bind(B),D=null===(y=B.complete)||void 0===y?void 0:y.bind(B)}this.__isAsync&&(T=Au(T),w&&(w=Au(w)),D&&(D=Au(D)));const M=super.subscribe({next:w,error:T,complete:D});return l instanceof u.w&&l.add(M),M}};function YA(){return this._results[Za()]()}class $s{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=Za(),p=$s.prototype;p[f]||(p[f]=YA)}get changes(){return this._changes||(this._changes=new Ln)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,f){return this._results.reduce(l,f)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,f){const p=this;p.dirty=!1;const m=xn(l);(this._changesDetected=!function K0(c,l,f){if(c.length!==l.length)return!1;for(let p=0;p{class c{}return c.__NG_ELEMENT_ID__=C_,c})();const ZA=_c,QA=class extends ZA{constructor(l,f,p){super(),this._declarationLView=l,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(l){const f=this._declarationTContainer.tViews,p=Ua(this._declarationLView,f,l,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[19];return null!==_&&(p[19]=_.createEmbeddedView(f)),Rs(f,p,l),new zn(p)}};function C_(){return Vo(ii(),fe())}function Vo(c,l){return 4&c.type?new QA(l,c,Vs(c,l)):null}let Cu=(()=>{class c{}return c.__NG_ELEMENT_ID__=gf,c})();function gf(){return T_(ii(),fe())}const XA=Cu,mf=class extends XA{constructor(l,f,p){super(),this._lContainer=l,this._hostTNode=f,this._hostLView=p}get element(){return Vs(this._hostTNode,this._hostLView)}get injector(){return new ni(this._hostTNode,this._hostLView)}get parentInjector(){const l=tl(this._hostTNode,this._hostLView);if(hw(l)){const f=Lr(l,this._hostLView),p=wa(l);return new ni(f[1].data[p+8],f)}return new ni(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const f=_f(this._lContainer);return null!==f&&f[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,f,p){const m=l.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(l,f,p,m,_){const y=l&&!function Ta(c){return"function"==typeof c}(l);let w;if(y)w=f;else{const B=f||{};w=B.index,p=B.injector,m=B.projectableNodes,_=B.ngModuleRef}const T=y?l:new fu(si(l)),D=p||this.parentInjector;if(!_&&null==T.ngModule&&D){const B=D.get(jo,null);B&&(_=B)}const M=T.create(D,m,void 0,_);return this.insert(M.hostView,w),M}insert(l,f){const p=l._lView,m=p[1];if(function Ht(c){return Ui(c[3])}(p)){const M=this.indexOf(l);if(-1!==M)this.detach(M);else{const B=p[3],W=new mf(B,B[6],B[3]);W.detach(W.indexOf(l))}}const _=this._adjustIndex(f),y=this._lContainer;!function HT(c,l,f,p){const m=10+p,_=f.length;p>0&&(f[m-1][4]=l),p<_-10?(l[4]=f[m],ww(f,10+p,l)):(f.push(l),l[4]=null),l[3]=f;const y=l[17];null!==y&&f!==y&&function Jw(c,l){const f=c[9];l[16]!==l[3][3][16]&&(c[2]=!0),null===f?c[9]=[l]:f.push(l)}(y,l);const w=l[19];null!==w&&w.insertView(c),l[2]|=128}(m,p,y,_);const w=qr(_,y),T=p[11],D=Ts(T,y[7]);return null!==D&&function gg(c,l,f,p,m,_){p[0]=m,p[6]=l,Ss(c,p,f,1,m,_)}(m,y[6],T,p,D,w),l.attachToViewContainerRef(),ww(yf(y),_,l),l}move(l,f){return this.insert(l,f)}indexOf(l){const f=_f(this._lContainer);return null!==f?f.indexOf(l):-1}remove(l){const f=this._adjustIndex(l,-1),p=Tl(this._lContainer,f);p&&(md(yf(this._lContainer),f),Bd(p[1],p))}detach(l){const f=this._adjustIndex(l,-1),p=Tl(this._lContainer,f);return p&&null!=md(yf(this._lContainer),f)?new zn(p):null}_adjustIndex(l,f=0){return null==l?this.length+f:l}};function _f(c){return c[8]}function yf(c){return c[8]||(c[8]=[])}function T_(c,l){let f;const p=l[c.index];if(Ui(p))f=p;else{let m;if(8&c.type)m=E(p);else{const _=l[11];m=_.createComment("");const y=ge(c,l);dr(_,Ts(_,y),m,function El(c,l){return Ft(c)?c.nextSibling(l):l.nextSibling}(_,y),!1)}l[c.index]=f=qg(p,l,m,c),Mo(l,f)}return new mf(f,c,l)}class bf{constructor(l){this.queryList=l,this.matches=null}clone(){return new bf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Er{constructor(l=[]){this.queries=l}createEmbeddedView(l){const f=l.queries;if(null!==f){const p=null!==l.contentQueries?l.contentQueries[0]:f.length,m=[];for(let _=0;_0)p.push(y[w/2]);else{const D=_[w+1],M=l[-T];for(let B=10;B{class c{constructor(f){this.appInits=f,this.resolve=Cc,this.reject=Cc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{_.subscribe({complete:w,error:T})});f.push(y)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return c.\u0275fac=function(f){return new(f||c)(pi(Tc,8))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const U_=new zt("AppId"),Rf={provide:U_,useFactory:function yC(){return`${Pu()}${Pu()}${Pu()}`},deps:[]};function Pu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const q_=new zt("Platform Initializer"),$_=new zt("Platform ID"),W_=new zt("appBootstrapListener");let Pf=(()=>{class c{log(f){console.log(f)}warn(f){console.warn(f)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const Iu=new zt("LocaleId"),Y_=new zt("DefaultCurrencyCode");class Of{constructor(l,f){this.ngModuleFactory=l,this.componentFactories=f}}let Ec=(()=>{class c{compileModuleSync(f){return new uf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),_=ur(ai(f).declarations).reduce((y,w)=>{const T=si(w);return T&&y.push(new fu(T)),y},[]);return new Of(p,_)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const wC=(()=>Promise.resolve(0))();function Ou(c){"undefined"==typeof Zone?wC.then(()=>{c&&c.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",c)}class Vi{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ln(!1),this.onMicrotaskEmpty=new Ln(!1),this.onStable=new Ln(!1),this.onError=new Ln(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function bC(){let c=at.requestAnimationFrame,l=at.cancelAnimationFrame;if("undefined"!=typeof Zone&&c&&l){const f=c[Zone.__symbol__("OriginalDelegate")];f&&(c=f);const p=l[Zone.__symbol__("OriginalDelegate")];p&&(l=p)}return{nativeRequestAnimationFrame:c,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function Uo(c){const l=()=>{!function aS(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(at,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,Hu(c),c.isCheckStableRunning=!0,Sc(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),Hu(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,_,y,w)=>{try{return Q_(c),f.invokeTask(m,_,y,w)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||c.shouldCoalesceRunChangeDetection)&&l(),X_(c)}},onInvoke:(f,p,m,_,y,w,T)=>{try{return Q_(c),f.invoke(m,_,y,w,T)}finally{c.shouldCoalesceRunChangeDetection&&l(),X_(c)}},onHasTask:(f,p,m,_)=>{f.hasTask(m,_),p===m&&("microTask"==_.change?(c._hasPendingMicrotasks=_.microTask,Hu(c),Sc(c)):"macroTask"==_.change&&(c.hasPendingMacrotasks=_.macroTask))},onHandleError:(f,p,m,_)=>(f.handleError(m,_),c.runOutsideAngular(()=>c.onError.emit(_)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Vi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Vi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,f,p){return this._inner.run(l,f,p)}runTask(l,f,p,m){const _=this._inner,y=_.scheduleEventTask("NgZoneEvent: "+m,l,Z_,Cc,Cc);try{return _.runTask(y,f,p)}finally{_.cancelTask(y)}}runGuarded(l,f,p){return this._inner.runGuarded(l,f,p)}runOutsideAngular(l){return this._outer.run(l)}}const Z_={};function Sc(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function Hu(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function Q_(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function X_(c){c._nesting--,Sc(c)}class Hf{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ln,this.onMicrotaskEmpty=new Ln,this.onStable=new Ln,this.onError=new Ln}run(l,f,p){return l.apply(f,p)}runGuarded(l,f,p){return l.apply(f,p)}runOutsideAngular(l){return l()}runTask(l,f,p,m){return l.apply(f,p)}}let J_=(()=>{class c{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Vi.assertNotInAngularZone(),Ou(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())Ou(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let _=-1;p&&p>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==_),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:_,updateCb:m})}whenStable(f,p,m){if(m&&!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(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return c.\u0275fac=function(f){return new(f||c)(pi(Vi))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})(),ey=(()=>{class c{constructor(){this._applications=new Map,Ff.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Ff.findTestabilityInTree(this,f,p)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();class vC{addToWindow(l){}findTestabilityInTree(l,f,p){return null}}function ty(c){Ff=c}let Bn,Ff=new vC;const ny=new zt("AllowMultipleToken");class ry{constructor(l,f){this.name=l,this.token=f}}function EC(c,l,f=[]){const p=`Platform: ${l}`,m=new zt(p);return(_=[])=>{let y=zf();if(!y||y.injector.get(ny,!1))if(c)c(f.concat(_).concat({provide:m,useValue:!0}));else{const w=f.concat(_).concat({provide:m,useValue:!0},{provide:jl,useValue:"platform"});!function TC(c){if(Bn&&!Bn.destroyed&&!Bn.injector.get(ny,!1))throw new ie(400,"");Bn=c.get(SC);const l=c.get(q_,null);l&&l.forEach(f=>f())}(On.create({providers:w,name:p}))}return function oy(c){const l=zf();if(!l)throw new ie(401,"");return l}()}}function zf(){return Bn&&!Bn.destroyed?Bn:null}let SC=(()=>{class c{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const w=function ay(c,l){let f;return f="noop"===c?new Hf:("zone.js"===c?void 0:c)||new Vi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),T=[{provide:Vi,useValue:w}];return w.run(()=>{const D=On.create({providers:T,parent:this.injector,name:f.moduleType.name}),M=f.create(D),B=M.injector.get(_n,null);if(!B)throw new ie(402,"");return w.runOutsideAngular(()=>{const W=w.onError.subscribe({next:ne=>{B.handleError(ne)}});M.onDestroy(()=>{Fu(this._modules,M),W.unsubscribe()})}),function kC(c,l,f){try{const p=f();return vm(p)?p.catch(m=>{throw l.runOutsideAngular(()=>c.handleError(m)),m}):p}catch(p){throw l.runOutsideAngular(()=>c.handleError(p)),p}}(B,w,()=>{const W=M.injector.get(Zs);return W.runInitializers(),W.donePromise.then(()=>(function kE(c){Ne(c,"Expected localeId to be defined"),"string"==typeof c&&(lA=c.toLowerCase().replace(/_/g,"-"))}(M.injector.get(Iu,uc)||uc),this._moduleDoBootstrap(M),M))})})}bootstrapModule(f,p=[]){const m=Lf({},p);return function AC(c,l,f){const p=new uf(f);return Promise.resolve(p)}(0,0,f).then(_=>this.bootstrapModuleFactory(_,m))}_moduleDoBootstrap(f){const p=f.injector.get(qo);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ie(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ie(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return c.\u0275fac=function(f){return new(f||c)(pi(On))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();function Lf(c,l){return Array.isArray(l)?l.reduce(Lf,c):Object.assign(Object.assign({},c),l)}let qo=(()=>{class c{constructor(f,p,m,_,y){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=_,this._initStatus=y,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const w=new I.y(D=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{D.next(this._stable),D.complete()})}),T=new I.y(D=>{let M;this._zone.runOutsideAngular(()=>{M=this._zone.onStable.subscribe(()=>{Vi.assertNotInAngularZone(),Ou(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,D.next(!0))})})});const B=this._zone.onUnstable.subscribe(()=>{Vi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{D.next(!1)}))});return()=>{M.unsubscribe(),B.unsubscribe()}});this.isStable=(0,L.T)(w,T.pipe((0,R.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ie(405,"");let m;m=f instanceof tf?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const _=function CC(c){return c.isBoundToModule}(m)?void 0:this._injector.get(jo),w=m.create(On.NULL,[],p||m.selector,_),T=w.location.nativeElement,D=w.injector.get(J_,null),M=D&&w.injector.get(ey);return D&&M&&M.registerApplication(T,D),w.onDestroy(()=>{this.detachView(w.hostView),Fu(this.components,w),M&&M.unregisterApplication(T)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new ie(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;Fu(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(W_,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return c.\u0275fac=function(f){return new(f||c)(pi(Vi),pi(On),pi(_n),pi(Ni),pi(Zs))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();function Fu(c,l){const f=c.indexOf(l);f>-1&&c.splice(f,1)}let Bf=!0;function MC(){Bf=!1}let hS=(()=>{class c{}return c.__NG_ELEMENT_ID__=uy,c})();function uy(c){return function xC(c,l,f){if(Vc(c)&&!f){const p=Xe(c.index,l);return new zn(p,p)}return 47&c.type?new zn(l[16],l):null}(ii(),fe(),16==(16&c))}class jf{constructor(){}supports(l){return Xr(l)}create(l){return new gy(l)}}const py=(c,l)=>l;class gy{constructor(l){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=l||py}forEachItem(l){let f;for(f=this._itHead;null!==f;f=f._next)l(f)}forEachOperation(l){let f=this._itHead,p=this._removalsHead,m=0,_=null;for(;f||p;){const y=!p||f&&f.currentIndex{y=this._trackByFn(m,w),null!==f&&Object.is(f.trackById,y)?(p&&(f=this._verifyReinsertion(f,w,y,m)),Object.is(f.item,w)||this._addIdentityChange(f,w)):(f=this._mismatch(f,w,y,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,f,p,m){let _;return null===l?_=this._itTail:(_=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._reinsertAfter(l,_,m)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._moveAfter(l,_,m)):l=this._addAfter(new my(f,p),_,m),l}_verifyReinsertion(l,f,p,m){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==_?l=this._reinsertAfter(_,l._prev,m):l.currentIndex!=m&&(l.currentIndex=m,this._addToMoves(l,m)),l}_truncate(l){for(;null!==l;){const f=l._next;this._addToRemovals(this._unlink(l)),l=f}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(l,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const m=l._prevRemoved,_=l._nextRemoved;return null===m?this._removalsHead=_:m._nextRemoved=_,null===_?this._removalsTail=m:_._prevRemoved=m,this._insertAfter(l,f,p),this._addToMoves(l,p),l}_moveAfter(l,f,p){return this._unlink(l),this._insertAfter(l,f,p),this._addToMoves(l,p),l}_addAfter(l,f,p){return this._insertAfter(l,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,f,p){const m=null===f?this._itHead:f._next;return l._next=m,l._prev=f,null===m?this._itTail=l:m._prev=l,null===f?this._itHead=l:f._next=l,null===this._linkedRecords&&(this._linkedRecords=new Vf),this._linkedRecords.put(l),l.currentIndex=p,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const f=l._prev,p=l._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,l}_addToMoves(l,f){return l.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Vf),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,f){return l.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class my{constructor(l,f){this.item=l,this.trackById=f,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 Bu{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,l))return p;return null}remove(l){const f=l._prevDup,p=l._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Vf{constructor(){this.map=new Map}put(l){const f=l.trackById;let p=this.map.get(f);p||(p=new Bu,this.map.set(f,p)),p.add(l)}get(l,f){const m=this.map.get(l);return m?m.get(l,f):null}remove(l){const f=l.trackById;return this.map.get(f).remove(l)&&this.map.delete(f),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kf(c,l,f){const p=c.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const _=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,_)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,f){if(l){const p=l._prev;return f._next=l,f._prev=p,l._prev=f,p&&(p._next=f),l===this._mapHead&&(this._mapHead=f),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(l,f){if(this._records.has(l)){const m=this._records.get(l);this._maybeAddToChanges(m,f);const _=m._prev,y=m._next;return _&&(_._next=y),y&&(y._prev=_),m._next=null,m._prev=null,m}const p=new zC(l);return this._records.set(l,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,f){Object.is(f,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=f,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,f){l instanceof Map?l.forEach(f):Object.keys(l).forEach(p=>f(l[p],p))}}class zC{constructor(l){this.key=l,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 Uf(){return new kc([new jf])}let kc=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||Uf()),deps:[[c,new Sa,new _s]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ie(901,"")}}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:Uf}),c})();function qf(){return new ea([new Gf])}let ea=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||qf()),deps:[[c,new Sa,new _s]]}}find(f){const p=this.factories.find(_=>_.supports(f));if(p)return p;throw new ie(901,"")}}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:qf}),c})();const wy=[new Gf],vy=new kc([new jf]),$f=new ea(wy),Ay=EC(null,"core",[{provide:$_,useValue:"unknown"},{provide:SC,deps:[On]},{provide:ey,deps:[]},{provide:Pf,deps:[]}]),Ey=[{provide:qo,useClass:qo,deps:[Vi,On,_n,Ni,Zs]},{provide:hu,deps:[Vi],useFactory:function gS(c){let l=[];return c.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(f){l.push(f)}}},{provide:Zs,useClass:Zs,deps:[[new _s,Tc]]},{provide:Ec,useClass:Ec,deps:[]},Rf,{provide:kc,useFactory:function Cy(){return vy},deps:[]},{provide:ea,useFactory:function Ty(){return $f},deps:[]},{provide:Iu,useFactory:function tr(c){return c||function Pi(){return"undefined"!=typeof $localize&&$localize.locale||uc}()},deps:[[new ul(Iu),new _s,new Sa]]},{provide:Y_,useValue:"USD"}];let mS=(()=>{class c{constructor(f){}}return c.\u0275fac=function(f){return new(f||c)(pi(qo))},c.\u0275mod=po({type:c}),c.\u0275inj=Cn({providers:Ey}),c})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class N extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return N.\u0275fac=function(){let G;return function(b){return(G||(G=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(N)))(b||N)}}(),N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class N{constructor(){this.data=new Map}getItem(v){return this.data.get(v)}removeItem(v){this.data.delete(v)}setItem(v,b){this.data.set(v,b)}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class ReceivedTokens{}class OAuthEvent{constructor(G){this.type=G}}class OAuthSuccessEvent extends OAuthEvent{constructor(G,v=null){super(G),this.info=v}}class OAuthInfoEvent extends OAuthEvent{constructor(G,v=null){super(G),this.info=v}}class OAuthErrorEvent extends OAuthEvent{constructor(G,v,b=null){super(G),this.reason=v,this.params=b}}function b64DecodeUnicode(N){const G=N.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(G).split("").map(function(v){return"%"+("00"+v.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(N){return btoa(N).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(G){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=v=>{location.href=v},G&&Object.assign(this,G)}}class WebHttpUrlEncodingCodec{encodeKey(G){return encodeURIComponent(G)}encodeValue(G){return encodeURIComponent(G)}decodeKey(G){return decodeURIComponent(G)}decodeValue(G){return decodeURIComponent(G)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(G){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let v=this.inferHashAlgorithm(G.idTokenHeader),b=yield this.calcHash(G.accessToken,v),I=base64UrlEncode(b.substr(0,b.length/2)),L=G.idTokenClaims.at_hash.replace(/=/g,"");return I!==L&&(console.error("exptected at_hash: "+I),console.error("actual at_hash: "+L)),I===L})}inferHashAlgorithm(G){let v=G.alg;if(!v.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+v);return"sha-"+v.substr(2)}}let UrlHelperService=(()=>{class N{getHashFragmentParams(v){let b=v||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const u=b.indexOf("?");return b=b.substr(u>-1?u+1:1),this.parseQueryString(b)}parseQueryString(v){const b={};let u,I,L,R,O,$,U;if(null===v)return b;u=v.split("&");for(let j=0;j>6,I[R++]=128|63&O):O<55296||O>=57344?(I[R++]=224|O>>12,I[R++]=128|O>>6&63,I[R++]=128|63&O):(O=65536+((1023&O)<<10|1023&N.charCodeAt(++b)),I[R++]=240|O>>18,I[R++]=128|O>>12&63,I[R++]=128|O>>6&63,I[R++]=128|63&O);N=I}else{if("object"!==u)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR)}N.length>64&&(N=new Sha256(G,!0).update(N).array());var $=[],U=[];for(b=0;b<64;++b){var j=N[b]||0;$[b]=92^j,U[b]=54^j}Sha256.call(this,G,v),this.update(U),this.oKeyPad=$,this.inner=!0,this.sharedMemory=v}Sha256.prototype.update=function(N){if(!this.finalized){var G,v=typeof N;if("string"!==v){if("object"!==v)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR);G=!0}for(var b,I,u=0,L=N.length,R=this.blocks;u>2]|=N[u]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(R[I>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=R[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var N=this.blocks,G=this.lastByteIndex;N[16]=this.block,N[G>>2]|=EXTRA[3&G],this.block=N[16],G>=56&&(this.hashed||this.hash(),N[0]=this.block,N[16]=N[1]=N[2]=N[3]=N[4]=N[5]=N[6]=N[7]=N[8]=N[9]=N[10]=N[11]=N[12]=N[13]=N[14]=N[15]=0),N[14]=this.hBytes<<3|this.bytes>>>29,N[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var $,z,J,ie,ee,oe,N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=this.blocks;for($=16;$<64;++$)O[$]=O[$-16]+(((z=O[$-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+O[$-7]+(((z=O[$-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(oe=G&v,$=0;$<64;$+=4)this.first?(this.is224?(J=300032,R=(z=O[0]-1413257819)-150054599<<0,b=z+24177077<<0):(J=704751109,R=(z=O[0]-210244248)-1521486534<<0,b=z+143694565<<0),this.first=!1):(R=b+(z=R+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&I^~u&L)+K[$]+O[$])<<0,b=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((J=N&G)^N&v^oe))<<0),L=v+(z=L+((R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7))+(R&u^~R&I)+K[$+1]+O[$+1])<<0,v=z+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ie=b&N)^b&G^J))<<0,I=G+(z=I+((L>>>6|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7))+(L&R^~L&u)+K[$+2]+O[$+2])<<0,G=z+(((v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10))+((ee=v&b)^v&N^ie))<<0,u=N+(z=u+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&L^~I&R)+K[$+3]+O[$+3])<<0,N=z+(((G>>>2|G<<30)^(G>>>13|G<<19)^(G>>>22|G<<10))+((oe=G&v)^G&b^ee))<<0;this.h0=this.h0+N<<0,this.h1=this.h1+G<<0,this.h2=this.h2+v<<0,this.h3=this.h3+b<<0,this.h4=this.h4+u<<0,this.h5=this.h5+I<<0,this.h6=this.h6+L<<0,this.h7=this.h7+R<<0},Sha256.prototype.hex=function(){this.finalize();var N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=HEX_CHARS[N>>28&15]+HEX_CHARS[N>>24&15]+HEX_CHARS[N>>20&15]+HEX_CHARS[N>>16&15]+HEX_CHARS[N>>12&15]+HEX_CHARS[N>>8&15]+HEX_CHARS[N>>4&15]+HEX_CHARS[15&N]+HEX_CHARS[G>>28&15]+HEX_CHARS[G>>24&15]+HEX_CHARS[G>>20&15]+HEX_CHARS[G>>16&15]+HEX_CHARS[G>>12&15]+HEX_CHARS[G>>8&15]+HEX_CHARS[G>>4&15]+HEX_CHARS[15&G]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[I>>28&15]+HEX_CHARS[I>>24&15]+HEX_CHARS[I>>20&15]+HEX_CHARS[I>>16&15]+HEX_CHARS[I>>12&15]+HEX_CHARS[I>>8&15]+HEX_CHARS[I>>4&15]+HEX_CHARS[15&I]+HEX_CHARS[L>>28&15]+HEX_CHARS[L>>24&15]+HEX_CHARS[L>>20&15]+HEX_CHARS[L>>16&15]+HEX_CHARS[L>>12&15]+HEX_CHARS[L>>8&15]+HEX_CHARS[L>>4&15]+HEX_CHARS[15&L];return this.is224||(O+=HEX_CHARS[R>>28&15]+HEX_CHARS[R>>24&15]+HEX_CHARS[R>>20&15]+HEX_CHARS[R>>16&15]+HEX_CHARS[R>>12&15]+HEX_CHARS[R>>8&15]+HEX_CHARS[R>>4&15]+HEX_CHARS[15&R]),O},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=[N>>24&255,N>>16&255,N>>8&255,255&N,G>>24&255,G>>16&255,G>>8&255,255&G,v>>24&255,v>>16&255,v>>8&255,255&v,b>>24&255,b>>16&255,b>>8&255,255&b,u>>24&255,u>>16&255,u>>8&255,255&u,I>>24&255,I>>16&255,I>>8&255,255&I,L>>24&255,L>>16&255,L>>8&255,255&L];return this.is224||O.push(R>>24&255,R>>16&255,R>>8&255,255&R),O},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var N=new ArrayBuffer(this.is224?28:32),G=new DataView(N);return G.setUint32(0,this.h0),G.setUint32(4,this.h1),G.setUint32(8,this.h2),G.setUint32(12,this.h3),G.setUint32(16,this.h4),G.setUint32(20,this.h5),G.setUint32(24,this.h6),this.is224||G.setUint32(28,this.h7),N},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var N=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(N),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(N){if("string"!=typeof N)throw new TypeError("expected string");var G,v=N,b=new Uint8Array(v.length);for(G=0;G{class N{calcHash(v,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(v)))})}toHashString2(v){let b="";for(let u of v)b+=String.fromCharCode(u);return b}toHashString(v){const b=new Uint8Array(v);let u="";for(let I of b)u+=String.fromCharCode(I);return u}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})(),OAuthService=(()=>{class N extends AuthConfig{constructor(v,b,u,I,L,R,O,$,U,j){var F;super(),this.ngZone=v,this.http=b,this.config=L,this.urlHelper=R,this.logger=O,this.crypto=$,this.dateTimeService=j,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=U,L||(L={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),I&&(this.tokenValidationHandler=I),L&&this.configure(L);try{u?this.setStorage(u):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(z){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",z)}if(this.checkLocalStorageAccessable()){const z=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==z?void 0:z.includes("MSIE "))||(null==z?void 0:z.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const v="test";try{return void 0!==window.localStorage&&(localStorage.setItem(v,v),localStorage.removeItem(v),!0)}catch(b){return!1}}configure(v){Object.assign(this,new AuthConfig,v),this.config=Object.assign({},new AuthConfig,v),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(v={},b,u=!0){let I=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(L=>{"token_received"===L.type?I=!0:"logout"===L.type&&(I=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_expires"===L.type&&(null==b||"any"===b||L.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(L=>{I&&this.refreshInternal(v,u).catch(R=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(v,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(v,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(v=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(v))}loadDiscoveryDocumentAndLogin(v=null){return this.loadDiscoveryDocumentAndTryLogin(v=v||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof v.state?v.state:""),!1))}debug(...v){this.showDebugInformation&&this.logger.debug.apply(this.logger,v)}validateUrlFromDiscoveryDocument(v){const b=[],u=this.validateUrlForHttps(v),I=this.validateUrlAgainstIssuer(v);return u||b.push("https for all urls required. Also for urls received by discovery."),I||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(v){if(!v)return!0;const b=v.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(v,b){if(!v)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(v))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(v){return!this.strictDiscoveryDocumentValidation||!v||v.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const v=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}setupIdTokenTimer(){const v=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(v,b){const u=this.dateTimeService.now();return Math.max(0,(b-v)*this.timeoutFactor-(u-v))}setStorage(v){this._storage=v,this.configChanged()}loadDiscoveryDocument(v=null){return new Promise((b,u)=>{v||((v=this.issuer||"").endsWith("/")||(v+="/"),v+=".well-known/openid-configuration"),this.validateUrlForHttps(v)?this.http.get(v).subscribe(I=>{if(!this.validateDiscoveryDocument(I))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void u("discovery_document_validation_error");this.loginUrl=I.authorization_endpoint,this.logoutUrl=I.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=I.grant_types_supported,this.issuer=I.issuer,this.tokenEndpoint=I.token_endpoint,this.userinfoEndpoint=I.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=I.jwks_uri,this.sessionCheckIFrameUrl=I.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(I),this.revocationEndpoint=I.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(L=>{const O=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:I,jwks:L});this.eventsSubject.next(O),b(O)}).catch(L=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",L)),u(L)})},I=>{this.logger.error("error loading discovery document",I),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",I)),u(I)}):u("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((v,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(u=>{this.jwks=u,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),v(u)},u=>{this.logger.error("error loading jwks",u),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",u)),b(u)}):v(null)})}validateDiscoveryDocument(v){let b;return this.skipIssuerCheck||v.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(v.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!v.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+v.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(v,b,u).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((v,b)=>{const u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:u,observe:"response",responseType:"text"}).subscribe(I=>{if(this.debug("userinfo received",JSON.stringify(I)),I.headers.get("content-type").startsWith("application/json")){let L=JSON.parse(I.body);const R=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!R.sub||L.sub!==R.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");L=Object.assign({},R,L),this._storage.setItem("id_token_claims_obj",JSON.stringify(L)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v({info:L})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v(JSON.parse(I.body))},I=>{this.logger.error("error loading user info",I),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",I)),b(I)})})}fetchTokenUsingPasswordFlow(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:v,password:b},u)}fetchTokenUsingGrant(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let I=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",v).set("scope",this.scope);if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(I=I.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(I=I.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))I=I.set(L,this.customQueryParams[L]);for(const L of Object.keys(b))I=I.set(L,b[L]);return u=u.set("Content-Type","application/x-www-form-urlencoded"),new Promise((L,R)=>{this.http.post(this.tokenEndpoint,I,{headers:u}).subscribe(O=>{this.debug("tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.oidc&&O.id_token&&this.processIdToken(O.id_token,O.access_token).then($=>{this.storeIdToken($),L(O)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),L(O)},O=>{this.logger.error("Error performing ${grantType} flow",O),this.eventsSubject.next(new OAuthErrorEvent("token_error",O)),R(O)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((v,b)=>{let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),I=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);I=I.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(L,this.customQueryParams[L]);this.http.post(this.tokenEndpoint,u,{headers:I}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(L=>L.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(L.id_token,L.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(R=>this.storeIdToken(R)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(R=>L)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(L))).subscribe(L=>{this.debug("refresh tokenResponse",L),this.storeAccessTokenResponse(L.access_token,L.refresh_token,L.expires_in||this.fallbackAccessTokenExpirationTimeInSec,L.scope,this.extractRecognizedCustomParameters(L)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),v(L)},L=>{this.logger.error("Error refreshing token",L),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",L)),b(L)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=v=>{const b=this.processMessageEventMessage(v);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(u=>this.debug("tryLogin during silent refresh failed",u))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(v={},b=!0){const u=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(v.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const I=this.document.getElementById(this.silentRefreshIFrameName);I&&this.document.body.removeChild(I),this.silentRefreshSubject=u.sub;const L=this.document.createElement("iframe");L.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,v).then(j=>{L.setAttribute("src",j),this.silentRefreshShowIFrame||(L.style.display="none"),this.document.body.appendChild(L)});const O=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>j instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),$=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>"token_received"===j.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([O,$,U]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(j=>{if(j instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===j.type||(j=new OAuthErrorEvent("silent_refresh_error",j)),this.eventsSubject.next(j),j;return"token_received"===j.type&&(j=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(j)),j})).toPromise()}initImplicitFlowInPopup(v){return this.initLoginFlowInPopup(v)}initLoginFlowInPopup(v){return v=v||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((u,I)=>{let O,R=null;v.windowRef?v.windowRef&&!v.windowRef.closed&&(R=v.windowRef,R.location.href=b):R=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(v));const $=V=>{this.tryLogin({customHashFragment:V,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{j(),u(!0)},q=>{j(),I(q)})};R?O=window.setInterval(()=>{(!R||R.closed)&&(j(),I(new OAuthErrorEvent("popup_closed",{})))},500):I(new OAuthErrorEvent("popup_blocked",{}));const j=()=>{window.clearInterval(O),window.removeEventListener("storage",z),window.removeEventListener("message",F),null!==R&&R.close(),R=null},F=V=>{const q=this.processMessageEventMessage(V);q&&null!==q?(window.removeEventListener("storage",z),$(q)):console.log("false event firing")},z=V=>{"auth_hash"===V.key&&(window.removeEventListener("message",F),$(V.newValue))};window.addEventListener("message",F),window.addEventListener("storage",z)}))}calculatePopupFeatures(v){const b=v.height||470,u=v.width||500,I=window.screenLeft+(window.outerWidth-u)/2;return`location=no,toolbar=no,width=${u},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${I}`}processMessageEventMessage(v){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!v||!v.data||"string"!=typeof v.data)return;const u=v.data;return u.startsWith(b)?"#"+u.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=v=>{const b=v.origin.toLowerCase(),u=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),u.startsWith(b)){switch(v.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",v)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",u,"event",v)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(v=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(v=>{this.debug("token refresh after session change worked")}).catch(v=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"silently_refreshed"===v.type||"silent_refresh_timeout"===v.type||"silent_refresh_error"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(v=>{"silently_refreshed"!==v.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const v=this.document.getElementById(this.sessionCheckIFrameName);v&&this.document.body.removeChild(v);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const v=this.document.getElementById(this.sessionCheckIFrameName);v||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),v.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(v="",b="",u="",I=!1,L={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const R=this;let O;O=u||this.redirectUri;const $=yield this.createAndSaveNonce();if(v=v?$+this.config.nonceStateSeparator+encodeURIComponent(v):$,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const U=R.loginUrl.indexOf("?")>-1?"&":"?";let j=R.scope;this.oidc&&!j.match(/(^|\s)openid($|\s)/)&&(j="openid "+j);let F=R.loginUrl+U+"response_type="+encodeURIComponent(R.responseType)+"&client_id="+encodeURIComponent(R.clientId)+"&state="+encodeURIComponent(v)+"&redirect_uri="+encodeURIComponent(O)+"&scope="+encodeURIComponent(j);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,V]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",V):this._storage.setItem("PKCE_verifier",V),F+="&code_challenge="+z,F+="&code_challenge_method=S256"}b&&(F+="&login_hint="+encodeURIComponent(b)),R.resource&&(F+="&resource="+encodeURIComponent(R.resource)),R.oidc&&(F+="&nonce="+encodeURIComponent($)),I&&(F+="&prompt=none");for(const z of Object.keys(L))F+="&"+encodeURIComponent(z)+"="+encodeURIComponent(L[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return F})}initImplicitFlowInternal(v="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initImplicitFlow",L),this.inImplicitFlow=!1})}initImplicitFlow(v="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(v,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(u=>"discovery_document_loaded"===u.type)).subscribe(u=>this.initImplicitFlowInternal(v,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(v){const b=this;if(v.onTokenReceived){const u={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};v.onTokenReceived(u)}}storeAccessTokenResponse(v,b,u,I,L){if(this._storage.setItem("access_token",v),I&&!Array.isArray(I)?this._storage.setItem("granted_scopes",JSON.stringify(I.split(" "))):I&&Array.isArray(I)&&this._storage.setItem("granted_scopes",JSON.stringify(I)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),u){const R=1e3*u,$=this.dateTimeService.new().getTime()+R;this._storage.setItem("expires_at",""+$)}b&&this._storage.setItem("refresh_token",b),L&&L.forEach((R,O)=>{this._storage.setItem(O,R)})}tryLogin(v=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(v).then(b=>!0):this.tryLoginImplicitFlow(v)}parseQueryString(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):{}}tryLoginCodeFlow(v=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(v=v||{}).customHashFragment?v.customHashFragment.substring(1):window.location.search,u=this.getCodePartsFromUrl(b),I=u.code,L=u.state,R=u.session_state;if(!v.preventClearHashAfterLogin){const U=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,U)}let[O,$]=this.parseState(L);if(this.state=$,u.error){this.debug("error trying to login"),this.handleLoginError(v,u);const U=new OAuthErrorEvent("code_error",{},u);return this.eventsSubject.next(U),Promise.reject(U)}if(!v.disableNonceCheck){if(!O)return this.saveRequestedRoute(),Promise.resolve();if(!v.disableOAuth2StateCheck&&!this.validateNonce(O)){const j=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(j),Promise.reject(j)}return this.storeSessionState(R),I&&(yield this.getTokenFromCode(I,v),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const v=this._storage.getItem("requested_route");v&&history.replaceState(null,"",window.location.origin+v)}getCodePartsFromUrl(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(v,b){let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",v).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let I;I=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),I?u=u.set("code_verifier",I):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(u,b)}fetchAndProcessToken(v,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const I=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+I)}return this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),new Promise((I,L)=>{if(this.customQueryParams)for(let R of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(R,this.customQueryParams[R]);this.http.post(this.tokenEndpoint,v,{headers:u}).subscribe(R=>{this.debug("refresh tokenResponse",R),this.storeAccessTokenResponse(R.access_token,R.refresh_token,R.expires_in||this.fallbackAccessTokenExpirationTimeInSec,R.scope,this.extractRecognizedCustomParameters(R)),this.oidc&&R.id_token?this.processIdToken(R.id_token,R.access_token,b.disableNonceCheck).then(O=>{this.storeIdToken(O),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),console.error("Error validating tokens"),console.error(O),L(O)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R))},R=>{console.error("Error getting token",R),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",R)),L(R)})})}tryLoginImplicitFlow(v=null){let b;b=(v=v||{}).customHashFragment?this.urlHelper.getHashFragmentParams(v.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const u=b.state;let[I,L]=this.parseState(u);if(this.state=L,b.error){this.debug("error trying to login"),this.handleLoginError(v,b);const j=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(j),Promise.reject(j)}const R=b.access_token,O=b.id_token,$=b.session_state,U=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!R||this.requestAccessToken&&!v.disableOAuth2StateCheck&&!u||this.oidc&&!O)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!$&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!v.disableNonceCheck&&!this.validateNonce(I)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(R,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,U),this.oidc?this.processIdToken(O,R,v.disableNonceCheck).then(j=>v.validationHandler?v.validationHandler({accessToken:R,idClaims:j.idTokenClaims,idToken:j.idToken,state:u}).then(F=>j):j).then(j=>(this.storeIdToken(j),this.storeSessionState($),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(v),this.inImplicitFlow=!1,!0)).catch(j=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),this.logger.error("Error validating tokens"),this.logger.error(j),Promise.reject(j))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(v),Promise.resolve(!0))}parseState(v){let b=v,u="";if(v){const I=v.indexOf(this.config.nonceStateSeparator);I>-1&&(b=v.substr(0,I),u=v.substr(I+this.config.nonceStateSeparator.length))}return[b,u]}validateNonce(v){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===v||(console.error("Validating access_token failed, wrong state/nonce.",b,v),!1)}storeIdToken(v){this._storage.setItem("id_token",v.idToken),this._storage.setItem("id_token_claims_obj",v.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+v.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(v){this._storage.setItem("session_state",v)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(v,b){v.onLoginError&&v.onLoginError(b),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(v=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:v}processIdToken(v,b,u=!1){const I=v.split("."),R=b64DecodeUnicode(this.padBase64(I[0])),O=JSON.parse(R),U=b64DecodeUnicode(this.padBase64(I[1])),j=JSON.parse(U);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(j.aud)){if(j.aud.every(ee=>ee!==this.clientId)){const ee="Wrong audience: "+j.aud.join(",");return this.logger.warn(ee),Promise.reject(ee)}}else if(j.aud!==this.clientId){const ee="Wrong audience: "+j.aud;return this.logger.warn(ee),Promise.reject(ee)}if(!j.sub){const ee="No sub claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==j.sub){const ee=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${j.sub}`;return this.logger.warn(ee),Promise.reject(ee)}if(!j.iat){const ee="No iat claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(!this.skipIssuerCheck&&j.iss!==this.issuer){const ee="Wrong issuer: "+j.iss;return this.logger.warn(ee),Promise.reject(ee)}if(!u&&j.nonce!==F){const ee="Wrong nonce: "+j.nonce;return this.logger.warn(ee),Promise.reject(ee)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!j.at_hash){const ee="An at_hash is needed!";return this.logger.warn(ee),Promise.reject(ee)}const z=this.dateTimeService.now(),V=1e3*j.iat,q=1e3*j.exp,J=this.getClockSkewInMsec();if(V-J>=z||q+J<=z){const ee="Token has expired";return console.error(ee),console.error({now:z,issuedAtMSec:V,expiresAtMSec:q}),Promise.reject(ee)}const ie={accessToken:b,idToken:v,jwks:this.jwks,idTokenClaims:j,idTokenHeader:O,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ie).then(ee=>({idToken:v,idTokenClaims:j,idTokenClaimsJson:U,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q})):this.checkAtHash(ie).then(ee=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ee){const oe="Wrong at_hash";return this.logger.warn(oe),Promise.reject(oe)}return this.checkSignature(ie).then(oe=>{const Ae={idToken:v,idTokenClaims:j,idTokenClaimsJson:U,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q};return this.disableAtHashCheck?Ae:this.checkAtHash(ie).then(He=>{if(this.requestAccessToken&&!He){const ft="Wrong at_hash";return this.logger.warn(ft),Promise.reject(ft)}return Ae})})})}getIdentityClaims(){const v=this._storage.getItem("id_token_claims_obj");return v?JSON.parse(v):null}getGrantedScopes(){const v=this._storage.getItem("granted_scopes");return v?JSON.parse(v):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(v){for(;v.length%4!=0;)v+="=";return v}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const v=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(v&&parseInt(v,10)=0&&null!==this._storage.getItem(v)?JSON.parse(this._storage.getItem(v)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(v={},b=""){let u=!1;"boolean"==typeof v&&(u=v,v={});const I=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(R=>this._storage.removeItem(R)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||u||!I&&!this.postLogoutRedirectUri)return;let L;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)L=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(I)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});I&&(R=R.set("id_token_hint",I));const O=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";O&&(R=R.set("post_logout_redirect_uri",O),b&&(R=R.set("state",b)));for(let $ in v)R=R.set($,v[$]);L=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+R.toString()}this.config.openUri(L)}createAndSaveNonce(){const v=this;return this.createNonce().then(function(b){return v.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):v._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const v=this.document.getElementById(this.silentRefreshIFrameName);v&&v.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(v=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let u=45,I="";const L="undefined"==typeof self?null:self.crypto||self.msCrypto;if(L){let R=new Uint8Array(u);L.getRandomValues(R),R.map||(R.map=Array.prototype.map),R=R.map(O=>b.charCodeAt(O%b.length)),I=String.fromCharCode.apply(null,R)}else for(;0"discovery_document_loaded"===u.type)).subscribe(u=>this.initCodeFlowInternal(v,b))}initCodeFlowInternal(v="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initAuthorizationCodeFlow"),console.error(L)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const v=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(v,"sha-256")),v]})}extractRecognizedCustomParameters(v){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(u=>{v[u]&&b.set(u,JSON.stringify(v[u]))}),b}revokeTokenAndLogout(v={},b=!1){let u=this.revocationEndpoint,I=this.getAccessToken(),L=this.getRefreshToken();if(!I)return;let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),O=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const $=btoa(`${this.clientId}:${this.dummyClientSecret}`);O=O.set("Authorization","Basic "+$)}if(this.useHttpBasicAuth||(R=R.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(R=R.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const $ of Object.getOwnPropertyNames(this.customQueryParams))R=R.set($,this.customQueryParams[$]);return new Promise(($,U)=>{let j,F;if(I){let z=R.set("token",I).set("token_type_hint","access_token");j=this.http.post(u,z,{headers:O})}else j=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(L){let z=R.set("token",L).set("token_type_hint","refresh_token");F=this.http.post(u,z,{headers:O})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(j=j.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(z=>0===z.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(z))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(z=>0===z.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(z)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([j,F]).subscribe(z=>{this.logOut(v),$(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),U(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(G){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G)}}let DefaultOAuthInterceptor=(()=>{class N{constructor(v,b,u){this.oAuthService=v,this.errorHandler=b,this.moduleConfig=u}checkUrl(v){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(v):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>v.toLowerCase().startsWith(b.toLowerCase()))}intercept(v,b){const u=v.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(u)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>!!L)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_received"===L.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(L=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(L=>{if(L){const O=v.headers.set("Authorization","Bearer "+L);v=v.clone({headers:O})}return b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(R=>this.errorHandler.handleError(R)))})):b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>this.errorHandler.handleError(L))):b.handle(v)}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class NullValidationHandler{validateSignature(G){return Promise.resolve(null)}validateAtHash(G){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class N{static forRoot(v=null,b=NullValidationHandler){return{ngModule:N,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:v},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:N}),N.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),N})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:N=>{"use strict";N.exports={i8:"6.0.0"}}},N=>{N(N.s=4159)}]); \ No newline at end of file diff --git a/dist/apps/password-reset/main.97aaaa2c21369015.js b/dist/apps/password-reset/main.97aaaa2c21369015.js new file mode 100644 index 000000000..46073e21d --- /dev/null +++ b/dist/apps/password-reset/main.97aaaa2c21369015.js @@ -0,0 +1 @@ +(self.webpackChunkpassword_reset=self.webpackChunkpassword_reset||[]).push([[179],{4159:(N,G,v)=>{"use strict";var b=v(9808),u=v(5e3);class I extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends I{static makeCurrent(){(0,b.HT)(new L)}onAndCancel(n,e,t){return n.addEventListener(e,t,!1),()=>{n.removeEventListener(e,t,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function O(){return R=R||document.querySelector("base"),R?R.getAttribute("href"):null}();return null==e?null:function U(r){$=$||document.createElement("a"),$.setAttribute("href",r);const n=$.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){R=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return(0,b.Mx)(document.cookie,n)}}let $,R=null;const j=new u.OlP("TRANSITION_ID"),z=[{provide:u.ip1,useFactory:function F(r,n,e){return()=>{e.get(u.CZH).donePromise.then(()=>{const t=(0,b.q)(),o=n.querySelectorAll(`style[ng-transition="${r}"]`);for(let s=0;s{const s=n.findTestabilityInTree(t,o);if(null==s)throw new Error("Could not find testability for element.");return s},u.dqk.getAllAngularTestabilities=()=>n.getAllTestabilities(),u.dqk.getAllAngularRootElements=()=>n.getAllRootElements(),u.dqk.frameworkStabilizers||(u.dqk.frameworkStabilizers=[]),u.dqk.frameworkStabilizers.push(t=>{const o=u.dqk.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(d){i=i||d,s--,0==s&&t(i)};o.forEach(function(d){d.whenStable(a)})})}findTestabilityInTree(n,e,t){if(null==e)return null;const o=n.getTestability(e);return null!=o?o:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null}}let q=(()=>{class r{build(){return new XMLHttpRequest}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const J=new u.OlP("EventManagerPlugins");let ie=(()=>{class r{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}addGlobalEventListener(e,t,o){return this._findPluginFor(t).addGlobalEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const o=this._plugins;for(let s=0;s{class r{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),t.add(o))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),Ce=(()=>{class r extends re{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(s=>{const i=this._doc.createElement("style");i.textContent=s,o.push(t.appendChild(i))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Ae),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Ae))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function Ae(r){(0,b.q)().remove(r)}const He={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/"},ft=/%COMP%/g;function ue(r,n,e){for(let t=0;t{if("__ngUnwrap__"===n)return r;!1===r(n)&&(n.preventDefault(),n.returnValue=!1)}}let be=(()=>{class r{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new se(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case u.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new Ii(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case u.ifc.ShadowDom:return new Ne(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ue(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ie),u.LFG(Ce),u.LFG(u.AFp))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class se{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(He[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){n.appendChild(e)}insertBefore(n,e,t){n&&n.insertBefore(e,t)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error(`The selector "${n}" did not match any elements`);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;const s=He[o];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){const o=He[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(u.JOm.DashCase|u.JOm.Important)?n.style.setProperty(e,t,o&u.JOm.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&u.JOm.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n[e]=t}setValue(n,e){n.nodeValue=e}listen(n,e,t){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,de(t)):this.eventManager.addEventListener(n,e,de(t))}}class Ii extends se{constructor(n,e,t,o){super(n),this.component=t;const s=ue(o+"-"+t.id,t.styles,[]);e.addStyles(s),this.contentAttr=function Ze(r){return"_ngcontent-%COMP%".replace(ft,r)}(o+"-"+t.id),this.hostAttr=function oe(r){return"_nghost-%COMP%".replace(ft,r)}(o+"-"+t.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}}class Ne extends se{constructor(n,e,t,o){super(n),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=ue(o.id,o.styles,[]);for(let i=0;i{class r extends ee{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const An=["alt","control","meta","shift"],io={"\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={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Do={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey};let Cn=(()=>{class r extends ee{constructor(e){super(e)}supports(e){return null!=r.parseEventName(e)}addEventListener(e,t,o){const s=r.parseEventName(t),i=r.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const s=r._normalizeKey(t.pop());let i="";if(An.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),i+=d+".")}),i+=s,0!=t.length||0===s.length)return null;const a={};return a.domEventName=o,a.fullKey=i,a}static getEventFullKey(e){let t="",o=function ri(r){let n=r.key;if(null==n){if(n=r.keyIdentifier,null==n)return"Unidentified";n.startsWith("U+")&&(n=String.fromCharCode(parseInt(n.substring(2),16)),3===r.location&&Ot.hasOwnProperty(n)&&(n=Ot[n]))}return io[n]||n}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),An.forEach(s=>{s!=o&&Do[s](e)&&(t+=s+".")}),t+=o,t}static eventCallback(e,t,o){return s=>{r.getEventFullKey(s)===e&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Mo=(0,u.eFA)(u._c5,"browser",[{provide:u.Lbi,useValue:b.bD},{provide:u.g9A,useValue:function no(){L.makeCurrent(),V.init()},multi:!0},{provide:b.K0,useFactory:function ns(){return(0,u.RDi)(document),document},deps:[]}]),oo=[{provide:u.zSh,useValue:"root"},{provide:u.qLn,useFactory:function is(){return new u.qLn},deps:[]},{provide:J,useClass:Je,multi:!0,deps:[b.K0,u.R0b,u.Lbi]},{provide:J,useClass:Cn,multi:!0,deps:[b.K0]},{provide:be,useClass:be,deps:[ie,Ce,u.AFp]},{provide:u.FYo,useExisting:be},{provide:re,useExisting:Ce},{provide:Ce,useClass:Ce,deps:[b.K0]},{provide:u.dDg,useClass:u.dDg,deps:[u.R0b]},{provide:ie,useClass:ie,deps:[J,u.R0b]},{provide:b.JF,useClass:q,deps:[]}];let xo=(()=>{class r{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:r,providers:[{provide:u.AFp,useValue:e.appId},{provide:j,useExisting:u.AFp},z]}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(r,12))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:oo,imports:[b.ez,u.hGG]}),r})(),Oi=(()=>{class r{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:function(e){let t=null;return t=e?new e:function _i(){return new Oi((0,u.LFG)(b.K0))}(),t},providedIn:"root"}),r})();"undefined"!=typeof window&&window;let Sn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:function(e){let t=null;return t=e?new(e||r):u.LFG(pr),t},providedIn:"root"}),r})(),pr=(()=>{class r extends Sn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case u.q3G.NONE:return t;case u.q3G.HTML:return(0,u.qzn)(t,"HTML")?(0,u.z3N)(t):(0,u.EiD)(this._doc,String(t)).toString();case u.q3G.STYLE:return(0,u.qzn)(t,"Style")?(0,u.z3N)(t):t;case u.q3G.SCRIPT:if((0,u.qzn)(t,"Script"))return(0,u.z3N)(t);throw new Error("unsafe value used in a script context");case u.q3G.URL:return(0,u.yhl)(t),(0,u.qzn)(t,"URL")?(0,u.z3N)(t):(0,u.mCW)(String(t));case u.q3G.RESOURCE_URL:if((0,u.qzn)(t,"ResourceURL"))return(0,u.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,u.JVY)(e)}bypassSecurityTrustStyle(e){return(0,u.L6k)(e)}bypassSecurityTrustScript(e){return(0,u.eBb)(e)}bypassSecurityTrustUrl(e){return(0,u.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,u.pB0)(e)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:function(e){let t=null;return t=e?new e:function Lc(r){return new pr(r.get(b.K0))}(u.LFG(u.zs3)),t},providedIn:"root"}),r})();var C=v(520);class Lt{encodeKey(n){return encodeURIComponent(n)}encodeValue(n){return encodeURIComponent(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const Bt=new u.OlP("basePath");class je{constructor(n={}){this.apiKeys=n.apiKeys,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.withCredentials=n.withCredentials,this.encoder=n.encoder}selectHeaderContentType(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}selectHeaderAccept(n){if(0===n.length)return;const e=n.find(t=>this.isJsonMime(t));return void 0===e?n[0]:e}isJsonMime(n){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==n&&(e.test(n)||"application/json-patch+json"===n.toLowerCase())}}let un=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}convertAttributeToNonunique(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}convertAttributeToUnique(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attribute",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteAttributeDefinitions(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attributes[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllAttributeDefinitions(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAttribute(e,t,o,s,i,a,d,h,g,S,H,te="body",he=!1){let _e=new C.LE({encoder:this.encoder});null!=e&&(_e=_e.set("attributeName",e)),null!=t&&(_e=_e.set("attributeId",t)),null!=o&&(_e=_e.set("facility",o)),null!=s&&(_e=_e.set("user",s)),null!=i&&(_e=_e.set("vo",i)),null!=a&&(_e=_e.set("resource",a)),null!=d&&(_e=_e.set("member",d)),null!=h&&(_e=_e.set("group",h)),null!=g&&(_e=_e.set("host",g)),null!=S&&(_e=_e.set("userExtSource",S)),null!=H&&(_e=_e.set("key",H));let Te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Te=Te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Te=Te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Te=Te.set("Authorization","Bearer "+bt)}const Rt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Rt&&(Te=Te.set("Accept",Rt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:_e,withCredentials:this.configuration.withCredentials,headers:Te,observe:te,reportProgress:he})}getAttributeDefinitionById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeDefinitionByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeDefinitionsByNamespace(e,t="body",o=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("namespace",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeModulesDependenciesForAttributeGraphText(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("format",e)),null!=t&&(i=i.set("attrName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAttributeModulesDependenciesGraphText(e,t="body",o=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("format",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributePolicyCollections(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributeRights(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAttributesDefinitionWithRights(e,t,o,s,i,a,d,h,g="body",S=!1){let H=new C.LE({encoder:this.encoder});null!=e&&(H=H.set("member",e)),null!=t&&(H=H.set("user",t)),null!=o&&(H=H.set("vo",o)),null!=s&&(H=H.set("group",s)),null!=i&&(H=H.set("resource",i)),null!=a&&(H=H.set("facility",a)),null!=d&&(H=H.set("host",d)),null!=h&&(H=H.set("userExtSource",h));let te=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(te=te.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(te=te.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;te=te.set("Authorization","Bearer "+Te)}const _e=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==_e&&(te=te.set("Accept",_e)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:H,withCredentials:this.configuration.withCredentials,headers:te,observe:g,reportProgress:S})}getEntitylessAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEntitylessAttributesByKey(e,t="body",o=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("key",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEntitylessAttributesByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attrName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEntitylessAttributesWithKeys(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attrName",e)),t&&t.forEach(g=>{i=i.append("keys[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEntitylessKeys(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityResourceUserMemberAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=o&&(d=d.set("user",o)),null!=s&&(d=d.set("member",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getFacilityUserAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupResourceAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupResourceAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupResourceAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getHostAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getHostAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getHostAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getLogins(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberAndUserAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberAndUserAttributesByNames(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberGroupAndUserAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberGroupAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberGroupAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberGroupAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberGroupAttributesByNames(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),o&&o.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAndUserFacilityAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAndUserFacilityAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getMemberResourceAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberResourceAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesFacilityService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesFacilityServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesGroupResourceService(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("group",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesHostService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("host",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("workWithUserAttributes",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesMemberGroup(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesMemberGroupResourceService(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("group",o)),null!=s&&(h=h.set("member",s)),null!=i&&(h=h.set("workWithUserAttributes",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=o&&(d=d.set("member",o)),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesMemberResource(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRequiredAttributesMemberResourceService(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=o&&(d=d.set("member",o)),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRequiredAttributesResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesResourceService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesResourceServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("services[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRequiredAttributesUserFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRequiredAttributesVoService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceGroupAndGroupAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("workWithGroupAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResourceGroupAndGroupAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attrNames[]",H)}),null!=s&&(d=d.set("workWithGroupAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getResourceGroupAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceGroupMemberAttributesByNames(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=o&&(d=d.set("member",o)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserFacilityAttributeById(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attributeId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getUserFacilityAttributeByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attributeName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getUserFacilityAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAttributeById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAttributeByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attributeName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeAttributesForFacilityResourceGroupUserMember(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==i)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=o&&(g=g.set("group",o)),null!=s&&(g=g.set("user",s)),null!=i&&(g=g.set("member",i)),a&&a.forEach(he=>{g=g.append("attributes[]",he)});let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==i)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("user",o)),null!=s&&(h=h.set("member",s)),i&&i.forEach(te=>{h=h.append("attributes[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}removeEntitylessAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("key",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupResourceAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeGroupResourceAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attributes[]",H)}),null!=s&&(d=d.set("workWithGroupAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeHostAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeHostAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("host",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMemberAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMemberAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMemberAttributesWorkWithUserAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),t&&t.forEach(S=>{a=a.append("attributes[]",S)}),null!=o&&(a=a.set("workWithUserAttributes",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),o&&o.forEach(H=>{d=d.append("attributes[]",H)}),null!=s&&(d=d.set("workWithUserAttributes",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeMemberResourceAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeMemberResourceAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("resource",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeResourceAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUesAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserExtSourceAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userExtSource",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserFacilityAttribute(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("attribute",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeUserFacilityAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("facility",t)),o&&o.forEach(S=>{a=a.append("attributes[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeVoAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("attribute",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setAttributePolicyCollections(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setAttributeRights(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setEntitylessAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceGroupUserMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceUserMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupWithUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAndUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberWithUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupWithGroupAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttribute(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ai=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}auditMessagesManagerLog(e,t="body",o=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("msg",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createAuditerConsumer(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllAuditerConsumers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMessages(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMessagesByCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("count",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMessagesPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}pollConsumerMessages(e,t="body",o=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("consumerName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}setLastProcessedId(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("consumerName",e)),null!=t&&(i=i.set("lastProcessedId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Hi=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAllPolicies(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==o)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("role",e)),null!=t&&(a=a.set("complementaryObjectId",t)),null!=o&&(a=a.set("complementaryObjectName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAuthzRichAdmins(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=o&&(g=g.set("complementaryObjectName",o)),s&&s.forEach(he=>{g=g.append("specificAttributes",he)}),null!=i&&(g=g.set("allUserAttributes",i)),null!=a&&(g=g.set("onlyDirectAdmins",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupRoleNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("groupId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getLoggedUser(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getPerunPrincipal(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserRoleNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("user",t)),e&&e.forEach(g=>{i=i.append("roles[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}isFacilityAdmin(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}keepAlive(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ss=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createAutorship(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createCategoryCat(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createCategoryNR(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createPublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createPublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createThanks(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAuthorship(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("publicationId",e)),null!=t&&(i=i.set("userId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteCategory(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deletePublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deletePublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteThanks(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findAllAuthors(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findExternalPublications(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==o)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=o&&(d=d.set("yearTill",o)),null!=s&&(d=d.set("pubSysNamespace",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findNewAuthors(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findPublicationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findPublicationsByFilter(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let a=new C.LE({encoder:this.encoder});null!=t&&(a=a.set("yearSince",t)),null!=o&&(a=a.set("yearTill",o)),null!=e&&(a=a.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findPublicationsByGUIFilter(e,t,o,s,i,a,d,h,g,S="body",H=!1){let te=new C.LE({encoder:this.encoder});null!=e&&(te=te.set("title",e)),null!=t&&(te=te.set("isbn",t)),null!=o&&(te=te.set("doi",o)),null!=s&&(te=te.set("id",s)),null!=i&&(te=te.set("year",i)),null!=a&&(te=te.set("category",a)),null!=d&&(te=te.set("yearSince",d)),null!=h&&(te=te.set("yearTill",h)),null!=g&&(te=te.set("userId",g));let he=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(he=he.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(he=he.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const mt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;he=he.set("Authorization","Bearer "+mt)}const Te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Te&&(he=he.set("Accept",Te)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:te,withCredentials:this.configuration.withCredentials,headers:he,observe:S,reportProgress:H})}findSimilarPublications(e,t,o,s="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("title",e)),null!=t&&(a=a.set("doi",t)),null!=o&&(a=a.set("isbn",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getCategories(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getRank(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichThanksByPublicationId(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}lockPublications(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateCategory(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updatePublication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updatePublicationSystem(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Ro=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getCurrentDatabaseVersion(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ro=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addExtSourceWithGroupSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addExtSourceWithVoSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createExtSourceFromExtSourceObject(e,t="body",o=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createExtSourceWithNameType(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSourceByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getExtSources(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}loadExtSourcesDefinitions(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeExtSourceWithVoSource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("source",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),kn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addFacilityAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityAdminGroupByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityAdminUserByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwnerByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwnerByFacilityNameOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addFacilityOwnerByOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHost(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHostByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("hostname",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHosts(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addHostsByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hostnames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignSecurityTeam(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignSecurityTeamByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributesByDestinationName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributesBySourceDestinationNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyAttributesBySourceName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagersByDestinationName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagersBySourceDestinationNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyManagersBySourceName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwners(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwnersByDestinationName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacility",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwnersBySourceDestinationNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacilityName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyOwnersBySourceName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("srcFacilityName",e)),null!=t&&(i=i.set("destFacility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllowedGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedGroupsByFacilityName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedRichGroupsWithAttributes(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=o&&(d=d.set("vo",o)),null!=s&&(d=d.set("service",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(H=>{d=d.append("attrNames[]",H)}),null!=o&&(d=d.set("vo",o)),null!=s&&(d=d.set("service",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllowedUsersOfFacility(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedUsersOfFacilityByFacilityName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("service",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getAllowedVos(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedVosByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedFacilitiesByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesByAssignedServiceForFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedResourcesForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesForFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedSecurityTeams(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedSecurityTeamsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedUsers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedUsersByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getBansForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facilityId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEnrichedFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getEnrichedHosts(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilitiesByAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilitiesByDestination(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesByHostName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilitiesCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAdminGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAdminUsers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityAdminUsersByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityBan(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacilityBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityForHost(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityOwners(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityOwnersByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHosts(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsByHostname(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getHostsCountByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getOwnerFacilities(e,t="body",o=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichFacilities(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminGroupByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityAdminUserByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeFacilityOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityOwnerByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityOwnerByFacilityNameOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeFacilityOwnerByOwnerName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("owner",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeHost(e,t="body",o=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("host",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeHostByHostname(e,t="body",o=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("hostname",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeHosts(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeHostsByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("hosts[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSecurityTeam(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSecurityTeamByFacilityName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),null!=t&&(i=i.set("securityTeam",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setFacilityBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFacilityBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ei=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getFacilityAdminGroupsByFacilityName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),as=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addMembers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}canExtendMembershipInGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createGroupUnion(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createGroupWithParentGroupNameDescription(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("parentGroup",e)),null!=t&&(a=a.set("name",t)),null!=o&&(a=a.set("description",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}createGroupWithVoNameDescription(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("name",t)),null!=o&&(a=a.set("description",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}deleteGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}extendMembershipInGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}forceAllSubGroupsSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceGroupStructureSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceGroupSynchronization(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllGroupsFromAllVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attrNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichGroupsWithAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupMemberById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCountsByGroupStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupMembersCountsByVoStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupRichMembersByIds(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("members[]",S)}),o&&o.forEach(S=>{a=a.append("attrNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getGroupUnions(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("reverseDirection",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getIndirectMembershipPaths(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMemberGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberRichGroupsWithAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRichGroupByIdWithAttributesByNames(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("groupId",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSubgroupsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}isGroupMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}moveGroupWithDestinationGroupMovingGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let i=new C.LE({encoder:this.encoder});null!=t&&(i=i.set("destinationGroup",t)),null!=e&&(i=i.set("movingGroup",e));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupUnion(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resultGroup",e)),null!=t&&(i=i.set("operandGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeMembers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("members[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setGroupsMemberStatus(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("group",t)),null!=o&&(a=a.set("status",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}updateGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Si=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getGroupMemberData(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),De=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}canExtendMembership(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createMemberForCandidate(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createMemberForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createMemberFromExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSpecificMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSponsoredMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createSponsoredMembersFromCSV(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("members[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}extendMembership(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findCompleteRichMembersByAttributes(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("attrsNames[]",S)}),null!=t&&(a=a.set("searchString",t)),o&&o.forEach(S=>{a=a.append("allowedStatuses[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findCompleteRichMembersForGroup(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(he=>{g=g.append("attrsNames[]",he)}),i&&i.forEach(he=>{g=g.append("allowedStatuses[]",he)}),a&&a.forEach(he=>{g=g.append("allowedGroupStatuses[]",he)}),null!=o&&(g=g.set("searchString",o)),null!=s&&(g=g.set("lookingInParentGroup",s));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),s&&s.forEach(H=>{d=d.append("allowedStatuses[]",H)}),null!=o&&(d=d.set("searchString",o));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}findMembersInVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findSponsoredCompleteRichMembersForVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("attrsNames[]",H)}),null!=o&&(d=d.set("searchString",o)),null!=s&&(d=d.set("onlySponsored",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getAllMembers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllSponsoredMembersAndTheirSponsors(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getCompleteRichMembersForGroup(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),o&&o.forEach(te=>{h=h.append("allowedStatuses[]",te)}),s&&s.forEach(te=>{h=h.append("allowedGroupStatuses[]",te)}),null!=t&&(h=h.set("lookingInParentGroup",t)),i&&i.forEach(te=>{h=h.append("attrsNames[]",te)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),o&&o.forEach(H=>{d=d.append("attrsNames[]",H)}),s&&s.forEach(H=>{d=d.append("allowedStatuses[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getCompleteRichMembersForVo(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("allowedStatuses[]",S)}),o&&o.forEach(S=>{a=a.append("attrsNames[]",S)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberByExtSourceNameAndExtLogin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("extLogin",t)),null!=o&&(a=a.set("extSourceName",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMemberById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMemberByUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMembers(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getMembersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersCount(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getMembersPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getMembersWithStatusCount(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getRichMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichMemberWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichMembersByIds(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("ids[]",g)}),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsoredMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsoredMembersAndTheirSponsors(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsorsByMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsorsByVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=o&&(d=d.set("extLogin",o)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}moveMembership(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==o)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("sourceUser",t)),null!=o&&(a=a.set("targetUser",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}removeSponsor(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("sponsor",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sendAccountActivationLinkEmail(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=o&&(d=d.set("emailAttributeURN",o)),null!=s&&(d=d.set("language",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendPasswordResetLinkEmail(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("emailAttributeURN",o)),null!=s&&(h=h.set("language",s)),null!=i&&(h=h.set("baseUrl",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}setSponsoredMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setSponsorshipForMember(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("sponsoredMember",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}setStatus(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("status",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sponsorMember(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}updateSponsorshipValidity(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e)),null!=t&&(a=a.set("sponsor",t)),null!=o&&(a=a.set("validityTo",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}validateMemberAsync(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),tt=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}createOwner(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("owner",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllOwners(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getOwnerById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getOwnerByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("owner",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Et=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}sentMessageToRTWithMemberQueue(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=o&&(d=d.set("subject",o)),null!=s&&(d=d.set("text",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sentMessageToRTWithQueue(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("queue",e)),null!=t&&(a=a.set("subject",t)),null!=o&&(a=a.set("text",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sentMessageToRTWithVo(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e)),null!=t&&(a=a.set("subject",t)),null!=o&&(a=a.set("text",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sentMessageToRTWithVoQueue(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=o&&(d=d.set("subject",o)),null!=s&&(d=d.set("text",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),yi=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addApplicationMailForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",o=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyFormFromGroupToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyFormFromVoToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyFormFromVoToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromGroupToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromGroupToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromGroup",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromVoToGroup(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyMailsFromVoToVo(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("fromVo",e)),null!=t&&(i=i.set("toVo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createApplicationFormInGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteApplicationMailForVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("id",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteGroupsFromAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("groups[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=o&&(d=d.set("dateFrom",o)),null!=s&&(d=d.set("dateTo",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsForMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getApplicationsForVo(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(H=>{d=d.append("state[]",H)}),null!=o&&(d=d.set("dateFrom",o)),null!=s&&(d=d.set("dateTo",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getApplicationsPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFormItemsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("type",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupApplicationForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),null!=t&&(i=i.set("reason",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sendInvitation(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new C.LE({encoder:this.encoder});null!=o&&(d=d.set("voId",o)),null!=s&&(d=d.set("name",s)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}sendInvitationForGroup(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new C.LE({encoder:this.encoder});null!=o&&(h=h.set("voId",o)),null!=s&&(h=h.set("groupId",s)),null!=i&&(h=h.set("name",i)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,o,s="body",i=!1){let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e)),null!=t&&(a=a.set("voId",t)),null!=o&&(a=a.set("groupId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}sendInvitationToExistingUser(e,t,o="body",s=!1){let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("userId",e)),null!=t&&(i=i.set("voId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}sendMessage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Vn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}activateGroupResourceAssignment(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),null!=t&&(a=a.set("resource",t)),null!=o&&(a=a.set("async",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}addAdminToGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addAdminToUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addResourceSelfServiceGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addResourceSelfServiceUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}allowGroupsToResources(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let a=new C.LE({encoder:this.encoder});e&&e.forEach(S=>{a=a.append("groups[]",S)}),t&&t.forEach(S=>{a=a.append("resources[]",S)}),null!=o&&(a=a.set("async",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}assignGroupToResource(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("async",o)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupToResources(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(te=>{h=h.append("resources[]",te)}),null!=o&&(h=h.set("async",o)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignGroupsToResource(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new C.LE({encoder:this.encoder});e&&e.forEach(te=>{h=h.append("groups[]",te)}),null!=t&&(h=h.set("resource",t)),null!=o&&(h=h.set("async",o)),null!=s&&(h=h.set("assignInactive",s)),null!=i&&(h=h.set("autoAssignSubgroups",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}assignResourceTagToResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}assignService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}assignServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}copyResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createResource(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=o&&(d=d.set("name",o)),null!=s&&(d=d.set("description",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createResourceTagWithResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createResourceTagWithTagName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("tagName",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deactivateGroupResourceAssignment(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteAllResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteAllResourcesTagsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}deleteResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getAdminGroups(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAdmins(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("onlyDirectAdmins",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllResourcesByResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getAllResourcesTagsForResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesTagsForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllowedUsersOfResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedGroups(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("member",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedMembersWithStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResourcesWithStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichMembers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithGroup(e,t="body",o=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("group",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesWithMemberService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAssignedServicesToResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getBansForResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getEnrichedResourceById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("id",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEnrichedResourcesForFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("facility",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getEnrichedResourcesForVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupAssignments(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceAssignments(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceBan(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourceBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourceByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==o)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("name",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesCountForAll(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getResourcesFromVoWhereUserIsAdmin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getResourcesWhereGroupIsAdmin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("group",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getResourcesWhereUserIsAdmin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e)),null!=t&&(a=a.set("vo",t)),null!=o&&(a=a.set("user",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRichAdmins(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(H=>{d=d.append("specificAttributes",H)}),null!=o&&(d=d.set("allUserAttributes",o)),null!=s&&(d=d.set("onlyDirectAdmins",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getRichResourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichResourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeAllResourceTagsFromResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("resource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeBanByMemberAndResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupAdminResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupFromResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupFromResources(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeGroupsFromResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeResourceSelfServiceGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("group",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceSelfServiceUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeResourceTagFromResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}removeService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeServices(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),t&&t.forEach(g=>{i=i.append("services[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("servicesPackage",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserAdminResource(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("resource",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}setResourceBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unallowGroupsFromResources(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let i=new C.LE({encoder:this.encoder});e&&e.forEach(g=>{i=i.append("groups[]",g)}),t&&t.forEach(g=>{i=i.append("resources[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}updateResource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateResourceBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateResourceTag(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Gt=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addDestination(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=o&&(h=h.set("destination",o)),null!=s&&(h=h.set("type",s)),null!=i&&(h=h.set("propagationType",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}addDestinationToMultipleServices(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addDestinationsForAllServicesOnFacility(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==o)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=o&&(d=d.set("type",o)),null!=s&&(d=d.set("propagationType",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}addRequiredAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addRequiredAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addServiceToServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}blockAllServicesOnDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}blockAllServicesOnDestinationByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}blockAllServicesOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}blockServiceOnDestination(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}blockServiceOnDestinationWithNameAndType(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=o&&(a=a.set("destinationType",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}blockServiceOnFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createService(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==o)throw new Error("Required parameter script was null or undefined when calling createService.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e)),null!=t&&(a=a.set("description",t)),null!=o&&(a=a.set("script",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}createServiceWithService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}createServicesPackageByNameAndDescription(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("description",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteService(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}forceServicePropagation(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllDestinations(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllRichDestinationsForService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedResources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedServices(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getDataWithGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getDataWithVos(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getDestinations(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getDestinationsCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityAssignedServicesForGUI(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFlatData(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHashedDataWithGroups(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHashedHierarchicalData(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getHierarchicalData(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("facility",t)),null!=o&&(a=a.set("filterExpiredMembers",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getRichDestinations(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getServiceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServiceByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServices(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesBlockedOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesByAttributeDefinition(e,t="body",o=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("attributeDefinition",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesFromServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackageById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("servicesPackage",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackageByName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("name",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getServicesPackages(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}isServiceBlockedOnFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}planServicePropagation(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeAllDestinations(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeAllRequiredAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("service",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeDestination(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=o&&(d=d.set("destination",o)),null!=s&&(d=d.set("type",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}removeRequiredAttribute(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("attributeId",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeRequiredAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),t&&t.forEach(g=>{i=i.append("attributes[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeServiceFromServicesPackage(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("servicesPackage",e)),null!=t&&(i=i.set("service",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}unblockAllServicesOnDestinationById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("destination",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}unblockAllServicesOnDestinationByName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("destination",e)),null!=t&&(i=i.set("destinationType",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}unblockAllServicesOnFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}unblockServiceOnDestinationById(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}unblockServiceOnDestinationByName(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e)),null!=t&&(a=a.set("destination",t)),null!=o&&(a=a.set("destinationType",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}unblockServiceOnFacility(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}updateService(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateServicesPackage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),dn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}countTasks(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}deleteTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteTaskResultById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteTaskResultsIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteTaskResultsNames(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getAllFacilitiesStates(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAllResourcesState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("voId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityServicesState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getFacilityState(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTask(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getTaskById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("taskResult",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResults(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForDestinations(e,t="body",o=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("destinations[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForGUIByTask(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getTaskResultsForGUIByTaskAndDestination(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("task",e)),null!=t&&(i=i.set("destination",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",o=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("task",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isThereSuchTask(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("service",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}listAllTasks(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",o=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("facility",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}suspendTasksPropagation(e,t="body",o=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("suspend",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),St=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSpecificUserOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addUserExtSource(e,t="body",o=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}anonymizeUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}changeNonAuthzPasswordByToken(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e)),null!=t&&(a=a.set("password",t)),null!=o&&(a=a.set("lang",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}changePasswordForLogin(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==o)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("newPassword",o)),null!=s&&(h=h.set("oldPassword",s)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}changePasswordForUser(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==o)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=o&&(h=h.set("newPassword",o)),null!=s&&(h=h.set("oldPassword",s)),null!=i&&(h=h.set("checkOldPassword",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",o=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("token",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}checkPasswordStrength(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("password",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createAlternativePassword(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==o)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=o&&(d=d.set("loginNamespace",o)),null!=s&&(d=d.set("password",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}createServiceUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAlternativePassword(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==o)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("loginNamespace",t)),null!=o&&(a=a.set("passwordId",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}deletePasswordForLogin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deletePasswordForUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}deleteUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findRichUsers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}findRichUsersWithAttributes(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("searchString",e)),t&&t.forEach(g=>{i=i.append("attrsNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findUsers(e,t="body",o=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("searchString",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}generateAccountForName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("namespace",e)),null!=t&&(i=i.set("name",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllRichUsersWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("includedSpecificUsers",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getAssignedRichResourcesForUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getGroupsForFacilityWhereUserIsActive(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("facility",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsForResourceWhereUserIsActive(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("resource",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsInVoWhereUserIsAdmin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("vo",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getGroupsWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getPendingPreferredEmailChanges(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUserExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUserWithAttributes(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersWithAttributesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getRichUsersWithoutVoWithAttributes(e,t="body",o=!1){let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("attrsNames[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSpecificUsersByUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getSponsorsForMember(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("member",e)),t&&t.forEach(g=>{i=i.append("attrNames[]",g)});let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getSponsorsForMemberByVoAndLogin(e,t,o,s,i="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=o&&(d=d.set("extLogin",o)),s&&s.forEach(H=>{d=d.append("attrNames[]",H)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const H="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+H)}const S=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==S&&(h=h.set("Accept",S)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:i,reportProgress:a})}getUserByExtSourceNameAndExtLogin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("extLogin",e)),null!=t&&(i=i.set("extSourceName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("userExtSource",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeId",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("attributeName",e)),null!=t&&(i=i.set("attributeValue",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getUserExtSources(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUserExtSourcesByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsers(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getUsersByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsersBySpecificUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("specificUser",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getUsersPage(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getVosWhereUserIsAdmin(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosWhereUserIsMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("user",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}isLoginAvailable(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("loginNamespace",e)),null!=t&&(i=i.set("login",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}loginExist(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSpecificUserOwner(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("specificUser",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeUserExtSource(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("userExtSource",t)),null!=o&&(a=a.set("force",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}requestPreferredEmailChange(e,t,o,s,i,a,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new C.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=o&&(g=g.set("lang",o)),null!=s&&(g=g.set("linkPath",s)),null!=i&&(g=g.set("customUrl",i)),null!=a&&(g=g.set("idpFilter",a));let S=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(S=S.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(S=S.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const he="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;S=S.set("Authorization","Bearer "+he)}const te=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==te&&(S=S.set("Accept",te)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:S,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==o)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("login",e)),null!=t&&(a=a.set("namespace",t)),null!=o&&(a=a.set("password",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}reservePasswordForUser(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==o)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e)),null!=t&&(a=a.set("namespace",t)),null!=o&&(a=a.set("password",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}reserveRandomPassword(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}updateUser(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}validatePasswordForLogin(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("login",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}validatePasswordForUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("user",e)),null!=t&&(i=i.set("namespace",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}validatePreferredEmailChangeWithToken(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("token",e)),null!=t&&(i=i.set("u",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Kn=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}getAppsConfig(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),so=(()=>{class r{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new je,o&&(this.configuration=o),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Lt}addSponsorRoleToGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addSponsorRoleToUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addVoAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}addVoAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createVoWithName(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("name",e)),null!=t&&(i=i.set("shortName",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}createVoWithVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteVo(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("force",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}findCandidates(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e)),null!=t&&(a=a.set("searchString",t)),null!=o&&(a=a.set("maxNumOfResults",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}findCandidatesForGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("group",e)),null!=t&&(i=i.set("searchString",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getAllVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("searchString",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getCompleteCandidatesForVo(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),t&&t.forEach(S=>{a=a.append("attrNames[]",S)}),null!=o&&(a=a.set("searchString",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getMyVos(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,o,s,i,a="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==i)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),o&&o.forEach(te=>{h=h.append("specificAttributes",te)}),null!=s&&(h=h.set("allUserAttributes",s)),null!=i&&(h=h.set("onlyDirectAdmins",i));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const te="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+te)}const H=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==H&&(g=g.set("Accept",H)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:a,reportProgress:d})}getVoAdminGroups(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("role",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}getVoAdminUsers(e,t,o,s="body",i=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let a=new C.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e)),null!=t&&(a=a.set("role",t)),null!=o&&(a=a.set("onlyDirectAdmins",o));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const S="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+S)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:a,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:i})}getVoBanById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoBanForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoBansForVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoById(e,t="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("id",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoByShortName(e,t="body",o=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("shortName",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVoMembersCountsByStatus(e,t="body",o=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("vo",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosByIds(e,t="body",o=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new C.LE({encoder:this.encoder});e&&e.forEach(h=>{s=s.append("ids[]",h)});let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}getVosCount(e="body",t=!1){let o=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(o=o.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(o=o.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const a="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;o=o.set("Authorization","Bearer "+a)}const i=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==i&&(o=o.set("Accept",i)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeSponsorRoleFromUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoAdminGroup(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("authorizedGroup",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoAdminUser(e,t,o="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let i=new C.LE({encoder:this.encoder});null!=e&&(i=i.set("vo",e)),null!=t&&(i=i.set("user",t));let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(a=a.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:i,withCredentials:this.configuration.withCredentials,headers:a,observe:o,reportProgress:s})}removeVoBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("banId",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}removeVoBanForMember(e,t="body",o=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=s.set("member",e));let i=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(i=i.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(i=i.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;i=i.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(i=i.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:s,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:o})}setVoBan(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateVo(e,t="body",o=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+g)}const a=this.configuration.selectHeaderAccept(["application/json"]);void 0!==a&&(s=s.set("Accept",a));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(s=s.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(Bt,8),u.LFG(je,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),pp=(()=>{class r{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:r,providers:[{provide:je,useFactory:e}]}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(r,12),u.LFG(C.eN,8))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[un,ai,Hi,ss,Ro,ro,kn,ei,as,Si,De,tt,Et,yi,Vn,Gt,dn,St,Kn,so],imports:[[]]}),r})();var nt=(()=>{return(r=nt||(nt={})).PERUNADMIN="PERUNADMIN",r.PERUNOBSERVER="PERUNOBSERVER",r.VOADMIN="VOADMIN",r.GROUPADMIN="GROUPADMIN",r.SELF="SELF",r.FACILITYADMIN="FACILITYADMIN",r.FACILITIYOBSERVER="FACILITYOBSERVER",r.RESOURCEADMIN="RESOURCEADMIN",r.RESOURCESELFSERVICE="RESOURCESELFSERVICE",r.REGISTRAR="REGISTRAR",r.ENGINE="ENGINE",r.RPC="RPC",r.NOTIFICATIONS="NOTIFICATIONS",r.SERVICEUSER="SERVICEUSER",r.SPONSOR="SPONSOR",r.VOOBSERVER="VOOBSERVER",r.TOPGROUPCREATOR="TOPGROUPCREATOR",r.SECURITYADMIN="SECURITYADMIN",r.CABINETADMIN="CABINETADMIN",r.UNKNOWNROLENAME="UNKNOWNROLENAME",nt;var r})();let gp=(()=>{class r{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const o=this.fetchPolicyWithAllIncludedPolicies(e);let s=[];for(const a of o)s=s.concat(a.perunRoles);const i=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(s,i)}resolveAuthorization(e,t){for(const o of e){let s=!0;for(const i of Object.keys(o)){const a=o[i];if(null===a)this.principalRoles.has(i)||(s=!1);else if(t[a]){for(const d of t[a])if(!this.principalHasRole(i,a,d)){s=!1;break}}else s=!1;if(!s)break}if(s)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const o of e){let s=o.beanName;switch(o.beanName.startsWith("Rich")&&(s=o.beanName.substring(4)),t[s]?t[s].push(o.id):t[s]=[o.id],s){case"Member":t.User?t.User.push(o.userId):t.User=[o.userId],t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId];break;case"Resource":t.Facility?t.Facility.push(o.facilityId):t.Facility=[o.facilityId],t.Vo?t.Vo.push(o.voId):t.Vo=[o.voId]}}return t}principalHasRole(e,t,o){let s=t;return t.startsWith("Rich")&&(s=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][s])&&this.principal.roles[e][s].includes(Number(o.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const i=o.shift();if(t.has(i)){console.log("Policy {} creates a cycle in the included policies of the policy {}",i,e);continue}const a=this.getPerunPolicy(i);if(!a)return[];t.set(i,a),o=o.concat(a.includePolicies)}const s=[];for(const i of t.values())s.push(i);return s}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER,nt.FACILITYADMIN,nt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(nt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(nt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(nt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(nt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(nt.PERUNADMIN,nt.VOOBSERVER,nt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(nt.PERUNADMIN,nt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(o=>{this.allRolesManagementRules=o,e()},o=>t(o))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(o=>{o.primaryObject===t&&e.push(o.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let o=e.beanName;o.startsWith("Rich")&&(o=o.substr(4)),this.assignAvailableRoles(t,o);const s=new Map;this.getRolesAuthorization(t,e,s);for(const i of s.values())if(i.readAuth||i.manageAuth)return!0;return!1}getRolesAuthorization(e,t,o){for(const s of e){let i=[],a=[],d=[];for(const H of this.allRolesManagementRules)if(H.roleName===s){i=i.concat(H.privilegedRolesToRead),a=a.concat(H.privilegedRolesToManage);for(const te of Object.keys(H.entitiesToManage))d="User"===te?[te].concat(d):d.concat(te);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(i,h),S=this.resolveAuthorization(a,h);o.set(s,{readAuth:g,manageAuth:S,modes:d})}}voCustomSort(e){for(let t=0;t{class r{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let s=0;s(0,_r.k)(o)?t(...o):t(o))):new bi.y(o=>{Gn(r,n,function s(i){o.next(arguments.length>1?Array.prototype.slice.call(arguments):i)},o,e)})}function Gn(r,n,e,t,o){let s;if(function us(r){return r&&"function"==typeof r.addEventListener&&"function"==typeof r.removeEventListener}(r)){const i=r;r.addEventListener(n,e,o),s=()=>i.removeEventListener(n,e,o)}else if(function yr(r){return r&&"function"==typeof r.on&&"function"==typeof r.off}(r)){const i=r;r.on(n,e),s=()=>i.off(n,e)}else if(function Zu(r){return r&&"function"==typeof r.addListener&&"function"==typeof r.removeListener}(r)){const i=r;r.addListener(n,e),s=()=>i.removeListener(n,e)}else{if(!r||!r.length)throw new TypeError("Invalid event target");for(let i=0,a=r.length;i0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let ga=1;const Qu=Promise.resolve(),fi={};function ma(r){return r in fi&&(delete fi[r],!0)}const Xu={setImmediate(r){const n=ga++;return fi[n]=!0,Qu.then(()=>ma(n)&&r()),n},clearImmediate(r){ma(r)}},wr=new class ed extends ds.v{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,o=-1,s=e.length;n=n||e.shift();do{if(t=n.execute(n.state,n.delay))break}while(++o0?super.requestAsyncId(n,e,t):(n.actions.push(this),n.scheduled||(n.scheduled=Xu.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(n,e,t);0===n.actions.length&&(Xu.clearImmediate(e),n.scheduled=void 0)}});var br=v(353),hs=v(826),bp=v(9054);class k{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new x(n,this.durationSelector))}}class x extends hs.L{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(n)}catch(o){return this.destination.error(o)}const t=(0,bp.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:n,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))}notifyNext(n,e,t,o){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function E(r){return!(0,_r.k)(r)&&r-parseFloat(r)+1>=0}var P=v(2866);function Y(r=0,n,e){let t=-1;return E(n)?t=Number(n)<1?1:Number(n):(0,P.K)(n)&&(e=n),(0,P.K)(e)||(e=br.P),new bi.y(o=>{const s=E(r)?r:+r-e.now();return e.schedule(ae,s,{index:0,period:t,subscriber:o})})}function ae(r){const{index:n,period:e,subscriber:t}=r;if(t.next(n),!t.closed){if(-1===e)return t.complete();r.index=n+1,this.schedule(r,e)}}function ge(r,n=br.P){return function Ft(r){return function(e){return e.lift(new k(r))}}(()=>Y(r,n))}var ke=v(2198);let kt;try{kt="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(r){kt=!1}let ot,Ve=(()=>{class r{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!kt)&&"undefined"!=typeof CSS&&!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}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.Lbi))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Xe=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();const qt=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ht(){if(ot)return ot;if("object"!=typeof document||!document)return ot=new Set(qt),ot;let r=document.createElement("input");return ot=new Set(qt.filter(n=>(r.setAttribute("type",n),r.type===n))),ot}let xt,qi,fs;function ti(r){return function Io(){if(null==xt&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>xt=!0}))}finally{xt=xt||!1}return xt}()?r:!!r.capture}function Uc(){if(null==qi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qi=!1,qi;if("scrollBehavior"in document.documentElement.style)qi=!0;else{const r=Element.prototype.scrollTo;qi=!!r&&!/\{\s*\[native code\]\s*\}/.test(r.toString())}}return qi}function $c(r){if(function vp(){if(null==fs){const r="undefined"!=typeof document?document.head:null;fs=!(!r||!r.createShadowRoot&&!r.attachShadow)}return fs}()){const n=r.getRootNode?r.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function td(){let r="undefined"!=typeof document&&document?document.activeElement:null;for(;r&&r.shadowRoot;){const n=r.shadowRoot.activeElement;if(n===r)break;r=n}return r}function fe(r){return r.composedPath?r.composedPath()[0]:r.target}function pt(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const Ap=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function ii(){return(0,u.f3M)(b.K0)}}),Cp=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ci=(()=>{class r{constructor(e){if(this.value="ltr",this.change=new u.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function _a(r){const n=(null==r?void 0:r.toLowerCase())||"";return"auto"===n&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?Cp.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ap,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Oo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),vr=(()=>{class r{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new xe.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new bi.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(ge(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ie.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,ke.h)(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&t.push(s)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=jt(t),s=e.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Kc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.R0b),u.LFG(Ve),u.LFG(b.K0,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Ar=(()=>{class r{constructor(e,t,o){this._platform=e,this._change=new xe.xQ,this._changeListener=s=>{this._change.next(s)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-s.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(ge(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(u.R0b),u.LFG(b.K0,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Dn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),ps=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Oo,Xe,Dn],Oo,Dn]}),r})();class gs{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Wc extends gs{constructor(n,e,t,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class rd extends gs{constructor(n,e,t){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class Di extends gs{constructor(n){super(),this.element=n instanceof u.SBq?n.nativeElement:n}}class Un{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Wc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof rd?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof Di?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Dp extends Un{constructor(n,e,t,o,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=i=>{const a=i.element,d=this._document.createComment("dom-portal");a.parentNode.insertBefore(d,a),this.outletElement.appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(a,d)})},this._document=s}attachComponentPortal(n){const t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(n.injector||this._defaultInjector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context);return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);-1!==o&&e.remove(o)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Mp=(()=>{class r extends Un{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new u.vpe,this.attachDomPortal=s=>{const i=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),i.parentNode.insertBefore(a,i),this._getRootNode().appendChild(i),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(i,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(s,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u._Vd),u.Y36(u.s_b),u.Y36(b.K0))},r.\u0275dir=u.lG2({type:r,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.qOj]}),r})(),zo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();var Nt=v(2654),gn=v(6787),Vt=v(2986);function yt(r){return n=>n.lift(new Lo(r))}class Lo{constructor(n){this.notifier=n}call(n,e){const t=new ya(n),o=(0,bp.D)(t,this.notifier);return o&&!t.seenValue?(t.add(o),e.subscribe(t)):t}}class ya extends hs.L{constructor(n){super(n),this.seenValue=!1}notifyNext(n,e,t,o,s){this.seenValue=!0,this.complete()}notifyComplete(){}}const xp=Uc();class uw{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ut(-this._previousScrollPosition.left),n.style.top=Ut(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,t=n.style,o=this._document.body.style,s=t.scrollBehavior||"",i=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),xp&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xp&&(t.scrollBehavior=s,o.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class ad{constructor(n,e,t,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Rp{enable(){}disable(){}attach(){}}function cd(r,n){return n.some(e=>r.bottome.bottom||r.righte.right)}function dw(r,n){return n.some(e=>r.tope.bottom||r.lefte.right)}class H0{constructor(n,e,t,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();cd(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Zc=(()=>{class r{constructor(e,t,o,s){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new Rp,this.close=i=>new ad(this._scrollDispatcher,this._ngZone,this._viewportRuler,i),this.block=()=>new uw(this._viewportRuler,this._document),this.reposition=i=>new H0(this._scrollDispatcher,this._viewportRuler,this._ngZone,i),this._document=s}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(vr),u.LFG(Ar),u.LFG(u.R0b),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class Qc{constructor(n){if(this.scrollStrategy=new Rp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const t of e)void 0!==n[t]&&(this[t]=n[t])}}}class Ip{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}class fw{constructor(n,e,t,o,s,i,a,d,h){this._portalOutlet=n,this._host=e,this._pane=t,this._config=o,this._ngZone=s,this._keyboardDispatcher=i,this._document=a,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new xe.xQ,this._attachments=new xe.xQ,this._detachments=new xe.xQ,this._locationChanges=Nt.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new xe.xQ,this._outsidePointerEvents=new xe.xQ,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){let e=this._portalOutlet.attach(n);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=Object.assign(Object.assign({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Object.assign(Object.assign({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ut(this._config.width),n.height=Ut(this._config.height),n.minWidth=Ut(this._config.minWidth),n.minHeight=Ut(this._config.minHeight),n.maxWidth=Ut(this._config.maxWidth),n.maxHeight=Ut(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(!n)return;let e;const t=()=>{n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",t),this._disposeBackdrop(n)),this._config.backdropClass&&this._toggleClasses(n,this._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",t)}),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(n,e,t){const o=da(e||[]).filter(s=>!!s);o.length&&(t?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(yt((0,gn.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.remove(),this._backdropElement===n&&(this._backdropElement=null))}}let Bo=(()=>{class r{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||pt()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,s=[];let i;for(let a of this._preferredPositions){let d=this._getOriginPoint(n,o,a),h=this._getOverlayPoint(d,e,a),g=this._getOverlayFit(h,e,t,a);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,d);this._canFitWithFlexibleDimensions(g,h,t)?s.push({position:a,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,a)}):(!i||i.overlayFit.visibleAread&&(d=g,a=h)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&No(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let o,s;if("center"==t.originX)o=n.left+n.width/2;else{const i=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==t.originX?i:a}return e.left<0&&(o-=e.left),s="center"==t.originY?n.top+n.height/2:"top"==t.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:o,y:s}}_getOverlayPoint(n,e,t){let o,s;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:n.x+o,y:n.y+s}}_getOverlayFit(n,e,t,o){const s=Op(e);let{x:i,y:a}=n,d=this._getOffset(o,"x"),h=this._getOffset(o,"y");d&&(i+=d),h&&(a+=h);let H=0-a,te=a+s.height-t.height,he=this._subtractOverflows(s.width,0-i,i+s.width-t.width),_e=this._subtractOverflows(s.height,H,te),Te=he*_e;return{visibleArea:Te,isCompletelyWithinViewport:s.width*s.height===Te,fitsInViewportVertically:_e===s.height,fitsInViewportHorizontally:he==s.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,s=t.right-e.x,i=ud(this._overlayRef.getConfig().minHeight),a=ud(this._overlayRef.getConfig().minWidth),h=n.fitsInViewportHorizontally||null!=a&&a<=s;return(n.fitsInViewportVertically||null!=i&&i<=o)&&h}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=Op(e),s=this._viewportRect,i=Math.max(n.x+o.width-s.width,0),a=Math.max(n.y+o.height-s.height,0),d=Math.max(s.top-t.top-n.y,0),h=Math.max(s.left-t.left-n.x,0);let g=0,S=0;return g=o.width<=s.width?h||-i:n.xhe&&!this._isInitialRender&&!this._growAfterOpen&&(i=n.y-he/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)H=t.width-n.x+this._viewportMargin,g=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)S=n.x,g=t.right-n.x;else{const te=Math.min(t.right-n.x+t.left,n.x),he=this._lastBoundingBoxSize.width;g=2*te,S=n.x-te,g>he&&!this._isInitialRender&&!this._growAfterOpen&&(S=n.x-he/2)}return{top:i,left:S,bottom:a,right:H,width:g,height:s}}_setBoundingBoxStyles(n,e){const t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;o.height=Ut(t.height),o.top=Ut(t.top),o.bottom=Ut(t.bottom),o.width=Ut(t.width),o.left=Ut(t.left),o.right=Ut(t.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Ut(s)),i&&(o.maxWidth=Ut(i))}this._lastBoundingBoxSize=t,No(this._boundingBox.style,o)}_resetBoundingBoxStyles(){No(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){No(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const t={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(o){const g=this._viewportRuler.getViewportScrollPosition();No(t,this._getExactOverlayY(e,n,g)),No(t,this._getExactOverlayX(e,n,g))}else t.position="static";let a="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(a+=`translateX(${d}px) `),h&&(a+=`translateY(${h}px)`),t.transform=a.trim(),i.maxHeight&&(o?t.maxHeight=Ut(i.maxHeight):s&&(t.maxHeight="")),i.maxWidth&&(o?t.maxWidth=Ut(i.maxWidth):s&&(t.maxWidth="")),No(this._pane.style,t)}_getExactOverlayY(n,e,t){let o={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,t)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":o.top=Ut(s.y),o}_getExactOverlayX(n,e,t){let i,o={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,t)),i=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===i?o.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":o.left=Ut(s.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dw(n,t),isOriginOutsideView:cd(n,t),isOverlayClipped:dw(e,t),isOverlayOutsideView:cd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,o)=>t-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&da(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof u.SBq)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}}function No(r,n){for(let e in n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r}function ud(r){if("number"!=typeof r&&null!=r){const[n,e]=r.split(Jc);return e&&"px"!==e?null:parseFloat(n)}return r||null}function Op(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}const Hp="cdk-global-overlay-wrapper";class ba{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Hp),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:s,maxWidth:i,maxHeight:a}=t,d=!("100%"!==o&&"100vw"!==o||i&&"100%"!==i&&"100vw"!==i),h=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=d?"0":this._leftOffset,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Hp),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let dd=(()=>{class r{constructor(e,t,o,s){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=s}global(){return new ba}flexibleConnectedTo(e){return new F0(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ar),u.LFG(b.K0),u.LFG(Ve),u.LFG(Bo))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),el=(()=>{class r{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),tl=(()=>{class r extends el{constructor(e){super(e),this._keydownListener=t=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){o[s]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),il=(()=>{class r extends el{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=fe(o)},this._clickListener=o=>{const s=fe(o),i="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const a=this._attachedOverlays.slice();for(let d=a.length-1;d>-1;d--){const h=a[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(s)||h.overlayElement.contains(i))break;h._outsidePointerEvents.next(o)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),pw=0,Mn=(()=>{class r{constructor(e,t,o,s,i,a,d,h,g,S,H){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=i,this._injector=a,this._ngZone=d,this._document=h,this._directionality=g,this._location=S,this._outsideClickDispatcher=H}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),s=this._createPortalOutlet(o),i=new Qc(e);return i.direction=i.direction||this._directionality.value,new fw(s,t,o,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+pw++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(u.z2F)),new Dp(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Zc),u.LFG(Bo),u.LFG(u._Vd),u.LFG(dd),u.LFG(tl),u.LFG(u.zs3),u.LFG(u.R0b),u.LFG(b.K0),u.LFG(ci),u.LFG(b.Ye),u.LFG(il))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const nl={provide:new u.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Mn],useFactory:function _w(r){return()=>r.scrollStrategies.reposition()}};let ao=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Mn,nl],imports:[[Oo,zo,ps],ps]}),r})();var fd=v(5279);class ni extends xe.xQ{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new fd.N;return this._value}next(n){super.next(this._value=n)}}function Go(r,...n){return n.length?n.some(e=>r[e]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}var ui=v(2868),Yp=v(13),ws=v(3489);function bs(r){return n=>n.lift(new Zp(r))}class Zp{constructor(n){this.total=n}call(n,e){return e.subscribe(new qn(n,this.total))}}class qn extends ws.L{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}class Qp{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new Xp(n,this.compare,this.keySelector))}}class Xp extends ws.L{constructor(n,e,t){super(n),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:o}=this;e=o?o(n):n}catch(o){return this.destination.error(o)}let t=!1;if(this.hasKey)try{const{compare:o}=this;t=o(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;t||(this.key=e,this.destination.next(n))}}let Ad=(()=>{class r{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ET=(()=>{class r{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=jt(e);return new bi.y(o=>{const i=this._observeElement(t).subscribe(o);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new xe.xQ,o=this._mutationObserverFactory.create(s=>t.next(s));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:o}=this._observedElements.get(e);t&&t.disconnect(),o.complete(),this._observedElements.delete(e)}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ad))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Lw=(()=>{class r{constructor(e,t,o){this._contentObserver=e,this._elementRef=t,this._ngZone=o,this.event=new u.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Qe(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=pn(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,Yp.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ET),u.Y36(u.SBq),u.Y36(u.R0b))},r.\u0275dir=u.lG2({type:r,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),r})(),Jp=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Ad]}),r})();function Ed(r,n){return(r.getAttribute(n)||"").match(/\S+/g)||[]}const Sd="cdk-describedby-message",fl="cdk-describedby-host";let eg=0,Bw=(()=>{class r{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+eg++,this._document=e}describe(e,t,o){if(!this._canBeDescribed(e,t))return;const s=kd(t,o);"string"!=typeof t?(Dd(t),this._messageRegistry.set(s,{messageElement:t,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(t,o),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,t,o){var s;if(!t||!this._isElementNode(e))return;const i=kd(t,o);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const a=this._messageRegistry.get(i);a&&0===a.referenceCount&&this._deleteMessageElement(i)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${fl}="${this._id}"]`);for(let o=0;o0!=o.indexOf(Sd));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const o=this._messageRegistry.get(t);(function Cd(r,n,e){const t=Ed(r,n);t.some(o=>o.trim()==e.trim())||(t.push(e.trim()),r.setAttribute(n,t.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(fl,this._id),o.referenceCount++}_removeMessageReference(e,t){const o=this._messageRegistry.get(t);o.referenceCount--,function Td(r,n,e){const o=Ed(r,n).filter(s=>s!=e.trim());o.length?r.setAttribute(n,o.join(" ")):r.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(fl)}_isElementDescribedByMessage(e,t){const o=Ed(e,"aria-describedby"),s=this._messageRegistry.get(t),i=s&&s.messageElement.id;return!!i&&-1!=o.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const o=null==t?"":`${t}`.trim(),s=e.getAttribute("aria-label");return!(!o||s&&s.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function kd(r,n){return"string"==typeof r?`${n||""}/${r}`:r}function Dd(r){r.id||(r.id=`${Sd}-${eg++}`)}class Ra extends class pl{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new xe.xQ,this._typeaheadSubscription=Nt.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new xe.xQ,this.change=new xe.xQ,n instanceof u.n_E&&n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ui.b)(e=>this._pressedLetters.push(e)),(0,Yp.b)(n),(0,ke.h)(()=>this._pressedLetters.length>0),(0,lt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let o=1;o!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;default:return void((o||Go(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),t="number"==typeof n?n:e.indexOf(n),o=e[t];this._activeItem=null==o?null:o,this._activeItemIndex=t}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const o=(this._activeItemIndex+n*t+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const t=this._getItemsArray();if(t[n]){for(;this._skipPredicateFn(t[n]);)if(!t[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof u.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Kt=(()=>{class r{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function jw(r){return!!(r.offsetWidth||r.offsetHeight||"function"==typeof r.getClientRects&&r.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function tg(r){try{return r.frameElement}catch(n){return null}}(function Pa(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}(e));if(t&&(-1===og(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),s=og(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function kT(r){let n=r.nodeName.toLowerCase(),e="input"===n&&r.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function DT(r){return!function ig(r){return function Kw(r){return"input"==r.nodeName.toLowerCase()}(r)&&"hidden"==r.type}(r)&&(function Md(r){let n=r.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(r)||function Vw(r){return function Gw(r){return"a"==r.nodeName.toLowerCase()}(r)&&r.hasAttribute("href")}(r)||r.hasAttribute("contenteditable")||ng(r))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function ng(r){if(!r.hasAttribute("tabindex")||void 0===r.tabIndex)return!1;let n=r.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function og(r){if(!ng(r))return null;const n=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class Mi{constructor(n,e,t,o,s=!1){this._element=n,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let t=0;t=0;t--){const o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(n)}}let xd=(()=>{class r{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new Mi(e,this._checker,this._ngZone,this._document,t)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Kt),u.LFG(u.R0b),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function ml(r){return 0===r.buttons||0===r.offsetX&&0===r.offsetY}function Ia(r){const n=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const $w=new u.OlP("cdk-input-modality-detector-options"),sg={ignoreKeys:[18,17,224,91,16]},Cr=ti({passive:!0,capture:!0});let Ww=(()=>{class r{constructor(e,t,o,s){this._platform=e,this._mostRecentTarget=null,this._modality=new ni(null),this._lastTouchMs=0,this._onKeydown=i=>{var a,d;(null===(d=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===d?void 0:d.some(h=>h===i.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fe(i))},this._onMousedown=i=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ml(i)?"keyboard":"mouse"),this._mostRecentTarget=fe(i))},this._onTouchstart=i=>{Ia(i)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fe(i))},this._options=Object.assign(Object.assign({},sg),s),this.modalityDetected=this._modality.pipe(bs(1)),this.modalityChanged=this.modalityDetected.pipe(function xa(r,n){return e=>e.lift(new Qp(r,n))}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Cr),o.addEventListener("mousedown",this._onMousedown,Cr),o.addEventListener("touchstart",this._onTouchstart,Cr)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Cr),document.removeEventListener("mousedown",this._onMousedown,Cr),document.removeEventListener("touchstart",this._onTouchstart,Cr))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(u.R0b),u.LFG(b.K0),u.LFG($w,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Yw=new u.OlP("cdk-focus-monitor-default-options"),_l=ti({passive:!0,capture:!0});let _n=(()=>{class r{constructor(e,t,o,s,i){this._ngZone=e,this._platform=t,this._inputModalityDetector=o,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 xe.xQ,this._rootNodeFocusAndBlurListener=a=>{const d=fe(a),h="focus"===a.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,a,g)},this._document=s,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const o=jt(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Ie.of)(null);const s=$c(o)||this._getDocument(),i=this._elementInfo.get(o);if(i)return t&&(i.checkChildren=!0),i.subject;const a={checkChildren:t,subject:new xe.xQ,rootNode:s};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=jt(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){const s=jt(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,d])=>this._originChanged(a,t,d)):(this._setOrigin(t),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const o=this._elementInfo.get(t),s=fe(e);!o||!o.checkChildren&&t!==s||this._originChanged(t,this._getFocusOrigin(s),o)}_onBlur(e,t){const o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,_l),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,_l)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(yt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_l),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_l),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((o,s)=>{(s===e||o.checkChildren&&s.contains(e))&&t.push([s,o])}),t}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.R0b),u.LFG(Ve),u.LFG(Ww),u.LFG(b.K0,8),u.LFG(Yw,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const lg="cdk-high-contrast-black-on-white",ug="cdk-high-contrast-white-on-black",Pd="cdk-high-contrast-active";let dg=(()=>{class r{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Pd),e.remove(lg),e.remove(ug),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Pd),e.add(lg)):2===t&&(e.add(Pd),e.add(ug))}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Id=(()=>{class r{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(dg))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Xe,Jp]]}),r})();var yl=v(9146);function vs(...r){return function Zw(){return(0,yl.J)(1)}()((0,Ie.of)(...r))}function yn(...r){const n=r[r.length-1];return(0,P.K)(n)?(r.pop(),e=>vs(r,e,n)):e=>vs(r,e)}class Od{}const lo="*";function Qt(r,n){return{type:7,name:r,definitions:n,options:{}}}function wt(r,n=null){return{type:4,styles:n,timings:r}}function Xw(r,n=null){return{type:2,steps:r,options:n}}function Fe(r){return{type:6,styles:r,offset:null}}function dt(r,n,e){return{type:0,name:r,styles:n,options:e}}function As(r){return{type:5,steps:r}}function rt(r,n,e=null){return{type:1,expr:r,animation:n,options:e}}function Fd(r){Promise.resolve(null).then(r)}class Cs{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Fd(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class vl{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,t=0,o=0;const s=this.players.length;0==s?Fd(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++e==s&&this._onFinish()}),i.onDestroy(()=>{++t==s&&this._onDestroy()}),i.onStart(()=>{++o==s&&this._onStart()})}),this.totalTime=this.players.reduce((i,a)=>Math.max(i,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const n=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function fg(){return"undefined"!=typeof window&&void 0!==window.document}function pg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function $i(r){switch(r.length){case 0:return new Cs;case 1:return r[0];default:return new vl(r)}}function Al(r,n,e,t,o={},s={}){const i=[],a=[];let d=-1,h=null;if(t.forEach(g=>{const S=g.offset,H=S==d,te=H&&h||{};Object.keys(g).forEach(he=>{let _e=he,Te=g[he];if("offset"!==he)switch(_e=n.normalizePropertyName(_e,i),Te){case"!":Te=o[he];break;case lo:Te=s[he];break;default:Te=n.normalizeStyleValue(he,_e,Te,i)}te[_e]=Te}),H||a.push(te),h=te,d=S}),i.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${i.join(g)}`)}return a}function Cl(r,n,e,t){switch(n){case"start":r.onStart(()=>t(e&&zd(e,"start",r)));break;case"done":r.onDone(()=>t(e&&zd(e,"done",r)));break;case"destroy":r.onDestroy(()=>t(e&&zd(e,"destroy",r)))}}function zd(r,n,e){const t=e.totalTime,s=Ha(r.element,r.triggerName,r.fromState,r.toState,n||r.phaseName,null==t?r.totalTime:t,!!e.disabled),i=r._data;return null!=i&&(s._data=i),s}function Ha(r,n,e,t,o="",s=0,i){return{element:r,triggerName:n,fromState:e,toState:t,phaseName:o,totalTime:s,disabled:!!i}}function Wi(r,n,e){let t;return r instanceof Map?(t=r.get(n),t||r.set(n,t=e)):(t=r[n],t||(t=r[n]=e)),t}function gg(r){const n=r.indexOf(":");return[r.substring(1,n),r.substr(n+1)]}let Ld=(r,n)=>!1,mg=(r,n,e)=>[];(pg()||"undefined"!=typeof Element)&&(Ld=fg()?(r,n)=>{for(;n&&n!==document.documentElement;){if(n===r)return!0;n=n.parentNode||n.host}return!1}:(r,n)=>r.contains(n),mg=(r,n,e)=>{if(e)return Array.from(r.querySelectorAll(n));const t=r.querySelector(n);return t?[t]:[]});let Uo=null,Tl=!1;function Bd(r){Uo||(Uo=function Nd(){return"undefined"!=typeof document?document.body:null}()||{},Tl=!!Uo.style&&"WebkitAppearance"in Uo.style);let n=!0;return Uo.style&&!function Jw(r){return"ebkit"==r.substring(1,6)}(r)&&(n=r in Uo.style,!n&&Tl&&(n="Webkit"+r.charAt(0).toUpperCase()+r.substr(1)in Uo.style)),n}const _g=Ld,yg=mg;let jd=(()=>{class r{validateStyleProperty(e){return Bd(e)}matchesElement(e,t){return!1}containsElement(e,t){return _g(e,t)}query(e,t,o){return yg(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,s,i,a=[],d){return new Cs(o,s)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),ho=(()=>{class r{}return r.NOOP=new jd,r})();const Ts="ng-enter",El="ng-leave",Fa="ng-trigger",za=".ng-trigger",Kd="ng-animating",La=".ng-animating";function qo(r){if("number"==typeof r)return r;const n=r.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Es(parseFloat(n[1]),n[2])}function Es(r,n){return"s"===n?1e3*r:r}function Tr(r,n,e){return r.hasOwnProperty("duration")?r:function bg(r,n,e){let o,s=0,i="";if("string"==typeof r){const a=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(`The provided timing value "${r}" is invalid.`),{duration:0,delay:0,easing:""};o=Es(parseFloat(a[1]),a[2]);const d=a[3];null!=d&&(s=Es(parseFloat(d),a[4]));const h=a[5];h&&(i=h)}else o=r;if(!e){let a=!1,d=n.length;o<0&&(n.push("Duration values below 0 are not allowed for this animation step."),a=!0),s<0&&(n.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&n.splice(d,0,`The provided timing value "${r}" is invalid.`)}return{duration:o,delay:s,easing:i}}(r,n,e)}function $o(r,n={}){return Object.keys(r).forEach(e=>{n[e]=r[e]}),n}function $n(r,n,e={}){if(n)for(let t in r)e[t]=r[t];else $o(r,e);return e}function Ss(r,n,e){return e?n+":"+e+";":""}function vg(r){let n="";for(let e=0;e{const o=Sl(t);e&&!e.hasOwnProperty(t)&&(e[t]=r.style[o]),r.style[o]=n[t]}),pg()&&vg(r))}function Er(r,n){r.style&&(Object.keys(n).forEach(e=>{const t=Sl(e);r.style[t]=""}),pg()&&vg(r))}function Ba(r){return Array.isArray(r)?1==r.length?r[0]:Xw(r):r}const Na=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ud(r){let n=[];if("string"==typeof r){let e;for(;e=Na.exec(r);)n.push(e[1]);Na.lastIndex=0}return n}function qd(r,n,e){const t=r.toString(),o=t.replace(Na,(s,i)=>{let a=n[i];return n.hasOwnProperty(i)||(e.push(`Please provide a value for the animation param ${i}`),a=""),a.toString()});return o==t?r:o}function ja(r){const n=[];let e=r.next();for(;!e.done;)n.push(e.value),e=r.next();return n}const ib=/-+([a-z0-9])/g;function Sl(r){return r.replace(ib,(...n)=>n[1].toUpperCase())}function nb(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Yi(r,n,e){switch(n.type){case 7:return r.visitTrigger(n,e);case 0:return r.visitState(n,e);case 1:return r.visitTransition(n,e);case 2:return r.visitSequence(n,e);case 3:return r.visitGroup(n,e);case 4:return r.visitAnimate(n,e);case 5:return r.visitKeyframes(n,e);case 6:return r.visitStyle(n,e);case 8:return r.visitReference(n,e);case 9:return r.visitAnimateChild(n,e);case 10:return r.visitAnimateRef(n,e);case 11:return r.visitQuery(n,e);case 12:return r.visitStagger(n,e);default:throw new Error(`Unable to resolve animation metadata node #${n.type}`)}}function $d(r,n){return window.getComputedStyle(r)[n]}function rb(r,n){const e=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(t=>function sb(r,n,e){if(":"==r[0]){const d=function ab(r,n){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(r,e);if("function"==typeof d)return void n.push(d);r=d}const t=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${r}" is not supported`),n;const o=t[1],s=t[2],i=t[3];n.push(Cg(o,i));"<"==s[0]&&!("*"==o&&"*"==i)&&n.push(Cg(i,o))}(t,e,n)):e.push(r),e}const Va=new Set(["true","1"]),Dl=new Set(["false","0"]);function Cg(r,n){const e=Va.has(r)||Dl.has(r),t=Va.has(n)||Dl.has(n);return(o,s)=>{let i="*"==r||r==o,a="*"==n||n==s;return!i&&e&&"boolean"==typeof o&&(i=o?Va.has(r):Dl.has(r)),!a&&t&&"boolean"==typeof s&&(a=s?Va.has(n):Dl.has(n)),i&&a}}const Ye=new RegExp("s*:selfs*,?","g");function Ml(r,n,e){return new Eg(r).build(n,e)}class Eg{constructor(n){this._driver=n}build(n,e){const t=new Sg(e);return this._resetContextStyleTimingState(t),Yi(this,Ba(n),t)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0}visitTrigger(n,e){let t=e.queryCount=0,o=e.depCount=0;const s=[],i=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const d=a,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,s.push(this.visitState(d,e))}),d.name=h}else if(1==a.type){const d=this.visitTransition(a,e);t+=d.queryCount,o+=d.depCount,i.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:s,transitions:i,queryCount:t,depCount:o,options:null}}visitState(n,e){const t=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(t.containsDynamicStyles){const s=new Set,i=o||{};if(t.styles.forEach(a=>{if(ks(a)){const d=a;Object.keys(d).forEach(h=>{Ud(d[h]).forEach(g=>{i.hasOwnProperty(g)||s.add(g)})})}}),s.size){const a=ja(s.values());e.errors.push(`state("${n.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:n.name,style:t,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const t=Yi(this,Ba(n.animation),e);return{type:1,matchers:rb(n.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:po(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(t=>Yi(this,t,e)),options:po(n.options)}}visitGroup(n,e){const t=e.currentTime;let o=0;const s=n.steps.map(i=>{e.currentTime=t;const a=Yi(this,i,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:s,options:po(n.options)}}visitAnimate(n,e){const t=function fo(r,n){let e=null;if(r.hasOwnProperty("duration"))e=r;else if("number"==typeof r)return Rl(Tr(r,n).duration,0,"");const t=r;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Rl(0,0,"");return s.dynamic=!0,s.strValue=t,s}return e=e||Tr(t,n),Rl(e.duration,e.delay,e.easing)}(n.timings,e.errors);e.currentAnimateTimings=t;let o,s=n.styles?n.styles:Fe({});if(5==s.type)o=this.visitKeyframes(s,e);else{let i=n.styles,a=!1;if(!i){a=!0;const h={};t.easing&&(h.easing=t.easing),i=Fe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(i,e);d.isEmptyStep=a,o=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(n,e){const t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t}_makeStyleAst(n,e){const t=[];Array.isArray(n.styles)?n.styles.forEach(i=>{"string"==typeof i?i==lo?t.push(i):e.errors.push(`The provided style string value ${i} is not allowed.`):t.push(i)}):t.push(n.styles);let o=!1,s=null;return t.forEach(i=>{if(ks(i)){const a=i,d=a.easing;if(d&&(s=d,delete a.easing),!o)for(let h in a)if(a[h].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const t=e.currentAnimateTimings;let o=e.currentTime,s=e.currentTime;t&&s>0&&(s-=t.duration+t.delay),n.styles.forEach(i=>{"string"!=typeof i&&Object.keys(i).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void e.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[a];let g=!0;h&&(s!=o&&s>=h.startTime&&o<=h.endTime&&(e.errors.push(`The CSS property "${a}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${o}ms"`),g=!1),s=h.startTime),g&&(d[a]={startTime:s,endTime:o}),e.options&&function Ag(r,n,e){const t=n.params||{},o=Ud(r);o.length&&o.forEach(s=>{t.hasOwnProperty(s)||e.push(`Unable to resolve the local animation param ${s} in the given list of values`)})}(i[a],e.options,e.errors)})})}visitKeyframes(n,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let s=0;const i=[];let a=!1,d=!1,h=0;const g=n.steps.map(mt=>{const Rt=this._makeStyleAst(mt,e);let bt=null!=Rt.offset?Rt.offset:function cb(r){if("string"==typeof r)return null;let n=null;if(Array.isArray(r))r.forEach(e=>{if(ks(e)&&e.hasOwnProperty("offset")){const t=e;n=parseFloat(t.offset),delete t.offset}});else if(ks(r)&&r.hasOwnProperty("offset")){const e=r;n=parseFloat(e.offset),delete e.offset}return n}(Rt.styles),It=0;return null!=bt&&(s++,It=Rt.offset=bt),d=d||It<0||It>1,a=a||It0&&s{const bt=H>0?Rt==te?1:H*Rt:i[Rt],It=bt*Te;e.currentTime=he+_e.delay+It,_e.duration=It,this._validateStyleAst(mt,e),mt.offset=bt,t.styles.push(mt)}),t}visitReference(n,e){return{type:8,animation:Yi(this,Ba(n.animation),e),options:po(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:po(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:po(n.options)}}visitQuery(n,e){const t=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[s,i]=function xl(r){const n=!!r.split(/\s*,\s*/).find(e=>":self"==e);return n&&(r=r.replace(Ye,"")),r=r.replace(/@\*/g,za).replace(/@\w+/g,e=>za+"-"+e.substr(1)).replace(/:animating/g,La),[r,n]}(n.selector);e.currentQuerySelector=t.length?t+" "+s:s,Wi(e.collectedStyles,e.currentQuerySelector,{});const a=Yi(this,Ba(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:s,limit:o.limit||0,optional:!!o.optional,includeSelf:i,animation:a,originalSelector:n.selector,options:po(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===n.timings?{duration:0,delay:0,easing:"full"}:Tr(n.timings,e.errors,!0);return{type:12,animation:Yi(this,Ba(n.animation),e),timings:t,options:null}}}class Sg{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={},this.options=null}}function ks(r){return!Array.isArray(r)&&"object"==typeof r}function po(r){return r?(r=$o(r)).params&&(r.params=function In(r){return r?$o(r):null}(r.params)):r={},r}function Rl(r,n,e){return{duration:r,delay:n,easing:e}}function Ka(r,n,e,t,o,s,i=null,a=!1){return{type:1,element:r,keyframes:n,preStyleProps:e,postStyleProps:t,duration:o,delay:s,totalTime:o+s,easing:i,subTimeline:a}}class Yd{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let t=this._map.get(n);t||this._map.set(n,t=[]),t.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Pl=new RegExp(":enter","g"),Zd=new RegExp(":leave","g");function Ga(r,n,e,t,o,s={},i={},a,d,h=[]){return(new Qd).buildKeyframes(r,n,e,t,o,s,i,a,d,h)}class Qd{buildKeyframes(n,e,t,o,s,i,a,d,h,g=[]){h=h||new Yd;const S=new Jd(n,e,h,o,s,g,[]);S.options=d,S.currentTimeline.setStyles([i],null,S.errors,d),Yi(this,t,S);const H=S.timelines.filter(te=>te.containsAnimation());if(Object.keys(a).length){let te;for(let he=H.length-1;he>=0;he--){const _e=H[he];if(_e.element===e){te=_e;break}}te&&!te.allowOnlyTimelineStyles()&&te.setStyles([a],null,S.errors,d)}return H.length?H.map(te=>te.buildKeyframes()):[Ka(e,[],[],[],0,0,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(n.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(t,o,o.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=n}visitAnimateRef(n,e){const t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,t){let s=e.currentTimeline.currentTime;const i=null!=t.duration?qo(t.duration):null,a=null!=t.delay?qo(t.delay):null;return 0!==i&&n.forEach(d=>{const h=e.appendInstructionToTimeline(d,i,a);s=Math.max(s,h.duration+h.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),Yi(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const t=e.subContextCount;let o=e;const s=n.options;if(s&&(s.params||s.delay)&&(o=e.createSubContext(s),o.transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Xd);const i=qo(s.delay);o.delayNextStep(i)}n.steps.length&&(n.steps.forEach(i=>Yi(this,i,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const t=[];let o=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?qo(n.options.delay):0;n.steps.forEach(i=>{const a=e.createSubContext(n.options);s&&a.delayNextStep(s),Yi(this,i,a),o=Math.max(o,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(i=>e.currentTimeline.mergeTimelineCollectedStyles(i)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const t=n.strValue;return Tr(e.params?qd(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const t=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(t.duration),this.visitStyle(s,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const s=o&&o.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(s):t.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,s=t.duration,a=e.createSubContext().currentTimeline;a.easing=t.easing,n.styles.forEach(d=>{a.forwardTime((d.offset||0)*s),a.setStyles(d.styles,d.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+s),e.previousNode=n}visitQuery(n,e){const t=e.currentTimeline.currentTime,o=n.options||{},s=o.delay?qo(o.delay):0;s&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Xd);let i=t;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let d=null;a.forEach((h,g)=>{e.currentQueryIndex=g;const S=e.createSubContext(n.options,h);s&&S.delayNextStep(s),h===e.element&&(d=S.currentTimeline),Yi(this,n.animation,S),S.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,S.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const t=e.parentContext,o=e.currentTimeline,s=n.timings,i=Math.abs(s.duration),a=i*(e.currentQueryTotal-1);let d=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=a-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const S=g.currentTime;Yi(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=o.currentTime-S+(o.startTime-t.currentTimeline.startTime)}}const Xd={};class Jd{constructor(n,e,t,o,s,i,a,d){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=s,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new Ol(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const t=n;let o=this.options;null!=t.duration&&(o.duration=qo(t.duration)),null!=t.delay&&(o.delay=qo(t.delay));const s=t.params;if(s){let i=o.params;i||(i=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!i.hasOwnProperty(a))&&(i[a]=qd(s[a],i,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const t=n.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return n}createSubContext(n=null,e,t){const o=e||this.element,s=new Jd(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=Xd,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,t){const o={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},s=new lb(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(s),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,t,o,s,i){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(Pl,"."+this._enterClassName)).replace(Zd,"."+this._leaveClassName);let h=this._driver.query(this.element,n,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),a.push(...h)}return!s&&0==a.length&&i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class Ol{constructor(n,e,t,o){this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Ol(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||lo,this._currentKeyframe[e]=lo}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,t,o){e&&(this._previousKeyframe.easing=e);const s=o&&o.params||{},i=function Mg(r,n){const e={};let t;return r.forEach(o=>{"*"===o?(t=t||Object.keys(n),t.forEach(s=>{e[s]=lo})):$n(o,!1,e)}),e}(n,this._globalTimelineStyles);Object.keys(i).forEach(a=>{const d=qd(i[a],s,t);this._pendingStyles[a]=d,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:lo),this._updateStyle(a,d)})}applyStylesToKeyframe(){const n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=n[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(n=>{const e=this._localTimelineStyles[n];this._pendingStyles[n]=e,this._updateStyle(n,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){Object.keys(n._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=n._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,d)=>{const h=$n(a,!0);Object.keys(h).forEach(g=>{const S=h[g];"!"==S?n.add(g):S==lo&&e.add(g)}),t||(h.offset=d/this.duration),o.push(h)});const s=n.size?ja(n.values()):[],i=e.size?ja(e.values()):[];if(t){const a=o[0],d=$o(a);a.offset=0,d.offset=1,o=[a,d]}return Ka(this.element,o,s,i,this.duration,this.startTime,this.easing,!1)}}class lb extends Ol{constructor(n,e,t,o,s,i,a=!1){super(n,e,i.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=t+e,a=e/i,d=$n(n[0],!1);d.offset=0,s.push(d);const h=$n(n[0],!1);h.offset=Dg(a),s.push(h);const g=n.length-1;for(let S=1;S<=g;S++){let H=$n(n[S],!1);H.offset=Dg((e+H.offset*t)/i),s.push(H)}t=i,e=0,o="",n=s}return Ka(this.element,n,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function Dg(r,n=3){const e=Math.pow(10,n-1);return Math.round(r*e)/e}class eh{}class xg extends eh{normalizePropertyName(n,e){return Sl(n)}normalizeStyleValue(n,e,t,o){let s="";const i=t.toString().trim();if(Rg[e]&&0!==t&&"0"!==t)if("number"==typeof t)s="px";else{const a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(`Please provide a CSS unit value for ${n}:${t}`)}return i+s}}const Rg=(()=>function ub(r){const n={};return r.forEach(e=>n[e]=!0),n}("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".split(",")))();function Hl(r,n,e,t,o,s,i,a,d,h,g,S,H){return{type:0,element:r,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:s,toState:t,toStyles:i,timelines:a,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:S,errors:H}}const Pg={};class db{constructor(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}match(n,e,t,o){return function zT(r,n,e,t,o){return r.some(s=>s(n,e,t,o))}(this.ast.matchers,n,e,t,o)}buildStyles(n,e,t){const o=this._stateStyles["*"],s=this._stateStyles[n],i=o?o.buildStyles(e,t):{};return s?s.buildStyles(e,t):i}build(n,e,t,o,s,i,a,d,h,g){const S=[],H=this.ast.options&&this.ast.options.params||Pg,he=this.buildStyles(t,a&&a.params||Pg,S),_e=d&&d.params||Pg,Te=this.buildStyles(o,_e,S),mt=new Set,Rt=new Map,bt=new Map,It="void"===o,oa={params:Object.assign(Object.assign({},H),_e)},hr=g?[]:Ga(n,e,this.ast.animation,s,i,he,Te,oa,h,S);let sn=0;if(hr.forEach(es=>{sn=Math.max(es.duration+es.delay,sn)}),S.length)return Hl(e,this._triggerName,t,o,It,he,Te,[],[],Rt,bt,sn,S);hr.forEach(es=>{const ts=es.element,eD=Wi(Rt,ts,{});es.preStyleProps.forEach(Oc=>eD[Oc]=!0);const dp=Wi(bt,ts,{});es.postStyleProps.forEach(Oc=>dp[Oc]=!0),ts!==e&&mt.add(ts)});const Jr=ja(mt.values());return Hl(e,this._triggerName,t,o,It,he,Te,hr,Jr,Rt,bt,sn)}}class LT{constructor(n,e,t){this.styles=n,this.defaultParams=e,this.normalizer=t}buildStyles(n,e){const t={},o=$o(this.defaultParams);return Object.keys(n).forEach(s=>{const i=n[s];null!=i&&(o[s]=i)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const i=s;Object.keys(i).forEach(a=>{let d=i[a];d.length>1&&(d=qd(d,o,e));const h=this.normalizer.normalizePropertyName(a,e);d=this.normalizer.normalizeStyleValue(a,h,d,e),t[h]=d})}}),t}}class NT{constructor(n,e,t){this.name=n,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new LT(o.style,o.options&&o.options.params||{},t)}),hb(this.states,"true","1"),hb(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new db(n,o,this.states))}),this.fallbackTransition=function jT(r,n,e){return new db(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(i,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,t,o){return this.transitionFactories.find(i=>i.match(n,e,t,o))||null}matchStyles(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)}}function hb(r,n,e){r.hasOwnProperty(n)?r.hasOwnProperty(e)||(r[e]=r[n]):r.hasOwnProperty(e)&&(r[n]=r[e])}const VT=new Yd;class KT{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(n,e){const t=[],o=Ml(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[n]=o}_buildPlayer(n,e,t){const o=n.element,s=Al(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(o,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,t={}){const o=[],s=this._animations[n];let i;const a=new Map;if(s?(i=Ga(this._driver,e,s,Ts,El,{},{},t,VT,o),i.forEach(g=>{const S=Wi(a,g.element,{});g.postStyleProps.forEach(H=>S[H]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);a.forEach((g,S)=>{Object.keys(g).forEach(H=>{g[H]=this._driver.computeStyle(S,H,lo)})});const h=$i(i.map(g=>{const S=a.get(g.element);return this._buildPlayer(g,{},S)}));return this._playersById[n]=h,h.onDestroy(()=>this.destroy(n)),this.players.push(h),h}destroy(n){const e=this._getPlayer(n);e.destroy(),delete this._playersById[n];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(n){const e=this._playersById[n];if(!e)throw new Error(`Unable to find the timeline player referenced by ${n}`);return e}listen(n,e,t,o){const s=Ha(e,"","","");return Cl(this._getPlayer(n),t,s,o),()=>{}}command(n,e,t,o){if("register"==t)return void this.register(n,o[0]);if("create"==t)return void this.create(n,e,o[0]||{});const s=this._getPlayer(n);switch(t){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const go="ng-animate-queued",ih="ng-animate-disabled",oh=[],Hg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Wo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zi="__ng_removed";class rh{constructor(n,e=""){this.namespaceId=e;const t=n&&n.hasOwnProperty("value");if(this.value=function Ds(r){return null!=r?r:null}(t?n.value:n),t){const s=$o(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const Sr="void",sh=new rh(Sr);class Fg{constructor(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Qi(e,this._hostClassName)}listen(n,e,t,o){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function xs(r){return"start"==r||"done"==r}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const s=Wi(this._elementListeners,n,[]),i={name:e,phase:t,callback:o};s.push(i);const a=Wi(this._engine.statesByElement,n,{});return a.hasOwnProperty(e)||(Qi(n,Fa),Qi(n,Fa+"-"+e),a[e]=sh),()=>{this._engine.afterFlush(()=>{const d=s.indexOf(i);d>=0&&s.splice(d,1),this._triggers[e]||delete a[e]})}}register(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)}_getTrigger(n){const e=this._triggers[n];if(!e)throw new Error(`The provided animation trigger "${n}" has not been registered!`);return e}trigger(n,e,t,o=!0){const s=this._getTrigger(e),i=new ah(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Qi(n,Fa),Qi(n,Fa+"-"+e),this._engine.statesByElement.set(n,a={}));let d=a[e];const h=new rh(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),a[e]=h,d||(d=sh),h.value!==Sr&&d.value===h.value){if(!function Fl(r,n){const e=Object.keys(r),t=Object.keys(n);if(e.length!=t.length)return!1;for(let o=0;o{Er(n,Te),Rn(n,mt)})}return}const H=Wi(this._engine.playersByElement,n,[]);H.forEach(_e=>{_e.namespaceId==this.id&&_e.triggerName==e&&_e.queued&&_e.destroy()});let te=s.matchTransition(d.value,h.value,n,h.params),he=!1;if(!te){if(!o)return;te=s.fallbackTransition,he=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:te,fromState:d,toState:h,player:i,isFallbackTransition:he}),he||(Qi(n,go),i.onStart(()=>{Dr(n,go)})),i.onDone(()=>{let _e=this.players.indexOf(i);_e>=0&&this.players.splice(_e,1);const Te=this._engine.playersByElement.get(n);if(Te){let mt=Te.indexOf(i);mt>=0&&Te.splice(mt,1)}}),this.players.push(i),H.push(i),i}deregister(n){delete this._triggers[n],this._engine.statesByElement.forEach((e,t)=>{delete e[n]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const t=this._engine.driver.query(n,za,!0);t.forEach(o=>{if(o[Zi])return;const s=this._engine.fetchNamespacesByElement(o);s.size?s.forEach(i=>i.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,t,o){const s=this._engine.statesByElement.get(n),i=new Map;if(s){const a=[];if(Object.keys(s).forEach(d=>{if(i.set(d,s[d].value),this._triggers[d]){const h=this.trigger(n,d,Sr,o);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,i),t&&$i(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),t=this._engine.statesByElement.get(n);if(e&&t){const o=new Set;e.forEach(s=>{const i=s.name;if(o.has(i))return;o.add(i);const d=this._triggers[i].fallbackTransition,h=t[i]||sh,g=new rh(Sr),S=new ah(this.id,i,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:i,transition:d,fromState:h,toState:g,player:S,isFallbackTransition:!0})})}}removeNode(n,e){const t=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(t.totalAnimations){const s=t.players.length?t.playersByQueriedElement.get(n):[];if(s&&s.length)o=!0;else{let i=n;for(;i=i.parentNode;)if(t.statesByElement.get(i)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)t.markElementAsRemoved(this.id,n,!1,e);else{const s=n[Zi];(!s||s===Hg)&&(t.afterFlush(()=>this.clearElementCache(n)),t.destroyInnerAnimations(n),t._onRemovalComplete(n,e))}}insertNode(n,e){Qi(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const s=t.element,i=this._elementListeners.get(s);i&&i.forEach(a=>{if(a.name==t.triggerName){const d=Ha(s,t.triggerName,t.fromState.value,t.toState.value);d._data=n,Cl(t.player,a.phase,d,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const s=t.transition.ast.depCount,i=o.transition.ast.depCount;return 0==s||0==i?s-i:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(t=>t.element===n)||e,e}}class fb{constructor(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,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=(o,s)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&n.push(t)})}),n}createNamespace(n,e){const t=new Fg(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t}_balanceNamespaceList(n,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let s=t;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,n),o=!0;break}o||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n}register(n,e){let t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t}registerTrigger(n,e,t){let o=this._namespaceLookup[n];o&&o.register(e,t)&&this.totalAnimations++}destroy(n,e){if(!n)return;const t=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,t=this.statesByElement.get(n);if(t){const o=Object.keys(t);for(let s=0;s=0&&this.collectedLeaveElements.splice(i,1)}if(n){const i=this._fetchNamespace(n);i&&i.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Qi(n,ih)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Dr(n,ih))}removeNode(n,e,t,o){if(Ms(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),t){const i=this.namespacesByHostElement.get(e);i&&i.id!==n&&i.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,t,o,s){this.collectedLeaveElements.push(e),e[Zi]={namespaceId:n,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,t,o,s){return Ms(e)?this._fetchNamespace(n).listen(e,t,o,s):()=>{}}_buildInstruction(n,e,t,o,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,o,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,za,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,La,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $i(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const t=n[Zi];if(t&&t.setForRemoval){if(n[Zi]=Hg,t.namespaceId){this.destroyInnerAnimations(n);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}(null===(e=n.classList)||void 0===e?void 0:e.contains(ih))&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,o)=>this._balanceNamespaceList(t,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?$i(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(n){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${n.join("\n")}`)}_flushAnimations(n,e){const t=new Yd,o=[],s=new Map,i=[],a=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(ze=>{g.add(ze);const Ge=this.driver.query(ze,".ng-animate-queued",!0);for(let $e=0;$e{const $e=Ts+_e++;he.set(Ge,$e),ze.forEach(Ct=>Qi(Ct,$e))});const Te=[],mt=new Set,Rt=new Set;for(let ze=0;zemt.add(Ct)):Rt.add(Ge))}const bt=new Map,It=zg(H,Array.from(mt));It.forEach((ze,Ge)=>{const $e=El+_e++;bt.set(Ge,$e),ze.forEach(Ct=>Qi(Ct,$e))}),n.push(()=>{te.forEach((ze,Ge)=>{const $e=he.get(Ge);ze.forEach(Ct=>Dr(Ct,$e))}),It.forEach((ze,Ge)=>{const $e=bt.get(Ge);ze.forEach(Ct=>Dr(Ct,$e))}),Te.forEach(ze=>{this.processLeaveNode(ze)})});const oa=[],hr=[];for(let ze=this._namespaceList.length-1;ze>=0;ze--)this._namespaceList[ze].drainQueuedTransitions(e).forEach($e=>{const Ct=$e.player,Ei=$e.element;if(oa.push(Ct),this.collectedEnterElements.length){const an=Ei[Zi];if(an&&an.setForMove){if(an.previousTriggersValues&&an.previousTriggersValues.has($e.triggerName)){const Hc=an.previousTriggersValues.get($e.triggerName),sa=this.statesByElement.get($e.element);sa&&sa[$e.triggerName]&&(sa[$e.triggerName].value=Hc)}return void Ct.destroy()}}const fr=!S||!this.driver.containsElement(S,Ei),Nn=bt.get(Ei),ra=he.get(Ei),Wt=this._buildInstruction($e,t,ra,Nn,fr);if(Wt.errors&&Wt.errors.length)return void hr.push(Wt);if(fr)return Ct.onStart(()=>Er(Ei,Wt.fromStyles)),Ct.onDestroy(()=>Rn(Ei,Wt.toStyles)),void o.push(Ct);if($e.isFallbackTransition)return Ct.onStart(()=>Er(Ei,Wt.fromStyles)),Ct.onDestroy(()=>Rn(Ei,Wt.toStyles)),void o.push(Ct);const nD=[];Wt.timelines.forEach(an=>{an.stretchStartingKeyframe=!0,this.disabledNodes.has(an.element)||nD.push(an)}),Wt.timelines=nD,t.append(Ei,Wt.timelines),i.push({instruction:Wt,player:Ct,element:Ei}),Wt.queriedElements.forEach(an=>Wi(a,an,[]).push(Ct)),Wt.preStyleProps.forEach((an,Hc)=>{const sa=Object.keys(an);if(sa.length){let Fc=d.get(Hc);Fc||d.set(Hc,Fc=new Set),sa.forEach(D0=>Fc.add(D0))}}),Wt.postStyleProps.forEach((an,Hc)=>{const sa=Object.keys(an);let Fc=h.get(Hc);Fc||h.set(Hc,Fc=new Set),sa.forEach(D0=>Fc.add(D0))})});if(hr.length){const ze=[];hr.forEach(Ge=>{ze.push(`@${Ge.triggerName} has failed due to:\n`),Ge.errors.forEach($e=>ze.push(`- ${$e}\n`))}),oa.forEach(Ge=>Ge.destroy()),this.reportError(ze)}const sn=new Map,Jr=new Map;i.forEach(ze=>{const Ge=ze.element;t.has(Ge)&&(Jr.set(Ge,Ge),this._beforeAnimationBuild(ze.player.namespaceId,ze.instruction,sn))}),o.forEach(ze=>{const Ge=ze.element;this._getPreviousPlayers(Ge,!1,ze.namespaceId,ze.triggerName,null).forEach(Ct=>{Wi(sn,Ge,[]).push(Ct),Ct.destroy()})});const es=Te.filter(ze=>Lg(ze,d,h)),ts=new Map;kr(ts,this.driver,Rt,h,lo).forEach(ze=>{Lg(ze,d,h)&&es.push(ze)});const dp=new Map;te.forEach((ze,Ge)=>{kr(dp,this.driver,new Set(ze),d,"!")}),es.forEach(ze=>{const Ge=ts.get(ze),$e=dp.get(ze);ts.set(ze,Object.assign(Object.assign({},Ge),$e))});const Oc=[],tD=[],iD={};i.forEach(ze=>{const{element:Ge,player:$e,instruction:Ct}=ze;if(t.has(Ge)){if(g.has(Ge))return $e.onDestroy(()=>Rn(Ge,Ct.toStyles)),$e.disabled=!0,$e.overrideTotalTime(Ct.totalTime),void o.push($e);let Ei=iD;if(Jr.size>1){let Nn=Ge;const ra=[];for(;Nn=Nn.parentNode;){const Wt=Jr.get(Nn);if(Wt){Ei=Wt;break}ra.push(Nn)}ra.forEach(Wt=>Jr.set(Wt,Ei))}const fr=this._buildAnimation($e.namespaceId,Ct,sn,s,dp,ts);if($e.setRealPlayer(fr),Ei===iD)Oc.push($e);else{const Nn=this.playersByElement.get(Ei);Nn&&Nn.length&&($e.parentPlayer=$i(Nn)),o.push($e)}}else Er(Ge,Ct.fromStyles),$e.onDestroy(()=>Rn(Ge,Ct.toStyles)),tD.push($e),g.has(Ge)&&o.push($e)}),tD.forEach(ze=>{const Ge=s.get(ze.element);if(Ge&&Ge.length){const $e=$i(Ge);ze.setRealPlayer($e)}}),o.forEach(ze=>{ze.parentPlayer?ze.syncPlayerEvents(ze.parentPlayer):ze.destroy()});for(let ze=0;ze!fr.destroyed);Ei.length?ch(this,Ge,Ei):this.processLeaveNode(Ge)}return Te.length=0,Oc.forEach(ze=>{this.players.push(ze),ze.onDone(()=>{ze.destroy();const Ge=this.players.indexOf(ze);this.players.splice(Ge,1)}),ze.play()}),Oc}elementContainsData(n,e){let t=!1;const o=e[Zi];return o&&o.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,t,o,s){let i=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(i=a)}else{const a=this.playersByElement.get(n);if(a){const d=!s||s==Sr;a.forEach(h=>{h.queued||!d&&h.triggerName!=o||i.push(h)})}}return(t||o)&&(i=i.filter(a=>!(t&&t!=a.namespaceId||o&&o!=a.triggerName))),i}_beforeAnimationBuild(n,e,t){const s=e.element,i=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==s,S=Wi(t,h,[]);this._getPreviousPlayers(h,g,i,a,e.toState).forEach(te=>{const he=te.getRealPlayer();he.beforeDestroy&&he.beforeDestroy(),te.destroy(),S.push(te)})}Er(s,e.fromStyles)}_buildAnimation(n,e,t,o,s,i){const a=e.triggerName,d=e.element,h=[],g=new Set,S=new Set,H=e.timelines.map(he=>{const _e=he.element;g.add(_e);const Te=_e[Zi];if(Te&&Te.removedBeforeQueried)return new Cs(he.duration,he.delay);const mt=_e!==d,Rt=function lh(r){const n=[];return uh(r,n),n}((t.get(_e)||oh).map(sn=>sn.getRealPlayer())).filter(sn=>!!sn.element&&sn.element===_e),bt=s.get(_e),It=i.get(_e),oa=Al(0,this._normalizer,0,he.keyframes,bt,It),hr=this._buildPlayer(he,oa,Rt);if(he.subTimeline&&o&&S.add(_e),mt){const sn=new ah(n,a,_e);sn.setRealPlayer(hr),h.push(sn)}return hr});h.forEach(he=>{Wi(this.playersByQueriedElement,he.element,[]).push(he),he.onDone(()=>function Ua(r,n,e){let t;if(r instanceof Map){if(t=r.get(n),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&r.delete(n)}}else if(t=r[n],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete r[n]}return t}(this.playersByQueriedElement,he.element,he))}),g.forEach(he=>Qi(he,Kd));const te=$i(H);return te.onDestroy(()=>{g.forEach(he=>Dr(he,Kd)),Rn(d,e.toStyles)}),S.forEach(he=>{Wi(o,he,[]).push(te)}),te}_buildPlayer(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new Cs(n.duration,n.delay)}}class ah{constructor(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Cs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Cl(n,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Wi(this._queuedCallbacks,n,[]).push(e)}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 e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Ms(r){return r&&1===r.nodeType}function Rs(r,n){const e=r.style.display;return r.style.display=null!=n?n:"none",e}function kr(r,n,e,t,o){const s=[];e.forEach(d=>s.push(Rs(d)));const i=[];t.forEach((d,h)=>{const g={};d.forEach(S=>{const H=g[S]=n.computeStyle(h,S,o);(!H||0==H.length)&&(h[Zi]=Wo,i.push(h))}),r.set(h,g)});let a=0;return e.forEach(d=>Rs(d,s[a++])),i}function zg(r,n){const e=new Map;if(r.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),s=new Map;function i(a){if(!a)return 1;let d=s.get(a);if(d)return d;const h=a.parentNode;return d=e.has(h)?h:o.has(h)?1:i(h),s.set(a,d),d}return n.forEach(a=>{const d=i(a);1!==d&&e.get(d).push(a)}),e}function Qi(r,n){var e;null===(e=r.classList)||void 0===e||e.add(n)}function Dr(r,n){var e;null===(e=r.classList)||void 0===e||e.remove(n)}function ch(r,n,e){$i(e).onDone(()=>r.processLeaveNode(n))}function uh(r,n){for(let e=0;eo.add(s)):n.set(r,t),e.delete(r),!0}class qa{constructor(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new fb(n,e,t),this._timelineEngine=new KT(n,e,t),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,e,t,o,s){const i=n+"-"+o;let a=this._triggerCache[i];if(!a){const d=[],h=Ml(this._driver,s,d);if(d.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);a=function BT(r,n,e){return new NT(r,n,e)}(o,h,this._normalizer),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,t,o){this._transitionEngine.insertNode(n,e,t,o)}onRemove(n,e,t,o){this._transitionEngine.removeNode(n,e,o||!1,t)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,t,o){if("@"==t.charAt(0)){const[s,i]=gg(t);this._timelineEngine.command(s,e,i,o)}else this._transitionEngine.trigger(n,e,t,o)}listen(n,e,t,o,s){if("@"==t.charAt(0)){const[i,a]=gg(t);return this._timelineEngine.listen(i,e,a,s)}return this._transitionEngine.listen(n,e,t,o,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Bg=(()=>{class r{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let s=r.initialStylesByElement.get(e);s||r.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(Er(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Er(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}return r.initialStylesByElement=new WeakMap,r})();function zl(r){let n=null;const e=Object.keys(r);for(let t=0;tn()),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]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(n,e,t){return n.animate(e,t)}onStart(n){this._onStartFns.push(n)}onDone(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}_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/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(n[t]=this._finished?e[t]:$d(this.element,t))})}this.currentSnapshot=n}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class gb{validateStyleProperty(n){return Bd(n)}matchesElement(n,e){return!1}containsElement(n,e){return _g(n,e)}query(n,e,t){return yg(n,e,t)}computeStyle(n,e,t){return window.getComputedStyle(n)[e]}animate(n,e,t,o,s,i=[]){const d={duration:t,delay:o,fill:0==o?"both":"forwards"};s&&(d.easing=s);const h={},g=i.filter(H=>H instanceof dh);(function ob(r,n){return 0===r||0===n})(t,o)&&g.forEach(H=>{let te=H.currentSnapshot;Object.keys(te).forEach(he=>h[he]=te[he])}),e=function Pn(r,n,e){const t=Object.keys(e);if(t.length&&n.length){let s=n[0],i=[];if(t.forEach(a=>{s.hasOwnProperty(a)||i.push(a),s[a]=e[a]}),i.length)for(var o=1;o$n(H,!1)),h);const S=function GT(r,n){let e=null,t=null;return Array.isArray(n)&&n.length?(e=zl(n[0]),n.length>1&&(t=zl(n[n.length-1]))):n&&(e=zl(n)),e||t?new Bg(r,e,t):null}(n,e);return new dh(n,e,d,S)}}let mb=(()=>{class r extends Od{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?Xw(e):e;return Ng(this._renderer,null,t,"register",[o]),new Xi(t,this._renderer)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.FYo),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class Xi extends class Qw{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new _b(this._id,n,e||{},this._renderer)}}class _b{constructor(n,e,t,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return Ng(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){var n,e;return null!==(e=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==e?e:0}}function Ng(r,n,e,t,o){return r.setProperty(n,`@@${e}:${t}`,o)}const yb="@.disabled";let jg=(()=>{class r{constructor(e,t,o){this.delegate=e,this.engine=t,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(s,i)=>{const a=null==i?void 0:i.parentNode(s);a&&i.removeChild(a,s)}}createRenderer(e,t){const s=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(s);return g||(g=new wb("",s,this.engine),this._rendererCache.set(s,g)),g}const i=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(i,a,e,g.name,g)};return t.data.animation.forEach(d),new bb(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,o){e>=0&&et(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[i,a]=s;i(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,o]))}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()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.FYo),u.LFG(qa),u.LFG(u.R0b))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class wb{constructor(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,t,o=!0){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,o){this.delegate.setAttribute(n,e,t,o)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,o){this.delegate.setStyle(n,e,t,o)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){"@"==e.charAt(0)&&e==yb?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t){return this.delegate.listen(n,e,t)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class bb extends wb{constructor(n,e,t,o){super(e,t,o),this.factory=n,this.namespaceId=e}setProperty(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==yb?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)}listen(n,e,t){if("@"==e.charAt(0)){const o=function fh(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}(n);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function Vg(r){const n=r.indexOf(".");return[r.substring(0,n),r.substr(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,i,a=>{this.factory.scheduleListenerCallback(a._data||-1,t,a)})}return this.delegate.listen(n,e,t)}}let vb=(()=>{class r extends qa{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(ho),u.LFG(eh))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Ji=new u.OlP("AnimationModuleType"),Kg=[{provide:Od,useClass:mb},{provide:eh,useFactory:function Ab(){return new xg}},{provide:qa,useClass:vb},{provide:u.FYo,useFactory:function Cb(r,n,e){return new jg(r,n,e)},deps:[be,qa,u.R0b]}],ph=[{provide:ho,useFactory:()=>new gb},{provide:Ji,useValue:"BrowserAnimations"},...Kg],Tb=[{provide:ho,useClass:jd},{provide:Ji,useValue:"NoopAnimations"},...Kg];let Eb=(()=>{class r{static withConfig(e){return{ngModule:r,providers:e.disableAnimations?Tb:ph}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:ph,imports:[xo]}),r})();const Mb=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function Db(){return!0}});let qe=(()=>{class r{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!pt()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(dg),u.LFG(Mb,8),u.LFG(b.K0))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Oo],Oo]}),r})();function Mr(r){return class extends r{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=Qe(n)}}}function _o(r,n){return class extends r{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function xr(r){return class extends r{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Qe(n)}}}function Ll(r){return class extends r{constructor(...n){super(...n),this.stateChanges=new xe.xQ,this.errorState=!1}updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}}}const Rb=new u.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Pb(){return(0,u.f3M)(u.soG)}});class en{constructor(){this._localeChanges=new xe.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}sameDate(n,e){if(n&&e){let t=this.isValid(n),o=this.isValid(e);return t&&o?!this.compareDate(n,e):t==o}return n==e}clampDate(n,e,t){return e&&this.compareDate(n,e)<0?e:t&&this.compareDate(n,t)>0?t:n}}const gh=new u.OlP("mat-date-formats"),Ib=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Bl(r,n){const e=Array(r);for(let t=0;t{class r extends en{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Bl(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Bl(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Bl(7,o=>this._format(t,new Date(2017,0,o+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,o){let s=this._createDateWithOverflow(e,t,o);return s.getMonth(),s}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const o=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+t)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Ib.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,o){const s=new Date;return s.setFullYear(e,t,o),s.setHours(0,0,0,0),s}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const o=new Date;return o.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),o.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(o)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Rb,8),u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Wg={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Yg=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[{provide:en,useClass:mh}],imports:[[Xe]]}),r})(),_h=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[{provide:gh,useValue:Wg}],imports:[[Yg]]}),r})(),Zo=(()=>{class r{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Is=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})();class Zg{constructor(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const jl={enterDuration:225,exitDuration:150},yh=ti({passive:!0}),Vl=["mousedown","touchstart"],wh=["mouseup","mouseleave","touchend","touchcancel"];class bh{constructor(n,e,t,o){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=jt(t))}fadeInRipple(n,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},jl),t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const i=t.radius||function Fb(r,n,e){const t=Math.max(Math.abs(r-e.left),Math.abs(r-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+o*o)}(n,e,o),a=n-o.left,d=e-o.top,h=s.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=a-i+"px",g.style.top=d-i+"px",g.style.height=2*i+"px",g.style.width=2*i+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function Qg(r){window.getComputedStyle(r).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const S=new Zg(this,g,t);return S.state=0,this._activeRipples.add(S),t.persistent||(this._mostRecentTransientRipple=S),this._runTimeoutOutsideZone(()=>{const H=S===this._mostRecentTransientRipple;S.state=1,!t.persistent&&(!H||!this._isPointerDown)&&S.fadeOut()},h),S}fadeOutRipple(n){const e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=n.element,o=Object.assign(Object.assign({},jl),n.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=jt(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Vl))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(wh),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const e=ml(n),t=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,e))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,yh)})})}_removeTriggerEvents(){this._triggerElement&&(Vl.forEach(n=>{this._triggerElement.removeEventListener(n,this,yh)}),this._pointerUpEventsRegistered&&wh.forEach(n=>{this._triggerElement.removeEventListener(n,this,yh)}))}}const Kl=new u.OlP("mat-ripple-global-options");let Rr=(()=>{class r{constructor(e,t,o,s,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new bh(this,t,e,o)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Ve),u.Y36(Kl,8),u.Y36(Ji,8))},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&u.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),r})(),Wn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe,Xe],qe]}),r})(),Qo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe]]}),r})(),Gl=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,b.ez,qe,Qo]]}),r})();var vi=v(5254),Xo=v(8896);function Ya(r){return new bi.y(n=>{let e;try{e=r()}catch(o){return void n.error(o)}return(e?(0,vi.D)(e):(0,Xo.c)()).subscribe(n)})}function Nb(r,n){}class Ul{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const em={dialogContainer:Qt("dialogContainer",[dt("void, exit",Fe({opacity:0,transform:"scale(0.7)"})),dt("enter",Fe({transform:"none"})),rt("* => enter",wt("150ms cubic-bezier(0, 0, 0.2, 1)",Fe({transform:"none",opacity:1}))),rt("* => void, * => exit",wt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Fe({opacity:0})))])};let tm=(()=>{class r extends Un{constructor(e,t,o,s,i,a,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=i,this._interactivityChecker=a,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new u.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=td(),o=this._elementRef.nativeElement;(!t||t===this._document.body||t===o||o.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=td())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=td();return e===t||e.contains(t)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(xd),u.Y36(u.sBO),u.Y36(b.K0,8),u.Y36(Ul),u.Y36(Kt),u.Y36(u.R0b),u.Y36(_n))},r.\u0275dir=u.lG2({type:r,viewQuery:function(e,t){if(1&e&&u.Gf(Mp,7),2&e){let o;u.iGM(o=u.CRH())&&(t._portalOutlet=o.first)}},features:[u.qOj]}),r})(),jb=(()=>{class r extends tm{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&u.WFA("@dialogContainer.start",function(s){return t._onAnimationStart(s)})("@dialogContainer.done",function(s){return t._onAnimationDone(s)}),2&e&&(u.Ikx("id",t._id),u.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),u.d8E("@dialogContainer",t._state))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&u.YNc(0,Nb,0,0,"ng-template",0)},directives:[Mp],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[em.dialogContainer]}}),r})(),Vb=0;class ql{constructor(n,e,t="mat-dialog-"+Vb++){this._overlayRef=n,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new xe.xQ,this._afterClosed=new xe.xQ,this._beforeClosed=new xe.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,ke.h)(o=>"opened"===o.state),(0,Vt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,ke.h)(o=>"closed"===o.state),(0,Vt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),n.keydownEvents().pipe((0,ke.h)(o=>27===o.keyCode&&!this.disableClose&&!Go(o))).subscribe(o=>{o.preventDefault(),Kb(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Kb(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe((0,ke.h)(e=>"closing"===e.state),(0,Vt.q)(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",e=""){return this._overlayRef.updateSize({width:n,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Kb(r,n,e){return void 0!==r._containerInstance&&(r._containerInstance._closeInteractionType=n),r.close(e)}const vh=new u.OlP("MatDialogData"),Gb=new u.OlP("mat-dialog-default-options"),Ah=new u.OlP("mat-dialog-scroll-strategy"),Hn={provide:Ah,deps:[Mn],useFactory:function iE(r){return()=>r.scrollStrategies.block()}};let nE=(()=>{class r{constructor(e,t,o,s,i,a,d,h,g,S){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=i,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=S,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new xe.xQ,this._afterOpenedAtThisLevel=new xe.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Ya(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(yn(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function im(r,n){return Object.assign(Object.assign({},n),r)}(t,this._defaultOptions||new Ul),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const o=this._createOverlay(t),s=this._attachDialogContainer(o,t);if("NoopAnimations"!==this._animationMode){const a=s._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,a.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Nt.w),this._animationStateSubscriptions.add(a)}const i=this._attachDialogContent(e,s,o,t);return this._lastDialogRef=i,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),s._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Qc({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const s=u.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Ul,useValue:t}]}),i=new Wc(this._dialogContainerType,t.viewContainerRef,s,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,o,s){const i=new this._dialogRefConstructor(o,t,s.id);if(e instanceof u.Rgc)t.attachTemplatePortal(new rd(e,null,{$implicit:s.data,dialogRef:i}));else{const a=this._createInjector(s,i,t),d=t.attachComponentPortal(new Wc(e,s.viewContainerRef,a));i.componentInstance=d.instance}return i.updateSize(s.width,s.height).updatePosition(s.position),i}_createInjector(e,t,o){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!s||!s.get(ci,null,u.XFs.Optional))&&i.push({provide:ci,useValue:{value:e.direction,change:(0,Ie.of)()}}),u.zs3.create({parent:s||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let s=t[o];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return r.\u0275fac=function(e){u.$Z()},r.\u0275dir=u.lG2({type:r}),r})(),Os=(()=>{class r extends nE{constructor(e,t,o,s,i,a,d,h){super(e,t,s,a,d,i,ql,jb,vh,h)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Mn),u.LFG(u.zs3),u.LFG(b.Ye,8),u.LFG(Gb,8),u.LFG(Ah),u.LFG(r,12),u.LFG(Bo),u.LFG(Ji,8))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),nm=0,om=(()=>{class r{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+nm++}ngOnInit(){this._dialogRef||(this._dialogRef=function Th(r,n){let e=r.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql,8),u.Y36(u.SBq),u.Y36(Os))},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),r})(),rm=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),r})(),Ch=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),r})(),$l=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Os,Hn],imports:[[ao,zo,qe],qe]}),r})();function wn(r){return!!r&&(r instanceof bi.y||"function"==typeof r.lift&&"function"==typeof r.subscribe)}var $b=v(7830);function Eh(...r){if(1===r.length){const n=r[0];if((0,_r.k)(n))return Wl(n,null);if((0,$b.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return Wl(e.map(t=>n[t]),e)}}if("function"==typeof r[r.length-1]){const n=r.pop();return Wl(r=1===r.length&&(0,_r.k)(r[0])?r[0]:r,null).pipe((0,lt.U)(e=>n(...e)))}return Wl(r,null)}function Wl(r,n){return new bi.y(e=>{const t=r.length;if(0===t)return void e.complete();const o=new Array(t);let s=0,i=0;for(let a=0;a{h||(h=!0,i++),o[a]=g},error:g=>e.error(g),complete:()=>{s++,(s===t||!h)&&(i===t&&e.next(n?n.reduce((g,S,H)=>(g[S]=o[H],g),{}):o),e.complete())}}))}})}const Zb=new class Yb extends ds.v{}(class Wb extends fa.o{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(n,e,t):n.flush(this)}});var Hs=v(9312);class Jo extends ws.L{constructor(n,e,t=0){super(n),this.scheduler=e,this.delay=t}static dispatch(n){const{notification:e,destination:t}=n;e.observe(t),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Jo.dispatch,this.delay,new Xb(n,this.destination)))}_next(n){this.scheduleMessage(Hs.P.createNext(n))}_error(n){this.scheduleMessage(Hs.P.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(Hs.P.createComplete()),this.unsubscribe()}}class Xb{constructor(n,e){this.notification=n,this.destination=e}}var Jb=v(5283);class Sh extends xe.xQ{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift(),super.next(n)}nextTimeWindow(n){this._events.push(new Yn(this._getNow(),n)),this._trimBufferThenGetEvents(),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,s=t.length;let i;if(this.closed)throw new fd.N;if(this.isStopped||this.hasError?i=Nt.w.EMPTY:(this.observers.push(n),i=new Jb.W(this,n)),o&&n.add(n=new Jo(n,o)),e)for(let a=0;ae&&(i=Math.max(i,s-e)),i>0&&o.splice(0,i),o}}class Yn{constructor(n,e){this.time=n,this.value=e}}function Fs(r,n,e){let t;return t=r&&"object"==typeof r?r:{bufferSize:r,windowTime:n,refCount:!1,scheduler:e},o=>o.lift(function Ai({bufferSize:r=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let o,i,s=0,a=!1,d=!1;return function(g){s++,(!o||a)&&(a=!1,o=new Sh(r,n,t),i=g.subscribe({next(H){o.next(H)},error(H){a=!0,o.error(H)},complete(){d=!0,i=void 0,o.complete()}}));const S=o.subscribe(this);this.add(()=>{s--,S.unsubscribe(),i&&!d&&e&&0===s&&(i.unsubscribe(),i=void 0,o=void 0)})}}(t))}var bn=v(1406),Ri=v(7545);class Ci{}let Yl=(()=>{class r extends Ci{getTranslation(e){return(0,Ie.of)({})}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class er{}let Pr=(()=>{class r{handle(e){return e.key}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function yo(r,n){if(r===n)return!0;if(null===r||null===n)return!1;if(r!=r&&n!=n)return!0;let o,s,i,e=typeof r;if(e==typeof n&&"object"==e){if(!Array.isArray(r)){if(Array.isArray(n))return!1;for(s in i=Object.create(null),r){if(!yo(r[s],n[s]))return!1;i[s]=!0}for(s in n)if(!(s in i)&&void 0!==n[s])return!1;return!0}if(!Array.isArray(n))return!1;if((o=r.length)==n.length){for(s=0;s{tr(n[t])?t in r?e[t]=Ir(r[t],n[t]):Object.assign(e,{[t]:n[t]}):Object.assign(e,{[t]:n[t]})}),e}class wo{}let Or=(()=>{class r extends wo{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let o;return o="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,o}getValue(e,t){let o="string"==typeof t?t.split("."):[t];t="";do{t+=o.shift(),!tn(e)||!tn(e[t])||"object"!=typeof e[t]&&o.length?o.length?t+=".":e=void 0:(e=e[t],t="")}while(o.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(o,s)=>{let i=this.getValue(t,s);return tn(i)?i:o}):e}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class bo{}let kh=(()=>{class r extends bo{compile(e,t){return e}compileTranslations(e,t){return e}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();class Dh{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new u.vpe,this.onLangChange=new u.vpe,this.onDefaultLangChange=new u.vpe}}const Zl=new u.OlP("USE_STORE"),Ql=new u.OlP("USE_DEFAULT_LANG"),Xl=new u.OlP("DEFAULT_LANGUAGE"),Jl=new u.OlP("USE_EXTEND");let nn=(()=>{class r{constructor(e,t,o,s,i,a=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=s,this.missingTranslationHandler=i,this.useDefaultLang=a,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new u.vpe,this._onLangChange=new u.vpe,this._onDefaultLangChange=new u.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Vt.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ie.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Vt.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ie.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Fs(1),(0,Vt.q)(1));return this.loadingTranslations=t.pipe((0,lt.U)(o=>this.compiler.compileTranslations(o,e)),Fs(1),(0,Vt.q)(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),t}setTranslation(e,t,o=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(o||this.extend)&&this.translations[e]?Ir(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,o){let s;if(t instanceof Array){let i={},a=!1;for(let d of t)i[d]=this.getParsedResult(e,d,o),wn(i[d])&&(a=!0);return a?Eh(t.map(h=>wn(i[h])?i[h]:(0,Ie.of)(i[h]))).pipe((0,lt.U)(h=>{let g={};return h.forEach((S,H)=>{g[t[H]]=S}),g})):i}if(e&&(s=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===s&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===s){let i={key:t,translateService:this};void 0!==o&&(i.interpolateParams=o),s=this.missingTranslationHandler.handle(i)}return void 0!==s?s:t}get(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,bn.b)(o=>wn(o=this.getParsedResult(o,e,t))?o:(0,Ie.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return wn(o)?o:(0,Ie.of)(o)}}getStreamOnTranslationChange(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');return vs(Ya(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ri.w)(o=>{const s=this.getParsedResult(o.translations,e,t);return"function"==typeof s.subscribe?s:(0,Ie.of)(s)})))}stream(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');return vs(Ya(()=>this.get(e,t)),this.onLangChange.pipe((0,Ri.w)(o=>{const s=this.getParsedResult(o.translations,e,t);return wn(s)?s:(0,Ie.of)(s)})))}instant(e,t){if(!tn(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(wn(o)){if(e instanceof Array){let s={};return e.forEach((i,a)=>{s[e[a]]=e[a]}),s}return e}return o}set(e,t,o=this.currentLang){this.translations[o][e]=this.compiler.compile(t,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Dh),u.LFG(Ci),u.LFG(bo),u.LFG(wo),u.LFG(er),u.LFG(Ql),u.LFG(Zl),u.LFG(Jl),u.LFG(Xl))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),ir=(()=>{class r{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let s=i=>{this.value=void 0!==i?i:e,this.lastKey=e,this._ref.markForCheck()};if(o){let i=this.translate.getParsedResult(o,e,t);wn(i.subscribe)?i.subscribe(s):s(i)}this.translate.get(e,t).subscribe(s)}transform(e,...t){if(!e||!e.length)return e;if(yo(e,this.lastKey)&&yo(t,this.lastParams))return this.value;let o;if(tn(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let s=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(s)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(o=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(nn,16),u.Y36(u.sBO,16))},r.\u0275pipe=u.Yjl({name:"translate",type:r,pure:!1}),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),Qa=(()=>{class r{static forRoot(e={}){return{ngModule:r,providers:[e.loader||{provide:Ci,useClass:Yl},e.compiler||{provide:bo,useClass:kh},e.parser||{provide:wo,useClass:Or},e.missingTranslationHandler||{provide:er,useClass:Pr},Dh,{provide:Zl,useValue:e.isolate},{provide:Ql,useValue:e.useDefaultLang},{provide:Jl,useValue:e.extend},{provide:Xl,useValue:e.defaultLanguage},nn]}}static forChild(e={}){return{ngModule:r,providers:[e.loader||{provide:Ci,useClass:Yl},e.compiler||{provide:bo,useClass:kh},e.parser||{provide:wo,useClass:Or},e.missingTranslationHandler||{provide:er,useClass:Pr},{provide:Zl,useValue:e.isolate},{provide:Ql,useValue:e.useDefaultLang},{provide:Jl,useValue:e.extend},{provide:Xl,useValue:e.defaultLanguage},nn]}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),sm=(()=>{class r{constructor(e){this.dialogRef=e}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(u.TgZ(0,"h2",0),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&e&&(u.xp6(1),u.hij(" ",u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[rm],pipes:[ir],styles:[""]}),r})();const tv=["mat-button",""],am=["*"],ov=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],cm=_o(Mr(xr(class{constructor(r){this._elementRef=r}})));let eu=(()=>{class r extends cm{constructor(e,t,o){super(e),this._focusMonitor=t,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of ov)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(_n),u.Y36(Ji,8))},r.\u0275cmp=u.Xpm({type:r,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&u.Gf(Rr,5),2&e){let o;u.iGM(o=u.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(u.uIk("disabled",t.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:tv,ngContentSelectors:am,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&e&&(u.xp6(2),u.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),u.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Rr],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),r})(),vo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,qe],qe]}),r})();const sv=["connectionContainer"],oE=["inputContainer"],av=["label"];function Mh(r,n){1&r&&(u.ynx(0),u.TgZ(1,"div",14),u._UZ(2,"div",15),u._UZ(3,"div",16),u._UZ(4,"div",17),u.qZA(),u.TgZ(5,"div",18),u._UZ(6,"div",15),u._UZ(7,"div",16),u._UZ(8,"div",17),u.qZA(),u.BQk())}function xh(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"div",19),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.Hsn(1,1),u.qZA()}if(2&r){const e=u.oxw();u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function cv(r,n){if(1&r&&(u.ynx(0),u.Hsn(1,2),u.TgZ(2,"span"),u._uU(3),u.qZA(),u.BQk()),2&r){const e=u.oxw(2);u.xp6(3),u.Oqu(e._control.placeholder)}}function rE(r,n){1&r&&u.Hsn(0,3,["*ngSwitchCase","true"])}function sE(r,n){1&r&&(u.TgZ(0,"span",23),u._uU(1," *"),u.qZA())}function aE(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"label",20,21),u.NdJ("cdkObserveContent",function(){return u.CHM(e),u.oxw().updateOutlineGap()}),u.YNc(2,cv,4,1,"ng-container",12),u.YNc(3,rE,1,0,"ng-content",12),u.YNc(4,sE,2,0,"span",22),u.qZA()}if(2&r){const e=u.oxw();u.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),u.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),u.uIk("for",e._control.id)("aria-owns",e._control.id),u.xp6(2),u.Q6J("ngSwitchCase",!1),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function lv(r,n){1&r&&(u.TgZ(0,"div",24),u.Hsn(1,4),u.qZA())}function lm(r,n){if(1&r&&(u.TgZ(0,"div",25),u._UZ(1,"span",26),u.qZA()),2&r){const e=u.oxw();u.xp6(1),u.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function cE(r,n){if(1&r&&(u.TgZ(0,"div"),u.Hsn(1,5),u.qZA()),2&r){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState)}}function uv(r,n){if(1&r&&(u.TgZ(0,"div",30),u._uU(1),u.qZA()),2&r){const e=u.oxw(2);u.Q6J("id",e._hintLabelId),u.xp6(1),u.Oqu(e.hintLabel)}}function zs(r,n){if(1&r&&(u.TgZ(0,"div",27),u.YNc(1,uv,2,2,"div",28),u.Hsn(2,6),u._UZ(3,"div",29),u.Hsn(4,7),u.qZA()),2&r){const e=u.oxw();u.Q6J("@transitionMessages",e._subscriptAnimationState),u.xp6(1),u.Q6J("ngIf",e.hintLabel)}}const dv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],um=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let hv=0;const Rh=new u.OlP("MatError");let Xa=(()=>{class r{constructor(e,t){this.id="mat-error-"+hv++,e||t.nativeElement.setAttribute("aria-live","polite")}}return r.\u0275fac=function(e){return new(e||r)(u.$8M("aria-live"),u.Y36(u.SBq))},r.\u0275dir=u.lG2({type:r,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("id",t.id)},inputs:{id:"id"},features:[u._Bn([{provide:Rh,useExisting:r}])]}),r})();const fv={transitionMessages:Qt("transitionMessages",[dt("enter",Fe({opacity:1,transform:"translateY(0%)"})),rt("void => enter",[Fe({opacity:0,transform:"translateY(-5px)"}),wt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ja=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r}),r})(),pv=0;const dm=new u.OlP("MatHint");let hm=(()=>{class r{constructor(){this.align="start",this.id="mat-hint-"+pv++}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(u.uIk("id",t.id)("align",null),u.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[u._Bn([{provide:dm,useExisting:r}])]}),r})(),tu=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-label"]]}),r})(),fm=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-placeholder"]]}),r})();const pm=new u.OlP("MatPrefix"),gv=new u.OlP("MatSuffix");let Ph=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["","matSuffix",""]],features:[u._Bn([{provide:gv,useExisting:r}])]}),r})(),mm=0;const _m=_o(class{constructor(r){this._elementRef=r}},"primary"),Ih=new u.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ec=new u.OlP("MatFormField");let ym=(()=>{class r extends _m{constructor(e,t,o,s,i,a,d){super(e),this._changeDetectorRef=t,this._dir=o,this._defaults=s,this._platform=i,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new xe.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+mm++,this._labelId="mat-form-field-label-"+mm++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Qe(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(yn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(yt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(yt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,gn.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(yn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(yn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(yt(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Kc(this._label.nativeElement,"transitionend").pipe((0,Vt.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,o=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,o=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${o}, ${s}`);for(let S=0;S0?.75*he+10:0}for(let g=0;g{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,qe,Jp],qe]}),r})();const km={provide:new u.OlP("mat-select-scroll-strategy"),deps:[Mn],useFactory:function Fh(r){return()=>r.scrollStrategies.reposition()}};let tc=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[km],imports:[[b.ez,ao,Gl,qe],Dn,Ao,Gl,qe]}),r})();var Rv=v(6053);const Dm=new Set;let Hr,Pv=(()=>{class r{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mm}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function oi(r){if(!Dm.has(r))try{Hr||(Hr=document.createElement("style"),Hr.setAttribute("type","text/css"),document.head.appendChild(Hr)),Hr.sheet&&(Hr.sheet.insertRule(`@media ${r} {body{ }}`,0),Dm.add(r))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function Mm(r){return{matches:"all"===r||""===r,media:r,addListener:()=>{},removeListener:()=>{}}}let Iv=(()=>{class r{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new xe.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xm(da(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){const o=xm(da(e)).map(i=>this._registerQuery(i).observable);let s=(0,Rv.aj)(o);return s=vs(s.pipe((0,Vt.q)(1)),s.pipe(bs(1),(0,Yp.b)(0))),s.pipe((0,lt.U)(i=>{const a={matches:!1,breakpoints:{}};return i.forEach(({matches:d,query:h})=>{a.matches=a.matches||d,a.breakpoints[h]=d}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),s={observable:new bi.y(i=>{const a=d=>this._zone.run(()=>i.next(d));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(yn(t),(0,lt.U)(({matches:i})=>({query:e,matches:i})),yt(this._destroySubject)),mql:t};return this._queries.set(e,s),s}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Pv),u.LFG(u.R0b))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function xm(r){return r.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const Ov={tooltipState:Qt("state",[dt("initial, void, hidden",Fe({opacity:0,transform:"scale(0)"})),dt("visible",Fe({transform:"scale(1)"})),rt("* => visible",wt("200ms cubic-bezier(0, 0, 0.2, 1)",As([Fe({opacity:0,transform:"scale(0)",offset:0}),Fe({opacity:.5,transform:"scale(0.99)",offset:.5}),Fe({opacity:1,transform:"scale(1)",offset:1})]))),rt("* => hidden",wt("100ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:0})))])},Fr="tooltip-panel",Im=ti({passive:!0}),Om=new u.OlP("mat-tooltip-scroll-strategy"),mE={provide:Om,deps:[Mn],useFactory:function Hm(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},zh=new u.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Lh(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Zn=(()=>{class r{constructor(e,t,o,s,i,a,d,h,g,S,H,te){this._overlay=e,this._elementRef=t,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=i,this._platform=a,this._ariaDescriber=d,this._focusMonitor=h,this._dir=S,this._defaultOptions=H,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new xe.xQ,this._scrollStrategy=g,this._document=te,H&&(H.position&&(this.position=H.position),H.touchGestures&&(this.touchGestures=H.touchGestures)),S.change.pipe(yt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Qe(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=pn(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=pn(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(yt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,Im)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Wc(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(yt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(yt(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${Fr}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(yt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(yt(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(yt(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Go(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let o;"above"==t||"below"==t?o={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={originX:"end",originY:"center"});const{x:s,y:i}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:i}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let o;"above"==t?o={overlayX:"center",overlayY:"bottom"}:"below"==t?o={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?o={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:s,y:i}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Vt.q)(1),yt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:o,originY:s}=e;let i;if(i="center"===t?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===t&&"top"===s?"above":"below",i!==this._currentPosition){const a=this._overlayRef;if(a){const d=`${this._cssClassPrefix}-${Fr}-`;a.removePanelClass(d+this._currentPosition),a.addPanelClass(d+i)}this._currentPosition=i}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,Im)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,o=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return r.\u0275fac=function(e){u.$Z()},r.\u0275dir=u.lG2({type:r,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),r})(),Lv=(()=>{class r extends Zn{constructor(e,t,o,s,i,a,d,h,g,S,H,te){super(e,t,o,s,i,a,d,h,g,S,H,te),this._tooltipComponent=Qn}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Mn),u.Y36(u.SBq),u.Y36(vr),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(Ve),u.Y36(Bw),u.Y36(_n),u.Y36(Om),u.Y36(ci,8),u.Y36(zh,8),u.Y36(b.K0))},r.\u0275dir=u.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.qOj]}),r})(),Bv=(()=>{class r{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new xe.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.sBO))},r.\u0275dir=u.lG2({type:r}),r})(),Qn=(()=>{class r extends Bv{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.sBO),u.Y36(Iv))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&u.Udp("zoom","visible"===t._visibility?1:null)},features:[u.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(u.TgZ(0,"div",0),u.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(s){return t._animationDone(s)}),u.ALo(1,"async"),u._uU(2),u.qZA()),2&e){let o;u.ekj("mat-tooltip-handset",null==(o=u.lcZ(1,5,t._isHandset))?null:o.matches),u.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),u.xp6(2),u.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Ov.tooltipState]},changeDetection:0}),r})(),Ti=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[mE],imports:[[Id,b.ez,ao,qe],qe,Dn]}),r})(),Bh=(()=>{class r{constructor(){this.changes=new xe.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,o)=>{if(0==o||0==t)return`0 of ${o}`;const s=e*t;return`${s+1} \u2013 ${s<(o=Math.max(o,0))?Math.min(s+t,o):s+t} of ${o}`}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const ic={provide:Bh,deps:[[new u.FiY,new u.tp0,Bh]],useFactory:function Nh(r){return r||new Bh}};let iu=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[ic],imports:[[b.ez,vo,tc,Ti,qe]]}),r})();var Vh=v(943);const Lm=["mat-menu-item",""];function Kh(r,n){1&r&&(u.O4$(),u.TgZ(0,"svg",2),u._UZ(1,"polygon",3),u.qZA())}const nc=["*"];function Gh(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"div",0),u.NdJ("keydown",function(o){return u.CHM(e),u.oxw()._handleKeydown(o)})("click",function(){return u.CHM(e),u.oxw().closed.emit("click")})("@transformMenu.start",function(o){return u.CHM(e),u.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return u.CHM(e),u.oxw()._onAnimationDone(o)}),u.TgZ(1,"div",1),u.Hsn(2),u.qZA(),u.qZA()}if(2&r){const e=u.oxw();u.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),u.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const oc={transformMenu:Qt("transformMenu",[dt("void",Fe({opacity:0,transform:"scale(0.8)"})),rt("void => enter",wt("120ms cubic-bezier(0, 0, 0.2, 1)",Fe({opacity:1,transform:"scale(1)"}))),rt("* => void",wt("100ms 25ms linear",Fe({opacity:0})))]),fadeInItems:Qt("fadeInItems",[dt("showing",Fe({opacity:1})),rt("void => *",[Fe({opacity:0}),wt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Bm=new u.OlP("MatMenuContent"),Uh=new u.OlP("MAT_MENU_PANEL"),Wv=xr(Mr(class{}));let nu=(()=>{class r extends Wv{constructor(e,t,o,s,i){var a;super(),this._elementRef=e,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=i,this.role="menuitem",this._hovered=new xe.xQ,this._focused=new xe.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==s?void 0:s.addItem)||void 0===a||a.call(s,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),o=t.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class r{constructor(e,t,o){this._elementRef=e,this._ngZone=t,this._defaultOptions=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.n_E,this._tabSubscription=Nt.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new xe.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Zv++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Qe(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Qe(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ra(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(yn(this._directDescendantItems),(0,Ri.w)(e=>(0,gn.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(yn(this._directDescendantItems),(0,Ri.w)(t=>(0,gn.T)(...t.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,o=this._keyManager;switch(t){case 27:Go(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Vt.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let o=this._directDescendantItems.first._getHostElement().parentElement;for(;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${t}`,s=Object.keys(this._classList).find(i=>i.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,t=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===t,o["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(yn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Nm))},r.\u0275dir=u.lG2({type:r,contentQueries:function(e,t,o){if(1&e&&(u.Suo(o,Bm,5),u.Suo(o,nu,5),u.Suo(o,nu,4)),2&e){let s;u.iGM(s=u.CRH())&&(t.lazyContent=s.first),u.iGM(s=u.CRH())&&(t._allItems=s),u.iGM(s=u.CRH())&&(t.items=s)}},viewQuery:function(e,t){if(1&e&&u.Gf(u.Rgc,5),2&e){let o;u.iGM(o=u.CRH())&&(t.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),r})(),Qv=(()=>{class r extends rc{constructor(e,t,o){super(e,t,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(Nm))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&u.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u._Bn([{provide:Uh,useExisting:r}]),u.qOj],ngContentSelectors:nc,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(u.F$t(),u.YNc(0,Gh,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[oc.transformMenu,oc.fadeInItems]},changeDetection:0}),r})();const jm=new u.OlP("mat-menu-scroll-strategy"),Jv={provide:jm,deps:[Mn],useFactory:function Xv(r){return()=>r.scrollStrategies.reposition()}},Km=ti({passive:!0});let eA=(()=>{class r{constructor(e,t,o,s,i,a,d,h){this._overlay=e,this._element=t,this._viewContainerRef=o,this._menuItemInstance=a,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Nt.w.EMPTY,this._hoverSubscription=Nt.w.EMPTY,this._menuCloseSubscription=Nt.w.EMPTY,this._handleTouchStart=g=>{Ia(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=i instanceof rc?i:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Km),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Km),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),o=t.positionStrategy;this._setPosition(o),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof rc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(yt(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof rc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,ke.h)(o=>"void"===o.toState),(0,Vt.q)(1),yt(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Qc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[s,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,d]=[s,i],[h,g]=[t,o],S=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",o=h="end"===t?"start":"end",S="bottom"===s?8:-8):this.menu.overlapTrigger||(a="top"===s?"bottom":"top",d="top"===i?"bottom":"top"),e.withPositions([{originX:t,originY:a,overlayX:h,overlayY:s,offsetY:S},{originX:o,originY:a,overlayX:g,overlayY:s,offsetY:S},{originX:t,originY:d,overlayX:h,overlayY:i,offsetY:-S},{originX:o,originY:d,overlayX:g,overlayY:i,offsetY:-S}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ie.of)(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ke.h)(i=>i!==this._menuItemInstance),(0,ke.h)(()=>this._menuOpen)):(0,Ie.of)();return(0,gn.T)(e,o,s,t)}_handleMousedown(e){ml(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ke.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Vh.g)(0,wr)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof rc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Vt.q)(1),(0,Vh.g)(0,wr),yt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new rd(this.menu.templateRef,this._viewContainerRef)),this._portal}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Mn),u.Y36(u.SBq),u.Y36(u.s_b),u.Y36(jm),u.Y36(Uh,8),u.Y36(nu,10),u.Y36(ci,8),u.Y36(_n))},r.\u0275dir=u.lG2({type:r,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&u.NdJ("click",function(s){return t._handleClick(s)})("mousedown",function(s){return t._handleMousedown(s)})("keydown",function(s){return t._handleKeydown(s)}),2&e&&u.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),r})(),tA=(()=>{class r extends eA{}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275dir=u.lG2({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.qOj]}),r})(),sc=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Jv],imports:[[b.ez,qe,Wn,ao],Dn,qe]}),r})();var ac=v(1737),Li=v(7221);function qh(r){return n=>n.lift(new Gm(r))}class Gm{constructor(n){this.callback=n}call(n,e){return e.subscribe(new Um(n,this.callback))}}class Um extends ws.L{constructor(n,e){super(n),this.add(new Nt.w(e))}}var qm=v(2474);const $m=["*"];let cc;function zr(r){var n;return(null===(n=function $h(){if(void 0===cc&&(cc=null,"undefined"!=typeof window)){const r=window;void 0!==r.trustedTypes&&(cc=r.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return cc}())||void 0===n?void 0:n.createHTML(r))||r}function nr(r){return Error(`Unable to find icon with the name "${r}"`)}function Wm(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function Lr(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class Bs{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}}let Br=(()=>{class r{constructor(e,t,o,s){this._httpClient=e,this._sanitizer=t,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,s){return this._addSvgIconConfig(e,t,new Bs(o,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,s){const i=this._sanitizer.sanitize(u.q3G.HTML,o);if(!i)throw Lr(o);const a=zr(i);return this._addSvgIconConfig(e,t,new Bs("",a,s))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new Bs(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const s=this._sanitizer.sanitize(u.q3G.HTML,t);if(!s)throw Lr(t);const i=zr(s);return this._addSvgIconSetConfig(e,new Bs("",i,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,e);if(!t)throw Wm(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Ie.of)(lc(o)):this._loadSvgIconFromConfig(new Bs(e,null)).pipe((0,ui.b)(s=>this._cachedIconsByUrl.set(t,s)),(0,lt.U)(s=>lc(s)))}getNamedSvgIcon(e,t=""){const o=oA(t,e);let s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(t,e),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);const i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):(0,ac._)(nr(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ie.of)(lc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,lt.U)(t=>lc(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Ie.of)(o):Eh(t.filter(i=>!i.svgText).map(i=>this._loadSvgIconSetFromConfig(i).pipe((0,Li.K)(a=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,i.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ie.of)(null)})))).pipe((0,lt.U)(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw nr(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const s=t[o];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const i=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(i,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,ui.b)(t=>e.svgText=t),(0,lt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ie.of)(null):this._fetchIcon(e).pipe((0,ui.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const s=e.querySelector(`[id="${t}"]`);if(!s)return null;const i=s.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,o);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),o);const a=this._svgElementFromString(zr(""));return a.appendChild(i),this._setSvgAttributes(a,o)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const t=this._svgElementFromString(zr("")),o=e.attributes;for(let s=0;szr(g)),qh(()=>this._inProgressUrlFetches.delete(a)),(0,qm.B)());return this._inProgressUrlFetches.set(a,h),h}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(oA(e,t),o),this}_addSvgIconSetConfig(e,t){const o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;on?n.pathname+n.search:""}}}),uc=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cA=uc.map(r=>`[${r}]`).join(", "),ou=/^url\(['"]?#(.*?)['"]?\)$/;let Ns=(()=>{class r extends rA{constructor(e,t,o,s,i){super(e),this._iconRegistry=t,this._location=s,this._errorHandler=i,this._inline=!1,this._currentIconFetch=Nt.w.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Qe(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let s=0;s{o.forEach(i=>{s.setAttribute(i.name,`url('${e}#${i.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(cA),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=t[s],d=a.getAttribute(i),h=d?d.match(ou):null;if(h){let g=o.get(a);g||(g=[],o.set(a,g)),g.push({name:i,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe((0,Vt.q)(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${s.message}`))})}}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Br),u.$8M("aria-hidden"),u.Y36(sA),u.Y36(u.qLn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(u.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),u.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[u.qOj],ngContentSelectors:$m,decls:1,vars:0,template:function(e,t){1&e&&(u.F$t(),u.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),r})(),Dt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})(),SE=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[],imports:[[iu,sc,Dt,vo,Qa,b.ez]]}),r})();function Wh(){const r=new Ul;return r.disableClose=!0,r.autoFocus=!1,r}v(9441),new Intl.Collator("cs",{numeric:!0});class SA{static passwordMatchValidator(n){const e=n.get("passwordCtrl").value,t=n.get("passwordAgainCtrl").value;return n.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(n){return e=>{if(!e.value)return null;let t=0;for(const o of n)t+=o.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}var Zh=v(4450),kA=v(1762);function Qh(r,n){let e=!1;return arguments.length>=2&&(e=!0),function(o){return o.lift(new DA(r,n,e))}}class DA{constructor(n,e,t=!1){this.accumulator=n,this.seed=e,this.hasSeed=t}call(n,e){return e.subscribe(new Qm(n,this.accumulator,this.seed,this.hasSeed))}}class Qm extends ws.L{constructor(n,e,t,o){super(n),this.accumulator=e,this._seed=t,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let t;try{t=this.accumulator(this.seed,n,e)}catch(o){this.destination.error(o)}this.seed=t,this.destination.next(t)}}var MA=v(4231);function fc(r){return function(e){return 0===r?(0,Xo.c)():e.lift(new xA(r))}}class xA{constructor(n){if(this.total=n,this.total<0)throw new MA.W}call(n,e){return e.subscribe(new Xm(n,this.total))}}class Xm extends ws.L{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,t=this.total,o=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,o=this.ring;for(let s=0;sr.length||"full"===e.pathMatch&&(n.hasChildren()||t.lengtht[s]===o)}return r===n}function u_(r){return Array.prototype.concat.apply([],r)}function nf(r){return r.length>0?r[r.length-1]:null}function gi(r,n){for(const e in r)r.hasOwnProperty(e)&&n(r[e],e)}function Ni(r){return(0,u.CqO)(r)?r:(0,u.QGY)(r)?(0,vi.D)(Promise.resolve(r)):(0,Ie.of)(r)}const Vs={exact:function rf(r,n,e){if(!zn(r.segments,n.segments)||!uu(r.segments,n.segments,e)||r.numberOfChildren!==n.numberOfChildren)return!1;for(const t in n.children)if(!r.children[t]||!rf(r.children[t],n.children[t],e))return!1;return!0},subset:h_},Ks={exact:function qE(r,n){return Xn(r,n)},subset:function KA(r,n){return Object.keys(n).length<=Object.keys(r).length&&Object.keys(n).every(e=>tf(r[e],n[e]))},ignored:()=>!0};function d_(r,n,e){return Vs[e.paths](r.root,n.root,e.matrixParams)&&Ks[e.queryParams](r.queryParams,n.queryParams)&&!("exact"===e.fragment&&r.fragment!==n.fragment)}function h_(r,n,e){return f_(r,n,n.segments,e)}function f_(r,n,e,t){if(r.segments.length>e.length){const o=r.segments.slice(0,e.length);return!(!zn(o,e)||n.hasChildren()||!uu(o,e,t))}if(r.segments.length===e.length){if(!zn(r.segments,e)||!uu(r.segments,e,t))return!1;for(const o in n.children)if(!r.children[o]||!h_(r.children[o],n.children[o],t))return!1;return!0}{const o=e.slice(0,r.segments.length),s=e.slice(r.segments.length);return!!(zn(r.segments,o)&&uu(r.segments,o,t)&&r.children[st])&&f_(r.children[st],n,s,t)}}function uu(r,n,e){return n.every((t,o)=>Ks[e](r[o].parameters,t.parameters))}class sr{constructor(n,e,t){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rr(this.queryParams)),this._queryParamMap}toString(){return UA.serialize(this)}}class gt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,gi(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hu(this)}}class Nr{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=rr(this.parameters)),this._parameterMap}toString(){return lf(this)}}function zn(r,n){return r.length===n.length&&r.every((e,t)=>e.path===n[t].path)}class sf{}class af{parse(n){const e=new uf(n);return new sr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${pc(n.root,!0)}`,t=function WE(r){const n=Object.keys(r).map(e=>{const t=r[e];return Array.isArray(t)?t.map(o=>`${pu(e)}=${pu(o)}`).join("&"):`${pu(e)}=${pu(t)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${t}${"string"==typeof n.fragment?`#${function $E(r){return encodeURI(r)}(n.fragment)}`:""}`}}const UA=new af;function hu(r){return r.segments.map(n=>lf(n)).join("/")}function pc(r,n){if(!r.hasChildren())return hu(r);if(n){const e=r.children[st]?pc(r.children[st],!1):"",t=[];return gi(r.children,(o,s)=>{s!==st&&t.push(`${s}:${pc(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function GA(r,n){let e=[];return gi(r.children,(t,o)=>{o===st&&(e=e.concat(n(t,o)))}),gi(r.children,(t,o)=>{o!==st&&(e=e.concat(n(t,o)))}),e}(r,(t,o)=>o===st?[pc(r.children[st],!1)]:[`${o}:${pc(t,!1)}`]);return 1===Object.keys(r.children).length&&null!=r.children[st]?`${hu(r)}/${e[0]}`:`${hu(r)}/(${e.join("//")})`}}function fu(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pu(r){return fu(r).replace(/%3B/gi,";")}function cf(r){return fu(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gu(r){return decodeURIComponent(r)}function jr(r){return gu(r.replace(/\+/g,"%20"))}function lf(r){return`${cf(r.path)}${function Gs(r){return Object.keys(r).map(n=>`;${cf(n)}=${cf(r[n])}`).join("")}(r.parameters)}`}const p_=/^[^\/()?;=#]+/;function mu(r){const n=r.match(p_);return n?n[0]:""}const YE=/^[^=?&#]+/,ZE=/^[^&#]+/;class uf{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[st]=new gt(n,e)),t}parseSegment(){const n=mu(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(n),new Nr(gu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=mu(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=mu(this.remaining);o&&(t=o,this.capture(t))}n[gu(e)]=gu(t)}parseQueryParam(n){const e=function g_(r){const n=r.match(YE);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const i=function m_(r){const n=r.match(ZE);return n?n[0]:""}(this.remaining);i&&(t=i,this.capture(t))}const o=jr(e),s=jr(t);if(n.hasOwnProperty(o)){let i=n[o];Array.isArray(i)||(i=[i],n[o]=i),i.push(s)}else n[o]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=mu(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let s;t.indexOf(":")>-1?(s=t.substr(0,t.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=st);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i[st]:new gt([],i),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Error(`Expected "${n}".`)}}class __{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=_u(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){const e=_u(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=df(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return df(n,this._root).map(e=>e.value)}}function _u(r,n){if(r===n.value)return n;for(const e of n.children){const t=_u(r,e);if(t)return t}return null}function df(r,n){if(r===n.value)return[n];for(const e of n.children){const t=df(r,e);if(t.length)return t.unshift(n),t}return[]}class To{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Us(r){const n={};return r&&r.children.forEach(e=>n[e.value.outlet]=e),n}class y_ extends __{constructor(n,e){super(n),this.snapshot=e,yu(this,n)}toString(){return this.snapshot.toString()}}function w_(r,n){const e=function qA(r,n){const i=new mc([],{},{},"",{},st,n,null,r.root,-1,{});return new hf("",new To(i,[]))}(r,n),t=new ni([new Nr("",{})]),o=new ni({}),s=new ni({}),i=new ni({}),a=new ni(""),d=new ar(t,o,i,a,s,st,n,e.root);return d.snapshot=e.root,new y_(new To(d,[]),e)}class ar{constructor(n,e,t,o,s,i,a,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=s,this.outlet=i,this.component=a,this._futureSnapshot=d}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._paramMap=this.params.pipe((0,lt.U)(n=>rr(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,lt.U)(n=>rr(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b_(r,n="emptyOnly"){const e=r.pathFromRoot;let t=0;if("always"!==n)for(t=e.length-1;t>=1;){const o=e[t],s=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(s.component)break;t--}}return function gc(r){return r.reduce((n,e)=>({params:Object.assign(Object.assign({},n.params),e.params),data:Object.assign(Object.assign({},n.data),e.data),resolve:Object.assign(Object.assign({},n.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class mc{constructor(n,e,t,o,s,i,a,d,h,g,S){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=s,this.outlet=i,this.component=a,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=S}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._paramMap=rr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hf extends __{constructor(n,e){super(e),this.url=n,yu(this,e)}toString(){return ff(this._root)}}function yu(r,n){n.value._routerState=r,n.children.forEach(e=>yu(r,e))}function ff(r){const n=r.children.length>0?` { ${r.children.map(ff).join(", ")} } `:"";return`${r.value}${n}`}function wu(r){if(r.snapshot){const n=r.snapshot,e=r._futureSnapshot;r.snapshot=e,Xn(n.queryParams,e.queryParams)||r.queryParams.next(e.queryParams),n.fragment!==e.fragment&&r.fragment.next(e.fragment),Xn(n.params,e.params)||r.params.next(e.params),function l_(r,n){if(r.length!==n.length)return!1;for(let e=0;eXn(e.parameters,n[t].parameters))}(r.url,n.url);return e&&!(!r.parent!=!n.parent)&&(!r.parent||bu(r.parent,n.parent))}function qs(r,n,e){if(e&&r.shouldReuseRoute(n.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=n.value;const o=function v_(r,n,e){return n.children.map(t=>{for(const o of e.children)if(r.shouldReuseRoute(t.value,o.value.snapshot))return qs(r,t,o);return qs(r,t)})}(r,n,e);return new To(t,o)}{if(r.shouldAttach(n.value)){const s=r.retrieve(n.value);if(null!==s){const i=s.route;return i.value._futureSnapshot=n.value,i.children=n.children.map(a=>qs(r,a)),i}}const t=function A_(r){return new ar(new ni(r.url),new ni(r.params),new ni(r.queryParams),new ni(r.fragment),new ni(r.data),r.outlet,r.component,r)}(n.value),o=n.children.map(s=>qs(r,s));return new To(t,o)}}function vu(r){return"object"==typeof r&&null!=r&&!r.outlets&&!r.segmentPath}function Eo(r){return"object"==typeof r&&null!=r&&r.outlets}function pf(r,n,e,t,o){let s={};return t&&gi(t,(i,a)=>{s[a]=Array.isArray(i)?i.map(d=>`${d}`):`${i}`}),new sr(e.root===r?n:Au(e.root,r,n),s,o)}function Au(r,n,e){const t={};return gi(r.children,(o,s)=>{t[s]=o===n?e:Au(o,n,e)}),new gt(r.segments,t)}class Ln{constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&vu(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(Eo);if(o&&o!==nf(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $s{constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}function C_(r,n,e){if(r||(r=new gt([],{})),0===r.segments.length&&r.hasChildren())return Vr(r,n,e);const t=function Cu(r,n,e){let t=0,o=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return s;const i=r.segments[o],a=e[t];if(Eo(a))break;const d=`${a}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!_f(d,h,i))return s;t+=2}else{if(!_f(d,{},i))return s;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(r,n,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=C_(r.children[i],n,s))}),gi(r.children,(s,i)=>{void 0===t[i]&&(o[i]=s)}),new gt(r.segments,o)}}function gf(r,n,e){const t=r.segments.slice(0,n);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(n[t]=gf(new gt([],{}),0,e))}),n}function mf(r){const n={};return gi(r,(e,t)=>n[t]=`${e}`),n}function _f(r,n,e){return r==e.path&&Xn(n,e.parameters)}class T_{constructor(n,e,t,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(n){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),wu(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){const o=Us(e);n.children.forEach(s=>{const i=s.value.outlet;this.deactivateRoutes(s,o[i],t),delete o[i]}),gi(o,(s,i)=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(n,e,t){const o=n.value,s=e?e.value:null;if(o===s)if(o.component){const i=t.getContext(o.outlet);i&&this.deactivateChildRoutes(n,e,i.children)}else this.deactivateChildRoutes(n,e,t);else s&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,s=Us(n);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],o);if(t&&t.outlet){const i=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:i,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,s=Us(n);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(n,e,t){const o=Us(e);n.children.forEach(s=>{this.activateRoutes(s,o[s.value.outlet],t),this.forwardEvent(new NA(s.value.snapshot))}),n.children.length&&this.forwardEvent(new LA(n.value.snapshot))}activateRoutes(n,e,t){const o=n.value,s=e?e.value:null;if(wu(o),o===s)if(o.component){const i=t.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,i.children)}else this.activateChildRoutes(n,e,t);else if(o.component){const i=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),wu(a.route.value),this.activateChildRoutes(n,null,i.children)}else{const a=function JA(r){for(let n=r.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),d=a?a.module.componentFactoryResolver:null;i.attachRef=null,i.route=o,i.resolver=d,i.outlet&&i.outlet.activateWith(o,d),this.activateChildRoutes(n,null,i.children)}}else this.activateChildRoutes(n,null,t)}}class wf{constructor(n,e){this.routes=n,this.module=e}}function Kr(r){return"function"==typeof r}function So(r){return r instanceof sr}const yc=Symbol("INITIAL_VALUE");function wc(){return(0,Ri.w)(r=>(0,Rv.aj)(r.map(n=>n.pipe((0,Vt.q)(1),yn(yc)))).pipe(Qh((n,e)=>{let t=!1;return e.reduce((o,s,i)=>o!==yc?o:(s===yc&&(t=!0),t||!1!==s&&i!==e.length-1&&!So(s)?o:s),n)},yc),(0,ke.h)(n=>n!==yc),(0,lt.U)(n=>So(n)?n:!0===n),(0,Vt.q)(1)))}class tC{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ws,this.attachRef=null}}class Ws{constructor(){this.contexts=new Map}onChildOutletCreated(n,e){const t=this.getOrCreateContext(n);t.outlet=e,this.contexts.set(n,t)}onChildOutletDestroyed(n){const e=this.getContext(n);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let e=this.getContext(n);return e||(e=new tC,this.contexts.set(n,e)),e}getContext(n){return this.contexts.get(n)||null}}let Tu=(()=>{class r{constructor(e,t,o,s,i){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new u.vpe,this.deactivateEvents=new u.vpe,this.attachEvents=new u.vpe,this.detachEvents=new u.vpe,this.name=s||st,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,d=new S_(e,a,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Ws),u.Y36(u.s_b),u.Y36(u._Vd),u.$8M("name"),u.Y36(u.sBO))},r.\u0275dir=u.lG2({type:r,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),r})();class S_{constructor(n,e,t){this.route=n,this.childContexts=e,this.parent=t}get(n,e){return n===ar?this.route:n===Ws?this.childContexts:this.parent.get(n,e)}}let Cf=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=u.Xpm({type:r,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&u._UZ(0,"router-outlet")},directives:[Tu],encapsulation:2}),r})();function Tf(r,n=""){for(let e=0;eon(t)===n);return e.push(...r.filter(t=>on(t)!==n)),e}const Ef={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Su(r,n,e){var t;if(""===n.path)return"full"===n.pathMatch&&(r.hasChildren()||e.length>0)?Object.assign({},Ef):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(n.matcher||jA)(e,r,n);if(!s)return Object.assign({},Ef);const i={};gi(s.posParams,(d,h)=>{i[h]=d.path});const a=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:a,positionalParamSegments:null!==(t=s.posParams)&&void 0!==t?t:{}}}function di(r,n,e,t,o="corrected"){if(e.length>0&&function oC(r,n,e){return e.some(t=>cr(r,n,t)&&on(t)!==st)}(r,e,t)){const i=new gt(n,function nC(r,n,e,t){const o={};o[st]=t,t._sourceSegment=r,t._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&on(s)!==st){const i=new gt([],{});i._sourceSegment=r,i._segmentIndexShift=n.length,o[on(s)]=i}return o}(r,n,t,new gt(e,r.children)));return i._sourceSegment=r,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:[]}}if(0===e.length&&function QE(r,n,e){return e.some(t=>cr(r,n,t))}(r,e,t)){const i=new gt(r.segments,function Ys(r,n,e,t,o,s){const i={};for(const a of t)if(cr(r,e,a)&&!o[on(a)]){const d=new gt([],{});d._sourceSegment=r,d._segmentIndexShift="legacy"===s?r.segments.length:n.length,i[on(a)]=d}return Object.assign(Object.assign({},o),i)}(r,n,e,t,r.children,o));return i._sourceSegment=r,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:e}}const s=new gt(r.segments,r.children);return s._sourceSegment=r,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}function cr(r,n,e){return(!(r.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function M_(r,n,e,t){return!!(on(r)===t||t!==st&&cr(n,e,r))&&("**"===r.path||Su(n,r,e).matched)}function ku(r,n,e){return 0===n.length&&!r.children[e]}class bc{constructor(n){this.segmentGroup=n||null}}class Sf{constructor(n){this.urlTree=n}}function Du(r){return new bi.y(n=>n.error(new bc(r)))}function x_(r){return new bi.y(n=>n.error(new Sf(r)))}function kf(r){return new bi.y(n=>n.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${r}'`)))}class Mu{constructor(n,e,t,o,s){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=s,this.allowRedirects=!0,this.ngModule=n.get(u.h0i)}apply(){const n=di(this.urlTree.root,[],[],this.config).segmentGroup,e=new gt(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,e,st).pipe((0,lt.U)(s=>this.createUrlTree(I_(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Li.K)(s=>{if(s instanceof Sf)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof bc?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.ngModule,this.config,n.root,st).pipe((0,lt.U)(o=>this.createUrlTree(I_(o),n.queryParams,n.fragment))).pipe((0,Li.K)(o=>{throw o instanceof bc?this.noMatchError(o):o}))}noMatchError(n){return new Error(`Cannot match any routes. URL Segment: '${n.segmentGroup}'`)}createUrlTree(n,e,t){const o=n.segments.length>0?new gt([],{[st]:n}):n;return new sr(o,e,t)}expandSegmentGroup(n,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(n,e,t).pipe((0,lt.U)(s=>new gt([],s))):this.expandSegment(n,t,e,t.segments,o,!0)}expandChildren(n,e,t){const o=[];for(const s of Object.keys(t.children))"primary"===s?o.unshift(s):o.push(s);return(0,vi.D)(o).pipe((0,bn.b)(s=>{const i=t.children[s],a=D_(e,s);return this.expandSegmentGroup(n,a,i,s).pipe((0,lt.U)(d=>({segment:d,outlet:s})))}),Qh((s,i)=>(s[i.outlet]=i.segment,s),{}),function IA(r,n){const e=arguments.length>=2;return t=>t.pipe(r?(0,ke.h)((o,s)=>r(o,s,t)):PA.y,fc(1),e?(0,RA.d)(n):(0,Jm.T)(()=>new Zh.K))}())}expandSegment(n,e,t,o,s,i){return(0,vi.D)(t).pipe((0,bn.b)(a=>this.expandSegmentAgainstRoute(n,e,t,a,o,s,i).pipe((0,Li.K)(h=>{if(h instanceof bc)return(0,Ie.of)(null);throw h}))),(0,or.P)(a=>!!a),(0,Li.K)((a,d)=>{if(a instanceof Zh.K||"EmptyError"===a.name){if(ku(e,o,s))return(0,Ie.of)(new gt([],{}));throw new bc(e)}throw a}))}expandSegmentAgainstRoute(n,e,t,o,s,i,a){return M_(o,e,s,i)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,s,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i):Du(e):Du(e)}expandSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,o,i):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,t,o){const s=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?x_(s):this.lineralizeSegments(t,s).pipe((0,Bi.zg)(i=>{const a=new gt(i,{});return this.expandSegment(n,a,e,i,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,o,s,i){const{matched:a,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Su(e,o,s);if(!a)return Du(e);const S=this.applyRedirectCommands(d,o.redirectTo,g);return o.redirectTo.startsWith("/")?x_(S):this.lineralizeSegments(o,S).pipe((0,Bi.zg)(H=>this.expandSegment(n,e,t,H.concat(s.slice(h)),i,!1)))}matchSegmentAgainstRoute(n,e,t,o,s){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ie.of)(t._loadedConfig):this.configLoader.load(n.injector,t)).pipe((0,lt.U)(H=>(t._loadedConfig=H,new gt(o,{})))):(0,Ie.of)(new gt(o,{}));const{matched:i,consumedSegments:a,lastChild:d}=Su(e,t,o);if(!i)return Du(e);const h=o.slice(d);return this.getChildConfig(n,t,o).pipe((0,Bi.zg)(S=>{const H=S.module,te=S.routes,{segmentGroup:he,slicedSegments:_e}=di(e,a,h,te),Te=new gt(he.segments,he.children);if(0===_e.length&&Te.hasChildren())return this.expandChildren(H,te,Te).pipe((0,lt.U)(It=>new gt(a,It)));if(0===te.length&&0===_e.length)return(0,Ie.of)(new gt(a,{}));const mt=on(t)===s;return this.expandSegment(H,Te,te,_e,mt?st:s,!0).pipe((0,lt.U)(bt=>new gt(a.concat(bt.segments),bt.children)))}))}getChildConfig(n,e,t){return e.children?(0,Ie.of)(new wf(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?(0,Ie.of)(e._loadedConfig):this.runCanLoadGuards(n.injector,e,t).pipe((0,Bi.zg)(o=>o?this.configLoader.load(n.injector,e).pipe((0,lt.U)(s=>(e._loadedConfig=s,s))):function R_(r){return new bi.y(n=>n.error(Jh(`Cannot load children because the guard of the route "path: '${r.path}'" returned false`)))}(e))):(0,Ie.of)(new wf([],n))}runCanLoadGuards(n,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Ie.of)(!0);const s=o.map(i=>{const a=n.get(i);let d;if(function E_(r){return r&&Kr(r.canLoad)}(a))d=a.canLoad(e,t);else{if(!Kr(a))throw new Error("Invalid CanLoad guard");d=a(e,t)}return Ni(d)});return(0,Ie.of)(s).pipe(wc(),(0,ui.b)(i=>{if(!So(i))return;const a=Jh(`Redirecting to "${this.urlSerializer.serialize(i)}"`);throw a.url=i,a}),(0,lt.U)(i=>!0===i))}lineralizeSegments(n,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Ie.of)(t);if(o.numberOfChildren>1||!o.children[st])return kf(n.redirectTo);o=o.children[st]}}applyRedirectCommands(n,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,t)}applyRedirectCreatreUrlTree(n,e,t,o){const s=this.createSegmentGroup(n,e.root,t,o);return new sr(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const t={};return gi(n,(o,s)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);t[s]=e[a]}else t[s]=o}),t}createSegmentGroup(n,e,t,o){const s=this.createSegments(n,e.segments,t,o);let i={};return gi(e.children,(a,d)=>{i[d]=this.createSegmentGroup(n,a,t,o)}),new gt(s,i)}createSegments(n,e,t,o){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,o):this.findOrReturn(s,t))}findPosParam(n,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${n}'. Cannot find '${e.path}'.`);return o}findOrReturn(n,e){let t=0;for(const o of e){if(o.path===n.path)return e.splice(t),o;t++}return n}}function I_(r){const n={};for(const t of Object.keys(r.children)){const s=I_(r.children[t]);(s.segments.length>0||s.hasChildren())&&(n[t]=s)}return function Df(r){if(1===r.numberOfChildren&&r.children[st]){const n=r.children[st];return new gt(r.segments.concat(n.segments),n.children)}return r}(new gt(r.segments,n))}class H_{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class vc{constructor(n,e){this.component=n,this.route=e}}function xu(r,n,e){const t=r._root;return Gr(t,n?n._root:null,e,[t.value])}function Ru(r,n,e){const t=function Mf(r){if(!r)return null;for(let n=r.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(n);return(t?t.module.injector:e).get(r)}function Gr(r,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=Us(n);return r.children.forEach(i=>{(function XE(r,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=r.value,i=n?n.value:null,a=e?e.getContext(r.value.outlet):null;if(i&&s.routeConfig===i.routeConfig){const d=function rC(r,n,e){if("function"==typeof e)return e(r,n);switch(e){case"pathParamsChange":return!zn(r.url,n.url);case"pathParamsOrQueryParamsChange":return!zn(r.url,n.url)||!Xn(r.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bu(r,n)||!Xn(r.queryParams,n.queryParams);default:return!bu(r,n)}}(i,s,s.routeConfig.runGuardsAndResolvers);d?o.canActivateChecks.push(new H_(t)):(s.data=i.data,s._resolvedData=i._resolvedData),Gr(r,n,s.component?a?a.children:null:e,t,o),d&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new vc(a.outlet.component,i))}else i&&Ac(n,a,o),o.canActivateChecks.push(new H_(t)),Gr(r,null,s.component?a?a.children:null:e,t,o)})(i,s[i.value.outlet],e,t.concat([i.value]),o),delete s[i.value.outlet]}),gi(s,(i,a)=>Ac(i,e.getContext(a),o)),o}function Ac(r,n,e){const t=Us(r),o=r.value;gi(t,(s,i)=>{Ac(s,o.component?n?n.children.getContext(i):null:n,e)}),e.canDeactivateChecks.push(new vc(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}class lC{}function xf(r){return new bi.y(n=>n.error(r))}class K_{constructor(n,e,t,o,s,i){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const n=di(this.urlTree.root,[],[],this.config.filter(i=>void 0===i.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,st);if(null===e)return null;const t=new mc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new To(t,e),s=new hf(this.url,o);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(n){const e=n.value,t=b_(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,t)}processChildren(n,e){const t=[];for(const s of Object.keys(e.children)){const i=e.children[s],a=D_(n,s),d=this.processSegmentGroup(a,i,s);if(null===d)return null;t.push(...d)}const o=hC(t);return function G_(r){r.sort((n,e)=>n.value.outlet===st?-1:e.value.outlet===st?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(n,e,t,o){for(const s of n){const i=this.processSegmentAgainstRoute(s,e,t,o);if(null!==i)return i}return ku(e,t,o)?[]:null}processSegmentAgainstRoute(n,e,t,o){if(n.redirectTo||!M_(n,e,t,o))return null;let s,i=[],a=[];if("**"===n.path){const te=t.length>0?nf(t).parameters:{};s=new mc(t,te,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mC(n),on(n),n.component,n,pC(e),gC(e)+t.length,_C(n))}else{const te=Su(e,n,t);if(!te.matched)return null;i=te.consumedSegments,a=t.slice(te.lastChild),s=new mc(i,te.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mC(n),on(n),n.component,n,pC(e),gC(e)+i.length,_C(n))}const d=function uC(r){return r.children?r.children:r.loadChildren?r._loadedConfig.routes:[]}(n),{segmentGroup:h,slicedSegments:g}=di(e,i,a,d.filter(te=>void 0===te.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const te=this.processChildren(d,h);return null===te?null:[new To(s,te)]}if(0===d.length&&0===g.length)return[new To(s,[])];const S=on(n)===o,H=this.processSegment(d,h,g,S?st:o);return null===H?null:[new To(s,H)]}}function dC(r){const n=r.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function hC(r){const n=[],e=new Set;for(const t of r){if(!dC(t)){n.push(t);continue}const o=n.find(s=>t.value.routeConfig===s.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):n.push(t)}for(const t of e){const o=hC(t.children);n.push(new To(t.value,o))}return n.filter(t=>!e.has(t))}function pC(r){let n=r;for(;n._sourceSegment;)n=n._sourceSegment;return n}function gC(r){let n=r,e=n._segmentIndexShift?n._segmentIndexShift:0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift?n._segmentIndexShift:0;return e-1}function mC(r){return r.data||{}}function _C(r){return r.resolve||{}}function Cc(r){return[...Object.keys(r),...Object.getOwnPropertySymbols(r)]}function Tc(r){return(0,Ri.w)(n=>{const e=r(n);return e?(0,vi.D)(e).pipe((0,lt.U)(()=>n)):(0,Ie.of)(n)})}class yC extends class U_{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const Rf=new u.OlP("ROUTES");class Pu{constructor(n,e,t,o){this.injector=n,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(n,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,lt.U)(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=s.create(n);return new wf(u_(i.injector.get(Rf,void 0,u.XFs.Self|u.XFs.Optional)).map(Eu),i)}),(0,Li.K)(s=>{throw e._loader$=void 0,s}));return e._loader$=new kA.c(o,()=>new xe.xQ).pipe((0,e_.x)()),e._loader$}loadModuleFactory(n){return Ni(n()).pipe((0,Bi.zg)(e=>e instanceof u.YKP?(0,Ie.of)(e):(0,vi.D)(this.compiler.compileModuleAsync(e))))}}class $_{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function W_(r){throw r}function oS(r,n,e){return n.parse("/")}function Pf(r,n){return(0,Ie.of)(null)}const Iu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ji=(()=>{class r{constructor(e,t,o,s,i,a,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=s,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new xe.xQ,this.errorHandler=W_,this.malformedUriErrorHandler=oS,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pf,afterPreactivation:Pf},this.urlHandlingStrategy=new $_,this.routeReuseStrategy=new yC,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=i.get(u.h0i),this.console=i.get(u.c2e);const S=i.get(u.R0b);this.isNgZoneEnabled=S instanceof u.R0b&&u.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function VA(){return new sr(new gt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Pu(i,a,H=>this.triggerEvent(new o_(H)),H=>this.triggerEvent(new r_(H))),this.routerState=w_(this.currentUrlTree,this.rootComponentType),this.transitions=new ni({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,ke.h)(o=>0!==o.id),(0,lt.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,Ri.w)(o=>{let s=!1,i=!1;return(0,Ie.of)(o).pipe((0,ui.b)(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ri.w)(a=>{const d=this.browserUrlTree.toString(),h=!this.navigated||a.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return If(a.source)&&(this.browserUrlTree=a.extractedUrl),(0,Ie.of)(a).pipe((0,Ri.w)(S=>{const H=this.transitions.getValue();return t.next(new Xh(S.id,this.serializeUrl(S.extractedUrl),S.source,S.restoredState)),H!==this.transitions.getValue()?Xo.E:Promise.resolve(S)}),function O_(r,n,e,t){return(0,Ri.w)(o=>function P_(r,n,e,t,o){return new Mu(r,n,e,t,o).apply()}(r,n,e,o.extractedUrl,t).pipe((0,lt.U)(s=>Object.assign(Object.assign({},o),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ui.b)(S=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:S.urlAfterRedirects})}),function JE(r,n,e,t,o){return(0,Bi.zg)(s=>function V_(r,n,e,t,o="emptyOnly",s="legacy"){try{const i=new K_(r,n,e,t,o,s).recognize();return null===i?xf(new lC):(0,Ie.of)(i)}catch(i){return xf(i)}}(r,n,s.urlAfterRedirects,e(s.urlAfterRedirects),t,o).pipe((0,lt.U)(i=>Object.assign(Object.assign({},s),{targetSnapshot:i}))))}(this.rootComponentType,this.config,S=>this.serializeUrl(S),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ui.b)(S=>{if("eager"===this.urlUpdateStrategy){if(!S.extras.skipLocationChange){const te=this.urlHandlingStrategy.merge(S.urlAfterRedirects,S.rawUrl);this.setBrowserUrl(te,S)}this.browserUrlTree=S.urlAfterRedirects}const H=new HA(S.id,this.serializeUrl(S.extractedUrl),this.serializeUrl(S.urlAfterRedirects),S.targetSnapshot);t.next(H)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:H,extractedUrl:te,source:he,restoredState:_e,extras:Te}=a,mt=new Xh(H,this.serializeUrl(te),he,_e);t.next(mt);const Rt=w_(te,this.rootComponentType).snapshot;return(0,Ie.of)(Object.assign(Object.assign({},a),{targetSnapshot:Rt,urlAfterRedirects:te,extras:Object.assign(Object.assign({},Te),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Xo.E}),Tc(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,ui.b)(a=>{const d=new FA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(d)}),(0,lt.U)(a=>Object.assign(Object.assign({},a),{guards:xu(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function z_(r,n){return(0,Bi.zg)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:i}}=e;return 0===i.length&&0===s.length?(0,Ie.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function L_(r,n,e,t){return(0,vi.D)(r).pipe((0,Bi.zg)(o=>function j_(r,n,e,t,o){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,Ie.of)(!0);const i=s.map(a=>{const d=Ru(a,n,o);let h;if(function eC(r){return r&&Kr(r.canDeactivate)}(d))h=Ni(d.canDeactivate(r,n,e,t));else{if(!Kr(d))throw new Error("Invalid CanDeactivate guard");h=Ni(d(r,n,e,t))}return h.pipe((0,or.P)())});return(0,Ie.of)(i).pipe(wc())}(o.component,o.route,e,n,t)),(0,or.P)(o=>!0!==o,!0))}(i,t,o,r).pipe((0,Bi.zg)(a=>a&&function bf(r){return"boolean"==typeof r}(a)?function sC(r,n,e,t){return(0,vi.D)(n).pipe((0,bn.b)(o=>vs(function N_(r,n){return null!==r&&n&&n(new s_(r)),(0,Ie.of)(!0)}(o.route.parent,t),function B_(r,n){return null!==r&&n&&n(new BA(r)),(0,Ie.of)(!0)}(o.route,t),function cC(r,n,e){const t=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(i=>function F_(r){const n=r.routeConfig?r.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:r,guards:n}:null}(i)).filter(i=>null!==i).map(i=>Ya(()=>{const a=i.guards.map(d=>{const h=Ru(d,i.node,e);let g;if(function Af(r){return r&&Kr(r.canActivateChild)}(h))g=Ni(h.canActivateChild(t,r));else{if(!Kr(h))throw new Error("Invalid CanActivateChild guard");g=Ni(h(t,r))}return g.pipe((0,or.P)())});return(0,Ie.of)(a).pipe(wc())}));return(0,Ie.of)(s).pipe(wc())}(r,o.path,e),function aC(r,n,e){const t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ie.of)(!0);const o=t.map(s=>Ya(()=>{const i=Ru(s,n,e);let a;if(function vf(r){return r&&Kr(r.canActivate)}(i))a=Ni(i.canActivate(n,r));else{if(!Kr(i))throw new Error("Invalid CanActivate guard");a=Ni(i(n,r))}return a.pipe((0,or.P)())}));return(0,Ie.of)(o).pipe(wc())}(r,o.route,e))),(0,or.P)(o=>!0!==o,!0))}(t,s,r,n):(0,Ie.of)(a)),(0,lt.U)(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),(0,ui.b)(a=>{if(So(a.guardsResult)){const h=Jh(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw h.url=a.guardsResult,h}const d=new zA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(d)}),(0,ke.h)(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Tc(a=>{if(a.guards.canActivateChecks.length)return(0,Ie.of)(a).pipe((0,ui.b)(d=>{const h=new i_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Ri.w)(d=>{let h=!1;return(0,Ie.of)(d).pipe(function eS(r,n){return(0,Bi.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Ie.of)(e);let s=0;return(0,vi.D)(o).pipe((0,bn.b)(i=>function tS(r,n,e,t){return function iS(r,n,e,t){const o=Cc(r);if(0===o.length)return(0,Ie.of)({});const s={};return(0,vi.D)(o).pipe((0,Bi.zg)(i=>function nS(r,n,e,t){const o=Ru(r,n,t);return Ni(o.resolve?o.resolve(n,e):o(n,e))}(r[i],n,e,t).pipe((0,ui.b)(a=>{s[i]=a}))),fc(1),(0,Bi.zg)(()=>Cc(s).length===o.length?(0,Ie.of)(s):Xo.E))}(r._resolve,r,n,t).pipe((0,lt.U)(s=>(r._resolvedData=s,r.data=Object.assign(Object.assign({},r.data),b_(r,e).resolve),null)))}(i.route,t,r,n)),(0,ui.b)(()=>s++),fc(1),(0,Bi.zg)(i=>s===o.length?(0,Ie.of)(e):Xo.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ui.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,ui.b)(d=>{const h=new n_(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Tc(a=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:S,extras:{skipLocationChange:H,replaceUrl:te}}=a;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:S,skipLocationChange:!!H,replaceUrl:!!te})}),(0,lt.U)(a=>{const d=function $A(r,n,e){const t=qs(r,n._root,e?e._root:void 0);return new y_(t,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:d})}),(0,ui.b)(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((r,n,e)=>(0,lt.U)(t=>(new T_(n,t.targetRouterState,t.currentRouterState,e).activate(r),t)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),(0,ui.b)({next(){s=!0},complete(){s=!0}}),qh(()=>{var a;s||i||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),(0,Li.K)(a=>{if(i=!0,function ef(r){return r&&r[c_]}(a)){const d=So(a.url);d||(this.navigated=!0,this.restoreHistory(o,!0));const h=new t_(o.id,this.serializeUrl(o.extractedUrl),a.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),S={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||If(o.source)};this.scheduleNavigation(g,"imperative",null,S,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const d=new OA(o.id,this.serializeUrl(o.extractedUrl),a);t.next(d);try{o.resolve(this.errorHandler(a))}catch(h){o.reject(h)}}return Xo.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var o;const s={replaceUrl:!0},i=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(i){const d=Object.assign({},i);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(s.state=d)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,t,i,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Tf(e),this.config=e.map(Eu),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:o,queryParams:s,fragment:i,queryParamsHandling:a,preserveFragment:d}=t,h=o||this.routerState.root,g=d?this.currentUrlTree.fragment:i;let S=null;switch(a){case"merge":S=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":S=this.currentUrlTree.queryParams;break;default:S=s||null}return null!==S&&(S=this.removeEmptyProps(S)),function WA(r,n,e,t,o){if(0===e.length)return pf(n.root,n.root,n,t,o);const s=function YA(r){if("string"==typeof r[0]&&1===r.length&&"/"===r[0])return new Ln(!0,0,r);let n=0,e=!1;const t=r.reduce((o,s,i)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return gi(s.outlets,(d,h)=>{a[h]="string"==typeof d?d.split("/"):d}),[...o,{outlets:a}]}if(s.segmentPath)return[...o,s.segmentPath]}return"string"!=typeof s?[...o,s]:0===i?(s.split("/").forEach((a,d)=>{0==d&&"."===a||(0==d&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,s]},[]);return new Ln(e,n,t)}(e);if(s.toRoot())return pf(n.root,new gt([],{}),n,t,o);const i=function _c(r,n,e){if(r.isAbsolute)return new $s(n.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new $s(s,s===n.root,0)}const t=vu(r.commands[0])?0:1;return function ZA(r,n,e){let t=r,o=n,s=e;for(;s>o;){if(s-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new $s(t,!1,o-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,r.numberOfDoubleDots)}(s,n,r),a=i.processChildren?Vr(i.segmentGroup,i.index,s.commands):C_(i.segmentGroup,i.index,s.commands);return pf(i.segmentGroup,a,n,t,o)}(h,this.currentUrlTree,e,S,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=So(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function rS(r){for(let n=0;n{const s=e[o];return null!=s&&(t[o]=s),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new js(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,o,s,i){var a,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,S=If(t)&&g&&!If(g.source),H=g.rawUrl.toString()===e.toString(),te=g.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(S&&H&&te)return Promise.resolve(!0);let _e,Te,mt;i?(_e=i.resolve,Te=i.reject,mt=i.promise):mt=new Promise((It,oa)=>{_e=It,Te=oa});const Rt=++this.navigationId;let bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),bt=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):bt=0,this.setTransition({id:Rt,targetPageId:bt,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:_e,reject:Te,promise:mt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),mt.catch(It=>Promise.reject(It))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}restoreHistory(e,t=!1){var o,s;if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===i?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===i&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const o=new t_(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return r.\u0275fac=function(e){u.$Z()},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function If(r){return"imperative"!==r}class Ou{}class Vi{preload(n,e){return(0,Ie.of)(null)}}let Z_=(()=>{class r{constructor(e,t,o,s){this.router=e,this.injector=o,this.preloadingStrategy=s,this.loader=new Pu(o,t,d=>e.triggerEvent(new o_(d)),d=>e.triggerEvent(new r_(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ke.h)(e=>e instanceof js),(0,bn.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(u.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const s of t)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const i=s._loadedConfig;o.push(this.processRoutes(i.module,i.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(e,s)):s.children&&o.push(this.processRoutes(e,s.children));return(0,vi.D)(o).pipe((0,yl.J)(),(0,lt.U)(s=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ie.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Bi.zg)(s=>(t._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ji),u.LFG(u.Sil),u.LFG(u.zs3),u.LFG(Ou))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),Sc=(()=>{class r{constructor(e,t,o={}){this.router=e,this.viewportScroller=t,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Xh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof js&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof lu&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new lu(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return r.\u0275fac=function(e){u.$Z()},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const Ur=new u.OlP("ROUTER_CONFIGURATION"),Hu=new u.OlP("ROUTER_FORROOT_GUARD"),Q_=[b.Ye,{provide:sf,useClass:af},{provide:ji,useFactory:function Ff(r,n,e,t,o,s,i={},a,d){const h=new ji(null,r,n,e,t,o,u_(s));return a&&(h.urlHandlingStrategy=a),d&&(h.routeReuseStrategy=d),function Bn(r,n){r.errorHandler&&(n.errorHandler=r.errorHandler),r.malformedUriErrorHandler&&(n.malformedUriErrorHandler=r.malformedUriErrorHandler),r.onSameUrlNavigation&&(n.onSameUrlNavigation=r.onSameUrlNavigation),r.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=r.paramsInheritanceStrategy),r.relativeLinkResolution&&(n.relativeLinkResolution=r.relativeLinkResolution),r.urlUpdateStrategy&&(n.urlUpdateStrategy=r.urlUpdateStrategy),r.canceledNavigationResolution&&(n.canceledNavigationResolution=r.canceledNavigationResolution)}(i,h),i.enableTracing&&h.events.subscribe(g=>{var S,H;null===(S=console.group)||void 0===S||S.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(H=console.groupEnd)||void 0===H||H.call(console)}),h},deps:[sf,Ws,b.Ye,u.zs3,u.Sil,Rf,Ur,[class q_{},new u.FiY],[class Zs{},new u.FiY]]},Ws,{provide:ar,useFactory:function AC(r){return r.routerState.root},deps:[ji]},Z_,Vi,class bC{preload(n,e){return e().pipe((0,Li.K)(()=>(0,Ie.of)(null)))}},{provide:Ur,useValue:{enableTracing:!1}}];function X_(){return new u.PXZ("Router",ji)}let Hf=(()=>{class r{constructor(e,t){}static forRoot(e,t){return{ngModule:r,providers:[Q_,ty(e),{provide:Hu,useFactory:vC,deps:[[ji,new u.FiY,new u.tp0]]},{provide:Ur,useValue:t||{}},{provide:b.S$,useFactory:ey,deps:[b.lw,[new u.tBr(b.mr),new u.FiY],Ur]},{provide:Sc,useFactory:J_,deps:[ji,b.EM,Ur]},{provide:Ou,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Vi},{provide:u.PXZ,multi:!0,useFactory:X_},[iy,{provide:u.ip1,multi:!0,useFactory:CC,deps:[iy]},{provide:oy,useFactory:ny,deps:[iy]},{provide:u.tb,multi:!0,useExisting:oy}]]}}static forChild(e){return{ngModule:r,providers:[ty(e)]}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Hu,8),u.LFG(ji,8))},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();function J_(r,n,e){return e.scrollOffset&&n.setOffset(e.scrollOffset),new Sc(r,n,e)}function ey(r,n,e={}){return e.useHash?new b.Do(r,n):new b.b0(r,n)}function vC(r){return"guarded"}function ty(r){return[{provide:u.deG,multi:!0,useValue:r},{provide:Rf,multi:!0,useValue:r}]}let iy=(()=>{class r{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new xe.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(a=>t=a),s=this.injector.get(ji),i=this.injector.get(Ur);return"disabled"===i.initialNavigation?(s.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?(0,Ie.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),s.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(Ur),o=this.injector.get(Z_),s=this.injector.get(Sc),i=this.injector.get(ji),a=this.injector.get(u.z2F);e===a.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&i.initialNavigation(),o.setUpPreloading(),s.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.zs3))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();function CC(r){return r.appInitializer.bind(r)}function ny(r){return r.bootstrapListener.bind(r)}const oy=new u.OlP("Router Initializer");var ry=v(6114);let sy=(()=>{class r{constructor(e,t,o,s,i){this.injector=e,this.store=t,this.dialog=o,this.route=s,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(ji),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(a=>{a.idpFilter&&(this.filterShortname=a.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(s=>{const i=s.split("=");"idpFilter"===i[0]&&t[i[1]]&&(this.filterShortname=i[1],o=t[i[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}startIdpFilterKeeper(){this.router.events.pipe((0,ke.h)(e=>e instanceof js)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,ke.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const o of t)if(e.startsWith(o))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(o=>o?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((s,i)=>i("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const o=sessionStorage.getItem("auth:queryParams");let s=[];o&&(s=o.split("&"));const i={};return s.forEach(a=>{const d=a.split("=");i[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=i.idpFilter),this.router.navigate([t],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.zs3),u.LFG(ki),u.LFG(Os),u.LFG(ar),u.LFG(ry.Ct))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),zf=(()=>{class r{constructor(e,t,o,s,i,a){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=s,this.dialog=i,this.router=a,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Wh();this.dialog.open(sm,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const o of e){const s=o.split("=");t[s[0]]=s[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(sy),u.LFG(ki),u.LFG(gp),u.LFG(Hi),u.LFG(Os),u.LFG(ji))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),ay=(()=>{class r{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Br),u.LFG(Sn))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),kC=(()=>{class r{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"div",2),u.TgZ(7,"div",3),u.TgZ(8,"button",4),u.NdJ("click",function(){return t.close()}),u._uU(9),u.ALo(10,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(1),u.Oqu(u.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),u.xp6(3),u.hij(" ",u.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),u.xp6(5),u.hij(" ",u.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[om,rm,Ch,eu],pipes:[ir],styles:[""]}),r})(),Lf=(()=>{class r{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),qr=(()=>{class r{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new u.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,o,s,i){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===s&&void 0!==o?this.getDefaultActionMessage():s,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,s){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===o&&void 0!==t?this.getDefaultActionMessage():o,delay:this.defaultSuccessDelayMs,icon:"done",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(nn))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Fu=(()=>{class r{constructor(e,t,o,s,i,a){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=s,this.dialog=i,this.initAuthService=a}intercept(e,t){const o=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==o&&-1!==e.url.toString().indexOf(o)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const a=Wh();a.width="450px",this.dialog.open(kC,a).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const s=this.apiRequestConfiguration.shouldHandleError(),i="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,ui.b)(a=>{a instanceof C.Zn&&i&&this.initAuthService.loadPrincipal()},a=>{const d=this.formatErrors(a,e);return void 0===d?(0,ac._)(a):s?void this.notificator.showRPCError(d):(0,ac._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;if(console.error(e),e.error.errorId?o=e.error:e.errorId&&(o=JSON.parse(e.error)),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(sy),u.LFG(Lf),u.LFG(qr),u.LFG(ki),u.LFG(Os),u.LFG(zf))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})(),cy=(()=>{class r{constructor(e,t,o,s){this.http=e,this.notificator=t,this.authService=o,this.storeService=s}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,o,s){const i=e.error;return i.call=t,i.payload=o,s&&this.notificator.showRPCError(e.error),(0,ac._)(i)}getHeaders(){let e=new C.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.get(o,{headers:this.getHeaders()}).pipe((0,Li.K)(s=>this.formatErrors(s,o,null,t)))}put(e,t={},o=!0){const s=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);return this.http.put(s,i,{headers:this.getHeaders()}).pipe((0,Li.K)(a=>this.formatErrors(a,s,i,o)))}post(e,t={},o=!0){const s=`${this.getApiUrl()}${e}`,i=JSON.stringify(t);let a=this.getHeaders();return a=a.set("Content-Type","application/json; charset=utf-8"),this.http.post(s,i,{headers:a}).pipe((0,Li.K)(d=>this.formatErrors(d,s,i,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,Li.K)(s=>this.formatErrors(s,o,null,t)))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(qr),u.LFG(sy),u.LFG(ki))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Bf=(()=>{class r{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),o=navigator.languages.map(a=>a.split("-")[0]),s=location.search.substr(1).split("&");let i=null;for(const a of s){const d=a.split("=");"lang"===d[0]&&(i=d[1])}return i&&t.includes(i)?i:e&&t.includes(e)?e:o&&t.includes(o[0])?o[0]:"en"}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ar),u.LFG(ki))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const lS=["*",[["mat-toolbar-row"]]],MC=["*","mat-toolbar-row"],uS=_o(class{constructor(r){this._elementRef=r}});let dS=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),r})(),ly=(()=>{class r extends uS{constructor(e,t,o){super(e),this._platform=t,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-toolbar"]],contentQueries:function(e,t,o){if(1&e&&u.Suo(o,dS,5),2&e){let s;u.iGM(s=u.CRH())&&(t._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&u.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[u.qOj],ngContentSelectors:MC,decls:2,vars:0,template:function(e,t){1&e&&(u.F$t(lS),u.Hsn(0),u.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),r})(),uy=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})();function xC(r,n){1&r&&(u.TgZ(0,"div",10),u.TgZ(1,"span",11),u._uU(2," ~ \u{1f5f2}\xa0 "),u.qZA(),u.TgZ(3,"span",12),u._uU(4," DEVEL "),u.qZA(),u.TgZ(5,"span",11),u._uU(6," \xa0\u{1f5f2} ~ "),u.qZA(),u.qZA())}const fS=function(r){return{background:r}},dy=function(r){return{color:r}};let pS=(()=>{class r{constructor(e,t,o,s){this.storeService=e,this.sanitizer=t,this.preferredLangService=o,this.translateService=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.label=this.storeService.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`),this.isDevel=this.storeService.get("is_devel")}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}changeLanguage(){this.translateService.use("en"===this.translateService.currentLang?"cs":"en")}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(Sn),u.Y36(Bf),u.Y36(nn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-header"]],decls:15,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-language",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(u.TgZ(0,"mat-toolbar",0),u.TgZ(1,"div",1),u._UZ(2,"a",2),u.TgZ(3,"p",3),u._uU(4),u.qZA(),u.qZA(),u.YNc(5,xC,7,0,"div",4),u.TgZ(6,"div",5),u.TgZ(7,"button",6),u.TgZ(8,"mat-icon",7),u._uU(9," language "),u.qZA(),u.qZA(),u.TgZ(10,"mat-menu",null,8),u.TgZ(12,"button",9),u.NdJ("click",function(){return t.changeLanguage()}),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e){const o=u.MAs(11);u.Q6J("ngStyle",u.VKq(11,fS,t.bgColor)),u.xp6(2),u.Q6J("innerHTML",t.logo,u.oJD),u.xp6(1),u.Q6J("ngStyle",u.VKq(13,dy,t.textColor)),u.xp6(1),u.Oqu(t.label),u.xp6(1),u.Q6J("ngIf",t.isDevel),u.xp6(1),u.Q6J("ngStyle",u.VKq(15,dy,t.textColor)),u.xp6(1),u.Q6J("matMenuTriggerFor",o),u.xp6(1),u.Q6J("ngStyle",u.VKq(17,dy,t.iconColor)),u.xp6(5),u.hij(" ",u.lcZ(14,9,"HEADER.LANGUAGE")," ")}},directives:[ly,b.PC,b.O5,eu,tA,Ns,Qv,nu],pipes:[ir],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-language[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}"]}),r})(),RC=(()=>{class r{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.Qsj),u.Y36(u.SBq))},r.\u0275dir=u.lG2({type:r}),r})(),Xs=(()=>{class r extends RC{}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275dir=u.lG2({type:r,features:[u.qOj]}),r})();const Ki=new u.OlP("NgValueAccessor"),PC={provide:Ki,useExisting:(0,u.Gpc)(()=>Js),multi:!0},$r=new u.OlP("CompositionEventMode");let Js=(()=>{class r extends RC{constructor(e,t,o){super(e,t),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fy(){const r=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36($r,8))},r.\u0275dir=u.lG2({type:r,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(e,t){1&e&&u.NdJ("input",function(s){return t._handleInput(s.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(s){return t._compositionEnd(s.target.value)})},features:[u._Bn([PC]),u.qOj]}),r})();function Jn(r){return null==r||0===r.length}function Lu(r){return null!=r&&"number"==typeof r.length}const hi=new u.OlP("NgValidators"),eo=new u.OlP("NgAsyncValidators"),Nf=/^(?=.{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 lr{static min(n){return function IC(r){return n=>{if(Jn(n.value)||Jn(r))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(Jn(n.value)||Jn(r))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>r?{max:{max:r,actual:n.value}}:null}}(n)}static required(n){return HC(n)}static requiredTrue(n){return function FC(r){return!0===r.value?null:{required:!0}}(n)}static email(n){return function jf(r){return Jn(r.value)||Nf.test(r.value)?null:{email:!0}}(n)}static minLength(n){return function py(r){return n=>Jn(n.value)||!Lu(n.value)?null:n.value.lengthLu(n.value)&&n.value.length>r?{maxlength:{requiredLength:r,actualLength:n.value.length}}:null}(n)}static pattern(n){return function my(r){if(!r)return Bu;let n,e;return"string"==typeof r?(e="","^"!==r.charAt(0)&&(e+="^"),e+=r,"$"!==r.charAt(r.length-1)&&(e+="$"),n=new RegExp(e)):(e=r.toString(),n=r),t=>{if(Jn(t.value))return null;const o=t.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return kc(n)}static composeAsync(n){return qf(n)}}function HC(r){return Jn(r.value)?{required:!0}:null}function Bu(r){return null}function Vf(r){return null!=r}function Kf(r){const n=(0,u.QGY)(r)?(0,vi.D)(r):r;return(0,u.CqO)(n),n}function Gf(r){let n={};return r.forEach(e=>{n=null!=e?Object.assign(Object.assign({},n),e):n}),0===Object.keys(n).length?null:n}function _y(r,n){return n.map(e=>e(r))}function Uf(r){return r.map(n=>function zC(r){return!r.validate}(n)?n:e=>n.validate(e))}function kc(r){if(!r)return null;const n=r.filter(Vf);return 0==n.length?null:function(e){return Gf(_y(e,n))}}function yy(r){return null!=r?kc(Uf(r)):null}function qf(r){if(!r)return null;const n=r.filter(Vf);return 0==n.length?null:function(e){return Eh(_y(e,n).map(Kf)).pipe((0,lt.U)(Gf))}}function ea(r){return null!=r?qf(Uf(r)):null}function wy(r,n){return null===r?[n]:Array.isArray(r)?[...r,n]:[r,n]}function by(r){return r._rawValidators}function vy(r){return r._rawAsyncValidators}function $f(r){return r?Array.isArray(r)?r:[r]:[]}function Wf(r,n){return Array.isArray(r)?r.includes(n):r===n}function Ay(r,n){const e=$f(n);return $f(r).forEach(o=>{Wf(e,o)||e.push(o)}),e}function Cy(r,n){return $f(n).filter(e=>!Wf(r,e))}class Ty{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(n){this._rawValidators=n||[],this._composedValidatorFn=yy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ea(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class to extends Ty{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pi extends Ty{get formDirective(){return null}get path(){return null}}class Ey{constructor(n){this._cd=n}is(n){var e,t,o;return"submitted"===n?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(o=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===o?void 0:o[n])}}let Sy=(()=>{class r extends Ey{constructor(e){super(e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(to,2))},r.\u0275dir=u.lG2({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[u.qOj]}),r})(),ky=(()=>{class r extends Ey{constructor(e){super(e)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Pi,10))},r.\u0275dir=u.lG2({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&u.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[u.qOj]}),r})();function T(r,n){return[...n.path,r]}function D(r,n){ne(r,n),n.valueAccessor.writeValue(r.value),function ve(r,n){n.valueAccessor.registerOnChange(e=>{r._pendingValue=e,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&Pe(r,n)})}(r,n),function pe(r,n){const e=(t,o)=>{n.valueAccessor.writeValue(t),o&&n.viewToModelUpdate(t)};r.registerOnChange(e),n._registerOnDestroy(()=>{r._unregisterOnChange(e)})}(r,n),function Ee(r,n){n.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&Pe(r,n),"submit"!==r.updateOn&&r.markAsTouched()})}(r,n),function W(r,n){if(n.valueAccessor.setDisabledState){const e=t=>{n.valueAccessor.setDisabledState(t)};r.registerOnDisabledChange(e),n._registerOnDestroy(()=>{r._unregisterOnDisabledChange(e)})}}(r,n)}function M(r,n,e=!0){const t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ce(r,n),r&&(n._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function B(r,n){r.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function ne(r,n){const e=by(r);null!==n.validator?r.setValidators(wy(e,n.validator)):"function"==typeof e&&r.setValidators([e]);const t=vy(r);null!==n.asyncValidator?r.setAsyncValidators(wy(t,n.asyncValidator)):"function"==typeof t&&r.setAsyncValidators([t]);const o=()=>r.updateValueAndValidity();B(n._rawValidators,o),B(n._rawAsyncValidators,o)}function ce(r,n){let e=!1;if(null!==r){if(null!==n.validator){const o=by(r);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==n.validator);s.length!==o.length&&(e=!0,r.setValidators(s))}}if(null!==n.asyncValidator){const o=vy(r);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==n.asyncValidator);s.length!==o.length&&(e=!0,r.setAsyncValidators(s))}}}const t=()=>{};return B(n._rawValidators,t),B(n._rawAsyncValidators,t),e}function Pe(r,n){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function Le(r,n){ne(r,n)}function ko(r,n){if(!r.hasOwnProperty("model"))return!1;const e=r.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function Nu(r,n){r._syncPendingControls(),n.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Dc(r,n){if(!n)return null;let e,t,o;return Array.isArray(n),n.forEach(s=>{s.constructor===Js?e=s:function Qf(r){return Object.getPrototypeOf(r.constructor)===Xs}(s)?t=s:o=s}),o||t||e||null}function Mc(r,n){const e=r.indexOf(n);e>-1&&r.splice(e,1)}const Wr="VALID",ta="INVALID",ur="PENDING",Xf="DISABLED";function LC(r){return(xy(r)?r.validators:r)||null}function wS(r){return Array.isArray(r)?yy(r):r||null}function BC(r,n){return(xy(n)?n.asyncValidators:r)||null}function bS(r){return Array.isArray(r)?ea(r):r||null}function xy(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}const NC=r=>r instanceof Jf,Ry=r=>r instanceof Py,vS=r=>r instanceof ES;function AS(r){return NC(r)?r.value:r.getRawValue()}function CS(r,n){const e=Ry(r),t=r.controls;if(!(e?Object.keys(t):t).length)throw new u.vHH(1e3,"");if(!t[n])throw new u.vHH(1001,"")}function TS(r,n){Ry(r),r._forEachChild((t,o)=>{if(void 0===n[o])throw new u.vHH(1002,"")})}class jC{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=wS(this._rawValidators),this._composedAsyncValidatorFn=bS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Wr}get invalid(){return this.status===ta}get pending(){return this.status==ur}get disabled(){return this.status===Xf}get enabled(){return this.status!==Xf}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=wS(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=bS(n)}addValidators(n){this.setValidators(Ay(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ay(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Cy(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Cy(n,this._rawAsyncValidators))}hasValidator(n){return Wf(this._rawValidators,n)}hasAsyncValidator(n){return Wf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=ur,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Xf,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Wr,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wr||this.status===ur)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xf:Wr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=ur,this._hasOwnPendingAsyncValidator=!0;const e=Kf(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){return function DD(r,n,e){if(null==n||(Array.isArray(n)||(n=n.split(e)),Array.isArray(n)&&0===n.length))return null;let t=r;return n.forEach(o=>{t=Ry(t)?t.controls.hasOwnProperty(o)?t.controls[o]:null:vS(t)&&t.at(o)||null}),t}(this,n,".")}getError(n,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?Xf:this.errors?ta:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ur)?ur:this._anyControlsHaveStatus(ta)?ta:Wr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_isBoxedValue(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){xy(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jf extends jC{constructor(n=null,e,t){super(LC(e),BC(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xy(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Mc(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Mc(this._onDisabledChange,n)}_forEachChild(n){}_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(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}}class Py extends jC{constructor(n,e,t){super(LC(e),BC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){TS(this,n),Object.keys(n).forEach(t=>{CS(this,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,o)=>{t.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=AS(e),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&n(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(n,e,t)=>((e.enabled||this.disabled)&&(n[t]=e.value),n))}_reduceChildren(n,e){let t=n;return this._forEachChild((o,s)=>{t=e(t,o,s)}),t}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ES extends jC{constructor(n,e,t){super(LC(e),BC(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[n]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,t={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){TS(this,n),n.forEach((t,o)=>{CS(this,o),this.at(o).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((t,o)=>{this.at(o)&&this.at(o).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((t,o)=>{t.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>AS(n))}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_syncPendingControls(){let n=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,t)=>{n(e,t)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}const MD={provide:Pi,useExisting:(0,u.Gpc)(()=>tp)},ep=(()=>Promise.resolve(null))();let tp=(()=>{class r extends Pi{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new Py({},yy(e),ea(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ep.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),D(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ep.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ep.then(()=>{const t=this._findContainer(e.path),o=new Py({});Le(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ep.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ep.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Nu(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(hi,10),u.Y36(eo,10))},r.\u0275dir=u.lG2({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(s){return t.onSubmit(s)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([MD]),u.qOj]}),r})();const RD={provide:to,useExisting:(0,u.Gpc)(()=>VC)},DS=(()=>Promise.resolve(null))();let VC=(()=>{class r extends to{constructor(e,t,o,s,i){super(),this._changeDetectorRef=i,this.control=new Jf,this._registered=!1,this.update=new u.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=Dc(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),ko(e,this.viewModel)&&(this._updateValue(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(e){this.viewModel=e,this.update.emit(e)}_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(){D(this.control,this),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(e){DS.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,o=""===t||t&&"false"!==t;DS.then(()=>{var s;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?T(e,this._parent):[e]}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Pi,9),u.Y36(hi,10),u.Y36(eo,10),u.Y36(Ki,10),u.Y36(u.sBO,8))},r.\u0275dir=u.lG2({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[u._Bn([RD]),u.qOj,u.TTD]}),r})(),xS=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})();const KC=new u.OlP("NgModelWithFormControlWarning"),LD={provide:Pi,useExisting:(0,u.Gpc)(()=>Rc)};let Rc=(()=>{class r extends Pi{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ce(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return D(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){M(e.control||null,e,!1),Mc(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Nu(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,o=this.form.get(e.path);t!==o&&(M(t||null,e),NC(o)&&(D(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Le(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function ht(r,n){return ce(r,n)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ne(this.form,this),this._oldForm&&ce(this._oldForm,this)}_checkFormPresent(){}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(hi,10),u.Y36(eo,10))},r.\u0275dir=u.lG2({type:r,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&u.NdJ("submit",function(s){return t.onSubmit(s)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([LD]),u.qOj,u.TTD]}),r})();const jD={provide:to,useExisting:(0,u.Gpc)(()=>qC)};let qC=(()=>{class r extends to{constructor(e,t,o,s,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new u.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=Dc(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),ko(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return T(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return r._ngModelWarningSentOnce=!1,r.\u0275fac=function(e){return new(e||r)(u.Y36(Pi,13),u.Y36(hi,10),u.Y36(eo,10),u.Y36(Ki,10),u.Y36(KC,8))},r.\u0275dir=u.lG2({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[u._Bn([jD]),u.qOj,u.TTD]}),r})(),Pc=(()=>{class r{constructor(){this._validator=Bu}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Bu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=u.lG2({type:r,features:[u.TTD]}),r})();const QD={provide:hi,useExisting:(0,u.Gpc)(()=>ip),multi:!0};let ip=(()=>{class r extends Pc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function WD(r){return null!=r&&!1!==r&&"false"!=`${r}`}(e),this.createValidator=e=>HC}enabled(e){return e}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275dir=u.lG2({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&u.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([QD]),u.qOj]}),r})(),US=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[xS]]}),r})(),ZC=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[US]}),r})(),ju=(()=>{class r{static withConfig(e){return{ngModule:r,providers:[{provide:KC,useValue:e.warnOnNgModelWithFormControl}]}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[US]}),r})(),oM=(()=>{class r{group(e,t=null){const o=this._reduceControls(e);let a,s=null,i=null;return null!=t&&(function nM(r){return void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn}(t)?(s=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(s=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Py(o,{asyncValidators:i,updateOn:a,validators:s})}control(e,t,o){return new Jf(e,t,o)}array(e,t,o){const s=e.map(i=>this._createControl(i));return new ES(s,t,o)}_reduceControls(e){const t={};return Object.keys(e).forEach(o=>{t[o]=this._createControl(e[o])}),t}_createControl(e){return NC(e)||Ry(e)||vS(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:ju}),r})();const qS=ti({passive:!0});let rM=(()=>{class r{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Xo.E;const t=jt(e),o=this._monitoredElements.get(t);if(o)return o.subject;const s=new xe.xQ,i="cdk-text-field-autofilled",a=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(i)&&(t.classList.remove(i),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!1}))):(t.classList.add(i),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",a,qS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:s,unlisten:()=>{t.removeEventListener("animationstart",a,qS)}}),s}stopMonitoring(e){const t=jt(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(Ve),u.LFG(u.R0b))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),$S=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Xe]]}),r})();const WS=new u.OlP("MAT_INPUT_VALUE_ACCESSOR"),sM=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let aM=0;const cM=Ll(class{constructor(r,n,e,t){this._defaultErrorStateMatcher=r,this._parentForm=n,this._parentFormGroup=e,this.ngControl=t}});let YS=(()=>{class r extends cM{constructor(e,t,o,s,i,a,d,h,g,S){super(a,s,i,o),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=S,this._uid="mat-input-"+aM++,this.focused=!1,this.stateChanges=new xe.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(he=>Ht().has(he));const H=this._elementRef.nativeElement,te=H.nodeName.toLowerCase();this._inputValueAccessor=d||H,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",he=>{const _e=he.target;!_e.value&&0===_e.selectionStart&&0===_e.selectionEnd&&(_e.setSelectionRange(1,1),_e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===te,this._isTextarea="textarea"===te,this._isInFormField=!!S,this._isNativeSelect&&(this.controlType=H.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Qe(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,o,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(o=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===o?void 0:o.hasValidator(lr.required))&&void 0!==s&&s}set required(e){this._required=Qe(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ht().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Qe(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const o=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(o!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=o,o?s.setAttribute("placeholder",o):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){sM.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(to,10),u.Y36(tp,8),u.Y36(Rc,8),u.Y36(Zo),u.Y36(WS,10),u.Y36(rM),u.Y36(u.R0b),u.Y36(ec,8))},r.\u0275dir=u.lG2({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&u.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(u.Ikx("disabled",t.disabled)("required",t.required),u.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),u.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u._Bn([{provide:Ja,useExisting:r}]),u.qOj,u.TTD]}),r})(),Iy=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Zo],imports:[[$S,Ao,qe],$S,Ao]}),r})();function lM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function uM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function dM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}function hM(r,n){if(1&r&&(u.O4$(),u._UZ(0,"circle",4)),2&r){const e=u.oxw(),t=u.MAs(1);u.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),u.uIk("r",e._getCircleRadius())}}const gM=_o(class{constructor(r){this._elementRef=r}},"primary"),ZS=new u.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function mM(){return{diameter:100}}});class Yr extends gM{constructor(n,e,t,o,s,i,a,d){super(n),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Nt.w.EMPTY,this.mode="determinate";const h=Yr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&i&&d&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>i.markForCheck())}))}get diameter(){return this._diameter}set diameter(n){this._diameter=pn(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=pn(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,pn(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=$c(n)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(n){var e;const t=50*(null!==(e=n.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const n=this._styleRoot,e=this._diameter,t=Yr._diameters;let o=t.get(n);if(!o||!o.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),n.appendChild(s),o||(o=new Set,t.set(n,o)),o.add(e)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Yr._diameters=new WeakMap,Yr.\u0275fac=function(n){return new(n||Yr)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0,8),u.Y36(Ji,8),u.Y36(ZS),u.Y36(u.sBO),u.Y36(Ar),u.Y36(u.R0b))},Yr.\u0275cmp=u.Xpm({type:Yr,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(n,e){2&n&&(u.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,e){1&n&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,lM,1,11,"circle",2),u.YNc(3,uM,1,9,"circle",3),u.qZA()),2&n&&(u.Udp("width",e.diameter,"px")("height",e.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===e.mode),u.uIk("viewBox",e._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let QS=(()=>{class r extends Yr{constructor(e,t,o,s,i,a,d,h){super(e,t,o,s,i,a,d,h),this.mode="indeterminate"}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(u.SBq),u.Y36(Ve),u.Y36(b.K0,8),u.Y36(Ji,8),u.Y36(ZS),u.Y36(u.sBO),u.Y36(Ar),u.Y36(u.R0b))},r.\u0275cmp=u.Xpm({type:r,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,dM,1,11,"circle",2),u.YNc(3,hM,1,9,"circle",3),u.qZA()),2&e&&(u.Udp("width",t.diameter,"px")("height",t.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===t.mode),u.uIk("viewBox",t._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),r})(),np=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe,b.ez],qe]}),r})(),XC=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Dt,b.ez]]}),r})(),yM=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[],imports:[[b.ez,Ao,Ti,ju,Iy,Qa,np,Dt,XC]]}),r})();class wM{isErrorState(n){return!!(n&&n.invalid&&n.dirty)}}const bM=(r,n,e,t=500)=>o=>Y(t).pipe((0,Ri.w)(()=>(e.dontHandleErrorForNext(),r&&"No namespace"!==r?n.checkPasswordStrength(o.value,r):(0,Ie.of)(null))),(0,lt.U)(()=>null),(0,Li.K)(s=>(0,Ie.of)({backendError:s.error.message.substr(s.error.message.indexOf(":")+1)})));function vM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," info "),u.qZA())}function AM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," warning "),u.qZA())}function CM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," dangerous "),u.qZA())}function TM(r,n){1&r&&(u.TgZ(0,"mat-icon",2),u._uU(1," check_circle "),u.qZA())}const EM=["*"];let JC=(()=>{class r{constructor(){}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=u.Xpm({type:r,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:EM,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(u.F$t(),u.TgZ(0,"div",0),u.YNc(1,vM,2,0,"mat-icon",1),u.YNc(2,AM,2,0,"mat-icon",1),u.YNc(3,CM,2,0,"mat-icon",1),u.YNc(4,TM,2,0,"mat-icon",1),u.Hsn(5),u.qZA()),2&e&&(u.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","info"===t.alert_type),u.xp6(1),u.Q6J("ngIf","warn"===t.alert_type),u.xp6(1),u.Q6J("ngIf","error"===t.alert_type),u.xp6(1),u.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,Ns],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),r})();function SM(r,n){1&r&&u._UZ(0,"mat-spinner",12),2&r&&u.Q6J("diameter",18)}function kM(r,n){if(1&r&&(u.TgZ(0,"mat-icon",13),u._uU(1," error "),u.qZA()),2&r){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function DM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function MM(r,n){if(1&r&&(u.TgZ(0,"mat-error",14),u._uU(1),u.qZA()),2&r){const e=u.oxw();u.Q6J("matTooltip",e.getErrorTooltip()),u.xp6(1),u.Oqu(e.getErrorTooltip())}}function xM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function RM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let PM=(()=>{class r{constructor(e,t,o){this.translator=e,this.usersManagerService=t,this.store=o,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new wM}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(o=>"preferredLanguage"===o.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(nn),u.Y36(St),u.Y36(ki))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[u.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(u.TgZ(0,"div",0),u.TgZ(1,"mat-form-field",1),u._UZ(2,"input",2),u.ALo(3,"translate"),u.YNc(4,SM,1,1,"mat-spinner",3),u.TgZ(5,"mat-icon",4),u.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),u._uU(6),u.qZA(),u.YNc(7,kM,2,2,"mat-icon",5),u.YNc(8,DM,3,3,"mat-error",6),u.YNc(9,MM,2,2,"mat-error",7),u.qZA(),u.TgZ(10,"mat-form-field",8),u.TgZ(11,"mat-label"),u._uU(12),u.ALo(13,"translate"),u.qZA(),u._UZ(14,"input",9),u.TgZ(15,"mat-icon",4),u.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),u._uU(16),u.qZA(),u.YNc(17,xM,3,3,"mat-error",6),u.YNc(18,RM,3,3,"mat-error",6),u.qZA(),u.TgZ(19,"app-alert",10),u._UZ(20,"div",11),u.qZA(),u.qZA()),2&e&&(u.Q6J("formGroup",t.formGroup),u.xp6(1),u.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),u.xp6(1),u.s9C("placeholder",u.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),u.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),u.xp6(2),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),u.xp6(2),u.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),u.xp6(3),u.Oqu(u.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),u.xp6(2),u.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),u.xp6(2),u.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),u.xp6(1),u.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),u.xp6(2),u.Q6J("innerHTML",t.passwordRequirement,u.oJD))},directives:[ky,Rc,ym,Lv,YS,Js,Sy,qC,ip,b.O5,QS,Ph,Ns,Xa,tu,JC],pipes:[ir],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),r})();function IM(r,n){if(1&r&&u._UZ(0,"perun-web-apps-password-form",4),2&r){const e=u.oxw();u.Q6J("formGroup",e.newPasswdForm)("namespace",e.namespace)("language",e.language)}}function OM(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"button",5),u.NdJ("click",function(){return u.CHM(e),u.oxw().onSubmit()}),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()}if(2&r){const e=u.oxw();u.xp6(1),u.Q6J("disabled",e.newPasswdForm.invalid||e.newPasswdForm.pending),u.xp6(1),u.hij(" ",u.lcZ(3,2,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_BUTTON":"PAGES.PWD_RESET_PAGE.ACTIVATION_BUTTON")," ")}}function HM(r,n){if(1&r&&(u.TgZ(0,"div",6),u.TgZ(1,"app-alert",7),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&r){const e=u.oxw();u.xp6(2),u.hij(" ",u.lcZ(3,1,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_SUCCESS":"PAGES.PWD_RESET_PAGE.ACTIVATION_SUCCESS")," ")}}function FM(r,n){1&r&&u._UZ(0,"mat-spinner",8)}let zM=(()=>{class r{constructor(e,t,o,s,i){this.storeService=e,this.translate=t,this.apiRequestConfiguration=o,this.usersService=s,this._formBuilder=i,this.loading=!1,this.success=!1,this.language="en"}ngOnInit(){this.loading=!0,this.translate.onLangChange.subscribe(e=>{this.language=e.lang}),this.newPasswdForm=this._formBuilder.group({passwordCtrl:new Jf("",lr.required,[bM(this.namespace,this.usersService,this.apiRequestConfiguration)]),passwordAgainCtrl:new Jf("",lr.required)},{validators:SA.passwordMatchValidator}),this.loading=!1}onSubmit(){this.loading=!0,this.authWithoutToken?this.usersService.changePasswordForLogin(this.login,this.namespace,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1}):this.usersService.changeNonAuthzPasswordByToken(this.token,this.newPasswdForm.get("passwordCtrl").value).subscribe(()=>{this.success=!0,this.loading=!1})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(nn),u.Y36(Lf),u.Y36(St),u.Y36(oM))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-password-reset-form"]],inputs:{mode:"mode",namespace:"namespace",login:"login",token:"token",authWithoutToken:"authWithoutToken"},decls:4,vars:4,consts:[[3,"formGroup","namespace","language",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"formGroup","namespace","language"],["mat-flat-button","","color","accent",1,"mx-auto","d-block",3,"disabled","click"],[1,"mt-5"],["alert_type","success"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(u.YNc(0,IM,1,3,"perun-web-apps-password-form",0),u.YNc(1,OM,4,4,"div",1),u.YNc(2,HM,4,3,"div",2),u.YNc(3,FM,1,0,"mat-spinner",3)),2&e&&(u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",!t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.success&&!t.loading),u.xp6(1),u.Q6J("ngIf",t.loading))},directives:[b.O5,PM,ky,Rc,eu,JC,QS],pipes:[ir],styles:[""]}),r})(),LM=(()=>{class r{constructor(e){this.translate=e}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.invalidRequestMessage=this.translate.instant("PAGES.PWD_RESET_PAGE.INVALID_REQUEST")})}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(nn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-invalid-request-alert"]],decls:2,vars:1,consts:[["alert_type","info",1,"alert-wrap"],[3,"innerHTML"]],template:function(e,t){1&e&&(u.TgZ(0,"app-alert",0),u._UZ(1,"div",1),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.invalidRequestMessage,u.oJD))},directives:[JC],styles:[".alert-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),r})();function BM(r,n){if(1&r&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&r){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.LOGIN"),": ",e.login,"")}}function NM(r,n){if(1&r&&(u.O4$(),u.kcU(),u.TgZ(0,"p",9),u.TgZ(1,"em"),u._uU(2),u.ALo(3,"translate"),u.qZA(),u.qZA()),2&r){const e=u.oxw();u.xp6(2),u.AsE("",u.lcZ(3,2,"PAGES.PWD_RESET_PAGE.NAMESPACE"),": ",e.namespace,"")}}function jM(r,n){if(1&r&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-password-reset-form",10)),2&r){const e=u.oxw();u.Q6J("mode",e.mode)("namespace",e.namespace)("login",e.login)("token",e.token)("authWithoutToken",e.authWithoutToken)}}function VM(r,n){1&r&&(u.O4$(),u.kcU(),u._UZ(0,"perun-web-apps-invalid-request-alert"))}let KM=(()=>{class r{constructor(e,t){this.storeService=e,this.sanitizer=t}ngOnInit(){this.passwordResetLogo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("password_reset_logo"))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(Sn))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-password-reset-page"]],inputs:{mode:"mode",token:"token",namespace:"namespace",login:"login",validToken:"validToken",authWithoutToken:"authWithoutToken"},decls:14,vars:8,consts:[[3,"innerHTML"],[1,"title-with-icon"],["xmlns","http://www.w3.org/2000/svg","width","30.000000pt","height","30.000000pt","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#000000","stroke","none"],["d","M3530 5103 c-619 -30 -1162 -438 -1356 -1020 -115 -342 -107 -702 21-1035 l36 -92 -1100 -1101 c-605 -605 -1105 -1112 -1110 -1127 -8 -22 -5 -49 15 -125 116 -450 112 -436 146 -454 42 -22 513 -139 539 -134 16 4 122 103 287 268 144 145 262 265 262 267 4 51 29 293 32 295 2 2 70 10 151 18 200 19 193 13 213 213 8 81 17 150 19 152 2 2 67 10 145 18 77 7 149 18 159 23 37 20 44 44 60 194 l16 152 125 12 c69 6 136 12 150 12 18 1 98 75 320 296 l295 295 85 -33 c586 -230 1239 -83 1665 375 405 437 514 1079 275 1629 -122 280 -336 524 -606 690 -237 145 -559 226 -844 212z m201 -184 c307 -31 569 -152 790 -366 467 -452 542 -1155 182 -1697 -187 -280 -490 -487 -823 -561 -42 -9 -144 -19 -230 -22 -236 -8 -402 24 -613 119 -65 29 -96 38 -115 33 -17 -4 -139 -118 -332 -309 l-305 -304 -169 -16 c-224 -20 -214 -11 -233 -213 -8 -81 -16 -150 -18 -152 -2 -2 -68 -10 -147 -18 -148 -14 -182 -26 -197 -66 -5 -12 -15 -85 -22 -162 l-14 -140 -140 -14 c-77 -7 -149 -17 -162 -22 -41 -15 -51 -48 -68 -219 l-16 -165 -213 -213 -212 -213 -185 47 c-101 26 -185 49 -187 50 -2 1 -26 87 -53 191 l-49 188 1115 1115 c849 849 1115 1121 1115 1139 0 13 -18 62 -39 110 -40 90 -80 211 -103 316 -20 95 -17 400 5 505 55 255 171 473 354 661 250 257 570 397 934 408 26 0 93 -4 150 -10z"],["d","M3554 4120 c-201 -30 -366 -170 -424 -359 -14 -43 -20 -92 -20 -153 0 -389 394 -632 750 -461 78 38 189 151 227 233 158 336 -58 712 -427 743 -30 3 -78 1 -106 -3z m138 -181 c108 -23 190 -89 239 -192 37 -80 40 -177 7 -264 -30 -80 -112 -162 -193 -192 -121 -45 -270 -14 -358 75 -164 165 -121 440 83 544 72 37 142 46 222 29z"],["class","subtitle",4,"ngIf"],[3,"mode","namespace","login","token","authWithoutToken",4,"ngIf"],[4,"ngIf"],[1,"subtitle"],[3,"mode","namespace","login","token","authWithoutToken"]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"div",0),u.TgZ(2,"div",1),u.TgZ(3,"h1"),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.O4$(),u.TgZ(6,"svg",2),u.TgZ(7,"g",3),u._UZ(8,"path",4),u._UZ(9,"path",5),u.qZA(),u.qZA(),u.qZA(),u.YNc(10,BM,4,4,"p",6),u.YNc(11,NM,4,4,"p",6),u.YNc(12,jM,1,5,"perun-web-apps-password-reset-form",7),u.YNc(13,VM,1,0,"perun-web-apps-invalid-request-alert",8),u.qZA()),2&e&&(u.xp6(1),u.Q6J("innerHTML",t.passwordResetLogo,u.oJD),u.xp6(3),u.hij(" ",u.lcZ(5,6,"reset"===t.mode?"PAGES.PWD_RESET_PAGE.TITLE_RESET":"PAGES.PWD_RESET_PAGE.TITLE_ACTIVATION")," "),u.xp6(6),u.Q6J("ngIf",t.login),u.xp6(1),u.Q6J("ngIf",t.namespace),u.xp6(1),u.Q6J("ngIf",t.validToken||t.authWithoutToken),u.xp6(1),u.Q6J("ngIf",!t.validToken&&!t.authWithoutToken))},directives:[b.O5,zM,LM],pipes:[ir],styles:[".title-with-icon[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.subtitle[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px}"]}),r})();function GM(r,n){1&r&&(u.TgZ(0,"mat-error"),u._uU(1),u.ALo(2,"translate"),u.qZA()),2&r&&(u.xp6(1),u.Oqu(u.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let UM=(()=>{class r{constructor(e,t,o,s,i){this.dialogRef=e,this.translate=t,this.notificator=o,this.rtMessages=s,this.storeService=i,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+v(4147).i8}close(){this.dialogRef.close()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ql),u.Y36(nn),u.Y36(qr),u.Y36(Et),u.Y36(ki))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"div",1),u.TgZ(4,"mat-form-field"),u.TgZ(5,"mat-label"),u._uU(6),u.ALo(7,"translate"),u.qZA(),u.TgZ(8,"input",2,3),u.NdJ("ngModelChange",function(s){return t.subject=s}),u.qZA(),u.YNc(10,GM,3,3,"mat-error",4),u.qZA(),u.TgZ(11,"mat-form-field"),u.TgZ(12,"mat-label"),u._uU(13),u.ALo(14,"translate"),u.qZA(),u.TgZ(15,"textarea",5),u.NdJ("ngModelChange",function(s){return t.message=s}),u.ALo(16,"translate"),u._uU(17," "),u.qZA(),u.TgZ(18,"mat-hint"),u._uU(19),u.ALo(20,"translate"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(21,"div",6),u.TgZ(22,"div",7),u.TgZ(23,"button",8),u.NdJ("click",function(){return t.close()}),u._uU(24),u.ALo(25,"translate"),u.qZA(),u.TgZ(26,"button",9),u.NdJ("click",function(){return t.sendBugReport()}),u._uU(27),u.ALo(28,"translate"),u.qZA(),u.qZA(),u.qZA()),2&e){const o=u.MAs(9);u.xp6(1),u.Oqu(u.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),u.xp6(5),u.Oqu(u.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),u.xp6(2),u.Q6J("ngModel",t.subject),u.xp6(2),u.Q6J("ngIf",o.invalid),u.xp6(3),u.Oqu(u.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),u.xp6(2),u.s9C("placeholder",u.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),u.Q6J("ngModel",t.message),u.xp6(4),u.Oqu(u.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),u.xp6(5),u.hij(" ",u.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),u.xp6(2),u.Q6J("disabled",o.invalid),u.xp6(1),u.hij(" ",u.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[om,rm,ym,tu,YS,Js,ip,Sy,VC,b.O5,Xa,hm,Ch,eu],pipes:[ir],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),r})(),qM=(()=>{class r{transform(e,t,o){return e[`${o}_${t}`]}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=u.Yjl({name:"localisedText",type:r,pure:!0}),r})(),$M=(()=>{class r{transform(e,t){return e["link_"+t]||e.link_en}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=u.Yjl({name:"localisedLink",type:r,pure:!0}),r})(),WM=(()=>{class r{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=u.Yjl({name:"footerLogoPath",type:r,pure:!0}),r})();function YM(r,n){if(1&r&&(u.TgZ(0,"a",13),u.ALo(1,"localisedLink"),u._UZ(2,"img",14),u.ALo(3,"footerLogoPath"),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,2,e,t.language),u.LSH),u.xp6(2),u.s9C("src",u.lcZ(3,5,e.logo),u.LSH)}}function ZM(r,n){if(1&r&&(u.TgZ(0,"span"),u._UZ(1,"img",14),u.ALo(2,"footerLogoPath"),u.qZA()),2&r){const e=u.oxw().$implicit;u.xp6(1),u.s9C("src",u.lcZ(2,1,e.logo),u.LSH)}}function QM(r,n){if(1&r&&(u.TgZ(0,"div"),u.YNc(1,YM,4,7,"a",11),u.ALo(2,"localisedLink"),u.YNc(3,ZM,3,3,"span",12),u.ALo(4,"localisedLink"),u.qZA()),2&r){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",u.xi3(2,2,e,t.language)),u.xp6(2),u.Q6J("ngIf",!u.xi3(4,5,e,t.language))}}const XM=function(r){return{"min-height":r}};function JM(r,n){if(1&r&&(u.TgZ(0,"div",10),u.YNc(1,QM,5,8,"div",5),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,XM,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}const ia=function(r){return{color:r}};function ex(r,n){if(1&r&&(u.TgZ(0,"i",20),u._uU(1),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(2,ia,t.linksTextColor)),u.xp6(1),u.hij(" ",e.icon," ")}}function tx(r,n){if(1&r){const e=u.EpF();u.TgZ(0,"span",21),u.NdJ("click",function(){u.CHM(e);const o=u.oxw().$implicit;return u.oxw(3).openDialog(o.dialog)}),u._uU(1),u.ALo(2,"localisedText"),u.qZA()}if(2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,ia,t.linksTextColor)),u.xp6(1),u.hij("",u.Dn7(2,2,e,t.language,"label")," ")}}function ix(r,n){if(1&r&&(u.TgZ(0,"a",22),u.ALo(1,"localisedLink"),u._uU(2),u.ALo(3,"localisedText"),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("href",u.xi3(1,3,e,t.language),u.LSH)("ngStyle",u.VKq(10,ia,t.linksTextColor)),u.xp6(2),u.Oqu(u.Dn7(3,6,e,t.language,"label"))}}function nx(r,n){if(1&r&&(u.TgZ(0,"span",10),u._uU(1),u.ALo(2,"localisedText"),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw(3);u.Q6J("ngStyle",u.VKq(6,ia,t.linksTextColor)),u.xp6(1),u.Oqu(u.Dn7(2,2,e,t.language,"label"))}}function ox(r,n){if(1&r&&(u.TgZ(0,"div",16),u.YNc(1,ex,2,4,"i",17),u.YNc(2,tx,3,8,"span",18),u.YNc(3,ix,4,12,"a",19),u.ALo(4,"localisedLink"),u.YNc(5,nx,3,8,"span",9),u.ALo(6,"localisedLink"),u.qZA()),2&r){const e=n.$implicit,t=u.oxw(3);u.xp6(1),u.Q6J("ngIf",e.icon),u.xp6(1),u.Q6J("ngIf",e.dialog),u.xp6(1),u.Q6J("ngIf",u.xi3(4,4,e,t.language)&&!e.dialog),u.xp6(2),u.Q6J("ngIf",!u.xi3(6,7,e,t.language)&&!e.dialog)}}const rx=function(r){return{height:r}};function sx(r,n){if(1&r&&(u.TgZ(0,"div",10),u.YNc(1,ox,7,10,"div",15),u.qZA()),2&r){const e=u.oxw().$implicit,t=u.oxw();u.Q6J("ngStyle",u.VKq(2,rx,t.columnContentHeight+"px")),u.xp6(1),u.Q6J("ngForOf",e.elements)}}function ax(r,n){if(1&r&&(u.TgZ(0,"div",7),u.TgZ(1,"h6",8),u._uU(2),u.ALo(3,"localisedText"),u.qZA(),u.YNc(4,JM,2,4,"div",9),u.YNc(5,sx,2,4,"div",9),u.qZA()),2&r){const e=n.$implicit,t=u.oxw();u.ekj("my-auto",t.containsLogos),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,ia,t.headersTextColor)),u.xp6(1),u.hij(" ",u.Dn7(3,6,e,t.language,"title")," "),u.xp6(2),u.Q6J("ngIf",e.logos),u.xp6(1),u.Q6J("ngIf",e.elements&&!e.logos)}}function cx(r,n){if(1&r&&(u.TgZ(0,"span"),u.TgZ(1,"a",6),u._uU(2),u.qZA(),u.qZA()),2&r){const e=n.$implicit,t=n.index,o=u.oxw();u.xp6(1),u.Q6J("href",e.url,u.LSH)("ngStyle",u.VKq(3,ia,o.copyrightTextColor)),u.xp6(1),u.Oqu(t?", "+e.name:e.name)}}const lx=function(r){return{background:r}};let ux=(()=>{class r{constructor(e,t,o){this.storeService=e,this.translateService=t,this.dialog=o,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=v(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Wh();"reportIssue"===e&&(t.width="550px",this.dialog.open(UM,t))}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(ki),u.Y36(nn),u.Y36(Os))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(u.TgZ(0,"footer",0),u.TgZ(1,"div",1),u.YNc(2,ax,6,12,"div",2),u.qZA(),u._UZ(3,"hr",3),u.TgZ(4,"div",4),u._uU(5),u.YNc(6,cx,3,5,"span",5),u._uU(7," Version "),u.TgZ(8,"a",6),u._uU(9),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.Q6J("ngStyle",u.VKq(8,lx,t.bgColor)),u.xp6(2),u.Q6J("ngForOf",t.items),u.xp6(2),u.Q6J("ngStyle",u.VKq(10,ia,t.copyrightTextColor)),u.xp6(1),u.hij(" \xa9 ",t.currentYear," Copyright: "),u.xp6(1),u.Q6J("ngForOf",t.copyrightItems),u.xp6(2),u.Q6J("href",t.githubRepository,u.LSH)("ngStyle",u.VKq(12,ia,t.copyrightTextColor)),u.xp6(1),u.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[qM,$M,WM],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),r})();const dx=["footer"],hx=function(r){return{background:r}},fx=function(r){return{"min-height":r}};let px=(()=>{class r{constructor(e,t,o,s,i,a,d){this.dialog=e,this.usersService=t,this.preferredLangService=o,this.translateService=s,this.store=i,this.attributesManagerService=a,this.changeDetector=d,this.authWithoutToken=!1,this.contentHeight="calc(100vh - 84px)",this.contentBackgroundColor=this.store.get("theme","content_bg_color")}ngOnInit(){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e);const t=location.search.substr(1);this.mode=t.includes("activation")?"activation":"reset",this.namespace=this.parseQueryParams("namespace",t),t.includes("token")?(this.token=this.parseQueryParams("token",t),this.usersService.checkPasswordResetRequestByTokenIsValid(this.token).subscribe(()=>{this.validToken=!0},()=>{this.validToken=!1})):(this.authWithoutToken=!0,this.attributesManagerService.getLogins(this.store.getPerunPrincipal().userId).subscribe(o=>{const s=o.find(i=>i.friendlyNameParameter===this.namespace);this.login=s?s.value.toString():""}))}parseQueryParams(e,t){const o=t.split("&");for(const s of o){const[i,a]=s.split("=");if(i.includes(e))return a}}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return r.\u0275fac=function(e){return new(e||r)(u.Y36(Os),u.Y36(St),u.Y36(Bf),u.Y36(nn),u.Y36(ki),u.Y36(un),u.Y36(u.sBO))},r.\u0275cmp=u.Xpm({type:r,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&u.Gf(dx,5),2&e){let o;u.iGM(o=u.CRH())&&(t.footer=o.first)}},decls:8,vars:12,consts:[["id","nav-menu"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],[3,"mode","token","namespace","login","validToken","authWithoutToken"],["footer",""]],template:function(e,t){1&e&&(u.TgZ(0,"div"),u._UZ(1,"perun-web-apps-header",0),u.TgZ(2,"div",1),u.TgZ(3,"div",2),u._UZ(4,"perun-web-apps-password-reset-page",3),u.qZA(),u.TgZ(5,"div",null,4),u._UZ(7,"perun-web-apps-footer"),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(2),u.Q6J("ngStyle",u.VKq(8,hx,t.contentBackgroundColor)),u.xp6(1),u.Q6J("ngStyle",u.VKq(10,fx,t.contentHeight)),u.xp6(1),u.Q6J("mode",t.mode)("token",t.token)("namespace",t.namespace)("login",t.login)("validToken",t.validToken)("authWithoutToken",t.authWithoutToken))},directives:[pS,b.PC,KM,ux],styles:["#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}#content-inner[_ngcontent-%COMP%]{position:relative;padding-top:64px}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 450px){#content-wrap[_ngcontent-%COMP%]{max-width:400px;margin-left:auto;margin-right:auto}}"]}),r})();class gx{constructor(n,e="/assets/i18n/",t=".json"){this.http=n,this.prefix=e,this.suffix=t}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}}let mx=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,$l,vo,Qa]]}),r})();const _x=[];let yx=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Hf.forRoot(_x,{relativeLinkResolution:"legacy"}),b.ez],Hf]}),r})(),wx=(()=>{class r{constructor(e,t,o,s,i){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=s,this.utilsService=i}initializeColors(e,t){return new Promise(o=>{t.forEach(s=>{const i=this.storeService.get("theme",s.configValue);document.documentElement.style.setProperty(s.cssVariable,i)}),e.forEach(s=>{const i=this.storeService.get("theme",s.configValue);document.documentElement.style.setProperty(s.cssVariable,i),this.setEntityTheme(s.entity,i)}),o()})}setEntityTheme(e,t){const o=function bx(r){return[vn(tinycolor(r).lighten(52),"50"),vn(tinycolor(r).lighten(37),"100"),vn(tinycolor(r).lighten(26),"200"),vn(tinycolor(r).lighten(12),"300"),vn(tinycolor(r).lighten(6),"400"),vn(tinycolor(r),"500"),vn(tinycolor(r).darken(6),"600"),vn(tinycolor(r).darken(12),"700"),vn(tinycolor(r).darken(18),"800"),vn(tinycolor(r).darken(24),"900"),vn(tinycolor(r).lighten(50).saturate(30),"A100"),vn(tinycolor(r).lighten(30).saturate(30),"A200"),vn(tinycolor(r).lighten(10).saturate(15),"A400"),vn(tinycolor(r).lighten(5).saturate(5),"A700")]}(t);for(const s of o){const d=`--${e}-theme-primary-contrast-${s.name}`,h=s.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${s.name}`,`${s.red},${s.green},${s.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const o=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[o]&&this.storeService.setBanding(o),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new C.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(C.eN),u.LFG(ki),u.LFG(Hi),u.LFG(Oi),u.LFG(Kn))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function vn(r,n){const e=tinycolor(r),t=e.toRgb();return{name:n,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let vx=(()=>{class r{constructor(e,t,o){this.initAuthService=e,this.appConfigService=t,this.location=o}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>location.search.substr(1).includes("token")?Promise.resolve(!0):this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?location.search.substr(1).includes("token")?void 0:this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(zf),u.LFG(wx),u.LFG(b.Ye))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Ax=new u.OlP("perun-api-service");let XS=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})(),tk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),Oy=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,qe,Jp,tk],qe,tk]}),r})(),e0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[qe],qe]}),r})(),Ox=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),nk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,qe,Ox,zo]]}),r})(),rk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Is,qe],Is,qe]}),r})(),zx=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Oo]]}),r})(),t0=(()=>{class r{constructor(){this.changes=new xe.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const Wx={provide:t0,deps:[[new u.FiY,new u.tp0,t0]],useFactory:function $x(r){return r||new t0}};let ak=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Wx,Zo],imports:[[qe,b.ez,zo,vo,zx,Dt,Wn],qe]}),r})(),lR=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[ps]]}),r})(),p0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[lR,qe],qe]}),r})(),FR=(()=>{class r{constructor(){this.changes=new xe.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const BR={provide:new u.OlP("mat-datepicker-scroll-strategy"),deps:[Mn],useFactory:function LR(r){return()=>r.scrollStrategies.reposition()}};let g0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[FR,BR],imports:[[b.ez,vo,ao,Id,zo,qe],Dn]}),r})(),Ck=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,qe,Xe,Dn],Dn,qe]}),r})(),Ek=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Is,Wn,qe,Qo,b.ez],Is,qe,Qo,e0]}),r})(),m0=(()=>{class r{constructor(){this.changes=new xe.xQ}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const rP={provide:m0,deps:[[new u.FiY,new u.tp0,m0]],useFactory:function oP(r){return r||new m0}};let _0=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[rP],imports:[[b.ez,qe]]}),r})();const Mk=new u.OlP("mat-chips-default-options");let yP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[Zo,{provide:Mk,useValue:{separatorKeyCodes:[13]}}],imports:[[qe]]}),r})();function bP(r){const{subscriber:n,counter:e,period:t}=r;n.next(e),this.schedule({subscriber:n,counter:e+1,period:t},t)}function w0(r,n,e){for(let t in n)if(n.hasOwnProperty(t)){const o=n[t];o?r.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):r.removeProperty(t)}return r}function qu(r,n){const e=n?"":"none";w0(r.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function xk(r,n,e){w0(r.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function Wy(r,n){return n&&"none"!=n?r+" "+n:r}function Rk(r){const n=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*n}function b0(r,n){return r.getPropertyValue(n).split(",").map(t=>t.trim())}function v0(r){const n=r.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function A0(r,n,e){const{top:t,bottom:o,left:s,right:i}=r;return e>=t&&e<=o&&n>=s&&n<=i}function ap(r,n,e){r.top+=n,r.bottom=r.top+r.height,r.left+=e,r.right=r.left+r.width}function Pk(r,n,e,t){const{top:o,right:s,bottom:i,left:a,width:d,height:h}=r,g=d*n,S=h*n;return t>o-S&&ta-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:v0(e)})})}handleScroll(n){const e=fe(n),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let s,i;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();s=h.top,i=h.left}else s=e.scrollTop,i=e.scrollLeft;const a=o.top-s,d=o.left-i;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&ap(h.clientRect,a,d)}),o.top=s,o.left=i,{top:a,left:d}}}function Ok(r){const n=r.cloneNode(!0),e=n.querySelectorAll("[id]"),t=r.nodeName.toLowerCase();n.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>a.target&&(a.target===h||h.contains(a.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const d=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const te=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),he=this._dropContainer;if(!te)return void this._endDragSequence(a);(!he||!he.isDragging()&&!he.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),a.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:a,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new Ik(t,s),i.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(n){const e=Qe(n);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>qu(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(t=>jt(t)),this._handles.forEach(t=>qu(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const e=jt(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Bk),e.addEventListener("touchstart",this._pointerDown,Lk)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?jt(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){var n,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(n=this._rootElement)||void 0===n||n.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),qu(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),qu(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var n,e;null===(n=this._preview)||void 0===n||n.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var n,e;null===(n=this._placeholder)||void 0===n||n.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){cp(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,s=this._placeholder=this._createPlaceholderElement(),i=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();o.insertBefore(i,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),xk(t,!1,C0),this._document.body.appendChild(o.replaceChild(s,t)),this._getPreviewInsertionPoint(o,a).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=cp(e),s=!o&&0!==e.button,i=this._rootElement,a=fe(e),d=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=o?Ia(e):ml(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),t||s||d||h)return;if(this._handles.length){const H=i.style;this._rootElementTapHighlight=H.webkitTapHighlightColor||"",H.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(H=>this._updateOnScroll(H)),this._boundaryElement&&(this._boundaryRect=v0(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(n,e);const S=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:S.x,y:S.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){xk(this._rootElement,!0,C0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),o=this._getPointerPositionOnPage(n),s=this._getDragDistance(o),i=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:s,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:i,distance:s,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,i,s,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:t,y:o}){let s=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,n,e,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const n=this._previewTemplate,e=this.previewClass,t=n?n.template:null;let o;if(t&&n){const s=n.matchSize?this._rootElement.getBoundingClientRect():null,i=n.viewContainer.createEmbeddedView(t,n.context);i.detectChanges(),o=jk(i,this._document),this._previewRef=i,n.matchSize?Vk(o,s):o.style.transform=Yy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const s=this._rootElement;o=Ok(s),Vk(o,s.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return w0(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},C0),qu(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(s=>o.classList.add(s)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const e=function vP(r){const n=getComputedStyle(r),e=b0(n,"transition-property"),t=e.find(a=>"transform"===a||"all"===a);if(!t)return 0;const o=e.indexOf(t),s=b0(n,"transition-duration"),i=b0(n,"transition-delay");return Rk(s[o])+Rk(i[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=i=>{var a;(!i||fe(i)===this._preview&&"transform"===i.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",o),t(),clearTimeout(s))},s=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,e=n?n.template:null;let t;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),t=jk(this._placeholderRef,this._document)):t=Ok(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(n,e){const t=this._rootElement.getBoundingClientRect(),o=n===this._rootElement?null:n,s=o?o.getBoundingClientRect():t,i=cp(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:s.left-t.left+(i.pageX-s.left-a.left),y:s.top-t.top+(i.pageY-s.top-a.top)}}_getPointerPositionOnPage(n){const e=this._getViewportScrollPosition(),t=cp(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,o=t.pageX-e.left,s=t.pageY-e.top;if(this._ownerSVGElement){const i=this._ownerSVGElement.getScreenCTM();if(i){const a=this._ownerSVGElement.createSVGPoint();return a.x=o,a.y=s,a.matrixTransform(i.inverse())}}return{x:o,y:s}}_getConstrainedPointerPosition(n){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(n,this):n;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:s,y:i}=this._pickupPositionInElement,a=this._boundaryRect,d=this._previewRect,h=a.top+i,g=a.bottom-(d.height-i);t=Nk(t,a.left+s,a.right-(d.width-s)),o=Nk(o,h,g)}return{x:t,y:o}}_updatePointerDirectionDelta(n){const{x:e,y:t}=n,o=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,i=Math.abs(e-s.x),a=Math.abs(t-s.y);return i>this._config.pointerDirectionChangeThreshold&&(o.x=e>s.x?1:-1,s.x=e),a>this._config.pointerDirectionChangeThreshold&&(o.y=t>s.y?1:-1,s.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,qu(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,Bk),n.removeEventListener("touchstart",this._pointerDown,Lk)}_applyRootElementTransform(n,e){const t=Yy(n,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=Wy(t,this._initialTransform)}_applyPreviewTransform(n,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,s=Yy(n,e);this._preview.style.transform=Wy(s,o)}_getDragDistance(n){const e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(0===n&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),o=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===o.width&&0===o.height)return;const s=t.left-o.left,i=o.right-t.right,a=t.top-o.top,d=o.bottom-t.bottom;t.width>o.width?(s>0&&(n+=s),i>0&&(n-=i)):n=0,t.height>o.height?(a>0&&(e+=a),d>0&&(e-=d)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){const e=this.dragStartDelay;return"number"==typeof e?e:cp(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){const e=this._parentPositions.handleScroll(n);if(e){const t=fe(n);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ap(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const n=this._parentPositions.positions.get(this._document);return n?n.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=$c(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){const t=this._previewContainer||"global";if("parent"===t)return n;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return jt(t)}}function Yy(r,n){return`translate3d(${Math.round(r)}px, ${Math.round(n)}px, 0)`}function Nk(r,n,e){return Math.max(n,Math.min(e,r))}function cp(r){return"t"===r.type[0]}function jk(r,n){const e=r.rootNodes;if(1===e.length&&e[0].nodeType===n.ELEMENT_NODE)return e[0];const t=n.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function Vk(r,n){r.style.width=`${n.width}px`,r.style.height=`${n.height}px`,r.style.transform=Yy(n.left,n.top)}function lp(r,n){return Math.max(0,Math.min(n,r))}class SP{constructor(n,e,t,o,s){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new xe.xQ,this.entered=new xe.xQ,this.exited=new xe.xQ,this.dropped=new xe.xQ,this.sorted=new xe.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=Nt.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new xe.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function wP(r=0,n=br.P){return(!E(r)||r<0)&&(r=0),(!n||"function"!=typeof n.schedule)&&(n=br.P),new bi.y(e=>(e.add(n.schedule(bP,r,{subscriber:e,counter:0,period:r})),e))}(0,Gc).pipe(yt(this._stopScrollTimers)).subscribe(()=>{const i=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?i.scrollBy(0,-a):2===this._verticalScrollDirection&&i.scrollBy(0,a),1===this._horizontalScrollDirection?i.scrollBy(-a,0):2===this._horizontalScrollDirection&&i.scrollBy(a,0)})},this.element=jt(n),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new Ik(t,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,t,o){let s;this._draggingStarted(),null==o?(s=this.sortingDisabled?this._draggables.indexOf(n):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(n,e,t))):s=o;const i=this._activeDraggables,a=i.indexOf(n),d=n.getPlaceholderElement();let h=i[s];if(h===n&&(h=i[s+1]),!h&&(null==s||-1===s||s-1&&i.splice(a,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),i.splice(s,0,n)}else jt(this.element).appendChild(d),i.push(n);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,t,o,s,i,a){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:s,distance:i,dropPoint:a})}withItems(n){const e=this._draggables;return this._draggables=n,n.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===n.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(n){return this._direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._orientation=n,this}withScrollableParents(n){const e=jt(this.element);return this._scrollableElements=-1===n.indexOf(e)?[e,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,t,o){if(this.sortingDisabled||!this._clientRect||!Pk(this._clientRect,.05,e,t))return;const s=this._itemPositions,i=this._getItemIndexFromPointerPosition(n,e,t,o);if(-1===i&&s.length>0)return;const a="horizontal"===this._orientation,d=s.findIndex(Te=>Te.drag===n),h=s[i],S=h.clientRect,H=d>i?1:-1,te=this._getItemOffsetPx(s[d].clientRect,S,H),he=this._getSiblingOffsetPx(d,s,H),_e=s.slice();(function EP(r,n,e){const t=lp(n,r.length-1),o=lp(e,r.length-1);if(t===o)return;const s=r[t],i=o{if(_e[mt]===Te)return;const Rt=Te.drag===n,bt=Rt?te:he,It=Rt?n.getPlaceholderElement():Te.drag.getRootElement();Te.offset+=bt,a?(It.style.transform=Wy(`translate3d(${Math.round(Te.offset)}px, 0, 0)`,Te.initialTransform),ap(Te.clientRect,0,bt)):(It.style.transform=Wy(`translate3d(0, ${Math.round(Te.offset)}px, 0)`,Te.initialTransform),ap(Te.clientRect,bt,0))}),this._previousSwap.overlaps=A0(S,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=a?o.x:o.y}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let t,o=0,s=0;if(this._parentPositions.positions.forEach((i,a)=>{a===this._document||!i.clientRect||t||Pk(i.clientRect,.05,n,e)&&([o,s]=function kP(r,n,e,t){const o=Uk(n,t),s=qk(n,e);let i=0,a=0;if(o){const d=r.scrollTop;1===o?d>0&&(i=1):r.scrollHeight-d>r.clientHeight&&(i=2)}if(s){const d=r.scrollLeft;1===s?d>0&&(a=1):r.scrollWidth-d>r.clientWidth&&(a=2)}return[i,a]}(a,i.clientRect,n,e),(o||s)&&(t=a))}),!o&&!s){const{width:i,height:a}=this._viewportRuler.getViewportSize(),d={width:i,height:a,top:0,right:i,bottom:a,left:0};o=Uk(d,e),s=qk(d,n),t=window}t&&(o!==this._verticalScrollDirection||s!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=s,this._scrollNode=t,(o||s)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=jt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=jt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(n).clientRect}_cacheItemPositions(){const n="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:v0(t)}}).sort((e,t)=>n?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const n=jt(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const s=null===(t=this._itemPositions.find(i=>i.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=s||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(n,e,t){const o="horizontal"===this._orientation,s=e[n].clientRect,i=e[n+-1*t];let a=s[o?"width":"height"]*t;if(i){const d=o?"left":"top",h=o?"right":"bottom";-1===t?a-=i.clientRect[d]-s[h]:a+=s[d]-i.clientRect[h]}return a}_getItemOffsetPx(n,e,t){const o="horizontal"===this._orientation;let s=o?e.left-n.left:e.top-n.top;return-1===t&&(s+=o?e.width-n.width:e.height-n.height),s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const i=t[t.length-1].clientRect;return o?n>=i.right:e>=i.bottom}{const i=t[0].clientRect;return o?n<=i.left:e<=i.top}}_getItemIndexFromPointerPosition(n,e,t,o){const s="horizontal"===this._orientation,i=this._itemPositions.findIndex(({drag:a,clientRect:d})=>{if(a===n)return!1;if(o){const h=s?o.x:o.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return s?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&to._canReceive(n,e,t))}_canReceive(n,e,t){if(!this._clientRect||!A0(this._clientRect,e,t)||!this.enterPredicate(n,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const s=jt(this.element);return o===s||s.contains(o)}_startReceiving(n,e){const t=this._activeSiblings;!t.has(n)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(n),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(n);e&&(this._itemPositions.forEach(({clientRect:t})=>{ap(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=$c(jt(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}}function Uk(r,n){const{top:e,bottom:t,height:o}=r,s=.05*o;return n>=e-s&&n<=e+s?1:n>=t-s&&n<=t+s?2:0}function qk(r,n){const{left:e,right:t,width:o}=r,s=.05*o;return n>=e-s&&n<=e+s?1:n>=t-s&&n<=t+s?2:0}const Zy=ti({passive:!1,capture:!0});let DP=(()=>{class r{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new xe.xQ,this.pointerUp=new xe.xQ,this.scroll=new xe.xQ,this._preventDefaultWhileDragging=o=>{this._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Zy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Zy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const o=t.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Zy}),o||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:Zy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,i)=>{this._document.addEventListener(i,s.handler,s.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new bi.y(o=>this._ngZone.runOutsideAngular(()=>{const i=a=>{this._activeDragInstances.length&&o.next(a)};return e.addEventListener("scroll",i,!0),()=>{e.removeEventListener("scroll",i,!0)}}))),(0,gn.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(u.R0b),u.LFG(b.K0))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const MP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let xP=(()=>{class r{constructor(e,t,o,s){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=s}createDrag(e,t=MP){return new TP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new SP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(b.K0),u.LFG(u.R0b),u.LFG(Ar),u.LFG(DP))},r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),RP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[xP],imports:[Dn]}),r})(),PP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez]]}),r})(),IP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),LP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({}),r})(),qP=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[LP,qe],qe]}),r})(),rI=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[Wn,qe],qe]}),r})(),cI=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,ju,vo,Oy,Dt,np,Ti]]}),r})(),lI=(()=>{class r extends mh{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return r.\u0275fac=function(){let n;return function(t){return(n||(n=u.n5z(r)))(t||r)}}(),r.\u0275prov=u.Yz7({token:r,factory:r.\u0275fac}),r})();const uI={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Zk=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({providers:[{provide:en,useClass:lI},{provide:gh,useValue:uI}],imports:[[b.ez,Oy,p0,ZC,yP,RP,Qa,Hf,_0,iu,np,XC,Dt,sc,vo,Ti,Ao,ju,Iy,Wn,PP,IP,qP,g0,rI,Gl,tc,cI,ps,$l,SE]]}),r})(),d1=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[b.ez,XS,e0,nk,vo,rk,Oy,Dt,p0,$l,np,Ao,Iy,ps,ZC,ju,ak,g0,_h,Ck,Ek,Zk,sc,uy,_0,iu,Ti,tc,Wn],XS,e0,nk,vo,rk,Oy,Dt,p0,$l,np,Ao,Iy,ps,ZC,ju,ak,g0,_h,Ck,Ek,Zk,sc,uy,_0,iu,Ti,tc,Wn]}),r})();const h1={provide:C.TP,useExisting:(0,u.Gpc)(()=>Fu),multi:!0};function f1(r){return new gx(r,"./assets/i18n/",".json")}function p1(r){const n={basePath:r.get("api_url")};return new je(n)}const g1=r=>()=>r.loadConfigs();let m1=(()=>{class r{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return r.\u0275fac=function(e){return new(e||r)(u.LFG(ay),u.LFG(nn))},r.\u0275mod=u.oAB({type:r,bootstrap:[px]}),r.\u0275inj=u.cJS({providers:[ay,{provide:u.ip1,useFactory:g1,multi:!0,deps:[vx]},{provide:je,useFactory:p1,deps:[ki]},Fu,h1,{provide:Ax,useClass:cy}],imports:[[xo,Qa.forRoot({loader:{provide:Ci,useFactory:f1,deps:[C.eN]}}),Eb,Dt,mx,pp,C.JF,yx,d1,XC,yM,ry.zr.forRoot()]]}),r})();(0,u.G48)(),Mo().bootstrapModule(m1).catch(r=>console.error(r))},1302:function(N,G,v){var b;!function(u,I){var L={};!function(u){"use strict";u.__esModule=!0,u.digestLength=32,u.blockSize=64;var I=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function L(q,J,ie,ee,re){for(var Ce,Ae,He,ft,_t,Ue,mi,Tt,Ze,oe,ue,de,le;re>=64;){for(Ce=J[0],Ae=J[1],He=J[2],ft=J[3],_t=J[4],Ue=J[5],mi=J[6],Tt=J[7],oe=0;oe<16;oe++)q[oe]=(255&ie[ue=ee+4*oe])<<24|(255&ie[ue+1])<<16|(255&ie[ue+2])<<8|255&ie[ue+3];for(oe=16;oe<64;oe++)q[oe]=((de=((Ze=q[oe-2])>>>17|Ze<<15)^(Ze>>>19|Ze<<13)^Ze>>>10)+q[oe-7]|0)+((le=((Ze=q[oe-15])>>>7|Ze<<25)^(Ze>>>18|Ze<<14)^Ze>>>3)+q[oe-16]|0);for(oe=0;oe<64;oe++)de=(((_t>>>6|_t<<26)^(_t>>>11|_t<<21)^(_t>>>25|_t<<7))+(_t&Ue^~_t&mi)|0)+(Tt+(I[oe]+q[oe]|0)|0)|0,le=((Ce>>>2|Ce<<30)^(Ce>>>13|Ce<<19)^(Ce>>>22|Ce<<10))+(Ce&Ae^Ce&He^Ae&He)|0,Tt=mi,mi=Ue,Ue=_t,_t=ft+de|0,ft=He,He=Ae,Ae=Ce,Ce=de+le|0;J[0]+=Ce,J[1]+=Ae,J[2]+=He,J[3]+=ft,J[4]+=_t,J[5]+=Ue,J[6]+=mi,J[7]+=Tt,ee+=64,re-=64}return ee}var R=function(){function q(){this.digestLength=u.digestLength,this.blockSize=u.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},q.prototype.clean=function(){for(var J=0;J0){for(;this.bufferLength<64&&ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;64===this.bufferLength&&(L(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ie>=64&&(ee=L(this.temp,this.state,J,ee,ie),ie%=64);ie>0;)this.buffer[this.bufferLength++]=J[ee++],ie--;return this},q.prototype.finish=function(J){if(!this.finished){var ie=this.bytesHashed,ee=this.bufferLength,re=ie/536870912|0,Ce=ie<<3,Ae=ie%64<56?64:128;this.buffer[ee]=128;for(var He=ee+1;He>>24&255,this.buffer[Ae-7]=re>>>16&255,this.buffer[Ae-6]=re>>>8&255,this.buffer[Ae-5]=re>>>0&255,this.buffer[Ae-4]=Ce>>>24&255,this.buffer[Ae-3]=Ce>>>16&255,this.buffer[Ae-2]=Ce>>>8&255,this.buffer[Ae-1]=Ce>>>0&255,L(this.temp,this.state,this.buffer,0,Ae),this.finished=!0}for(He=0;He<8;He++)J[4*He+0]=this.state[He]>>>24&255,J[4*He+1]=this.state[He]>>>16&255,J[4*He+2]=this.state[He]>>>8&255,J[4*He+3]=this.state[He]>>>0&255;return this},q.prototype.digest=function(){var J=new Uint8Array(this.digestLength);return this.finish(J),J},q.prototype._saveState=function(J){for(var ie=0;iethis.blockSize)(new R).update(J).finish(ie).clean();else for(var ee=0;ee1&&J.update(q),ie&&J.update(ie),J.update(ee),J.finish(q),ee[0]++}u.HMAC=O,u.hash=$,u.default=$,u.hmac=U;var F=new Uint8Array(u.digestLength);u.hkdf=function z(q,J,ie,ee){void 0===J&&(J=F),void 0===ee&&(ee=32);for(var re=new Uint8Array([1]),Ce=U(J,q),Ae=new O(Ce),He=new Uint8Array(Ae.digestLength),ft=He.length,_t=new Uint8Array(ee),Ue=0;Ue>>24&255,Ae[1]=mi>>>16&255,Ae[2]=mi>>>8&255,Ae[3]=mi>>>0&255,re.reset(),re.update(J),re.update(Ae),re.finish(ft);for(var Tt=0;Tt=z.status}function O(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(V){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(z)}}var $="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,U=$.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),j=$.saveAs||("object"!=typeof window||window!==$?function(){}:"download"in HTMLAnchorElement.prototype&&!U?function(F,z,V){var q=$.URL||$.webkitURL,J=document.createElement("a");J.download=z=z||F.name||"download",J.rel="noopener","string"==typeof F?(J.href=F,J.origin===location.origin?O(J):R(J.href)?L(F,z,V):O(J,J.target="_blank")):(J.href=q.createObjectURL(F),setTimeout(function(){q.revokeObjectURL(J.href)},4e4),setTimeout(function(){O(J)},0))}:"msSaveOrOpenBlob"in navigator?function(F,z,V){if(z=z||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function I(F,z){return void 0===z?z={autoBom:!1}:"object"!=typeof z&&(console.warn("Deprecated: Expected third argument to be a object"),z={autoBom:!z}),z.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,V),z);else if(R(F))L(F,z,V);else{var q=document.createElement("a");q.href=F,q.target="_blank",setTimeout(function(){O(q)})}}:function(F,z,V,q){if((q=q||open("","_blank"))&&(q.document.title=q.document.body.innerText="downloading..."),"string"==typeof F)return L(F,z,V);var J="application/octet-stream"===F.type,ie=/constructor/i.test($.HTMLElement)||$.safari,ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((ee||J&&ie||U)&&"undefined"!=typeof FileReader){var re=new FileReader;re.onloadend=function(){var He=re.result;He=ee?He:He.replace(/^data:[^;]*;/,"data:attachment/file;"),q?q.location.href=He:location=He,q=null},re.readAsDataURL(F)}else{var Ce=$.URL||$.webkitURL,Ae=Ce.createObjectURL(F);q?q.location=Ae:location.href=Ae,q=null,setTimeout(function(){Ce.revokeObjectURL(Ae)},4e4)}});$.saveAs=j.saveAs=j,N.exports=j}.apply(G,[]))&&(N.exports=u)},1869:(N,G,v)=>{"use strict";v.d(G,{d:()=>u});var b=v(3489);class u extends b.L{constructor(L,R,O){super(),this.parent=L,this.outerValue=R,this.outerIndex=O,this.index=0}_next(L){this.parent.notifyNext(this.outerValue,L,this.outerIndex,this.index++,this)}_error(L){this.parent.notifyError(L,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(N,G,v)=>{"use strict";v.d(G,{P:()=>R});var b=v(8896),u=v(1086),I=v(1737);class R{constructor($,U,j){this.kind=$,this.value=U,this.error=j,this.hasValue="N"===$}observe($){switch(this.kind){case"N":return $.next&&$.next(this.value);case"E":return $.error&&$.error(this.error);case"C":return $.complete&&$.complete()}}do($,U,j){switch(this.kind){case"N":return $&&$(this.value);case"E":return U&&U(this.error);case"C":return j&&j()}}accept($,U,j){return $&&"function"==typeof $.next?this.observe($):this.do($,U,j)}toObservable(){switch(this.kind){case"N":return(0,u.of)(this.value);case"E":return(0,I._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext($){return void 0!==$?new R("N",$):R.undefinedValueNotification}static createError($){return new R("E",void 0,$)}static createComplete(){return R.completeNotification}}R.completeNotification=new R("C"),R.undefinedValueNotification=new R("N",void 0)},2916:(N,G,v)=>{"use strict";v.d(G,{y:()=>z});var b=v(3489),I=v(7668),L=v(3292),O=v(3821),$=v(5379);var F=v(2830);let z=(()=>{class q{constructor(ie){this._isScalar=!1,ie&&(this._subscribe=ie)}lift(ie){const ee=new q;return ee.source=this,ee.operator=ie,ee}subscribe(ie,ee,re){const{operator:Ce}=this,Ae=function R(q,J,ie){if(q){if(q instanceof b.L)return q;if(q[I.b])return q[I.b]()}return q||J||ie?new b.L(q,J,ie):new b.L(L.c)}(ie,ee,re);if(Ae.add(Ce?Ce.call(Ae,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!Ae.syncErrorThrowable?this._subscribe(Ae):this._trySubscribe(Ae)),F.v.useDeprecatedSynchronousErrorHandling&&Ae.syncErrorThrowable&&(Ae.syncErrorThrowable=!1,Ae.syncErrorThrown))throw Ae.syncErrorValue;return Ae}_trySubscribe(ie){try{return this._subscribe(ie)}catch(ee){F.v.useDeprecatedSynchronousErrorHandling&&(ie.syncErrorThrown=!0,ie.syncErrorValue=ee),function u(q){for(;q;){const{closed:J,destination:ie,isStopped:ee}=q;if(J||ee)return!1;q=ie&&ie instanceof b.L?ie:null}return!0}(ie)?ie.error(ee):console.warn(ee)}}forEach(ie,ee){return new(ee=V(ee))((re,Ce)=>{let Ae;Ae=this.subscribe(He=>{try{ie(He)}catch(ft){Ce(ft),Ae&&Ae.unsubscribe()}},Ce,re)})}_subscribe(ie){const{source:ee}=this;return ee&&ee.subscribe(ie)}[O.L](){return this}pipe(...ie){return 0===ie.length?this:function j(q){return 0===q.length?$.y:1===q.length?q[0]:function(ie){return q.reduce((ee,re)=>re(ee),ie)}}(ie)(this)}toPromise(ie){return new(ie=V(ie))((ee,re)=>{let Ce;this.subscribe(Ae=>Ce=Ae,Ae=>re(Ae),()=>ee(Ce))})}}return q.create=J=>new q(J),q})();function V(q){if(q||(q=F.v.Promise||Promise),!q)throw new Error("no Promise impl found");return q}},3292:(N,G,v)=>{"use strict";v.d(G,{c:()=>I});var b=v(2830),u=v(2782);const I={closed:!0,next(L){},error(L){if(b.v.useDeprecatedSynchronousErrorHandling)throw L;(0,u.z)(L)},complete(){}}},826:(N,G,v)=>{"use strict";v.d(G,{L:()=>u});var b=v(3489);class u extends b.L{notifyNext(L,R,O,$,U){this.destination.next(R)}notifyError(L,R){this.destination.error(L)}notifyComplete(L){this.destination.complete()}}},8929:(N,G,v)=>{"use strict";v.d(G,{Yc:()=>$,xQ:()=>U});var b=v(2916),u=v(3489),I=v(2654),L=v(5279),R=v(5283),O=v(7668);class $ extends u.L{constructor(z){super(z),this.destination=z}}let U=(()=>{class F extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[O.b](){return new $(this)}lift(V){const q=new j(this,this);return q.operator=V,q}next(V){if(this.closed)throw new L.N;if(!this.isStopped){const{observers:q}=this,J=q.length,ie=q.slice();for(let ee=0;eenew j(z,V),F})();class j extends U{constructor(z,V){super(),this.destination=z,this.source=V}next(z){const{destination:V}=this;V&&V.next&&V.next(z)}error(z){const{destination:V}=this;V&&V.error&&this.destination.error(z)}complete(){const{destination:z}=this;z&&z.complete&&this.destination.complete()}_subscribe(z){const{source:V}=this;return V?this.source.subscribe(z):I.w.EMPTY}}},5283:(N,G,v)=>{"use strict";v.d(G,{W:()=>u});var b=v(2654);class u extends b.w{constructor(L,R){super(),this.subject=L,this.subscriber=R,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const L=this.subject,R=L.observers;if(this.subject=null,!R||0===R.length||L.isStopped||L.closed)return;const O=R.indexOf(this.subscriber);-1!==O&&R.splice(O,1)}}},3489:(N,G,v)=>{"use strict";v.d(G,{L:()=>$});var b=v(7043),u=v(3292),I=v(2654),L=v(7668),R=v(2830),O=v(2782);class $ extends I.w{constructor(F,z,V){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=u.c;break;case 1:if(!F){this.destination=u.c;break}if("object"==typeof F){F instanceof $?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,F,z,V)}}[L.b](){return this}static create(F,z,V){const q=new $(F,z,V);return q.syncErrorThrowable=!1,q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class U extends ${constructor(F,z,V,q){super(),this._parentSubscriber=F;let J,ie=this;(0,b.m)(z)?J=z:z&&(J=z.next,V=z.error,q=z.complete,z!==u.c&&(ie=Object.create(z),(0,b.m)(ie.unsubscribe)&&this.add(ie.unsubscribe.bind(ie)),ie.unsubscribe=this.unsubscribe.bind(this))),this._context=ie,this._next=J,this._error=V,this._complete=q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:z}=this;R.v.useDeprecatedSynchronousErrorHandling&&z.syncErrorThrowable?this.__tryOrSetError(z,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:z}=this,{useDeprecatedSynchronousErrorHandling:V}=R.v;if(this._error)V&&z.syncErrorThrowable?(this.__tryOrSetError(z,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(z.syncErrorThrowable)V?(z.syncErrorValue=F,z.syncErrorThrown=!0):(0,O.z)(F),this.unsubscribe();else{if(this.unsubscribe(),V)throw F;(0,O.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const z=()=>this._complete.call(this._context);R.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,z),this.unsubscribe()):(this.__tryOrUnsub(z),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,z){try{F.call(this._context,z)}catch(V){if(this.unsubscribe(),R.v.useDeprecatedSynchronousErrorHandling)throw V;(0,O.z)(V)}}__tryOrSetError(F,z,V){if(!R.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{z.call(this._context,V)}catch(q){return R.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=q,F.syncErrorThrown=!0,!0):((0,O.z)(q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(N,G,v)=>{"use strict";v.d(G,{w:()=>O});var b=v(6688),u=v(7830),I=v(7043);const R=(()=>{function U(j){return Error.call(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((F,z)=>`${z+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j,this}return U.prototype=Object.create(Error.prototype),U})();class O{constructor(j){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,j&&(this._unsubscribe=j)}unsubscribe(){let j;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:z,_subscriptions:V}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof O)F.remove(this);else if(null!==F)for(let q=0;qj.concat(F instanceof R?F.errors:F),[])}O.EMPTY=((U=new O).closed=!0,U)},2830:(N,G,v)=>{"use strict";v.d(G,{v:()=>u});let b=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(I){if(I){const L=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+L.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=I},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(N,G,v)=>{"use strict";v.d(G,{c:()=>R,N:()=>O});var b=v(8929),u=v(2916),I=v(2654),L=v(4327);class R extends u.y{constructor(z,V){super(),this.source=z,this.subjectFactory=V,this._refCount=0,this._isComplete=!1}_subscribe(z){return this.getSubject().subscribe(z)}getSubject(){const z=this._subject;return(!z||z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let z=this._connection;return z||(this._isComplete=!1,z=this._connection=new I.w,z.add(this.source.subscribe(new $(this.getSubject(),this))),z.closed&&(this._connection=null,z=I.w.EMPTY)),z}refCount(){return(0,L.x)()(this)}}const O=(()=>{const F=R.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class $ extends b.Yc{constructor(z,V){super(z),this.connectable=V}_error(z){this._unsubscribe(),super._error(z)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const z=this.connectable;if(z){this.connectable=null;const V=z._connection;z._refCount=0,z._subject=null,z._connection=null,V&&V.unsubscribe()}}}},6053:(N,G,v)=>{"use strict";v.d(G,{aj:()=>$});var b=v(2866),u=v(6688),I=v(826),L=v(9054),R=v(3009);const O={};function $(...F){let z=null,V=null;return(0,b.K)(F[F.length-1])&&(V=F.pop()),"function"==typeof F[F.length-1]&&(z=F.pop()),1===F.length&&(0,u.k)(F[0])&&(F=F[0]),(0,R.n)(F,V).lift(new U(z))}class U{constructor(z){this.resultSelector=z}call(z,V){return V.subscribe(new j(z,this.resultSelector))}}class j extends I.L{constructor(z,V){super(z),this.resultSelector=V,this.active=0,this.values=[],this.observables=[]}_next(z){this.values.push(O),this.observables.push(z)}_complete(){const z=this.observables,V=z.length;if(0===V)this.destination.complete();else{this.active=V,this.toRespond=V;for(let q=0;q{"use strict";v.d(G,{E:()=>u,c:()=>I});var b=v(2916);const u=new b.y(R=>R.complete());function I(R){return R?function L(R){return new b.y(O=>R.schedule(()=>O.complete()))}(R):u}},5254:(N,G,v)=>{"use strict";v.d(G,{D:()=>ie});var b=v(2916),u=v(9249),I=v(2654),L=v(3821),$=v(6454),U=v(5430),z=v(8955),V=v(8515);function ie(ee,re){return re?function J(ee,re){if(null!=ee){if(function F(ee){return ee&&"function"==typeof ee[L.L]}(ee))return function R(ee,re){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(re.schedule(()=>{const He=ee[L.L]();Ae.add(He.subscribe({next(ft){Ae.add(re.schedule(()=>Ce.next(ft)))},error(ft){Ae.add(re.schedule(()=>Ce.error(ft)))},complete(){Ae.add(re.schedule(()=>Ce.complete()))}}))})),Ae})}(ee,re);if((0,z.t)(ee))return function O(ee,re){return new b.y(Ce=>{const Ae=new I.w;return Ae.add(re.schedule(()=>ee.then(He=>{Ae.add(re.schedule(()=>{Ce.next(He),Ae.add(re.schedule(()=>Ce.complete()))}))},He=>{Ae.add(re.schedule(()=>Ce.error(He)))}))),Ae})}(ee,re);if((0,V.z)(ee))return(0,$.r)(ee,re);if(function q(ee){return ee&&"function"==typeof ee[U.hZ]}(ee)||"string"==typeof ee)return function j(ee,re){if(!ee)throw new Error("Iterable cannot be null");return new b.y(Ce=>{const Ae=new I.w;let He;return Ae.add(()=>{He&&"function"==typeof He.return&&He.return()}),Ae.add(re.schedule(()=>{He=ee[U.hZ](),Ae.add(re.schedule(function(){if(Ce.closed)return;let ft,_t;try{const Ue=He.next();ft=Ue.value,_t=Ue.done}catch(Ue){return void Ce.error(Ue)}_t?Ce.complete():(Ce.next(ft),this.schedule())}))})),Ae})}(ee,re)}throw new TypeError((null!==ee&&typeof ee||ee)+" is not observable")}(ee,re):ee instanceof b.y?ee:new b.y((0,u.s)(ee))}},3009:(N,G,v)=>{"use strict";v.d(G,{n:()=>L});var b=v(2916),u=v(3650),I=v(6454);function L(R,O){return O?(0,I.r)(R,O):new b.y((0,u.V)(R))}},6787:(N,G,v)=>{"use strict";v.d(G,{T:()=>R});var b=v(2916),u=v(2866),I=v(9146),L=v(3009);function R(...O){let $=Number.POSITIVE_INFINITY,U=null,j=O[O.length-1];return(0,u.K)(j)?(U=O.pop(),O.length>1&&"number"==typeof O[O.length-1]&&($=O.pop())):"number"==typeof j&&($=O.pop()),null===U&&1===O.length&&O[0]instanceof b.y?O[0]:(0,I.J)($)((0,L.n)(O,U))}},1086:(N,G,v)=>{"use strict";v.d(G,{of:()=>L});var b=v(2866),u=v(3009),I=v(6454);function L(...R){let O=R[R.length-1];return(0,b.K)(O)?(R.pop(),(0,I.r)(R,O)):(0,u.n)(R)}},1946:(N,G,v)=>{"use strict";v.d(G,{S3:()=>R});var b=v(6688),u=v(3009),I=v(826),L=v(9054);function R(...U){if(1===U.length){if(!(0,b.k)(U[0]))return U[0];U=U[0]}return(0,u.n)(U,void 0).lift(new O)}class O{call(j,F){return F.subscribe(new $(j))}}class $ extends I.L{constructor(j){super(j),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(j){this.observables.push(j)}_complete(){const j=this.observables,F=j.length;if(0===F)this.destination.complete();else{for(let z=0;z{"use strict";v.d(G,{_:()=>u});var b=v(2916);function u(L,R){return new b.y(R?O=>R.schedule(I,0,{error:L,subscriber:O}):O=>O.error(L))}function I({error:L,subscriber:R}){R.error(L)}},7221:(N,G,v)=>{"use strict";v.d(G,{K:()=>L});var b=v(826),u=v(1869),I=v(9054);function L($){return function(j){const F=new R($),z=j.lift(F);return F.caught=z}}class R{constructor(U){this.selector=U}call(U,j){return j.subscribe(new O(U,this.selector,this.caught))}}class O extends b.L{constructor(U,j,F){super(U),this.selector=j,this.caught=F}error(U){if(!this.isStopped){let j;try{j=this.selector(U,this.caught)}catch(V){return void super.error(V)}this._unsubscribeAndRecycle();const F=new u.d(this,void 0,void 0);this.add(F);const z=(0,I.D)(this,j,void 0,void 0,F);z!==F&&this.add(z)}}}},1406:(N,G,v)=>{"use strict";v.d(G,{b:()=>u});var b=v(1709);function u(I,L){return(0,b.zg)(I,L,1)}},13:(N,G,v)=>{"use strict";v.d(G,{b:()=>I});var b=v(3489),u=v(353);function I($,U=u.P){return j=>j.lift(new L($,U))}class L{constructor(U,j){this.dueTime=U,this.scheduler=j}call(U,j){return j.subscribe(new R(U,this.dueTime,this.scheduler))}}class R extends b.L{constructor(U,j,F){super(U),this.dueTime=j,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(U){this.clearDebounce(),this.lastValue=U,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(O,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:U}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(U)}}clearDebounce(){const U=this.debouncedSubscription;null!==U&&(this.remove(U),U.unsubscribe(),this.debouncedSubscription=null)}}function O($){$.debouncedNext()}},7314:(N,G,v)=>{"use strict";v.d(G,{d:()=>u});var b=v(3489);function u(R=null){return O=>O.lift(new I(R))}class I{constructor(O){this.defaultValue=O}call(O,$){return $.subscribe(new L(O,this.defaultValue))}}class L extends b.L{constructor(O,$){super(O),this.defaultValue=$,this.isEmpty=!0}_next(O){this.isEmpty=!1,this.destination.next(O)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(N,G,v)=>{"use strict";v.d(G,{g:()=>R});var b=v(353),u=v(2697),I=v(3489),L=v(9312);function R(j,F=b.P){const V=(0,u.J)(j)?+j-F.now():Math.abs(j);return q=>q.lift(new O(V,F))}class O{constructor(F,z){this.delay=F,this.scheduler=z}call(F,z){return z.subscribe(new $(F,this.delay,this.scheduler))}}class $ extends I.L{constructor(F,z,V){super(F),this.delay=z,this.scheduler=V,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const z=F.source,V=z.queue,q=F.scheduler,J=F.destination;for(;V.length>0&&V[0].time-q.now()<=0;)V.shift().notification.observe(J);if(V.length>0){const ie=Math.max(0,V[0].time-q.now());this.schedule(F,ie)}else this.unsubscribe(),z.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule($.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const z=this.scheduler,V=new U(z.now()+this.delay,F);this.queue.push(V),!1===this.active&&this._schedule(z)}_next(F){this.scheduleNotification(L.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(L.P.createComplete()),this.unsubscribe()}}class U{constructor(F,z){this.time=F,this.notification=z}}},2198:(N,G,v)=>{"use strict";v.d(G,{h:()=>u});var b=v(3489);function u(R,O){return function(U){return U.lift(new I(R,O))}}class I{constructor(O,$){this.predicate=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.predicate,this.thisArg))}}class L extends b.L{constructor(O,$,U){super(O),this.predicate=$,this.thisArg=U,this.count=0}_next(O){let $;try{$=this.predicate.call(this.thisArg,O,this.count++)}catch(U){return void this.destination.error(U)}$&&this.destination.next(O)}}},7224:(N,G,v)=>{"use strict";v.d(G,{P:()=>$});var b=v(4450),u=v(2198),I=v(2986),L=v(7314),R=v(4907),O=v(5379);function $(U,j){const F=arguments.length>=2;return z=>z.pipe(U?(0,u.h)((V,q)=>U(V,q,z)):O.y,(0,I.q)(1),F?(0,L.d)(j):(0,R.T)(()=>new b.K))}},4850:(N,G,v)=>{"use strict";v.d(G,{U:()=>u});var b=v(3489);function u(R,O){return function(U){if("function"!=typeof R)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return U.lift(new I(R,O))}}class I{constructor(O,$){this.project=O,this.thisArg=$}call(O,$){return $.subscribe(new L(O,this.project,this.thisArg))}}class L extends b.L{constructor(O,$,U){super(O),this.project=$,this.count=0,this.thisArg=U||this}_next(O){let $;try{$=this.project.call(this.thisArg,O,this.count++)}catch(U){return void this.destination.error(U)}this.destination.next($)}}},9146:(N,G,v)=>{"use strict";v.d(G,{J:()=>I});var b=v(1709),u=v(5379);function I(L=Number.POSITIVE_INFINITY){return(0,b.zg)(u.y,L)}},1709:(N,G,v)=>{"use strict";v.d(G,{zg:()=>O});var b=v(9054),u=v(826),I=v(1869),L=v(4850),R=v(5254);function O(j,F,z=Number.POSITIVE_INFINITY){return"function"==typeof F?V=>V.pipe(O((q,J)=>(0,R.D)(j(q,J)).pipe((0,L.U)((ie,ee)=>F(q,ie,J,ee))),z)):("number"==typeof F&&(z=F),V=>V.lift(new $(j,z)))}class ${constructor(F,z=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=z}call(F,z){return z.subscribe(new U(F,this.project,this.concurrent))}}class U extends u.L{constructor(F,z,V=Number.POSITIVE_INFINITY){super(F),this.project=z,this.concurrent=V,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(z.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(N,G,v)=>{"use strict";v.d(G,{x:()=>u});var b=v(3489);function u(){return function(O){return O.lift(new I(O))}}class I{constructor(O){this.connectable=O}call(O,$){const{connectable:U}=this;U._refCount++;const j=new L(O,U),F=$.subscribe(j);return j.closed||(j.connection=U.connect()),F}}class L extends b.L{constructor(O,$){super(O),this.connectable=$}_unsubscribe(){const{connectable:O}=this;if(!O)return void(this.connection=null);this.connectable=null;const $=O._refCount;if($<=0)return void(this.connection=null);if(O._refCount=$-1,$>1)return void(this.connection=null);const{connection:U}=this,j=O._connection;this.connection=null,j&&(!U||j===U)&&j.unsubscribe()}}},2474:(N,G,v)=>{"use strict";v.d(G,{B:()=>$});var b=v(1762);class I{constructor(j,F){this.subjectFactory=j,this.selector=F}call(j,F){const{selector:z}=this,V=this.subjectFactory(),q=z(V).subscribe(j);return q.add(F.subscribe(V)),q}}var L=v(4327),R=v(8929);function O(){return new R.xQ}function $(){return U=>(0,L.x)()(function u(U,j){return function(z){let V;if(V="function"==typeof U?U:function(){return U},"function"==typeof j)return z.lift(new I(V,j));const q=Object.create(z,b.N);return q.source=z,q.subjectFactory=V,q}}(O)(U))}},7545:(N,G,v)=>{"use strict";v.d(G,{w:()=>O});var b=v(826),u=v(1869),I=v(9054),L=v(4850),R=v(5254);function O(j,F){return"function"==typeof F?z=>z.pipe(O((V,q)=>(0,R.D)(j(V,q)).pipe((0,L.U)((J,ie)=>F(V,J,q,ie))))):z=>z.lift(new $(j))}class ${constructor(F){this.project=F}call(F,z){return z.subscribe(new U(F,this.project))}}class U extends b.L{constructor(F,z){super(F),this.project=z,this.index=0}_next(F){let z;const V=this.index++;try{z=this.project(F,V)}catch(q){return void this.destination.error(q)}this._innerSub(z,F,V)}_innerSub(F,z,V){const q=this.innerSubscription;q&&q.unsubscribe();const J=new u.d(this,z,V),ie=this.destination;ie.add(J),this.innerSubscription=(0,I.D)(this,F,void 0,void 0,J),this.innerSubscription!==J&&ie.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,z,V,q,J){this.destination.next(z)}}},2986:(N,G,v)=>{"use strict";v.d(G,{q:()=>L});var b=v(3489),u=v(4231),I=v(8896);function L($){return U=>0===$?(0,I.c)():U.lift(new R($))}class R{constructor(U){if(this.total=U,this.total<0)throw new u.W}call(U,j){return j.subscribe(new O(U,this.total))}}class O extends b.L{constructor(U,j){super(U),this.total=j,this.count=0}_next(U){const j=this.total,F=++this.count;F<=j&&(this.destination.next(U),F===j&&(this.destination.complete(),this.unsubscribe()))}}},2868:(N,G,v)=>{"use strict";v.d(G,{b:()=>L});var b=v(3489);function u(){}var I=v(7043);function L($,U,j){return function(z){return z.lift(new R($,U,j))}}class R{constructor(U,j,F){this.nextOrObserver=U,this.error=j,this.complete=F}call(U,j){return j.subscribe(new O(U,this.nextOrObserver,this.error,this.complete))}}class O extends b.L{constructor(U,j,F,z){super(U),this._tapNext=u,this._tapError=u,this._tapComplete=u,this._tapError=F||u,this._tapComplete=z||u,(0,I.m)(j)?(this._context=this,this._tapNext=j):j&&(this._context=j,this._tapNext=j.next||u,this._tapError=j.error||u,this._tapComplete=j.complete||u)}_next(U){try{this._tapNext.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.next(U)}_error(U){try{this._tapError.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.error(U)}_complete(){try{this._tapComplete.call(this._context)}catch(U){return void this.destination.error(U)}return this.destination.complete()}}},4907:(N,G,v)=>{"use strict";v.d(G,{T:()=>I});var b=v(4450),u=v(3489);function I($=O){return U=>U.lift(new L($))}class L{constructor(U){this.errorFactory=U}call(U,j){return j.subscribe(new R(U,this.errorFactory))}}class R extends u.L{constructor(U,j){super(U),this.errorFactory=j,this.hasValue=!1}_next(U){this.hasValue=!0,this.destination.next(U)}_complete(){if(this.hasValue)return this.destination.complete();{let U;try{U=this.errorFactory()}catch(j){U=j}this.destination.error(U)}}}function O(){return new b.K}},6227:(N,G,v)=>{"use strict";v.d(G,{V:()=>z});var b=v(353);const I=(()=>{function V(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return V.prototype=Object.create(Error.prototype),V})();var L=v(2697),R=v(826),O=v(9054);class U{constructor(q,J,ie,ee){this.waitFor=q,this.absoluteTimeout=J,this.withObservable=ie,this.scheduler=ee}call(q,J){return J.subscribe(new j(q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class j extends R.L{constructor(q,J,ie,ee,re){super(q),this.absoluteTimeout=J,this.waitFor=ie,this.withObservable=ee,this.scheduler=re,this.action=null,this.scheduleTimeout()}static dispatchTimeout(q){const{withObservable:J}=q;q._unsubscribeAndRecycle(),q.add((0,O.D)(q,J))}scheduleTimeout(){const{action:q}=this;q?this.action=q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(j.dispatchTimeout,this.waitFor,this))}_next(q){this.absoluteTimeout||this.scheduleTimeout(),super._next(q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=v(1737);function z(V,q=b.P){return function $(V,q,J=b.P){return ie=>{let ee=(0,L.J)(V),re=ee?+V-J.now():Math.abs(V);return ie.lift(new U(re,ee,q,J))}}(V,(0,F._)(new I),q)}},6454:(N,G,v)=>{"use strict";v.d(G,{r:()=>I});var b=v(2916),u=v(2654);function I(L,R){return new b.y(O=>{const $=new u.w;let U=0;return $.add(R.schedule(function(){U!==L.length?(O.next(L[U++]),O.closed||$.add(this.schedule())):O.complete()})),$})}},6686:(N,G,v)=>{"use strict";v.d(G,{o:()=>I});var b=v(2654);class u extends b.w{constructor(R,O){super()}schedule(R,O=0){return this}}class I extends u{constructor(R,O){super(R,O),this.scheduler=R,this.work=O,this.pending=!1}schedule(R,O=0){if(this.closed)return this;this.state=R;const $=this.id,U=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(U,$,O)),this.pending=!0,this.delay=O,this.id=this.id||this.requestAsyncId(U,this.id,O),this}requestAsyncId(R,O,$=0){return setInterval(R.flush.bind(R,this),$)}recycleAsyncId(R,O,$=0){if(null!==$&&this.delay===$&&!1===this.pending)return O;clearInterval(O)}execute(R,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const $=this._execute(R,O);if($)return $;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,O){let U,$=!1;try{this.work(R)}catch(j){$=!0,U=!!j&&j||new Error(j)}if($)return this.unsubscribe(),U}_unsubscribe(){const R=this.id,O=this.scheduler,$=O.actions,U=$.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==U&&$.splice(U,1),null!=R&&(this.id=this.recycleAsyncId(O,R,null)),this.delay=null}}},2268:(N,G,v)=>{"use strict";v.d(G,{v:()=>u});let b=(()=>{class I{constructor(R,O=I.now){this.SchedulerAction=R,this.now=O}schedule(R,O=0,$){return new this.SchedulerAction(this,R).schedule($,O)}}return I.now=()=>Date.now(),I})();class u extends b{constructor(L,R=b.now){super(L,()=>u.delegate&&u.delegate!==this?u.delegate.now():R()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(L,R=0,O){return u.delegate&&u.delegate!==this?u.delegate.schedule(L,R,O):super.schedule(L,R,O)}flush(L){const{actions:R}=this;if(this.active)return void R.push(L);let O;this.active=!0;do{if(O=L.execute(L.state,L.delay))break}while(L=R.shift());if(this.active=!1,O){for(;L=R.shift();)L.unsubscribe();throw O}}}},353:(N,G,v)=>{"use strict";v.d(G,{P:()=>I});var b=v(6686);const I=new(v(2268).v)(b.o)},5430:(N,G,v)=>{"use strict";v.d(G,{hZ:()=>u});const u=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(N,G,v)=>{"use strict";v.d(G,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(N,G,v)=>{"use strict";v.d(G,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(N,G,v)=>{"use strict";v.d(G,{W:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return I.prototype=Object.create(Error.prototype),I})()},4450:(N,G,v)=>{"use strict";v.d(G,{K:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return I.prototype=Object.create(Error.prototype),I})()},5279:(N,G,v)=>{"use strict";v.d(G,{N:()=>u});const u=(()=>{function I(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return I.prototype=Object.create(Error.prototype),I})()},2782:(N,G,v)=>{"use strict";function b(u){setTimeout(()=>{throw u},0)}v.d(G,{z:()=>b})},5379:(N,G,v)=>{"use strict";function b(u){return u}v.d(G,{y:()=>b})},6688:(N,G,v)=>{"use strict";v.d(G,{k:()=>b});const b=Array.isArray||(u=>u&&"number"==typeof u.length)},8515:(N,G,v)=>{"use strict";v.d(G,{z:()=>b});const b=u=>u&&"number"==typeof u.length&&"function"!=typeof u},2697:(N,G,v)=>{"use strict";function b(u){return u instanceof Date&&!isNaN(+u)}v.d(G,{J:()=>b})},7043:(N,G,v)=>{"use strict";function b(u){return"function"==typeof u}v.d(G,{m:()=>b})},7830:(N,G,v)=>{"use strict";function b(u){return null!==u&&"object"==typeof u}v.d(G,{K:()=>b})},8955:(N,G,v)=>{"use strict";function b(u){return!!u&&"function"!=typeof u.subscribe&&"function"==typeof u.then}v.d(G,{t:()=>b})},2866:(N,G,v)=>{"use strict";function b(u){return u&&"function"==typeof u.schedule}v.d(G,{K:()=>b})},9249:(N,G,v)=>{"use strict";v.d(G,{s:()=>z});var b=v(3650),u=v(2782),L=v(5430),O=v(3821),U=v(8515),j=v(8955),F=v(7830);const z=V=>{if(V&&"function"==typeof V[O.L])return(V=>q=>{const J=V[O.L]();if("function"!=typeof J.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return J.subscribe(q)})(V);if((0,U.z)(V))return(0,b.V)(V);if((0,j.t)(V))return(V=>q=>(V.then(J=>{q.closed||(q.next(J),q.complete())},J=>q.error(J)).then(null,u.z),q))(V);if(V&&"function"==typeof V[L.hZ])return(V=>q=>{const J=V[L.hZ]();for(;;){const ie=J.next();if(ie.done){q.complete();break}if(q.next(ie.value),q.closed)break}return"function"==typeof J.return&&q.add(()=>{J.return&&J.return()}),q})(V);{const J=`You provided ${(0,F.K)(V)?"an invalid object":`'${V}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(J)}}},3650:(N,G,v)=>{"use strict";v.d(G,{V:()=>b});const b=u=>I=>{for(let L=0,R=u.length;L{"use strict";v.d(G,{D:()=>L});var b=v(1869),u=v(9249),I=v(2916);function L(R,O,$,U,j=new b.d(R,$,U)){if(!j.closed)return O instanceof I.y?O.subscribe(j):(0,u.s)(O)(j)}},655:(N,G,v)=>{"use strict";function U(oe,ue,de,le){return new(de||(de=Promise))(function(se,et){function At(Je){try{Ne(le.next(Je))}catch(An){et(An)}}function Ii(Je){try{Ne(le.throw(Je))}catch(An){et(An)}}function Ne(Je){Je.done?se(Je.value):function be(se){return se instanceof de?se:new de(function(et){et(se)})}(Je.value).then(At,Ii)}Ne((le=le.apply(oe,ue||[])).next())})}v.d(G,{mG:()=>U})},9808:(N,G,v)=>{"use strict";v.d(G,{mr:()=>Ae,Ov:()=>Qe,ez:()=>ds,K0:()=>$,Do:()=>ft,V_:()=>F,Ye:()=>_t,S$:()=>re,mk:()=>Po,sg:()=>wi,O5:()=>Gi,PC:()=>Yu,RF:()=>Fi,n9:()=>Ui,b0:()=>He,lw:()=>U,EM:()=>ed,JF:()=>Ft,NF:()=>fi,w_:()=>O,bD:()=>pa,q:()=>I,Mx:()=>ua,HT:()=>R});var b=v(5e3);let u=null;function I(){return u}function R(k){u||(u=k)}class O{}const $=new b.OlP("DocumentToken");let U=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function j(){return(0,b.LFG)(z)}()},providedIn:"platform"}),k})();const F=new b.OlP("Location Initialized");let z=(()=>{class k extends U{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",E,!1),()=>P.removeEventListener("popstate",E)}onHashChange(E){const P=I().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",E,!1),()=>P.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,P,Y){V()?this._history.pushState(E,P,Y):this.location.hash=Y}replaceState(E,P,Y){V()?this._history.replaceState(E,P,Y):this.location.hash=Y}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return k.\u0275fac=function(E){return new(E||k)(b.LFG($))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function q(){return new z((0,b.LFG)($))}()},providedIn:"platform"}),k})();function V(){return!!window.history.pushState}function J(k,x){if(0==k.length)return x;if(0==x.length)return k;let E=0;return k.endsWith("/")&&E++,x.startsWith("/")&&E++,2==E?k+x.substring(1):1==E?k+x:k+"/"+x}function ie(k){const x=k.match(/#|\?|$/),E=x&&x.index||k.length;return k.slice(0,E-("/"===k[E-1]?1:0))+k.slice(E)}function ee(k){return k&&"?"!==k[0]?"?"+k:k}let re=(()=>{class k{historyGo(E){throw new Error("Not implemented")}}return k.\u0275fac=function(E){return new(E||k)},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ce(k){const x=(0,b.LFG)($).location;return new He((0,b.LFG)(U),x&&x.origin||"")}()},providedIn:"root"}),k})();const Ae=new b.OlP("appBaseHref");let He=(()=>{class k extends re{constructor(E,P){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==P&&(P=this._platformLocation.getBaseHrefFromDOM()),null==P)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=P}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return J(this._baseHref,E)}path(E=!1){const P=this._platformLocation.pathname+ee(this._platformLocation.search),Y=this._platformLocation.hash;return Y&&E?`${P}${Y}`:P}pushState(E,P,Y,ae){const ge=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.pushState(E,P,ge)}replaceState(E,P,Y,ae){const ge=this.prepareExternalUrl(Y+ee(ae));this._platformLocation.replaceState(E,P,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(U),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),ft=(()=>{class k extends re{constructor(E,P){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(E){const P=J(this._baseHref,E);return P.length>0?"#"+P:P}pushState(E,P,Y,ae){let ge=this.prepareExternalUrl(Y+ee(ae));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.pushState(E,P,ge)}replaceState(E,P,Y,ae){let ge=this.prepareExternalUrl(Y+ee(ae));0==ge.length&&(ge=this._platformLocation.pathname),this._platformLocation.replaceState(E,P,ge)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformLocation).historyGo)||void 0===Y||Y.call(P,E)}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(U),b.LFG(Ae,8))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})(),_t=(()=>{class k{constructor(E,P){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=E;const Y=this._platformStrategy.getBaseHref();this._platformLocation=P,this._baseHref=ie(Tt(Y)),this._platformStrategy.onPopState(ae=>{this._subject.emit({url:this.path(!0),pop:!0,state:ae.state,type:ae.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,P=""){return this.path()==this.normalize(E+ee(P))}normalize(E){return k.stripTrailingSlash(function mi(k,x){return k&&x.startsWith(k)?x.substring(k.length):x}(this._baseHref,Tt(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,P="",Y=null){this._platformStrategy.pushState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}replaceState(E,P="",Y=null){this._platformStrategy.replaceState(Y,"",E,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+ee(P)),Y)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var P,Y;null===(Y=(P=this._platformStrategy).historyGo)||void 0===Y||Y.call(P,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)}))}_notifyUrlChangeListeners(E="",P){this._urlChangeListeners.forEach(Y=>Y(E,P))}subscribe(E,P,Y){return this._subject.subscribe({next:E,error:P,complete:Y})}}return k.normalizeQueryParams=ee,k.joinWithSlash=J,k.stripTrailingSlash=ie,k.\u0275fac=function(E){return new(E||k)(b.LFG(re),b.LFG(U))},k.\u0275prov=b.Yz7({token:k,factory:function(){return function Ue(){return new _t((0,b.LFG)(re),(0,b.LFG)(U))}()},providedIn:"root"}),k})();function Tt(k){return k.replace(/\/index.html$/,"")}var ue=(()=>((ue=ue||{})[ue.Zero=0]="Zero",ue[ue.One=1]="One",ue[ue.Two=2]="Two",ue[ue.Few=3]="Few",ue[ue.Many=4]="Many",ue[ue.Other=5]="Other",ue))();const oo=b.kL8;class St{}let so=(()=>{class k extends St{constructor(E){super(),this.locale=E}getPluralCategory(E,P){switch(oo(P||this.locale)(E)){case ue.Zero:return"zero";case ue.One:return"one";case ue.Two:return"two";case ue.Few:return"few";case ue.Many:return"many";default:return"other"}}}return k.\u0275fac=function(E){return new(E||k)(b.LFG(b.soG))},k.\u0275prov=b.Yz7({token:k,factory:k.\u0275fac}),k})();function ua(k,x){x=encodeURIComponent(x);for(const E of k.split(";")){const P=E.indexOf("="),[Y,ae]=-1==P?[E,""]:[E.slice(0,P),E.slice(P+1)];if(Y.trim()===x)return decodeURIComponent(ae)}return null}let Po=(()=>{class k{constructor(E,P,Y,ae){this._iterableDiffers=E,this._keyValueDiffers=P,this._ngEl=Y,this._renderer=ae,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachChangedItem(P=>this._toggleClass(P.key,P.currentValue)),E.forEachRemovedItem(P=>{P.previousValue&&this._toggleClass(P.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(P=>{if("string"!=typeof P.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(P.item)}`);this._toggleClass(P.item,!0)}),E.forEachRemovedItem(P=>this._toggleClass(P.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!0)):Object.keys(E).forEach(P=>this._toggleClass(P,!!E[P])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(P=>this._toggleClass(P,!1)):Object.keys(E).forEach(P=>this._toggleClass(P,!1)))}_toggleClass(E,P){(E=E.trim())&&E.split(/\s+/g).forEach(Y=>{P?this._renderer.addClass(this._ngEl.nativeElement,Y):this._renderer.removeClass(this._ngEl.nativeElement,Y)})}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),k})();class gr{constructor(x,E,P,Y){this.$implicit=x,this.ngForOf=E,this.index=P,this.count=Y}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 wi=(()=>{class k{constructor(E,P,Y){this._viewContainer=E,this._template=P,this._differs=Y,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const P=this._viewContainer;E.forEachOperation((Y,ae,ge)=>{if(null==Y.previousIndex)P.createEmbeddedView(this._template,new gr(Y.item,this._ngForOf,-1,-1),null===ge?void 0:ge);else if(null==ge)P.remove(null===ae?void 0:ae);else if(null!==ae){const ke=P.get(ae);P.move(ke,ge),mr(ke,Y)}});for(let Y=0,ae=P.length;Y{mr(P.get(Y.currentIndex),Y)})}static ngTemplateContextGuard(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),k})();function mr(k,x){k.context.$implicit=x.item}let Gi=(()=>{class k{constructor(E,P){this._viewContainer=E,this._context=new Pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Wu("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Wu("ngIfElse",E),this._elseTemplateRef=E,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(E,P){return!0}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),k})();class Pt{constructor(){this.$implicit=null,this.ngIf=null}}function Wu(k,x){if(x&&!x.createEmbeddedView)throw new Error(`${k} must be a TemplateRef, but received '${(0,b.AaK)(x)}'.`)}class Nc{constructor(x,E){this._viewContainerRef=x,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(x){x&&!this._created?this.create():!x&&this._created&&this.destroy()}}let Fi=(()=>{class k{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const P=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let P=0;P{class k{constructor(E,P,Y){this.ngSwitch=Y,Y._addCase(),this._view=new Nc(E,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Fi,9))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),k})(),Yu=(()=>{class k{constructor(E,P,Y){this._ngEl=E,this._differs=P,this._renderer=Y,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,P){const[Y,ae]=E.split(".");null!=(P=null!=P&&ae?`${P}${ae}`:P)?this._renderer.setStyle(this._ngEl.nativeElement,Y,P):this._renderer.removeStyle(this._ngEl.nativeElement,Y)}_applyChanges(E){E.forEachRemovedItem(P=>this._setStyle(P.key,null)),E.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),E.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},k.\u0275dir=b.lG2({type:k,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),k})();class pp{createSubscription(x,E){return x.subscribe({next:E,error:P=>{throw P}})}dispose(x){x.unsubscribe()}onDestroy(x){x.unsubscribe()}}class nt{createSubscription(x,E){return x.then(E,P=>{throw P})}dispose(x){}onDestroy(x){}}const gp=new nt,ki=new pp;let Qe=(()=>{class k{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,P=>this._updateLatestValue(E,P))}_selectStrategy(E){if((0,b.QGY)(E))return gp;if((0,b.F4k)(E))return ki;throw function fn(k,x){return new b.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,P){E===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return k.\u0275fac=function(E){return new(E||k)(b.Y36(b.sBO,16))},k.\u0275pipe=b.Yjl({name:"async",type:k,pure:!1}),k})(),ds=(()=>{class k{}return k.\u0275fac=function(E){return new(E||k)},k.\u0275mod=b.oAB({type:k}),k.\u0275inj=b.cJS({providers:[{provide:St,useClass:so}]}),k})();const pa="browser";function fi(k){return k===pa}let ed=(()=>{class k{}return k.\u0275prov=(0,b.Yz7)({token:k,providedIn:"root",factory:()=>new wr((0,b.LFG)($),window)}),k})();class wr{constructor(x,E){this.document=x,this.window=E,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const E=function hs(k,x){const E=k.getElementById(x)||k.getElementsByName(x)[0];if(E)return E;if("function"==typeof k.createTreeWalker&&k.body&&(k.body.createShadowRoot||k.body.attachShadow)){const P=k.createTreeWalker(k.body,NodeFilter.SHOW_ELEMENT);let Y=P.currentNode;for(;Y;){const ae=Y.shadowRoot;if(ae){const ge=ae.getElementById(x)||ae.querySelector(`[name="${x}"]`);if(ge)return ge}Y=P.nextNode()}}return null}(this.document,x);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=x)}}scrollToElement(x){const E=x.getBoundingClientRect(),P=E.left+this.window.pageXOffset,Y=E.top+this.window.pageYOffset,ae=this.offset();this.window.scrollTo(P-ae[0],Y-ae[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=br(this.window.history)||br(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch(x){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(x){return!1}}}function br(k){return Object.getOwnPropertyDescriptor(k,"scrollRestoration")}class Ft{}},520:(N,G,v)=>{"use strict";v.d(G,{TP:()=>At,eN:()=>se,JF:()=>_i,WM:()=>F,LE:()=>re,Zn:()=>de});var b=v(9808),u=v(5e3),I=v(1086),L=v(2916),R=v(1406),O=v(2198),$=v(4850);class U{}class j{}class F{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(X=>{const we=X.indexOf(":");if(we>0){const ye=X.slice(0,we),Me=ye.toLowerCase(),Se=X.slice(we+1).trim();this.maybeSetNormalizedName(ye,Me),this.headers.has(Me)?this.headers.get(Me).push(Se):this.headers.set(Me,[Se])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(X=>{let we=Q[X];const ye=X.toLowerCase();"string"==typeof we&&(we=[we]),we.length>0&&(this.headers.set(ye,we),this.maybeSetNormalizedName(X,ye))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const X=this.headers.get(Q.toLowerCase());return X&&X.length>0?X[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,X){return this.clone({name:Q,value:X,op:"a"})}set(Q,X){return this.clone({name:Q,value:X,op:"s"})}delete(Q,X){return this.clone({name:Q,value:X,op:"d"})}maybeSetNormalizedName(Q,X){this.normalizedNames.has(X)||this.normalizedNames.set(X,Q)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(X=>{this.headers.set(X,Q.headers.get(X)),this.normalizedNames.set(X,Q.normalizedNames.get(X))})}clone(Q){const X=new F;return X.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,X.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),X}applyUpdate(Q){const X=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let we=Q.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(Q.name,X);const ye=("a"===Q.op?this.headers.get(X):void 0)||[];ye.push(...we),this.headers.set(X,ye);break;case"d":const Me=Q.value;if(Me){let Se=this.headers.get(X);if(!Se)return;Se=Se.filter(Oe=>-1===Me.indexOf(Oe)),0===Se.length?(this.headers.delete(X),this.normalizedNames.delete(X)):this.headers.set(X,Se)}else this.headers.delete(X),this.normalizedNames.delete(X)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(X=>Q(this.normalizedNames.get(X),this.headers.get(X)))}}class z{encodeKey(Q){return ie(Q)}encodeValue(Q){return ie(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ie(me){return encodeURIComponent(me).replace(q,(Q,X)=>{var we;return null!==(we=J[X])&&void 0!==we?we:Q})}function ee(me){return`${me}`}class re{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new z,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function V(me,Q){const X=new Map;return me.length>0&&me.replace(/^\?/,"").split("&").forEach(ye=>{const Me=ye.indexOf("="),[Se,Oe]=-1==Me?[Q.decodeKey(ye),""]:[Q.decodeKey(ye.slice(0,Me)),Q.decodeValue(ye.slice(Me+1))],ut=X.get(Se)||[];ut.push(Oe),X.set(Se,ut)}),X}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(X=>{const we=Q.fromObject[X];this.map.set(X,Array.isArray(we)?we:[we])})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const X=this.map.get(Q);return X?X[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,X){return this.clone({param:Q,value:X,op:"a"})}appendAll(Q){const X=[];return Object.keys(Q).forEach(we=>{const ye=Q[we];Array.isArray(ye)?ye.forEach(Me=>{X.push({param:we,value:Me,op:"a"})}):X.push({param:we,value:ye,op:"a"})}),this.clone(X)}set(Q,X){return this.clone({param:Q,value:X,op:"s"})}delete(Q,X){return this.clone({param:Q,value:X,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const X=this.encoder.encodeKey(Q);return this.map.get(Q).map(we=>X+"="+this.encoder.encodeValue(we)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const X=new re({encoder:this.encoder});return X.cloneFrom=this.cloneFrom||this,X.updates=(this.updates||[]).concat(Q),X}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const X=("a"===Q.op?this.map.get(Q.param):void 0)||[];X.push(ee(Q.value)),this.map.set(Q.param,X);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let we=this.map.get(Q.param)||[];const ye=we.indexOf(ee(Q.value));-1!==ye&&we.splice(ye,1),we.length>0?this.map.set(Q.param,we):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class Ae{constructor(){this.map=new Map}set(Q,X){return this.map.set(Q,X),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function ft(me){return"undefined"!=typeof ArrayBuffer&&me instanceof ArrayBuffer}function _t(me){return"undefined"!=typeof Blob&&me instanceof Blob}function Ue(me){return"undefined"!=typeof FormData&&me instanceof FormData}class Tt{constructor(Q,X,we,ye){let Me;if(this.url=X,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function He(me){switch(me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==we?we:null,Me=ye):Me=we,Me&&(this.reportProgress=!!Me.reportProgress,this.withCredentials=!!Me.withCredentials,Me.responseType&&(this.responseType=Me.responseType),Me.headers&&(this.headers=Me.headers),Me.context&&(this.context=Me.context),Me.params&&(this.params=Me.params)),this.headers||(this.headers=new F),this.context||(this.context=new Ae),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=X;else{const Oe=X.indexOf("?");this.urlWithParams=X+(-1===Oe?"?":OeZt.set(ct,Q.setHeaders[ct]),Yt)),Q.setParams&&(at=Object.keys(Q.setParams).reduce((Zt,ct)=>Zt.set(ct,Q.setParams[ct]),at)),new Tt(we,ye,Se,{params:at,headers:Yt,context:jn,reportProgress:ut,responseType:Me,withCredentials:Oe})}}var Ze=(()=>((Ze=Ze||{})[Ze.Sent=0]="Sent",Ze[Ze.UploadProgress=1]="UploadProgress",Ze[Ze.ResponseHeader=2]="ResponseHeader",Ze[Ze.DownloadProgress=3]="DownloadProgress",Ze[Ze.Response=4]="Response",Ze[Ze.User=5]="User",Ze))();class oe{constructor(Q,X=200,we="OK"){this.headers=Q.headers||new F,this.status=void 0!==Q.status?Q.status:X,this.statusText=Q.statusText||we,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends oe{constructor(Q={}){super(Q),this.type=Ze.ResponseHeader}clone(Q={}){return new ue({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class de extends oe{constructor(Q={}){super(Q),this.type=Ze.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new de({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class le extends oe{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function be(me,Q){return{body:Q,headers:me.headers,context:me.context,observe:me.observe,params:me.params,reportProgress:me.reportProgress,responseType:me.responseType,withCredentials:me.withCredentials}}let se=(()=>{class me{constructor(X){this.handler=X}request(X,we,ye={}){let Me;if(X instanceof Tt)Me=X;else{let ut,Yt;ut=ye.headers instanceof F?ye.headers:new F(ye.headers),ye.params&&(Yt=ye.params instanceof re?ye.params:new re({fromObject:ye.params})),Me=new Tt(X,we,void 0!==ye.body?ye.body:null,{headers:ut,context:ye.context,params:Yt,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials})}const Se=(0,I.of)(Me).pipe((0,R.b)(ut=>this.handler.handle(ut)));if(X instanceof Tt||"events"===ye.observe)return Se;const Oe=Se.pipe((0,O.h)(ut=>ut instanceof de));switch(ye.observe||"body"){case"body":switch(Me.responseType){case"arraybuffer":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body}));case"blob":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body}));case"text":return Oe.pipe((0,$.U)(ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body}));default:return Oe.pipe((0,$.U)(ut=>ut.body))}case"response":return Oe;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(X,we={}){return this.request("DELETE",X,we)}get(X,we={}){return this.request("GET",X,we)}head(X,we={}){return this.request("HEAD",X,we)}jsonp(X,we){return this.request("JSONP",X,{params:(new re).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,we={}){return this.request("OPTIONS",X,we)}patch(X,we,ye={}){return this.request("PATCH",X,be(ye,we))}post(X,we,ye={}){return this.request("POST",X,be(ye,we))}put(X,we,ye={}){return this.request("PUT",X,be(ye,we))}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(U))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();class et{constructor(Q,X){this.next=Q,this.interceptor=X}handle(Q){return this.interceptor.intercept(Q,this.next)}}const At=new u.OlP("HTTP_INTERCEPTORS");let Ii=(()=>{class me{intercept(X,we){return we.handle(X)}}return me.\u0275fac=function(X){return new(X||me)},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();const Cn=/^\)\]\}',?\n/;let no=(()=>{class me{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new L.y(we=>{const ye=this.xhrFactory.build();if(ye.open(X.method,X.urlWithParams),X.withCredentials&&(ye.withCredentials=!0),X.headers.forEach((ct,Re)=>ye.setRequestHeader(ct,Re.join(","))),X.headers.has("Accept")||ye.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const ct=X.detectContentTypeHeader();null!==ct&&ye.setRequestHeader("Content-Type",ct)}if(X.responseType){const ct=X.responseType.toLowerCase();ye.responseType="json"!==ct?ct:"text"}const Me=X.serializeBody();let Se=null;const Oe=()=>{if(null!==Se)return Se;const ct=ye.statusText||"OK",Re=new F(ye.getAllResponseHeaders()),cn=function ri(me){return"responseURL"in me&&me.responseURL?me.responseURL:/^X-Request-URL:/m.test(me.getAllResponseHeaders())?me.getResponseHeader("X-Request-URL"):null}(ye)||X.url;return Se=new ue({headers:Re,status:ye.status,statusText:ct,url:cn}),Se},ut=()=>{let{headers:ct,status:Re,statusText:cn,url:vt}=Oe(),Jt=null;204!==Re&&(Jt=void 0===ye.response?ye.responseText:ye.response),0===Re&&(Re=Jt?200:0);let Tn=Re>=200&&Re<300;if("json"===X.responseType&&"string"==typeof Jt){const ln=Jt;Jt=Jt.replace(Cn,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(En){Jt=ln,Tn&&(Tn=!1,Jt={error:En,text:Jt})}}Tn?(we.next(new de({body:Jt,headers:ct,status:Re,statusText:cn,url:vt||void 0})),we.complete()):we.error(new le({error:Jt,headers:ct,status:Re,statusText:cn,url:vt||void 0}))},Yt=ct=>{const{url:Re}=Oe(),cn=new le({error:ct,status:ye.status||0,statusText:ye.statusText||"Unknown Error",url:Re||void 0});we.error(cn)};let at=!1;const jn=ct=>{at||(we.next(Oe()),at=!0);let Re={type:Ze.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(Re.total=ct.total),"text"===X.responseType&&!!ye.responseText&&(Re.partialText=ye.responseText),we.next(Re)},Zt=ct=>{let Re={type:Ze.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(Re.total=ct.total),we.next(Re)};return ye.addEventListener("load",ut),ye.addEventListener("error",Yt),ye.addEventListener("timeout",Yt),ye.addEventListener("abort",Yt),X.reportProgress&&(ye.addEventListener("progress",jn),null!==Me&&ye.upload&&ye.upload.addEventListener("progress",Zt)),ye.send(Me),we.next({type:Ze.Sent}),()=>{ye.removeEventListener("error",Yt),ye.removeEventListener("abort",Yt),ye.removeEventListener("load",ut),ye.removeEventListener("timeout",Yt),X.reportProgress&&(ye.removeEventListener("progress",jn),null!==Me&&ye.upload&&ye.upload.removeEventListener("progress",Zt)),ye.readyState!==ye.DONE&&ye.abort()}})}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(b.JF))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})();const is=new u.OlP("XSRF_COOKIE_NAME"),ns=new u.OlP("XSRF_HEADER_NAME");class os{}let Mo=(()=>{class me{constructor(X,we,ye){this.doc=X,this.platform=we,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(b.K0),u.LFG(u.Lbi),u.LFG(is))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),oo=(()=>{class me{constructor(X,we){this.tokenService=X,this.headerName=we}intercept(X,we){const ye=X.url.toLowerCase();if("GET"===X.method||"HEAD"===X.method||ye.startsWith("http://")||ye.startsWith("https://"))return we.handle(X);const Me=this.tokenService.getToken();return null!==Me&&!X.headers.has(this.headerName)&&(X=X.clone({headers:X.headers.set(this.headerName,Me)})),we.handle(X)}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(os),u.LFG(ns))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),xo=(()=>{class me{constructor(X,we){this.backend=X,this.injector=we,this.chain=null}handle(X){if(null===this.chain){const we=this.injector.get(At,[]);this.chain=we.reduceRight((ye,Me)=>new et(ye,Me),this.backend)}return this.chain.handle(X)}}return me.\u0275fac=function(X){return new(X||me)(u.LFG(j),u.LFG(u.zs3))},me.\u0275prov=u.Yz7({token:me,factory:me.\u0275fac}),me})(),aa=(()=>{class me{static disable(){return{ngModule:me,providers:[{provide:oo,useClass:Ii}]}}static withOptions(X={}){return{ngModule:me,providers:[X.cookieName?{provide:is,useValue:X.cookieName}:[],X.headerName?{provide:ns,useValue:X.headerName}:[]]}}}return me.\u0275fac=function(X){return new(X||me)},me.\u0275mod=u.oAB({type:me}),me.\u0275inj=u.cJS({providers:[oo,{provide:At,useExisting:oo,multi:!0},{provide:os,useClass:Mo},{provide:is,useValue:"XSRF-TOKEN"},{provide:ns,useValue:"X-XSRF-TOKEN"}]}),me})(),_i=(()=>{class me{}return me.\u0275fac=function(X){return new(X||me)},me.\u0275mod=u.oAB({type:me}),me.\u0275inj=u.cJS({providers:[se,{provide:U,useClass:xo},no,{provide:j,useExisting:no}],imports:[[aa.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),me})()},5e3:(N,G,v)=>{"use strict";v.d(G,{deG:()=>B0,tb:()=>W_,AFp:()=>U_,ip1:()=>Tc,CZH:()=>Zs,hGG:()=>mS,z2F:()=>qr,sBO:()=>hS,Sil:()=>Ec,_Vd:()=>Ni,EJc:()=>Y_,SBq:()=>Ks,qLn:()=>_n,vpe:()=>Ln,tBr:()=>ul,XFs:()=>We,OlP:()=>zt,zs3:()=>On,ZZ4:()=>kc,aQg:()=>ea,soG:()=>Iu,YKP:()=>lf,h0i:()=>jr,PXZ:()=>oy,R0b:()=>Vi,FiY:()=>_s,Lbi:()=>$_,g9A:()=>q_,n_E:()=>$s,Qsj:()=>KA,FYo:()=>rf,JOm:()=>rt,q3G:()=>Kt,tp0:()=>Sa,Rgc:()=>_c,dDg:()=>J_,GfV:()=>sr,s_b:()=>Cu,ifc:()=>Me,eFA:()=>EC,G48:()=>MC,Gpc:()=>z,f3M:()=>kw,_c5:()=>Ay,VLi:()=>ty,c2e:()=>Pf,zSh:()=>jl,wAp:()=>Ke,vHH:()=>ie,EiD:()=>Nw,mCW:()=>bs,qzn:()=>Ma,JVY:()=>wT,pB0:()=>CT,eBb:()=>vT,L6k:()=>bT,LAX:()=>AT,cg1:()=>Br,kL8:()=>nA,yhl:()=>Hw,dqk:()=>at,sIi:()=>Jo,CqO:()=>vv,QGY:()=>vm,F4k:()=>bv,RDi:()=>br,AaK:()=>U,z3N:()=>Ko,qOj:()=>Th,TTD:()=>yr,_Bn:()=>l_,xp6:()=>Ml,uIk:()=>Yl,ekj:()=>Lh,Suo:()=>Tf,Xpm:()=>la,lG2:()=>Lt,Yz7:()=>Ot,cJS:()=>Cn,oAB:()=>pr,Yjl:()=>Bt,Y36:()=>Ls,_UZ:()=>mv,GkF:()=>yv,BQk:()=>bm,ynx:()=>Oh,qZA:()=>wm,TgZ:()=>Ao,EpF:()=>wv,n5z:()=>yw,Ikx:()=>$h,LFG:()=>pi,$8M:()=>ol,$Z:()=>_m,NdJ:()=>Am,CRH:()=>k_,kcU:()=>lw,O4$:()=>Dp,oxw:()=>Cv,ALo:()=>bu,lcZ:()=>qs,xi3:()=>v_,Dn7:()=>A_,Hsn:()=>Em,F$t:()=>Tv,Q6J:()=>Ih,s9C:()=>Fh,VKq:()=>_u,iGM:()=>S_,MAs:()=>am,CHM:()=>Ap,oJD:()=>tg,LSH:()=>Md,Udp:()=>zh,WFA:()=>Cm,d8E:()=>zr,YNc:()=>sm,_uU:()=>Lm,Oqu:()=>Kh,hij:()=>nc,AsE:()=>Gh,Gf:()=>Cf});var b=v(8929),u=v(2654),I=v(2916),L=v(6787),R=v(2474);function O(c){for(let l in c)if(c[l]===O)return l;throw Error("Could not find renamed property on target object.")}function $(c,l){for(const f in l)l.hasOwnProperty(f)&&!c.hasOwnProperty(f)&&(c[f]=l[f])}function U(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(U).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const l=c.toString();if(null==l)return""+l;const f=l.indexOf("\n");return-1===f?l:l.substring(0,f)}function j(c,l){return null==c||""===c?null===l?"":l:null==l||""===l?c:c+" "+l}const F=O({__forward_ref__:O});function z(c){return c.__forward_ref__=z,c.toString=function(){return U(this())},c}function V(c){return q(c)?c():c}function q(c){return"function"==typeof c&&c.hasOwnProperty(F)&&c.__forward_ref__===z}class ie extends Error{constructor(l,f){super(function ee(c,l){return`NG0${Math.abs(c)}${l?": "+l:""}`}(l,f)),this.code=l}}function re(c){return"string"==typeof c?c:null==c?"":String(c)}function Ce(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():re(c)}function _t(c,l){const f=l?` in ${l}`:"";throw new ie(-201,`No provider for ${Ce(c)} found${f}`)}function Ne(c,l){null==c&&function Je(c,l,f,p){throw new Error(`ASSERTION ERROR: ${c}`+(null==p?"":` [Expected=> ${f} ${p} ${l} <=Actual]`))}(l,c,null,"!=")}function Ot(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function Cn(c){return{providers:c.providers||[],imports:c.imports||[]}}function ri(c){return no(c,Mo)||no(c,xo)}function no(c,l){return c.hasOwnProperty(l)?c[l]:null}function os(c){return c&&(c.hasOwnProperty(oo)||c.hasOwnProperty($u))?c[oo]:null}const Mo=O({\u0275prov:O}),oo=O({\u0275inj:O}),xo=O({ngInjectableDef:O}),$u=O({ngInjectorDef:O});var We=(()=>((We=We||{})[We.Default=0]="Default",We[We.Host=1]="Host",We[We.Self=2]="Self",We[We.SkipSelf=4]="SkipSelf",We[We.Optional=8]="Optional",We))();let aa;function Oi(c){const l=aa;return aa=c,l}function ca(c,l,f){const p=ri(c);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&We.Optional?null:void 0!==l?l:void _t(U(c),"Injector")}function Q(c){return{toString:c}.toString()}var X=(()=>((X=X||{})[X.OnPush=0]="OnPush",X[X.Default=1]="Default",X))(),Me=(()=>{return(c=Me||(Me={}))[c.Emulated=0]="Emulated",c[c.None=2]="None",c[c.ShadowDom=3]="ShadowDom",Me;var c})();const Se="undefined"!=typeof globalThis&&globalThis,Oe="undefined"!=typeof window&&window,ut="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,at=Se||"undefined"!=typeof global&&global||Oe||ut,ct={},Re=[],cn=O({\u0275cmp:O}),vt=O({\u0275dir:O}),Jt=O({\u0275pipe:O}),Tn=O({\u0275mod:O}),ln=O({\u0275fac:O}),En=O({__NG_ELEMENT_ID__:O});let hp=0;function la(c){return Q(()=>{const f={},p={type:c.type,providersResolver:null,decls:c.decls,vars:c.vars,factory:null,template:c.template||null,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:c.exportAs||null,onPush:c.changeDetection===X.OnPush,directiveDefs:null,pipeDefs:null,selectors:c.selectors||Re,viewQuery:c.viewQuery||null,features:c.features||null,data:c.data||{},encapsulation:c.encapsulation||Me.Emulated,id:"c",styles:c.styles||Re,_:null,setInput:null,schemas:c.schemas||null,tView:null},m=c.directives,_=c.features,y=c.pipes;return p.id+=hp++,p.inputs=C(c.inputs,f),p.outputs=C(c.outputs),_&&_.forEach(w=>w(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(rs):null,p.pipeDefs=y?()=>("function"==typeof y?y():y).map(Sn):null,p})}function rs(c){return si(c)||function je(c){return c[vt]||null}(c)}function Sn(c){return function un(c){return c[Jt]||null}(c)}const Lc={};function pr(c){return Q(()=>{const l={type:c.type,bootstrap:c.bootstrap||Re,declarations:c.declarations||Re,imports:c.imports||Re,exports:c.exports||Re,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null};return null!=c.id&&(Lc[c.id]=c.type),l})}function C(c,l){if(null==c)return ct;const f={};for(const p in c)if(c.hasOwnProperty(p)){let m=c[p],_=m;Array.isArray(m)&&(_=m[1],m=m[0]),f[m]=p,l&&(l[m]=_)}return f}const Lt=la;function Bt(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,onDestroy:c.type.prototype.ngOnDestroy||null}}function si(c){return c[cn]||null}function ai(c,l){const f=c[Tn]||null;if(!f&&!0===l)throw new Error(`Type ${U(c)} does not have '\u0275mod' property.`);return f}function Fi(c){return Array.isArray(c)&&"object"==typeof c[1]}function Ui(c){return Array.isArray(c)&&!0===c[1]}function jc(c){return 0!=(8&c.flags)}function Vc(c){return 2==(2&c.flags)}function ls(c){return 1==(1&c.flags)}function hn(c){return null!==c.template}function Yu(c){return 0!=(512&c[2])}function Gn(c,l){return c.hasOwnProperty(ln)?c[ln]:null}class Zu{constructor(l,f,p){this.previousValue=l,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function yr(){return us}function us(c){return c.type.prototype.ngOnChanges&&(c.setInput=yp),fa}function fa(){const c=pa(this),l=null==c?void 0:c.current;if(l){const f=c.previous;if(f===ct)c.previous=l;else for(let p in l)f[p]=l[p];c.current=null,this.ngOnChanges(l)}}function yp(c,l,f,p){const m=pa(c)||function Gc(c,l){return c[ds]=l}(c,{previous:ct,current:null}),_=m.current||(m.current={}),y=m.previous,w=this.declaredInputs[f],T=y[w];_[w]=new Zu(T&&T.currentValue,l,y===ct),c[p]=l}yr.ngInherit=!0;const ds="__ngSimpleChanges__";function pa(c){return c[ds]||null}let wr;function br(c){wr=c}function hs(){return void 0!==wr?wr:"undefined"!=typeof document?document:void 0}function Ft(c){return!!c.listen}const k={createRenderer:(c,l)=>hs()};function E(c){for(;Array.isArray(c);)c=c[0];return c}function ae(c,l){return E(l[c])}function ge(c,l){return E(l[c.index])}function kt(c,l){return c.data[l]}function Ve(c,l){return c[l]}function Xe(c,l){const f=l[c];return Fi(f)?f:f[0]}function ot(c){return 4==(4&c[2])}function qt(c){return 128==(128&c[2])}function xt(c,l){return null==l?null:c[l]}function Io(c){c[18]=0}function ti(c,l){c[5]+=l;let f=c,p=c[3];for(;null!==p&&(1===l&&1===f[5]||-1===l&&0===f[5]);)p[5]+=l,f=p,p=p[3]}const Be={lFrame:sw(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function vp(){return Be.bindingsEnabled}function fe(){return Be.lFrame.lView}function pt(){return Be.lFrame.tView}function Ap(c){return Be.lFrame.contextLView=c,c[8]}function ii(){let c=Cp();for(;null!==c&&64===c.type;)c=c.parent;return c}function Cp(){return Be.lFrame.currentTNode}function ci(c,l){const f=Be.lFrame;f.currentTNode=c,f.isParent=l}function Tp(){return Be.lFrame.isParent}function Oo(){Be.lFrame.isParent=!1}function id(){return Be.isInCheckNoChangesMode}function nd(c){Be.isInCheckNoChangesMode=c}function zi(){const c=Be.lFrame;let l=c.bindingRootIndex;return-1===l&&(l=c.bindingRootIndex=c.tView.bindingStartIndex),l}function vr(){return Be.lFrame.bindingIndex++}function Fo(c){const l=Be.lFrame,f=l.bindingIndex;return l.bindingIndex=l.bindingIndex+c,f}function x0(c,l){const f=Be.lFrame;f.bindingIndex=f.bindingRootIndex=c,Sp(l)}function Sp(c){Be.lFrame.currentDirectiveIndex=c}function kp(c){const l=Be.lFrame.currentDirectiveIndex;return-1===l?null:c[l]}function nw(){return Be.lFrame.currentQueryIndex}function Dn(c){Be.lFrame.currentQueryIndex=c}function ps(c){const l=c[1];return 2===l.type?l.declTNode:1===l.type?c[6]:null}function ow(c,l,f){if(f&We.SkipSelf){let m=l,_=c;for(;!(m=m.parent,null!==m||f&We.Host||(m=ps(_),null===m||(_=_[15],10&m.type))););if(null===m)return!1;l=m,c=_}const p=Be.lFrame=rw();return p.currentTNode=l,p.lView=c,!0}function od(c){const l=rw(),f=c[1];Be.lFrame=l,l.currentTNode=f.firstChild,l.lView=c,l.tView=f,l.contextLView=c,l.bindingIndex=f.bindingStartIndex,l.inI18n=!1}function rw(){const c=Be.lFrame,l=null===c?null:c.child;return null===l?sw(c):l}function sw(c){const l={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:c,child:null,inI18n:!1};return null!==c&&(c.child=l),l}function aw(){const c=Be.lFrame;return Be.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const cw=aw;function gs(){const c=aw();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function Di(){return Be.lFrame.selectedIndex}function Un(c){Be.lFrame.selectedIndex=c}function $t(){const c=Be.lFrame;return kt(c.tView,c.selectedIndex)}function Dp(){Be.lFrame.currentNamespace="svg"}function lw(){!function I0(){Be.lFrame.currentNamespace=null}()}function zo(c,l){for(let f=l.directiveStart,p=l.directiveEnd;f=p)break}else l[T]<0&&(c[18]+=65536),(w<_||-1==_)&&(yt(c,f,l,T),c[18]=(4294901760&c[18])+T+2),T++}function yt(c,l,f,p){const m=f[p]<0,_=f[p+1],w=c[m?-f[p]:f[p]];if(m){if(c[2]>>11>16&&(3&c[2])===l){c[2]+=2048;try{_.call(w)}finally{}}}else try{_.call(w)}finally{}}class ya{constructor(l,f,p){this.factory=l,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function Zc(c,l,f){const p=Ft(c);let m=0;for(;ml){y=_-1;break}}}for(;_>16}(c),p=l;for(;f>0;)p=p[15],f--;return p}let Xc=!0;function Jc(c){const l=Xc;return Xc=c,l}let Op=0;function ba(c,l){const f=el(c,l);if(-1!==f)return f;const p=l[1];p.firstCreatePass&&(c.injectorIndex=l.length,dd(p.data,c),dd(l,null),dd(p.blueprint,null));const m=tl(c,l),_=c.injectorIndex;if(hw(m)){const y=wa(m),w=Bo(m,l),T=w[1].data;for(let D=0;D<8;D++)l[_+D]=w[y+D]|T[y+D]}return l[_+8]=m,_}function dd(c,l){c.push(0,0,0,0,0,0,0,0,l)}function el(c,l){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===l[c.injectorIndex+8]?-1:c.injectorIndex}function tl(c,l){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let f=0,p=null,m=l;for(;null!==m;){const _=m[1],y=_.type;if(p=2===y?_.declTNode:1===y?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function il(c,l,f){!function Hp(c,l,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(En)&&(p=f[En]),null==p&&(p=f[En]=Op++);const m=255&p;l.data[c+(m>>5)]|=1<=0?255&l:z0:l}(f);if("function"==typeof _){if(!ow(l,c,p))return p&We.Host?Mn(m,f,p):gw(l,f,p,m);try{const y=_(p);if(null!=y||p&We.Optional)return y;_t(f)}finally{cw()}}else if("number"==typeof _){let y=null,w=el(c,l),T=-1,D=p&We.Host?l[16][6]:null;for((-1===w||p&We.SkipSelf)&&(T=-1===w?tl(c,l):l[w+8],-1!==T&&fd(p,!1)?(y=l[1],w=wa(T),l=Bo(T,l)):w=-1);-1!==w;){const M=l[1];if(hd(_,w,M.data)){const B=_w(w,l,f,y,p,D);if(B!==mw)return B}T=l[w+8],-1!==T&&fd(p,l[1].data[w+8]===D)&&hd(_,w,l)?(y=M,w=wa(T),l=Bo(T,l)):w=-1}}}return gw(l,f,p,m)}const mw={};function z0(){return new ni(ii(),fe())}function _w(c,l,f,p,m,_){const y=l[1],w=y.data[c+8],M=nl(w,y,f,null==p?Vc(w)&&Xc:p!=y&&0!=(3&w.type),m&We.Host&&_===w);return null!==M?ao(l,y,M,w):mw}function nl(c,l,f,p,m){const _=c.providerIndexes,y=l.data,w=1048575&_,T=c.directiveStart,M=_>>20,W=m?w+M:c.directiveEnd;for(let ne=p?w:w+M;ne=T&&ce.type===f)return ne}if(m){const ne=y[T];if(ne&&hn(ne)&&ne.type===f)return T}return null}function ao(c,l,f,p){let m=c[f];const _=l.data;if(function xp(c){return c instanceof ya}(m)){const y=m;y.resolving&&function Ae(c,l){const f=l?`. Dependency path: ${l.join(" > ")} > ${c}`:"";throw new ie(-200,`Circular dependency in DI detected for ${c}${f}`)}(Ce(_[f]));const w=Jc(y.canSeeViewProviders);y.resolving=!0;const T=y.injectImpl?Oi(y.injectImpl):null;ow(c,p,We.Default);try{m=c[f]=y.factory(void 0,_,c,p),l.firstCreatePass&&f>=p.directiveStart&&function O0(c,l,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:_}=l.type.prototype;if(p){const y=us(l);(f.preOrderHooks||(f.preOrderHooks=[])).push(c,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,y)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-c,m),_&&((f.preOrderHooks||(f.preOrderHooks=[])).push(c,_),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(c,_))}(f,_[f],l)}finally{null!==T&&Oi(T),Jc(w),y.resolving=!1,cw()}}return m}function hd(c,l,f){return!!(f[l+(c>>5)]&1<{const l=c.prototype.constructor,f=l[ln]||va(l),p=Object.prototype;let m=Object.getPrototypeOf(c.prototype).constructor;for(;m&&m!==p;){const _=m[ln]||va(m);if(_&&_!==f)return _;m=Object.getPrototypeOf(m)}return _=>new _})}function va(c){return q(c)?()=>{const l=va(V(c));return l&&l()}:Gn(c)}function ol(c){return function pw(c,l){if("class"===l)return c.classes;if("style"===l)return c.styles;const f=c.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function pd(c){return function(...f){if(c){const p=c(...f);for(const m in p)this[m]=p[m]}}}(l);function m(..._){if(this instanceof m)return p.apply(this,_),this;const y=new m(..._);return w.annotation=y,w;function w(T,D,M){const B=T.hasOwnProperty(jo)?T[jo]:Object.defineProperty(T,jo,{value:[]})[jo];for(;B.length<=M;)B.push(null);return(B[M]=B[M]||[]).push(y),T}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=c,m.annotationCls=m,m})}class zt{constructor(l,f){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=Ot({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const B0=new zt("AnalyzeForEntryComponents");function xn(c,l){void 0===l&&(l=c);for(let f=0;fArray.isArray(f)?co(f,l):l(f))}function ww(c,l,f){l>=c.length?c.push(f):c.splice(l,0,f)}function md(c,l){return l>=c.length-1?c.pop():c.splice(l,1)[0]}function rl(c,l){const f=[];for(let p=0;p=0?c[1|p]=f:(p=~p,function vw(c,l,f,p){let m=c.length;if(m==l)c.push(f,p);else if(1===m)c.push(p,c[0]),c[0]=f;else{for(m--,c.push(c[m-1],c[m]);m>l;)c[m]=c[m-2],m--;c[l]=f,c[l+1]=p}}(c,p,l,f)),p}function sl(c,l){const f=Ea(c,l);if(f>=0)return c[1|f]}function Ea(c,l){return function Cw(c,l,f){let p=0,m=c.length>>f;for(;m!==p;){const _=p+(m-p>>1),y=c[_<l?m=_:p=_+1}return~(m<({token:c})),-1),_s=ll(Ca("Optional"),8),Sa=ll(Ca("SkipSelf"),4);let bd,vd;function Da(c){var l;return(null===(l=function $p(){if(void 0===bd&&(bd=null,at.trustedTypes))try{bd=at.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return bd}())||void 0===l?void 0:l.createHTML(c))||c}function Pw(c){var l;return(null===(l=function Wp(){if(void 0===vd&&(vd=null,at.trustedTypes))try{vd=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return vd}())||void 0===l?void 0:l.createHTML(c))||c}class ys{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class pT extends ys{getTypeName(){return"HTML"}}class gT extends ys{getTypeName(){return"Style"}}class mT extends ys{getTypeName(){return"Script"}}class _T extends ys{getTypeName(){return"URL"}}class yT extends ys{getTypeName(){return"ResourceURL"}}function Ko(c){return c instanceof ys?c.changingThisBreaksApplicationSecurity:c}function Ma(c,l){const f=Hw(c);if(null!=f&&f!==l){if("ResourceURL"===f&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===l}function Hw(c){return c instanceof ys&&c.getTypeName()||null}function wT(c){return new pT(c)}function bT(c){return new gT(c)}function vT(c){return new mT(c)}function AT(c){return new _T(c)}function CT(c){return new yT(c)}class TT{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l=""+l;try{const f=(new window.DOMParser).parseFromString(Da(l),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(l):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class zw{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(l){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=Da(l),f;const p=this.inertDocument.createElement("body");return p.innerHTML=Da(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(l){const f=l.attributes;for(let m=f.length-1;0bs(l.trim())).join(", ")),this.buf.push(" ",y,'="',Dd(T),'"')}var c;return this.buf.push(">"),!0}endElement(l){const f=l.nodeName.toLowerCase();hl.hasOwnProperty(f)&&!Qp.hasOwnProperty(f)&&(this.buf.push(""))}chars(l){this.buf.push(Dd(l))}checkClobberedElement(l,f){if(f&&(l.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return f}}const Bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kd=/([^\#-~ |!])/g;function Dd(c){return c.replace(/&/g,"&").replace(Bw,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(kd,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(//g,">")}let pl;function Nw(c,l){let f=null;try{pl=pl||function Fw(c){const l=new zw(c);return function Go(){try{return!!(new window.DOMParser).parseFromString(Da(""),"text/html")}catch(c){return!1}}()?new TT(l):l}(c);let p=l?String(l):"";f=pl.getInertBodyElement(p);let m=5,_=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=_,_=f.innerHTML,f=pl.getInertBodyElement(p)}while(p!==_);return Da((new eg).sanitizeChildren(Ra(f)||f))}finally{if(f){const p=Ra(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Ra(c){return"content"in c&&function ST(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var Kt=(()=>((Kt=Kt||{})[Kt.NONE=0]="NONE",Kt[Kt.HTML=1]="HTML",Kt[Kt.STYLE=2]="STYLE",Kt[Kt.SCRIPT=3]="SCRIPT",Kt[Kt.URL=4]="URL",Kt[Kt.RESOURCE_URL=5]="RESOURCE_URL",Kt))();function tg(c){const l=Pa();return l?Pw(l.sanitize(Kt.HTML,c)||""):Ma(c,"HTML")?Pw(Ko(c)):Nw(hs(),re(c))}function Md(c){const l=Pa();return l?l.sanitize(Kt.URL,c)||"":Ma(c,"URL")?Ko(c):bs(re(c))}function Pa(){const c=fe();return c&&c[12]}const qw="__ngContext__";function xi(c,l){c[qw]=l}function rg(c){const l=function gl(c){return c[qw]||null}(c);return l?Array.isArray(l)?l:l.lView:null}function cg(c){return c.ngOriginalError}function _l(c,...l){c.error(...l)}class _n{constructor(){this._console=console}handleError(l){const f=this._findOriginalError(l),p=function Yw(c){return c&&c.ngErrorLogger||_l}(l);p(this._console,"ERROR",l),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(l){let f=l&&cg(l);for(;f&&cg(f);)f=cg(f);return f||null}}const Od=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(at))();function uo(c){return c instanceof Function?c():c}var rt=(()=>((rt=rt||{})[rt.Important=1]="Important",rt[rt.DashCase=2]="DashCase",rt))();function wl(c,l){return undefined(c,l)}function bl(c){const l=c[3];return Ui(l)?l[3]:l}function vl(c){return fg(c[13])}function Oa(c){return fg(c[4])}function fg(c){for(;null!==c&&!Ui(c);)c=c[4];return c}function $i(c,l,f,p,m){if(null!=p){let _,y=!1;Ui(p)?_=p:Fi(p)&&(y=!0,p=p[0]);const w=E(p);0===c&&null!==f?null==m?wg(l,f,w):ho(l,f,w,m||null,!0):1===c&&null!==f?ho(l,f,w,m||null,!0):2===c?function Gd(c,l,f){const p=Ts(c,l);p&&function tb(c,l,f,p){Ft(c)?c.removeChild(l,f,p):l.removeChild(f)}(c,p,l,f)}(l,w,y):3===c&&l.destroyNode(w),null!=_&&function Er(c,l,f,p,m){const _=f[7];_!==E(f)&&$i(l,c,p,_,m);for(let w=10;w0&&(c[f-1][4]=p[4]);const _=md(c,10+l);!function Wi(c,l){Ss(c,l,l[11],2,null,null),l[0]=null,l[6]=null}(p[1],p);const y=_[19];null!==y&&y.detachView(_[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function Bd(c,l){if(!(256&l[2])){const f=l[11];Ft(f)&&f.destroyNode&&Ss(c,l,f,3,null,null),function mg(c){let l=c[13];if(!l)return Nd(c[1],c);for(;l;){let f=null;if(Fi(l))f=l[13];else{const p=l[10];p&&(f=p)}if(!f){for(;l&&!l[4]&&l!==c;)Fi(l)&&Nd(l[1],l),l=l[3];null===l&&(l=c),Fi(l)&&Nd(l[1],l),f=l&&l[4]}l=f}}(l)}}function Nd(c,l){if(!(256&l[2])){l[2]&=-129,l[2]|=256,function yg(c,l){let f;if(null!=c&&null!=(f=c.destroyHooks))for(let p=0;p=0?p[m=D]():p[m=-D].unsubscribe(),_+=2}else{const y=p[m=f[_+1]];f[_].call(y)}if(null!==p){for(let _=m+1;__?"":m[B+1].toLowerCase();const ne=8&p?W:null;if(ne&&-1!==Ud(ne,D,0)||2&p&&D!==W){if(Pn(p))return!1;y=!0}}}}else{if(!y&&!Pn(p)&&!Pn(T))return!1;if(y&&Pn(T))continue;y=!1,p=T|1&p}}return Pn(p)||y}function Pn(c){return 0==(1&c)}function Yi(c,l,f,p){if(null===l)return-1;let m=0;if(p||!f){let _=!1;for(;m-1)for(f++;f0?'="'+w+'"':"")+"]"}else 8&p?m+="."+y:4&p&&(m+=" "+y);else""!==m&&!Pn(y)&&(l+=Va(_,m),m=""),p=y,_=_||!Pn(p);f++}return""!==m&&(l+=Va(_,m)),l}const Ye={};function Ml(c){Wd(pt(),fe(),Di()+c,id())}function Wd(c,l,f,p){if(!p)if(3==(3&l[2])){const _=c.preOrderCheckHooks;null!==_&&sd(l,_,f)}else{const _=c.preOrderHooks;null!==_&&Nt(l,_,0,f)}Un(f)}function xl(c,l){return c<<17|l<<2}function In(c){return c>>17&32767}function ks(c){return 2|c}function fo(c){return(131068&c)>>2}function po(c,l){return-131069&c|l<<2}function Ka(c){return 1|c}function Fg(c,l){const f=c.contentQueries;if(null!==f)for(let p=0;p20&&Wd(c,l,20,id()),f(p,m)}finally{Un(_)}}function Dr(c,l,f){if(jc(l)){const m=l.directiveEnd;for(let _=l.directiveStart;_0;){const f=c[--l];if("number"==typeof f&&f<0)return f}return 0})(w)!=T&&w.push(T),w.push(p,m,y)}}function Ji(c,l){null!==c.hostBindings&&c.hostBindings(1,l)}function ph(c,l){l.flags|=2,(c.components||(c.components=[])).push(l.index)}function Eb(c,l,f){if(f){if(l.exportAs)for(let p=0;p0&&$g(f)}}function $g(c){for(let p=vl(c);null!==p;p=Oa(p))for(let m=10;m0&&$g(_)}const f=c[1].components;if(null!==f)for(let p=0;p0&&$g(m)}}function WT(c,l){const f=Xe(l,c),p=f[1];(function YT(c,l){for(let f=l.length;fPromise.resolve(null))();function Bl(c){return c[7]||(c[7]=[])}function mh(c){return c.cleanup||(c.cleanup=[])}function Wg(c,l,f){return(null===c||hn(c))&&(f=function P(c){for(;Array.isArray(c);){if("object"==typeof c[1])return c;c=c[0]}return null}(f[l.index])),f[11]}function Yg(c,l){const f=c[9],p=f?f.get(_n,null):null;p&&p.handleError(l)}function _h(c,l,f,p,m){for(let _=0;_this.processProvider(w,l,f)),co([l],w=>this.processInjectorType(w,[],_)),this.records.set(Is,Qo(void 0,this));const y=this.records.get(jl);this.scope=null!=y?y.value:null,this.source=m||("object"==typeof l?null:U(l))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(l=>l.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(l,f=al,p=We.Default){this.assertNotDestroyed();const m=Sw(this),_=Oi(void 0);try{if(!(p&We.SkipSelf)){let w=this.records.get(l);if(void 0===w){const T=function tE(c){return"function"==typeof c||"object"==typeof c&&c instanceof zt}(l)&&ri(l);w=T&&this.injectableDefInScope(T)?Qo(Kl(l),$a):null,this.records.set(l,w)}if(null!=w)return this.hydrate(l,w)}return(p&We.Self?wh():this.parent).get(l,f=p&We.Optional&&f===al?null:f)}catch(y){if("NullInjectorError"===y.name){if((y[yd]=y[yd]||[]).unshift(U(l)),m)throw y;return function iT(c,l,f,p){const m=c[yd];throw l[Ew]&&m.unshift(l[Ew]),c.message=function nT(c,l,f,p=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.substr(2):c;let m=U(l);if(Array.isArray(l))m=l.map(U).join(" -> ");else if("object"==typeof l){let _=[];for(let y in l)if(l.hasOwnProperty(y)){let w=l[y];_.push(y+":"+("string"==typeof w?JSON.stringify(w):U(w)))}m=`{${_.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${c.replace(Q0,"\n ")}`}("\n"+c.message,m,f,p),c.ngTokenPath=m,c[yd]=null,c}(y,l,"R3InjectorError",this.source)}throw y}finally{Oi(_),Sw(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(l=>this.get(l))}toString(){const l=[];return this.records.forEach((p,m)=>l.push(U(m))),`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ie(205,!1)}processInjectorType(l,f,p){if(!(l=V(l)))return!1;let m=os(l);const _=null==m&&l.ngModule||void 0,y=void 0===_?l:_,w=-1!==p.indexOf(y);if(void 0!==_&&(m=os(_)),null==m)return!1;if(null!=m.imports&&!w){let M;p.push(y);try{co(m.imports,B=>{this.processInjectorType(B,f,p)&&(void 0===M&&(M=[]),M.push(B))})}finally{}if(void 0!==M)for(let B=0;Bthis.processProvider(ce,W,ne||Re))}}this.injectorDefTypes.add(y);const T=Gn(y)||(()=>new y);this.records.set(y,Qo(T,$a));const D=m.providers;if(null!=D&&!w){const M=l;co(D,B=>this.processProvider(B,M,D))}return void 0!==_&&void 0!==l.providers}processProvider(l,f,p){let m=Wa(l=V(l))?l:V(l&&l.provide);const _=function Wn(c,l,f){return zb(c)?Qo(void 0,c.useValue):Qo(Xg(c),$a)}(l);if(Wa(l)||!0!==l.multi)this.records.get(m);else{let y=this.records.get(m);y||(y=Qo(void 0,$a,!0),y.factory=()=>Up(y.multi),this.records.set(m,y)),m=l,y.multi.push(l)}this.records.set(m,_)}hydrate(l,f){return f.value===$a&&(f.value=yh,f.value=f.factory()),"object"==typeof f.value&&f.value&&function eE(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(l){if(!l.providedIn)return!1;const f=V(l.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function Kl(c){const l=ri(c),f=null!==l?l.factory:Gn(c);if(null!==f)return f;if(c instanceof zt)throw new ie(204,!1);if(c instanceof Function)return function Rr(c){const l=c.length;if(l>0)throw rl(l,"?"),new ie(204,!1);const f=function is(c){const l=c&&(c[Mo]||c[xo]);if(l){const f=function ns(c){if(c.hasOwnProperty("name"))return c.name;const l=(""+c).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(c);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),l}return null}(c);return null!==f?()=>f.factory(c):()=>new c}(c);throw new ie(204,!1)}function Xg(c,l,f){let p;if(Wa(c)){const m=V(c);return Gn(m)||Kl(m)}if(zb(c))p=()=>V(c.useValue);else if(function QT(c){return!(!c||!c.useFactory)}(c))p=()=>c.useFactory(...Up(c.deps||[]));else if(function ZT(c){return!(!c||!c.useExisting)}(c))p=()=>pi(V(c.useExisting));else{const m=V(c&&(c.useClass||c.provide));if(!function JT(c){return!!c.deps}(c))return Gn(m)||Kl(m);p=()=>new m(...Up(c.deps))}return p}function Qo(c,l,f=!1){return{factory:c,value:l,multi:f?[]:void 0}}function zb(c){return null!==c&&"object"==typeof c&&J0 in c}function Wa(c){return"function"==typeof c}let On=(()=>{class c{static create(f,p){var m;if(Array.isArray(f))return bh({name:""},p,f,"");{const _=null!==(m=f.name)&&void 0!==m?m:"";return bh({name:_},f.parent,f.providers,_)}}}return c.THROW_IF_NOT_FOUND=al,c.NULL=new Zg,c.\u0275prov=Ot({token:c,providedIn:"any",factory:()=>pi(Is)}),c.__NG_ELEMENT_ID__=-1,c})();function om(c,l){zo(rg(c)[1],ii())}function Th(c){let l=function Ch(c){return Object.getPrototypeOf(c.prototype).constructor}(c.type),f=!0;const p=[c];for(;l;){let m;if(hn(c))m=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new ie(903,"");m=l.\u0275dir}if(m){if(f){p.push(m);const y=c;y.inputs=wn(c.inputs),y.declaredInputs=wn(c.declaredInputs),y.outputs=wn(c.outputs);const w=m.hostBindings;w&&Wl(c,w);const T=m.viewQuery,D=m.contentQueries;if(T&&$b(c,T),D&&Eh(c,D),$(c.inputs,m.inputs),$(c.declaredInputs,m.declaredInputs),$(c.outputs,m.outputs),hn(m)&&m.data.animation){const M=c.data;M.animation=(M.animation||[]).concat(m.data.animation)}}const _=m.features;if(_)for(let y=0;y<_.length;y++){const w=_[y];w&&w.ngInherit&&w(c),w===Th&&(f=!1)}}l=Object.getPrototypeOf(l)}!function $l(c){let l=0,f=null;for(let p=c.length-1;p>=0;p--){const m=c[p];m.hostVars=l+=m.hostVars,m.hostAttrs=ld(m.hostAttrs,f=ld(f,m.hostAttrs))}}(p)}function wn(c){return c===ct?{}:c===Re?[]:c}function $b(c,l){const f=c.viewQuery;c.viewQuery=f?(p,m)=>{l(p,m),f(p,m)}:l}function Eh(c,l){const f=c.contentQueries;c.contentQueries=f?(p,m,_)=>{l(p,m,_),f(p,m,_)}:l}function Wl(c,l){const f=c.hostBindings;c.hostBindings=f?(p,m)=>{l(p,m),f(p,m)}:l}let Hs=null;function Za(){if(!Hs){const c=at.Symbol;if(c&&c.iterator)Hs=c.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fw(E(ht[p.index])):p.index;if(Ft(f)){let ht=null;if(!w&&T&&(ht=function fE(c,l,f,p){const m=c.cleanup;if(null!=m)for(let _=0;_T?w[T]:null}"string"==typeof y&&(_+=2)}return null}(c,l,m,p.index)),null!==ht)(ht.__ngLastListenerFn__||ht).__ngNextListenerFn__=_,ht.__ngLastListenerFn__=_,ne=!1;else{_=Tm(p,l,B,_,!1);const Mt=f.listen(Pe,m,_);W.push(_,Mt),M&&M.push(m,Le,pe,pe+1)}}else _=Tm(p,l,B,_,!0),Pe.addEventListener(m,_,y),W.push(_),M&&M.push(m,Le,pe,y)}else _=Tm(p,l,B,_,!1);const ce=p.outputs;let ve;if(ne&&null!==ce&&(ve=ce[m])){const Ee=ve.length;if(Ee)for(let Pe=0;Pe0;)l=l[15],c--;return l}(c,Be.lFrame.contextLView))[8]}(c)}function pE(c,l){let f=null;const p=function kl(c){const l=c.attrs;if(null!=l){const f=l.indexOf(5);if(0==(1&f))return l[f+1]}return null}(c);for(let m=0;m=0}function zh(c,l,f){return Ti(c,l,f,!1),zh}function Lh(c,l){return Ti(c,l,null,!0),Lh}function Ti(c,l,f,p){const m=fe(),_=pt(),y=Fo(2);_.firstUpdatePass&&function zm(c,l,f,p){const m=c.data;if(null===m[f+1]){const _=m[Di()],y=function Fm(c,l){return l>=c.expandoStartIndex}(c,f);(function Vh(c,l){return 0!=(c.flags&(l?16:32))})(_,p)&&null===l&&!y&&(l=!1),l=function _E(c,l,f,p){const m=kp(c);let _=p?l.residualClasses:l.residualStyles;if(null===m)0===(p?l.classBindings:l.styleBindings)&&(f=ic(f=Nh(null,c,l,f,p),l.attrs,p),_=null);else{const y=l.directiveStylingLast;if(-1===y||c[y]!==m)if(f=Nh(m,c,l,f,p),null===_){let T=function yE(c,l,f){const p=f?l.classBindings:l.styleBindings;if(0!==fo(p))return c[In(p)]}(c,l,p);void 0!==T&&Array.isArray(T)&&(T=Nh(null,c,l,T[1],p),T=ic(T,l.attrs,p),function wE(c,l,f,p){c[In(f?l.classBindings:l.styleBindings)]=p}(c,l,p,T))}else _=function Bh(c,l,f){let p;const m=l.directiveEnd;for(let _=1+l.directiveStylingLast;_0)&&(D=!0)}else M=f;if(m)if(0!==T){const W=In(c[w+1]);c[p+1]=xl(W,w),0!==W&&(c[W+1]=po(c[W+1],p)),c[w+1]=function cb(c,l){return 131071&c|l<<17}(c[w+1],p)}else c[p+1]=xl(w,0),0!==w&&(c[w+1]=po(c[w+1],p)),w=p;else c[p+1]=xl(T,0),0===w?w=p:c[T+1]=po(c[T+1],p),T=p;D&&(c[p+1]=ks(c[p+1])),Hr(c,M,p,!0),Hr(c,M,p,!1),function Dm(c,l,f,p,m){const _=m?c.residualClasses:c.residualStyles;null!=_&&"string"==typeof l&&Ea(_,l)>=0&&(f[p+1]=Ka(f[p+1]))}(l,M,c,p,_),y=xl(w,T),_?l.classBindings=y:l.styleBindings=y}(m,_,l,f,y,p)}}(_,c,y,p),l!==Ye&&Ai(m,y,l)&&function jv(c,l,f,p,m,_,y,w){if(!(3&l.type))return;const T=c.data,D=T[w+1];jh(function Rl(c){return 1==(1&c)}(D)?Vv(T,l,f,m,fo(D),y):void 0)||(jh(_)||function Sg(c){return 2==(2&c)}(D)&&(_=Vv(T,null,f,m,w,y)),function Ba(c,l,f,p,m){const _=Ft(c);if(l)m?_?c.addClass(f,p):f.classList.add(p):_?c.removeClass(f,p):f.classList.remove(p);else{let y=-1===p.indexOf("-")?void 0:rt.DashCase;if(null==m)_?c.removeStyle(f,p,y):f.style.removeProperty(p);else{const w="string"==typeof m&&m.endsWith("!important");w&&(m=m.slice(0,-10),y|=rt.Important),_?c.setStyle(f,p,m,y):f.style.setProperty(p,m,w?"important":"")}}}(p,y,ae(Di(),f),m,_))}(_,_.data[Di()],m,m[11],c,m[y+1]=function iu(c,l){return null==c||("string"==typeof l?c+=l:"object"==typeof c&&(c=U(Ko(c)))),c}(l,f),p,y)}function Nh(c,l,f,p,m){let _=null;const y=f.directiveEnd;let w=f.directiveStylingLast;for(-1===w?w=f.directiveStart:w++;w0;){const T=c[m],D=Array.isArray(T),M=D?T[1]:T,B=null===M;let W=f[m+1];W===Ye&&(W=B?Re:void 0);let ne=B?sl(W,p):M===p?W:void 0;if(D&&!jh(ne)&&(ne=sl(T,p)),jh(ne)&&(w=ne,y))return w;const ce=c[m+1];m=y?In(ce):fo(ce)}if(null!==l){let T=_?l.residualClasses:l.residualStyles;null!=T&&(w=sl(T,p))}return w}function jh(c){return void 0!==c}function Lm(c,l=""){const f=fe(),p=pt(),m=c+20,_=p.firstCreatePass?Ds(p,m,1,l,null):p.data[m],y=f[m]=function Al(c,l){return Ft(c)?c.createText(l):c.createTextNode(l)}(f[11],l);Es(p,f,y,_),ci(_,!1)}function Kh(c){return nc("",c,""),Kh}function nc(c,l,f){const p=fe(),m=Pr(p,c,l,f);return m!==Ye&&Yo(p,Di(),m),nc}function Gh(c,l,f,p,m){const _=fe(),y=yo(_,c,l,f,p,m);return y!==Ye&&Yo(_,Di(),y),Gh}function $h(c,l,f){const p=fe();return Ai(p,vr(),l)&&Xi(pt(),$t(),p,c,l,p[11],f,!0),$h}function zr(c,l,f){const p=fe();if(Ai(p,vr(),l)){const _=pt(),y=$t();Xi(_,y,p,c,l,Wg(kp(_.data),y,p),f,!0)}return zr}const nr=void 0;var Wm=["en",[["a","p"],["AM","PM"],nr],[["AM","PM"],nr,nr],[["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"]],nr,[["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"]],nr,[["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}",nr,"{1} 'at' {0}",nr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iA(c){const f=Math.floor(Math.abs(c)),p=c.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Lr={};function Br(c){const l=function rA(c){return c.toLowerCase().replace(/_/g,"-")}(c);let f=lc(l);if(f)return f;const p=l.split("-")[0];if(f=lc(p),f)return f;if("en"===p)return Wm;throw new Error(`Missing locale data for the locale "${c}".`)}function nA(c){return Br(c)[Ke.PluralCase]}function lc(c){return c in Lr||(Lr[c]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[c]),Lr[c]}var Ke=(()=>((Ke=Ke||{})[Ke.LocaleId=0]="LocaleId",Ke[Ke.DayPeriodsFormat=1]="DayPeriodsFormat",Ke[Ke.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ke[Ke.DaysFormat=3]="DaysFormat",Ke[Ke.DaysStandalone=4]="DaysStandalone",Ke[Ke.MonthsFormat=5]="MonthsFormat",Ke[Ke.MonthsStandalone=6]="MonthsStandalone",Ke[Ke.Eras=7]="Eras",Ke[Ke.FirstDayOfWeek=8]="FirstDayOfWeek",Ke[Ke.WeekendRange=9]="WeekendRange",Ke[Ke.DateFormat=10]="DateFormat",Ke[Ke.TimeFormat=11]="TimeFormat",Ke[Ke.DateTimeFormat=12]="DateTimeFormat",Ke[Ke.NumberSymbols=13]="NumberSymbols",Ke[Ke.NumberFormats=14]="NumberFormats",Ke[Ke.CurrencyCode=15]="CurrencyCode",Ke[Ke.CurrencySymbol=16]="CurrencySymbol",Ke[Ke.CurrencyName=17]="CurrencyName",Ke[Ke.Currencies=18]="Currencies",Ke[Ke.Directionality=19]="Directionality",Ke[Ke.PluralCase=20]="PluralCase",Ke[Ke.ExtraData=21]="ExtraData",Ke))();const uc="en-US";let lA=uc;function lu(c,l,f,p,m){if(c=V(c),Array.isArray(c))for(let _=0;_>20;if(Wa(c)||!c.multi){const ne=new ya(T,m,Ls),ce=rr(w,l,m?M:M+W,B);-1===ce?(il(ba(D,y),_,w),st(_,c,l.length),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(ne),y.push(ne)):(f[ce]=ne,y[ce]=ne)}else{const ne=rr(w,l,M+W,B),ce=rr(w,l,M,M+W),ve=ne>=0&&f[ne],Ee=ce>=0&&f[ce];if(m&&!Ee||!m&&!ve){il(ba(D,y),_,w);const Pe=function jA(c,l,f,p,m){const _=new ya(c,f,Ls);return _.multi=[],_.index=l,_.componentProviders=0,a_(_,m,p&&!f),_}(m?Jh:c_,f.length,m,p,T);!m&&Ee&&(f[ce].providerFactory=Pe),st(_,c,l.length,0),l.push(w),D.directiveStart++,D.directiveEnd++,m&&(D.providerIndexes+=1048576),f.push(Pe),y.push(Pe)}else st(_,c,ne>-1?ne:ce,a_(f[m?ce:ne],T,!m&&p));!m&&p&&Ee&&f[ce].componentProviders++}}}function st(c,l,f,p){const m=Wa(l),_=function XT(c){return!!c.useClass}(l);if(m||_){const T=(_?V(l.useClass):l).prototype.ngOnDestroy;if(T){const D=c.destroyHooks||(c.destroyHooks=[]);if(!m&&l.multi){const M=D.indexOf(f);-1===M?D.push(f,[p,T]):D[M+1].push(p,T)}else D.push(f,T)}}}function a_(c,l,f){return f&&c.componentProviders++,c.multi.push(l)-1}function rr(c,l,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function NA(c,l,f){const p=pt();if(p.firstCreatePass){const m=hn(c);lu(f,p.data,p.blueprint,m,!0),lu(l,p.data,p.blueprint,m,!1)}}(p,m?m(c):c,l)}}class tf{}class gi{resolveComponentFactory(l){throw function u_(c){const l=Error(`No component factory found for ${U(c)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=c,l}(l)}}let Ni=(()=>{class c{}return c.NULL=new gi,c})();function VA(){return Vs(ii(),fe())}function Vs(c,l){return new Ks(ge(c,l))}let Ks=(()=>{class c{constructor(f){this.nativeElement=f}}return c.__NG_ELEMENT_ID__=VA,c})();function d_(c){return c instanceof Ks?c.nativeElement:c}class rf{}let KA=(()=>{class c{}return c.__NG_ELEMENT_ID__=()=>function f_(){const c=fe(),f=Xe(ii().index,c);return function h_(c){return c[11]}(Fi(f)?f:c)}(),c})(),uu=(()=>{class c{}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:()=>null}),c})();class sr{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const gt=new sr("13.2.2"),Nr={};function du(c,l,f,p,m=!1){for(;null!==f;){const _=l[f.index];if(null!==_&&p.push(E(_)),Ui(_))for(let w=10;w<_.length;w++){const T=_[w],D=T[1].firstChild;null!==D&&du(T[1],T,D,p)}const y=f.type;if(8&y)du(c,l,f.child,p);else if(32&y){const w=wl(f,l);let T;for(;T=w();)p.push(T)}else if(16&y){const w=bg(l,f);if(Array.isArray(w))p.push(...w);else{const T=bl(l[16]);du(T[1],T,w,p,!0)}}f=m?f.projectionNext:f.next}return p}class zn{constructor(l,f){this._lView=l,this._cdRefInjectingView=f,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const l=this._lView,f=l[1];return du(f,l,f.firstChild,[])}get context(){return this._lView[8]}set context(l){this._lView[8]=l}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const l=this._lView[3];if(Ui(l)){const f=l[8],p=f?f.indexOf(this):-1;p>-1&&(Tl(l,p),md(f,p))}this._attachedToViewContainer=!1}Bd(this._lView[1],this._lView)}onDestroy(l){zl(this._lView[1],this._lView,null,l)}markForCheck(){_o(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Rb(c,l,f){nd(!0);try{Ll(c,l,f)}finally{nd(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ie(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ld(c,l){Ss(c,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new ie(902,"");this._appRef=l}}class GA extends zn{constructor(l){super(l),this._view=l}detectChanges(){xb(this._view)}checkNoChanges(){!function Pb(c){nd(!0);try{xb(c)}finally{nd(!1)}}(this._view)}get context(){return null}}class sf extends Ni{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const f=si(l);return new fu(f,this.ngModule)}}function af(c){const l=[];for(let f in c)c.hasOwnProperty(f)&&l.push({propName:c[f],templateName:f});return l}const hu=new zt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Od});class fu extends tf{constructor(l,f){super(),this.componentDef=l,this.ngModule=f,this.componentType=l.type,this.selector=function Cg(c){return c.map(Dl).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return af(this.componentDef.inputs)}get outputs(){return af(this.componentDef.outputs)}create(l,f,p,m){const _=(m=m||this.ngModule)?function pc(c,l){return{get:(f,p,m)=>{const _=c.get(f,Nr,m);return _!==Nr||p===Nr?_:l.get(f,p,m)}}}(l,m.injector):l,y=_.get(rf,k),w=_.get(uu,null),T=y.createRenderer(null,this.componentDef),D=this.componentDef.selectors[0][0]||"div",M=p?function Bg(c,l,f){if(Ft(c))return c.selectRootElement(l,f===Me.ShadowDom);let p="string"==typeof l?c.querySelector(l):l;return p.textContent="",p}(T,p,this.componentDef.encapsulation):Ha(y.createRenderer(null,this.componentDef),D,function UA(c){const l=c.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(D)),B=this.componentDef.onPush?576:528,W=function qb(c,l){return{components:[],scheduler:c||Od,clean:Ib,playerHandler:l||null,flags:0}}(),ne=Fl(0,null,null,1,0,null,null,null,null,null),ce=Ua(null,ne,W,B,null,null,y,T,w,_);let ve,Ee;od(ce);try{const Pe=function im(c,l,f,p,m,_){const y=f[1];f[20]=c;const T=Ds(y,20,2,"#host",null),D=T.mergedAttrs=l.hostAttrs;null!==D&&(Zo(T,D,!0),null!==c&&(Zc(m,c,D),null!==T.classes&&Na(m,c,T.classes),null!==T.styles&&Ag(m,c,T.styles)));const M=p.createRenderer(c,l),B=Ua(f,uh(l),null,l.onPush?64:16,f[20],T,p,M,_||null,null);return y.firstCreatePass&&(il(ba(T,f),y,l.type),ph(y,T),Sb(T,f.length,1)),Mr(f,B),f[20]=B}(M,this.componentDef,ce,y,T);if(M)if(p)Zc(T,M,["ng-version",gt.full]);else{const{attrs:pe,classes:Le}=function Tg(c){const l=[],f=[];let p=1,m=2;for(;p0&&Na(T,M,Le.join(" "))}if(Ee=kt(ne,20),void 0!==f){const pe=Ee.projection=[];for(let Le=0;LeT(y,l)),l.contentQueries){const T=ii();l.contentQueries(1,y,T.directiveStart)}const w=ii();return!_.firstCreatePass||null===l.hostBindings&&null===l.hostAttrs||(Un(w.index),Vg(f[1],w,0,w.directiveStart,w.directiveEnd,l),Ji(l,y)),y}(Pe,this.componentDef,ce,W,[om]),Rs(ne,ce,null)}finally{gs()}return new cf(this.componentType,ve,Vs(Ee,ce),ce,Ee)}}class cf extends class Xn{}{constructor(l,f,p,m,_){super(),this.location=p,this._rootLView=m,this._tNode=_,this.instance=f,this.hostView=this.changeDetectorRef=new GA(m),this.componentType=l}get injector(){return new ni(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}class jr{}class lf{}const Gs=new Map;class m_ extends jr{constructor(l,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sf(this);const p=ai(l);this._bootstrapComponents=uo(p.bootstrap),this._r3Injector=Qg(l,f,[{provide:jr,useValue:this},{provide:Ni,useValue:this.componentFactoryResolver}],U(l)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(l)}get(l,f=On.THROW_IF_NOT_FOUND,p=We.Default){return l===On||l===jr||l===Is?this:this._r3Injector.get(l,f,p)}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class uf extends lf{constructor(l){super(),this.moduleType=l,null!==ai(l)&&function mu(c){const l=new Set;!function f(p){const m=ai(p,!0),_=m.id;null!==_&&(function p_(c,l,f){if(l&&l!==f)throw new Error(`Duplicate module registered for ${c} - ${U(l)} vs ${U(l.name)}`)}(_,Gs.get(_),p),Gs.set(_,p));const y=uo(m.imports);for(const w of y)l.has(w)||(l.add(w),f(w))}(c)}(l)}create(l){return new m_(this.moduleType,l)}}function _u(c,l,f,p){return mc(fe(),zi(),c,l,f,p)}function gc(c,l){const f=c[l];return f===Ye?void 0:f}function mc(c,l,f,p,m,_){const y=l+f;return Ai(c,y,m)?Yn(c,y+1,_?p.call(_,m):p(m)):gc(c,y+1)}function yu(c,l,f,p,m,_,y,w){const T=l+f;return function Ri(c,l,f,p,m){const _=bn(c,l,f,p);return Ai(c,l+2,m)||_}(c,T,m,_,y)?Yn(c,T+3,w?p.call(w,m,_,y):p(m,_,y)):gc(c,T+3)}function bu(c,l){const f=pt();let p;const m=c+20;f.firstCreatePass?(p=function $A(c,l){if(l)for(let f=l.length-1;f>=0;f--){const p=l[f];if(c===p.name)return p}}(l,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const _=p.factory||(p.factory=Gn(p.type)),y=Oi(Ls);try{const w=Jc(!1),T=_();return Jc(w),function tv(c,l,f,p){f>=c.data.length&&(c.data[f]=null,c.blueprint[f]=null),l[f]=p}(f,fe(),m,T),T}finally{Oi(y)}}function qs(c,l,f){const p=c+20,m=fe(),_=Ve(m,p);return Eo(m,p)?mc(m,zi(),l,_.transform,f,_):_.transform(f)}function v_(c,l,f,p){const m=c+20,_=fe(),y=Ve(_,m);return Eo(_,m)?function hf(c,l,f,p,m,_,y){const w=l+f;return bn(c,w,m,_)?Yn(c,w+2,y?p.call(y,m,_):p(m,_)):gc(c,w+2)}(_,zi(),l,y.transform,f,p,y):y.transform(f,p)}function A_(c,l,f,p,m){const _=c+20,y=fe(),w=Ve(y,_);return Eo(y,_)?yu(y,zi(),l,w.transform,f,p,m,w):w.transform(f,p,m)}function Eo(c,l){return c[1].data[l].pure}function Au(c){return l=>{setTimeout(c,void 0,l)}}const Ln=class pf extends b.xQ{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,f,p){var m,_,y;let w=l,T=f||(()=>null),D=p;if(l&&"object"==typeof l){const B=l;w=null===(m=B.next)||void 0===m?void 0:m.bind(B),T=null===(_=B.error)||void 0===_?void 0:_.bind(B),D=null===(y=B.complete)||void 0===y?void 0:y.bind(B)}this.__isAsync&&(T=Au(T),w&&(w=Au(w)),D&&(D=Au(D)));const M=super.subscribe({next:w,error:T,complete:D});return l instanceof u.w&&l.add(M),M}};function YA(){return this._results[Za()]()}class $s{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=Za(),p=$s.prototype;p[f]||(p[f]=YA)}get changes(){return this._changes||(this._changes=new Ln)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,f){return this._results.reduce(l,f)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,f){const p=this;p.dirty=!1;const m=xn(l);(this._changesDetected=!function K0(c,l,f){if(c.length!==l.length)return!1;for(let p=0;p{class c{}return c.__NG_ELEMENT_ID__=C_,c})();const ZA=_c,QA=class extends ZA{constructor(l,f,p){super(),this._declarationLView=l,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(l){const f=this._declarationTContainer.tViews,p=Ua(this._declarationLView,f,l,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[19];return null!==_&&(p[19]=_.createEmbeddedView(f)),Rs(f,p,l),new zn(p)}};function C_(){return Vr(ii(),fe())}function Vr(c,l){return 4&c.type?new QA(l,c,Vs(c,l)):null}let Cu=(()=>{class c{}return c.__NG_ELEMENT_ID__=gf,c})();function gf(){return T_(ii(),fe())}const XA=Cu,mf=class extends XA{constructor(l,f,p){super(),this._lContainer=l,this._hostTNode=f,this._hostLView=p}get element(){return Vs(this._hostTNode,this._hostLView)}get injector(){return new ni(this._hostTNode,this._hostLView)}get parentInjector(){const l=tl(this._hostTNode,this._hostLView);if(hw(l)){const f=Bo(l,this._hostLView),p=wa(l);return new ni(f[1].data[p+8],f)}return new ni(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const f=_f(this._lContainer);return null!==f&&f[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,f,p){const m=l.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(l,f,p,m,_){const y=l&&!function Ta(c){return"function"==typeof c}(l);let w;if(y)w=f;else{const B=f||{};w=B.index,p=B.injector,m=B.projectableNodes,_=B.ngModuleRef}const T=y?l:new fu(si(l)),D=p||this.parentInjector;if(!_&&null==T.ngModule&&D){const B=D.get(jr,null);B&&(_=B)}const M=T.create(D,m,void 0,_);return this.insert(M.hostView,w),M}insert(l,f){const p=l._lView,m=p[1];if(function Ht(c){return Ui(c[3])}(p)){const M=this.indexOf(l);if(-1!==M)this.detach(M);else{const B=p[3],W=new mf(B,B[6],B[3]);W.detach(W.indexOf(l))}}const _=this._adjustIndex(f),y=this._lContainer;!function HT(c,l,f,p){const m=10+p,_=f.length;p>0&&(f[m-1][4]=l),p<_-10?(l[4]=f[m],ww(f,10+p,l)):(f.push(l),l[4]=null),l[3]=f;const y=l[17];null!==y&&f!==y&&function Jw(c,l){const f=c[9];l[16]!==l[3][3][16]&&(c[2]=!0),null===f?c[9]=[l]:f.push(l)}(y,l);const w=l[19];null!==w&&w.insertView(c),l[2]|=128}(m,p,y,_);const w=$o(_,y),T=p[11],D=Ts(T,y[7]);return null!==D&&function gg(c,l,f,p,m,_){p[0]=m,p[6]=l,Ss(c,p,f,1,m,_)}(m,y[6],T,p,D,w),l.attachToViewContainerRef(),ww(yf(y),_,l),l}move(l,f){return this.insert(l,f)}indexOf(l){const f=_f(this._lContainer);return null!==f?f.indexOf(l):-1}remove(l){const f=this._adjustIndex(l,-1),p=Tl(this._lContainer,f);p&&(md(yf(this._lContainer),f),Bd(p[1],p))}detach(l){const f=this._adjustIndex(l,-1),p=Tl(this._lContainer,f);return p&&null!=md(yf(this._lContainer),f)?new zn(p):null}_adjustIndex(l,f=0){return null==l?this.length+f:l}};function _f(c){return c[8]}function yf(c){return c[8]||(c[8]=[])}function T_(c,l){let f;const p=l[c.index];if(Ui(p))f=p;else{let m;if(8&c.type)m=E(p);else{const _=l[11];m=_.createComment("");const y=ge(c,l);ho(_,Ts(_,y),m,function El(c,l){return Ft(c)?c.nextSibling(l):l.nextSibling}(_,y),!1)}l[c.index]=f=qg(p,l,m,c),Mr(l,f)}return new mf(f,c,l)}class bf{constructor(l){this.queryList=l,this.matches=null}clone(){return new bf(this.queryList)}setDirty(){this.queryList.setDirty()}}class So{constructor(l=[]){this.queries=l}createEmbeddedView(l){const f=l.queries;if(null!==f){const p=null!==l.contentQueries?l.contentQueries[0]:f.length,m=[];for(let _=0;_0)p.push(y[w/2]);else{const D=_[w+1],M=l[-T];for(let B=10;B{class c{constructor(f){this.appInits=f,this.resolve=Cc,this.reject=Cc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{_.subscribe({complete:w,error:T})});f.push(y)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return c.\u0275fac=function(f){return new(f||c)(pi(Tc,8))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const U_=new zt("AppId"),Rf={provide:U_,useFactory:function yC(){return`${Pu()}${Pu()}${Pu()}`},deps:[]};function Pu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const q_=new zt("Platform Initializer"),$_=new zt("Platform ID"),W_=new zt("appBootstrapListener");let Pf=(()=>{class c{log(f){console.log(f)}warn(f){console.warn(f)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const Iu=new zt("LocaleId"),Y_=new zt("DefaultCurrencyCode");class Of{constructor(l,f){this.ngModuleFactory=l,this.componentFactories=f}}let Ec=(()=>{class c{compileModuleSync(f){return new uf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),_=uo(ai(f).declarations).reduce((y,w)=>{const T=si(w);return T&&y.push(new fu(T)),y},[]);return new Of(p,_)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();const wC=(()=>Promise.resolve(0))();function Ou(c){"undefined"==typeof Zone?wC.then(()=>{c&&c.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",c)}class Vi{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ln(!1),this.onMicrotaskEmpty=new Ln(!1),this.onStable=new Ln(!1),this.onError=new Ln(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function bC(){let c=at.requestAnimationFrame,l=at.cancelAnimationFrame;if("undefined"!=typeof Zone&&c&&l){const f=c[Zone.__symbol__("OriginalDelegate")];f&&(c=f);const p=l[Zone.__symbol__("OriginalDelegate")];p&&(l=p)}return{nativeRequestAnimationFrame:c,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function Ur(c){const l=()=>{!function aS(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(at,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,Hu(c),c.isCheckStableRunning=!0,Sc(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),Hu(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,_,y,w)=>{try{return Q_(c),f.invokeTask(m,_,y,w)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||c.shouldCoalesceRunChangeDetection)&&l(),X_(c)}},onInvoke:(f,p,m,_,y,w,T)=>{try{return Q_(c),f.invoke(m,_,y,w,T)}finally{c.shouldCoalesceRunChangeDetection&&l(),X_(c)}},onHasTask:(f,p,m,_)=>{f.hasTask(m,_),p===m&&("microTask"==_.change?(c._hasPendingMicrotasks=_.microTask,Hu(c),Sc(c)):"macroTask"==_.change&&(c.hasPendingMacrotasks=_.macroTask))},onHandleError:(f,p,m,_)=>(f.handleError(m,_),c.runOutsideAngular(()=>c.onError.emit(_)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Vi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Vi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(l,f,p){return this._inner.run(l,f,p)}runTask(l,f,p,m){const _=this._inner,y=_.scheduleEventTask("NgZoneEvent: "+m,l,Z_,Cc,Cc);try{return _.runTask(y,f,p)}finally{_.cancelTask(y)}}runGuarded(l,f,p){return this._inner.runGuarded(l,f,p)}runOutsideAngular(l){return this._outer.run(l)}}const Z_={};function Sc(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function Hu(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function Q_(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function X_(c){c._nesting--,Sc(c)}class Hf{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ln,this.onMicrotaskEmpty=new Ln,this.onStable=new Ln,this.onError=new Ln}run(l,f,p){return l.apply(f,p)}runGuarded(l,f,p){return l.apply(f,p)}runOutsideAngular(l){return l()}runTask(l,f,p,m){return l.apply(f,p)}}let J_=(()=>{class c{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Vi.assertNotInAngularZone(),Ou(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())Ou(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let _=-1;p&&p>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==_),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:_,updateCb:m})}whenStable(f,p,m){if(m&&!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(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return c.\u0275fac=function(f){return new(f||c)(pi(Vi))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})(),ey=(()=>{class c{constructor(){this._applications=new Map,Ff.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Ff.findTestabilityInTree(this,f,p)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();class vC{addToWindow(l){}findTestabilityInTree(l,f,p){return null}}function ty(c){Ff=c}let Bn,Ff=new vC;const ny=new zt("AllowMultipleToken");class oy{constructor(l,f){this.name=l,this.token=f}}function EC(c,l,f=[]){const p=`Platform: ${l}`,m=new zt(p);return(_=[])=>{let y=zf();if(!y||y.injector.get(ny,!1))if(c)c(f.concat(_).concat({provide:m,useValue:!0}));else{const w=f.concat(_).concat({provide:m,useValue:!0},{provide:jl,useValue:"platform"});!function TC(c){if(Bn&&!Bn.destroyed&&!Bn.injector.get(ny,!1))throw new ie(400,"");Bn=c.get(SC);const l=c.get(q_,null);l&&l.forEach(f=>f())}(On.create({providers:w,name:p}))}return function ry(c){const l=zf();if(!l)throw new ie(401,"");return l}()}}function zf(){return Bn&&!Bn.destroyed?Bn:null}let SC=(()=>{class c{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const w=function ay(c,l){let f;return f="noop"===c?new Hf:("zone.js"===c?void 0:c)||new Vi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==l?void 0:l.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==l?void 0:l.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),T=[{provide:Vi,useValue:w}];return w.run(()=>{const D=On.create({providers:T,parent:this.injector,name:f.moduleType.name}),M=f.create(D),B=M.injector.get(_n,null);if(!B)throw new ie(402,"");return w.runOutsideAngular(()=>{const W=w.onError.subscribe({next:ne=>{B.handleError(ne)}});M.onDestroy(()=>{Fu(this._modules,M),W.unsubscribe()})}),function kC(c,l,f){try{const p=f();return vm(p)?p.catch(m=>{throw l.runOutsideAngular(()=>c.handleError(m)),m}):p}catch(p){throw l.runOutsideAngular(()=>c.handleError(p)),p}}(B,w,()=>{const W=M.injector.get(Zs);return W.runInitializers(),W.donePromise.then(()=>(function kE(c){Ne(c,"Expected localeId to be defined"),"string"==typeof c&&(lA=c.toLowerCase().replace(/_/g,"-"))}(M.injector.get(Iu,uc)||uc),this._moduleDoBootstrap(M),M))})})}bootstrapModule(f,p=[]){const m=Lf({},p);return function AC(c,l,f){const p=new uf(f);return Promise.resolve(p)}(0,0,f).then(_=>this.bootstrapModuleFactory(_,m))}_moduleDoBootstrap(f){const p=f.injector.get(qr);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ie(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ie(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return c.\u0275fac=function(f){return new(f||c)(pi(On))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();function Lf(c,l){return Array.isArray(l)?l.reduce(Lf,c):Object.assign(Object.assign({},c),l)}let qr=(()=>{class c{constructor(f,p,m,_,y){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=_,this._initStatus=y,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const w=new I.y(D=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{D.next(this._stable),D.complete()})}),T=new I.y(D=>{let M;this._zone.runOutsideAngular(()=>{M=this._zone.onStable.subscribe(()=>{Vi.assertNotInAngularZone(),Ou(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,D.next(!0))})})});const B=this._zone.onUnstable.subscribe(()=>{Vi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{D.next(!1)}))});return()=>{M.unsubscribe(),B.unsubscribe()}});this.isStable=(0,L.T)(w,T.pipe((0,R.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ie(405,"");let m;m=f instanceof tf?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const _=function CC(c){return c.isBoundToModule}(m)?void 0:this._injector.get(jr),w=m.create(On.NULL,[],p||m.selector,_),T=w.location.nativeElement,D=w.injector.get(J_,null),M=D&&w.injector.get(ey);return D&&M&&M.registerApplication(T,D),w.onDestroy(()=>{this.detachView(w.hostView),Fu(this.components,w),M&&M.unregisterApplication(T)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new ie(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;Fu(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(W_,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return c.\u0275fac=function(f){return new(f||c)(pi(Vi),pi(On),pi(_n),pi(Ni),pi(Zs))},c.\u0275prov=Ot({token:c,factory:c.\u0275fac}),c})();function Fu(c,l){const f=c.indexOf(l);f>-1&&c.splice(f,1)}let Bf=!0;function MC(){Bf=!1}let hS=(()=>{class c{}return c.__NG_ELEMENT_ID__=uy,c})();function uy(c){return function xC(c,l,f){if(Vc(c)&&!f){const p=Xe(c.index,l);return new zn(p,p)}return 47&c.type?new zn(l[16],l):null}(ii(),fe(),16==(16&c))}class jf{constructor(){}supports(l){return Jo(l)}create(l){return new gy(l)}}const py=(c,l)=>l;class gy{constructor(l){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=l||py}forEachItem(l){let f;for(f=this._itHead;null!==f;f=f._next)l(f)}forEachOperation(l){let f=this._itHead,p=this._removalsHead,m=0,_=null;for(;f||p;){const y=!p||f&&f.currentIndex{y=this._trackByFn(m,w),null!==f&&Object.is(f.trackById,y)?(p&&(f=this._verifyReinsertion(f,w,y,m)),Object.is(f.item,w)||this._addIdentityChange(f,w)):(f=this._mismatch(f,w,y,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,f,p,m){let _;return null===l?_=this._itTail:(_=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._reinsertAfter(l,_,m)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(l.item,f)||this._addIdentityChange(l,f),this._moveAfter(l,_,m)):l=this._addAfter(new my(f,p),_,m),l}_verifyReinsertion(l,f,p,m){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==_?l=this._reinsertAfter(_,l._prev,m):l.currentIndex!=m&&(l.currentIndex=m,this._addToMoves(l,m)),l}_truncate(l){for(;null!==l;){const f=l._next;this._addToRemovals(this._unlink(l)),l=f}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(l,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const m=l._prevRemoved,_=l._nextRemoved;return null===m?this._removalsHead=_:m._nextRemoved=_,null===_?this._removalsTail=m:_._prevRemoved=m,this._insertAfter(l,f,p),this._addToMoves(l,p),l}_moveAfter(l,f,p){return this._unlink(l),this._insertAfter(l,f,p),this._addToMoves(l,p),l}_addAfter(l,f,p){return this._insertAfter(l,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,f,p){const m=null===f?this._itHead:f._next;return l._next=m,l._prev=f,null===m?this._itTail=l:m._prev=l,null===f?this._itHead=l:f._next=l,null===this._linkedRecords&&(this._linkedRecords=new Vf),this._linkedRecords.put(l),l.currentIndex=p,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const f=l._prev,p=l._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,l}_addToMoves(l,f){return l.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Vf),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,f){return l.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class my{constructor(l,f){this.item=l,this.trackById=f,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 Bu{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,l))return p;return null}remove(l){const f=l._prevDup,p=l._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Vf{constructor(){this.map=new Map}put(l){const f=l.trackById;let p=this.map.get(f);p||(p=new Bu,this.map.set(f,p)),p.add(l)}get(l,f){const m=this.map.get(l);return m?m.get(l,f):null}remove(l){const f=l.trackById;return this.map.get(f).remove(l)&&this.map.delete(f),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kf(c,l,f){const p=c.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const _=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,_)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,f){if(l){const p=l._prev;return f._next=l,f._prev=p,l._prev=f,p&&(p._next=f),l===this._mapHead&&(this._mapHead=f),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(l,f){if(this._records.has(l)){const m=this._records.get(l);this._maybeAddToChanges(m,f);const _=m._prev,y=m._next;return _&&(_._next=y),y&&(y._prev=_),m._next=null,m._prev=null,m}const p=new zC(l);return this._records.set(l,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,f){Object.is(f,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=f,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,f){l instanceof Map?l.forEach(f):Object.keys(l).forEach(p=>f(l[p],p))}}class zC{constructor(l){this.key=l,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 Uf(){return new kc([new jf])}let kc=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||Uf()),deps:[[c,new Sa,new _s]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ie(901,"")}}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:Uf}),c})();function qf(){return new ea([new Gf])}let ea=(()=>{class c{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new c(f)}static extend(f){return{provide:c,useFactory:p=>c.create(f,p||qf()),deps:[[c,new Sa,new _s]]}}find(f){const p=this.factories.find(_=>_.supports(f));if(p)return p;throw new ie(901,"")}}return c.\u0275prov=Ot({token:c,providedIn:"root",factory:qf}),c})();const wy=[new Gf],vy=new kc([new jf]),$f=new ea(wy),Ay=EC(null,"core",[{provide:$_,useValue:"unknown"},{provide:SC,deps:[On]},{provide:ey,deps:[]},{provide:Pf,deps:[]}]),Ey=[{provide:qr,useClass:qr,deps:[Vi,On,_n,Ni,Zs]},{provide:hu,deps:[Vi],useFactory:function gS(c){let l=[];return c.onStable.subscribe(()=>{for(;l.length;)l.pop()()}),function(f){l.push(f)}}},{provide:Zs,useClass:Zs,deps:[[new _s,Tc]]},{provide:Ec,useClass:Ec,deps:[]},Rf,{provide:kc,useFactory:function Cy(){return vy},deps:[]},{provide:ea,useFactory:function Ty(){return $f},deps:[]},{provide:Iu,useFactory:function to(c){return c||function Pi(){return"undefined"!=typeof $localize&&$localize.locale||uc}()},deps:[[new ul(Iu),new _s,new Sa]]},{provide:Y_,useValue:"USD"}];let mS=(()=>{class c{constructor(f){}}return c.\u0275fac=function(f){return new(f||c)(pi(qr))},c.\u0275mod=pr({type:c}),c.\u0275inj=Cn({providers:Ey}),c})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class N extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return N.\u0275fac=function(){let G;return function(b){return(G||(G=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(N)))(b||N)}}(),N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class N{constructor(){this.data=new Map}getItem(v){return this.data.get(v)}removeItem(v){this.data.delete(v)}setItem(v,b){this.data.set(v,b)}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class ReceivedTokens{}class OAuthEvent{constructor(G){this.type=G}}class OAuthSuccessEvent extends OAuthEvent{constructor(G,v=null){super(G),this.info=v}}class OAuthInfoEvent extends OAuthEvent{constructor(G,v=null){super(G),this.info=v}}class OAuthErrorEvent extends OAuthEvent{constructor(G,v,b=null){super(G),this.reason=v,this.params=b}}function b64DecodeUnicode(N){const G=N.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(G).split("").map(function(v){return"%"+("00"+v.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(N){return btoa(N).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(G){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=v=>{location.href=v},G&&Object.assign(this,G)}}class WebHttpUrlEncodingCodec{encodeKey(G){return encodeURIComponent(G)}encodeValue(G){return encodeURIComponent(G)}decodeKey(G){return decodeURIComponent(G)}decodeValue(G){return decodeURIComponent(G)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(G){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let v=this.inferHashAlgorithm(G.idTokenHeader),b=yield this.calcHash(G.accessToken,v),I=base64UrlEncode(b.substr(0,b.length/2)),L=G.idTokenClaims.at_hash.replace(/=/g,"");return I!==L&&(console.error("exptected at_hash: "+I),console.error("actual at_hash: "+L)),I===L})}inferHashAlgorithm(G){let v=G.alg;if(!v.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+v);return"sha-"+v.substr(2)}}let UrlHelperService=(()=>{class N{getHashFragmentParams(v){let b=v||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const u=b.indexOf("?");return b=b.substr(u>-1?u+1:1),this.parseQueryString(b)}parseQueryString(v){const b={};let u,I,L,R,O,$,U;if(null===v)return b;u=v.split("&");for(let j=0;j>6,I[R++]=128|63&O):O<55296||O>=57344?(I[R++]=224|O>>12,I[R++]=128|O>>6&63,I[R++]=128|63&O):(O=65536+((1023&O)<<10|1023&N.charCodeAt(++b)),I[R++]=240|O>>18,I[R++]=128|O>>12&63,I[R++]=128|O>>6&63,I[R++]=128|63&O);N=I}else{if("object"!==u)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR)}N.length>64&&(N=new Sha256(G,!0).update(N).array());var $=[],U=[];for(b=0;b<64;++b){var j=N[b]||0;$[b]=92^j,U[b]=54^j}Sha256.call(this,G,v),this.update(U),this.oKeyPad=$,this.inner=!0,this.sharedMemory=v}Sha256.prototype.update=function(N){if(!this.finalized){var G,v=typeof N;if("string"!==v){if("object"!==v)throw new Error(ERROR);if(null===N)throw new Error(ERROR);if(ARRAY_BUFFER&&N.constructor===ArrayBuffer)N=new Uint8Array(N);else if(!(Array.isArray(N)||ARRAY_BUFFER&&ArrayBuffer.isView(N)))throw new Error(ERROR);G=!0}for(var b,I,u=0,L=N.length,R=this.blocks;u>2]|=N[u]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(R[I>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=R[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var N=this.blocks,G=this.lastByteIndex;N[16]=this.block,N[G>>2]|=EXTRA[3&G],this.block=N[16],G>=56&&(this.hashed||this.hash(),N[0]=this.block,N[16]=N[1]=N[2]=N[3]=N[4]=N[5]=N[6]=N[7]=N[8]=N[9]=N[10]=N[11]=N[12]=N[13]=N[14]=N[15]=0),N[14]=this.hBytes<<3|this.bytes>>>29,N[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var $,z,J,ie,ee,re,N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=this.blocks;for($=16;$<64;++$)O[$]=O[$-16]+(((z=O[$-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+O[$-7]+(((z=O[$-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(re=G&v,$=0;$<64;$+=4)this.first?(this.is224?(J=300032,R=(z=O[0]-1413257819)-150054599<<0,b=z+24177077<<0):(J=704751109,R=(z=O[0]-210244248)-1521486534<<0,b=z+143694565<<0),this.first=!1):(R=b+(z=R+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&I^~u&L)+K[$]+O[$])<<0,b=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((J=N&G)^N&v^re))<<0),L=v+(z=L+((R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7))+(R&u^~R&I)+K[$+1]+O[$+1])<<0,v=z+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ie=b&N)^b&G^J))<<0,I=G+(z=I+((L>>>6|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7))+(L&R^~L&u)+K[$+2]+O[$+2])<<0,G=z+(((v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10))+((ee=v&b)^v&N^ie))<<0,u=N+(z=u+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&L^~I&R)+K[$+3]+O[$+3])<<0,N=z+(((G>>>2|G<<30)^(G>>>13|G<<19)^(G>>>22|G<<10))+((re=G&v)^G&b^ee))<<0;this.h0=this.h0+N<<0,this.h1=this.h1+G<<0,this.h2=this.h2+v<<0,this.h3=this.h3+b<<0,this.h4=this.h4+u<<0,this.h5=this.h5+I<<0,this.h6=this.h6+L<<0,this.h7=this.h7+R<<0},Sha256.prototype.hex=function(){this.finalize();var N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=HEX_CHARS[N>>28&15]+HEX_CHARS[N>>24&15]+HEX_CHARS[N>>20&15]+HEX_CHARS[N>>16&15]+HEX_CHARS[N>>12&15]+HEX_CHARS[N>>8&15]+HEX_CHARS[N>>4&15]+HEX_CHARS[15&N]+HEX_CHARS[G>>28&15]+HEX_CHARS[G>>24&15]+HEX_CHARS[G>>20&15]+HEX_CHARS[G>>16&15]+HEX_CHARS[G>>12&15]+HEX_CHARS[G>>8&15]+HEX_CHARS[G>>4&15]+HEX_CHARS[15&G]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[I>>28&15]+HEX_CHARS[I>>24&15]+HEX_CHARS[I>>20&15]+HEX_CHARS[I>>16&15]+HEX_CHARS[I>>12&15]+HEX_CHARS[I>>8&15]+HEX_CHARS[I>>4&15]+HEX_CHARS[15&I]+HEX_CHARS[L>>28&15]+HEX_CHARS[L>>24&15]+HEX_CHARS[L>>20&15]+HEX_CHARS[L>>16&15]+HEX_CHARS[L>>12&15]+HEX_CHARS[L>>8&15]+HEX_CHARS[L>>4&15]+HEX_CHARS[15&L];return this.is224||(O+=HEX_CHARS[R>>28&15]+HEX_CHARS[R>>24&15]+HEX_CHARS[R>>20&15]+HEX_CHARS[R>>16&15]+HEX_CHARS[R>>12&15]+HEX_CHARS[R>>8&15]+HEX_CHARS[R>>4&15]+HEX_CHARS[15&R]),O},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var N=this.h0,G=this.h1,v=this.h2,b=this.h3,u=this.h4,I=this.h5,L=this.h6,R=this.h7,O=[N>>24&255,N>>16&255,N>>8&255,255&N,G>>24&255,G>>16&255,G>>8&255,255&G,v>>24&255,v>>16&255,v>>8&255,255&v,b>>24&255,b>>16&255,b>>8&255,255&b,u>>24&255,u>>16&255,u>>8&255,255&u,I>>24&255,I>>16&255,I>>8&255,255&I,L>>24&255,L>>16&255,L>>8&255,255&L];return this.is224||O.push(R>>24&255,R>>16&255,R>>8&255,255&R),O},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var N=new ArrayBuffer(this.is224?28:32),G=new DataView(N);return G.setUint32(0,this.h0),G.setUint32(4,this.h1),G.setUint32(8,this.h2),G.setUint32(12,this.h3),G.setUint32(16,this.h4),G.setUint32(20,this.h5),G.setUint32(24,this.h6),this.is224||G.setUint32(28,this.h7),N},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var N=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(N),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(N){if("string"!=typeof N)throw new TypeError("expected string");var G,v=N,b=new Uint8Array(v.length);for(G=0;G{class N{calcHash(v,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(v)))})}toHashString2(v){let b="";for(let u of v)b+=String.fromCharCode(u);return b}toHashString(v){const b=new Uint8Array(v);let u="";for(let I of b)u+=String.fromCharCode(I);return u}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})(),OAuthService=(()=>{class N extends AuthConfig{constructor(v,b,u,I,L,R,O,$,U,j){var F;super(),this.ngZone=v,this.http=b,this.config=L,this.urlHelper=R,this.logger=O,this.crypto=$,this.dateTimeService=j,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=U,L||(L={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),I&&(this.tokenValidationHandler=I),L&&this.configure(L);try{u?this.setStorage(u):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(z){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",z)}if(this.checkLocalStorageAccessable()){const z=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==z?void 0:z.includes("MSIE "))||(null==z?void 0:z.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const v="test";try{return void 0!==window.localStorage&&(localStorage.setItem(v,v),localStorage.removeItem(v),!0)}catch(b){return!1}}configure(v){Object.assign(this,new AuthConfig,v),this.config=Object.assign({},new AuthConfig,v),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(v={},b,u=!0){let I=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(L=>{"token_received"===L.type?I=!0:"logout"===L.type&&(I=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_expires"===L.type&&(null==b||"any"===b||L.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(L=>{I&&this.refreshInternal(v,u).catch(R=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(v,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(v,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(v=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(v))}loadDiscoveryDocumentAndLogin(v=null){return this.loadDiscoveryDocumentAndTryLogin(v=v||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof v.state?v.state:""),!1))}debug(...v){this.showDebugInformation&&this.logger.debug.apply(this.logger,v)}validateUrlFromDiscoveryDocument(v){const b=[],u=this.validateUrlForHttps(v),I=this.validateUrlAgainstIssuer(v);return u||b.push("https for all urls required. Also for urls received by discovery."),I||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(v){if(!v)return!0;const b=v.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(v,b){if(!v)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(v))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(v){return!this.strictDiscoveryDocumentValidation||!v||v.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type)).subscribe(v=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const v=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}setupIdTokenTimer(){const v=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),u=this.calcTimeout(b,v);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(u)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(v,b){const u=this.dateTimeService.now();return Math.max(0,(b-v)*this.timeoutFactor-(u-v))}setStorage(v){this._storage=v,this.configChanged()}loadDiscoveryDocument(v=null){return new Promise((b,u)=>{v||((v=this.issuer||"").endsWith("/")||(v+="/"),v+=".well-known/openid-configuration"),this.validateUrlForHttps(v)?this.http.get(v).subscribe(I=>{if(!this.validateDiscoveryDocument(I))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void u("discovery_document_validation_error");this.loginUrl=I.authorization_endpoint,this.logoutUrl=I.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=I.grant_types_supported,this.issuer=I.issuer,this.tokenEndpoint=I.token_endpoint,this.userinfoEndpoint=I.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=I.jwks_uri,this.sessionCheckIFrameUrl=I.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(I),this.revocationEndpoint=I.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(L=>{const O=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:I,jwks:L});this.eventsSubject.next(O),b(O)}).catch(L=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",L)),u(L)})},I=>{this.logger.error("error loading discovery document",I),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",I)),u(I)}):u("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((v,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(u=>{this.jwks=u,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),v(u)},u=>{this.logger.error("error loading jwks",u),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",u)),b(u)}):v(null)})}validateDiscoveryDocument(v){let b;return this.skipIssuerCheck||v.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(v.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(v.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(v.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!v.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+v.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(v,b,u).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((v,b)=>{const u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:u,observe:"response",responseType:"text"}).subscribe(I=>{if(this.debug("userinfo received",JSON.stringify(I)),I.headers.get("content-type").startsWith("application/json")){let L=JSON.parse(I.body);const R=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!R.sub||L.sub!==R.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");L=Object.assign({},R,L),this._storage.setItem("id_token_claims_obj",JSON.stringify(L)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v({info:L})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),v(JSON.parse(I.body))},I=>{this.logger.error("error loading user info",I),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",I)),b(I)})})}fetchTokenUsingPasswordFlow(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:v,password:b},u)}fetchTokenUsingGrant(v,b,u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let I=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",v).set("scope",this.scope);if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(I=I.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(I=I.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))I=I.set(L,this.customQueryParams[L]);for(const L of Object.keys(b))I=I.set(L,b[L]);return u=u.set("Content-Type","application/x-www-form-urlencoded"),new Promise((L,R)=>{this.http.post(this.tokenEndpoint,I,{headers:u}).subscribe(O=>{this.debug("tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.oidc&&O.id_token&&this.processIdToken(O.id_token,O.access_token).then($=>{this.storeIdToken($),L(O)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),L(O)},O=>{this.logger.error("Error performing ${grantType} flow",O),this.eventsSubject.next(new OAuthErrorEvent("token_error",O)),R(O)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((v,b)=>{let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),I=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);I=I.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(L,this.customQueryParams[L]);this.http.post(this.tokenEndpoint,u,{headers:I}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(L=>L.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(L.id_token,L.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(R=>this.storeIdToken(R)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(R=>L)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(L))).subscribe(L=>{this.debug("refresh tokenResponse",L),this.storeAccessTokenResponse(L.access_token,L.refresh_token,L.expires_in||this.fallbackAccessTokenExpirationTimeInSec,L.scope,this.extractRecognizedCustomParameters(L)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),v(L)},L=>{this.logger.error("Error refreshing token",L),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",L)),b(L)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=v=>{const b=this.processMessageEventMessage(v);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(u=>this.debug("tryLogin during silent refresh failed",u))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(v={},b=!0){const u=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(v.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const I=this.document.getElementById(this.silentRefreshIFrameName);I&&this.document.body.removeChild(I),this.silentRefreshSubject=u.sub;const L=this.document.createElement("iframe");L.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,v).then(j=>{L.setAttribute("src",j),this.silentRefreshShowIFrame||(L.style.display="none"),this.document.body.appendChild(L)});const O=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>j instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),$=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(j=>"token_received"===j.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([O,$,U]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(j=>{if(j instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===j.type||(j=new OAuthErrorEvent("silent_refresh_error",j)),this.eventsSubject.next(j),j;return"token_received"===j.type&&(j=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(j)),j})).toPromise()}initImplicitFlowInPopup(v){return this.initLoginFlowInPopup(v)}initLoginFlowInPopup(v){return v=v||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((u,I)=>{let O,R=null;v.windowRef?v.windowRef&&!v.windowRef.closed&&(R=v.windowRef,R.location.href=b):R=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(v));const $=V=>{this.tryLogin({customHashFragment:V,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{j(),u(!0)},q=>{j(),I(q)})};R?O=window.setInterval(()=>{(!R||R.closed)&&(j(),I(new OAuthErrorEvent("popup_closed",{})))},500):I(new OAuthErrorEvent("popup_blocked",{}));const j=()=>{window.clearInterval(O),window.removeEventListener("storage",z),window.removeEventListener("message",F),null!==R&&R.close(),R=null},F=V=>{const q=this.processMessageEventMessage(V);q&&null!==q?(window.removeEventListener("storage",z),$(q)):console.log("false event firing")},z=V=>{"auth_hash"===V.key&&(window.removeEventListener("message",F),$(V.newValue))};window.addEventListener("message",F),window.addEventListener("storage",z)}))}calculatePopupFeatures(v){const b=v.height||470,u=v.width||500,I=window.screenLeft+(window.outerWidth-u)/2;return`location=no,toolbar=no,width=${u},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${I}`}processMessageEventMessage(v){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!v||!v.data||"string"!=typeof v.data)return;const u=v.data;return u.startsWith(b)?"#"+u.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=v=>{const b=v.origin.toLowerCase(),u=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),u.startsWith(b)){switch(v.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",v)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",u,"event",v)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(v=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(v=>{this.debug("token refresh after session change worked")}).catch(v=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"silently_refreshed"===v.type||"silent_refresh_timeout"===v.type||"silent_refresh_error"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(v=>{"silently_refreshed"!==v.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const v=this.document.getElementById(this.sessionCheckIFrameName);v&&this.document.body.removeChild(v);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const v=this.document.getElementById(this.sessionCheckIFrameName);v||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),v.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(v="",b="",u="",I=!1,L={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const R=this;let O;O=u||this.redirectUri;const $=yield this.createAndSaveNonce();if(v=v?$+this.config.nonceStateSeparator+encodeURIComponent(v):$,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const U=R.loginUrl.indexOf("?")>-1?"&":"?";let j=R.scope;this.oidc&&!j.match(/(^|\s)openid($|\s)/)&&(j="openid "+j);let F=R.loginUrl+U+"response_type="+encodeURIComponent(R.responseType)+"&client_id="+encodeURIComponent(R.clientId)+"&state="+encodeURIComponent(v)+"&redirect_uri="+encodeURIComponent(O)+"&scope="+encodeURIComponent(j);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,V]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",V):this._storage.setItem("PKCE_verifier",V),F+="&code_challenge="+z,F+="&code_challenge_method=S256"}b&&(F+="&login_hint="+encodeURIComponent(b)),R.resource&&(F+="&resource="+encodeURIComponent(R.resource)),R.oidc&&(F+="&nonce="+encodeURIComponent($)),I&&(F+="&prompt=none");for(const z of Object.keys(L))F+="&"+encodeURIComponent(z)+"="+encodeURIComponent(L[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return F})}initImplicitFlowInternal(v="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initImplicitFlow",L),this.inImplicitFlow=!1})}initImplicitFlow(v="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(v,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(u=>"discovery_document_loaded"===u.type)).subscribe(u=>this.initImplicitFlowInternal(v,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(v){const b=this;if(v.onTokenReceived){const u={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};v.onTokenReceived(u)}}storeAccessTokenResponse(v,b,u,I,L){if(this._storage.setItem("access_token",v),I&&!Array.isArray(I)?this._storage.setItem("granted_scopes",JSON.stringify(I.split(" "))):I&&Array.isArray(I)&&this._storage.setItem("granted_scopes",JSON.stringify(I)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),u){const R=1e3*u,$=this.dateTimeService.new().getTime()+R;this._storage.setItem("expires_at",""+$)}b&&this._storage.setItem("refresh_token",b),L&&L.forEach((R,O)=>{this._storage.setItem(O,R)})}tryLogin(v=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(v).then(b=>!0):this.tryLoginImplicitFlow(v)}parseQueryString(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):{}}tryLoginCodeFlow(v=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(v=v||{}).customHashFragment?v.customHashFragment.substring(1):window.location.search,u=this.getCodePartsFromUrl(b),I=u.code,L=u.state,R=u.session_state;if(!v.preventClearHashAfterLogin){const U=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,U)}let[O,$]=this.parseState(L);if(this.state=$,u.error){this.debug("error trying to login"),this.handleLoginError(v,u);const U=new OAuthErrorEvent("code_error",{},u);return this.eventsSubject.next(U),Promise.reject(U)}if(!v.disableNonceCheck){if(!O)return this.saveRequestedRoute(),Promise.resolve();if(!v.disableOAuth2StateCheck&&!this.validateNonce(O)){const j=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(j),Promise.reject(j)}return this.storeSessionState(R),I&&(yield this.getTokenFromCode(I,v),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const v=this._storage.getItem("requested_route");v&&history.replaceState(null,"",window.location.origin+v)}getCodePartsFromUrl(v){return v&&0!==v.length?("?"===v.charAt(0)&&(v=v.substr(1)),this.urlHelper.parseQueryString(v)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(v,b){let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",v).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let I;I=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),I?u=u.set("code_verifier",I):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(u,b)}fetchAndProcessToken(v,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const I=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+I)}return this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),new Promise((I,L)=>{if(this.customQueryParams)for(let R of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(R,this.customQueryParams[R]);this.http.post(this.tokenEndpoint,v,{headers:u}).subscribe(R=>{this.debug("refresh tokenResponse",R),this.storeAccessTokenResponse(R.access_token,R.refresh_token,R.expires_in||this.fallbackAccessTokenExpirationTimeInSec,R.scope,this.extractRecognizedCustomParameters(R)),this.oidc&&R.id_token?this.processIdToken(R.id_token,R.access_token,b.disableNonceCheck).then(O=>{this.storeIdToken(O),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",O)),console.error("Error validating tokens"),console.error(O),L(O)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(R))},R=>{console.error("Error getting token",R),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",R)),L(R)})})}tryLoginImplicitFlow(v=null){let b;b=(v=v||{}).customHashFragment?this.urlHelper.getHashFragmentParams(v.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const u=b.state;let[I,L]=this.parseState(u);if(this.state=L,b.error){this.debug("error trying to login"),this.handleLoginError(v,b);const j=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(j),Promise.reject(j)}const R=b.access_token,O=b.id_token,$=b.session_state,U=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!R||this.requestAccessToken&&!v.disableOAuth2StateCheck&&!u||this.oidc&&!O)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!$&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!v.disableNonceCheck&&!this.validateNonce(I)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(R,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,U),this.oidc?this.processIdToken(O,R,v.disableNonceCheck).then(j=>v.validationHandler?v.validationHandler({accessToken:R,idClaims:j.idTokenClaims,idToken:j.idToken,state:u}).then(F=>j):j).then(j=>(this.storeIdToken(j),this.storeSessionState($),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(v),this.inImplicitFlow=!1,!0)).catch(j=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),this.logger.error("Error validating tokens"),this.logger.error(j),Promise.reject(j))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(v),Promise.resolve(!0))}parseState(v){let b=v,u="";if(v){const I=v.indexOf(this.config.nonceStateSeparator);I>-1&&(b=v.substr(0,I),u=v.substr(I+this.config.nonceStateSeparator.length))}return[b,u]}validateNonce(v){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===v||(console.error("Validating access_token failed, wrong state/nonce.",b,v),!1)}storeIdToken(v){this._storage.setItem("id_token",v.idToken),this._storage.setItem("id_token_claims_obj",v.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+v.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(v){this._storage.setItem("session_state",v)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(v,b){v.onLoginError&&v.onLoginError(b),this.clearHashAfterLogin&&!v.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(v=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:v}processIdToken(v,b,u=!1){const I=v.split("."),R=b64DecodeUnicode(this.padBase64(I[0])),O=JSON.parse(R),U=b64DecodeUnicode(this.padBase64(I[1])),j=JSON.parse(U);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(j.aud)){if(j.aud.every(ee=>ee!==this.clientId)){const ee="Wrong audience: "+j.aud.join(",");return this.logger.warn(ee),Promise.reject(ee)}}else if(j.aud!==this.clientId){const ee="Wrong audience: "+j.aud;return this.logger.warn(ee),Promise.reject(ee)}if(!j.sub){const ee="No sub claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==j.sub){const ee=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${j.sub}`;return this.logger.warn(ee),Promise.reject(ee)}if(!j.iat){const ee="No iat claim in id_token";return this.logger.warn(ee),Promise.reject(ee)}if(!this.skipIssuerCheck&&j.iss!==this.issuer){const ee="Wrong issuer: "+j.iss;return this.logger.warn(ee),Promise.reject(ee)}if(!u&&j.nonce!==F){const ee="Wrong nonce: "+j.nonce;return this.logger.warn(ee),Promise.reject(ee)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!j.at_hash){const ee="An at_hash is needed!";return this.logger.warn(ee),Promise.reject(ee)}const z=this.dateTimeService.now(),V=1e3*j.iat,q=1e3*j.exp,J=this.getClockSkewInMsec();if(V-J>=z||q+J<=z){const ee="Token has expired";return console.error(ee),console.error({now:z,issuedAtMSec:V,expiresAtMSec:q}),Promise.reject(ee)}const ie={accessToken:b,idToken:v,jwks:this.jwks,idTokenClaims:j,idTokenHeader:O,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ie).then(ee=>({idToken:v,idTokenClaims:j,idTokenClaimsJson:U,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q})):this.checkAtHash(ie).then(ee=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ee){const re="Wrong at_hash";return this.logger.warn(re),Promise.reject(re)}return this.checkSignature(ie).then(re=>{const Ae={idToken:v,idTokenClaims:j,idTokenClaimsJson:U,idTokenHeader:O,idTokenHeaderJson:R,idTokenExpiresAt:q};return this.disableAtHashCheck?Ae:this.checkAtHash(ie).then(He=>{if(this.requestAccessToken&&!He){const ft="Wrong at_hash";return this.logger.warn(ft),Promise.reject(ft)}return Ae})})})}getIdentityClaims(){const v=this._storage.getItem("id_token_claims_obj");return v?JSON.parse(v):null}getGrantedScopes(){const v=this._storage.getItem("granted_scopes");return v?JSON.parse(v):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(v){for(;v.length%4!=0;)v+="=";return v}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const v=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(v&&parseInt(v,10)=0&&null!==this._storage.getItem(v)?JSON.parse(this._storage.getItem(v)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(v={},b=""){let u=!1;"boolean"==typeof v&&(u=v,v={});const I=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(R=>this._storage.removeItem(R)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||u||!I&&!this.postLogoutRedirectUri)return;let L;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)L=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(I)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});I&&(R=R.set("id_token_hint",I));const O=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";O&&(R=R.set("post_logout_redirect_uri",O),b&&(R=R.set("state",b)));for(let $ in v)R=R.set($,v[$]);L=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+R.toString()}this.config.openUri(L)}createAndSaveNonce(){const v=this;return this.createNonce().then(function(b){return v.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):v._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const v=this.document.getElementById(this.silentRefreshIFrameName);v&&v.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(v=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let u=45,I="";const L="undefined"==typeof self?null:self.crypto||self.msCrypto;if(L){let R=new Uint8Array(u);L.getRandomValues(R),R.map||(R.map=Array.prototype.map),R=R.map(O=>b.charCodeAt(O%b.length)),I=String.fromCharCode.apply(null,R)}else for(;0"discovery_document_loaded"===u.type)).subscribe(u=>this.initCodeFlowInternal(v,b))}initCodeFlowInternal(v="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let u={},I=null;"string"==typeof b?I=b:"object"==typeof b&&(u=b),this.createLoginUrl(v,I,null,!1,u).then(this.config.openUri).catch(L=>{console.error("Error in initAuthorizationCodeFlow"),console.error(L)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const v=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(v,"sha-256")),v]})}extractRecognizedCustomParameters(v){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(u=>{v[u]&&b.set(u,JSON.stringify(v[u]))}),b}revokeTokenAndLogout(v={},b=!1){let u=this.revocationEndpoint,I=this.getAccessToken(),L=this.getRefreshToken();if(!I)return;let R=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),O=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const $=btoa(`${this.clientId}:${this.dummyClientSecret}`);O=O.set("Authorization","Basic "+$)}if(this.useHttpBasicAuth||(R=R.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(R=R.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const $ of Object.getOwnPropertyNames(this.customQueryParams))R=R.set($,this.customQueryParams[$]);return new Promise(($,U)=>{let j,F;if(I){let z=R.set("token",I).set("token_type_hint","access_token");j=this.http.post(u,z,{headers:O})}else j=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(L){let z=R.set("token",L).set("token_type_hint","refresh_token");F=this.http.post(u,z,{headers:O})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(j=j.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(z=>0===z.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(z))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(z=>0===z.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(z)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([j,F]).subscribe(z=>{this.logOut(v),$(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),U(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(G){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(G)}}let DefaultOAuthInterceptor=(()=>{class N{constructor(v,b,u){this.oAuthService=v,this.errorHandler=b,this.moduleConfig=u}checkUrl(v){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(v):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>v.toLowerCase().startsWith(b.toLowerCase()))}intercept(v,b){const u=v.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(u)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>!!L)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(L=>"token_received"===L.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(L=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(L=>{if(L){const O=v.headers.set("Authorization","Bearer "+L);v=v.clone({headers:O})}return b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(R=>this.errorHandler.handleError(R)))})):b.handle(v).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(L=>this.errorHandler.handleError(L))):b.handle(v)}}return N.\u0275fac=function(v){return new(v||N)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},N.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:N,factory:N.\u0275fac}),N})();class NullValidationHandler{validateSignature(G){return Promise.resolve(null)}validateAtHash(G){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class N{static forRoot(v=null,b=NullValidationHandler){return{ngModule:N,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:v},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return N.\u0275fac=function(v){return new(v||N)},N.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:N}),N.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),N})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:N=>{"use strict";N.exports={i8:"6.1.0"}}},N=>{N(N.s=4159)}]); \ No newline at end of file diff --git a/dist/apps/publications/index.html b/dist/apps/publications/index.html index c15f009b9..82c6c2a0e 100644 --- a/dist/apps/publications/index.html +++ b/dist/apps/publications/index.html @@ -40,5 +40,5 @@ - + diff --git a/dist/apps/publications/main.07de3fb678a102b8.js b/dist/apps/publications/main.07de3fb678a102b8.js deleted file mode 100644 index b5ac878a5..000000000 --- a/dist/apps/publications/main.07de3fb678a102b8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkpublications=self.webpackChunkpublications||[]).push([[179],{4527:(Y,U,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends T{static makeCurrent(){(0,b.HT)(new v)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function E(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==e?null:function H(n){R=R||document.createElement("a"),R.setAttribute("href",n);const o=R.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let R,C=null;const B=new i.OlP("TRANSITION_ID"),V=[{provide:i.ip1,useFactory:function N(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let X=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const re=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Ie=(()=>{class n extends de{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Oe),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Oe))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Oe(n){(0,b.q)().remove(n)}const Ve={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/"},Pt=/%COMP%/g;function fe(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let xe=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new _i(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new Xe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=fe(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(Ie),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class he{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ve[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ve[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ve[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,_e(t)):this.eventManager.addEventListener(o,e,_e(t))}}class _i extends he{constructor(o,e,t,s){super(o),this.component=t;const a=fe(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function ft(n){return"_ngcontent-%COMP%".replace(Pt,n)}(s+"-"+t.id),this.hostAttr=function ue(n){return"_nghost-%COMP%".replace(Pt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class Xe extends he{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=fe(s.id,s.styles,[]);for(let r=0;r{class n extends ae{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Nn=["alt","control","meta","shift"],Ge={"\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"},ri={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ro={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let xn=(()=>{class n extends ae{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(Nn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function Yi(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ri.hasOwnProperty(o)&&(o=ri[o]))}return Ge[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Nn.forEach(a=>{a!=s&&Ro[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Po=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function Xs(){v.makeCurrent(),J.init()},multi:!0},{provide:b.K0,useFactory:function zr(){return(0,i.RDi)(document),document},deps:[]}]),eo=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Fr(){return new i.qLn},deps:[]},{provide:re,useClass:lt,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:re,useClass:xn,multi:!0,deps:[b.K0]},{provide:xe,useClass:xe,deps:[ee,Ie,i.AFp]},{provide:i.FYo,useExisting:xe},{provide:de,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[re,i.R0b]},{provide:b.JF,useClass:X,deps:[]}];let Lo=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},V]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:eo,imports:[b.ez,i.hGG]}),n})(),Wt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Hi(){return new Wt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let Yn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(or),t},providedIn:"root"}),n})(),or=(()=>{class n extends Yn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function sr(n){return new or(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Pe{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const yi=new i.OlP("basePath");class qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let jn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,I,W,ce="body",we=!1){let Me=new D.LE({encoder:this.encoder});null!=e&&(Me=Me.set("attributeName",e)),null!=t&&(Me=Me.set("attributeId",t)),null!=s&&(Me=Me.set("facility",s)),null!=a&&(Me=Me.set("user",a)),null!=r&&(Me=Me.set("vo",r)),null!=c&&(Me=Me.set("resource",c)),null!=d&&(Me=Me.set("member",d)),null!=h&&(Me=Me.set("group",h)),null!=g&&(Me=Me.set("host",g)),null!=I&&(Me=Me.set("userExtSource",I)),null!=W&&(Me=Me.set("key",W));let Fe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Fe=Fe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Fe=Fe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Lt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Fe=Fe.set("Authorization","Bearer "+Lt)}const Jt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Jt&&(Fe=Fe.set("Accept",Jt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:Me,withCredentials:this.configuration.withCredentials,headers:Fe,observe:ce,reportProgress:we})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",I=!1){let W=new D.LE({encoder:this.encoder});null!=e&&(W=W.set("member",e)),null!=t&&(W=W.set("user",t)),null!=s&&(W=W.set("vo",s)),null!=a&&(W=W.set("group",a)),null!=r&&(W=W.set("resource",r)),null!=c&&(W=W.set("facility",c)),null!=d&&(W=W.set("host",d)),null!=h&&(W=W.set("userExtSource",h));let ce=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(ce=ce.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(ce=ce.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Fe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;ce=ce.set("Authorization","Bearer "+Fe)}const Me=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Me&&(ce=ce.set("Accept",Me)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:W,withCredentials:this.configuration.withCredentials,headers:ce,observe:g,reportProgress:I})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(we=>{g=g.append("attributes[]",we)});let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(ce=>{h=h.append("attributes[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attributes[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}auditMessagesManagerLog(e,t="body",s=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("msg",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAuditerConsumer(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAuditerConsumers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMessages(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesByCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}pollConsumerMessages(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setLastProcessedId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e)),null!=t&&(r=r.set("lastProcessedId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(we=>{g=g.append("specificAttributes",we)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ai=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}createAutorship(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryCat(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryNR(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAuthorship(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("publicationId",e)),null!=t&&(r=r.set("userId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findAllAuthors(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findExternalPublications(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==a)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=s&&(d=d.set("yearTill",s)),null!=a&&(d=d.set("pubSysNamespace",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findNewAuthors(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationsByFilter(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let c=new D.LE({encoder:this.encoder});null!=t&&(c=c.set("yearSince",t)),null!=s&&(c=c.set("yearTill",s)),null!=e&&(c=c.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findPublicationsByGUIFilter(e,t,s,a,r,c,d,h,g,I="body",W=!1){let ce=new D.LE({encoder:this.encoder});null!=e&&(ce=ce.set("title",e)),null!=t&&(ce=ce.set("isbn",t)),null!=s&&(ce=ce.set("doi",s)),null!=a&&(ce=ce.set("id",a)),null!=r&&(ce=ce.set("year",r)),null!=c&&(ce=ce.set("category",c)),null!=d&&(ce=ce.set("yearSince",d)),null!=h&&(ce=ce.set("yearTill",h)),null!=g&&(ce=ce.set("userId",g));let we=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(we=we.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(we=we.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ht="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;we=we.set("Authorization","Bearer "+Ht)}const Fe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Fe&&(we=we.set("Accept",Fe)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:ce,withCredentials:this.configuration.withCredentials,headers:we,observe:I,reportProgress:W})}findSimilarPublications(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("title",e)),null!=t&&(c=c.set("doi",t)),null!=s&&(c=c.set("isbn",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCategories(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRank(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichThanksByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}lockPublications(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getCurrentDatabaseVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createExtSourceFromExtSourceObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createExtSourceWithNameType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSources(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}loadExtSourcesDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHost(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwners(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllowedGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedGroupsByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedRichGroupsWithAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedUsersOfFacility(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedUsersOfFacilityByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedVos(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedVosByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesByAssignedServiceForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeams(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeamsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getBansForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facilityId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getEnrichedHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByHostName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAdminUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityForHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwners(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwnersByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHosts(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCountByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerFacilities(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHostByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),It=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getFacilityAdminGroupsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("members[]",I)}),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getGroupMemberData(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ze=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("attrsNames[]",I)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(I=>{c=c.append("allowedStatuses[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(we=>{g=g.append("attrsNames[]",we)}),r&&r.forEach(we=>{g=g.append("allowedStatuses[]",we)}),c&&c.forEach(we=>{g=g.append("allowedGroupStatuses[]",we)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(ce=>{h=h.append("allowedStatuses[]",ce)}),a&&a.forEach(ce=>{h=h.append("allowedGroupStatuses[]",ce)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(ce=>{h=h.append("attrsNames[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("allowedStatuses[]",I)}),s&&s.forEach(I=>{c=c.append("attrsNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}createOwner(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllOwners(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getOwnerById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("groups[]",I)}),t&&t.forEach(I=>{c=c.append("resources[]",I)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(ce=>{h=h.append("resources[]",ce)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(ce=>{h=h.append("groups[]",ce)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(W=>{d=d.append("specificAttributes",W)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addDestination(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=s&&(h=h.set("destination",s)),null!=a&&(h=h.set("type",a)),null!=r&&(h=h.set("propagationType",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}addDestinationToMultipleServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addDestinationsForAllServicesOnFacility(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=s&&(d=d.set("type",s)),null!=a&&(d=d.set("propagationType",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}addRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addServiceToServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockServiceOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockServiceOnDestinationWithNameAndType(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}blockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==s)throw new Error("Required parameter script was null or undefined when calling createService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("name",e)),null!=t&&(c=c.set("description",t)),null!=s&&(c=c.set("script",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createServiceWithService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackageByNameAndDescription(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllDestinations(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichDestinationsForService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDataWithVos(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getDestinationsCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAssignedServicesForGUI(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFlatData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getServiceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServiceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServices(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesBlockedOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesByAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesFromServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackages(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isServiceBlockedOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}planServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllRequiredAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeDestination(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("destination",s)),null!=a&&(d=d.set("type",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServiceFromServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockServiceOnDestinationById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockServiceOnDestinationByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}unblockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ns=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}countTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}deleteTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllFacilitiesStates(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityServicesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("taskResult",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResults(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("destinations[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTaskAndDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isThereSuchTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}listAllTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}suspendTasksPropagation(e,t="body",s=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("suspend",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$t=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hs=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),no=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(ce=>{h=h.append("specificAttributes",ce)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eh=(()=>{class n{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:n,providers:[{provide:qe,useFactory:e}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12),i.LFG(D.eN,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[jn,dt,xi,ai,bi,cn,Fi,It,gn,wi,ze,mt,Gt,mn,Zt,gi,ns,$t,hs,no],imports:[[]]}),n})();var Tt=(()=>{return(n=Tt||(Tt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Tt;var n})();let oo=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER,Tt.FACILITYADMIN,Tt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Tt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Tt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Tt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOOBSERVER,Tt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const W of this.allRolesManagementRules)if(W.roleName===a){r=r.concat(W.privilegedRolesToRead),c=c.concat(W.privilegedRolesToManage);for(const ce of Object.keys(W.entitiesToManage))d="User"===ce?[ce].concat(d):d.concat(ce);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),I=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:I,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,un.D)(e):(0,Gn.c)()).subscribe(o)})}var fu=w(1762),at=w(4850),Ci=w(7545),Ut=w(2986),ao=w(2866);function Vt(...n){const o=n[n.length-1];return(0,ao.K)(o)?(n.pop(),e=>ro(n,e,o)):e=>ro(n,e)}var Ls=w(3489);function Va(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Ur(n,o,e))}}class Ur{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new qa(o,this.accumulator,this.seed,this.hasSeed))}}class qa extends Ls.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var Tn=w(7221),fs=w(1406),pu=w(4231);function _n(n){return function(e){return 0===n?(0,Gn.c)():e.lift(new rl(n))}}class rl{constructor(o){if(this.total=o,this.total<0)throw new pu.W}call(o,e){return e.subscribe(new ih(o,this.total))}}class ih extends Ls.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new O(n))}class O{constructor(o){this.callback=o}call(o,e){return e.subscribe(new $(o,this.callback))}}class $ extends Ls.L{constructor(o,e){super(o),this.add(new P.w(e))}}class ie{constructor(o,e){this.id=o,this.url=e}}class pe extends ie{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class be extends ie{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ze extends ie{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xt extends ie{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mt extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nt extends ie{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zi extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ci{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class uo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ps{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ur{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class al{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const vt="primary";class hr{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Vr(n){return new hr(n)}const cl="ngNavigationCancelingError";function Te(n){const o=Error("NavigationCancelingError: "+n);return o[cl]=!0,o}function nh(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function os(n){return Array.prototype.concat.apply([],n)}function ll(n){return n.length>0?n[n.length-1]:null}function St(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Is(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,un.D)(Promise.resolve(n)):(0,Ye.of)(n)}const Ka={exact:function ms(n,o,e){if(!fo(n.segments,o.segments)||!fr(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!ms(n.children[t],o.children[t],e))return!1;return!0},subset:oh},yn={exact:function sh(n,o){return gs(n,o)},subset:function ho(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>qr(n[e],o[e]))},ignored:()=>!0};function Os(n,o,e){return Ka[e.paths](n.root,o.root,e.matrixParams)&&yn[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function oh(n,o,e){return mu(n,o,o.segments,e)}function mu(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!fo(s,e)||o.hasChildren()||!fr(s,e,t))}if(n.segments.length===e.length){if(!fo(n.segments,e)||!fr(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!oh(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(fo(n.segments,s)&&fr(n.segments,s,t)&&n.children[vt])&&mu(n.children[vt],o,a,t)}}function fr(n,o,e){return o.every((t,s)=>yn[e](n[s].parameters,t.parameters))}class Hs{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vr(this.queryParams)),this._queryParamMap}toString(){return rh.serialize(this)}}class kt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,St(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $a(this)}}class pr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Vr(this.parameters)),this._parameterMap}toString(){return Ai(this)}}function fo(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Za{}class gr{parse(o){const e=new Ja(o);return new Hs(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${Gr(o.root,!0)}`,t=function vp(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${mr(e)}=${mr(s)}`).join("&"):`${mr(e)}=${mr(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function Ap(n){return encodeURI(n)}(o.fragment)}`:""}`}}const rh=new gr;function $a(n){return n.segments.map(o=>Ai(o)).join("/")}function Gr(n,o){if(!n.hasChildren())return $a(n);if(o){const e=n.children[vt]?Gr(n.children[vt],!1):"",t=[];return St(n.children,(s,a)=>{a!==vt&&t.push(`${a}:${Gr(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function yu(n,o){let e=[];return St(n.children,(t,s)=>{s===vt&&(e=e.concat(o(t,s)))}),St(n.children,(t,s)=>{s!==vt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===vt?[Gr(n.children[vt],!1)]:[`${s}:${Gr(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[vt]?`${$a(n)}/${e[0]}`:`${$a(n)}/(${e.join("//")})`}}function bu(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mr(n){return bu(n).replace(/%3B/gi,";")}function wu(n){return bu(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rn(n){return decodeURIComponent(n)}function po(n){return rn(n.replace(/\+/g,"%20"))}function Ai(n){return`${wu(n.path)}${function Au(n){return Object.keys(n).map(o=>`;${wu(o)}=${wu(n[o])}`).join("")}(n.parameters)}`}const ah=/^[^\/()?;=#]+/;function Ln(n){const o=n.match(ah);return o?o[0]:""}const _r=/^[^=?&#]+/,dl=/^[^&#]+/;class Ja{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kt([],{}):new kt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[vt]=new kt(o,e)),t}parseSegment(){const o=Ln(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new pr(rn(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=Ln(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=Ln(this.remaining);s&&(t=s,this.capture(t))}o[rn(e)]=rn(t)}parseQueryParam(o){const e=function ch(n){const o=n.match(_r);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function Wa(n){const o=n.match(dl);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=po(e),a=po(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Ln(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=vt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[vt]:new kt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class hl{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=fl(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=fl(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=pl(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return pl(o,this._root).map(e=>e.value)}}function fl(n,o){if(n===o.value)return o;for(const e of o.children){const t=fl(n,e);if(t)return t}return null}function pl(n,o){if(n===o.value)return[o];for(const e of o.children){const t=pl(n,e);if(t.length)return t.unshift(o),t}return[]}class bn{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Fs(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class lh extends hl{constructor(o,e){super(o),this.snapshot=e,Kr(this,o)}toString(){return this.snapshot.toString()}}function uh(n,o){const e=function Qa(n,o){const r=new vu([],{},{},"",{},vt,o,null,n.root,-1,{});return new Tp("",new bn(r,[]))}(n,o),t=new ji([new pr("",{})]),s=new ji({}),a=new ji({}),r=new ji({}),c=new ji(""),d=new In(t,s,r,c,a,vt,o,e.root);return d.snapshot=e.root,new lh(new bn(d,[]),e)}class In{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}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._paramMap=this.params.pipe((0,at.U)(o=>Vr(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,at.U)(o=>Vr(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dh(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function Cp(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class vu{constructor(o,e,t,s,a,r,c,d,h,g,I){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=I}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._paramMap=Vr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Tp extends hl{constructor(o,e){super(e),this.url=o,Kr(this,e)}toString(){return Cu(this._root)}}function Kr(n,o){o.value._routerState=n,o.children.forEach(e=>Kr(n,e))}function Cu(n){const o=n.children.length>0?` { ${n.children.map(Cu).join(", ")} } `:"";return`${n.value}${o}`}function Xa(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,gs(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),gs(o.params,e.params)||n.params.next(e.params),function qi(n,o){if(n.length!==o.length)return!1;for(let e=0;egs(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Zr(n.parent,o.parent))}function $r(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Wr(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return $r(n,t,s);return $r(n,t)})}(n,o,e);return new bn(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>$r(n,c)),r}}const t=function Mp(n){return new In(new ji(n.url),new ji(n.params),new ji(n.queryParams),new ji(n.fragment),new ji(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>$r(n,a));return new bn(t,s)}}function Qr(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function No(n){return"object"==typeof n&&null!=n&&n.outlets}function hh(n,o,e,t,s){let a={};return t&&St(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Hs(e.root===n?o:Tu(e.root,n,o),a,s)}function Tu(n,o,e){const t={};return St(n.children,(s,a)=>{t[a]=s===o?e:Tu(s,o,e)}),new kt(n.segments,t)}class gl{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&Qr(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(No);if(s&&s!==ll(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ml{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function ea(n,o,e){if(n||(n=new kt([],{})),0===n.segments.length&&n.hasChildren())return rs(n,o,e);const t=function ph(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(No(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!Su(d,h,r))return a;t+=2}else{if(!Su(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=ea(n.children[r],o,a))}),St(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new kt(n.segments,s)}}function tc(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=tc(new kt([],{}),0,e))}),o}function Mu(n){const o={};return St(n,(e,t)=>o[t]=`${e}`),o}function Su(n,o,e){return n==e.path&&gs(o,e.parameters)}class kp{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),Xa(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Fs(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),St(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Fs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Fs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Fs(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new al(a.value.snapshot))}),o.children.length&&this.forwardEvent(new it(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(Xa(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),Xa(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function _l(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class yr{constructor(o,e){this.routes=o,this.module=e}}function jo(n){return"function"==typeof n}function Uo(n){return n instanceof Hs}const zs=Symbol("INITIAL_VALUE");function Ns(){return(0,Ci.w)(n=>(0,jr.aj)(n.map(o=>o.pipe((0,Ut.q)(1),Vt(zs)))).pipe(Va((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==zs?s:(a===zs&&(t=!0),t||!1!==a&&r!==e.length-1&&!Uo(a)?s:a),o)},zs),(0,Kt.h)(o=>o!==zs),(0,at.U)(o=>Uo(o)?o:!0===o),(0,Ut.q)(1)))}class ia{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new na,this.attachRef=null}}class na{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new ia,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let sa=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||vt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new oa(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(na),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class oa{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===In?this.route:o===na?this.childContexts:this.parent.get(o,e)}}let Ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[sa],encapsulation:2}),n})();function yh(n,o=""){for(let e=0;e_s(t)===o);return e.push(...n.filter(t=>_s(t)!==o)),e}const yl={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},yl):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||nh)(e,n,o);if(!a)return Object.assign({},yl);const r={};St(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Ru(n,o,e,t,s="corrected"){if(e.length>0&&function Gi(n,o,e){return e.some(t=>go(n,o,t)&&_s(t)!==vt)}(n,e,t)){const r=new kt(o,function w_(n,o,e,t){const s={};s[vt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&_s(a)!==vt){const r=new kt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[_s(a)]=r}return s}(n,o,t,new kt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Pu(n,o,e){return e.some(t=>go(n,o,t))}(n,e,t)){const r=new kt(n.segments,function ic(n,o,e,t,s,a){const r={};for(const c of t)if(go(n,e,c)&&!s[_s(c)]){const d=new kt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[_s(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new kt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function go(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function xp(n,o,e,t){return!!(_s(n)===t||t!==vt&&go(o,e,n))&&("**"===n.path||xu(o,n,e).matched)}function wh(n,o,e){return 0===o.length&&!n.children[e]}class dn{constructor(o){this.segmentGroup=o||null}}class ys{constructor(o){this.urlTree=o}}function nc(n){return new Ui.y(o=>o.error(new dn(n)))}function sc(n){return new Ui.y(o=>o.error(new ys(n)))}function as(n){return new Ui.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Pp{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Ru(this.urlTree.root,[],[],this.config).segmentGroup,e=new kt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,vt).pipe((0,at.U)(a=>this.createUrlTree(Re(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Tn.K)(a=>{if(a instanceof ys)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof dn?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,vt).pipe((0,at.U)(s=>this.createUrlTree(Re(s),o.queryParams,o.fragment))).pipe((0,Tn.K)(s=>{throw s instanceof dn?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new kt([],{[vt]:o}):o;return new Hs(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,at.U)(a=>new kt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,un.D)(s).pipe((0,fs.b)(a=>{const r=t.children[a],c=Du(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,at.U)(d=>({segment:d,outlet:a})))}),Va((a,r)=>(a[r.outlet]=r.segment,a),{}),function co(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,Kt.h)((s,a)=>n(s,a,t)):lr.y,_n(1),e?(0,di.d)(o):(0,Ga.T)(()=>new hu.K))}())}expandSegment(o,e,t,s,a,r){return(0,un.D)(t).pipe((0,fs.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,Tn.K)(h=>{if(h instanceof dn)return(0,Ye.of)(null);throw h}))),(0,lo.P)(c=>!!c),(0,Tn.K)((c,d)=>{if(c instanceof hu.K||"EmptyError"===c.name){if(wh(e,s,a))return(0,Ye.of)(new kt([],{}));throw new dn(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return xp(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):nc(e):nc(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?sc(a):this.lineralizeSegments(t,a).pipe((0,Vi.zg)(r=>{const c=new kt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=xu(e,s,a);if(!c)return nc(e);const I=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?sc(I):this.lineralizeSegments(s,I).pipe((0,Vi.zg)(W=>this.expandSegment(o,e,t,W.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,at.U)(W=>(t._loadedConfig=W,new kt(s,{})))):(0,Ye.of)(new kt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=xu(e,t,s);if(!r)return nc(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,Vi.zg)(I=>{const W=I.module,ce=I.routes,{segmentGroup:we,slicedSegments:Me}=Ru(e,c,h,ce),Fe=new kt(we.segments,we.children);if(0===Me.length&&Fe.hasChildren())return this.expandChildren(W,ce,Fe).pipe((0,at.U)(oi=>new kt(c,oi)));if(0===ce.length&&0===Me.length)return(0,Ye.of)(new kt(c,{}));const Ht=_s(t)===a;return this.expandSegment(W,Fe,ce,Me,Ht?vt:a,!0).pipe((0,at.U)(Lt=>new kt(c.concat(Lt.segments),Lt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ye.of)(new yr(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ye.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,Vi.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,at.U)(a=>(e._loadedConfig=a,a))):function Lu(n){return new Ui.y(o=>o.error(Te(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ye.of)(new yr([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ye.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function ta(n){return n&&jo(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!jo(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return Is(d)});return(0,Ye.of)(a).pipe(Ns(),(0,on.b)(r=>{if(!Uo(r))return;const c=Te(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,at.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ye.of)(t);if(s.numberOfChildren>1||!s.children[vt])return as(o.redirectTo);s=s.children[vt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Hs(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return St(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return St(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new kt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function Re(n){const o={};for(const t of Object.keys(n.children)){const a=Re(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function A_(n){if(1===n.numberOfChildren&&n.children[vt]){const o=n.children[vt];return new kt(n.segments.concat(o.segments),o.children)}return n}(new kt(n.segments,o))}class On{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class br{constructor(o,e){this.component=o,this.route=e}}function Ot(n,o,e){const t=n._root;return oc(t,o?o._root:null,e,[t.value])}function ra(n,o,e){const t=function Ou(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function oc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Fs(o);return n.children.forEach(r=>{(function Lp(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function Ip(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!fo(n.url,o.url);case"pathParamsOrQueryParamsChange":return!fo(n.url,o.url)||!gs(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zr(n,o)||!gs(n.queryParams,o.queryParams);default:return!Zr(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new On(t)):(a.data=r.data,a._resolvedData=r._resolvedData),oc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new br(c.outlet.component,r))}else r&&rc(o,c,s),s.canActivateChecks.push(new On(t)),oc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),St(a,(r,c)=>rc(r,e.getContext(c),s)),s}function rc(n,o,e){const t=Fs(n),s=n.value;St(t,(a,r)=>{rc(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new br(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class Ch{}function wl(n){return new Ui.y(o=>o.error(n))}class Fp{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Ru(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,vt);if(null===e)return null;const t=new vu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new bn(t,e),a=new Tp(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=dh(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=Du(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=Ki(t);return function Kn(n){n.sort((o,e)=>o.value.outlet===vt?-1:e.value.outlet===vt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return wh(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!xp(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const ce=t.length>0?ll(t).parameters:{};a=new vu(t,ce,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,aa(o),_s(o),o.component,o,Sh(e),Al(e)+t.length,kh(o))}else{const ce=xu(e,o,t);if(!ce.matched)return null;r=ce.consumedSegments,c=t.slice(ce.lastChild),a=new vu(r,ce.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,aa(o),_s(o),o.component,o,Sh(e),Al(e)+r.length,kh(o))}const d=function Mh(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Ru(e,r,c,d.filter(ce=>void 0===ce.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const ce=this.processChildren(d,h);return null===ce?null:[new bn(a,ce)]}if(0===d.length&&0===g.length)return[new bn(a,[])];const I=_s(o)===s,W=this.processSegment(d,h,g,I?vt:s);return null===W?null:[new bn(a,W)]}}function zp(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function Ki(n){const o=[],e=new Set;for(const t of n){if(!zp(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=Ki(t.children);o.push(new bn(t.value,s))}return o.filter(t=>!e.has(t))}function Sh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Al(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function aa(n){return n.data||{}}function kh(n){return n.resolve||{}}function Fu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function zu(n){return(0,Ci.w)(o=>{const e=n(o);return e?(0,un.D)(e).pipe((0,at.U)(()=>o)):(0,Ye.of)(o)})}class vl extends class Nu{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const Cl=new i.OlP("ROUTES");class Dh{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,at.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new yr(os(r.injector.get(Cl,void 0,i.XFs.Self|i.XFs.Optional)).map(bh),r)}),(0,Tn.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new fu.c(s,()=>new ke.xQ).pipe((0,ni.x)()),e._loader$}loadModuleFactory(o){return Is(o()).pipe((0,Vi.zg)(e=>e instanceof i.YKP?(0,Ye.of)(e):(0,un.D)(this.compiler.compileModuleAsync(e))))}}class ws{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function uc(n){throw n}function jp(n,o,e){return o.parse("/")}function Up(n,o){return(0,Ye.of)(null)}const xh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ri=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ke.xQ,this.errorHandler=uc,this.malformedUriErrorHandler=jp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Up,afterPreactivation:Up},this.urlHandlingStrategy=new ws,this.routeReuseStrategy=new vl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const I=r.get(i.R0b);this.isNgZoneEnabled=I instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function ul(){return new Hs(new kt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Dh(r,c,W=>this.triggerEvent(new ci(W)),W=>this.triggerEvent(new uo(W))),this.routerState=uh(this.currentUrlTree,this.rootComponentType),this.transitions=new ji({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,Kt.h)(s=>0!==s.id),(0,at.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,Ci.w)(s=>{let a=!1,r=!1;return(0,Ye.of)(s).pipe((0,on.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ci.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return wr(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ye.of)(c).pipe((0,Ci.w)(I=>{const W=this.transitions.getValue();return t.next(new pe(I.id,this.serializeUrl(I.extractedUrl),I.source,I.restoredState)),W!==this.transitions.getValue()?Gn.E:Promise.resolve(I)}),function Ah(n,o,e,t){return(0,Ci.w)(s=>function Rp(n,o,e,t,s){return new Pp(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,at.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,on.b)(I=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:I.urlAfterRedirects})}),function Bp(n,o,e,t,s){return(0,Vi.zg)(a=>function Th(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new Fp(n,o,e,t,s,a).recognize();return null===r?wl(new Ch):(0,Ye.of)(r)}catch(r){return wl(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,at.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,I=>this.serializeUrl(I),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,on.b)(I=>{if("eager"===this.urlUpdateStrategy){if(!I.extras.skipLocationChange){const ce=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl);this.setBrowserUrl(ce,I)}this.browserUrlTree=I.urlAfterRedirects}const W=new Yt(I.id,this.serializeUrl(I.extractedUrl),this.serializeUrl(I.urlAfterRedirects),I.targetSnapshot);t.next(W)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:W,extractedUrl:ce,source:we,restoredState:Me,extras:Fe}=c,Ht=new pe(W,this.serializeUrl(ce),we,Me);t.next(Ht);const Jt=uh(ce,this.rootComponentType).snapshot;return(0,Ye.of)(Object.assign(Object.assign({},c),{targetSnapshot:Jt,urlAfterRedirects:ce,extras:Object.assign(Object.assign({},Fe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),Gn.E}),zu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,on.b)(c=>{const d=new Mt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,at.U)(c=>Object.assign(Object.assign({},c),{guards:Ot(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function vh(n,o){return(0,Vi.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ye.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function bs(n,o,e,t){return(0,un.D)(n).pipe((0,Vi.zg)(s=>function Hp(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ye.of)(!0);const r=a.map(c=>{const d=ra(c,o,s);let h;if(function Eu(n){return n&&jo(n.canDeactivate)}(d))h=Is(d.canDeactivate(n,o,e,t));else{if(!jo(d))throw new Error("Invalid CanDeactivate guard");h=Is(d(n,o,e,t))}return h.pipe((0,lo.P)())});return(0,Ye.of)(r).pipe(Ns())}(s.component,s.route,e,o,t)),(0,lo.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,Vi.zg)(c=>c&&function mh(n){return"boolean"==typeof n}(c)?function bl(n,o,e,t){return(0,un.D)(o).pipe((0,fs.b)(s=>ro(function ac(n,o){return null!==n&&o&&o(new ps(n)),(0,Ye.of)(!0)}(s.route.parent,t),function Op(n,o){return null!==n&&o&&o(new ur(n)),(0,Ye.of)(!0)}(s.route,t),function cc(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function Iu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>cr(()=>{const c=r.guards.map(d=>{const h=ra(d,r.node,e);let g;if(function ku(n){return n&&jo(n.canActivateChild)}(h))g=Is(h.canActivateChild(t,n));else{if(!jo(h))throw new Error("Invalid CanActivateChild guard");g=Is(h(t,n))}return g.pipe((0,lo.P)())});return(0,Ye.of)(c).pipe(Ns())}));return(0,Ye.of)(a).pipe(Ns())}(n,s.path,e),function Hu(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ye.of)(!0);const s=t.map(a=>cr(()=>{const r=ra(a,o,e);let c;if(function _h(n){return n&&jo(n.canActivate)}(r))c=Is(r.canActivate(o,n));else{if(!jo(r))throw new Error("Invalid CanActivate guard");c=Is(r(o,n))}return c.pipe((0,lo.P)())}));return(0,Ye.of)(s).pipe(Ns())}(n,s.route,e))),(0,lo.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ye.of)(c)),(0,at.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,on.b)(c=>{if(Uo(c.guardsResult)){const h=Te(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new Nt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,Kt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),zu(c=>{if(c.guards.canActivateChecks.length)return(0,Ye.of)(c).pipe((0,on.b)(d=>{const h=new zi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Ci.w)(d=>{let h=!1;return(0,Ye.of)(d).pipe(function Yp(n,o){return(0,Vi.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ye.of)(e);let a=0;return(0,un.D)(s).pipe((0,fs.b)(r=>function lc(n,o,e,t){return function Zn(n,o,e,t){const s=Fu(n);if(0===s.length)return(0,Ye.of)({});const a={};return(0,un.D)(s).pipe((0,Vi.zg)(r=>function ca(n,o,e,t){const s=ra(n,o,t);return Is(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,on.b)(c=>{a[r]=c}))),_n(1),(0,Vi.zg)(()=>Fu(a).length===s.length?(0,Ye.of)(a):Gn.E))}(n._resolve,n,o,t).pipe((0,at.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),dh(n,e).resolve),null)))}(r.route,t,n,o)),(0,on.b)(()=>a++),_n(1),(0,Vi.zg)(r=>a===s.length?(0,Ye.of)(e):Gn.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,on.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,on.b)(d=>{const h=new hi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),zu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,at.U)(c=>{const d=function ec(n,o,e){const t=$r(n,o._root,e?e._root:void 0);return new lh(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,on.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,at.U)(t=>(new kp(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,on.b)({next(){a=!0},complete(){a=!0}}),q(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,Tn.K)(c=>{if(r=!0,function Ft(n){return n&&n[cl]}(c)){const d=Uo(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new Ze(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),I={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wr(s.source)};this.scheduleNavigation(g,"imperative",null,I,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new Xt(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return Gn.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yh(e),this.config=e.map(bh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let I=null;switch(c){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=a||null}return null!==I&&(I=this.removeEmptyProps(I)),function Jr(n,o,e,t,s){if(0===e.length)return hh(o.root,o.root,o,t,s);const a=function fh(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new gl(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return St(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new gl(e,o,t)}(e);if(a.toRoot())return hh(o.root,new kt([],{}),o,t,s);const r=function Bo(n,o,e){if(n.isAbsolute)return new ml(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new ml(a,a===o.root,0)}const t=Qr(n.commands[0])?0:1;return function Yo(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new ml(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?rs(r.segmentGroup,r.index,a.commands):ea(r.segmentGroup,r.index,a.commands);return hh(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,I,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Uo(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function la(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new be(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,I=wr(t)&&g&&!wr(g.source),W=g.rawUrl.toString()===e.toString(),ce=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(I&&W&&ce)return Promise.resolve(!0);let Me,Fe,Ht;r?(Me=r.resolve,Fe=r.reject,Ht=r.promise):Ht=new Promise((oi,au)=>{Me=oi,Fe=au});const Jt=++this.navigationId;let Lt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Lt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Lt=0,this.setTransition({id:Jt,targetPageId:Lt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:Me,reject:Fe,promise:Ht,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ht.catch(oi=>Promise.reject(oi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new Ze(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wr(n){return"imperative"!==n}let Et=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new ke.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri),i.Y36(In),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),_=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new ke.xQ,this.subscription=e.events.subscribe(a=>{a instanceof be&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri),i.Y36(In),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function S(n){return""===n||!!n}class G{}class me{preload(o,e){return(0,Ye.of)(null)}}let Qe=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Dh(s,t,d=>e.triggerEvent(new ci(d)),d=>e.triggerEvent(new uo(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Kt.h)(e=>e instanceof be),(0,fs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,un.D)(s).pipe((0,Ua.J)(),(0,at.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Vi.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ri),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(G))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Dt=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof be&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof dr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new dr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const hn=new i.OlP("ROUTER_CONFIGURATION"),wn=new i.OlP("ROUTER_FORROOT_GUARD"),Vo=[b.Ye,{provide:Za,useClass:gr},{provide:Ri,useFactory:function v_(n,o,e,t,s,a,r={},c,d){const h=new Ri(null,n,o,e,t,s,os(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function ov(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var I,W;null===(I=console.group)||void 0===I||I.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(W=console.groupEnd)||void 0===W||W.call(console)}),h},deps:[Za,na,b.Ye,i.zs3,i.Sil,Cl,hn,[class mo{},new i.FiY],[class Eh{},new i.FiY]]},na,{provide:In,useFactory:function rv(n){return n.routerState.root},deps:[Ri]},Qe,me,class se{preload(o,e){return e().pipe((0,Tn.K)(()=>(0,Ye.of)(null)))}},{provide:hn,useValue:{enableTracing:!1}}];function iv(){return new i.PXZ("Router",Ri)}let Rh=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[Vo,dc(e),{provide:wn,useFactory:Ar,deps:[[Ri,new i.FiY,new i.tp0]]},{provide:hn,useValue:t||{}},{provide:b.S$,useFactory:sv,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],hn]},{provide:Dt,useFactory:nv,deps:[Ri,b.EM,hn]},{provide:G,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:me},{provide:i.PXZ,multi:!0,useFactory:iv},[qp,{provide:i.ip1,multi:!0,useFactory:av,deps:[qp]},{provide:Gp,useFactory:cv,deps:[qp]},{provide:i.tb,multi:!0,useExisting:Gp}]]}}static forChild(e){return{ngModule:n,providers:[dc(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wn,8),i.LFG(Ri,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function nv(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Dt(n,o,e)}function sv(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function Ar(n){return"guarded"}function dc(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Cl,multi:!0,useValue:n}]}let qp=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ke.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(Ri),r=this.injector.get(hn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ye.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(hn),s=this.injector.get(Qe),a=this.injector.get(Dt),r=this.injector.get(Ri),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function av(n){return n.appInitializer.bind(n)}function cv(n){return n.bootstrapListener.bind(n)}const Gp=new i.OlP("Router Initializer");let Mn=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,Yu.k)(s)?t(...s):t(s))):new Ui.y(s=>{dv(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function dv(n,o,e,t,s){let a;if(function Zp(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function Kp(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function gM(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let hv=1;const fv=Promise.resolve(),Ph={};function $p(n){return n in Ph&&(delete Ph[n],!0)}const Uu={setImmediate(n){const o=hv++;return Ph[o]=!0,fv.then(()=>$p(o)&&n()),o},clearImmediate(n){$p(n)}},Pi=new class gv extends M_.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=Uu.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(Uu.clearImmediate(e),o.scheduled=void 0)}});var Vu=w(353),E_=w(826),Lh=w(9054);class mv{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new _v(o,this.durationSelector))}}class _v extends E_.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,Lh.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Jp(n){return!(0,Yu.k)(n)&&n-parseFloat(n)+1>=0}function x_(n=0,o,e){let t=-1;return Jp(o)?t=Number(o)<1?1:Number(o):(0,ao.K)(o)&&(e=o),(0,ao.K)(e)||(e=Vu.P),new Ui.y(s=>{const a=Jp(n)?n:+n-e.now();return e.schedule(yv,a,{index:0,period:t,subscriber:s})})}function yv(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function bv(n,o=Vu.P){return function D_(n){return function(e){return e.lift(new mv(n))}}(()=>x_(n,o))}function $e(n){return o=>o.lift(new qu(n))}class qu{constructor(o){this.notifier=o}call(o,e){const t=new $n(o),s=(0,Lh.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class $n extends E_.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Gu;try{Gu="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Gu=!1}let Wi,fi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Gu)&&"undefined"!=typeof CSS&&!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}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Tl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ih(){if(Wi)return Wi;if("object"!=typeof document||!document)return Wi=new Set(Tl),Wi;let n=document.createElement("input");return Wi=new Set(Tl.filter(o=>(n.setAttribute("type",o),n.type===o))),Wi}let Ku,Oh,ha,Qp;function _o(n){return function wv(){if(null==Ku&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ku=!0}))}finally{Ku=Ku||!1}return Ku}()?n:!!n.capture}function R_(){if(null==ha){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ha=!1,ha;if("scrollBehavior"in document.documentElement.style)ha=!0;else{const n=Element.prototype.scrollTo;ha=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ha}function Ml(){if("object"!=typeof document||!document)return 0;if(null==Oh){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Oh=0,0===n.scrollLeft&&(n.scrollLeft=1,Oh=0===n.scrollLeft?1:2),n.remove()}return Oh}function Sl(n){if(function Av(){if(null==Qp){const n="undefined"!=typeof document?document.head:null;Qp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Qp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function kl(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function yo(n){return n.composedPath?n.composedPath()[0]:n.target}function Zu(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const vv=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function Cv(){return(0,i.f3M)(b.K0)}}),$u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ti=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function Tv(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?$u.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vv,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),El=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Dl=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ke.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ui.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(bv(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ye.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,Kt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=ei(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>da(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(fi),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wu=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new ke.xQ,this._elementScrolled=new Ui.y(r=>this.ngZone.runOutsideAngular(()=>da(this.elementRef.nativeElement,"scroll").pipe($e(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=Ml()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Ml()?e.left=e.right:1==Ml()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;R_()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==Ml()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==Ml()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b),i.Y36(Ti,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),Hn=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new ke.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(bv(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),An=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),fa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El,hc,An],El,An]}),n})();class Ju{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class pa extends Ju{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class Cr extends Ju{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class TM extends Ju{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class ga{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof pa?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Cr?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof TM?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class O_ extends ga{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Xp=(()=>{class n extends Cr{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),n})(),Tr=(()=>{class n extends ga{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),xl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Mi=w(6787);class eg{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new F_(o,this.predicate,this.inclusive))}}class F_ extends Ls.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function Ni(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const ay=R_();class cy{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=$i(-this._previousScrollPosition.left),o.style.top=$i(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),ay&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ay&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class ly{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class sg{enable(){}disable(){}attach(){}}function og(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function rg(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class Xv{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();og(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let eC=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new sg,this.close=r=>new ly(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new cy(this._viewportRuler,this._document),this.reposition=r=>new Xv(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Dl),i.LFG(Hn),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class En{constructor(o){if(this.scrollStrategy=new sg,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class oS{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class rS{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new ke.xQ,this._attachments=new ke.xQ,this._detachments=new ke.xQ,this._locationChanges=P.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new ke.xQ,this._outsidePointerEvents=new ke.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=$i(this._config.width),o.height=$i(this._config.height),o.minWidth=$i(this._config.minWidth),o.minHeight=$i(this._config.minHeight),o.maxWidth=$i(this._config.maxWidth),o.maxHeight=$i(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=ua(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe($e((0,Mi.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let ag=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Zu()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_c(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(qh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=cg(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let W=0-c,ce=c+a.height-t.height,we=this._subtractOverflows(a.width,0-r,r+a.width-t.width),Me=this._subtractOverflows(a.height,W,ce),Fe=we*Me;return{visibleArea:Fe,isCompletelyWithinViewport:a.width*a.height===Fe,fitsInViewportVertically:Me===a.height,fitsInViewportHorizontally:we==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=hy(this._overlayRef.getConfig().minHeight),c=hy(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=cg(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,I=0;return g=s.width<=a.width?h||-r:o.xwe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-we/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)W=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)I=o.x,g=t.right-o.x;else{const ce=Math.min(t.right-o.x+t.left,o.x),we=this._lastBoundingBoxSize.width;g=2*ce,I=o.x-ce,g>we&&!this._isInitialRender&&!this._growAfterOpen&&(I=o.x-we/2)}return{top:r,left:I,bottom:c,right:W,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=$i(t.height),s.top=$i(t.top),s.bottom=$i(t.bottom),s.width=$i(t.width),s.left=$i(t.left),s.right=$i(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=$i(a)),r&&(s.maxWidth=$i(r))}this._lastBoundingBoxSize=t,_c(this._boundingBox.style,s)}_resetBoundingBoxStyles(){_c(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_c(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();_c(t,this._getExactOverlayY(e,o,g)),_c(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=$i(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=$i(r.maxWidth):a&&(t.maxWidth="")),_c(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=$i(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=$i(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rg(o,t),isOriginOutsideView:og(o,t),isOverlayClipped:rg(e,t),isOverlayOutsideView:og(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&ua(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function _c(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function hy(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(uy);return e&&"px"!==e?null:parseFloat(o)}return n||null}function cg(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const fy="cdk-global-overlay-wrapper";class py{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(fy),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fy),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let iC=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new py}flexibleConnectedTo(e){return new dy(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Hn),i.LFG(b.K0),i.LFG(fi),i.LFG(ag))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gy=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),my=(()=>{class n extends gy{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_y=(()=>{class n extends gy{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=yo(s)},this._clickListener=s=>{const a=yo(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nC=0,Ji=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=I,this._outsideClickDispatcher=W}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new En(e);return r.direction=r.direction||this._directionality.value,new rS(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+nC++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new O_(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(eC),i.LFG(ag),i.LFG(i._Vd),i.LFG(iC),i.LFG(my),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Ti),i.LFG(b.Ye),i.LFG(_y))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const lg=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],yy=new i.OlP("cdk-connected-overlay-scroll-strategy");let by=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),sC=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new Cr(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ne(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ne(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ne(e)}get push(){return this._push}set push(e){this._push=Ne(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=lg);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!Ni(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new En({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof by?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function H_(n,o=!1){return e=>e.lift(new eg(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(yy),i.Y36(Ti,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const oC={provide:yy,deps:[Ji],useFactory:function wy(n){return()=>n.scrollStrategies.reposition()}};let id=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ji,oC],imports:[[El,xl,fa],fa]}),n})();var nd=w(13);function Ay(n){return o=>o.lift(new Kh(n))}class Kh{constructor(o){this.total=o}call(o,e){return e.subscribe(new ug(o,this.total))}}class ug extends Ls.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function yc(n,o){return e=>e.lift(new dg(n,o))}class dg{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new hg(o,this.compare,this.keySelector))}}class hg extends Ls.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let fg=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vy=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=ei(e);return new Ui.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new ke.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pg=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Zi(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,nd.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(vy),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Pl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[fg]}),n})();function sd(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const gg="cdk-describedby-message",od="cdk-describedby-host";let Zo=0,rd=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Zo++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=mg(t,s);"string"!=typeof t?(Ty(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=mg(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${od}="${this._id}"]`);for(let s=0;s0!=s.indexOf(gg));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function aC(n,o,e){const t=sd(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(od,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Cy(n,o,e){const s=sd(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(od)}_isElementDescribedByMessage(e,t){const s=sd(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mg(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function Ty(n){n.id||(n.id=`${gg}-${Zo++}`)}class lC{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ke.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ke.xQ,this.change=new ke.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,on.b)(e=>this._pressedLetters.push(e)),(0,nd.b)(o),(0,Kt.h)(()=>this._pressedLetters.length>0),(0,at.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Ni(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class _g extends lC{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class bc extends lC{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let wc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function yg(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function uC(n){try{return n.frameElement}catch(o){return null}}(function Py(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===xy(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=xy(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Ry(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Ll(n){return!function ky(n){return function dC(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Sy(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function Ey(n){return function bg(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Dy(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Dy(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function xy(n){if(!Dy(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class hC{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(o)}}let wg=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new hC(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wc),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Il=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Ne(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Ne(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=kl(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),n})();function Ol(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ad(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Ly=new i.OlP("cdk-input-modality-detector-options"),Iy={ignoreKeys:[18,17,224,91,16]},Hl=_o({passive:!0,capture:!0});let fC=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new ji(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=yo(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ol(r)?"keyboard":"mouse"),this._mostRecentTarget=yo(r))},this._onTouchstart=r=>{ad(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=yo(r))},this._options=Object.assign(Object.assign({},Iy),a),this.modalityDetected=this._modality.pipe(Ay(1)),this.modalityChanged=this.modalityDetected.pipe(yc()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Hl),s.addEventListener("mousedown",this._onMousedown,Hl),s.addEventListener("touchstart",this._onTouchstart,Hl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Hl),document.removeEventListener("mousedown",this._onMousedown,Hl),document.removeEventListener("touchstart",this._onTouchstart,Hl))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Ly,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pC=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function gC(){return null}}),Oy=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mC=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=a,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(mC),i.Y36(vy),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),n})();const _C=new i.OlP("cdk-focus-monitor-default-options"),Zh=_o({passive:!0,capture:!0});let Ys=(()=>{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,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 ke.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=yo(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=ei(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ye.of)(null);const a=Sl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new ke.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=ei(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=ei(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=yo(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zh)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($e(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(fi),i.LFG(fC),i.LFG(b.K0,8),i.LFG(_C,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yC=(()=>{class n{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new i.vpe}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const $h="cdk-high-contrast-black-on-white",Fy="cdk-high-contrast-white-on-black",Wh="cdk-high-contrast-active";let vg=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Wh),e.remove($h),e.remove(Fy),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Wh),e.add($h)):2===t&&(e.add(Wh),e.add(Fy))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zy=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vg))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hc,Pl]]}),n})();class js{}const ya="*";function ti(n,o){return{type:7,name:n,definitions:o,options:{}}}function rt(n,o=null){return{type:4,styles:o,timings:n}}function Cg(n,o=null){return{type:3,steps:n,options:o}}function Ny(n,o=null){return{type:2,steps:n,options:o}}function De(n){return{type:6,styles:n,offset:null}}function _t(n,o,e){return{type:0,name:n,styles:o,options:e}}function Mr(n){return{type:5,steps:n}}function ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function Yy(n=null){return{type:9,options:n}}function Ao(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function jy(n){Promise.resolve(null).then(n)}class cd{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){jy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ld{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?jy(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function bC(){return"undefined"!=typeof window&&void 0!==window.document}function Ac(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function wa(n){switch(n.length){case 0:return new cd;case 1:return n[0];default:return new ld(n)}}function Uy(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const I=g.offset,W=I==d,ce=W&&h||{};Object.keys(g).forEach(we=>{let Me=we,Fe=g[we];if("offset"!==we)switch(Me=o.normalizePropertyName(Me,r),Fe){case"!":Fe=s[we];break;case ya:Fe=a[we];break;default:Fe=o.normalizeStyleValue(we,Me,Fe,r)}ce[Me]=Fe}),W||c.push(ce),h=ce,d=I}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function ud(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Us(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Us(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Us(e,"destroy",n)))}}function Us(n,o,e){const t=e.totalTime,a=vc(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function vc(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function ui(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function Aa(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Fl=(n,o)=>!1,As=(n,o,e)=>[];(Ac()||"undefined"!=typeof Element)&&(Fl=bC()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),As=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Vs=null,Cc=!1;function Tc(n){Vs||(Vs=function Nl(){return"undefined"!=typeof document?document.body:null}()||{},Cc=!!Vs.style&&"WebkitAppearance"in Vs.style);let o=!0;return Vs.style&&!function zl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Vs.style,!o&&Cc&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Vs.style)),o}const Mc=Fl,Sc=As;let kc=(()=>{class n{validateStyleProperty(e){return Tc(e)}matchesElement(e,t){return!1}containsElement(e,t){return Mc(e,t)}query(e,t,s){return Sc(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new cd(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Jh=(()=>{class n{}return n.NOOP=new kc,n})();const Qh="ng-enter",hd="ng-leave",fd="ng-trigger",pd=".ng-trigger",Mg="ng-animating",Sg=".ng-animating";function va(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:kg(parseFloat(o[1]),o[2])}function kg(n,o){return"s"===o?1e3*n:n}function gd(n,o,e){return n.hasOwnProperty("duration")?n:function Ky(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=kg(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=kg(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Bl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Sr(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Bl(n,e);return e}function $y(n,o,e){return e?o+":"+e+";":""}function Eg(n){let o="";for(let e=0;e{const s=Wy(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),Ac()&&Eg(n))}function Ec(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Wy(e);n.style[t]=""}),Ac()&&Eg(n))}function Xh(n){return Array.isArray(n)?1==n.length?n[0]:Ny(n):n}const md=new RegExp("{{\\s*(.+?)\\s*}}","g");function ef(n){let o=[];if("string"==typeof n){let e;for(;e=md.exec(n);)o.push(e[1]);md.lastIndex=0}return o}function tf(n,o,e){const t=n.toString(),s=t.replace(md,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function Dg(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const gS=/-+([a-z0-9])/g;function Wy(n){return n.replace(gS,(...o)=>o[1].toUpperCase())}function AC(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function vs(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Dc(n,o){return window.getComputedStyle(n)[o]}function Qy(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vC(n,o,e){if(":"==n[0]){const d=function Xy(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(xg(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(xg(r,s))}(t,e,o)):e.push(n),e}const xc=new Set(["true","1"]),sf=new Set(["false","0"]);function xg(n,o){const e=xc.has(n)||sf.has(n),t=xc.has(o)||sf.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?xc.has(n):sf.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?xc.has(o):sf.has(o)),r&&c}}const CC=new RegExp("s*:selfs*,?","g");function Rg(n,o,e){return new TC(n).build(o,e)}class TC{constructor(o){this._driver=o}build(o,e){const t=new nb(e);return this._resetContextStyleTimingState(t),vs(this,Xh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Yl(c)){const d=c;Object.keys(d).forEach(h=>{ef(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Dg(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=vs(this,Xh(o.animation),e);return{type:1,matchers:Qy(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:kr(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>vs(this,t,e)),options:kr(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=vs(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:kr(o.options)}}visitAnimate(o,e){const t=function _S(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Pg(gd(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=Pg(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||gd(t,o),Pg(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:De({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=De(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==ya?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Yl(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function wC(n,o,e){const t=o.params||{},s=ef(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(Ht=>{const Jt=this._makeStyleAst(Ht,e);let Lt=null!=Jt.offset?Jt.offset:function sb(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Yl(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Yl(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Jt.styles),oi=0;return null!=Lt&&(a++,oi=Jt.offset=Lt),d=d||oi<0||oi>1,c=c||oi0&&a{const Lt=W>0?Jt==ce?1:W*Jt:r[Jt],oi=Lt*Fe;e.currentTime=we+Me.delay+oi,Me.duration=oi,this._validateStyleAst(Ht,e),Ht.offset=Lt,t.styles.push(Ht)}),t}visitReference(o,e){return{type:8,animation:vs(this,Xh(o.animation),e),options:kr(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:kr(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:kr(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function ib(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(CC,"")),n=n.replace(/@\*/g,pd).replace(/@\w+/g,e=>pd+"-"+e.substr(1)).replace(/:animating/g,Sg),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,ui(e.collectedStyles,e.currentQuerySelector,{});const c=vs(this,Xh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:kr(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:gd(o.timings,e.errors,!0);return{type:12,animation:vs(this,Xh(o.animation),e),timings:t,options:null}}}class nb{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Yl(n){return!Array.isArray(n)&&"object"==typeof n}function kr(n){return n?(n=Bl(n)).params&&(n.params=function MC(n){return n?Bl(n):null}(n.params)):n={},n}function Pg(n,o,e){return{duration:n,delay:o,easing:e}}function ob(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class Ca{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ig=new RegExp(":enter","g"),Og=new RegExp(":leave","g");function _d(n,o,e,t,s,a={},r={},c,d,h=[]){return(new ab).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class ab{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new Ca;const I=new Fg(o,e,h,s,a,g,[]);I.options=d,I.currentTimeline.setStyles([r],null,I.errors,d),vs(this,t,I);const W=I.timelines.filter(ce=>ce.containsAnimation());if(Object.keys(c).length){let ce;for(let we=W.length-1;we>=0;we--){const Me=W[we];if(Me.element===e){ce=Me;break}}ce&&!ce.allowOnlyTimelineStyles()&&ce.setStyles([c],null,I.errors,d)}return W.length?W.map(ce=>ce.buildKeyframes()):[ob(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?va(t.duration):null,c=null!=t.delay?va(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),vs(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Hg);const r=va(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>vs(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?va(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),vs(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return gd(e.params?tf(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?va(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Hg);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const I=e.createSubContext(o.options,h);a&&I.delayNextStep(a),h===e.element&&(d=I.currentTimeline),vs(this,o.animation,I),I.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,I.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const I=g.currentTime;vs(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-I+(s.startTime-t.currentTimeline.startTime)}}const Hg={};class Fg{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new jl(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=va(t.duration)),null!=t.delay&&(s.delay=va(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=tf(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new Fg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Hg,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new zg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Ig,"."+this._enterClassName)).replace(Og,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class jl{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new jl(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ya,this._currentKeyframe[e]=ya}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function cb(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=ya})):Sr(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=tf(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:ya),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=Sr(c,!0);Object.keys(h).forEach(g=>{const I=h[g];"!"==I?o.add(g):I==ya&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?Dg(o.values()):[],r=e.size?Dg(e.values()):[];if(t){const c=s[0],d=Bl(c);c.offset=0,d.offset=1,s=[c,d]}return ob(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class zg extends jl{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=Sr(o[0],!1);d.offset=0,a.push(d);const h=Sr(o[0],!1);h.offset=Ng(c),a.push(h);const g=o.length-1;for(let I=1;I<=g;I++){let W=Sr(o[I],!1);W.offset=Ng((e+W.offset*t)/r),a.push(W)}t=r,e=0,s="",o=a}return ob(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function Ng(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class rf{}class Bg extends rf{normalizePropertyName(o,e){return Wy(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(Yg[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const Yg=(()=>function EC(n){const o={};return n.forEach(e=>o[e]=!0),o}("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".split(",")))();function jg(n,o,e,t,s,a,r,c,d,h,g,I,W){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:I,errors:W}}const af={};class cf{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function ub(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const I=[],W=this.ast.options&&this.ast.options.params||af,we=this.buildStyles(t,c&&c.params||af,I),Me=d&&d.params||af,Fe=this.buildStyles(s,Me,I),Ht=new Set,Jt=new Map,Lt=new Map,oi="void"===s,au={params:Object.assign(Object.assign({},W),Me)},za=g?[]:_d(o,e,this.ast.animation,a,r,we,Fe,au,h,I);let Ds=0;if(za.forEach(tl=>{Ds=Math.max(tl.duration+tl.delay,Ds)}),I.length)return jg(e,this._triggerName,t,s,oi,we,Fe,[],[],Jt,Lt,Ds,I);za.forEach(tl=>{const il=tl.element,ED=ui(Jt,il,{});tl.preStyleProps.forEach(Jd=>ED[Jd]=!0);const b_=ui(Lt,il,{});tl.postStyleProps.forEach(Jd=>b_[Jd]=!0),il!==e&&Ht.add(il)});const el=Dg(Ht.values());return jg(e,this._triggerName,t,s,oi,we,Fe,za,el,Jt,Lt,Ds)}}class DC{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Bl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=tf(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class hb{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new DC(s.style,s.options&&s.options.params||{},t)}),lf(this.states,"true","1"),lf(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new cf(o,s,this.states))}),this.fallbackTransition=function Ug(n,o,e){return new cf(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function lf(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const fb=new Ca;class pb{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=Rg(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=Uy(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=_d(this._driver,e,a,Qh,hd,{},{},t,fb,s),r.forEach(g=>{const I=ui(c,g.element,{});g.postStyleProps.forEach(W=>I[W]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,I)=>{Object.keys(g).forEach(W=>{g[W]=this._driver.computeStyle(I,W,ya)})});const h=wa(r.map(g=>{const I=c.get(g.element);return this._buildPlayer(g,{},I)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=vc(e,"","","");return ud(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const Vg="ng-animate-queued",uf="ng-animate-disabled",yS=[],bb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xC={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cs="__ng_removed";class qg{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function wb(n){return null!=n?n:null}(t?o.value:o),t){const a=Bl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const Li="void",df=new qg(Li);class RC{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,qs(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function Ul(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=ui(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=ui(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(qs(o,fd),qs(o,fd+"-"+e),c[e]=df),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new hf(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(qs(o,fd),qs(o,fd+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new qg(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=df),h.value!==Li&&d.value===h.value){if(!function Wo(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Ec(o,Fe),$o(o,Ht)})}return}const W=ui(this._engine.playersByElement,o,[]);W.forEach(Me=>{Me.namespaceId==this.id&&Me.triggerName==e&&Me.queued&&Me.destroy()});let ce=a.matchTransition(d.value,h.value,o,h.params),we=!1;if(!ce){if(!s)return;ce=a.fallbackTransition,we=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:ce,fromState:d,toState:h,player:r,isFallbackTransition:we}),we||(qs(o,Vg),r.onStart(()=>{Rc(o,Vg)})),r.onDone(()=>{let Me=this.players.indexOf(r);Me>=0&&this.players.splice(Me,1);const Fe=this._engine.playersByElement.get(o);if(Fe){let Ht=Fe.indexOf(r);Ht>=0&&Fe.splice(Ht,1)}}),this.players.push(r),W.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,pd,!0);t.forEach(s=>{if(s[Cs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,Li,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&wa(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||df,g=new qg(Li),I=new hf(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:I,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[Cs];(!a||a===bb)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){qs(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=vc(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,ud(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class PC{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,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=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new RC(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),qs(o,uf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Rc(o,uf))}removeNode(o,e,t,s){if(yd(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[Cs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return yd(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,pd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,Sg,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return wa(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[Cs];if(t&&t.setForRemoval){if(o[Cs]=bb,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(uf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?wa(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new Ca,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(Je=>{g.add(Je);const ot=this.driver.query(Je,".ng-animate-queued",!0);for(let ct=0;ct{const ct=Qh+Me++;we.set(ot,ct),Je.forEach(Qt=>qs(Qt,ct))});const Fe=[],Ht=new Set,Jt=new Set;for(let Je=0;JeHt.add(Qt)):Jt.add(ot))}const Lt=new Map,oi=Gg(W,Array.from(Ht));oi.forEach((Je,ot)=>{const ct=hd+Me++;Lt.set(ot,ct),Je.forEach(Qt=>qs(Qt,ct))}),o.push(()=>{ce.forEach((Je,ot)=>{const ct=we.get(ot);Je.forEach(Qt=>Rc(Qt,ct))}),oi.forEach((Je,ot)=>{const ct=Lt.get(ot);Je.forEach(Qt=>Rc(Qt,ct))}),Fe.forEach(Je=>{this.processLeaveNode(Je)})});const au=[],za=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(e).forEach(ct=>{const Qt=ct.player,zn=ct.element;if(au.push(Qt),this.collectedEnterElements.length){const xs=zn[Cs];if(xs&&xs.setForMove){if(xs.previousTriggersValues&&xs.previousTriggersValues.has(ct.triggerName)){const Qd=xs.previousTriggersValues.get(ct.triggerName),lu=this.statesByElement.get(ct.element);lu&&lu[ct.triggerName]&&(lu[ct.triggerName].value=Qd)}return void Qt.destroy()}}const Na=!I||!this.driver.containsElement(I,zn),xo=Lt.get(zn),cu=we.get(zn),nn=this._buildInstruction(ct,t,cu,xo,Na);if(nn.errors&&nn.errors.length)return void za.push(nn);if(Na)return Qt.onStart(()=>Ec(zn,nn.fromStyles)),Qt.onDestroy(()=>$o(zn,nn.toStyles)),void s.push(Qt);if(ct.isFallbackTransition)return Qt.onStart(()=>Ec(zn,nn.fromStyles)),Qt.onDestroy(()=>$o(zn,nn.toStyles)),void s.push(Qt);const RD=[];nn.timelines.forEach(xs=>{xs.stretchStartingKeyframe=!0,this.disabledNodes.has(xs.element)||RD.push(xs)}),nn.timelines=RD,t.append(zn,nn.timelines),r.push({instruction:nn,player:Qt,element:zn}),nn.queriedElements.forEach(xs=>ui(c,xs,[]).push(Qt)),nn.preStyleProps.forEach((xs,Qd)=>{const lu=Object.keys(xs);if(lu.length){let Xd=d.get(Qd);Xd||d.set(Qd,Xd=new Set),lu.forEach(fM=>Xd.add(fM))}}),nn.postStyleProps.forEach((xs,Qd)=>{const lu=Object.keys(xs);let Xd=h.get(Qd);Xd||h.set(Qd,Xd=new Set),lu.forEach(fM=>Xd.add(fM))})});if(za.length){const Je=[];za.forEach(ot=>{Je.push(`@${ot.triggerName} has failed due to:\n`),ot.errors.forEach(ct=>Je.push(`- ${ct}\n`))}),au.forEach(ot=>ot.destroy()),this.reportError(Je)}const Ds=new Map,el=new Map;r.forEach(Je=>{const ot=Je.element;t.has(ot)&&(el.set(ot,ot),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,Ds))}),s.forEach(Je=>{const ot=Je.element;this._getPreviousPlayers(ot,!1,Je.namespaceId,Je.triggerName,null).forEach(Qt=>{ui(Ds,ot,[]).push(Qt),Qt.destroy()})});const tl=Fe.filter(Je=>Cb(Je,d,h)),il=new Map;vb(il,this.driver,Jt,h,ya).forEach(Je=>{Cb(Je,d,h)&&tl.push(Je)});const b_=new Map;ce.forEach((Je,ot)=>{vb(b_,this.driver,new Set(Je),d,"!")}),tl.forEach(Je=>{const ot=il.get(Je),ct=b_.get(Je);il.set(Je,Object.assign(Object.assign({},ot),ct))});const Jd=[],DD=[],xD={};r.forEach(Je=>{const{element:ot,player:ct,instruction:Qt}=Je;if(t.has(ot)){if(g.has(ot))return ct.onDestroy(()=>$o(ot,Qt.toStyles)),ct.disabled=!0,ct.overrideTotalTime(Qt.totalTime),void s.push(ct);let zn=xD;if(el.size>1){let xo=ot;const cu=[];for(;xo=xo.parentNode;){const nn=el.get(xo);if(nn){zn=nn;break}cu.push(xo)}cu.forEach(nn=>el.set(nn,zn))}const Na=this._buildAnimation(ct.namespaceId,Qt,Ds,a,b_,il);if(ct.setRealPlayer(Na),zn===xD)Jd.push(ct);else{const xo=this.playersByElement.get(zn);xo&&xo.length&&(ct.parentPlayer=wa(xo)),s.push(ct)}}else Ec(ot,Qt.fromStyles),ct.onDestroy(()=>$o(ot,Qt.toStyles)),DD.push(ct),g.has(ot)&&s.push(ct)}),DD.forEach(Je=>{const ot=a.get(Je.element);if(ot&&ot.length){const ct=wa(ot);Je.setRealPlayer(ct)}}),s.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!Na.destroyed);zn.length?bS(this,ot,zn):this.processLeaveNode(ot)}return Fe.length=0,Jd.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const ot=this.players.indexOf(Je);this.players.splice(ot,1)}),Je.play()}),Jd}elementContainsData(o,e){let t=!1;const s=e[Cs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==Li;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,I=ui(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(ce=>{const we=ce.getRealPlayer();we.beforeDestroy&&we.beforeDestroy(),ce.destroy(),I.push(ce)})}Ec(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,I=new Set,W=e.timelines.map(we=>{const Me=we.element;g.add(Me);const Fe=Me[Cs];if(Fe&&Fe.removedBeforeQueried)return new cd(we.duration,we.delay);const Ht=Me!==d,Jt=function Kg(n){const o=[];return ff(n,o),o}((t.get(Me)||yS).map(Ds=>Ds.getRealPlayer())).filter(Ds=>!!Ds.element&&Ds.element===Me),Lt=a.get(Me),oi=r.get(Me),au=Uy(0,this._normalizer,0,we.keyframes,Lt,oi),za=this._buildPlayer(we,au,Jt);if(we.subTimeline&&s&&I.add(Me),Ht){const Ds=new hf(o,c,Me);Ds.setRealPlayer(za),h.push(Ds)}return za});h.forEach(we=>{ui(this.playersByQueriedElement,we.element,[]).push(we),we.onDone(()=>function LC(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,we.element,we))}),g.forEach(we=>qs(we,Mg));const ce=wa(W);return ce.onDestroy(()=>{g.forEach(we=>Rc(we,Mg)),$o(d,e.toStyles)}),I.forEach(we=>{ui(s,we,[]).push(ce)}),ce}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new cd(o.duration,o.delay)}}class hf{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new cd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>ud(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){ui(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function yd(n){return n&&1===n.nodeType}function Ab(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function vb(n,o,e,t,s){const a=[];e.forEach(d=>a.push(Ab(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(I=>{const W=g[I]=o.computeStyle(h,I,s);(!W||0==W.length)&&(h[Cs]=xC,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>Ab(d,a[c++])),r}function Gg(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function qs(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function Rc(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function bS(n,o,e){wa(e).onDone(()=>n.processLeaveNode(o))}function ff(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class bd{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new PC(o,e,t),this._timelineEngine=new pb(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=Rg(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function db(n,o,e){return new hb(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=Aa(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=Aa(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let vo=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&$o(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($o(this._element,this._initialStyles),this._endStyles&&($o(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ec(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ec(this._element,this._endStyles),this._endStyles=null),$o(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Ts(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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}_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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Dc(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class IC{validateStyleProperty(o){return Tc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Mc(o,e)}query(o,e,t){return Sc(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter(W=>W instanceof Zg);(function Jy(n,o){return 0===n||0===o})(t,s)&&g.forEach(W=>{let ce=W.currentSnapshot;Object.keys(ce).forEach(we=>h[we]=ce[we])}),e=function mS(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;sSr(W,!1)),h);const I=function Jo(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Ts(o[0]),o.length>1&&(t=Ts(o[o.length-1]))):o&&(e=Ts(o)),e||t?new vo(n,e,t):null}(o,e);return new Zg(o,e,d,I)}}let OC=(()=>{class n extends js{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Ny(e):e;return pf(this._renderer,null,t,"register",[s]),new HC(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class HC extends class hS{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new FC(this._id,o,e||{},this._renderer)}}class FC{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return pf(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function pf(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const Mb="@.disabled";let Sb=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new kb("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new Eb(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}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()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(bd),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class kb{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==Mb?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class Eb extends kb{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Mb?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function Db(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function gf(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let zC=(()=>{class n extends bd{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Jh),i.LFG(rf))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Si=new i.OlP("AnimationModuleType"),wd=[{provide:js,useClass:OC},{provide:rf,useFactory:function xb(){return new Bg}},{provide:bd,useClass:zC},{provide:i.FYo,useFactory:function Rb(n,o,e){return new Sb(n,o,e)},deps:[xe,bd,i.R0b]}],mf=[{provide:Jh,useFactory:()=>new IC},{provide:Si,useValue:"BrowserAnimations"},...wd],Pb=[{provide:Jh,useClass:kc},{provide:Si,useValue:"NoopAnimations"},...wd];let Lb=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Pb:mf}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:mf,imports:[Lo]}),n})();function Ob(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Hb(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const Fb=["*"];let YC=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),jC=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const VC=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function UC(){return!0}});let nt=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Zu()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vg),i.LFG(VC,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El],El]}),n})();function Co(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=Ne(o)}}}function Qo(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function To(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=Ne(o)}}}function Vl(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Zi(e):this.defaultTabIndex}}}function $g(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new ke.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function Nb(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Ui.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Pc=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function qC(){return(0,i.f3M)(i.soG)}});class vi{constructor(){this._localeChanges=new ke.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const Ms=new i.OlP("mat-date-formats"),Bb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function _f(n,o){const e=Array(n);for(let t=0;t{class n extends vi{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return _f(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _f(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return _f(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Bb.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pc,8),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Yb={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let jb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:Wg}],imports:[[hc]]}),n})(),Jg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ms,useValue:Yb}],imports:[[jb]]}),n})(),Xo=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function Ad(n,o,e){n.nativeElement.classList.toggle(o,e)}let bf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();class ql{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const KC={enterDuration:225,exitDuration:150},Ub=_o({passive:!0}),Xg=["mousedown","touchstart"],em=["mouseup","mouseleave","touchend","touchcancel"];class ZC{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=ei(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},KC),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function $C(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function st(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const I=new ql(this,g,t);return I.state=0,this._activeRipples.add(I),t.persistent||(this._mostRecentTransientRipple=I),this._runTimeoutOutsideZone(()=>{const W=I===this._mostRecentTransientRipple;I.state=1,!t.persistent&&(!W||!this._isPointerDown)&&I.fadeOut()},h),I}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},KC),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=ei(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Xg))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(em),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=Ol(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,Ub)})})}_removeTriggerEvents(){this._triggerElement&&(Xg.forEach(o=>{this._triggerElement.removeEventListener(o,this,Ub)}),this._pointerUpEventsRegistered&&em.forEach(o=>{this._triggerElement.removeEventListener(o,this,Ub)}))}}const Vb=new i.OlP("mat-ripple-global-options");let Ss=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ZC(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(fi),i.Y36(Vb,8),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),cs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt,hc],nt]}),n})(),qb=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Gl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt]]}),n})();const vd=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Gb=new i.OlP("MatOptgroup");let Kb=0;class Zb{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let $b=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Kb++,this.onSelectionChange=new i.vpe,this._stateChanges=new ke.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ne(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Ni(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Zb(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Lc=(()=>{class n extends $b{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(vd,8),i.Y36(Gb,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:Fb,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Ob,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,Hb,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[qb,b.O5,Ss],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Wb(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;r{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,b.ez,nt,Gl]]}),n})();function Cd(n,o){}class wf{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const QC={dialogContainer:ti("dialogContainer",[_t("void, exit",De({opacity:0,transform:"scale(0.7)"})),_t("enter",De({transform:"none"})),ht("* => enter",rt("150ms cubic-bezier(0, 0, 0.2, 1)",De({transform:"none",opacity:1}))),ht("* => void, * => exit",rt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",De({opacity:0})))])};let Af=(()=>{class n extends ga{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=kl(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=kl())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=kl();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(wf),i.Y36(wc),i.Y36(i.R0b),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Tr,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),Jb=(()=>{class n extends Af{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,Cd,0,0,"ng-template",0)},directives:[Tr],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[QC.dialogContainer]}}),n})(),Qb=0;class Dn{constructor(o,e,t="mat-dialog-"+Qb++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ke.xQ,this._afterClosed=new ke.xQ,this._beforeClosed=new ke.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Kt.h)(s=>"opened"===s.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Kt.h)(s=>"closed"===s.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,Kt.h)(s=>27===s.keyCode&&!this.disableClose&&!Ni(s))).subscribe(s=>{s.preventDefault(),Xb(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Xb(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Kt.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Xb(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Wn=new i.OlP("MatDialogData"),Td=new i.OlP("mat-dialog-default-options"),ew=new i.OlP("mat-dialog-scroll-strategy"),tw={provide:ew,deps:[Ji],useFactory:function XC(n){return()=>n.scrollStrategies.block()}};let iw=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=I,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ke.xQ,this._afterOpenedAtThisLevel=new ke.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=cr(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function eT(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new wf),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new P.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new En({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:wf,useValue:t}]}),r=new pa(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Cr(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new pa(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(Ti,null,i.XFs.Optional))&&r.push({provide:Ti,useValue:{value:e.direction,change:(0,Ye.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),Xi=(()=>{class n extends iw{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,Dn,Jb,Wn,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ji),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(Td,8),i.LFG(ew),i.LFG(n,12),i.LFG(ag),i.LFG(Si,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),nw=0,ks=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+nw++}ngOnInit(){this._dialogRef||(this._dialogRef=function kS(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn,8),i.Y36(i.SBq),i.Y36(Xi))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Gs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Ks=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),im=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xi,tw],imports:[[id,xl,nt],nt]}),n})();var nm=w(6114);let Sa=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Ri),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,Kt.h)(e=>e instanceof be)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Kt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(Mn),i.LFG(Xi),i.LFG(In),i.LFG(nm.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function er(n){return!!n&&(n instanceof Ui.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var tT=w(7830);function vf(...n){if(1===n.length){const o=n[0];if((0,Yu.k)(o))return ka(o,null);if((0,tT.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return ka(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return ka(n=1===n.length&&(0,Yu.k)(n[0])?n[0]:n,null).pipe((0,at.U)(e=>o(...e)))}return ka(n,null)}function ka(n,o){return new Ui.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,I,W)=>(g[I]=s[W],g),{}):s),e.complete())}}))}})}const sT=new class nT extends M_.v{}(class iT extends ju.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var sm=w(9312);class Cf extends Ls.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(Cf.dispatch,this.delay,new oT(o,this.destination)))}_next(o){this.scheduleMessage(sm.P.createNext(o))}_error(o){this.scheduleMessage(sm.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(sm.P.createComplete()),this.unsubscribe()}}class oT{constructor(o,e){this.notification=o,this.destination=e}}var Kl=w(5283);class rT extends ke.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new ow(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new du.N;if(this.isStopped||this.hasError?r=P.w.EMPTY:(this.observers.push(o),r=new Kl.W(this,o)),s&&o.add(o=new Cf(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class ow{constructor(o,e){this.time=o,this.value=e}}function rw(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function aw({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new rT(n,o,t),r=g.subscribe({next(W){s.next(W)},error(W){c=!0,s.error(W)},complete(){d=!0,r=void 0,s.complete()}}));const I=s.subscribe(this);this.add(()=>{a--,I.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Md{}let om=(()=>{class n extends Md{getTranslation(e){return(0,Ye.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class rm{}let Tf=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Mf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!Mf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{Sf(o[t])?t in n?e[t]=cw(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class kf{}let lw=(()=>{class n extends kf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!Er(e)||!Er(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return Er(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Zl{}let uw=(()=>{class n extends Zl{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class am{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const cm=new i.OlP("USE_STORE"),lm=new i.OlP("USE_DEFAULT_LANG"),um=new i.OlP("DEFAULT_LANGUAGE"),dm=new i.OlP("USE_EXTEND");let Ii=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Ut.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ye.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Ut.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ye.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(rw(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,at.U)(s=>this.compiler.compileTranslations(s,e)),rw(1),(0,Ut.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?cw(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),er(r[d])&&(c=!0);return c?vf(t.map(h=>er(r[h])?r[h]:(0,Ye.of)(r[h]))).pipe((0,at.U)(h=>{let g={};return h.forEach((I,W)=>{g[t[W]]=I}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,fs.b)(s=>er(s=this.getParsedResult(s,e,t))?s:(0,Ye.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return er(s)?s:(0,Ye.of)(s)}}getStreamOnTranslationChange(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');return ro(cr(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ci.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ye.of)(a)})))}stream(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');return ro(cr(()=>this.get(e,t)),this.onLangChange.pipe((0,Ci.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return er(a)?a:(0,Ye.of)(a)})))}instant(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(er(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(am),i.LFG(Md),i.LFG(Zl),i.LFG(kf),i.LFG(rm),i.LFG(lm),i.LFG(cm),i.LFG(dm),i.LFG(um))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),gt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);er(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(Mf(e,this.lastKey)&&Mf(t,this.lastParams))return this.value;let s;if(Er(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Sd=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Md,useClass:om},e.compiler||{provide:Zl,useClass:uw},e.parser||{provide:kf,useClass:lw},e.missingTranslationHandler||{provide:rm,useClass:Tf},am,{provide:cm,useValue:e.isolate},{provide:lm,useValue:e.useDefaultLang},{provide:dm,useValue:e.extend},{provide:um,useValue:e.defaultLanguage},Ii]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Md,useClass:om},e.compiler||{provide:Zl,useClass:uw},e.parser||{provide:kf,useClass:lw},e.missingTranslationHandler||{provide:rm,useClass:Tf},{provide:cm,useValue:e.isolate},{provide:lm,useValue:e.useDefaultLang},{provide:dm,useValue:e.extend},{provide:um,useValue:e.defaultLanguage},Ii]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),dw=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Gs],pipes:[gt],styles:[""]}),n})();const hw=["mat-button",""],aT=["*"],cT=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],lT=Qo(Co(To(class{constructor(n){this._elementRef=n}})));let Bt=(()=>{class n extends lT{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of cT)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ys),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(Ss,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:hw,ngContentSelectors:aT,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ss],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Zs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt],nt]}),n})();const gw=["connectionContainer"],hm=["inputContainer"],uT=["label"];function dT(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function fm(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function hT(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function mw(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function fT(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function _w(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,hT,4,1,"ng-container",12),i.YNc(3,mw,1,0,"ng-content",12),i.YNc(4,fT,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function pT(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function yw(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function RS(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function gT(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function kd(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,gT,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const mT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$l=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ed=0;const bw=new i.OlP("MatError");let Ic=(()=>{class n{constructor(e,t){this.id="mat-error-"+Ed++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:bw,useExisting:n}])]}),n})();const ww={transitionMessages:ti("transitionMessages",[_t("enter",De({opacity:1,transform:"translateY(0%)"})),ht("void => enter",[De({opacity:0,transform:"translateY(-5px)"}),rt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Dd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),Aw=0;const vw=new i.OlP("MatHint");let pm=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Aw++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:vw,useExisting:n}])]}),n})(),Es=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),xd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const _T=new i.OlP("MatPrefix"),gm=new i.OlP("MatSuffix");let mm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:gm,useExisting:n}])]}),n})(),Cw=0;const wT=Qo(class{constructor(n){this._elementRef=n}},"primary"),OS=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Df=new i.OlP("MatFormField");let ls=(()=>{class n extends wT{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ke.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Cw++,this._labelId="mat-form-field-label-"+Cw++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ne(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Vt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe($e(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe($e(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Mi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Vt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Vt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe($e(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,da(this._label.nativeElement,"transitionend").pipe((0,Ut.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let I=0;I0?.75*we+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,Pl],nt]}),n})();function Dr(n){return n&&"function"==typeof n.connect}class _m{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const I=t(r,c,d);h=e.createEmbeddedView(I.templateRef,I.context,I.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class en{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ke.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let Sw=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Wl=new i.OlP("_ViewRepeater");let xf=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ea=(()=>{class n extends xf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Jn=new i.OlP("NgValueAccessor"),vT={provide:Jn,useExisting:(0,i.Gpc)(()=>us),multi:!0},TT=new i.OlP("CompositionEventMode");let us=(()=>{class n extends xf{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function CT(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(TT,8))},n.\u0275dir=i.lG2({type:n,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(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([vT]),i.qOj]}),n})();function Da(n){return null==n||0===n.length}function Dw(n){return null!=n&&"number"==typeof n.length}const Bi=new i.OlP("NgValidators"),xr=new i.OlP("NgAsyncValidators"),xw=/^(?=.{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 Oi{static min(o){return function ym(n){return o=>{if(Da(o.value)||Da(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(Da(o.value)||Da(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return wm(o)}static requiredTrue(o){return function Rw(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Am(n){return Da(n.value)||xw.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function vm(n){return o=>Da(o.value)||!Dw(o.value)?null:o.value.lengthDw(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Pw(n){if(!n)return Rf;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(Da(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Ql(o)}static composeAsync(o){return Iw(o)}}function wm(n){return Da(n.value)?{required:!0}:null}function Rf(n){return null}function Jl(n){return null!=n}function Lw(n){const o=(0,i.QGY)(n)?(0,un.D)(n):n;return(0,i.CqO)(o),o}function Pf(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Mo(n,o){return o.map(e=>e(n))}function Rd(n){return n.map(o=>function MT(n){return!n.validate}(o)?o:e=>o.validate(e))}function Ql(n){if(!n)return null;const o=n.filter(Jl);return 0==o.length?null:function(e){return Pf(Mo(e,o))}}function Tm(n){return null!=n?Ql(Rd(n)):null}function Iw(n){if(!n)return null;const o=n.filter(Jl);return 0==o.length?null:function(e){return vf(Mo(e,o).map(Lw)).pipe((0,at.U)(Pf))}}function Mm(n){return null!=n?Iw(Rd(n)):null}function Pd(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Ld(n){return n._rawValidators}function Ow(n){return n._rawAsyncValidators}function Sm(n){return n?Array.isArray(n)?n:[n]:[]}function Id(n,o){return Array.isArray(n)?n.includes(o):n===o}function km(n,o){const e=Sm(o);return Sm(n).forEach(s=>{Id(e,s)||e.push(s)}),e}function Lf(n,o){return Sm(o).filter(e=>!Id(n,e))}class Em{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(o){this._rawValidators=o||[],this._composedValidatorFn=Tm(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Mm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class So extends Em{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qn extends Em{get formDirective(){return null}get path(){return null}}class ST{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let ds=(()=>{class n extends ST{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(So,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),If=(()=>{class n extends ST{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function Hd(n,o){return[...o.path,n]}function fn(n,o){Yw(n,o),o.valueAccessor.writeValue(n.value),function FT(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&jw(n,o)})}(n,o),function Uw(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function Rm(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&jw(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function HT(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Rr(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),xa(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Hf(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Yw(n,o){const e=Ld(n);null!==o.validator?n.setValidators(Pd(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Ow(n);null!==o.asyncValidator?n.setAsyncValidators(Pd(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Hf(o._rawValidators,s),Hf(o._rawAsyncValidators,s)}function xa(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=Ld(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Ow(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Hf(o._rawValidators,t),Hf(o._rawAsyncValidators,t),e}function jw(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Vw(n,o){Yw(n,o)}function Ff(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Nf(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Kw(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===us?e=a:function zf(n){return Object.getPrototypeOf(n.constructor)===Ea}(a)?t=a:s=a}),s||t||e||null}function Bf(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const Ra="VALID",Fd="INVALID",Xl="PENDING",Oc="DISABLED";function Zw(n){return(zd(n)?n.validators:n)||null}function $w(n){return Array.isArray(n)?Tm(n):n||null}function Lm(n,o){return(zd(o)?o.asyncValidators:n)||null}function Im(n){return Array.isArray(n)?Mm(n):n||null}function zd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Om=n=>n instanceof ki,Nd=n=>n instanceof Bd,Hm=n=>n instanceof Nm;function Ww(n){return Om(n)?n.value:n.getRawValue()}function Jw(n,o){const e=Nd(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function Fm(n,o){Nd(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class zm{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=$w(this._rawValidators),this._composedAsyncValidatorFn=Im(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===Ra}get invalid(){return this.status===Fd}get pending(){return this.status==Xl}get disabled(){return this.status===Oc}get enabled(){return this.status!==Oc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=$w(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=Im(o)}addValidators(o){this.setValidators(km(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(km(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Lf(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Lf(o,this._rawAsyncValidators))}hasValidator(o){return Id(this._rawValidators,o)}hasAsyncValidator(o){return Id(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Xl,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Oc,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Ra,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ra||this.status===Xl)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oc:Ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Xl,this._hasOwnPendingAsyncValidator=!0;const e=Lw(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function Pm(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Nd(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:Hm(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Oc:this.errors?Fd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xl)?Xl:this._anyControlsHaveStatus(Fd)?Fd:Ra}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){zd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ki extends zm{constructor(o=null,e,t){super(Zw(e),Lm(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Bf(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Bf(this._onDisabledChange,o)}_forEachChild(o){}_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(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class Bd extends zm{constructor(o,e,t){super(Zw(e),Lm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){Fm(this,o),Object.keys(o).forEach(t=>{Jw(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=Ww(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Nm extends zm{constructor(o,e,t){super(Zw(e),Lm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){Fm(this,o),o.forEach((t,s)=>{Jw(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>Ww(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Qw={provide:Qn,useExisting:(0,i.Gpc)(()=>Hc)},Yd=(()=>Promise.resolve(null))();let Hc=(()=>{class n extends Qn{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Bd({},Tm(e),Mm(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Yd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),fn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Yd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Yd.then(()=>{const t=this._findContainer(e.path),s=new Bd({});Vw(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Yd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Yd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Nf(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Qw]),i.qOj]}),n})();const zS={provide:So,useExisting:(0,i.Gpc)(()=>jd)},jT=(()=>Promise.resolve(null))();let jd=(()=>{class n extends So{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new ki,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Kw(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Ff(e,this.viewModel)&&(this._updateValue(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(e){this.viewModel=e,this.update.emit(e)}_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(){fn(this.control,this),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(e){jT.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;jT.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?Hd(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,9),i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([zS]),i.qOj,i.TTD]}),n})(),Ud=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),Xw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Vf=new i.OlP("NgModelWithFormControlWarning"),BS={provide:So,useExisting:(0,i.Gpc)(()=>Ws)};let Ws=(()=>{class n extends So{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Kw(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Rr(t,this,!1),fn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ff(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Rr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(Vf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([BS]),i.qOj,i.TTD]}),n})();const qf={provide:Qn,useExisting:(0,i.Gpc)(()=>Pa)};let Pa=(()=>{class n extends Qn{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(xa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return fn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Rr(e.control||null,e,!1),Bf(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Nf(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Rr(t||null,e),Om(s)&&(fn(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Vw(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function zT(n,o){return xa(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yw(this.form,this),this._oldForm&&xa(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([qf]),i.qOj,i.TTD]}),n})();const qT={provide:So,useExisting:(0,i.Gpc)(()=>iA)};let iA=(()=>{class n extends So{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Kw(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Ff(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Hd(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,13),i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(Vf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([qT]),i.qOj,i.TTD]}),n})(),Fc=(()=>{class n{constructor(){this._validator=Rf}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Rf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const US={provide:Bi,useExisting:(0,i.Gpc)(()=>tr),multi:!0};let tr=(()=>{class n extends Fc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function aA(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>wm}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([US]),i.qOj]}),n})(),Km=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Xw]]}),n})(),Zm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[Km]}),n})(),zc=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Vf,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[Km]}),n})(),VS=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function hA(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Bd(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new ki(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new Nm(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return Om(e)||Nd(e)||Hm(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:zc}),n})();const GS=["trigger"],KS=["panel"];function fA(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function s0(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function o0(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function r0(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,s0,2,1,"span",10),i.YNc(2,o0,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function ZS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const $S=[[["mat-select-trigger"]],"*"],WS=["mat-select-trigger","*"],a0={transformPanelWrap:ti("transformPanelWrap",[ht("* => void",Ao("@transformPanel",[Yy()],{optional:!0}))]),transformPanel:ti("transformPanel",[_t("void",De({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),_t("showing",De({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),_t("showing-multiple",De({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ht("void => *",rt("120ms cubic-bezier(0, 0, 0.2, 1)")),ht("* => void",rt("100ms 25ms linear",De({opacity:0})))])};let pA=0;const mA=new i.OlP("mat-select-scroll-strategy"),Jm=new i.OlP("MAT_SELECT_CONFIG"),Qf={provide:mA,deps:[Ji],useFactory:function Wm(n){return()=>n.scrollStrategies.reposition()}};class QS{constructor(o,e){this.source=o,this.value=e}}const XS=To(Vl(Co($g(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),ek=new i.OlP("MatSelectTrigger");let _A=(()=>{class n extends XS{constructor(e,t,s,a,r,c,d,h,g,I,W,ce,we,Me){var Fe,Ht,Jt;super(r,a,d,h,I),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=we,this._defaultOptions=Me,this._panelOpen=!1,this._compareWith=(Lt,oi)=>Lt===oi,this._uid="mat-select-"+pA++,this._triggerAriaLabelledBy=null,this._destroy=new ke.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+pA++,this._panelDoneAnimatingStream=new ke.xQ,this._overlayPanelClass=(null===(Fe=this._defaultOptions)||void 0===Fe?void 0:Fe.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Jt=null===(Ht=this._defaultOptions)||void 0===Ht?void 0:Ht.disableOptionCentering)&&void 0!==Jt&&Jt,this.ariaLabel="",this.optionSelectionChanges=cr(()=>{const Lt=this.options;return Lt?Lt.changes.pipe(Vt(Lt),(0,Ci.w)(()=>(0,Mi.T)(...Lt.map(oi=>oi.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ut.q)(1),(0,Ci.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Kt.h)(Lt=>Lt),(0,at.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Kt.h)(Lt=>!Lt),(0,at.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Me?void 0:Me.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Me.typeaheadDebounceInterval),this._scrollStrategyFactory=ce,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(W)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Oi.required))&&void 0!==a&&a}set required(e){this._required=Ne(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ne(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ne(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Zi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new en(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(yc(),$e(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe($e(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Vt(null),$e(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!Ni(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||Ni(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Ut.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new _g(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe($e(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe($e(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Mi.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($e(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Mi.T)(...this.options.map(t=>t._stateChanges)).pipe($e(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hn),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Xo),i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(Hc,8),i.Y36(Pa,8),i.Y36(Df,8),i.Y36(So,10),i.$8M("tabindex"),i.Y36(mA),i.Y36(mC),i.Y36(Jm,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(GS,5),i.Gf(KS,5),i.Gf(sC,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),qd=(()=>{class n extends _A{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe($e(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Wb(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:function JC(n,o,e,t){return ne+t?Math.max(0,n-t+o):e}((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new QS(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Wb(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ek,5),i.Suo(s,Lc,5),i.Suo(s,Gb,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:Dd,useExisting:n},{provide:vd,useExisting:n}]),i.qOj],ngContentSelectors:WS,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t($S),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,fA,2,1,"span",3),i.YNc(5,r0,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,ZS,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[by,b.RF,b.n9,b.ED,sC,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[a0.transformPanelWrap,a0.transformPanel]},changeDetection:0}),n})(),Xf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Qf],imports:[[b.ez,id,tm,nt],An,$s,tm,nt]}),n})();const yA=new Set;let Yc,bA=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):c0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function wA(n){if(!yA.has(n))try{Yc||(Yc=document.createElement("style"),Yc.setAttribute("type","text/css"),document.head.appendChild(Yc)),Yc.sheet&&(Yc.sheet.insertRule(`@media ${n} {body{ }}`,0),yA.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function c0(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let l0=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ke.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Qm(ua(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=Qm(ua(e)).map(r=>this._registerQuery(r).observable);let a=(0,jr.aj)(s);return a=ro(a.pipe((0,Ut.q)(1)),a.pipe(Ay(1),(0,nd.b)(0))),a.pipe((0,at.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Ui.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(Vt(t),(0,at.U)(({matches:r})=>({query:e,matches:r})),$e(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(bA),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Qm(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const ik={tooltipState:ti("state",[_t("initial, void, hidden",De({opacity:0,transform:"scale(0)"})),_t("visible",De({transform:"scale(1)"})),ht("* => visible",rt("200ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(0)",offset:0}),De({opacity:.5,transform:"scale(0.99)",offset:.5}),De({opacity:1,transform:"scale(1)",offset:1})]))),ht("* => hidden",rt("100ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:0})))])},vA="tooltip-panel",CA=_o({passive:!0}),d0=new i.OlP("mat-tooltip-scroll-strategy"),f0={provide:d0,deps:[Ji],useFactory:function h0(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},p0=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function g0(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let m0=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=I,this._defaultOptions=W,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ke.xQ,this._scrollStrategy=g,this._document=ce,W&&(W.position&&(this.position=W.position),W.touchGestures&&(this.touchGestures=W.touchGestures)),I.change.pipe($e(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Zi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Zi(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($e(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,CA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new pa(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe($e(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe($e(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${vA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($e(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($e(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe($e(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Ni(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),$e(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${vA}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,CA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),jc=(()=>{class n extends m0{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){super(e,t,s,a,r,c,d,h,g,I,W,ce),this._tooltipComponent=y0}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(fi),i.Y36(rd),i.Y36(Ys),i.Y36(d0),i.Y36(Ti,8),i.Y36(p0,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),_0=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ke.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),y0=(()=>{class n extends _0{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(l0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ik.tooltipState]},changeDetection:0}),n})(),tp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[f0],imports:[[zy,b.ez,id,nt],nt,An]}),n})();function sk(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function ok(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,sk,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function rk(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function ak(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,ok,3,6,"mat-form-field",14),i.YNc(4,rk,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function b0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function ck(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let e_=(()=>{class n{constructor(){this.changes=new ke.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const uk={provide:e_,deps:[[new i.FiY,new i.tp0,e_]],useFactory:function lk(n){return n||new e_}},f=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),p=Co(Nb(class{}));let m=(()=>{class n extends p{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Zi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Zi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Zi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Zi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=Ne(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=Ne(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),y=(()=>{class n extends m{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(e_),i.Y36(i.sBO),i.Y36(f,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,ak,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,b0,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,ck,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[ls,qd,Lc,Bt,b.O5,b.sg,jc],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),M=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[uk],imports:[[b.ez,Zs,Xf,tp,nt]]}),n})();var k=w(943);const x=["mat-menu-item",""];function z(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const j=["*"];function Q(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const te={transformMenu:ti("transformMenu",[_t("void",De({opacity:0,transform:"scale(0.8)"})),ht("void => enter",rt("120ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:1,transform:"scale(1)"}))),ht("* => void",rt("100ms 25ms linear",De({opacity:0})))]),fadeInItems:ti("fadeInItems",[_t("showing",De({opacity:1})),ht("void => *",[De({opacity:0}),rt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Le=new i.OlP("MatMenuContent"),es=new i.OlP("MAT_MENU_PANEL"),Uc=To(Co(class{}));let Vc=(()=>{class n extends Uc{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new ke.xQ,this._focused=new ke.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new ke.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+i_++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ne(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new bc(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Vt(this._directDescendantItems),(0,Ci.w)(e=>(0,Mi.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Vt(this._directDescendantItems),(0,Ci.w)(t=>(0,Mi.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:Ni(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Vt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ip))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Le,5),i.Suo(s,Vc,5),i.Suo(s,Vc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),np=(()=>{class n extends qc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ip))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:es,useExisting:n}]),i.qOj],ngContentSelectors:j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Q,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[te.transformMenu,te.fadeInItems]},changeDetection:0}),n})();const sp=new i.OlP("mat-menu-scroll-strategy"),s_={provide:sp,deps:[Ji],useFactory:function n_(n){return()=>n.scrollStrategies.reposition()}},hk=_o({passive:!0});let a1=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=g=>{ad(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof qc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,hk),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hk),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof qc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe($e(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof qc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Kt.h)(s=>"void"===s.toState),(0,Ut.q)(1),$e(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new En({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],I=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",I="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:I},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:I},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-I},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-I}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ye.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Kt.h)(r=>r!==this._menuItemInstance),(0,Kt.h)(()=>this._menuOpen)):(0,Ye.of)();return(0,Mi.T)(e,s,a,t)}_handleMousedown(e){Ol(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Kt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,k.g)(0,Pi)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof qc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,k.g)(0,Pi),$e(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Cr(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(sp),i.Y36(es,8),i.Y36(Vc,10),i.Y36(Ti,8),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),fk=(()=>{class n extends a1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),TA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[s_],imports:[[b.ez,nt,cs,id],An,nt]}),n})();var MA=w(1737),c1=w(2474);const l1=["*"];let SA;function o_(n){var o;return(null===(o=function u1(){if(void 0===SA&&(SA=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(SA=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return SA}())||void 0===o?void 0:o.createHTML(n))||n}function pk(n){return Error(`Unable to find icon with the name "${n}"`)}function gk(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function mk(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Gd{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let Kd=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new Gd(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw mk(s);const c=o_(r);return this._addSvgIconConfig(e,t,new Gd("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new Gd(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw mk(t);const r=o_(a);return this._addSvgIconSetConfig(e,new Gd("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw gk(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ye.of)(kA(s)):this._loadSvgIconFromConfig(new Gd(e,null)).pipe((0,on.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,at.U)(a=>kA(a)))}getNamedSvgIcon(e,t=""){const s=_k(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,MA._)(pk(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ye.of)(kA(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,at.U)(t=>kA(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ye.of)(s):vf(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,Tn.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ye.of)(null)})))).pipe((0,at.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw pk(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,on.b)(t=>e.svgText=t),(0,at.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ye.of)(null):this._fetchIcon(e).pipe((0,on.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString(o_(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString(o_("")),s=e.attributes;for(let a=0;ao_(g)),q(()=>this._inProgressUrlFetches.delete(c)),(0,c1.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(_k(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),yk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_1=yk.map(n=>`[${n}]`).join(", "),y1=/^url\(['"]?#(.*?)['"]?\)$/;let tn=(()=>{class n extends p1{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=P.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Ne(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(_1),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(y1):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,Ut.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Kd),i.$8M("aria-hidden"),i.Y36(g1),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:l1,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),iu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})(),bk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[M,TA,iu,Zs,Sd,b.ez]]}),n})();var b1=w(655),w1=w(9441);const Zd=[5,10,25,100];function wk(n){let o="";return null!==n.titleBefore&&(o+=n.titleBefore+" "),null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),null!==n.titleAfter&&(o+=n.titleAfter+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function ts(){const n=new wf;return n.disableClose=!0,n.autoFocus=!1,n}const x1=new Intl.Collator("cs",{numeric:!0});function op(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return x1.compare(d,h)*("asc"===a?1:-1)}):n}function r_(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function rp(n,o){let e="";return n.attributes&&n.attributes.forEach(t=>{t.friendlyName===o&&(e=t.value)}),e}function ap(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function cp(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,w1.saveAs)(c,`${e}.${o}`)}}const Ak="GUI_CONFIG.PREF_PAGE_SIZE.";let P1=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L1=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(Ak+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(Ak+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(P1))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F1=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Bt,fk,tn,np,Vc],pipes:[gt],styles:[""]}),n})();function z1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function N1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const B1=["*"];let ir=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Zd,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(L1))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(y,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:B1,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,z1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,N1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[y,b.O5,F1],styles:[""]}),n})(),v0=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=ts();this.dialog.open(dw,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Sa),i.LFG(Mn),i.LFG(oo),i.LFG(xi),i.LFG(Xi),i.LFG(Ri))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ck=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kd),i.LFG(Yn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Y1=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})(),j1=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fn=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ii))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tk=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&-1!==e.url.toString().indexOf(s)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const c=ts();c.width="450px",this.dialog.open(Y1,c).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,on.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,MA._)(c):a?void this.notificator.showRPCError(d):(0,MA._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Sa),i.LFG(j1),i.LFG(Fn),i.LFG(Mn),i.LFG(Xi),i.LFG(v0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Mk=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),U1=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,MA._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,Tn.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,Tn.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,Tn.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,Tn.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Fn),i.LFG(Sa),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),EA=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(I)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(In),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();ti("openClose",[_t("open",De({overflow:"hidden"})),_t("closed",De({height:"0px",overflow:"hidden"})),ht("open <=> closed",[rt(".3s ease-in")])]);const q1=ti("flyInOut",[ht(":enter",[De({transform:"translateX(100%)"}),rt(".25s")]),ht(":leave",[rt(".5s",De({transform:"translateX(100%)"}))])]);ti("rollInOut",[ht(":enter",[De({height:"0px"}),rt(".25s")]),ht(":leave",[rt(".25s",De({height:"0px"}))])]),ti("routeAnimations",[ht("* => *",[De({position:"relative"}),Ao(":enter",[De({width:"100%",opacity:0})],{optional:!0}),Ao(":leave",[De({position:"absolute",width:"100%",opacity:1}),rt("0.15s",De({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Ao(":enter",[De({position:"absolute",width:"100%",opacity:0}),rt("0.15s",De({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),ti("tagsOpenClose",[_t("open",De({})),_t("closed",De({width:"0px",height:"0px"})),ht("open <=> closed",[rt(".3s ease-in")])]),ti("switchAnimations",[ht("true => false",[Ao(":enter, :leave",De({})),Cg([Ao(":enter",[De({transform:"translateX(-100%)"}),rt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),Ao(":leave",[De({transform:"translateX(0%)",position:"absolute"}),rt("1s ease-in-out",De({transform:"translateX(100%)"}))],{optional:!0})])]),ht("false => true",[Ao(":enter, :leave",De({})),Cg([Ao(":enter",[De({transform:"translateX(100%)"}),rt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),Ao(":leave",[De({transform:"translateX(0%)",position:"absolute"}),rt("1s ease-in-out",De({transform:"translateX(-100%)"}))],{optional:!0})])])]),ti("slideInOutLeft",[ht(":enter",[De({transform:"translateX(-100%)",position:"relative"}),rt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[rt("0.5s ease-in",De({transform:"translateX(-100%)"}))])]),ti("slideInOutRight",[ht(":enter",[De({transform:"translateX(100%)",position:"fixed"}),rt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[De({transform:"translateX(-100%)",position:"relative"}),rt("0.5s ease-in",De({transform:"translateX(100%)"}))])]);let Sk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})();function Q1(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function X1(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function ex(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function tx(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const sx=Qo(class{constructor(n){this._elementRef=n}},"primary"),kk=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function ox(){return{diameter:100}}});class Gc extends sx{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=P.w.EMPTY,this.mode="determinate";const h=Gc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Zi(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Zi(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Zi(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Sl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Gc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Gc._diameters=new WeakMap,Gc.\u0275fac=function(o){return new(o||Gc)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0,8),i.Y36(Si,8),i.Y36(kk),i.Y36(i.sBO),i.Y36(Hn),i.Y36(i.R0b))},Gc.\u0275cmp=i.Xpm({type:Gc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,Q1,1,11,"circle",2),i.YNc(3,X1,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let vn=(()=>{class n extends Gc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0,8),i.Y36(Si,8),i.Y36(kk),i.Y36(i.sBO),i.Y36(Hn),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,ex,1,11,"circle",2),i.YNc(3,tx,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),DA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt,b.ez],nt]}),n})();const Ek=_o({passive:!0});let ax=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Gn.E;const t=ei(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new ke.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,Ek),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,Ek)}}),a}stopMonitoring(e){const t=ei(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hc]]}),n})();const xk=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),cx=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let lx=0;const ux=$g(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let nr=(()=>{class n extends ux{constructor(e,t,s,a,r,c,d,h,g,I){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=I,this._uid="mat-input-"+lx++,this.focused=!1,this.stateChanges=new ke.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(we=>Ih().has(we));const W=this._elementRef.nativeElement,ce=W.nodeName.toLowerCase();this._inputValueAccessor=d||W,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",we=>{const Me=we.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ce,this._isTextarea="textarea"===ce,this._isInFormField=!!I,this._isNativeSelect&&(this.controlType=W.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ne(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Oi.required))&&void 0!==a&&a}set required(e){this._required=Ne(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ih().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ne(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){cx.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(So,10),i.Y36(Hc,8),i.Y36(Pa,8),i.Y36(Xo),i.Y36(xk,10),i.Y36(ax),i.Y36(i.R0b),i.Y36(Df,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:Dd,useExisting:n}]),i.qOj,i.TTD]}),n})(),xA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xo],imports:[[Dk,$s,nt],Dk,$s]}),n})();function dx(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function hx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function fx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function px(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,hx,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,fx,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let gx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Ii),i.Y36(Fn),i.Y36(Gt),i.Y36(Wn),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,dx,1,0,"mat-spinner",1),i.YNc(4,px,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[ks,b.O5,vn,Gs,ls,Es,nr,us,tr,ds,jd,Ic,Ks,Bt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),mx=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=ts();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(gx,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Xi),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})();const Ax=[[["caption"]],[["colgroup"],["col"]]],vx=["caption","colgroup, col"];function T0(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=Ne(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const lp=new i.OlP("CDK_TABLE");let up=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),dp=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),RA=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class Sx{}const kx=T0(Sx);let Kc=(()=>{class n extends kx{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=Ne(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,up,5),i.Suo(s,dp,5),i.Suo(s,RA,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class M0{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let S0=(()=>{class n extends M0{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),k0=(()=>{class n extends M0{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class Pk{constructor(){this.tasks=[],this.endTasks=[]}}const E0=new i.OlP("_COALESCED_STYLE_SCHEDULER");let Lk=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new ke.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Pk,this._getScheduleObservable().pipe($e(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new Pk;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,un.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Ut.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),D0=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof a_?e.headerCell.template:this instanceof c_?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class Ex extends D0{}const Dx=T0(Ex);let a_=(()=>{class n extends Dx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class xx extends D0{}const Rx=T0(xx);let c_=(()=>{class n extends Rx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),PA=(()=>{class n extends D0{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Zc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),x0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),P0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),LA=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const Ik=["top","bottom","left","right"];class Px{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some(W=>W)&&!t.some(W=>W))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),I=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const W="rtl"===this.direction,ce=W?"right":"left",we=W?"left":"right";for(const Me of o)for(let Fe=0;Fee[Fe]?Me:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===I?[]:c.slice(I).map((Me,Fe)=>t[Fe+I]?Me:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,I=0;g{var g,I;for(let W=0;W{e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);Ik.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of Ik)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const L0=new i.OlP("CDK_SPL");let IA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),OA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),HA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),FA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),zA=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=I,this._stickyPositioningListener=W,this._ngZone=ce,this._onDestroy=new ke.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new ji({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Ne(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Ne(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($e(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Dr(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Ut.q)(1),$e(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),NA(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=NA(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=NA(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=NA(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Dr(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Dr(this.dataSource)?e=this.dataSource.connect(this):er(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ye.of)(this.dataSource)),this._renderChangeSubscription=e.pipe($e(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Zc.mostRecentCellOutlet&&Zc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Px(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ye.of)()).pipe($e(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(Ti,8),i.Y36(b.K0),i.Y36(fi),i.Y36(Wl),i.Y36(E0),i.Y36(Hn),i.Y36(L0,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,LA,5),i.Suo(s,Kc,5),i.Suo(s,PA,5),i.Suo(s,a_,5),i.Suo(s,c_,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(IA,7),i.Gf(OA,7),i.Gf(HA,7),i.Gf(FA,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:lp,useExisting:n},{provide:Wl,useClass:_m},{provide:E0,useClass:Lk},{provide:L0,useValue:null}])],ngContentSelectors:vx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Ax),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[OA,IA,FA,HA],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function NA(n,o){return n.concat(Array.from(o))}let Ix=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[fa]]}),n})();const Ox=[[["caption"]],[["colgroup"],["col"]]],Hx=["caption","colgroup, col"];let La=(()=>{class n extends zA{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:Wl,useClass:_m},{provide:zA,useExisting:n},{provide:lp,useExisting:n},{provide:E0,useClass:Lk},{provide:L0,useValue:null}]),i.qOj],ngContentSelectors:Hx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Ox),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[OA,IA,FA,HA],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Pr=(()=>{class n extends up{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:up,useExisting:n}]),i.qOj]}),n})(),Lr=(()=>{class n extends dp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:dp,useExisting:n}]),i.qOj]}),n})(),Ir=(()=>{class n extends Kc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Kc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Or=(()=>{class n extends S0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),Hr=(()=>{class n extends k0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),$c=(()=>{class n extends a_{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:a_,useExisting:n}]),i.qOj]}),n})(),Ia=(()=>{class n extends PA{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:PA,useExisting:n}]),i.qOj]}),n})(),Wc=(()=>{class n extends x0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:x0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Oa=(()=>{class n extends P0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:P0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),I0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ix,nt],nt]}),n})();class Jc extends class Kx extends class Tw{}{constructor(o=[]){super(),this._renderData=new ji([]),this._filter=new ji(""),this._internalPageChanges=new ke.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(C_(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,I=typeof h;g!==I&&("number"===g&&(d+=""),"number"===I&&(h+=""));let W=0;return null!=d&&null!=h?d>h?W=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new ji(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Mi.T)(this._sort.sortChange,this._sort.initialized):(0,Ye.of)(null),t=this._paginator?(0,Mi.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ye.of)(null),a=(0,jr.aj)([this._data,this._filter]).pipe((0,at.U)(([d])=>this._filterData(d))),r=(0,jr.aj)([a,e]).pipe((0,at.U)(([d])=>this._orderData(d))),c=(0,jr.aj)([r,t]).pipe((0,at.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function Zx(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function $x(n,o){1&n&&i._UZ(0,"th",15)}function Wx(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function Jx(n,o){1&n&&i._UZ(0,"tr",17)}function Qx(n,o){1&n&&i._UZ(0,"tr",18)}function Xx(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",8),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",9),i.ynx(8,10),i.YNc(9,$x,1,0,"th",11),i.YNc(10,Wx,2,1,"td",12),i.BQk(),i.YNc(11,Jx,1,0,"tr",13),i.YNc(12,Qx,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,e.data.description)," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let Hk=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Jc(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,Zx,1,0,"mat-spinner",1),i.YNc(5,Xx,13,9,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,9,t.data.title)),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[ks,b.O5,vn,Gs,La,Ir,Lr,Or,Pr,Hr,$c,Wc,Ia,Oa,Ks,Bt],pipes:[gt],styles:[""]}),n})(),lR=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.theme=this.data.theme,this.message=this.data.message}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-confirmation-dialog"]],decls:11,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"button",2),i.NdJ("click",function(){return t.onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",3),i.NdJ("click",function(){return t.onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,6,t.message)),i.xp6(4),i.hij(" ",i.lcZ(7,8,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(10,10,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.SUBMIT_BUTTON")," "))},directives:[ks,Ks,Bt],pipes:[gt],styles:[""]}),n})();function gR(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function mR(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let _R=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=ts();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(mx,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function v1(n,o){return(0,b1.mG)(this,void 0,void 0,function*(){yield function C1(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(Mk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,gR,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,mR,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,tn],pipes:[gt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function yR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const bR=function(n){return{top:n}};let wR=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Fn),i.Y36(Mk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,yR,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,bR,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,_R],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:initial;bottom:0}}"],data:{animation:[q1]}}),n})();const AR=["*",[["mat-toolbar-row"]]],vR=["*","mat-toolbar-row"],CR=Qo(class{constructor(n){this._elementRef=n}});let TR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),MR=(()=>{class n extends CR{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,TR,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:vR,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(AR),i.Hsn(0),i.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();function SR(n,o){1&n&&(i.TgZ(0,"div",13),i.TgZ(1,"span",14),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",15),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",14),i._uU(6," \xa0\u{1f5f2} ~ "),i.qZA(),i.qZA())}const kR=function(n){return{background:n}},BA=function(n){return{color:n}};let ER=(()=>{class n{constructor(e,t,s){this.storeService=e,this.authService=t,this.sanitizer=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.principal=this.storeService.getPerunPrincipal(),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Sa),i.Y36(Yn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{sideNav:"sideNav"},decls:22,vars:29,consts:[[1,"header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],["mat-icon-button","",1,"mt-auto","mb-auto",3,"ngStyle","click"],["routerLink","/all-publications",1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white","routerLink","/all-publications",1,"mt-auto","mb-auto","router-icon","ml-2","mr-4"],[1,"mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.sideNav.toggle()}),i.TgZ(3,"mat-icon"),i._uU(4,"menu"),i.qZA(),i.qZA(),i._UZ(5,"a",3),i._UZ(6,"mat-icon",4),i.TgZ(7,"p",5),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.YNc(10,SR,7,0,"div",6),i.TgZ(11,"div",7),i.TgZ(12,"button",8),i.TgZ(13,"mat-icon",9),i._uU(14," person "),i.qZA(),i.TgZ(15,"span",10),i._uU(16),i.qZA(),i.qZA(),i.TgZ(17,"mat-menu",null,11),i.TgZ(19,"button",12),i.NdJ("click",function(){return t.onLogOut()}),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(18);i.Q6J("ngStyle",i.VKq(19,kR,t.bgColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(21,BA,t.iconColor)),i.xp6(3),i.Q6J("innerHTML",t.logo,i.oJD),i.xp6(2),i.Q6J("ngStyle",i.VKq(23,BA,t.textColor)),i.xp6(1),i.hij(" ",i.lcZ(9,15,"HEADER.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("ngStyle",i.VKq(25,BA,t.textColor)),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(27,BA,t.iconColor)),i.xp6(3),i.xDo(" ",t.principal.user.titleBefore," ",t.principal.user.firstName," ",t.principal.user.middleName," ",t.principal.user.lastName," ",t.principal.user.titleAfter," "),i.xp6(4),i.Oqu(i.lcZ(21,17,"HEADER.LOGOUT"))}},directives:[MR,b.PC,Bt,tn,_,Et,b.O5,fk,np,Vc],pipes:[gt],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function Nk(n){return o=>o.lift(new DR(n))}class DR{constructor(o){this.value=o}call(o,e){return e.subscribe(new xR(o,this.value))}}class xR extends Ls.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const YA=["*"],RR=["content"];function PR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function LR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const IR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],OR=["mat-drawer","mat-drawer-content","*"];function HR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function FR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const zR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],NR=["mat-sidenav","mat-sidenav-content","*"],Bk={transformDrawer:ti("transform",[_t("open, open-instant",De({transform:"none",visibility:"visible"})),_t("void",De({"box-shadow":"none",visibility:"hidden"})),ht("void => open-instant",rt("0ms")),ht("void <=> open, open-instant => void",rt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},YR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function jR(){return!1}}),O0=new i.OlP("MAT_DRAWER_CONTAINER");let jA=(()=>{class n extends Wu{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>jk)),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Wu,useExisting:n}]),i.qOj],ngContentSelectors:YA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Yk=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ke.xQ,this._animationEnd=new ke.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Kt.h)(g=>g),(0,at.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Kt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),Nk(void 0)),this._closedStream=this.openedChange.pipe((0,Kt.h)(g=>!g),(0,at.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Kt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),Nk(void 0)),this._destroyed=new ke.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new ke.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{da(this._elementRef.nativeElement,"keydown").pipe((0,Kt.h)(g=>27===g.keyCode&&!this.disableClose&&!Ni(g)),$e(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(yc((g,I)=>g.fromState===I.fromState&&g.toState===I.toState)).subscribe(g=>{const{fromState:I,toState:W}=g;(0===W.indexOf("open")&&"void"===I||"void"===W&&0===I.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ne(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ne(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ne(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,Ut.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(Ys),i.Y36(fi),i.Y36(i.R0b),i.Y36(wc),i.Y36(b.K0,8),i.Y36(O0,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(RR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:YA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Wu],encapsulation:2,data:{animation:[Bk.transformDrawer]},changeDetection:0}),n})(),jk=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new ke.xQ,this._doCheckSubject=new ke.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ke.xQ,e&&e.change.pipe($e(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe($e(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ne(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Ne(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Vt(this._allDrawers),$e(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Vt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,nd.b)(10),$e(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,Kt.h)(t=>t.fromState!==t.toState),$e(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe($e(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe($e(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($e((0,Mi.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(Hn),i.Y36(YR),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,jA,5),i.Suo(s,Yk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(jA,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:O0,useExisting:n}])],ngContentSelectors:OR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(IR),i.YNc(0,PR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,LR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[jA,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),H0=(()=>{class n extends jA{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>Vk)),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Wu,useExisting:n}]),i.qOj],ngContentSelectors:YA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Uk=(()=>{class n extends Yk{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ne(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Zi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Zi(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:YA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Wu],encapsulation:2,data:{animation:[Bk.transformDrawer]},changeDetection:0}),n})(),Vk=(()=>{class n extends jk{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,H0,5),i.Suo(s,Uk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:O0,useExisting:n}]),i.qOj],ngContentSelectors:NR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(zR),i.YNc(0,HR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,FR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[H0,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),qk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,hc,An],An,nt]}),n})(),UR=(()=>{class n{constructor(e){this.authResolver=e}getSideMenuItems(){const e=[];return this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.ALL_PUBLICATIONS",icon:"perun-publications-white",isSVG:!0,link:"/all-publications",activatedRegex:"^/all-publications",tabName:"all-publications"}),e.push({label:"MENU_ITEMS.MY_PUBLICATIONS",icon:"local_library",link:"/my-publications",activatedRegex:"^/my-publications",tabName:"my-publications"}),e.push({label:"MENU_ITEMS.CREATE_PUBLICATION",icon:"add_box",link:"/create-publication",activatedRegex:"^/create-publication",tabName:"create-publication"}),this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.AUTHORS",icon:"assignment_ind",link:"/authors",activatedRegex:"^/authors",tabName:"authors"}),e.push({label:"MENU_ITEMS.CATEGORIES",icon:"all_inbox",link:"/categories",activatedRegex:"^/categories$",tabName:"categories"}),e.push({label:"MENU_ITEMS.PUBLICATION_SYSTEMS",icon:"assignment",link:"/publication-systems",activatedRegex:"^/publication-systems$",tabName:"publication-systems"}),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(oo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();const Gk=["*"],qR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],GR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],JR=Co(To(class{})),QR=To(class{}),XR=new i.OlP("MatList"),Kk=new i.OlP("MatNavList");let eP=(()=>{class n extends JR{constructor(){super(...arguments),this._stateChanges=new ke.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:Kk,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Gk,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),$k=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),tP=(()=>{class n extends QR{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new ke.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe($e(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=Ne(e)}ngAfterContentInit(){!function Ma(n,o,e="mat"){n.changes.pipe(Vt(n)).subscribe(({length:t})=>{Ad(o,`${e}-2-line`,!1),Ad(o,`${e}-3-line`,!1),Ad(o,`${e}-multi-line`,!1),2===t||3===t?Ad(o,`${e}-${t}-line`,!0):t>3&&Ad(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Kk,8),i.Y36(XR,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Zk,5),i.Suo(s,$k,5),i.Suo(s,yf,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:GR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t(qR),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Ss],encapsulation:2,changeDetection:0}),n})(),Jk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[bf,cs,nt,Gl,b.ez],bf,nt,Gl,F0]}),n})();function aP(n,o){if(1&n&&i._UZ(0,"mat-icon",6),2&n){const e=i.oxw().$implicit;i.Q6J("svgIcon",e.icon)}}function cP(n,o){if(1&n&&(i.TgZ(0,"mat-icon"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Oqu(e.icon)}}const lP=function(n){return{color:n}};function uP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().shouldHideMenu()}),i.YNc(1,aP,1,1,"mat-icon",3),i.YNc(2,cP,2,1,"mat-icon",4),i.TgZ(3,"span",5),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.link),i.Q6J("ngStyle",i.VKq(10,lP,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(1),i.Q6J("ngIf",e.isSVG),i.xp6(1),i.Q6J("ngIf",!e.isSVG),i.xp6(2),i.Oqu(i.lcZ(5,8,e.label))}}let dP=(()=>{class n{constructor(e,t,s){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(a=>{a instanceof be&&(this.currentUrl=a.url)})}ngOnInit(){this.items=this.sideMenuItemService.getSideMenuItems()}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(UR),i.Y36(Mn),i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],["class","perun-icon",3,"svgIcon",4,"ngIf"],[4,"ngIf"],[1,"nav-caption","ml-3"],[1,"perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,uP,6,12,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[eP,b.sg,tP,Ss,b.PC,Et,b.O5,tn],pipes:[gt],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function hP(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let fP=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Ii),i.Y36(Fn),i.Y36(Gt),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,hP,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[ks,Gs,ls,Es,nr,us,tr,ds,jd,b.O5,Ic,pm,Ks,Bt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),pP=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})(),gP=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),mP=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function _P(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function yP(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function bP(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,_P,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,yP,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const wP=function(n){return{"min-height":n}};function AP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,bP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,wP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const nu=function(n){return{color:n}};function vP(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,nu,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function CP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,nu,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function TP(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,nu,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function MP(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,nu,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function SP(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,vP,2,4,"i",17),i.YNc(2,CP,3,8,"span",18),i.YNc(3,TP,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,MP,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const kP=function(n){return{height:n}};function EP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,SP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,kP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function DP(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,AP,2,4,"div",9),i.YNc(5,EP,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,nu,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function xP(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,nu,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const RP=function(n){return{background:n}};let Qk=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=ts();"reportIssue"===e&&(t.width="550px",this.dialog.open(fP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Ii),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,DP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,xP,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,RP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,nu,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,nu,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[pP,gP,mP],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),n})();function PP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function LP(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function IP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const OP=function(n){return{color:n}};function HP(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,OP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const FP=function(n,o){return{background:n,color:o}},zP=function(n,o){return{"min-height":n,"background-color":o}};let NP=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Yn),i.Y36(V1),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,PP,2,1,"div",1),i.YNc(2,LP,3,1,"div",2),i.YNc(3,IP,2,1,"div",1),i.YNc(4,HP,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,FP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,zP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,tn,sa,Qk],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const BP=["footer"],Xk=function(n){return{background:n}},YP=function(n){return{"min-height":n}};function jP(n,o){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-header",1),i.TgZ(2,"mat-sidenav-container"),i.TgZ(3,"mat-sidenav",2,3),i._UZ(5,"perun-web-apps-side-menu",4),i.qZA(),i.TgZ(6,"mat-sidenav-content",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",null,7),i._UZ(11,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&n){const e=i.MAs(4),t=i.oxw();i.xp6(1),i.Q6J("sideNav",e),i.xp6(2),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(7,Xk,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(9,Xk,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,YP,t.contentHeight))}}function UP(n,o){1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-login-screen-base",8),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Q6J("application","publications")("headerTitle",i.lcZ(2,2,"HEADER.TITLE")))}let VP=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.initAuth=t,this.changeDetector=s,this.authResolver=a,this.router=r,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 64px)"}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout");const e=location.pathname;!this.authResolver.isCabinetAdmin()&&("/"===e||e.includes("/all-publications"))&&this.router.navigate(["my-publications"])}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}setContentHeight(e){this.contentHeight="calc(100vh - 84px - "+e+"px)",this.changeDetector.detectChanges()}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(v0),i.Y36(i.sBO),i.Y36(oo),i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(BP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:3,vars:2,consts:[[4,"ngIf"],["id","nav-menu",3,"sideNav"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i._UZ(0,"perun-web-apps-notificator"),i.YNc(1,jP,12,13,"div",0),i.YNc(2,UP,3,4,"div",0)),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.isLoginScreenShow&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShow||t.isServiceAccess||t.isServiceLogin()))},directives:[wR,b.O5,ER,Vk,Uk,b.PC,dP,H0,sa,Qk,NP],pipes:[gt],styles:["#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}#content-inner[_ngcontent-%COMP%]{position:relative;overflow-x:hidden;padding-top:64px;min-height:calc(100vh - 128px)}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();class qP{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let GP=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function KP(n){return[Js(tinycolor(n).lighten(52),"50"),Js(tinycolor(n).lighten(37),"100"),Js(tinycolor(n).lighten(26),"200"),Js(tinycolor(n).lighten(12),"300"),Js(tinycolor(n).lighten(6),"400"),Js(tinycolor(n),"500"),Js(tinycolor(n).darken(6),"600"),Js(tinycolor(n).darken(12),"700"),Js(tinycolor(n).darken(18),"800"),Js(tinycolor(n).darken(24),"900"),Js(tinycolor(n).lighten(50).saturate(30),"A100"),Js(tinycolor(n).lighten(30).saturate(30),"A200"),Js(tinycolor(n).lighten(10).saturate(15),"A400"),Js(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Mn),i.LFG(xi),i.LFG(Wt),i.LFG(hs))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Js(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let ZP=(()=>{class n{constructor(e,t,s,a,r){this.initAuthService=e,this.appConfigService=t,this.location=s,this.authzSevice=a,this.guiAuthResolver=r,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.loadPolicies()):this.initAuthService.handleAuthStart())}loadPolicies(){return new Promise((e,t)=>{this.authzSevice.getAllPolicies().subscribe(s=>{this.guiAuthResolver.setPerunPolicies(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(v0),i.LFG(GP),i.LFG(b.Ye),i.LFG(xi),i.LFG(oo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $P=new i.OlP("perun-api-service");let WP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,im,Zs,Sd]]}),n})();const JP=["*",[["mat-card-footer"]]],QP=["*","mat-card-footer"];let eE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),tE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),iE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:QP,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(JP),i.Hsn(0),i.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),n})(),nE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();const XP=["input"],eL=function(n){return{enterDuration:n}},tL=["*"],iL=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:sE});function sE(){return{color:"accent",clickAction:"check-indeterminate"}}let nL=0;const oE=sE(),sL={provide:Jn,useExisting:(0,i.Gpc)(()=>su),multi:!0};class oL{}const rL=Vl(Qo(To(Co(class{constructor(n){this._elementRef=n}}))));let su=(()=>{class n extends rL{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++nL,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||oE,this.color=this.defaultColor=this._options.color||oE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ne(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Ne(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Ne(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new oL;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Ys),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Si,8),i.Y36(iL,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(XP,5),i.Gf(Ss,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([sL]),i.qOj],ngContentSelectors:tL,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,eL,"NoopAnimations"===t._animationMode?0:150))}},directives:[Ss,pg],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),rE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),UA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt,Pl,rE],nt,rE]}),n})(),lL=0;const z0=new i.OlP("CdkAccordion");let uL=(()=>{class n{constructor(){this._stateChanges=new ke.xQ,this._openCloseAllActions=new ke.xQ,this.id="cdk-accordion-"+lL++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Ne(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:z0,useExisting:n}]),i.TTD]}),n})(),dL=0,hL=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+dL++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=Ne(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(z0,12),i.Y36(i.sBO),i.Y36(Sw))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:z0,useValue:void 0}])]}),n})(),fL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const pL=["body"];function gL(n,o){}const mL=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],_L=["mat-expansion-panel-header","*","mat-action-row"];function yL(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const bL=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],wL=["mat-panel-title","mat-panel-description","*"],N0=new i.OlP("MAT_ACCORDION"),aE="225ms cubic-bezier(0.4,0.0,0.2,1)",cE={indicatorRotate:ti("indicatorRotate",[_t("collapsed, void",De({transform:"rotate(0deg)"})),_t("expanded",De({transform:"rotate(180deg)"})),ht("expanded <=> collapsed, void => collapsed",rt(aE))]),bodyExpansion:ti("bodyExpansion",[_t("collapsed, void",De({height:"0px",visibility:"hidden"})),_t("expanded",De({height:"*",visibility:"visible"})),ht("expanded <=> collapsed, void => collapsed",rt(aE))])};let AL=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),vL=0;const lE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let uE=(()=>{class n extends hL{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new ke.xQ,this._headerId="mat-expansion-panel-header-"+vL++,this._bodyAnimationDone=new ke.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(yc((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Vt(null),(0,Kt.h)(()=>this.expanded&&!this._portal),(0,Ut.q)(1)).subscribe(()=>{this._portal=new Cr(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(N0,12),i.Y36(i.sBO),i.Y36(Sw),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Si,8),i.Y36(lE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AL,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(pL,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:N0,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:_L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(mL),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,gL,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Tr],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[cE.bodyExpansion]},changeDetection:0}),n})();class CL{}const TL=Vl(CL);let dE=(()=>{class n extends TL{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=P.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,Kt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):Gn.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Mi.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,Kt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Kt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ni(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uE,1),i.Y36(i.SBq),i.Y36(Ys),i.Y36(i.sBO),i.Y36(lE,8),i.Y36(Si,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:wL,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(bL),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,yL,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[cE.indicatorRotate]},changeDetection:0}),n})(),ML=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),SL=(()=>{class n extends uL{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}ngAfterContentInit(){this._headers.changes.pipe(Vt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new bc(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,dE,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:N0,useExisting:n}]),i.qOj]}),n})(),hE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,fL,xl]]}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[bf,nt],bf,nt]}),n})();function DL(n,o){1&n&&i.Hsn(0)}const xL=["*"];let gE=(()=>{class n{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n})(),mE=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n})(),RL=0;const _E=new i.OlP("STEPPER_GLOBAL_OPTIONS");let B0=(()=>{class n{constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new i.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(e){this._editable=Ne(e)}get optional(){return this._optional}set optional(e){this._optional=Ne(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=Ne(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(e){this._customError=Ne(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var e;return null!==(e=this._stepperOptions.showError)&&void 0!==e?e:null!=this._customError}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>hp)),i.Y36(_E,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,mE,5),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t.content=s.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[i.TTD],ngContentSelectors:xL,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,DL,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),hp=(()=>{class n{constructor(e,t,s,a){this._dir=e,this._changeDetectorRef=t,this._elementRef=s,this._destroyed=new ke.xQ,this.steps=new i.n_E,this._sortedHeaders=new i.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new i.vpe,this._orientation="horizontal",this._groupId=RL++}get linear(){return this._linear}set linear(e){this._linear=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){var t;const s=Zi(e);this.steps&&this._steps?(this._isValidIndex(s),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==s&&!this._anyControlsInvalidOrPending(s)&&(s>=this._selectedIndex||this.steps.toArray()[s].editable)&&this._updateSelectedItemIndex(s)):this._selectedIndex=s}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}ngAfterContentInit(){this._steps.changes.pipe(Vt(this._steps),$e(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Vt(this._stepHeader),$e(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,s)=>t._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new bc(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Ye.of)()).pipe(Vt(this._layoutDirection()),$e(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":t>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,t="number"){const s=this.steps.toArray()[e],a=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,a):this._getGuidelineLogic(s,a,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,t,s="number"){return e._showError()&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?s:e.editable&&t?"edit":s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this._stateChanged()}_onKeydown(e){const t=Ni(e),s=e.keyCode,a=this._keyManager;null==a.activeItemIndex||t||32!==s&&13!==s?a.onKeydown(e):(this.selectedIndex=a.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(t=>{const s=t.stepControl;return(s?s.invalid||s.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,t=kl();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{class n{constructor(e){this._stepper=e,this.type="submit"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hp))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.next()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),LL=(()=>{class n{constructor(e){this._stepper=e,this.type="button"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hp))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.previous()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),IL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El]]}),n})();function OL(n,o){if(1&n&&i.GkF(0,8),2&n){const e=i.oxw();i.Q6J("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function HL(n,o){if(1&n&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function FL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.completedLabel)}}function zL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.editableLabel)}}function NL(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function BL(n,o){if(1&n&&(i.ynx(0,9),i.YNc(1,HL,2,1,"span",10),i.YNc(2,FL,2,1,"span",11),i.YNc(3,zL,2,1,"span",11),i.YNc(4,NL,2,1,"mat-icon",12),i.BQk()),2&n){const e=i.oxw();i.Q6J("ngSwitch",e.state),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngIf","done"===e.state),i.xp6(1),i.Q6J("ngIf","edit"===e.state)}}function YL(n,o){if(1&n&&(i.TgZ(0,"div",15),i.GkF(1,16),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",e._templateLabel().template)}}function jL(n,o){if(1&n&&(i.TgZ(0,"div",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.label)}}function UL(n,o){if(1&n&&(i.TgZ(0,"div",17),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e._intl.optionalLabel)}}function VL(n,o){if(1&n&&(i.TgZ(0,"div",18),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.errorMessage)}}function qL(n,o){}function GL(n,o){if(1&n&&(i.Hsn(0),i.YNc(1,qL,0,0,"ng-template",0)),2&n){const e=i.oxw();i.xp6(1),i.Q6J("cdkPortalOutlet",e._portal)}}const KL=["*"];function ZL(n,o){1&n&&i._UZ(0,"div",9)}const yE=function(n,o){return{step:n,i:o}};function $L(n,o){if(1&n&&(i.ynx(0),i.GkF(1,7),i.YNc(2,ZL,1,0,"div",8),i.BQk()),2&n){const e=o.$implicit,t=o.index,s=o.last;i.oxw(2);const a=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",i.WLB(3,yE,e,t)),i.xp6(1),i.Q6J("ngIf",!s)}}function WL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",10),i.NdJ("@horizontalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.GkF(1,11),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("@horizontalStepTransition",s._getAnimationDirection(t))("id",s._getStepContentId(t)),i.uIk("aria-labelledby",s._getStepLabelId(t))("aria-expanded",s.selectedIndex===t),i.xp6(1),i.Q6J("ngTemplateOutlet",e.content)}}function JL(n,o){if(1&n&&(i.ynx(0),i.TgZ(1,"div",3),i.YNc(2,$L,3,6,"ng-container",4),i.qZA(),i.TgZ(3,"div",5),i.YNc(4,WL,2,5,"div",6),i.qZA(),i.BQk()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngForOf",e.steps),i.xp6(2),i.Q6J("ngForOf",e.steps)}}function QL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.GkF(1,7),i.TgZ(2,"div",14),i.TgZ(3,"div",15),i.NdJ("@verticalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.TgZ(4,"div",16),i.GkF(5,11),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=o.last,a=i.oxw(2),r=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.WLB(9,yE,e,t)),i.xp6(1),i.ekj("mat-stepper-vertical-line",!s),i.xp6(1),i.Q6J("@verticalStepTransition",a._getAnimationDirection(t))("id",a._getStepContentId(t)),i.uIk("aria-labelledby",a._getStepLabelId(t))("aria-expanded",a.selectedIndex===t),i.xp6(2),i.Q6J("ngTemplateOutlet",e.content)}}function XL(n,o){if(1&n&&(i.ynx(0),i.YNc(1,QL,6,12,"div",12),i.BQk()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.steps)}}function eI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-step-header",17),i.NdJ("click",function(){return i.CHM(e).step.select()})("keydown",function(s){return i.CHM(e),i.oxw()._onKeydown(s)}),i.qZA()}if(2&n){const e=o.step,t=o.i,s=i.oxw();i.ekj("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),i.Q6J("tabIndex",s._getFocusIndex()===t?0:-1)("id",s._getStepLabelId(t))("index",t)("state",s._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",s.selectedIndex===t)("active",s._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(t,e))("color",e.color||s.color),i.uIk("aria-posinset",t+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(t))("aria-selected",s.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(t,e)||null)}}let VA=(()=>{class n extends mE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matStepLabel",""]],features:[i.qOj]}),n})(),qA=(()=>{class n{constructor(){this.changes=new ke.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const iI={provide:qA,deps:[[new i.FiY,new i.tp0,qA]],useFactory:function tI(n){return n||new qA}},nI=Qo(class extends gE{constructor(o){super(o)}},"primary");let bE=(()=>{class n extends nI{constructor(e,t,s,a){super(s),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof VA?null:this.label}_templateLabel(){return this.label instanceof VA?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qA),i.Y36(Ys),i.Y36(i.SBq),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[i.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(e,t){1&e&&(i._UZ(0,"div",0),i.TgZ(1,"div"),i.TgZ(2,"div",1),i.YNc(3,OL,1,2,"ng-container",2),i.YNc(4,BL,5,4,"ng-container",3),i.qZA(),i.qZA(),i.TgZ(5,"div",4),i.YNc(6,YL,2,1,"div",5),i.YNc(7,jL,2,1,"div",5),i.YNc(8,UL,2,1,"div",6),i.YNc(9,VL,2,1,"div",7),i.qZA()),2&e&&(i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disableRipple),i.xp6(1),i.Gre("mat-step-icon-state-",t.state," mat-step-icon"),i.ekj("mat-step-icon-selected",t.selected),i.xp6(1),i.Q6J("ngSwitch",!(!t.iconOverrides||!t.iconOverrides[t.state])),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(2),i.ekj("mat-step-label-active",t.active)("mat-step-label-selected",t.selected)("mat-step-label-error","error"==t.state),i.xp6(1),i.Q6J("ngIf",t._templateLabel()),i.xp6(1),i.Q6J("ngIf",t._stringLabel()),i.xp6(1),i.Q6J("ngIf",t.optional&&"error"!=t.state),i.xp6(1),i.Q6J("ngIf","error"==t.state))},directives:[tn,Ss,b.RF,b.n9,b.tP,b.ED,b.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),n})();const wE={horizontalStepTransition:ti("horizontalStepTransition",[_t("previous",De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),_t("current",De({transform:"none",visibility:"inherit"})),_t("next",De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ht("* => *",rt("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:ti("verticalStepTransition",[_t("previous",De({height:"0px",visibility:"hidden"})),_t("next",De({height:"0px",visibility:"hidden"})),_t("current",De({height:"*",visibility:"inherit"})),ht("* <=> current",rt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let sI=(()=>{class n{constructor(e){this.templateRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n})(),oI=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n})(),AE=(()=>{class n extends B0{constructor(e,t,s,a){super(e,a),this._errorStateMatcher=t,this._viewContainerRef=s,this._isSelected=P.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Ci.w)(()=>this._stepper.selectionChange.pipe((0,at.U)(e=>e.selectedStep===this),Vt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Cr(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){return this._errorStateMatcher.isErrorState(e,t)||!!(e&&e.invalid&&this.interacted)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>CE)),i.Y36(Xo,4),i.Y36(i.s_b),i.Y36(_E,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,VA,5),i.Suo(s,oI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first),i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[i._Bn([{provide:Xo,useExisting:n},{provide:B0,useExisting:n}]),i.qOj],ngContentSelectors:KL,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,GL,2,1,"ng-template"))},directives:[Tr],encapsulation:2,changeDetection:0}),n})(),vE=(()=>{class n extends hp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),rI=(()=>{class n extends vE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-horizontal-stepper"]],features:[i.qOj]}),n})(),aI=(()=>{class n extends vE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-vertical-stepper"]],features:[i.qOj]}),n})(),CE=(()=>{class n extends hp{constructor(e,t,s,a){super(e,t,s,a),this.steps=new i.n_E,this.animationDone=new i.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new ke.xQ;const r=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===r?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe($e(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(yc((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),$e(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti,8),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,AE,5),i.Suo(s,sI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._steps=a),i.iGM(a=i.CRH())&&(t._icons=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(bE,5),2&e){let s;i.iGM(s=i.CRH())&&(t._stepHeader=s)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(e,t){2&e&&(i.uIk("aria-orientation",t.orientation),i.ekj("mat-stepper-horizontal","horizontal"===t.orientation)("mat-stepper-vertical","vertical"===t.orientation)("mat-stepper-label-position-end","horizontal"===t.orientation&&"end"==t.labelPosition)("mat-stepper-label-position-bottom","horizontal"===t.orientation&&"bottom"==t.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[i._Bn([{provide:hp,useExisting:n},{provide:rI,useExisting:n},{provide:aI,useExisting:n}]),i.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(e,t){1&e&&(i.ynx(0,0),i.YNc(1,JL,5,2,"ng-container",1),i.YNc(2,XL,2,1,"ng-container",1),i.BQk(),i.YNc(3,eI,1,23,"ng-template",null,2,i.W1O)),2&e&&(i.Q6J("ngSwitch",t.orientation),i.xp6(1),i.Q6J("ngSwitchCase","horizontal"),i.xp6(1),i.Q6J("ngSwitchCase","vertical"))},directives:[bE,b.RF,b.n9,b.sg,b.tP,b.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[wE.horizontalStepTransition,wE.verticalStepTransition]},changeDetection:0}),n})(),cI=(()=>{class n extends PL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),lI=(()=>{class n extends LL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),TE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[iI,Xo],imports:[[nt,b.ez,xl,Zs,IL,iu,cs],nt]}),n})();const uI=["mat-calendar-body",""];function dI(n,o){if(1&n&&(i.TgZ(0,"tr",2),i.TgZ(1,"td",3),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e.numCols),i.xp6(1),i.hij(" ",e.label," ")}}function hI(n,o){if(1&n&&(i.TgZ(0,"td",3),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e._firstRowOffset),i.xp6(1),i.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function fI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",7),i.TgZ(1,"button",8),i.NdJ("click",function(s){const r=i.CHM(e).$implicit;return i.oxw(2)._cellClicked(r,s)}),i.TgZ(2,"div",9),i._uU(3),i.qZA(),i._UZ(4,"div",10),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw().index,a=i.oxw();i.Udp("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),i.uIk("data-mat-row",s)("data-mat-col",t),i.xp6(1),i.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(s,t))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,s,t))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,s,t))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),i.Q6J("ngClass",e.cssClasses)("tabindex",a._isActiveCell(s,t)?0:-1),i.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null),i.xp6(1),i.ekj("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),i.xp6(1),i.hij(" ",e.displayValue," ")}}function pI(n,o){if(1&n&&(i.TgZ(0,"tr",4),i.YNc(1,hI,2,6,"td",5),i.YNc(2,fI,5,47,"td",6),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("ngIf",0===t&&s._firstRowOffset),i.xp6(1),i.Q6J("ngForOf",e)}}function gI(n,o){if(1&n&&(i.TgZ(0,"th",5),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.uIk("aria-label",e.long),i.xp6(1),i.hij(" ",e.narrow," ")}}const mI=["*"];function _I(n,o){}function yI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-month-view",5),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("_userSelection",function(s){return i.CHM(e),i.oxw()._dateSelected(s)}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function bI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-year-view",6),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("monthSelected",function(s){return i.CHM(e),i.oxw()._monthSelectedInYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"month")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function wI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-multi-year-view",7),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("yearSelected",function(s){return i.CHM(e),i.oxw()._yearSelectedInMultiYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"year")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function AI(n,o){}const vI=["button"];function CI(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",3),i._UZ(1,"path",4),i.qZA())}const TI=[[["","matDatepickerToggleIcon",""]]],MI=["[matDatepickerToggleIcon]"];class Y0{constructor(o,e,t,s,a={},r=o,c){this.value=o,this.displayValue=e,this.ariaLabel=t,this.enabled=s,this.cssClasses=a,this.compareValue=r,this.rawValue=c}}let fp=(()=>{class n{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new i.vpe,this.previewChange=new i.vpe,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const a=this._getCellFromElement(s.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:s}))}},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&s.target&&this._getCellFromElement(s.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s}))},t.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("mouseenter",this._enterHandler,!0),s.addEventListener("focus",this._enterHandler,!0),s.addEventListener("mouseleave",this._leaveHandler,!0),s.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:s,numCols:a}=this;(e.rows||t)&&(this._firstRowOffset=s&&s.length&&s[0].length?a-s[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/a+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/a+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let s=e*this.numCols+t;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return j0(e,this.startValue,this.endValue)}_isRangeEnd(e){return U0(e,this.startValue,this.endValue)}_isInRange(e){return V0(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return j0(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[t][s-1];if(!a){const r=this.rows[t-1];a=r&&r[r.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,t,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[t][s+1];if(!a){const r=this.rows[t+1];a=r&&r[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return U0(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return V0(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return j0(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return U0(e,this.previewStart,this.previewEnd)}_isInPreview(e){return V0(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(ME(e)?t=e:ME(e.parentNode)&&(t=e.parentNode),t){const s=t.getAttribute("data-mat-row"),a=t.getAttribute("data-mat-col");if(s&&a)return this.rows[parseInt(s)][parseInt(a)]}return null}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[i.TTD],attrs:uI,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(i.YNc(0,dI,3,6,"tr",0),i.YNc(1,pI,3,2,"tr",1)),2&e&&(i.Q6J("ngIf",t._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),n})();function ME(n){return"TD"===n.nodeName}function j0(n,o,e){return null!==e&&o!==e&&n=o&&n===e}function V0(n,o,e,t){return t&&null!==o&&null!==e&&o!==e&&n>=o&&n<=e}class Qs{constructor(o,e){this.start=o,this.end=e}}let ou=(()=>{class n{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new ke.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),SI=(()=>{class n extends ou{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const SE={provide:ou,deps:[[new i.FiY,new i.tp0,ou],vi],useFactory:function EI(n,o){return n||new SI(o)}},GA=new i.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let kE=(()=>{class n{constructor(e,t,s,a,r){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rangeStrategy=r,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this._userSelection=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,s=this._dateAdapter.getYear(this.activeDate),a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(s,a,t);let c,d;this._selected instanceof Qs?(c=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):c=d=this._getDateInCurrentMonth(this._selected),(c!==t||d!==t)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!Ni(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const a=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let a=this._dateAdapter.getDayOfWeekNames("long").map((r,c)=>({long:r,narrow:t[c]}));this._weekdays=a.slice(e).concat(a.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,a=this._firstWeekOffset;s=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(t,s,a).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Qs?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(Ms,8),i.Y36(vi,8),i.Y36(Ti,8),i.Y36(GA,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&i.Gf(fp,5),2&e){let s;i.iGM(s=i.CRH())&&(t._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[i.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(e,t){1&e&&(i.TgZ(0,"table",0),i.TgZ(1,"thead",1),i.TgZ(2,"tr"),i.YNc(3,gI,2,2,"th",2),i.qZA(),i.TgZ(4,"tr"),i._UZ(5,"th",3),i.qZA(),i.qZA(),i.TgZ(6,"tbody",4),i.NdJ("selectedValueChange",function(a){return t._dateSelected(a)})("previewChange",function(a){return t._previewChanged(a)})("keyup",function(a){return t._handleCalendarBodyKeyup(a)})("keydown",function(a){return t._handleCalendarBodyKeydown(a)}),i.qZA(),i.qZA()),2&e&&(i.xp6(3),i.Q6J("ngForOf",t._weekdays),i.xp6(3),i.Q6J("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[fp,b.sg],encapsulation:2,changeDetection:0}),n})(),EE=(()=>{class n{constructor(e,t,s){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=s,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),DE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,a=[];s<24;s++)a.push(t+s),4==a.length&&(this._years.push(a.map(r=>this._createCellForYear(r))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let s=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,s,1));this.selectedChange.emit(this._dateAdapter.createDate(t,s,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(t),a=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Y0(e,s,s,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{constructor(e,t,s,a){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this.monthSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(s);const a=this._dateAdapter.getNumDaysInMonth(s);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(s,"year"):void 0;return new Y0(e,t.toLocaleUpperCase(),a,this._shouldEnableMonth(e),r)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let a=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&t>a}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(){this.changes=new ke.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),LI=0,II=(()=>{class n{constructor(e,t,s,a,r){this._intl=e,this.calendar=t,this._dateAdapter=s,this._dateFormats=a,this._buttonDescriptionId="mat-calendar-button-"+LI++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-l_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=t+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1));return this._intl.formatYearRange(a,r)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):DE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36((0,i.Gpc)(()=>K0)),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:mI,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.currentPeriodClicked()}),i.TgZ(3,"span"),i._uU(4),i.qZA(),i.O4$(),i.TgZ(5,"svg",3),i._UZ(6,"polygon",4),i.qZA(),i.qZA(),i.kcU(),i._UZ(7,"div",5),i.Hsn(8),i.TgZ(9,"button",6),i.NdJ("click",function(){return t.previousClicked()}),i.qZA(),i.TgZ(10,"button",7),i.NdJ("click",function(){return t.nextClicked()}),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.uIk("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),i.xp6(1),i.uIk("id",t._buttonDescriptionId),i.xp6(1),i.Oqu(t.periodButtonText),i.xp6(1),i.ekj("mat-calendar-invert","month"!==t.calendar.currentView),i.xp6(4),i.Q6J("disabled",!t.previousEnabled()),i.uIk("aria-label",t.prevButtonLabel),i.xp6(1),i.Q6J("disabled",!t.nextEnabled()),i.uIk("aria-label",t.nextButtonLabel))},directives:[Bt,Hy],encapsulation:2,changeDetection:0}),n})(),K0=(()=>{class n{constructor(e,t,s,a){this._dateAdapter=t,this._dateFormats=s,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this._userSelection=new i.vpe,this.stateChanges=new ke.xQ,this._intlChanges=e.changes.subscribe(()=>{a.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new pa(this.headerComponent||II),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Qs||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(i.Gf(kE,5),i.Gf(RE,5),i.Gf(EE,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.monthView=s.first),i.iGM(s=i.CRH())&&(t.yearView=s.first),i.iGM(s=i.CRH())&&(t.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[i._Bn([SE]),i.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(i.YNc(0,_I,0,0,"ng-template",0),i.TgZ(1,"div",1),i.YNc(2,yI,1,8,"mat-month-view",2),i.YNc(3,bI,1,6,"mat-year-view",3),i.YNc(4,wI,1,6,"mat-multi-year-view",4),i.qZA()),2&e&&(i.Q6J("cdkPortalOutlet",t._calendarHeaderPortal),i.xp6(1),i.Q6J("ngSwitch",t.currentView),i.xp6(1),i.Q6J("ngSwitchCase","month"),i.xp6(1),i.Q6J("ngSwitchCase","year"),i.xp6(1),i.Q6J("ngSwitchCase","multi-year"))},directives:[kE,RE,EE,Tr,yC,b.RF,b.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),n})();const PE={transformPanel:ti("transformPanel",[ht("void => enter-dropdown",rt("120ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(1, 0.8)"}),De({opacity:1,transform:"scale(1, 1)"})]))),ht("void => enter-dialog",rt("150ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(0.7)"}),De({transform:"none",opacity:1})]))),ht("* => void",rt("100ms linear",De({opacity:0})))]),fadeInCalendar:ti("fadeInCalendar",[_t("void",De({opacity:0})),_t("enter",De({opacity:1})),ht("void => *",rt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let OI=0;const LE=new i.OlP("mat-datepicker-scroll-strategy"),FI={provide:LE,deps:[Ji],useFactory:function HI(n){return()=>n.scrollStrategies.reposition()}},zI=Qo(class{constructor(n){this._elementRef=n}});let NI=(()=>{class n extends zI{constructor(e,t,s,a,r,c){super(e),this._changeDetectorRef=t,this._globalModel=s,this._dateAdapter=a,this._rangeSelectionStrategy=r,this._subscriptions=new P.w,this._animationDone=new ke.xQ,this._actionsPortal=null,this._closeButtonText=c.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,s=e.value,a=t instanceof Qs;if(a&&this._rangeSelectionStrategy){const r=this._rangeSelectionStrategy.selectionFinished(s,t,e.event);this._model.updateSelection(r,this)}else s&&(a||!this._dateAdapter.sameDate(s,t))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(ou),i.Y36(vi),i.Y36(GA,8),i.Y36(u_))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&i.Gf(K0,5),2&e){let s;i.iGM(s=i.CRH())&&(t._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&i.WFA("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(i.d8E("@transformPanel",t._animationState),i.ekj("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-calendar",1),i.NdJ("yearSelected",function(a){return t.datepicker._selectYear(a)})("monthSelected",function(a){return t.datepicker._selectMonth(a)})("viewChanged",function(a){return t.datepicker._viewChanged(a)})("_userSelection",function(a){return t._handleUserSelection(a)}),i.qZA(),i.YNc(2,AI,0,0,"ng-template",2),i.TgZ(3,"button",3),i.NdJ("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),i._uU(4),i.qZA(),i.qZA()),2&e){let s;i.ekj("mat-datepicker-content-container-with-custom-header",t.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",t._actionsPortal),i.uIk("aria-modal",!0)("aria-labelledby",null!==(s=t._dialogLabelId)&&void 0!==s?s:void 0),i.xp6(1),i.Q6J("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),i.xp6(1),i.Q6J("cdkPortalOutlet",t._actionsPortal),i.xp6(1),i.ekj("cdk-visually-hidden",!t._closeButtonFocused),i.Q6J("color",t.color||"primary"),i.xp6(1),i.Oqu(t._closeButtonText)}},directives:[K0,Bt,Il,b.mk,Tr],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[PE.transformPanel,PE.fadeInCalendar]},changeDetection:0}),n})(),IE=(()=>{class n{constructor(e,t,s,a,r,c,d){this._overlay=e,this._ngZone=t,this._viewContainerRef=s,this._dateAdapter=r,this._dir=c,this._model=d,this._inputStateChanges=P.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this.openedStream=new i.vpe,this.closedStream=new i.vpe,this._opened=!1,this.id="mat-datepicker-"+OI++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new ke.xQ,this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=Ne(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=Ne(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=Ne(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function Bu(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e)}get opened(){return this._opened}set opened(e){Ne(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof dy&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=kl(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const t=this._componentRef.instance;t._startExitAnimation(),t._animationDone.pipe((0,Ut.q)(1)).subscribe(()=>this._destroyOverlay())}const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_applyPendingSelection(){var e,t;null===(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)||void 0===t||t._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal,e._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const e=this.touchUi,t=new pa(NI,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new En({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(a=>{a&&a.preventDefault(),this.close()}),this._componentRef=s.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",s="start"===t?"end":"start",a="above"===this.yPosition?"bottom":"top",r="top"===a?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:a},{originX:t,originY:a,overlayX:t,overlayY:r},{originX:s,originY:r,overlayX:s,overlayY:a},{originX:s,originY:a,overlayX:s,overlayY:r}])}_getCloseStream(e){return(0,Mi.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Kt.h)(t=>27===t.keyCode&&!Ni(t)||this.datepickerInput&&Ni(t,"altKey")&&38===t.keyCode)))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(LE),i.Y36(vi,8),i.Y36(Ti,8),i.Y36(ou))},n.\u0275dir=i.lG2({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[i.TTD]}),n})(),Z0=(()=>{class n extends IE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[i._Bn([SE,{provide:IE,useExisting:n}]),i.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),n})();class KA{constructor(o,e){this.target=o,this.targetElement=e,this.value=this.target.value}}let BI=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dateAdapter=t,this._dateFormats=s,this.dateChange=new i.vpe,this.dateInput=new i.vpe,this.stateChanges=new ke.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=P.w.EMPTY,this._localeSubscription=P.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!r||this._matchesFilter(r)?null:{matDatepickerFilter:!0}},this._minValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMinDate();return!c||!r||this._dateAdapter.compareDate(c,r)<=0?null:{matDatepickerMin:{min:c,actual:r}}},this._maxValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMaxDate();return!c||!r||this._dateAdapter.compareDate(c,r)>=0?null:{matDatepickerMax:{max:c,actual:r}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=Ne(e),s=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const s=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new KA(this,this._elementRef.nativeElement)),this.dateChange.emit(new KA(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function YI(n,o){const e=Object.keys(n);for(let t of e){const{previousValue:s,currentValue:a}=n[t];if(!o.isDateInstance(s)||!o.isDateInstance(a))return!0;if(!o.sameDate(s,a))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s),this._dateAdapter.sameDate(s,this.value)?(e&&!this.value&&this._cvaOnChange(s),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(s),this._cvaOnChange(s),this.dateInput.emit(new KA(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new KA(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(vi,8),i.Y36(Ms,8))},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.TTD]}),n})();const jI={provide:Jn,useExisting:(0,i.Gpc)(()=>d_),multi:!0},UI={provide:Bi,useExisting:(0,i.Gpc)(()=>d_),multi:!0};let d_=(()=>{class n extends BI{constructor(e,t,s,a){super(e,t,s),this._formField=a,this._closedSubscription=P.w.EMPTY,this._validator=Oi.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(Df,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._onInput(a.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(a){return t._onKeydown(a)}),2&e&&(i.Ikx("disabled",t.disabled),i.uIk("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[i._Bn([jI,UI,{provide:xk,useExisting:n}]),i.qOj]}),n})(),VI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),$0=(()=>{class n{constructor(e,t,s){this._intl=e,this._changeDetectorRef=t,this._stateChanges=P.w.EMPTY;const a=Number(s);this.tabIndex=a||0===a?a:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,Ye.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Ye.of)(),s=this.datepicker?(0,Mi.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Ye.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Mi.T)(this._intl.changes,e,t,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36(i.sBO),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,VI,5),2&e){let a;i.iGM(a=i.CRH())&&(t._customIcon=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(vI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._open(a)}),2&e&&(i.uIk("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),i.ekj("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.TTD],ngContentSelectors:MI,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(i.F$t(TI),i.TgZ(0,"button",0,1),i.YNc(2,CI,2,0,"svg",2),i.Hsn(3),i.qZA()),2&e&&(i.Q6J("disabled",t.disabled)("disableRipple",t.disableRipple),i.uIk("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),i.xp6(2),i.Q6J("ngIf",!t._customIcon))},directives:[Bt,b.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),W0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[u_,FI],imports:[[b.ez,Zs,id,zy,xl,nt],An]}),n})();const qI=["mat-sort-header",""];function GI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const KI=["*"],ru=jC.ENTERING+" "+YC.STANDARD_CURVE,pp={indicator:ti("indicator",[_t("active-asc, asc",De({transform:"translateY(0px)"})),_t("active-desc, desc",De({transform:"translateY(10px)"})),ht("active-asc <=> active-desc",rt(ru))]),leftPointer:ti("leftPointer",[_t("active-asc, asc",De({transform:"rotate(-45deg)"})),_t("active-desc, desc",De({transform:"rotate(45deg)"})),ht("active-asc <=> active-desc",rt(ru))]),rightPointer:ti("rightPointer",[_t("active-asc, asc",De({transform:"rotate(45deg)"})),_t("active-desc, desc",De({transform:"rotate(-45deg)"})),ht("active-asc <=> active-desc",rt(ru))]),arrowOpacity:ti("arrowOpacity",[_t("desc-to-active, asc-to-active, active",De({opacity:1})),_t("desc-to-hint, asc-to-hint, hint",De({opacity:.54})),_t("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",De({opacity:0})),ht("* => asc, * => desc, * => active, * => hint, * => void",rt("0ms")),ht("* <=> *",rt(ru))]),arrowPosition:ti("arrowPosition",[ht("* => desc-to-hint, * => desc-to-active",rt(ru,Mr([De({transform:"translateY(-25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-desc, * => active-to-desc",rt(ru,Mr([De({transform:"translateY(0)"}),De({transform:"translateY(25%)"})]))),ht("* => asc-to-hint, * => asc-to-active",rt(ru,Mr([De({transform:"translateY(25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-asc, * => active-to-asc",rt(ru,Mr([De({transform:"translateY(0)"}),De({transform:"translateY(-25%)"})]))),_t("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",De({transform:"translateY(0)"})),_t("hint-to-desc, active-to-desc, desc",De({transform:"translateY(-25%)"})),_t("hint-to-asc, active-to-asc, asc",De({transform:"translateY(25%)"}))]),allowChildren:ti("allowChildren",[ht("* <=> *",[Ao("@*",Yy(),{optional:!0})])])};let ZA=(()=>{class n{constructor(){this.changes=new ke.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $I={provide:ZA,deps:[[new i.FiY,new i.tp0,ZA]],useFactory:function ZI(n){return n||new ZA}},WI=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),JI=Nb(Co(class{}));let Do=(()=>{class n extends JI{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new ke.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function QI(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(WI,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const XI=Co(class{});let gp=(()=>{class n extends XI{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Mi.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ZA),i.Y36(i.sBO),i.Y36(Do,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(Ys),i.Y36(i.SBq),i.Y36(rd,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:qI,ngContentSelectors:KI,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,GI,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[pp.indicator,pp.leftPointer,pp.rightPointer,pp.arrowOpacity,pp.arrowPosition,pp.allowChildren]},changeDetection:0}),n})(),J0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[$I],imports:[[b.ez,nt]]}),n})(),Q0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[iu,b.ez]]}),n})();const zE=new i.OlP("mat-chips-default-options");let hO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xo,{provide:zE,useValue:{separatorKeyCodes:[13]}}],imports:[[nt]]}),n})();function pO(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function eM(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function mp(n,o){const e=o?"":"none";eM(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function NE(n,o,e){eM(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function $A(n,o){return o&&"none"!=o?n+" "+o:n}function BE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function tM(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function iM(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function nM(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function h_(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function YE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,I=h*o;return t>s-I&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:iM(e)})})}handleScroll(o){const e=yo(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&h_(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function UE(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const ce=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),we=this._dropContainer;if(!ce)return void this._endDragSequence(c);(!we||!we.isDragging()&&!we.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new jE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=Ne(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>mp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>ei(t)),this._handles.forEach(t=>mp(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=ei(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,ZE),e.addEventListener("touchstart",this._pointerDown,KE)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?ei(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),mp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),mp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){f_(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),NE(t,!1,sM),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=f_(e),a=!s&&0!==e.button,r=this._rootElement,c=yo(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?ad(e):Ol(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const W=r.style;this._rootElementTapHighlight=W.webkitTapHighlightColor||"",W.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(W=>this._updateOnScroll(W)),this._boundaryElement&&(this._boundaryRect=iM(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const I=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:I.x,y:I.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){NE(this._rootElement,!0,sM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=WE(r,this._document),this._previewRef=r,o.matchSize?JE(s,a):s.style.transform=WA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=UE(a),JE(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return eM(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},sM),mp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function gO(n){const o=getComputedStyle(n),e=tM(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=tM(o,"transition-duration"),r=tM(o,"transition-delay");return BE(a[s])+BE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||yo(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=WE(this._placeholderRef,this._document)):t=UE(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=f_(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=f_(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=$E(t,c.left+a,c.right-(d.width-a)),s=$E(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,mp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,ZE),o.removeEventListener("touchstart",this._pointerDown,KE)}_applyRootElementTransform(o,e){const t=WA(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=$A(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=WA(o,e);this._preview.style.transform=$A(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:f_(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=yo(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&h_(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return ei(t)}}function WA(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function $E(n,o,e){return Math.max(o,Math.min(e,n))}function f_(n){return"t"===n.type[0]}function WE(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function JE(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=WA(o.left,o.top)}function p_(n,o){return Math.max(0,Math.min(o,n))}class wO{constructor(o,e,t,s,a){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=a,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new ke.xQ,this.entered=new ke.xQ,this.exited=new ke.xQ,this.dropped=new ke.xQ,this.sorted=new ke.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ke.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function fO(n=0,o=Vu.P){return(!Jp(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Vu.P),new Ui.y(e=>(e.add(o.schedule(pO,n,{subscriber:e,counter:0,period:n})),e))}(0,k_).pipe($e(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=ei(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new jE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else ei(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=ei(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!YE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Fe=>Fe.drag===o),h=a[r],I=h.clientRect,W=d>r?1:-1,ce=this._getItemOffsetPx(a[d].clientRect,I,W),we=this._getSiblingOffsetPx(d,a,W),Me=a.slice();(function bO(n,o,e){const t=p_(o,n.length-1),s=p_(e,n.length-1);if(t===s)return;const a=n[t],r=s{if(Me[Ht]===Fe)return;const Jt=Fe.drag===o,Lt=Jt?ce:we,oi=Jt?o.getPlaceholderElement():Fe.drag.getRootElement();Fe.offset+=Lt,c?(oi.style.transform=$A(`translate3d(${Math.round(Fe.offset)}px, 0, 0)`,Fe.initialTransform),h_(Fe.clientRect,0,Lt)):(oi.style.transform=$A(`translate3d(0, ${Math.round(Fe.offset)}px, 0)`,Fe.initialTransform),h_(Fe.clientRect,Lt,0))}),this._previousSwap.overlaps=nM(I,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||YE(r.clientRect,.05,o,e)&&([s,a]=function AO(n,o,e,t){const s=eD(o,t),a=tD(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=eD(d,e),a=tD(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=ei(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=ei(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:iM(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=ei(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!nM(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=ei(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{h_(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=Sl(ei(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function eD(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function tD(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const JA=_o({passive:!1,capture:!0});let vO=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new ke.xQ,this.pointerUp=new ke.xQ,this.scroll=new ke.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,JA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,JA)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:JA}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:JA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Ui.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Mi.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CO={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let TO=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=CO){return new yO(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new wO(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(Hn),i.LFG(vO))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[TO],imports:[An]}),n})(),SO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),RO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),NO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[RO,nt],nt]}),n})(),QO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt],nt]}),n})(),tH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,zc,Zs,UA,iu,DA,tp]]}),n})(),iH=(()=>{class n extends Wg{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const nH={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let lM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:iH},{provide:Ms,useValue:nH}],imports:[[b.ez,UA,I0,Zm,hO,MO,Sd,Rh,J0,M,DA,Q0,iu,TA,Zs,tp,$s,zc,xA,cs,Sk,SO,NO,W0,QO,tm,Xf,tH,fa,im,bk]]}),n})(),hH=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),oD=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),PH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nE,F0,hE,Zs,pE,UA,iu,I0,im,DA,$s,xA,fa,Zm,zc,TE,W0,Jg,qk,Jk,lM,TA,zk,J0,M,tp,Xf,cs],nE,F0,hE,Zs,pE,UA,iu,I0,im,DA,$s,xA,fa,Zm,zc,TE,W0,Jg,qk,Jk,lM,TA,zk,J0,M,tp,Xf,cs]}),n})(),LH=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.publication=this.data}ok(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-cite-dialog"]],decls:10,vars:7,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["mat-dialog-actions",""],["mat-stroked-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i._uU(5),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.ok()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.SHOW_CITE.TITLE")),i.xp6(3),i.hij(" ",t.publication.main," "),i.xp6(3),i.hij(" ",i.lcZ(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})();function IH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function OH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function HH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function FH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const zH=["*"];let Fa=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:zH,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,IH,2,0,"mat-icon",1),i.YNc(2,OH,2,0,"mat-icon",1),i.YNc(3,HH,2,0,"mat-icon",1),i.YNc(4,FH,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,tn],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})(),ev=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})();function NH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",20),i.TgZ(1,"mat-checkbox",21),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function BH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function YH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_ID")," "))}function jH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function UH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")," "))}function VH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.LOCKED"))}function qH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock_open"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function GH(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,VH,4,3,"button",26),i.YNc(2,qH,4,3,"button",26),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.locked),i.xp6(1),i.Q6J("ngIf",!e.locked)}}function KH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")," "))}function ZH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.title," ")}}function $H(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")," "))}function WH(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"userFullName"),i._UZ(3,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e),"")}}function JH(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,WH,4,3,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.authors)}}function QH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")," "))}function XH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.year," ")}}function e2(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")," "))}function t2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.categoryName," ")}}function n2(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")," "))}function s2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.ownerName,"")}}function o2(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,s2,3,1,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.thanks)}}function r2(n,o){1&n&&(i.TgZ(0,"th",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function a2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",25),i.TgZ(1,"button",30),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showCite(a)})("mouseenter",function(){return i.CHM(e),i.oxw().buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw().buttonPressed=!1}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function c2(n,o){1&n&&i._UZ(0,"tr",31)}const cD=function(n,o){return[n,o]};function l2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.disabledRouting&&r.openInTab&&!r.buttonPressed?r.emitPublication(a):null}),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disabledRouting||t.buttonPressed?null:i.WLB(4,cD,t.routerPath,e.id))("routerLink",t.disabledRouting||t.buttonPressed?null:i.WLB(7,cD,t.routerPath,e.id))}}function u2(n,o){1&n&&(i.TgZ(0,"app-alert",33),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let _p=(()=>{class n{constructor(e,t,s,a,r){this.tableCheckbox=e,this.cabinetService=t,this.dialog=s,this.notificator=a,this.translate=r,this.selection=new en(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSizeOptions=Zd,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new i.vpe,this.buttonPressed=!1,r.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(c=>this.changeLockMessage=c),r.get("PUBLICATIONS_LIST.LOCKED").subscribe(c=>this.locked=c),r.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(c=>this.unlocked=c)}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"lock":return String(e.locked);case"title":return e.title;case"reportedBy":{let s="";return e.authors.forEach(a=>s+=wk(a)+";"),s.slice(0,-1)}case"year":return e.year.toString();case"category":return e.categoryName;case"thankedTo":{let s="";return e.thanks.forEach(a=>s+=a.ownerName+";"),s.slice(0,-1)}default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}itemSelectionToggle(e){this.selection.toggle(e)}showCite(e){const t=ts();t.width="500px",t.data=e,this.dialog.open(LH,t)}lockOrUnlockPublication(e){this.cabinetService.lockPublications({publications:[this.createPublication(e)],lock:!e.locked}).subscribe(()=>{this.notificator.showSuccess(e.locked?this.changeLockMessage+this.unlocked:this.changeLockMessage+this.locked),e.locked=!e.locked})}createPublication(e){return{id:e.id,externalId:e.externalId,publicationSystemId:e.publicationSystemId,categoryId:e.categoryId,createdBy:e.createdBy,createdDate:e.createdDate,doi:e.doi,isbn:e.isbn,locked:e.locked,main:e.main,rank:e.rank,title:e.title,year:e.year}}emitPublication(e){return this.publicationSelector.emit(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(EA),i.Y36(ai),i.Y36(Xi),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab",allowAlert:"allowAlert"},outputs:{publicationSelector:"publicationSelector"},features:[i.TTD],decls:33,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","title","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","lock"],["matColumnDef","title"],["matColumnDef","reportedBy"],["matColumnDef","year"],["matColumnDef","category"],["matColumnDef","thankedTo"],["matColumnDef","cite"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["mat-header-cell",""],["mat-stroked-button","",3,"click","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,NH,2,3,"th",4),i.YNc(5,BH,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,YH,3,3,"th",7),i.YNc(8,jH,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,UH,3,3,"th",7),i.YNc(11,GH,3,2,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,KH,3,3,"th",7),i.YNc(14,ZH,2,1,"td",8),i.BQk(),i.ynx(15,11),i.YNc(16,$H,3,3,"th",7),i.YNc(17,JH,2,1,"td",8),i.BQk(),i.ynx(18,12),i.YNc(19,QH,3,3,"th",7),i.YNc(20,XH,2,1,"td",8),i.BQk(),i.ynx(21,13),i.YNc(22,e2,3,3,"th",7),i.YNc(23,t2,2,1,"td",8),i.BQk(),i.ynx(24,14),i.YNc(25,n2,3,3,"th",7),i.YNc(26,o2,2,1,"td",8),i.BQk(),i.ynx(27,15),i.YNc(28,r2,3,3,"th",16),i.YNc(29,a2,4,3,"td",8),i.BQk(),i.YNc(30,c2,1,0,"tr",17),i.YNc(31,l2,1,10,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(32,u2,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publications.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(28),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.publications.length&&t.allowAlert))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,b.O5,Bt,jc,tn,b.sg,$c,Wc,Ia,Oa,oD,Et,Fa],pipes:[gt,ev],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function d2(n,o){1&n&&i._UZ(0,"mat-spinner",7)}const h2=function(){return["id","title","year"]};function f2(n,o){if(1&n&&(i.TgZ(0,"div",8),i._uU(1),i.ALo(2,"translate"),i._UZ(3,"perun-web-apps-publications-list",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),i.xp6(2),i.Q6J("publications",e.publications)("routerPath",null)("displayedColumns",i.DdM(6,h2))}}let uM=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetService=r,this.loading=!1}ngOnInit(){this.publications=this.data}cancel(){this.dialogRef.close()}remove(){this.loading=!0,this.cabinetService.deletePublication(this.publications.pop().id).subscribe(()=>{this.publications.length<=0?this.translate.get("DIALOGS.REMOVE_PUBLICATION.REMOVE_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.remove()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-publication-dialog"]],decls:13,vars:12,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"publications","routerPath","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,d2,1,0,"mat-spinner",2),i.YNc(5,f2,4,7,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.remove()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[ks,b.O5,vn,Gs,_p,Ks,Bt],pipes:[gt],styles:[""]}),n})(),yp=(()=>{class n{constructor(){this.refresh=new i.vpe}onClickbutton(e){this.refresh.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"button",0),i.NdJ("click",function(a){return t.onClickbutton(a)}),i.ALo(1,"translate"),i._UZ(2,"mat-icon",1),i.qZA()),2&e&&(i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),i.Q6J("disabled",t.disabled),i.xp6(2),i.s9C("svgIcon",t.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[Bt,jc,tn],pipes:[gt],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),n})();var bp=w(5439);const Wd=bp||w.t(bp,2),lD=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function g2(){return{useUtc:!1}}});function m2(n,o){const e=Array(n);for(let t=0;t{class n extends vi{constructor(e,t){super(),this._options=t,this.setLocale(e||Wd.locale())}setLocale(e){super.setLocale(e);let t=Wd.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:m2(31,s=>this.createDate(2017,0,s+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,s){const a=this._createMoment({year:e,month:t,date:s}).locale(this.locale);return a.isValid(),a}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,Wd.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return Wd.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return Wd.invalid()}_createMoment(e,t,s){const{strict:a,useUtc:r}=this._options||{};return r?Wd.utc(e,t,s,a):Wd(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pc,8),i.LFG(lD,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),_2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:m_,deps:[Pc,lD]}]}),n})(),uD=(()=>{class n{constructor(){}ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(e,t,s){e.setValue(t),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,s.close()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-year-range"]],inputs:{startYear:"startYear",endYear:"endYear"},decls:16,vars:15,consts:[[1,"year-field","mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"matDatepicker","max","formControl"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected"],["sdp",""],["matInput","",3,"matDatepicker","min","max","formControl"],["edp",""]],template:function(e,t){if(1&e){const s=i.EpF();i.TgZ(0,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",1),i._UZ(5,"mat-datepicker-toggle",2),i.TgZ(6,"mat-datepicker",3,4),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(7);return t.chosenYearHandler(t.startYear,r,c)}),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(15).open()}),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._UZ(12,"input",5),i._UZ(13,"mat-datepicker-toggle",2),i.TgZ(14,"mat-datepicker",3,6),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(15);return t.chosenYearHandler(t.endYear,r,c)}),i.qZA(),i.qZA()}if(2&e){const s=i.MAs(7),a=i.MAs(15);i.xp6(2),i.Oqu(i.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),i.xp6(2),i.Q6J("matDatepicker",s)("max",t.startMaxYear)("formControl",t.startYear),i.xp6(1),i.Q6J("for",s),i.xp6(5),i.Oqu(i.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),i.xp6(2),i.Q6J("matDatepicker",a)("min",t.endMinYear)("max",t.endMaxYear)("formControl",t.endYear),i.xp6(1),i.Q6J("for",a)}},directives:[ls,Es,nr,d_,us,ds,Ws,$0,mm,Z0],pipes:[gt],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function y2(n,o){if(1&n&&(i.TgZ(0,"mat-option",12),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}const tv=bp,b2={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let dM=(()=>{class n{constructor(e){this.cabinetService=e,this.title=new ki,this.code=new ki,this.startYear=new ki(tv()),this.endYear=new ki(tv()),this.filteredPublication=new i.vpe}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.selectedMode="isbn/issn"})}filter(){const e={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?this.code.value:null,doi:"doi"===this.selectedMode?this.code.value:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,b.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,b.p6)(this.endYear.value,"yyyy","en-GB")};this.filteredPublication.emit(e)}clearFilter(){this.title.setValue(""),this.code.setValue(""),this.selectedMode="isbn/issn",this.selectedCategory="no_value",this.startYear=new ki(tv()),this.endYear=new ki(tv()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:b2}])],decls:38,vars:34,consts:[[1,"mt-2"],[1,"filter-field","mr-2"],["matInput","",3,"formControl","placeholder"],[3,"value","valueChange"],["value","isbn/issn"],["value","doi"],[1,"year-field","mr-2"],["value","no_value"],[3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"mr-2",3,"click"],["mat-stroked-button","",3,"click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-form-field",1),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedMode=a}),i.TgZ(9,"mat-option",4),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"mat-option",5),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",6),i._UZ(16,"input",2),i.ALo(17,"translate"),i.qZA(),i.TgZ(18,"mat-form-field",1),i.TgZ(19,"mat-label"),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.TgZ(22,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedCategory=a}),i.TgZ(23,"mat-option",7),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.YNc(26,y2,2,2,"mat-option",8),i.qZA(),i.qZA(),i._UZ(27,"perun-web-apps-year-range",9),i.TgZ(28,"button",10),i.NdJ("click",function(){return t.filter()}),i.TgZ(29,"mat-icon"),i._uU(30,"search"),i.qZA(),i._uU(31),i.ALo(32,"translate"),i.qZA(),i.TgZ(33,"button",11),i.NdJ("click",function(){return t.clearFilter()}),i.TgZ(34,"mat-icon"),i._uU(35,"search_off"),i.qZA(),i._uU(36),i.ALo(37,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.s9C("placeholder",i.lcZ(3,16,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),i.Q6J("formControl",t.title),i.xp6(4),i.Oqu(i.lcZ(7,18,"PUBLICATION_FILTER.SELECT_MODE")),i.xp6(2),i.Q6J("value",t.selectedMode),i.xp6(2),i.Oqu(i.lcZ(11,20,"PUBLICATION_FILTER.ISBN/ISSN")),i.xp6(3),i.Oqu(i.lcZ(14,22,"PUBLICATION_FILTER.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(17,24,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),i.Q6J("formControl",t.code),i.xp6(4),i.Oqu(i.lcZ(21,26,"PUBLICATION_FILTER.SELECT_CATEGORY")),i.xp6(2),i.Q6J("value",t.selectedCategory),i.xp6(2),i.Oqu(i.lcZ(25,28,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("startYear",t.startYear)("endYear",t.endYear),i.xp6(4),i.hij(" ",i.lcZ(32,30,"PUBLICATION_FILTER.FILTER")," "),i.xp6(5),i.hij(" ",i.lcZ(37,32,"PUBLICATION_FILTER.CLEAR_FILTER")," "))},directives:[ls,nr,us,ds,Ws,Es,qd,Lc,b.sg,uD,Bt,tn],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:initial!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function w2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",10),2&n){const e=i.oxw();i.Q6J("publications",e.publications)("selection",e.selected)("routerPath","/all-publications")("tableId",e.tableId)}}function A2(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let v2=(()=>{class n{constructor(e,t,s,a,r){this.route=e,this.cabinetService=t,this.dialog=s,this.matIconRegistry=a,this.domSanitizer=r,this.selected=new en(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null},this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.refreshTable()}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,null).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Xi),i.Y36(Kd),i.Y36(Yn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-all-publications-page"]],decls:14,vars:9,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],["svgIcon","publications",1,"publications-icon"],[1,"ml-3","mt-1"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","routerPath","tableId",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publications","selection","routerPath","tableId"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._UZ(2,"mat-icon",2),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA(),i.TgZ(6,"div",4),i.TgZ(7,"perun-web-apps-refresh-button",5),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"button",6),i.NdJ("click",function(){return t.removePublication()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"perun-web-apps-publication-filter",7),i.NdJ("filteredPublication",function(a){return t.filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(12,w2,1,4,"perun-web-apps-publications-list",8),i.YNc(13,A2,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,5,"ALL_PUBLICATIONS.TITLE")),i.xp6(4),i.Q6J("disabled",0===t.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(10,7,"ALL_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[tn,yp,Bt,dM,b.O5,_p,vn],pipes:[gt],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),n})();function C2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/my-publications")}}function T2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",6),i.TgZ(2,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(3,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(7,C2,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(5,3,"MY_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function M2(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let S2=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.dialog=s,this.authResolver=a,this.selected=new en(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null}}ngOnInit(){this.initLoading=!0,this.authResolver.getPerunPrincipal().subscribe(e=>{this.authorId=e.userId,this.initLoading=!1,this.refreshTable()})}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,this.authorId).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Xi),i.Y36(xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-my-publications-page"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"local_library"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,T2,8,5,"div",4),i.YNc(8,M2,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"MY_PUBLICATIONS.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[tn,b.O5,yp,Bt,dM,_p,vn],pipes:[gt],styles:[""]}),n})(),k2=(()=>{class n{constructor(e){this.router=e}importPublications(){this.router.navigate(["create-publication","import"])}createPublication(){this.router.navigate(["create-publication","create"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-publication-page"]],decls:32,vars:21,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[1,"card-container"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"d-flex","flex-column"],["mat-flat-button","","color","accent",1,"align-self-end","action-button",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"div",4),i.TgZ(9,"mat-card",5),i.TgZ(10,"mat-card-title"),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"mat-card-content",6),i.TgZ(14,"div"),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"button",7),i.NdJ("click",function(){return t.importPublications()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(20,"div",4),i.TgZ(21,"mat-card",5),i.TgZ(22,"mat-card-title"),i._uU(23),i.ALo(24,"translate"),i.qZA(),i.TgZ(25,"mat-card-content",6),i.TgZ(26,"div"),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.TgZ(29,"button",7),i.NdJ("click",function(){return t.createPublication()}),i._uU(30),i.ALo(31,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,7,"CREATE_PUBLICATION.TITLE")," "),i.xp6(6),i.hij(" ",i.lcZ(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(19,13,"CREATE_PUBLICATION.IMPORT")," "),i.xp6(5),i.hij(" ",i.lcZ(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[tn,iE,tE,eE,Bt],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.card-container[_ngcontent-%COMP%]{margin:0 -1rem}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top;max-width:250px;max-height:200px}"]}),n})();const E2=["groupFilterInput"];let D2=(()=>{class n{constructor(){this.filter=new i.vpe}ngOnInit(){da(this.groupFilterInput.nativeElement,"keyup").pipe((0,at.U)(e=>e.target.value),(0,nd.b)(500),yc()).subscribe(e=>{this.filter.emit(e)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(e,t){if(1&e&&i.Gf(E2,7),2&e){let s;i.iGM(s=i.CRH())&&(t.groupFilterInput=s.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i._UZ(1,"input",1,2),i.ALo(3,"translate"),i.qZA()),2&e&&(i.xp6(1),i.s9C("placeholder",i.lcZ(3,1,t.placeholder)))},directives:[ls,nr],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),n})();function x2(n,o){1&n&&i._UZ(0,"th",20)}function R2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",21),i.TgZ(1,"mat-checkbox",22),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function P2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"AUTHORS_LIST.ID")))}function L2(n,o){if(1&n&&(i.TgZ(0,"td",24),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function I2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NAME")," "))}function O2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"userFullName"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,e))}}function H2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.ORGANIZATION")," "))}function F2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"organization"))}}function z2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.EMAIL")," "))}function N2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"preferredMail"))}}function B2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")," "))}function Y2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.authorships.length.toString())}}function j2(n,o){1&n&&i._UZ(0,"th",26)}function U2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",27),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onAddClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.ADD")," "))}function V2(n,o){1&n&&i._UZ(0,"th",26)}function q2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",28),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onRemoveClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.REMOVE")," "))}function G2(n,o){1&n&&i._UZ(0,"tr",29)}const dD=function(n){return["/authors",n]};function K2(n,o){if(1&n&&i._UZ(0,"tr",30),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.VKq(4,dD,e.id))("routerLink",t.disableRouting?null:i.VKq(6,dD,e.id))}}function Z2(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function $2(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let hM=(()=>{class n{constructor(){this.authors=[],this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=Zd,this.addAuthor=new i.vpe,this.removeAuthor=new i.vpe}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getSortDataForColumn(e,t){var s;switch(t){case"id":return e.id.toString();case"name":return e.lastName?e.lastName:null!==(s=e.firstName)&&void 0!==s?s:"";case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getFilterDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return function A1(n){let o="";return null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}(e);case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getExportDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return wk(e);case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}parseAttribute(e,t){let s="";return e.attributes&&e.attributes.forEach(a=>{a.friendlyName===t&&(s=a.value)}),s}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`}onAddClick(e){this.addAuthor.emit(e)}onRemoveClick(e){this.removeAuthor.emit(e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{authors:"authors",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",disableRouting:"disableRouting",reloadTable:"reloadTable",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{addAuthor:"addAuthor",removeAuthor:"removeAuthor"},features:[i.TTD],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","numberOfPublications"],["matColumnDef","add"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","remove"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,x2,1,0,"th",4),i.YNc(5,R2,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,P2,3,3,"th",7),i.YNc(8,L2,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,I2,3,3,"th",7),i.YNc(11,O2,3,3,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,H2,3,3,"th",7),i.YNc(14,F2,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,z2,3,3,"th",7),i.YNc(17,N2,2,1,"td",10),i.BQk(),i.ynx(18,13),i.YNc(19,B2,3,3,"th",7),i.YNc(20,Y2,2,1,"td",10),i.BQk(),i.ynx(21,14),i.YNc(22,j2,1,0,"th",15),i.YNc(23,U2,4,3,"td",8),i.BQk(),i.ynx(24,16),i.YNc(25,V2,1,0,"th",15),i.YNc(26,q2,4,3,"td",8),i.BQk(),i.YNc(27,G2,1,0,"tr",17),i.YNc(28,K2,1,8,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(29,Z2,3,3,"app-alert",19),i.YNc(30,$2,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.authors.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(25),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.authors.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.authors.length))},directives:[ir,La,Do,Ir,Lr,Or,Pr,Hr,su,gp,Bt,$c,Wc,Ia,Oa,oD,Et,b.O5,Fa],pipes:[gt,ev],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function W2(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const J2=function(){return["id","name","organization","email","numberOfPublications"]};function Q2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.authors)("displayedColumns",i.DdM(4,J2))("filterValue",e.filterValue)("tableId",e.tableId)}}let X2=(()=>{class n{constructor(e){this.cabinetService=e,this.filterValue="",this.tableId="67"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetService.findAllAuthors().subscribe(e=>{this.authors=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-page"]],decls:11,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","displayedColumns","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"authors","displayedColumns","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"perun-web-apps-refresh-button",4),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"perun-web-apps-debounce-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(9,W2,1,0,"mat-spinner",6),i.YNc(10,Q2,1,5,"perun-web-apps-authors-list",7),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,4,"AUTHORS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","AUTHORS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[tn,yp,D2,b.O5,vn,hM],pipes:[gt],styles:[""]}),n})();function eF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function tF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field"),i._UZ(9,"input",6),i.ALo(10,"translate"),i.TgZ(11,"mat-error"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.qZA(),i.TgZ(14,"p",7),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.qZA(),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"div",10),i.ALo(22,"translate"),i.TgZ(23,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,12,"DIALOGS.ADD_CATEGORY.NAME")),i.Q6J("formControl",e.nameCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(10,16,"DIALOGS.ADD_CATEGORY.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),i.Q6J("matTooltipDisabled",e.nameCtrl.valid&&e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.nameCtrl.invalid||e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let iF=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.notificator=t,this.cabinetManagerService=s,this.translate=a,a.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(r=>this.successMessage=r)}ngOnInit(){this.nameCtrl=new ki(null,[Oi.required,Oi.pattern("^[\\w.-]+( [\\w.-]+)*$"),Oi.maxLength(128)]),this.rankCtrl=new ki(null,[Oi.required,Oi.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{name:this.nameCtrl.value,rank:this.rankCtrl.value}}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-category-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,eF,1,0,"mat-spinner",2),i.YNc(5,tF,26,28,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,ls,nr,us,tr,ds,Ws,Ic,Ks,Bt,jc],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function nF(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function sF(n,o){1&n&&i._UZ(0,"th",14)}function oF(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function rF(n,o){1&n&&i._UZ(0,"tr",16)}function aF(n,o){1&n&&i._UZ(0,"tr",17)}function cF(n,o){if(1&n&&(i.TgZ(0,"div",6),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",7),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",8),i.ynx(8,9),i.YNc(9,sF,1,0,"th",10),i.YNc(10,oF,2,1,"td",11),i.BQk(),i.YNc(11,rF,1,0,"tr",12),i.YNc(12,aF,1,0,"tr",13),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function lF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",18),i.TgZ(1,"button",19),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let uF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetManagerService=r,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new Jc(this.data),this.categories=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.categories.length?this.cabinetManagerService.deleteCategory(this.categories.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.REMOVE_CATEGORY.SUCCESS").subscribe(e=>{this.loading=!1,this.notificator.showSuccess(e),this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-category-dialog"]],decls:7,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,nF,1,0,"mat-spinner",2),i.YNc(5,cF,13,9,"div",3),i.YNc(6,lF,7,7,"div",4),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,La,Ir,Lr,Or,Pr,Hr,$c,Wc,Ia,Oa,Ks,Bt],pipes:[gt],styles:[""]}),n})();function dF(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function hF(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let __=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new ki}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,dF,2,4,"input",1),i.YNc(2,hF,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[ls,b.O5,nr,us,hH,ds,Ws],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:initial!important}"]}),n})();function fF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function pF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"p",7),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.TgZ(11,"div",8),i.TgZ(12,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"div",10),i.ALo(16,"translate"),i.TgZ(17,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,9,"DIALOGS.UPDATE_RANK.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),i.Q6J("matTooltipDisabled",e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let gF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetManagerService=a,this.translate=r,this.categoryName="",r.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new ki(this.data.rank,[Oi.required,Oi.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.rank=this.rankCtrl.value,this.cabinetManagerService.updateCategory({category:this.data}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-update-rank-dialog"]],decls:6,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,fF,1,0,"mat-spinner",2),i.YNc(5,pF,20,21,"div",3),i.qZA()),2&e&&(i.xp6(2),i.AsE("",i.lcZ(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",t.categoryName,""),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,ls,nr,us,tr,ds,Ws,Ic,Ks,Bt,jc],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function mF(n,o){1&n&&i._UZ(0,"th",15)}function _F(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function yF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.ID")," "))}function bF(n,o){if(1&n&&(i.TgZ(0,"td",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function wF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.NAME")," "))}function AF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function vF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.RANK")," "))}function CF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().updateCategory(s)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function TF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.YNc(2,CF,3,0,"button",21),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.hij(" ",e.rank," "),i.xp6(1),i.Q6J("ngIf",t.editAuth)}}function MF(n,o){1&n&&i._UZ(0,"tr",23)}function SF(n,o){1&n&&i._UZ(0,"tr",24)}function kF(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let EF=(()=>{class n{constructor(e,t,s,a){this.guiAuthResolver=e,this.tableCheckbox=t,this.dialog=s,this.authResolver=a,this.categories=[],this.selection=new en(!0,[]),this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=Zd,this.refreshTable=new i.vpe,this.editAuth=!1}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"rank":return e.rank.toString();default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.editAuth=this.authResolver.isCabinetAdmin(),this.dataSource.paginator=this.child.paginator}itemSelectionToggle(e){this.selection.toggle(e)}updateCategory(e){const t=ts();t.width="400px",t.data=e,this.dialog.open(gF,t).afterClosed().subscribe(a=>{a&&this.refreshTable.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(oo),i.Y36(EA),i.Y36(Xi),i.Y36(oo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{refreshTable:"refreshTable"},features:[i.TTD],decls:18,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mF,1,0,"th",4),i.YNc(5,_F,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,yF,3,3,"th",7),i.YNc(8,bF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,wF,3,3,"th",7),i.YNc(11,AF,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,vF,3,3,"th",7),i.YNc(14,TF,3,2,"td",10),i.BQk(),i.YNc(15,MF,1,0,"tr",12),i.YNc(16,SF,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,kF,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.categories.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.categories.length))},directives:[ir,La,Do,Ir,Lr,Or,Pr,Hr,su,gp,b.O5,Bt,tn,$c,Wc,Ia,Oa,Fa],pipes:[gt],styles:[""]}),n})();function DF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().addCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.CREATE")," "))}function xF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().removeCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",!e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"CATEGORIES_PAGE.REMOVE")," ")}}function RF(n,o){1&n&&i._UZ(0,"mat-spinner",10)}const PF=function(){return["select","id","name","rank"]},LF=function(){return["name","rank"]};function IF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-categories-list",11),i.NdJ("refreshTable",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("categories",e.categories)("filterValue",e.filterValue)("displayedColumns",e.removeAuth?i.DdM(5,PF):i.DdM(6,LF))("tableId",e.tableId)("selection",e.selected)}}let OF=(()=>{class n{constructor(e,t,s){this.cabinetManagerService=e,this.dialog=t,this.guiAuthResolver=s,this.categories=[],this.selected=new en(!0,[]),this.filterValue="",this.tableId="5"}ngOnInit(){this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteCategory_Category_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createCategory_Category_policy",[])}refreshTable(){this.loading=!0,this.cabinetManagerService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}applyFilter(e){this.filterValue=e}addCategory(){const e=ts();e.width="400px",e.data={},this.dialog.open(iF,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}removeCategory(){const e=ts();e.width="400px",e.data=this.selected.selected,this.dialog.open(uF,e).afterClosed().subscribe(s=>{s&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Xi),i.Y36(oo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-page"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.YNc(5,DF,3,3,"button",3),i.YNc(6,xF,3,4,"button",4),i.TgZ(7,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(8,RF,1,0,"mat-spinner",6),i.YNc(9,IF,1,7,"perun-web-apps-categories-list",7),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"CATEGORIES_PAGE.TITLE")),i.xp6(3),i.Q6J("ngIf",t.addAuth),i.xp6(1),i.Q6J("ngIf",t.removeAuth),i.xp6(1),i.Q6J("placeholder","CATEGORIES_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.categories&&!t.loading))},directives:[yp,b.O5,Bt,__,vn,EF],pipes:[gt],styles:[""]}),n})();function HF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.ID")," "))}function FF(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function zF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")," "))}function NF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyName)}}function BF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")," "))}function YF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ","empty"===e.loginNamespace?"":e.loginNamespace," ")}}function jF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.URL")," "))}function UF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.url?"":e.url)}}function VF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")," "))}function qF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.type?"":e.type)}}function GF(n,o){1&n&&i._UZ(0,"tr",17)}function KF(n,o){1&n&&i._UZ(0,"tr",18)}function ZF(n,o){1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let $F=(()=>{class n{constructor(){this.publicationSystems=[],this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=Zd}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"friendlyName":return e.friendlyName;case"url":return e.url;case"loginNamespace":return e.loginNamespace;case"type":return e.type;default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","loginNamespace"],["matColumnDef","url"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,HF,3,3,"th",4),i.YNc(5,FF,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,zF,3,3,"th",4),i.YNc(8,NF,2,1,"td",7),i.BQk(),i.ynx(9,8),i.YNc(10,BF,3,3,"th",4),i.YNc(11,YF,2,1,"td",7),i.BQk(),i.ynx(12,9),i.YNc(13,jF,3,3,"th",4),i.YNc(14,UF,2,1,"td",7),i.BQk(),i.ynx(15,10),i.YNc(16,VF,3,3,"th",4),i.YNc(17,qF,2,1,"td",7),i.BQk(),i.YNc(18,GF,1,0,"tr",11),i.YNc(19,KF,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,ZF,3,3,"app-alert",13)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publicationSystems.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.publicationSystems.length))},directives:[ir,La,Do,Ir,Lr,Or,gp,Pr,Hr,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function WF(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function JF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publication-systems-list",7),2&n){const e=i.oxw();i.Q6J("publicationSystems",e.publicationSystems)("filterValue",e.filterValue)("tableId",e.tableId)}}let QF=(()=>{class n{constructor(e){this.cabinetManagerService=e,this.publicationSystems=[],this.filterValue="",this.tableId="5"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetManagerService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-page"]],decls:8,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publicationSystems","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"publicationSystems","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(6,WF,1,0,"mat-spinner",4),i.YNc(7,JF,1,3,"perun-web-apps-publication-systems-list",5),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.publicationSystems&&!t.loading))},directives:[yp,__,b.O5,vn,$F],pipes:[gt],styles:[""]}),n})();function XF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/authors/"+e.author.id+"/publication")}}function ez(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h5"),i._uU(2),i.ALo(3,"userFullName"),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"div",6),i.TgZ(6,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(7,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(11,XF,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.AsE("",i.lcZ(3,5,e.author),"",i.lcZ(4,7,"AUTHOR_DETAIL.TITLE"),""),i.xp6(5),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,9,"AUTHOR_DETAIL.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function tz(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let iz=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.userService=s,this.dialog=a,this.selected=new en(!0,[]),this.tableId="68"}ngOnInit(){this.initLoading=!0,this.route.params.subscribe(e=>{this.userService.getUserById(e.authorId).subscribe(s=>{this.author=s,this.initLoading=!1,this.refreshTable()})})}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.author.id).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(e.title,null,null,null,null,e.category,+e.startYear,+e.endYear,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36($t),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-author-detail"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-3"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,ez,12,11,"div",4),i.YNc(8,tz,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"AUTHORS_PAGE.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[tn,b.O5,yp,Bt,dM,_p,vn],pipes:[gt,ev],styles:[""]}),n})();function nz(n,o){1&n&&i._UZ(0,"mat-spinner",2)}function sz(n,o){if(1&n&&(i.TgZ(0,"h3",15),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.publication.title)}}function oz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.editing=!s.editing}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"edit"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function rz(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function az(n,o){if(1&n&&(i.TgZ(0,"mat-form-field",18),i._UZ(1,"textarea",19),i.YNc(2,rz,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("formControl",e.titleControl),i.xp6(1),i.Q6J("ngIf",e.titleControl.invalid)}}function cz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).save()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"save"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),i.Q6J("disabled",e.titleControl.invalid)}}function lz(n,o){1&n&&i._UZ(0,"th",21)}function uz(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij("",e.key,":")}}function dz(n,o){1&n&&i._UZ(0,"th",21)}function hz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",24),i._uU(3),i.ALo(4,"translate"),i.qZA(),i._uU(5),i.TgZ(6,"span",24),i._uU(7),i.ALo(8,"translate"),i.qZA(),i._uU(9),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(2);i.xp6(1),i.hij(" ",e.value," / "),i.xp6(2),i.hij("",i.lcZ(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),i.xp6(2),i.hij(" ",t.publication.externalId," "),i.xp6(2),i.hij("",i.lcZ(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),i.xp6(2),i.hij(" ",t.publication.pubSystemName," ")}}function fz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.value,"dd/MM/yyyy")," ")}}function pz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function gz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw(3).$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function mz(n,o){if(1&n&&(i.TgZ(0,"span"),i.YNc(1,gz,2,1,"span",1),i.qZA()),2&n){const e=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf","Id / Origin"!==e.key&&"Create date"!==e.key&&"Created by"!==e.key)}}function _z(n,o){1&n&&(i.TgZ(0,"span"),i._uU(1," - "),i.qZA())}function yz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,mz,2,1,"span",1),i.YNc(2,_z,2,0,"span",1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",null!==e.value&&""!==e.value),i.xp6(1),i.Q6J("ngIf",null===e.value||""===e.value)}}function bz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",26),i.NdJ("click",function(){return i.CHM(e),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",27),i._UZ(5,"mat-datepicker-toggle",28),i.TgZ(6,"mat-datepicker",29,30),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(7);return i.oxw(4).chosenYearHandler(s,a)}),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(7),t=i.oxw(4);i.xp6(2),i.Oqu(i.lcZ(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e)("formControl",t.yearControl),i.xp6(1),i.Q6J("for",e)}}function wz(n,o){if(1&n&&(i.TgZ(0,"mat-option",33),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e.name),i.xp6(1),i.hij(" ",e.name," ")}}function Az(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i.TgZ(1,"mat-select",31),i.YNc(2,wz,2,2,"mat-option",32),i.qZA(),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.categoryControl),i.xp6(1),i.Q6J("ngForOf",e.categories)}}function vz(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function Cz(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i._UZ(1,"input",34),i.YNc(2,vz,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.rankControl),i.xp6(1),i.Q6J("ngIf",e.rankControl.invalid)}}function Tz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.isbn=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.isbn)}}function Mz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.doi=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.doi)}}function Sz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"textarea",36),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.main=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.main)}}function kz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,bz,8,7,"mat-form-field",25),i.YNc(2,Az,3,2,"mat-form-field",1),i.YNc(3,Cz,3,2,"mat-form-field",1),i.YNc(4,Tz,2,1,"mat-form-field",6),i.YNc(5,Mz,2,1,"mat-form-field",6),i.YNc(6,Sz,2,1,"mat-form-field",6),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf","Year"===e.key),i.xp6(1),i.Q6J("ngIf","Category"===e.key),i.xp6(1),i.Q6J("ngIf","Rank"===e.key),i.xp6(1),i.Q6J("ngIf","ISBN / ISSN"===e.key),i.xp6(1),i.Q6J("ngIf","DOI"===e.key),i.xp6(1),i.Q6J("ngIf","Full cite"===e.key)}}function Ez(n,o){if(1&n&&(i.TgZ(0,"td",23),i.YNc(1,hz,10,9,"span",1),i.YNc(2,fz,3,4,"span",1),i.YNc(3,pz,2,1,"span",1),i.YNc(4,yz,3,2,"div",1),i.YNc(5,kz,7,6,"div",1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(1),i.Q6J("ngIf","Id / Origin"===e.key),i.xp6(1),i.Q6J("ngIf","Create date"===e.key),i.xp6(1),i.Q6J("ngIf","Created by"===e.key),i.xp6(1),i.Q6J("ngIf",!t.editing),i.xp6(1),i.Q6J("ngIf",t.editing)}}function Dz(n,o){1&n&&i._UZ(0,"tr",37)}function xz(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"div",3),i.YNc(2,sz,2,1,"h3",4),i.YNc(3,oz,4,3,"button",5),i.YNc(4,az,3,2,"mat-form-field",6),i.YNc(5,cz,4,4,"button",7),i.qZA(),i.TgZ(6,"table",8),i.ynx(7,9),i.YNc(8,lz,1,0,"th",10),i.YNc(9,uz,2,1,"td",11),i.BQk(),i.ynx(10,12),i.YNc(11,dz,1,0,"th",10),i.YNc(12,Ez,6,5,"td",13),i.BQk(),i.YNc(13,Dz,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngIf",!e.editing),i.xp6(1),i.Q6J("ngIf",!e.editing&&!e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("dataSource",e.dataSource),i.xp6(7),i.Q6J("matRowDefColumns",e.displayedColumns)}}const hD=bp,Rz={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let Pz=(()=>{class n{constructor(e,t,s){this.cabinetService=e,this.notificator=t,this.translate=s,this.categories=[],this.edited=new i.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new en(!0,[]),this.map=[],this.editing=!1}ngOnInit(){this.loading=!0,this.keys=["Id / Origin","Year","Category","Rank","ISBN / ISSN","DOI","Full cite","Created by","Create date"],this.values=[this.publication.id.toString(),this.publication.year.toString(),this.publication.categoryName,this.publication.rank.toString(),this.publication.isbn,this.publication.doi,this.publication.main,this.publication.createdBy,this.publication.createdDate];for(let e=0;es.name===this.categoryControl.value).id,t={id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:this.yearControl.value.year(),main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:e,rank:this.rankControl.value,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate};this.cabinetService.updatePublication({publication:t}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(e,t){const s=this.yearControl.value;s.year(e.year()),this.yearControl.setValue(s),t.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:Rz}])],decls:3,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex"],["class","bigger-font w-75 mr-2",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","w-75",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"disabled","matTooltip","click",4,"ngIf"],["mat-table","",1,"w-100","layout",3,"dataSource"],["matColumnDef","key"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"bigger-font","w-75","mr-2"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"matTooltip","click"],[1,"big-icon"],[1,"w-75"],["matInput","",1,"bigger-font","fix-height",3,"formControl"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"disabled","matTooltip","click"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],[1,"bold"],["class","mr-2",3,"click",4,"ngIf"],[1,"mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"max","matDatepicker","formControl"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","",3,"formControl"],["matInput","",3,"ngModel","ngModelChange"],["matInput","",1,"fix-height",3,"ngModel","ngModelChange"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,nz,1,0,"mat-spinner",0),i.YNc(2,xz,14,6,"div",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,vn,Bt,jc,tn,ls,nr,us,ds,Ws,Ic,La,Ir,Lr,Or,Pr,Hr,Es,d_,$0,mm,Z0,qd,b.sg,Lc,jd,Ia,Oa],pipes:[gt,b.uU],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}.big-icon[_ngcontent-%COMP%]{font-size:40px}.fix-height[_ngcontent-%COMP%]{min-height:6ch}.layout[_ngcontent-%COMP%]{table-layout:fixed}"]}),n})();const Lz=function(){return["id","name","organization","email","add"]};function Iz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",15),i.NdJ("addAuthor",function(s){return i.CHM(e),i.oxw(3).addAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("authors",e.authors)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(4,Lz))}}function Oz(n,o){1&n&&(i.TgZ(0,"app-alert",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function Hz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Iz,1,5,"perun-web-apps-authors-list",13),i.YNc(2,Oz,3,3,"app-alert",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.firstSearchDone)}}function Fz(n,o){1&n&&i._UZ(0,"mat-spinner",17)}const zz=function(){return["id","name","organization","email","remove"]};function Nz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",19),i.NdJ("removeAuthor",function(s){return i.CHM(e),i.oxw(3).removeAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("reloadTable",e.reloadTable)("authors",e.authorsToAdd)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(5,zz))}}function Bz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Nz,1,6,"perun-web-apps-authors-list",18),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone)}}function Yz(n,o){1&n&&(i.TgZ(0,"app-alert",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function jz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Hz,3,2,"div",6),i.YNc(2,Fz,1,0,"mat-spinner",7),i.TgZ(3,"h2",11),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,Bz,2,1,"div",6),i.YNc(7,Yz,3,3,"app-alert",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.searchLoading),i.xp6(1),i.Q6J("ngIf",e.searchLoading),i.xp6(2),i.hij(" ",i.lcZ(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")," "),i.xp6(2),i.Q6J("ngIf",e.firstSearchDone&&0!==e.authorsToAdd.length),i.xp6(1),i.Q6J("ngIf",0===e.authorsToAdd.length)}}function Uz(n,o){1&n&&i._UZ(0,"mat-spinner",17)}let Vz=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetService=a,this.translate=r,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors="67",this.selection=new en(!1,[]),this.reloadTable=!1,r.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),this.publicationId=t.publicationId,this.alreadyAddedAuthors=t.alreadyAddedAuthors}ngOnInit(){this.searchControl=new ki("",[Oi.required,Oi.pattern(".*[\\S]+.*")])}onSearchByString(){this.searchLoading=!0;const e=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(t=>{t=t.filter(s=>e.map(a=>a.id).indexOf(s.id)<=-1),this.authors=t,this.firstSearchDone=!0,this.searchLoading=!1},()=>{this.searchLoading=!1})}onAdd(){if(this.loading=!0,this.authorsToAdd.length){const e=this.authorsToAdd.pop();this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publicationId,userId:e.id}}).subscribe(()=>{this.onAdd()},()=>this.loading=!1)}else this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}addAuthor(e){this.authors=this.authors.filter(t=>t!==e),this.authorsToAdd.push(e),this.reloadTable=!this.reloadTable}removeAuthor(e){this.authorsToAdd=this.authorsToAdd.filter(t=>t!==e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors-dialog"]],decls:24,vars:20,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title","",1,"top-margin"],["alert_type","warn",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor"],["alert_type","info"],[1,"ml-auto","mr-auto"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor",4,"ngIf"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"mat-form-field",3),i.TgZ(6,"label"),i.TgZ(7,"input",4),i.NdJ("keyup.enter",function(){return t.onSearchByString()}),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-error"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.TgZ(12,"button",5),i.NdJ("click",function(){return t.onSearchByString()}),i.TgZ(13,"mat-icon"),i._uU(14,"search"),i.qZA(),i.qZA(),i.YNc(15,jz,8,7,"div",6),i.qZA(),i.YNc(16,Uz,1,0,"mat-spinner",7),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return t.onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"button",10),i.NdJ("click",function(){return t.onAdd()}),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),i.xp6(5),i.s9C("placeholder",i.lcZ(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),i.Q6J("formControl",t.searchControl),i.xp6(3),i.hij(" ",i.lcZ(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),i.xp6(2),i.Q6J("disabled",t.searchLoading||""===t.searchControl.value.trim()),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(3),i.hij(" ",i.lcZ(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===t.authorsToAdd.length||t.loading),i.xp6(1),i.hij(" ",i.lcZ(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[ks,Gs,ls,nr,us,ds,Ws,Ic,Bt,tn,b.O5,hM,Fa,vn,Ks],pipes:[gt],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),n})();function qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function Gz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length||e.publication.locked),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function Kz(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const Zz=function(){return["id","name","organization","email"]},$z=function(){return["select","id","name","organization","email"]};function Wz(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.publication.authors)("selection",e.selection)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,Zz):i.DdM(6,$z))}}let fD=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new en(!0,[]),this.filterValue="",this.loading=!1,this.tableId="67"}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findAuthorsByPublicationId(this.publication.id).subscribe(e=>{this.publication.authors=e,this.selection.clear(),this.loading=!1})}onAddAuthors(){const e=ts();e.width="800px",e.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(Vz,e).afterClosed().subscribe(s=>{s&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const e=ts();e.width="800px",e.data={items:this.selection.selected.map(s=>`${s.titleBefore?s.titleBefore:""} ${s.firstName?s.firstName:""} ${s.lastName?s.lastName:""} ${s.titleAfter?s.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme"},this.dialog.open(Hk,e).afterClosed().subscribe(s=>{s&&this.removeAuthors(this.selection.selected)})}removeAuthors(e){if(this.loading=!0,e.length){const t=e.pop();this.cabinetService.deleteAuthorship(this.publication.id,t.id).subscribe(()=>{this.removeAuthors(e)},()=>this.loading=!1)}else this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_AUTHORS.SUCCESS_MESSAGE")),this.selection.clear(),this.refresh()}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","selection","filterValue","tableId","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"authors","selection","filterValue","tableId","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,qz,3,3,"button",1),i.YNc(2,Gz,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,Kz,1,0,"mat-spinner",4),i.YNc(5,Wz,1,7,"perun-web-apps-authors-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Bt,__,vn,hM],pipes:[gt],styles:[""]}),n})();function Jz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function Xz(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")," "))}function eN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function tN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")," "))}function iN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function nN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")," "))}function sN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.contact)}}function oN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")," "))}function rN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.type)}}function aN(n,o){1&n&&i._UZ(0,"tr",23)}function cN(n,o){1&n&&i._UZ(0,"tr",24)}function lN(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS"),"\n"))}function uN(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS"),"\n"))}let dN=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.owners=[],this.selection=new en(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=Zd}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"contact":return e.contact;case"type":return e.type;default:return""}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Jc(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(oo),i.Y36(EA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ir,7),i.Gf(Do,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{owners:"owners",selection:"selection",tableId:"tableId",filterValue:"filterValue",displayedColumns:"displayedColumns"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Jz,2,3,"th",4),i.YNc(5,Qz,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Xz,3,3,"th",7),i.YNc(8,eN,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,tN,3,3,"th",7),i.YNc(11,iN,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,nN,3,3,"th",7),i.YNc(14,sN,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,oN,3,3,"th",7),i.YNc(17,rN,2,1,"td",10),i.BQk(),i.YNc(18,aN,1,0,"tr",13),i.YNc(19,cN,1,0,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lN,3,3,"app-alert",15),i.YNc(21,uN,3,3,"app-alert",15)),2&e&&(i.Q6J("hidden",0===t.owners.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.owners.length),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length&&t.owners.length))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function hN(n,o){1&n&&i._UZ(0,"mat-spinner",4)}const fN=function(){return["select","id","name","contact"]};function pN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"perun-web-apps-immediate-filter",6),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().filterValue=s}),i.qZA(),i._UZ(3,"perun-web-apps-owners-list",7),i.qZA(),i.TgZ(4,"div",8),i.TgZ(5,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Q6J("placeholder","DIALOGS.ADD_THANKS.FILTER"),i.xp6(1),i.Q6J("owners",e.owners)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",i.DdM(13,fN))("selection",e.selected),i.xp6(3),i.hij(" ",i.lcZ(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length||e.loading),i.xp6(1),i.hij(" ",i.lcZ(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let gN=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this.ownersManagerService=s,this.storeService=a,this.notificator=r,this.translate=c,this.cabinetManagerService=d,this.selected=new en(!0,[]),this.tableId="73"}ngOnInit(){this.loading=!0;const e=this.storeService.get("allowed_owners_for_thanks");this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=0!==e.length?t.filter(s=>e.indexOf(s.id)>-1):t,this.owners=this.owners.filter(s=>this.data.thanks.map(a=>a.ownerId).indexOf(s.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,0===this.selected.selected.length?this.translate.get("DIALOGS.ADD_THANKS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.cabinetManagerService.createThanks({thanks:{publicationId:this.data.id,ownerId:this.selected.selected.pop().id,createdBy:this.storeService.getPerunPrincipal().actor,createdByUid:this.storeService.getPerunPrincipal().userId,createdDate:Date.now().toString(),id:0,beanName:"Thanks"}}).subscribe(()=>{this.onSubmit()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(mt),i.Y36(Mn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"owners","filterValue","tableId","displayedColumns","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,hN,1,0,"mat-spinner",2),i.YNc(5,pN,11,14,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_THANKS.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,__,dN,Ks,Bt],pipes:[gt],styles:[""]}),n})();function mN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function _N(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function yN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"THANKS_LIST.ID")))}function bN(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerId)}}function wN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NAME")," "))}function AN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerName)}}function vN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.CREATED_BY")," "))}function CN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.createdBy)}}function TN(n,o){1&n&&i._UZ(0,"tr",22)}function MN(n,o){1&n&&i._UZ(0,"tr",23)}function SN(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function kN(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NO_THANKS"),"\n"))}let EN=(()=>{class n{constructor(e){this.tableCheckbox=e,this.thanks=[],this.filterValue="",this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=Zd,this.selection=new en(!0,[])}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.thanks),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}getDataForColumn(e,t){switch(t){case"id":return e.ownerId.toString();case"name":return e.ownerName;default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(EA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{thanks:"thanks",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},features:[i.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mN,2,3,"th",4),i.YNc(5,_N,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,yN,3,3,"th",7),i.YNc(8,bN,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,wN,3,3,"th",7),i.YNc(11,AN,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,vN,3,3,"th",7),i.YNc(14,CN,2,1,"td",10),i.BQk(),i.YNc(15,TN,1,0,"tr",12),i.YNc(16,MN,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,SN,3,3,"app-alert",14),i.YNc(18,kN,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.thanks.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.thanks.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.thanks.length))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function DN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function xN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function RN(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const PN=function(){return["id","name","createdBy"]},LN=function(){return["select","id","name","createdBy"]};function IN(n,o){if(1&n&&i._UZ(0,"perun-web-apps-thanks-list",9),2&n){const e=i.oxw();i.Q6J("thanks",e.publication.thanks)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,PN):i.DdM(6,LN))("selection",e.selection)}}let pD=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new en(!0,[]),this.tableId="70",this.loading=!1,this.filterValue=""}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findPublicationById(this.publication.id).subscribe(e=>{this.publication=e,this.selection.clear(),this.loading=!1})}onAddThanks(){const e=ts();e.width="800px",e.data=this.publication,this.dialog.open(gN,e).afterClosed().subscribe(s=>{s&&this.refresh()})}onRemoveThanks(){const e=ts();e.width="450px",e.data={items:this.selection.selected.map(s=>s.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme"},this.dialog.open(Hk,e).afterClosed().subscribe(s=>{s&&(this.loading=!0,this.removeThank())})}removeThank(){0===this.selection.selected.length?this.translate.get("PUBLICATION_DETAIL.REMOVE_THANKS_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.refresh()}):this.cabinetService.deleteThanks(this.selection.selected.pop().id).subscribe(()=>{this.removeThank()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"thanks","filterValue","tableId","displayedColumns","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"thanks","filterValue","tableId","displayedColumns","selection"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,DN,3,3,"button",1),i.YNc(2,xN,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,RN,1,0,"mat-spinner",4),i.YNc(5,IN,1,7,"perun-web-apps-thanks-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Bt,__,vn,EN],pipes:[gt],styles:[""]}),n})();function ON(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function HN(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"assignment_ind"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"AUTHORS_PAGE.TITLE")," "))}function FN(n,o){1&n&&(i.TgZ(0,"h1",11),i._UZ(1,"mat-icon",13),i.TgZ(2,"span",14),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.Oqu(i.lcZ(4,1,"ALL_PUBLICATIONS.TITLE")))}function zN(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"local_library"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"MY_PUBLICATIONS.TITLE")," "))}function NN(n,o){if(1&n&&(i.TgZ(0,"h5",15),i._uU(1),i.ALo(2,"userFullName"),i.ALo(3,"translate"),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.AsE(" ",i.lcZ(2,2,e.mainAuthor),"",i.lcZ(3,4,"AUTHOR_DETAIL.TITLE")," ")}}function BN(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function YN(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock "),i.qZA())}function jN(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function UN(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock_open "),i.qZA())}function VN(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function qN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publication-detail-list",17),i.NdJ("edited",function(){return i.CHM(e),i.oxw(2).refreshPublication()}),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("categories",e.categories)}}function GN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.YNc(1,HN,6,3,"h1",4),i.YNc(2,FN,5,3,"h1",4),i.YNc(3,zN,6,3,"h1",4),i.YNc(4,NN,4,6,"h5",5),i.TgZ(5,"h5"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"h6"),i._uU(9),i.ALo(10,"translate"),i.TgZ(11,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeLock()}),i.YNc(12,BN,3,3,"span",7),i.YNc(13,YN,2,0,"mat-icon",2),i.YNc(14,jN,3,3,"span",7),i.YNc(15,UN,2,0,"mat-icon",2),i.qZA(),i.qZA(),i.TgZ(16,"mat-card"),i.TgZ(17,"mat-card-content"),i.YNc(18,VN,1,0,"mat-spinner",1),i.YNc(19,qN,1,2,"perun-web-apps-publication-detail-list",8),i.qZA(),i.qZA(),i.TgZ(20,"mat-card",9),i.TgZ(21,"mat-card-title"),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.TgZ(24,"mat-card-content"),i._UZ(25,"perun-web-apps-add-authors",10),i.qZA(),i.qZA(),i.TgZ(26,"mat-card",9),i.TgZ(27,"mat-card-title"),i._uU(28),i.ALo(29,"translate"),i.qZA(),i.TgZ(30,"mat-card-content"),i._UZ(31,"perun-web-apps-add-thanks",10),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf","authors"===e.mode),i.xp6(1),i.Q6J("ngIf","all"===e.mode),i.xp6(1),i.Q6J("ngIf","my"===e.mode),i.xp6(1),i.Q6J("ngIf",void 0!==e.mainAuthor),i.xp6(2),i.Oqu(i.lcZ(7,18,"PUBLICATION_DETAIL.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),i.xp6(3),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(3),i.Q6J("ngIf",e.loading||e.pubLoading),i.xp6(1),i.Q6J("ngIf",!e.pubLoading&&!e.loading),i.xp6(3),i.hij(" ",i.lcZ(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionAuthors),i.xp6(3),i.hij(" ",i.lcZ(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionThanks)}}let y_=(()=>{class n{constructor(e,t,s,a,r,c,d){this.route=e,this.cabinetService=t,this.matIconRegistry=s,this.domSanitizer=a,this.dialog=r,this.notificator=c,this.translate=d,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new en(!0,[]),this.selectionThanks=new en(!0,[]),this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.initLoading=!0,this.publicationId?(this.setMode(),this.loadAllData()):this.route.params.subscribe(e=>{this.publicationId=e.publicationId,this.mainAuthorId=parseInt(e.authorId,10),this.setMode(),this.loadAllData()})}setMode(){const e=location.pathname;this.mode=e.includes("my")?"my":e.includes("all")?"all":e.includes("import")?"import":e.includes("create")?"create":"authors"}loadAllData(){this.loading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1,this.initLoading=!1})})}refreshPublication(){this.pubLoading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.pubLoading=!1})}changeLock(){this.pubLoading=!0,this.cabinetService.lockPublications({publications:[{id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.publication.title,year:this.publication.year,main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:this.publication.categoryId,rank:this.publication.rank,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate}],lock:!this.publication.locked}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refreshPublication()})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Kd),i.Y36(Yn),i.Y36(Xi),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail"]],inputs:{publicationId:"publicationId"},decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","page-subtitle d-flex",4,"ngIf"],["class","mb-2",4,"ngIf"],["mat-stroked-button","",1,"ml-2",3,"click"],["class","font-weight-bold",4,"ngIf"],[3,"publication","categories","edited",4,"ngIf"],[1,"mt-4"],[3,"publication","selection"],[1,"page-subtitle","d-flex"],[1,"title-icon","align-icon","mr-3"],["svgIcon","publications",1,"icon-size"],[1,"ml-3","mt-1"],[1,"mb-2"],[1,"font-weight-bold"],[3,"publication","categories","edited"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,ON,1,0,"mat-spinner",1),i.YNc(2,GN,32,26,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.initLoading),i.xp6(1),i.Q6J("ngIf",!t.initLoading))},directives:[b.O5,vn,tn,Bt,iE,eE,Pz,tE,fD,pD],pipes:[gt,ev],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),n})(),KN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,Zs,iu,Rh,lM,Sd,$s,zc,xA,Q0]]}),n})(),ZN=(()=>{class n{constructor(e){this.auth=e}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Sa))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Bt,tn],pipes:[gt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function $N(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}let WN=(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new ki(null,[Oi.required]),this.passwordCtrl=new ki(null,[Oi.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xi),i.Y36(Xi),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,$N,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,Fa,ls,Es,nr,us,tr,ds,Ws,Ic,Bt,tn],pipes:[gt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})();function JN(n,o){1&n&&i.Hsn(0)}const gD=["*"];function QN(n,o){}const XN=function(n){return{animationDuration:n}},eB=function(n,o){return{value:n,params:o}},tB=["tabListContainer"],iB=["tabList"],nB=["tabListInner"],sB=["nextPaginator"],oB=["previousPaginator"],rB=["tabBodyWrapper"],aB=["tabHeader"];function cB(n,o){}function lB(n,o){if(1&n&&i.YNc(0,cB,0,0,"ng-template",10),2&n){const e=i.oxw().$implicit;i.Q6J("cdkPortalOutlet",e.templateLabel)}}function uB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw().$implicit;i.Oqu(e.textLabel)}}function dB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index,c=i.oxw(),d=i.MAs(1);return c._handleClick(a,d,r)})("cdkFocusChange",function(s){const r=i.CHM(e).index;return i.oxw()._tabFocusChanged(s,r)}),i.TgZ(1,"div",7),i.YNc(2,lB,1,1,"ng-template",8),i.YNc(3,uB,1,1,"ng-template",null,9,i.W1O),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.MAs(4),a=i.oxw();i.ekj("mat-tab-label-active",a.selectedIndex===t),i.Q6J("id",a._getTabLabelId(t))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||a.disableRipple),i.uIk("tabIndex",a._getTabIndex(e,t))("aria-posinset",t+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(t))("aria-selected",a.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),i.xp6(2),i.Q6J("ngIf",e.templateLabel)("ngIfElse",s)}}function hB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-tab-body",11),i.NdJ("_onCentered",function(){return i.CHM(e),i.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(s){return i.CHM(e),i.oxw()._setTabBodyWrapperHeight(s)}),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.ekj("mat-tab-body-active",s.selectedIndex===t),i.Q6J("id",s._getTabContentId(t))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration),i.uIk("tabindex",null!=s.contentTabIndex&&s.selectedIndex===t?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(t))}}const fB=new i.OlP("MatInkBarPositioner",{providedIn:"root",factory:function pB(){return o=>({left:o?(o.offsetLeft||0)+"px":"0",width:o?(o.offsetWidth||0)+"px":"0"})}});let mD=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=s,this._animationMode=a}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=t.left,s.style.width=t.width}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(fB),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n})();const _D=new i.OlP("MatTabContent");let gB=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabContent",""]],features:[i._Bn([{provide:_D,useExisting:n}])]}),n})();const yD=new i.OlP("MatTabLabel"),bD=new i.OlP("MAT_TAB");let mB=(()=>{class n extends Xp{constructor(e,t,s){super(e,t),this._closestTab=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(bD,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i._Bn([{provide:yD,useExisting:n}]),i.qOj]}),n})();const _B=Co(class{}),wD=new i.OlP("MAT_TAB_GROUP");let AD=(()=>{class n extends _B{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new ke.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Cr(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(wD,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,yD,5),i.Suo(s,_D,7,i.Rgc)),2&e){let a;i.iGM(a=i.CRH())&&(t.templateLabel=a.first),i.iGM(a=i.CRH())&&(t._explicitContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[i._Bn([{provide:bD,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:gD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,JN,1,0,"ng-template"))},encapsulation:2}),n})();const yB={translateTab:ti("translateTab",[_t("center, void, left-origin-center, right-origin-center",De({transform:"none"})),_t("left",De({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),_t("right",De({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),ht("* => left, * => right, left => center, right => center",rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ht("void => left-origin-center",[De({transform:"translate3d(-100%, 0, 0)"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ht("void => right-origin-center",[De({transform:"translate3d(100%, 0, 0)"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let bB=(()=>{class n extends Tr{constructor(e,t,s,a){super(e,t,a),this._host=s,this._centeringSub=P.w.EMPTY,this._leavingSub=P.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Vt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36((0,i.Gpc)(()=>vD)),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabBodyHost",""]],features:[i.qOj]}),n})(),wB=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dir=t,this._dirChangeSubscription=P.w.EMPTY,this._translateTabComplete=new ke.xQ,this._onCentering=new i.vpe,this._beforeCentering=new i.vpe,this._afterLeavingCenter=new i.vpe,this._onCentered=new i.vpe(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(a=>{this._computePositionAnimationState(a),s.markForCheck()})),this._translateTabComplete.pipe(yc((a,r)=>a.fromState===r.fromState&&a.toState===r.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),vD=(()=>{class n extends wB{constructor(e,t,s){super(e,t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&i.Gf(Tr,5),2&e){let s;i.iGM(s=i.CRH())&&(t._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[i.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(i.TgZ(0,"div",0,1),i.NdJ("@translateTab.start",function(a){return t._onTranslateTabStarted(a)})("@translateTab.done",function(a){return t._translateTabComplete.next(a)}),i.YNc(2,QN,0,0,"ng-template",2),i.qZA()),2&e&&i.Q6J("@translateTab",i.WLB(3,eB,t._position,i.VKq(1,XN,t.animationDuration)))},directives:[bB],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[yB.translateTab]}}),n})();const CD=new i.OlP("MAT_TABS_CONFIG"),AB=Co(class{});let TD=(()=>{class n extends AB{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.uIk("aria-disabled",!!t.disabled),i.ekj("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[i.qOj]}),n})();const MD=_o({passive:!0});let TB=(()=>{class n{constructor(e,t,s,a,r,c,d){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=s,this._dir=a,this._ngZone=r,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ke.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ke.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.vpe,this.indexFocused=new i.vpe,r.runOutsideAngular(()=>{da(e.nativeElement,"mouseleave").pipe($e(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Zi(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){da(this._previousPaginator.nativeElement,"touchstart",MD).pipe($e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),da(this._nextPaginator.nativeElement,"touchstart",MD).pipe($e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,Ye.of)("ltr"),t=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new bc(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),(0,Mi.T)(e,t,this._items.changes).pipe($e(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(s)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe($e(this._destroyed)).subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ni(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement;t.scrollLeft="ltr"==this._getLayoutDirection()?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:r}=t.elementRef.nativeElement;let c,d;"ltr"==this._getLayoutDirection()?(c=a,d=c+r):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-r);const h=this.scrollDistance,g=this.scrollDistance+s;cg&&(this.scrollDistance+=d-g+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),x_(650,100).pipe($e((0,Mi.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:a}=this._scrollHeader(e);(0===a||a>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),MB=(()=>{class n extends TB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ne(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{disableRipple:"disableRipple"},features:[i.qOj]}),n})(),SB=(()=>{class n extends MB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,TD,4),2&e){let a;i.iGM(a=i.CRH())&&(t._items=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(mD,7),i.Gf(tB,7),i.Gf(iB,7),i.Gf(nB,7),i.Gf(sB,5),i.Gf(oB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inkBar=s.first),i.iGM(s=i.CRH())&&(t._tabListContainer=s.first),i.iGM(s=i.CRH())&&(t._tabList=s.first),i.iGM(s=i.CRH())&&(t._tabListInner=s.first),i.iGM(s=i.CRH())&&(t._nextPaginator=s.first),i.iGM(s=i.CRH())&&(t._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[i.qOj],ngContentSelectors:gD,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(a){return t._handlePaginatorPress("before",a)})("touchend",function(){return t._stopInterval()}),i._UZ(2,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.NdJ("keydown",function(a){return t._handleKeydown(a)}),i.TgZ(5,"div",5,6),i.NdJ("cdkObserveContent",function(){return t._onContentChanges()}),i.TgZ(7,"div",7,8),i.Hsn(9),i.qZA(),i._UZ(10,"mat-ink-bar"),i.qZA(),i.qZA(),i.TgZ(11,"div",9,10),i.NdJ("mousedown",function(a){return t._handlePaginatorPress("after",a)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),i._UZ(13,"div",2),i.qZA()),2&e&&(i.ekj("mat-tab-header-pagination-disabled",t._disableScrollBefore),i.Q6J("matRippleDisabled",t._disableScrollBefore||t.disableRipple),i.xp6(5),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(6),i.ekj("mat-tab-header-pagination-disabled",t._disableScrollAfter),i.Q6J("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Ss,pg,mD],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n})(),kB=0;class EB{}const DB=Qo(To(class{constructor(n){this._elementRef=n}}),"primary");let xB=(()=>{class n extends DB{constructor(e,t,s,a){var r;super(e),this._changeDetectorRef=t,this._animationMode=a,this._tabs=new i.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w.EMPTY,this._tabLabelSubscription=P.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new i.vpe,this.focusChange=new i.vpe,this.animationDone=new i.vpe,this.selectedTabChange=new i.vpe(!0),this._groupId=kB++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=null!==(r=null==s?void 0:s.contentTabIndex)&&void 0!==r?r:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Zi(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Zi(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,a)=>s.isActive=a===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,s)=>{t.position=s-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let s=0;s{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new EB;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Mi.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,s){e.disabled||(this.selectedIndex=t.focusIndex=s)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}_tabFocusChanged(e,t){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(CD,8),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[i.qOj]}),n})(),RB=(()=>{class n extends xB{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(CD,8),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AD,5),2&e){let a;i.iGM(a=i.CRH())&&(t._allTabs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(rB,5),i.Gf(aB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._tabBodyWrapper=s.first),i.iGM(s=i.CRH())&&(t._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[i._Bn([{provide:wD,useExisting:n}]),i.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-tab-header",0,1),i.NdJ("indexFocused",function(a){return t._focusChanged(a)})("selectFocusedIndex",function(a){return t.selectedIndex=a}),i.YNc(2,dB,5,15,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.YNc(5,hB,1,10,"mat-tab-body",5),i.qZA()),2&e&&(i.Q6J("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),i.xp6(2),i.Q6J("ngForOf",t._tabs),i.xp6(1),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(2),i.Q6J("ngForOf",t._tabs))},directives:[SB,vD,b.sg,TD,Ss,yC,b.mk,b.O5,Tr],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n})(),PB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,xl,cs,Pl,zy],nt]}),n})();function LB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function IB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function OB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function HB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function FB(n,o){if(1&n&&(i.TgZ(0,"mat-option",36),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function zB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function NB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function BB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function YB(n,o){1&n&&(i.TgZ(0,"div",28),i._UZ(1,"mat-spinner",5),i.TgZ(2,"h5",37),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.hij(" ",i.lcZ(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")," "))}function jB(n,o){1&n&&(i.TgZ(0,"app-alert",38),i.TgZ(1,"div",28),i.TgZ(2,"span",39),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"span",40),i.TgZ(7,"mat-icon",41),i._uU(8,"fiber_manual_record"),i.qZA(),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"span",42),i.TgZ(12,"mat-icon",41),i._uU(13,"fiber_manual_record"),i.qZA(),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.AsE(" ",i.lcZ(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",i.lcZ(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),i.xp6(6),i.hij(" ",i.lcZ(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),i.xp6(5),i.hij(" ",i.lcZ(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function UB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function VB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}const qB=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function GB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publications-list",48),i.NdJ("publicationSelector",function(s){i.CHM(e),i.oxw(2);const a=i.MAs(1);return i.oxw(2).loadPublicationDetail(s,a)}),i.qZA()}if(2&n){const e=i.oxw(4);i.Q6J("displayedColumns",i.DdM(4,qB))("disabledRouting",!0)("openInTab",!0)("publications",e.filteredPublications)}}function KB(n,o){if(1&n&&(i.TgZ(0,"div",46),i.YNc(1,VB,1,0,"mat-spinner",3),i.YNc(2,GB,1,5,"perun-web-apps-publications-list",47),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function ZB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw(4);i.Oqu(e.selectedPubTitle)}}function $B(n,o){if(1&n&&(i.TgZ(0,"div",49),i._UZ(1,"perun-web-apps-publication-detail",50),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("publicationId",e.selectedPubId)}}function WB(n,o){1&n&&(i.TgZ(0,"mat-tab"),i.YNc(1,ZB,1,1,"ng-template",44),i.YNc(2,$B,2,1,"ng-template",45),i.qZA())}function JB(n,o){if(1&n&&(i.TgZ(0,"mat-tab-group",null,43),i.TgZ(2,"mat-tab"),i.YNc(3,UB,2,3,"ng-template",44),i.YNc(4,KB,3,2,"ng-template",45),i.qZA(),i.YNc(5,WB,3,0,"mat-tab",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(5),i.Q6J("ngIf",null!==e.selectedPubId)}}function QB(n,o){1&n&&(i.TgZ(0,"div",28),i.TgZ(1,"mat-icon",51),i._uU(2,"check_circle"),i.qZA(),i.TgZ(3,"h5",52),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")," "))}function XB(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function eY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",57),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).redirect(["create-publication"])}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function tY(n,o){if(1&n&&(i.TgZ(0,"div",53),i.YNc(1,XB,3,3,"button",54),i.TgZ(2,"button",55),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.YNc(5,eY,3,3,"button",56),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),i.xp6(2),i.Q6J("ngIf",!e.duplicateCheck)}}function iY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function nY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function sY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-authors",59),2&n){const e=i.oxw(3);i.Q6J("publication",e.publication)("selection",e.authorsSelection)}}function oY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",58),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,sY,1,2,"perun-web-apps-add-authors",33),i.qZA()),2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),i.xp6(2),i.Q6J("ngIf",null!==e.publication)}}function rY(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function aY(n,o){if(1&n&&(i.TgZ(0,"div",25),i.YNc(1,rY,3,3,"button",54),i.TgZ(2,"button",60),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function cY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function lY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-thanks",59),2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("selection",e.thanksSelection)}}function uY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function dY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-horizontal-stepper",6),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw().stepChanged(s)}),i.TgZ(1,"mat-step",7),i.YNc(2,IB,2,3,"ng-template",8),i.TgZ(3,"form",9),i.TgZ(4,"h5",10),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",11),i.TgZ(8,"mat-checkbox",12),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"mat-form-field"),i._UZ(12,"input",13),i.ALo(13,"translate"),i.YNc(14,OB,3,3,"mat-error",14),i.qZA(),i.TgZ(15,"mat-form-field",15),i.NdJ("click",function(){return i.CHM(e),i.MAs(22).open()}),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",16),i._UZ(20,"mat-datepicker-toggle",17),i.TgZ(21,"mat-datepicker",18,19),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(22);return i.oxw().chosenYearHandler(s,a)}),i.qZA(),i.YNc(23,HB,3,3,"mat-error",14),i.qZA(),i.TgZ(24,"mat-form-field"),i.TgZ(25,"mat-select",20),i.ALo(26,"translate"),i.YNc(27,FB,2,2,"mat-option",21),i.qZA(),i.YNc(28,zB,3,3,"mat-error",14),i.qZA(),i.TgZ(29,"mat-form-field"),i._UZ(30,"input",22),i.ALo(31,"translate"),i.qZA(),i.TgZ(32,"mat-form-field"),i._UZ(33,"input",23),i.ALo(34,"translate"),i.qZA(),i.TgZ(35,"mat-form-field"),i.TgZ(36,"textarea",24),i.ALo(37,"translate"),i._uU(38," "),i.qZA(),i.YNc(39,NB,3,3,"mat-error",14),i.qZA(),i.qZA(),i.qZA(),i.TgZ(40,"div",25),i.TgZ(41,"button",26),i._uU(42),i.ALo(43,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(44,"mat-step",27),i.YNc(45,BB,2,3,"ng-template",8),i.TgZ(46,"form",28),i.TgZ(47,"h5",10),i._uU(48),i.ALo(49,"translate"),i.qZA(),i.YNc(50,YB,5,3,"div",29),i.YNc(51,jB,16,12,"app-alert",30),i.YNc(52,JB,6,1,"mat-tab-group",14),i.YNc(53,QB,6,3,"div",29),i.qZA(),i.YNc(54,tY,6,5,"div",31),i.qZA(),i.TgZ(55,"mat-step"),i.YNc(56,iY,2,3,"ng-template",8),i.TgZ(57,"h5",10),i._uU(58),i.ALo(59,"translate"),i.qZA(),i.YNc(60,nY,1,0,"mat-spinner",3),i.YNc(61,oY,5,4,"div",14),i.YNc(62,aY,5,4,"div",32),i.qZA(),i.TgZ(63,"mat-step"),i.YNc(64,cY,2,3,"ng-template",8),i.TgZ(65,"h5",10),i._uU(66),i.ALo(67,"translate"),i.qZA(),i.YNc(68,lY,1,2,"perun-web-apps-add-thanks",33),i.YNc(69,uY,1,0,"mat-spinner",3),i.TgZ(70,"div",25),i.TgZ(71,"button",34),i._uU(72),i.ALo(73,"translate"),i.qZA(),i.TgZ(74,"button",35),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.redirect(["all-publications",s.publication.id])}),i._uU(75),i.ALo(76,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(22),t=i.oxw();i.xp6(1),i.Q6J("editable",!t.duplicateCheck)("stepControl",t.publicationControl),i.xp6(2),i.Q6J("formGroup",t.publicationControl),i.xp6(2),i.hij(" ",i.lcZ(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),i.xp6(4),i.hij(" ",i.lcZ(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),i.xp6(2),i.Q6J("ngIf",t.publicationControl.hasError("required","title")),i.xp6(3),i.Oqu(i.lcZ(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e),i.xp6(1),i.Q6J("for",e),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","year")),i.xp6(2),i.s9C("placeholder",i.lcZ(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("ngIf",t.publicationControl.hasError("required","category")),i.xp6(2),i.s9C("placeholder",i.lcZ(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),i.xp6(3),i.s9C("placeholder",i.lcZ(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","cite")),i.xp6(2),i.Q6J("disabled",t.publicationControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),i.xp6(2),i.Q6J("editable",!t.duplicateCheck),i.xp6(4),i.hij(" ",i.lcZ(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),i.xp6(2),i.Q6J("ngIf",null!==t.publication),i.xp6(1),i.Q6J("ngIf",t.innerLoading),i.xp6(3),i.hij(" ",i.lcZ(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),i.xp6(3),i.hij(" ",i.lcZ(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const hY=bp,fY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let pY=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this.formBuilder=e,this.cabinetService=t,this.dialog=s,this.router=a,this.notificator=r,this.translate=c,this.storeService=d,this.userService=h,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new en(!0,[]),this.thanksSelection=new en(!0,[]),this.innerLoading=!1,this.loading=!1,this.duplicateCheck=!1,this.selectedPubId=null,this.selectedPubTitle=""}ngOnInit(){this.loading=!0,this.publicationControl=this.formBuilder.group({addAuthor:[!1],title:["",Oi.required],year:["",Oi.required],category:["",Oi.required],isbn:[""],doi:[""],cite:["",Oi.required]}),this.maxYear=hY(),this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}chosenYearHandler(e,t){this.publicationControl.get("year").setValue(e),t.close()}createTimeout(){setTimeout(()=>{this.notificator.showSuccess(this.translate.instant("CREATE_SINGLE_PUBLICATION.SUCCESS")),this.duplicateCheck=!0,this.innerLoading=!1},1e3)}createPublication(){this.innerLoading=!0,this.duplicateCheck=!0;const e={publication:{title:this.publicationControl.get("title").value,categoryId:this.publicationControl.get("category").value.id,year:this.publicationControl.get("year").value.year(),isbn:this.publicationControl.get("isbn").value,doi:this.publicationControl.get("doi").value,main:this.publicationControl.get("cite").value}};this.userService.getRichUserWithAttributes(this.storeService.getPerunPrincipal().userId).subscribe(t=>{const s=t.userAttributes.filter(a=>"preferredMail"===a.friendlyName);0!==s.length&&(e.publication.createdBy=s[0].value),this.cabinetService.createPublication(e).subscribe(a=>{this.publication=a,this.publicationControl.get("addAuthor").value?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publication.id,userId:t.id}}).subscribe(()=>{this.createTimeout()},()=>this.innerLoading=!1):this.createTimeout()},()=>this.innerLoading=!1)},()=>this.innerLoading=!1)}similarCheck(){this.innerLoading=!0;const e=this.publicationControl.get("title").value?this.publicationControl.get("title").value:null,t=this.publicationControl.get("doi").value?this.publicationControl.get("doi").value:null,s=this.publicationControl.get("isbn").value?this.publicationControl.get("isbn").value:null;this.cabinetService.findSimilarPublications(e,t,s).subscribe(a=>{this.similarPublications=a,this.filteredPublications=a,setTimeout(()=>{this.duplicateCheck=0===a.length,this.innerLoading=!1},2e3)})}stepChanged(e){1===e.selectedIndex&&this.similarCheck(),2===e.selectedIndex&&null===this.publication&&this.createPublication()}redirect(e){this.router.navigate(e)}loadPublicationDetail(e,t){this.selectedPubId=e.id,this.selectedPubTitle=e.title,t.selectedIndex=1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(VS),i.Y36(ai),i.Y36(Xi),i.Y36(Ri),i.Y36(Fn),i.Y36(Ii),i.Y36(Mn),i.Y36($t))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-single-publication-page"]],features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:fY}])],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],["class","ml-auto mr-auto",4,"ngIf"],["linear","True",3,"selectionChange",4,"ngIf"],[1,"ml-auto","mr-auto"],["linear","True",3,"selectionChange"],[3,"editable","stepControl"],["matStepLabel",""],[3,"formGroup"],[1,"mt-2"],[1,"dialog-container","w-50"],["labelPosition","before","formControlName","addAuthor",1,"mt-3"],["matInput","","formControlName","title","required","",3,"placeholder"],[4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","year","readonly","",1,"disable",3,"max","matDatepicker"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],["required","","formControlName","category",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","isbn",3,"placeholder"],["matInput","","formControlName","doi",3,"placeholder"],["matInput","","formControlName","cite","required","",3,"placeholder"],[1,"mt-1"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-auto",3,"disabled"],[3,"editable"],[1,"flex-container"],["class","flex-container",4,"ngIf"],["class","w-100","alert_type","warn",4,"ngIf"],["class","mt-3",4,"ngIf"],["class","mt-1",4,"ngIf"],[3,"publication","selection",4,"ngIf"],["mat-stroked-button","","type","button","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent",1,"ml-2",3,"click"],[3,"value"],[1,"ml-auto","mr-auto","mt-1","font-weight-bold"],["alert_type","warn",1,"w-100"],[1,"font-weight-bold"],[1,"mt-2","ml-3"],[1,"dot-icon"],[1,"ml-3"],["similarPublicationTabs",""],["matTabLabel",""],["matTabContent",""],[1,"flex-container","mb-2"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector",4,"ngIf"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector"],[1,"mt-4"],[3,"publicationId"],[1,"ml-auto","mr-auto","passed-icon"],[1,"ml-auto","mr-auto","font-weight-bold"],[1,"mt-3"],["class","ml-auto","mat-stroked-button","","type","button","matStepperPrevious","",4,"ngIf"],["mat-flat-button","","color","accent","type","button","matStepperNext","",1,"ml-2"],["class","ml-2","mat-stroked-button","","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","type","button",1,"ml-2",3,"click"],["alert_type","info"],[3,"publication","selection"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-2"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,LB,1,0,"mat-spinner",3),i.YNc(8,dY,77,65,"mat-horizontal-stepper",4),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[tn,b.O5,vn,CE,AE,VA,Ud,If,Pa,su,ds,iA,ls,nr,us,tr,Ic,Es,d_,$0,mm,Z0,qd,b.sg,Lc,Bt,cI,Hc,Fa,RB,AD,mB,gB,_p,y_,lI,fD,pD],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.passed-icon[_ngcontent-%COMP%]{font-size:130px;color:#288619;margin-bottom:130px;padding-right:120px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function gY(n,o){if(1&n&&(i.TgZ(0,"mat-option",14),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e.friendlyName)}}function mY(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.INFO")," "))}function _Y(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",16),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("displayedColumns",e.displayedColumns)("selection",e.selected)("tableId",e.tableId)("disabledRouting",!0)("allowAlert",e.firstSearchDone)}}function yY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div"),i.TgZ(2,"mat-form-field",5),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"mat-select",6),i.NdJ("closed",function(){return i.CHM(e),i.oxw().selectPubSystem()}),i.YNc(7,gY,2,2,"mat-option",7),i.qZA(),i.qZA(),i._UZ(8,"perun-web-apps-year-range",8),i.TgZ(9,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().searchPublications()}),i.TgZ(10,"mat-icon"),i._uU(11,"search"),i.qZA(),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.importPublications(s.selected.selected)}),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"mat-checkbox",11),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().userAsAuthor=s}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.YNc(20,mY,3,3,"app-alert",12),i.YNc(21,_Y,1,6,"perun-web-apps-publications-list",13),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,12,"IMPORT_PUBLICATIONS.EXT_PUB_SYSTEM")),i.xp6(2),i.Q6J("formControl",e.pubSystem),i.xp6(1),i.Q6J("ngForOf",e.publicationSystems),i.xp6(1),i.Q6J("startYear",e.startYear)("endYear",e.endYear),i.xp6(4),i.hij(" ",i.lcZ(13,14,"IMPORT_PUBLICATIONS.SEARCH")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(16,16,"IMPORT_PUBLICATIONS.IMPORT")," "),i.xp6(2),i.Q6J("ngModel",e.userAsAuthor),i.xp6(1),i.hij(" ",i.lcZ(19,18,"IMPORT_PUBLICATIONS.ADD_MYSELF")," "),i.xp6(2),i.Q6J("ngIf",!e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function bY(n,o){1&n&&i._UZ(0,"mat-spinner",17)}function wY(n,o){1&n&&(i.TgZ(0,"i"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED")," "))}function AY(n,o){1&n&&(i.TgZ(0,"mat-icon",28),i._uU(1,"check_circle"),i.qZA())}function vY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(),a=s.$implicit,r=s.index;return i.oxw(2).completePublication(a.id,r)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECKED_BUTTON")," "))}function CY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(2).incompletePublication(s.id)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED_BUTTON")," "))}function TY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",22),i.TgZ(1,"mat-expansion-panel-header",23),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).editPublication(a)}),i.TgZ(2,"mat-panel-title"),i._uU(3),i.YNc(4,wY,3,3,"i",3),i.YNc(5,AY,2,0,"mat-icon",24),i.qZA(),i.qZA(),i._UZ(6,"perun-web-apps-publication-detail",25),i.TgZ(7,"div",26),i.YNc(8,vY,3,3,"button",20),i.YNc(9,CY,3,3,"button",27),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("expanded",s.indexExpanded===t),i.xp6(3),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("publicationId",e.id),i.xp6(2),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id))}}function MY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).completeAllPublications()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECK_ALL")," "))}function SY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",31),i.ALo(1,"translate"),i.TgZ(2,"button",32),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).onSubmit()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,4,"IMPORT_PUBLICATIONS.SUBMIT_TOOLTIP")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.completePublications.length===e.importedPublications.length),i.xp6(3),i.hij(" ",i.lcZ(4,6,"IMPORT_PUBLICATIONS.FINISH")," ")}}function kY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",15),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-accordion"),i.YNc(5,TY,10,7,"mat-expansion-panel",18),i.qZA(),i.TgZ(6,"div",19),i.YNc(7,MY,3,3,"button",20),i.qZA(),i.YNc(8,SY,5,8,"div",21),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,4,"IMPORT_PUBLICATIONS.IMPORTED_INFO")," "),i.xp6(3),i.Q6J("ngForOf",e.importedPublications),i.xp6(2),i.Q6J("ngIf",e.completePublications.length!==e.importedPublications.length),i.xp6(1),i.Q6J("ngIf",e.completePublications.length===e.importedPublications.length)}}const kD=bp,EY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},DY=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:ZN},{path:"service-access",component:WN},{path:"all-publications",component:v2},{path:"my-publications",component:S2},{path:"create-publication",component:k2},{path:"create-publication/import",component:(()=>{class n{constructor(e,t,s,a,r,c){this.cabinetService=e,this.storeService=t,this.notificator=s,this.translate=a,this.router=r,this.dialog=c,this.loading=!1,this.publicationSystems=[],this.pubSystem=new ki,this.publications=[],this.selected=new en(!0,[]),this.tableId="74",this.displayedColumns=["select","id","lock","title","reportedBy","year","category"],this.userAsAuthor=!0,this.importedPublications=[],this.importDone=!1,this.completePublications=[]}ngOnInit(){this.loading=!0,this.firstSearchDone=!1,this.userId=this.storeService.getPerunPrincipal().user.id,this.startYear=new ki(kD().subtract(1,"year")),this.endYear=new ki(kD()),this.cabinetService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e.filter(t=>"INTERNAL"!==t.friendlyName),this.pubSystem.setValue(this.publicationSystems[0]),this.pubSystemNamespace=this.pubSystem.value.loginNamespace,this.loading=!1})}selectPubSystem(){this.pubSystemNamespace=this.pubSystem.value.loginNamespace}searchPublications(){this.loading=!0,this.firstSearchDone=!0,this.cabinetService.findExternalPublications(this.storeService.getPerunPrincipal().user.id,this.startYear.value.year(),this.endYear.value.year(),this.pubSystemNamespace).subscribe(e=>{this.publications=e,this.loading=!1},()=>this.loading=!1)}importPublications(e){if(this.loading=!0,0===e.length)return this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SUCCESS")),this.importDone=!0,this.indexExpanded=0,void(this.loading=!1);const t=e.shift();this.cabinetService.createPublication({publication:{title:t.title,categoryId:t.categoryId,year:t.year,isbn:t.isbn,doi:t.doi,main:t.main}}).subscribe(a=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:a.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(a),this.importPublications(e)},()=>this.loading=!1):(this.importedPublications.push(a),this.importPublications(e))},()=>this.loading=!1)}editPublication(e){this.indexExpanded=e===this.indexExpanded?-1:e}completePublication(e,t){this.completePublications.includes(e)||this.completePublications.push(e),this.indexExpanded=t!==this.importedPublications.length-1?t+1:-1}incompletePublication(e){this.completePublications.includes(e)&&(this.completePublications=this.completePublications.filter(t=>t!==e)),this.indexExpanded=-1}completeAllPublications(){const e=ts();e.width="500px",e.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(lR,e).afterClosed().subscribe(s=>{s&&this.onSubmit()})}onSubmit(){this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SHOW_FINISH")),this.router.navigate(["/my-publications"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Mn),i.Y36(Fn),i.Y36(Ii),i.Y36(Ri),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-import-publications-page"]],features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:EY}])],decls:10,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"input-width-300","mr-2"],[3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"left-space",3,"click"],["mat-flat-button","","color","accent",1,"left-space",3,"disabled","click"],[1,"mt-3","left-space",3,"ngModel","ngModelChange"],["alert_type","info",4,"ngIf"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert",4,"ngIf"],[1,"group-theme",3,"value"],["alert_type","info"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert"],[1,"ml-auto","mr-auto"],[3,"expanded",4,"ngFor","ngForOf"],[1,"right-button"],["mat-flat-button","","class","width-100","color","accent",3,"click",4,"ngIf"],["class","right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"ngIf"],[3,"expanded"],[3,"click"],["color","accent","class","checked-icon",4,"ngIf"],[3,"publicationId"],[1,"fit-content"],["mat-stroked-button","","class","width-100",3,"click",4,"ngIf"],["color","accent",1,"checked-icon"],["mat-flat-button","","color","accent",1,"width-100",3,"click"],["mat-stroked-button","",1,"width-100",3,"click"],[1,"right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,yY,22,20,"div",3),i.YNc(8,bY,1,0,"mat-spinner",4),i.YNc(9,kY,9,6,"div",3),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,4,"IMPORT_PUBLICATIONS.TITLE")," "),i.xp6(2),i.Q6J("ngIf",!t.importDone),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.importDone))},directives:[tn,b.O5,ls,Es,qd,ds,Ws,b.sg,Lc,uD,Bt,su,jd,Fa,_p,vn,SL,uE,dE,ML,y_,jc],pipes:[gt],styles:[".input-width-300[_ngcontent-%COMP%]{width:300px}.left-space[_ngcontent-%COMP%]{margin-left:10px}mat-panel-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:5px}.checked-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}.right-button[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:20px;margin-left:auto;margin-right:0}.fit-content[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:15px}.width-100[_ngcontent-%COMP%]{width:100%}"]}),n})()},{path:"create-publication/create",component:pY},{path:"authors",component:X2},{path:"authors/:authorId",component:iz},{path:"authors/:authorId/publication/:publicationId",component:y_},{path:"all-publications/:publicationId",component:y_},{path:"my-publications/:publicationId",component:y_},{path:"categories",component:OF},{path:"publication-systems",component:QF}];let xY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Rh.forRoot(DY,{preloadingStrategy:me,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],Rh]}),n})();const RY={provide:D.TP,useExisting:(0,i.Gpc)(()=>Tk),multi:!0};function PY(n){return new qP(n,"./assets/i18n/",".json")}function LY(n){const o={basePath:n.get("api_url")};return new qe(o)}const IY=n=>()=>n.loadConfigs();let OY=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ck),i.LFG(Ii))},n.\u0275mod=i.oAB({type:n,bootstrap:[VP]}),n.\u0275inj=i.cJS({providers:[Ck,{provide:i.ip1,useFactory:IY,multi:!0,deps:[ZP]},{provide:qe,useFactory:LY,deps:[Mn]},Tk,RY,{provide:$P,useClass:U1},_2],imports:[[Lo,Sd.forRoot({loader:{provide:Md,useFactory:PY,deps:[D.eN]}}),Lb,PH,WP,eh,D.JF,xY,Q0,Sk,KN,PB,bk,nm.zr.forRoot()]]}),n})();(0,i.G48)(),Po().bootstrapModule(OY).catch(n=>console.error(n))},1302:function(Y,U,w){var b;!function(i,T){var v={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function v(X,re,ee,ae,de){for(var Ie,Oe,Ve,Pt,xt,We,an,yt,ft,ue,fe,_e,ge;de>=64;){for(Ie=re[0],Oe=re[1],Ve=re[2],Pt=re[3],xt=re[4],We=re[5],an=re[6],yt=re[7],ue=0;ue<16;ue++)X[ue]=(255&ee[fe=ae+4*ue])<<24|(255&ee[fe+1])<<16|(255&ee[fe+2])<<8|255&ee[fe+3];for(ue=16;ue<64;ue++)X[ue]=((_e=((ft=X[ue-2])>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10)+X[ue-7]|0)+((ge=((ft=X[ue-15])>>>7|ft<<25)^(ft>>>18|ft<<14)^ft>>>3)+X[ue-16]|0);for(ue=0;ue<64;ue++)_e=(((xt>>>6|xt<<26)^(xt>>>11|xt<<21)^(xt>>>25|xt<<7))+(xt&We^~xt&an)|0)+(yt+(T[ue]+X[ue]|0)|0)|0,ge=((Ie>>>2|Ie<<30)^(Ie>>>13|Ie<<19)^(Ie>>>22|Ie<<10))+(Ie&Oe^Ie&Ve^Oe&Ve)|0,yt=an,an=We,We=xt,xt=Pt+_e|0,Pt=Ve,Ve=Oe,Oe=Ie,Ie=_e+ge|0;re[0]+=Ie,re[1]+=Oe,re[2]+=Ve,re[3]+=Pt,re[4]+=xt,re[5]+=We,re[6]+=an,re[7]+=yt,ae+=64,de-=64}return ae}var C=function(){function X(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return X.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},X.prototype.clean=function(){for(var re=0;re0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;64===this.bufferLength&&(v(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ae=v(this.temp,this.state,re,ae,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;return this},X.prototype.finish=function(re){if(!this.finished){var ee=this.bytesHashed,ae=this.bufferLength,de=ee/536870912|0,Ie=ee<<3,Oe=ee%64<56?64:128;this.buffer[ae]=128;for(var Ve=ae+1;Ve>>24&255,this.buffer[Oe-7]=de>>>16&255,this.buffer[Oe-6]=de>>>8&255,this.buffer[Oe-5]=de>>>0&255,this.buffer[Oe-4]=Ie>>>24&255,this.buffer[Oe-3]=Ie>>>16&255,this.buffer[Oe-2]=Ie>>>8&255,this.buffer[Oe-1]=Ie>>>0&255,v(this.temp,this.state,this.buffer,0,Oe),this.finished=!0}for(Ve=0;Ve<8;Ve++)re[4*Ve+0]=this.state[Ve]>>>24&255,re[4*Ve+1]=this.state[Ve]>>>16&255,re[4*Ve+2]=this.state[Ve]>>>8&255,re[4*Ve+3]=this.state[Ve]>>>0&255;return this},X.prototype.digest=function(){var re=new Uint8Array(this.digestLength);return this.finish(re),re},X.prototype._saveState=function(re){for(var ee=0;eethis.blockSize)(new C).update(re).finish(ee).clean();else for(var ae=0;ae1&&re.update(X),ee&&re.update(ee),re.update(ae),re.finish(X),ae[0]++}i.HMAC=E,i.hash=R,i.default=R,i.hmac=H;var N=new Uint8Array(i.digestLength);i.hkdf=function V(X,re,ee,ae){void 0===re&&(re=N),void 0===ae&&(ae=32);for(var de=new Uint8Array([1]),Ie=H(re,X),Oe=new E(Ie),Ve=new Uint8Array(Oe.digestLength),Pt=Ve.length,xt=new Uint8Array(ae),We=0;We>>24&255,Oe[1]=an>>>16&255,Oe[2]=an>>>8&255,Oe[3]=an>>>0&255,de.reset(),de.update(re),de.update(Oe),de.finish(Pt);for(var yt=0;yt=V.status}function E(N){try{N.dispatchEvent(new MouseEvent("click"))}catch(J){var V=document.createEvent("MouseEvents");V.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),N.dispatchEvent(V)}}var R="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,H=R.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=R.saveAs||("object"!=typeof window||window!==R?function(){}:"download"in HTMLAnchorElement.prototype&&!H?function(N,V,J){var X=R.URL||R.webkitURL,re=document.createElement("a");re.download=V=V||N.name||"download",re.rel="noopener","string"==typeof N?(re.href=N,re.origin===location.origin?E(re):C(re.href)?v(N,V,J):E(re,re.target="_blank")):(re.href=X.createObjectURL(N),setTimeout(function(){X.revokeObjectURL(re.href)},4e4),setTimeout(function(){E(re)},0))}:"msSaveOrOpenBlob"in navigator?function(N,V,J){if(V=V||N.name||"download","string"!=typeof N)navigator.msSaveOrOpenBlob(function T(N,V){return void 0===V?V={autoBom:!1}:"object"!=typeof V&&(console.warn("Deprecated: Expected third argument to be a object"),V={autoBom:!V}),V.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(N.type)?new Blob(["\ufeff",N],{type:N.type}):N}(N,J),V);else if(C(N))v(N,V,J);else{var X=document.createElement("a");X.href=N,X.target="_blank",setTimeout(function(){E(X)})}}:function(N,V,J,X){if((X=X||open("","_blank"))&&(X.document.title=X.document.body.innerText="downloading..."),"string"==typeof N)return v(N,V,J);var re="application/octet-stream"===N.type,ee=/constructor/i.test(R.HTMLElement)||R.safari,ae=/CriOS\/[\d]+/.test(navigator.userAgent);if((ae||re&&ee||H)&&"undefined"!=typeof FileReader){var de=new FileReader;de.onloadend=function(){var Ve=de.result;Ve=ae?Ve:Ve.replace(/^data:[^;]*;/,"data:attachment/file;"),X?X.location.href=Ve:location=Ve,X=null},de.readAsDataURL(N)}else{var Ie=R.URL||R.webkitURL,Oe=Ie.createObjectURL(N);X?X.location=Oe:location.href=Oe,X=null,setTimeout(function(){Ie.revokeObjectURL(Oe)},4e4)}});R.saveAs=B.saveAs=B,Y.exports=B}.apply(U,[]))&&(Y.exports=i)},7088:function(Y,U,w){!function(b){"use strict";b.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(T){return/^nm$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"vm":"VM":C?"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(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(Y,U,w){!function(b){"use strict";var i=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},T={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"]},v=function(R){return function(H,B,N,V){var J=i(H),X=T[R][i(H)];return 2===J&&(X=X[B?0:1]),X.replace(/%d/i,H)}},C=["\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"];b.defineLocale("ar-dz",{months:C,monthsShort:C,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(R){return"\u0645"===R},meridiem:function(R,H,B){return R<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:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},4519:function(Y,U,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(H){return 0===H?0:1===H?1:2===H?2:H%100>=3&&H%100<=10?3:H%100>=11?4:5},v={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"]},C=function(H){return function(B,N,V,J){var X=T(B),re=v[H][T(B)];return 2===X&&(re=re[N?0:1]),re.replace(/%d/i,B)}},E=["\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"];b.defineLocale("ar-ly",{months:E,monthsShort:E,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(H){return"\u0645"===H},meridiem:function(H,B,N){return H<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:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(H){return H.replace(/\u060c/g,",")},postformat:function(H){return H.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},7642:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.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(C){return"\u0645"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\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("_"),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}})}(w(5439))},7038:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},C={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"]},E=function(B){return function(N,V,J,X){var re=v(N),ee=C[B][v(N)];return 2===re&&(ee=ee[V?0:1]),ee.replace(/%d/i,N)}},R=["\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"];b.defineLocale("ar",{months:R,monthsShort:R,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(B){return"\u0645"===B},meridiem:function(B,N,V){return B<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:E("s"),ss:E("s"),m:E("m"),mm:E("m"),h:E("h"),hh:E("h"),d:E("d"),dd:E("d"),M:E("M"),MM:E("M"),y:E("y"),yy:E("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return T[N]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(N){return i[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(Y,U,w){!function(b){"use strict";var i={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"};b.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\u0259nb\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(v){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(v)},meridiem:function(v,C,E){return v<4?"gec\u0259":v<12?"s\u0259h\u0259r":v<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(v){if(0===v)return v+"-\u0131nc\u0131";var C=v%10;return v+(i[C]||i[v%100-C]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(Y,U,w){!function(b){"use strict";function T(C,E,R){return"m"===R?E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function i(C,E){var R=C.split("_");return E%10==1&&E%100!=11?R[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?R[1]:R[2]}({ss:E?"\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:E?"\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:E?"\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"}[R],+C)}b.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".split("_"),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:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,E,R){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(w(5439))},322:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},5903:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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_\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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E?C<4?C:C+12:"\u09ad\u09cb\u09b0"===E||"\u09b8\u0995\u09be\u09b2"===E?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===E?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===E||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===E&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(Y,U,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.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_\u0f63\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(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===E&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===E&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(Y,U,w){!function(b){"use strict";function i(ee,ae,de){return ee+" "+function C(ee,ae){return 2===ae?function E(ee){var ae={m:"v",b:"v",d:"z"};return void 0===ae[ee.charAt(0)]?ee:ae[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[de],ee)}function v(ee){return ee>9?v(ee%10):ee}var R=[/^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],H=/^(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,X=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];b.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:X,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:X,monthsRegex:H,monthsShortRegex:H,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:R,longMonthsParse:R,shortMonthsParse:R,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:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(v(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ae,de){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(Y,U,w){!function(b){"use strict";b.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:"%d 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(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7322:function(Y,U,w){!function(b){"use strict";var i="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),v=[/^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],C=/^(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 E(B){return B>1&&B<5&&1!=~~(B/10)}function R(B,N,V,J){var X=B+" ";switch(V){case"s":return N||J?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return N||J?X+(E(B)?"sekundy":"sekund"):X+"sekundami";case"m":return N?"minuta":J?"minutu":"minutou";case"mm":return N||J?X+(E(B)?"minuty":"minut"):X+"minutami";case"h":return N?"hodina":J?"hodinu":"hodinou";case"hh":return N||J?X+(E(B)?"hodiny":"hodin"):X+"hodinami";case"d":return N||J?"den":"dnem";case"dd":return N||J?X+(E(B)?"dny":"dn\xed"):X+"dny";case"M":return N||J?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return N||J?X+(E(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):X+"m\u011bs\xedci";case"y":return N||J?"rok":"rokem";case"yy":return N||J?X+(E(B)?"roky":"let"):X+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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:R,ss:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(Y,U,w){!function(b){"use strict";b.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(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\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}})}(w(5439))},2092:function(Y,U,w){!function(b){"use strict";b.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(T){var C="";return T>20?C=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+C},week:{dow:1,doy:4}})}(w(5439))},7387:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},9459:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(Y,U,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,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(C){return"\u0789\u078a"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(Y,U,w){!function(b){"use strict";b.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(v,C){return v?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[v.month()]:this._monthsNominativeEl[v.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(v,C,E){return v>11?E?"\u03bc\u03bc":"\u039c\u039c":E?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(v){return"\u03bc"===(v+"").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(v,C){var E=this._calendarEl[v],R=C&&C.hours();return function i(v){return"undefined"!=typeof Function&&v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}(E)&&(E=E.apply(C)),E.replace("{}",R%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}})}(w(5439))},4369:function(Y,U,w){!function(b){"use strict";b.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",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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9998:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9615:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(Y,U,w){!function(b){"use strict";b.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(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,v,C){return T>11?C?"p.t.m.":"P.T.M.":C?"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}})}(w(5439))},8944:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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}})}(w(5439))},9116:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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"})}(w(5439))},3609:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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}})}(w(5439))},6866:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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"})}(w(5439))},6725:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[v+"sekundi",v+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[v+" minuti",v+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[v+" tunni",v+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[v+" kuu",v+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[v+" aasta",v+" aastat"]};return C?H[E][2]?H[E][2]:H[E][1]:R?H[E][0]:H[E][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},6417:function(Y,U,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.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(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,E,R){return C<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"},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(C){return C.replace(/[\u06f0-\u06f9]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(Y,U,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function v(R,H,B,N){var V="";switch(B){case"s":return N?"muutaman sekunnin":"muutama sekunti";case"ss":V=N?"sekunnin":"sekuntia";break;case"m":return N?"minuutin":"minuutti";case"mm":V=N?"minuutin":"minuuttia";break;case"h":return N?"tunnin":"tunti";case"hh":V=N?"tunnin":"tuntia";break;case"d":return N?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":V=N?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return N?"kuukauden":"kuukausi";case"MM":V=N?"kuukauden":"kuukautta";break;case"y":return N?"vuoden":"vuosi";case"yy":V=N?"vuoden":"vuotta"}return function C(R,H){return R<10?H?T[R]:i[R]:R}(R,N)+" "+V}b.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(Y,U,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},6848:function(Y,U,w){!function(b){"use strict";b.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(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(Y,U,w){!function(b){"use strict";b.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(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(Y,U,w){!function(b){"use strict";var v=/(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,C=[/^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];b.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:v,monthsShortRegex:v,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:C,longMonthsParse:C,shortMonthsParse:C,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(R,H){switch(H){case"D":return R+(1===R?"er":"");default:case"M":case"Q":case"DDD":case"d":return R+(1===R?"er":"e");case"w":case"W":return R+(1===R?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,E){return C?/-MMM-/.test(E)?T[C.month()]:i[C.month()]:i},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(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(Y,U,w){!function(b){"use strict";b.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(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(Y,U,w){!function(b){"use strict";b.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(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(Y,U,w){!function(b){"use strict";b.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".split("_"),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(T){return 0===T.indexOf("un")?"n"+T:"en "+T},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}})}(w(5439))},2457:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={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:[v+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",v+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[v+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",v+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[v+" \u0935\u0930\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[v+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",v+" \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:[v+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",v+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[v+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?H[E][0]:H[E][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(v,C){return"D"===C?v+"\u0935\u0947\u0930":v},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(v,C){return 12===v&&(v=0),"\u0930\u093e\u0924\u0940"===C?v<4?v:v+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?v:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?v>12?v:v+12:"\u0938\u093e\u0902\u091c\u0947"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0930\u093e\u0924\u0940":v<12?"\u0938\u0915\u093e\u0933\u0940\u0902":v<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":v<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["thoddea sekondamni","thodde sekond"],ss:[v+" sekondamni",v+" sekond"],m:["eka mintan","ek minut"],mm:[v+" mintamni",v+" mintam"],h:["eka voran","ek vor"],hh:[v+" voramni",v+" voram"],d:["eka disan","ek dis"],dd:[v+" disamni",v+" dis"],M:["eka mhoinean","ek mhoino"],MM:[v+" mhoineamni",v+" mhoine"],y:["eka vorsan","ek voros"],yy:[v+" vorsamni",v+" vorsam"]};return R?H[E][0]:H[E][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(v,C){return"D"===C?v+"er":v},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(v,C){return 12===v&&(v=0),"rati"===C?v<4?v:v+12:"sokallim"===C?v:"donparam"===C?v>12?v:v+12:"sanje"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"rati":v<12?"sokallim":v<16?"donparam":v<20?"sanje":"rati"}})}(w(5439))},2641:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.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:"%d \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(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===E?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===E?C:"\u0aac\u0aaa\u0acb\u0ab0"===E?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(Y,U,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\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(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \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(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,v,C){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},v=[/^\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];b.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\u0932_\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:v,longMonthsParse:v,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(R){return R.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(H){return T[H]})},postformat:function(R){return R.replace(/\d/g,function(H){return i[H]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,H){return 12===R&&(R=0),"\u0930\u093e\u0924"===H?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===H?R:"\u0926\u094b\u092a\u0939\u0930"===H?R>=10?R:R+12:"\u0936\u093e\u092e"===H?R+12:void 0},meridiem:function(R,H,B){return R<4?"\u0930\u093e\u0924":R<10?"\u0938\u0941\u092c\u0939":R<17?"\u0926\u094b\u092a\u0939\u0930":R<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(Y,U,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(E,R,H,B){var N=E;switch(H){case"s":return B||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return N+(B||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||R?" perc":" perce");case"mm":return N+(B||R?" perc":" perce");case"h":return"egy"+(B||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return N+(B||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||R?" nap":" napja");case"dd":return N+(B||R?" nap":" napja");case"M":return"egy"+(B||R?" h\xf3nap":" h\xf3napja");case"MM":return N+(B||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||R?" \xe9v":" \xe9ve");case"yy":return N+(B||R?" \xe9v":" \xe9ve")}return""}function v(E){return(E?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.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(E){return"u"===E.charAt(1).toLowerCase()},meridiem:function(E,R,H){return E<12?!0===H?"de":"DE":!0===H?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(Y,U,w){!function(b){"use strict";b.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(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<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(T,v){switch(v){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"pagi"===v?T:"siang"===v?T>=11?T:T+12:"sore"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"siang":T<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}})}(w(5439))},4205:function(Y,U,w){!function(b){"use strict";function i(C){return C%100==11||C%10!=1}function T(C,E,R,H){var B=C+" ";switch(R){case"s":return E||H?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(C)?B+(E||H?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return E?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(C)?B+(E||H?"m\xedn\xfatur":"m\xedn\xfatum"):E?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(C)?B+(E||H?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return E?"dagur":H?"dag":"degi";case"dd":return i(C)?E?B+"dagar":B+(H?"daga":"d\xf6gum"):E?B+"dagur":B+(H?"dag":"degi");case"M":return E?"m\xe1nu\xf0ur":H?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(C)?E?B+"m\xe1nu\xf0ir":B+(H?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):E?B+"m\xe1nu\xf0ur":B+(H?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return E||H?"\xe1r":"\xe1ri";case"yy":return i(C)?B+(E||H?"\xe1r":"\xe1rum"):B+(E||H?"\xe1r":"\xe1ri")}}b.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:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(Y,U,w){!function(b){"use strict";b.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(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},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}})}(w(5439))},4211:function(Y,U,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},1003:function(Y,U,w){!function(b){"use strict";b.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(T,v){return"\u5143"===v[1]?1:parseInt(v[1]||T,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(T){return"\u5348\u5f8c"===T},meridiem:function(T,v,C){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,v){switch(v){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},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"}})}(w(5439))},420:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"enjing"===v?T:"siyang"===v?T>=11?T:T+12:"sonten"===v||"ndalu"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"enjing":T<15?"siyang":T<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}})}(w(5439))},851:function(Y,U,w){!function(b){"use strict";b.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:"\u10d9\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(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(v,C,E){return"\u10d8"===E?C+"\u10e8\u10d8":C+E+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},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(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(Y,U,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.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:"\u17a2\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(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.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:"%d \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(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===E?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===E?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===E?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(Y,U,w){!function(b){"use strict";b.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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,v,C){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=["\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"];b.defineLocale("ku",{months:v,monthsShort:v,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(E){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(E)},meridiem:function(E,R,H){return E<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(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(R){return T[R]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(Y,U,w){!function(b){"use strict";function i(R,H,B,N){var V={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 H?V[B][0]:V[B][1]}function C(R){if(R=parseInt(R,10),isNaN(R))return!1;if(R<0)return!0;if(R<10)return 4<=R&&R<=7;if(R<100){var H=R%10;return C(0===H?R/10:H)}if(R<1e4){for(;R>=10;)R/=10;return C(R)}return C(R/=1e3)}b.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 T(R){return C(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R},past:function v(R){return C(R.substr(0,R.indexOf(" ")))?"viru "+R:"virun "+R},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(Y,U,w){!function(b){"use strict";b.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(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,v,C){return T<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(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(Y,U,w){!function(b){"use strict";var i={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_dien\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 v(B,N,V,J){return N?E(V)[0]:J?E(V)[1]:E(V)[2]}function C(B){return B%10==0||B>10&&B<20}function E(B){return i[B].split("_")}function R(B,N,V,J){var X=B+" ";return 1===B?X+v(0,N,V[0],J):N?X+(C(B)?E(V)[1]:E(V)[0]):J?X+E(V)[1]:X+(C(B)?E(V)[1]:E(V)[2])}b.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 T(B,N,V,J){return N?"kelios sekund\u0117s":J?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:R,m:v,mm:R,h:v,hh:R,d:v,dd:R,M:v,MM:R,y:v,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(Y,U,w){!function(b){"use strict";var i={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 T(H,B,N){return N?B%10==1&&B%100!=11?H[2]:H[3]:B%10==1&&B%100!=11?H[0]:H[1]}function v(H,B,N){return H+" "+T(i[N],H,B)}function C(H,B,N){return T(i[N],H,B)}b.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 E(H,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:v,m:C,mm:v,h:C,hh:v,d:C,dd:v,M:C,MM:v,y:C,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(Y,U,w){!function(b){"use strict";var i={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(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(Y,U,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5943:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(Y,U,w){!function(b){"use strict";b.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:"%d \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(T,v){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===v&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===v||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===v?T+12:T},meridiem:function(T,v,C){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){switch(E){case"s":return C?"\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 v+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return v+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return v+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return v+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return v+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return v+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return v}}b.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(v){return"\u04ae\u0425"===v},meridiem:function(v,C,E){return v<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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(v,C){switch(C){case"d":case"D":case"DDD":return v+" \u04e9\u0434\u04e9\u0440";default:return v}}})}(w(5439))},6184:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function v(E,R,H,B){var N="";if(R)switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":N="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":N="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":N="%d \u0924\u093e\u0938";break;case"d":N="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":N="%d \u0926\u093f\u0935\u0938";break;case"M":N="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":N="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u0947"}else switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":N="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":N="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":N="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":N="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":N="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":N="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":N="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return N.replace(/%d/i,E)}b.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},preparse:function(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return T[R]})},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]})},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(E,R){return 12===E&&(E=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?E:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?E>=12?E:E+12:void 0},meridiem:function(E,R,H){return E>=0&&E<6?"\u092a\u0939\u093e\u091f\u0947":E<12?"\u0938\u0915\u093e\u0933\u0940":E<17?"\u0926\u0941\u092a\u093e\u0930\u0940":E<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},485:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},6681:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2024:function(Y,U,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.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(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},8914:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.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(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===E?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===E?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===E?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===E?C+12:void 0},meridiem:function(C,E,R){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<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}})}(w(5439))},2272:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],C=/^(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;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],C=/^(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;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2797:function(Y,U,w){!function(b){"use strict";b.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:"%d 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(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7944:function(Y,U,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.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(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===E?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===E?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===E?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(Y,U,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),v=[/^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 C(H){return H%10<5&&H%10>1&&~~(H/10)%10!=1}function E(H,B,N){var V=H+" ";switch(N){case"ss":return V+(C(H)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return V+(C(H)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return V+(C(H)?"godziny":"godzin");case"ww":return V+(C(H)?"tygodnie":"tygodni");case"MM":return V+(C(H)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return V+(C(H)?"lata":"lat")}}b.defineLocale("pl",{months:function(H,B){return H?/D MMMM/.test(B)?T[H.month()]:i[H.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:v,longMonthsParse:v,shortMonthsParse:v,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:E,m:E,mm:E,h:E,hh:E,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:E,M:"miesi\u0105c",MM:E,y:"rok",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(Y,U,w){!function(b){"use strict";b.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"})}(w(5439))},4225:function(Y,U,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5128:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var H=" ";return(v%100>=20||v>=100&&v%100==0)&&(H=" de "),v+H+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[E]}b.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:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(Y,U,w){!function(b){"use strict";function T(E,R,H){return"m"===H?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":E+" "+function i(E,R){var H=E.split("_");return R%10==1&&R%100!=11?H[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?H[1]:H[2]}({ss:R?"\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:R?"\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"}[H],+E)}var v=[/^\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];b.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:v,longMonthsParse:v,shortMonthsParse:v,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?\.|\u043c\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(E){if(E.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(E){if(E.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:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(E)},meridiem:function(E,R,H){return E<4?"\u043d\u043e\u0447\u0438":E<12?"\u0443\u0442\u0440\u0430":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(E,R){switch(R){case"M":case"d":case"DDD":return E+"-\u0439";case"D":return E+"-\u0433\u043e";case"w":case"W":return E+"-\u044f";default:return E}},week:{dow:1,doy:4}})}(w(5439))},2525:function(Y,U,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},3123:function(Y,U,w){!function(b){"use strict";b.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(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,v,C){return T>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(Y,U,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function v(R){return R>1&&R<5}function C(R,H,B,N){var V=R+" ";switch(B){case"s":return H||N?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return H||N?V+(v(R)?"sekundy":"sek\xfand"):V+"sekundami";case"m":return H?"min\xfata":N?"min\xfatu":"min\xfatou";case"mm":return H||N?V+(v(R)?"min\xfaty":"min\xfat"):V+"min\xfatami";case"h":return H?"hodina":N?"hodinu":"hodinou";case"hh":return H||N?V+(v(R)?"hodiny":"hod\xedn"):V+"hodinami";case"d":return H||N?"de\u0148":"d\u0148om";case"dd":return H||N?V+(v(R)?"dni":"dn\xed"):V+"d\u0148ami";case"M":return H||N?"mesiac":"mesiacom";case"MM":return H||N?V+(v(R)?"mesiace":"mesiacov"):V+"mesiacmi";case"y":return H||N?"rok":"rokom";case"yy":return H||N?V+(v(R)?"roky":"rokov"):V+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,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:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H=v+" ";switch(E){case"s":return C||R?"nekaj sekund":"nekaj sekundami";case"ss":return H+(1===v?C?"sekundo":"sekundi":2===v?C||R?"sekundi":"sekundah":v<5?C||R?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return H+(1===v?C?"minuta":"minuto":2===v?C||R?"minuti":"minutama":v<5?C||R?"minute":"minutami":C||R?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return H+(1===v?C?"ura":"uro":2===v?C||R?"uri":"urama":v<5?C||R?"ure":"urami":C||R?"ur":"urami");case"d":return C||R?"en dan":"enim dnem";case"dd":return H+(1===v?C||R?"dan":"dnem":2===v?C||R?"dni":"dnevoma":C||R?"dni":"dnevi");case"M":return C||R?"en mesec":"enim mesecem";case"MM":return H+(1===v?C||R?"mesec":"mesecem":2===v?C||R?"meseca":"mesecema":v<5?C||R?"mesece":"meseci":C||R?"mesecev":"meseci");case"y":return C||R?"eno leto":"enim letom";case"yy":return H+(1===v?C||R?"leto":"letom":2===v?C||R?"leti":"letoma":v<5?C||R?"leta":"leti":C||R?"let":"leti")}}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(Y,U,w){!function(b){"use strict";b.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(T){return"M"===T.charAt(0)},meridiem:function(T,v,C){return T<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}})}(w(5439))},2872:function(Y,U,w){!function(b){"use strict";var i={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(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.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\u0432._\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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"\u0434\u0430\u043d",dd:i.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:i.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(Y,U,w){!function(b){"use strict";var i={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(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(Y,U,w){!function(b){"use strict";b.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",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:"[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(T,v,C){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,v){return 12===T&&(T=0),"ekuseni"===v?T:"emini"===v?T>=11?T:T+12:"entsambama"===v||"ebusuku"===v?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?":e":1===v||2===v?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2732:function(Y,U,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.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(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E,R){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,E){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===E?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===E||"\u0b95\u0bbe\u0bb2\u0bc8"===E||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===E&&C>=10?C:C+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===v?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===v?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===v?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===v?T+12:void 0},meridiem:function(T,v,C){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v,C){return 12===v&&(v=0),"\u0448\u0430\u0431"===C?v<4?v:v+12:"\u0441\u0443\u0431\u04b3"===C?v:"\u0440\u04ef\u0437"===C?v>=11?v:v+12:"\u0431\u0435\u0433\u043e\u04b3"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0448\u0430\u0431":v<11?"\u0441\u0443\u0431\u04b3":v<16?"\u0440\u04ef\u0437":v<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(Y,U,w){!function(b){"use strict";b.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(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,v,C){return T<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"}})}(w(5439))},1310:function(Y,U,w){!function(b){"use strict";var i={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"};b.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] LT",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(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'unjy";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(Y,U,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(Y,U,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(H,B,N,V){var J=function E(H){var B=Math.floor(H%1e3/100),N=Math.floor(H%100/10),V=H%10,J="";return B>0&&(J+=i[B]+"vatlh"),N>0&&(J+=(""!==J?" ":"")+i[N]+"maH"),V>0&&(J+=(""!==J?" ":"")+i[V]),""===J?"pagh":J}(H);switch(N){case"ss":return J+" lup";case"mm":return J+" tup";case"hh":return J+" rep";case"dd":return J+" jaj";case"MM":return J+" jar";case"yy":return J+" DIS"}}b.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 T(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==H.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==H.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function v(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==H.indexOf("jar")?B.slice(0,-3)+"wen":-1!==H.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v,C,E){return v<12?E?"\xf6\xf6":"\xd6\xd6":E?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(v){return"\xf6s"===v||"\xd6S"===v},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(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'\u0131nc\u0131";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(Y,U,w){!function(b){"use strict";function T(v,C,E,R){var H={s:["viensas secunds","'iensas secunds"],ss:[v+" secunds",v+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[v+" m\xeduts",v+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[v+" \xfeoras",v+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[v+" ziuas",v+" ziuas"],M:["'n mes","'iens mes"],MM:[v+" mesen",v+" mesen"],y:["'n ar","'iens ar"],yy:[v+" ars",v+" ars"]};return R||C?H[E][0]:H[E][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_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(v){return"d'o"===v.toLowerCase()},meridiem:function(v,C,E){return v>11?E?"d'o":"D'O":E?"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:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(Y,U,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\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}})}(w(5439))},1595:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},6050:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===v||"\u0633\u06d5\u06be\u06d5\u0631"===v||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===v?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===v||"\u0643\u06d5\u0686"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":E<900?"\u0633\u06d5\u06be\u06d5\u0631":E<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":E<1230?"\u0686\u06c8\u0634":E<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:"%d \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(T,v){switch(v){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(Y,U,w){!function(b){"use strict";function T(R,H,B){return"m"===B?H?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?H?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+function i(R,H){var B=R.split("_");return H%10==1&&H%100!=11?B[0]:H%10>=2&&H%10<=4&&(H%100<10||H%100>=20)?B[1]:B[2]}({ss:H?"\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:H?"\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:H?"\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"}[B],+R)}function C(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.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 v(R,H){var B={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===R?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):R?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(H)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(H)?"genitive":"nominative"][R.day()]:B.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:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\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:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(R){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(R)},meridiem:function(R,H,B){return R<4?"\u043d\u043e\u0447\u0456":R<12?"\u0440\u0430\u043d\u043a\u0443":R<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(R,H){switch(H){case"M":case"d":case"DDD":case"w":case"W":return R+"-\u0439";case"D":return R+"-\u0433\u043e";default:return R}},week:{dow:1,doy:7}})}(w(5439))},6077:function(Y,U,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2862:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},8093:function(Y,U,w){!function(b){"use strict";b.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(T){return/^ch$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"sa":"SA":C?"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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(Y,U,w){!function(b){"use strict";b.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_\u1eb8t_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}})}(w(5439))},7908:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},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}})}(w(5439))},8867:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1200?"\u4e0a\u5348":1200===E?"\u4e2d\u5348":E<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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},1133:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},3291:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},5439:function(Y,U,w){(Y=w.nmd(Y)).exports=function(){"use strict";var b,ae;function i(){return b.apply(null,arguments)}function v(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function C(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function E(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function R(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(E(_,S))return!1;return!0}function H(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function N(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function V(_,S){var F,L=[];for(F=0;F<_.length;++F)L.push(S(_[F],F));return L}function J(_,S){for(var L in S)E(S,L)&&(_[L]=S[L]);return E(S,"toString")&&(_.toString=S.toString),E(S,"valueOf")&&(_.valueOf=S.valueOf),_}function X(_,S,L,F){return gu(_,S,L,F,!0).utc()}function ee(_){return null==_._pf&&(_._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}),_._pf}function de(_){if(null==_._isValid){var S=ee(_),L=ae.call(S.parsedDateParts,function(G){return null!=G}),F=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&L);if(_._strict&&(F=F&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return F;_._isValid=F}return _._isValid}function Ie(_){var S=X(NaN);return null!=_?J(ee(S),_):ee(S).userInvalidated=!0,S}ae=Array.prototype.some?Array.prototype.some:function(_){var F,S=Object(this),L=S.length>>>0;for(F=0;F0)for(L=0;L=0?L?"+":"":"-")+Math.pow(10,Math.max(0,S-F.length)).toString().substr(1)+F}var Xe=/(\[[^\[]*\])|(\\)?([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}|x|X|zz?|ZZ?|.)/g,lt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nn={},pi={};function Ge(_,S,L,F){var G=F;"string"==typeof F&&(G=function(){return this[F]()}),_&&(pi[_]=G),S&&(pi[S[0]]=function(){return _i(G.apply(this,arguments),S[1],S[2])}),L&&(pi[L]=function(){return this.localeData().ordinal(G.apply(this,arguments),_)})}function ri(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function xn(_,S){return _.isValid()?(S=Yi(S,_.localeData()),Nn[S]=Nn[S]||function Ro(_){var L,F,S=_.match(Xe);for(L=0,F=S.length;L=0&<.test(_);)_=_.replace(lt,F),lt.lastIndex=0,L-=1;return _}var Hi={};function Wt(_,S){var L=_.toLowerCase();Hi[L]=Hi[L+"s"]=Hi[S]=_}function pn(_){return"string"==typeof _?Hi[_]||Hi[_.toLowerCase()]:void 0}function ve(_){var L,F,S={};for(F in _)E(_,F)&&(L=pn(F))&&(S[L]=_[F]);return S}var oe={};function ne(_,S){oe[_]=S}function Se(_){return _%4==0&&_%100!=0||_%400==0}function He(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Ae(_){var S=+_,L=0;return 0!==S&&isFinite(S)&&(L=He(S)),L}function je(_,S){return function(L){return null!=L?(Ei(this,_,L),i.updateOffset(this,S),this):wt(this,_)}}function wt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function Ei(_,S,L){_.isValid()&&!isNaN(L)&&("FullYear"===S&&Se(_.year())&&1===_.month()&&29===_.date()?(L=Ae(L),_._d["set"+(_._isUTC?"UTC":"")+S](L,_.month(),gi(L,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](L))}var D,Di=/\d/,tt=/\d\d/,Ue=/\d{3}/,Rn=/\d{4}/,zt=/[+-]?\d{6}/,pt=/\d\d?/,is=/\d\d\d\d?/,Bn=/\d\d\d\d\d\d?/,Pn=/\d{1,3}/,nl=/\d{1,4}/,Io=/[+-]?\d{1,6}/,to=/\d+/,io=/[+-]?\d+/,Yn=/Z|[+-]\d\d:?\d\d/gi,sr=/Z|[+-]\d\d(?::?\d\d)?/gi,Br=/[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 Pe(_,S,L){D[_]=fe(S)?S:function(F,G){return F&&L?L:S}}function yi(_,S){return E(D,_)?D[_](S._strict,S._locale):new RegExp(function sn(_){return qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,L,F,G,se){return L||F||G||se}))}(_))}function qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var jn={};function dt(_,S){var L,F=S;for("string"==typeof _&&(_=[_]),B(S)&&(F=function(G,se){se[S]=Ae(G)}),L=0;L<_.length;L++)jn[_[L]]=F}function xi(_,S){dt(_,function(L,F,G,se){G._w=G._w||{},S(L,G._w,G,se)})}function ai(_,S,L){null!=S&&E(jn,_)&&jn[_](S,L._a,L,_)}var Zt;function gi(_,S){if(isNaN(_)||isNaN(S))return NaN;var L=function mn(_,S){return(_%S+S)%S}(S,12);return _+=(S-L)/12,1===L?Se(_)?29:28:31-L%7%2}Zt=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Cn=je("FullYear",!0);function ja(_,S,L,F,G,se,me){var Qe;return _<100&&_>=0?(Qe=new Date(_+400,S,L,F,G,se,me),isFinite(Qe.getFullYear())&&Qe.setFullYear(_)):Qe=new Date(_,S,L,F,G,se,me),Qe}function zo(_){var S,L;return _<100&&_>=0?((L=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,L)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function so(_,S,L){var F=7+S-L;return-(7+zo(_,0,F).getUTCDay()-S)%7+F-1}function qn(_,S,L,F,G){var Dt,li,Qe=1+7*(S-1)+(7+L-F)%7+so(_,F,G);return Qe<=0?li=Fo(Dt=_-1)+Qe:Qe>Fo(_)?(Dt=_+1,li=Qe-Fo(_)):(Dt=_,li=Qe),{year:Dt,dayOfYear:li}}function ar(_,S,L){var se,me,F=so(_.year(),S,L),G=Math.floor((_.dayOfYear()-F-1)/7)+1;return G<1?se=G+Ps(me=_.year()-1,S,L):G>Ps(_.year(),S,L)?(se=G-Ps(_.year(),S,L),me=_.year()+1):(me=_.year(),se=G),{week:se,year:me}}function Ps(_,S,L){var F=so(_,S,L),G=so(_+1,S,L);return(Fo(_)-F+G)/7}Ge("w",["ww",2],"wo","week"),Ge("W",["WW",2],"Wo","isoWeek"),Wt("week","w"),Wt("isoWeek","W"),ne("week",5),ne("isoWeek",5),Pe("w",pt),Pe("ww",pt,tt),Pe("W",pt),Pe("WW",pt,tt),xi(["w","ww","W","WW"],function(_,S,L,F){S[F.substr(0,1)]=Ae(_)});function ke(_,S){return _.slice(S,7).concat(_.slice(0,S))}Ge("d",0,"do","day"),Ge("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Ge("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Ge("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Ge("e",0,0,"weekday"),Ge("E",0,0,"isoWeekday"),Wt("day","d"),Wt("weekday","e"),Wt("isoWeekday","E"),ne("day",11),ne("weekday",11),ne("isoWeekday",11),Pe("d",pt),Pe("e",pt),Pe("E",pt),Pe("dd",function(_,S){return S.weekdaysMinRegex(_)}),Pe("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Pe("dddd",function(_,S){return S.weekdaysRegex(_)}),xi(["dd","ddd","dddd"],function(_,S,L,F){var G=L._locale.weekdaysParse(_,F,L._strict);null!=G?S.d=G:ee(L).invalidWeekday=_}),xi(["d","e","E"],function(_,S,L,F){S[F]=Ae(_)});var du="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ji="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ui=Br,hu=Br,Ua=Br;function cr(_,S,L){var F,G,se,me=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)se=X([2e3,1]).day(F),this._minWeekdaysParse[F]=this.weekdaysMin(se,"").toLocaleLowerCase(),this._shortWeekdaysParse[F]=this.weekdaysShort(se,"").toLocaleLowerCase(),this._weekdaysParse[F]=this.weekdays(se,"").toLocaleLowerCase();return L?"dddd"===S?-1!==(G=Zt.call(this._weekdaysParse,me))?G:null:"ddd"===S?-1!==(G=Zt.call(this._shortWeekdaysParse,me))?G:null:-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:"dddd"===S?-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._shortWeekdaysParse,me))||-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:"ddd"===S?-1!==(G=Zt.call(this._shortWeekdaysParse,me))||-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:-1!==(G=Zt.call(this._minWeekdaysParse,me))||-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._shortWeekdaysParse,me))?G:null}function Va(){function _(hn,wn){return wn.length-hn.length}var se,me,Qe,Dt,li,S=[],L=[],F=[],G=[];for(se=0;se<7;se++)me=X([2e3,1]).day(se),Qe=qe(this.weekdaysMin(me,"")),Dt=qe(this.weekdaysShort(me,"")),li=qe(this.weekdays(me,"")),S.push(Qe),L.push(Dt),F.push(li),G.push(Qe),G.push(Dt),G.push(li);S.sort(_),L.sort(_),F.sort(_),G.sort(_),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Ur(){return this.hours()%12||12}function Tn(_,S){Ge(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function fs(_,S){return S._meridiemParse}Ge("H",["HH",2],0,"hour"),Ge("h",["hh",2],0,Ur),Ge("k",["kk",2],0,function qa(){return this.hours()||24}),Ge("hmm",0,0,function(){return""+Ur.apply(this)+_i(this.minutes(),2)}),Ge("hmmss",0,0,function(){return""+Ur.apply(this)+_i(this.minutes(),2)+_i(this.seconds(),2)}),Ge("Hmm",0,0,function(){return""+this.hours()+_i(this.minutes(),2)}),Ge("Hmmss",0,0,function(){return""+this.hours()+_i(this.minutes(),2)+_i(this.seconds(),2)}),Tn("a",!0),Tn("A",!1),Wt("hour","h"),ne("hour",13),Pe("a",fs),Pe("A",fs),Pe("H",pt),Pe("h",pt),Pe("k",pt),Pe("HH",pt,tt),Pe("hh",pt,tt),Pe("kk",pt,tt),Pe("hmm",is),Pe("hmmss",Bn),Pe("Hmm",is),Pe("Hmmss",Bn),dt(["H","HH"],3),dt(["k","kk"],function(_,S,L){var F=Ae(_);S[3]=24===F?0:F}),dt(["a","A"],function(_,S,L){L._isPm=L._locale.isPM(_),L._meridiem=_}),dt(["h","hh"],function(_,S,L){S[3]=Ae(_),ee(L).bigHour=!0}),dt("hmm",function(_,S,L){var F=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F)),ee(L).bigHour=!0}),dt("hmmss",function(_,S,L){var F=_.length-4,G=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F,2)),S[5]=Ae(_.substr(G)),ee(L).bigHour=!0}),dt("Hmm",function(_,S,L){var F=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F))}),dt("Hmmss",function(_,S,L){var F=_.length-4,G=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F,2)),S[5]=Ae(_.substr(G))});var rl=je("Hours",!0);var co,Ga={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:ns,monthsShort:$t,week:{dow:0,doy:6},weekdays:du,weekdaysMin:jr,weekdaysShort:ji,meridiemParse:/[ap]\.?m?\.?/i},di={},lr={};function lo(_,S){var L,F=Math.min(_.length,S.length);for(L=0;L0;){if(G=ni(se.slice(0,L).join("-")))return G;if(F&&F.length>=L&&lo(se,F)>=L-1)break;L--}S++}return co}(_)}function pe(_){var S,L=_._a;return L&&-2===ee(_).overflow&&(S=L[1]<0||L[1]>11?1:L[2]<1||L[2]>gi(L[0],L[1])?2:L[3]<0||L[3]>24||24===L[3]&&(0!==L[4]||0!==L[5]||0!==L[6])?3:L[4]<0||L[4]>59?4:L[5]<0||L[5]>59?5:L[6]<0||L[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var be=/^\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)?)?$/,Ze=/^\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)?)?$/,Xt=/Z|[+-]\d\d(?::?\d\d)?/,Yt=[["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]],Mt=[["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/]],Nt=/^\/?Date\((-?\d+)/i,zi=/^(?:(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}))$/,hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ci(_){var S,L,se,me,Qe,Dt,F=_._i,G=be.exec(F)||Ze.exec(F);if(G){for(ee(_).iso=!0,S=0,L=Yt.length;S7)&&(Dt=!0)):(se=_._locale._week.dow,me=_._locale._week.doy,li=ar(St(),se,me),L=hr(S.gg,_._a[0],li.year),F=hr(S.w,li.week),null!=S.d?((G=S.d)<0||G>6)&&(Dt=!0):null!=S.e?(G=S.e+se,(S.e<0||S.e>6)&&(Dt=!0)):G=se),F<1||F>Ps(L,se,me)?ee(_)._overflowWeeks=!0:null!=Dt?ee(_)._overflowWeekday=!0:(Qe=qn(L,F,G,se,me),_._a[0]=Qe.year,_._dayOfYear=Qe.dayOfYear)}(_),null!=_._dayOfYear&&(me=hr(_._a[0],G[0]),(_._dayOfYear>Fo(me)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),L=zo(me,0,_._dayOfYear),_._a[1]=L.getUTCMonth(),_._a[2]=L.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=F[S]=G[S];for(;S<7;S++)_._a[S]=F[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?zo:ja).apply(null,F),se=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==se&&(ee(_).weekdayMismatch=!0)}}function Ft(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var L,F,G,se,me,li,S=""+_._i,Qe=S.length,Dt=0;for(G=Yi(_._f,_._locale).match(Xe)||[],L=0;L0&&ee(_).unusedInput.push(me),S=S.slice(S.indexOf(F)+F.length),Dt+=F.length),pi[se]?(F?ee(_).empty=!1:ee(_).unusedTokens.push(se),ai(se,F,_)):_._strict&&!F&&ee(_).unusedTokens.push(se);ee(_).charsLeftOver=Qe-Dt,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function nh(_,S,L){var F;return null==L?S:null!=_.meridiemHour?_.meridiemHour(S,L):(null!=_.isPM&&((F=_.isPM(L))&&S<12&&(S+=12),!F&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==(li=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear(li,_._a[0])),cl(_),pe(_)}else dr(_);else ci(_)}function os(_){var S=_._i,L=_._f;return _._locale=_._locale||$(_._l),null===S||void 0===L&&""===S?Ie({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),We(S)?new xt(pe(S)):(N(S)?_._d=S:v(L)?function qi(_){var S,L,F,G,se,me,Qe=!1;if(0===_._f.length)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for(G=0;G<_._f.length;G++)se=0,me=!1,S=Pt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[G],Ft(S),de(S)&&(me=!0),se+=ee(S).charsLeftOver,se+=10*ee(S).unusedTokens.length,ee(S).score=se,Qe?sethis?this:_:Ie()});function Ka(_,S){var L,F;if(1===S.length&&v(S[0])&&(S=S[0]),!S.length)return St();for(L=S[0],F=1;F=0?new Date(_+400,S,L)-ea:new Date(_,S,L).valueOf()}function tc(_,S,L){return _<100&&_>=0?Date.UTC(_+400,S,L)-ea:Date.UTC(_,S,L)}function mi(_,S){return S.erasAbbrRegex(_)}function Du(){var G,se,_=[],S=[],L=[],F=[],me=this.eras();for(G=0,se=me.length;G(se=Ps(_,F,G))&&(S=se),xp.call(this,_,S,L,F,G))}function xp(_,S,L,F,G){var se=qn(_,S,L,F,G),me=zo(se.year,0,se.dayOfYear);return this.year(me.getUTCFullYear()),this.month(me.getUTCMonth()),this.date(me.getUTCDate()),this}Ge("N",0,0,"eraAbbr"),Ge("NN",0,0,"eraAbbr"),Ge("NNN",0,0,"eraAbbr"),Ge("NNNN",0,0,"eraName"),Ge("NNNNN",0,0,"eraNarrow"),Ge("y",["y",1],"yo","eraYear"),Ge("y",["yy",2],0,"eraYear"),Ge("y",["yyy",3],0,"eraYear"),Ge("y",["yyyy",4],0,"eraYear"),Pe("N",mi),Pe("NN",mi),Pe("NNN",mi),Pe("NNNN",function Dp(_,S){return S.erasNameRegex(_)}),Pe("NNNNN",function bh(_,S){return S.erasNarrowRegex(_)}),dt(["N","NN","NNN","NNNN","NNNNN"],function(_,S,L,F){var G=L._locale.erasParse(_,F,L._strict);G?ee(L).era=G:ee(L).invalidEra=_}),Pe("y",to),Pe("yy",to),Pe("yyy",to),Pe("yyyy",to),Pe("yo",function _s(_,S){return S._eraYearOrdinalRegex||to}),dt(["y","yy","yyy","yyyy"],0),dt(["yo"],function(_,S,L,F){var G;L._locale._eraYearOrdinalRegex&&(G=_.match(L._locale._eraYearOrdinalRegex)),S[0]=L._locale.eraYearOrdinalParse?L._locale.eraYearOrdinalParse(_,G):parseInt(_,10)}),Ge(0,["gg",2],0,function(){return this.weekYear()%100}),Ge(0,["GG",2],0,function(){return this.isoWeekYear()%100}),yl("gggg","weekYear"),yl("ggggg","weekYear"),yl("GGGG","isoWeekYear"),yl("GGGGG","isoWeekYear"),Wt("weekYear","gg"),Wt("isoWeekYear","GG"),ne("weekYear",1),ne("isoWeekYear",1),Pe("G",io),Pe("g",io),Pe("GG",pt,tt),Pe("gg",pt,tt),Pe("GGGG",nl,Rn),Pe("gggg",nl,Rn),Pe("GGGGG",Io,zt),Pe("ggggg",Io,zt),xi(["gggg","ggggg","GGGG","GGGGG"],function(_,S,L,F){S[F.substr(0,2)]=Ae(_)}),xi(["gg","GG"],function(_,S,L,F){S[F]=i.parseTwoDigitYear(_)}),Ge("Q",0,"Qo","quarter"),Wt("quarter","Q"),ne("quarter",7),Pe("Q",Di),dt("Q",function(_,S){S[1]=3*(Ae(_)-1)}),Ge("D",["DD",2],"Do","date"),Wt("date","D"),ne("date",9),Pe("D",pt),Pe("DD",pt,tt),Pe("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],2),dt("Do",function(_,S){S[2]=Ae(_.match(pt)[0])});var dn=je("Date",!0);Ge("DDD",["DDDD",3],"DDDo","dayOfYear"),Wt("dayOfYear","DDD"),ne("dayOfYear",4),Pe("DDD",Pn),Pe("DDDD",Ue),dt(["DDD","DDDD"],function(_,S,L){L._dayOfYear=Ae(_)}),Ge("m",["mm",2],0,"minute"),Wt("minute","m"),ne("minute",14),Pe("m",pt),Pe("mm",pt,tt),dt(["m","mm"],4);var nc=je("Minutes",!1);Ge("s",["ss",2],0,"second"),Wt("second","s"),ne("second",15),Pe("s",pt),Pe("ss",pt,tt),dt(["s","ss"],5);var as,Lu,sc=je("Seconds",!1);for(Ge("S",0,0,function(){return~~(this.millisecond()/100)}),Ge(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ge(0,["SSS",3],0,"millisecond"),Ge(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Ge(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Ge(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Ge(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Ge(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Ge(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Wt("millisecond","ms"),ne("millisecond",16),Pe("S",Pn,Di),Pe("SS",Pn,tt),Pe("SSS",Pn,Ue),as="SSSS";as.length<=9;as+="S")Pe(as,to);function Rp(_,S){S[6]=Ae(1e3*("0."+_))}for(as="S";as.length<=9;as+="S")dt(as,Rp);Lu=je("Milliseconds",!1),Ge("z",0,0,"zoneAbbr"),Ge("zz",0,0,"zoneName");var Re=xt.prototype;function br(_){return _}Re.add=hl,Re.calendar=function In(_,S){1===arguments.length&&(arguments[0]?bn(arguments[0])?(_=arguments[0],S=void 0):uh(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var L=_||St(),F=Za(L,this).startOf("day"),G=i.calendarFormat(this,F)||"sameElse",se=S&&(fe(S[G])?S[G].call(this,L):S[G]);return this.format(se||this.localeData().calendar(G,this,St(L)))},Re.clone=function dh(){return new xt(this)},Re.diff=function Zr(_,S,L){var F,G,se;if(!this.isValid())return NaN;if(!(F=Za(_,this)).isValid())return NaN;switch(G=6e4*(F.utcOffset()-this.utcOffset()),S=pn(S)){case"year":se=ec(this,F)/12;break;case"month":se=ec(this,F);break;case"quarter":se=ec(this,F)/3;break;case"second":se=(this-F)/1e3;break;case"minute":se=(this-F)/6e4;break;case"hour":se=(this-F)/36e5;break;case"day":se=(this-F-G)/864e5;break;case"week":se=(this-F-G)/6048e5;break;default:se=this-F}return L?se:He(se)},Re.endOf=function Mu(_){var S,L;if(void 0===(_=pn(_))||"millisecond"===_||!this.isValid())return this;switch(L=this._isUTC?tc:ph,_){case"year":S=L(this.year()+1,0,1)-1;break;case"quarter":S=L(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=L(this.year(),this.month()+1,1)-1;break;case"week":S=L(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=L(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=Xr-rs(S+(this._isUTC?0:this.utcOffset()*Yo),Xr)-1;break;case"minute":S=this._d.valueOf(),S+=Yo-rs(S,Yo)-1;break;case"second":S=this._d.valueOf(),S+=1e3-rs(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Re.format=function Jr(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=xn(this,_);return this.localeData().postformat(S)},Re.from=function Qr(_,S){return this.isValid()&&(We(_)&&_.isValid()||St(_).isValid())?Ln({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.fromNow=function No(_){return this.from(St(),_)},Re.to=function hh(_,S){return this.isValid()&&(We(_)&&_.isValid()||St(_).isValid())?Ln({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.toNow=function Tu(_){return this.to(St(),_)},Re.get=function Rt(_){return fe(this[_=pn(_)])?this[_]():this},Re.invalidAt=function ta(){return ee(this).overflow},Re.isAfter=function Cp(_,S){var L=We(_)?_:St(_);return!(!this.isValid()||!L.isValid())&&("millisecond"===(S=pn(S)||"millisecond")?this.valueOf()>L.valueOf():L.valueOf()9999?xn(L,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fe(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",xn(L,"Z")):xn(L,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Re.inspect=function Mp(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var L,F,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),L="["+_+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(L+F+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Re.toJSON=function jo(){return this.isValid()?this.toISOString():null},Re.toString=function $r(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Re.unix=function Sp(){return Math.floor(this.valueOf()/1e3)},Re.valueOf=function Su(){return this._d.valueOf()-6e4*(this._offset||0)},Re.creationData=function _h(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Re.eraName=function Ns(){var _,S,L,F=this.localeData().eras();for(_=0,S=F.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Re.isLocal=function po(){return!!this.isValid()&&!this._isUTC},Re.isUtcOffset=function Ai(){return!!this.isValid()&&this._isUTC},Re.isUtc=Au,Re.isUTC=Au,Re.zoneAbbr=function Pp(){return this._isUTC?"UTC":""},Re.zoneName=function A_(){return this._isUTC?"Coordinated Universal Time":""},Re.dates=yt("dates accessor is deprecated. Use date instead.",dn),Re.months=yt("months accessor is deprecated. Use month instead",Ho),Re.years=yt("years accessor is deprecated. Use year instead",Cn),Re.zone=yt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $a(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Re.isDSTShifted=yt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function rn(){if(!H(this._isDSTShifted))return this._isDSTShifted;var S,_={};return Pt(_,this),(_=os(_))._a?(S=_._isUTC?X(_._a):St(_._a),this._isDSTShifted=this.isValid()&&function pr(_,S,L){var me,F=Math.min(_.length,S.length),G=Math.abs(_.length-S.length),se=0;for(me=0;me0):this._isDSTShifted=!1,this._isDSTShifted});var Ot=xe.prototype;function Iu(_,S,L,F){var G=$(),se=X().set(F,S);return G[L](se,_)}function ra(_,S,L){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return Iu(_,S,L,"month");var F,G=[];for(F=0;F<12;F++)G[F]=Iu(_,F,L,"month");return G}function Ou(_,S,L,F){"boolean"==typeof _?(B(S)&&(L=S,S=void 0),S=S||""):(L=S=_,_=!1,B(S)&&(L=S,S=void 0),S=S||"");var me,G=$(),se=_?G._week.dow:0,Qe=[];if(null!=L)return Iu(S,(L+se)%7,F,"day");for(me=0;me<7;me++)Qe[me]=Iu(S,(me+se)%7,F,"day");return Qe}Ot.calendar=function qt(_,S,L){var F=this._calendar[_]||this._calendar.sameElse;return fe(F)?F.call(S,L):F},Ot.longDateFormat=function Fr(_){var S=this._longDateFormat[_],L=this._longDateFormat[_.toUpperCase()];return S||!L?S:(this._longDateFormat[_]=L.match(Xe).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[_])},Ot.invalidDate=function Nr(){return this._invalidDate},Ot.ordinal=function Lo(_){return this._ordinal.replace("%d",_)},Ot.preparse=br,Ot.postformat=br,Ot.relativeTime=function ut(_,S,L,F){var G=this._relativeTime[L];return fe(G)?G(_,S,L,F):G.replace(/%d/i,_)},Ot.pastFuture=function Ba(_,S){var L=this._relativeTime[_>0?"future":"past"];return fe(L)?L(S):L.replace(/%s/i,S)},Ot.set=function _e(_){var S,L;for(L in _)E(_,L)&&(fe(S=_[L])?this[L]=S:this["_"+L]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ot.eras=function ku(_,S){var L,F,G,se=this._eras||$("en")._eras;for(L=0,F=se.length;L=0)return se[F]},Ot.erasConvertYear=function zs(_,S){var L=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*L},Ot.erasAbbrRegex=function Ep(_){return E(this,"_erasAbbrRegex")||Du.call(this),_?this._erasAbbrRegex:this._erasRegex},Ot.erasNameRegex=function oa(_){return E(this,"_erasNameRegex")||Du.call(this),_?this._erasNameRegex:this._erasRegex},Ot.erasNarrowRegex=function yh(_){return E(this,"_erasNarrowRegex")||Du.call(this),_?this._erasNarrowRegex:this._erasRegex},Ot.months=function Ya(_,S){return _?v(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||hs).test(S)?"format":"standalone"][_.month()]:v(this._months)?this._months:this._months.standalone},Ot.monthsShort=function Oo(_,S){return _?v(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[hs.test(S)?"format":"standalone"][_.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ot.monthsParse=function rr(_,S,L){var F,G,se;if(this._monthsParseExact)return sl.call(this,_,S,L);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if(G=X([2e3,F]),L&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!L&&!this._monthsParse[F]&&(se="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[F]=new RegExp(se.replace(".",""),"i")),L&&"MMMM"===S&&this._longMonthsParse[F].test(_))return F;if(L&&"MMM"===S&&this._shortMonthsParse[F].test(_))return F;if(!L&&this._monthsParse[F].test(_))return F}},Ot.monthsRegex=function ii(_){return this._monthsParseExact?(E(this,"_monthsRegex")||ol.call(this),_?this._monthsStrictRegex:this._monthsRegex):(E(this,"_monthsRegex")||(this._monthsRegex=At),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},Ot.monthsShortRegex=function Un(_){return this._monthsParseExact?(E(this,"_monthsRegex")||ol.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(E(this,"_monthsShortRegex")||(this._monthsShortRegex=no),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},Ot.week=function wp(_){return ar(_,this._week.dow,this._week.doy).week},Ot.firstDayOfYear=function Tt(){return this._week.doy},Ot.firstDayOfWeek=function eh(){return this._week.dow},Ot.weekdays=function th(_,S){var L=v(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?ke(L,this._week.dow):_?L[_.day()]:L},Ot.weekdaysMin=function Gn(_){return!0===_?ke(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},Ot.weekdaysShort=function ro(_){return!0===_?ke(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},Ot.weekdaysParse=function fu(_,S,L){var F,G,se;if(this._weekdaysParseExact)return cr.call(this,_,S,L);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(G=X([2e3,1]).day(F),L&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(se="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[F]=new RegExp(se.replace(".",""),"i")),L&&"dddd"===S&&this._fullWeekdaysParse[F].test(_))return F;if(L&&"ddd"===S&&this._shortWeekdaysParse[F].test(_))return F;if(L&&"dd"===S&&this._minWeekdaysParse[F].test(_))return F;if(!L&&this._weekdaysParse[F].test(_))return F}},Ot.weekdaysRegex=function ao(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(E(this,"_weekdaysRegex")||(this._weekdaysRegex=Ui),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},Ot.weekdaysShortRegex=function Vt(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(E(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hu),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ot.weekdaysMinRegex=function Ls(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(E(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ua),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ot.isPM=function pu(_){return"p"===(_+"").toLowerCase().charAt(0)},Ot.meridiem=function ih(_,S,L){return _>11?L?"pm":"PM":L?"am":"AM"},P("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(_){var S=_%10;return _+(1===Ae(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=yt("moment.lang is deprecated. Use moment.locale instead.",P),i.langData=yt("moment.langData is deprecated. Use moment.localeData instead.",$);var bs=Math.abs;function Op(_,S,L,F){var G=Ln(S,L);return _._milliseconds+=F*G._milliseconds,_._days+=F*G._days,_._months+=F*G._months,_._bubble()}function cc(_){return _<0?Math.floor(_):Math.ceil(_)}function Ch(_){return 4800*_/146097}function wl(_){return 146097*_/4800}function Kn(_){return function(){return this.as(_)}}var Mh=Kn("ms"),zp=Kn("s"),Ki=Kn("m"),Np=Kn("h"),Sh=Kn("d"),Al=Kn("w"),aa=Kn("M"),kh=Kn("Q"),Bp=Kn("y");function Zn(_){return function(){return this.isValid()?this._data[_]:NaN}}var Fu=Zn("milliseconds"),ca=Zn("seconds"),zu=Zn("minutes"),Eh=Zn("hours"),Nu=Zn("days"),vl=Zn("months"),Cl=Zn("years");var mo=Math.round,ws={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function uc(_,S,L,F,G){return G.relativeTime(S||1,!!L,_,F)}var Ri=Math.abs;function la(_){return(_>0)-(_<0)||+_}function wr(){if(!this.isValid())return this.localeData().invalidDate();var F,G,se,me,Dt,li,hn,wn,_=Ri(this._milliseconds)/1e3,S=Ri(this._days),L=Ri(this._months),Qe=this.asSeconds();return Qe?(F=He(_/60),G=He(F/60),_%=60,F%=60,se=He(L/12),L%=12,me=_?_.toFixed(3).replace(/\.?0+$/,""):"",Dt=Qe<0?"-":"",li=la(this._months)!==la(Qe)?"-":"",hn=la(this._days)!==la(Qe)?"-":"",wn=la(this._milliseconds)!==la(Qe)?"-":"",Dt+"P"+(se?li+se+"Y":"")+(L?li+L+"M":"")+(S?hn+S+"D":"")+(G||F||_?"T":"")+(G?wn+G+"H":"")+(F?wn+F+"M":"")+(_?wn+me+"S":"")):"P0D"}var Et=fr.prototype;return Et.isValid=function oh(){return this._isValid},Et.abs=function bl(){var _=this._data;return this._milliseconds=bs(this._milliseconds),this._days=bs(this._days),this._months=bs(this._months),_.milliseconds=bs(_.milliseconds),_.seconds=bs(_.seconds),_.minutes=bs(_.minutes),_.hours=bs(_.hours),_.months=bs(_.months),_.years=bs(_.years),this},Et.add=function ac(_,S){return Op(this,_,S,1)},Et.subtract=function Hu(_,S){return Op(this,_,S,-1)},Et.as=function Th(_){if(!this.isValid())return NaN;var S,L,F=this._milliseconds;if("month"===(_=pn(_))||"quarter"===_||"year"===_)switch(S=this._days+F/864e5,L=this._months+Ch(S),_){case"month":return L;case"quarter":return L/3;case"year":return L/12}else switch(S=this._days+Math.round(wl(this._months)),_){case"week":return S/7+F/6048e5;case"day":return S+F/864e5;case"hour":return 24*S+F/36e5;case"minute":return 1440*S+F/6e4;case"second":return 86400*S+F/1e3;case"millisecond":return Math.floor(864e5*S)+F;default:throw new Error("Unknown unit "+_)}},Et.asMilliseconds=Mh,Et.asSeconds=zp,Et.asMinutes=Ki,Et.asHours=Np,Et.asDays=Sh,Et.asWeeks=Al,Et.asMonths=aa,Et.asQuarters=kh,Et.asYears=Bp,Et.valueOf=function Fp(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ae(this._months/12):NaN},Et._bubble=function Hp(){var G,se,me,Qe,Dt,_=this._milliseconds,S=this._days,L=this._months,F=this._data;return _>=0&&S>=0&&L>=0||_<=0&&S<=0&&L<=0||(_+=864e5*cc(wl(L)+S),S=0,L=0),F.milliseconds=_%1e3,G=He(_/1e3),F.seconds=G%60,se=He(G/60),F.minutes=se%60,me=He(se/60),F.hours=me%24,S+=He(me/24),L+=Dt=He(Ch(S)),S-=cc(wl(Dt)),Qe=He(L/12),L%=12,F.days=S,F.months=L,F.years=Qe,this},Et.clone=function Yp(){return Ln(this)},Et.get=function lc(_){return _=pn(_),this.isValid()?this[_+"s"]():NaN},Et.milliseconds=Fu,Et.seconds=ca,Et.minutes=zu,Et.hours=Eh,Et.days=Nu,Et.weeks=function Dh(){return He(this.days()/7)},Et.months=vl,Et.years=Cl,Et.humanize=function Vp(_,S){if(!this.isValid())return this.localeData().invalidDate();var G,se,L=!1,F=ws;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(L=_),"object"==typeof S&&(F=Object.assign({},ws,S),null!=S.s&&null==S.ss&&(F.ss=S.s-1)),se=function jp(_,S,L,F){var G=Ln(_).abs(),se=mo(G.as("s")),me=mo(G.as("m")),Qe=mo(G.as("h")),Dt=mo(G.as("d")),li=mo(G.as("M")),hn=mo(G.as("w")),wn=mo(G.as("y")),Vo=se<=L.ss&&["s",se]||se0,Vo[4]=F,uc.apply(null,Vo)}(this,!L,F,G=this.localeData()),L&&(se=G.pastFuture(+this,se)),G.postformat(se)},Et.toISOString=wr,Et.toString=wr,Et.toJSON=wr,Et.locale=gl,Et.localeData=ml,Et.toIsoString=yt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wr),Et.lang=fh,Ge("X",0,0,"unix"),Ge("x",0,0,"valueOf"),Pe("x",io),Pe("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(_,S,L){L._d=new Date(1e3*parseFloat(_))}),dt("x",function(_,S,L){L._d=new Date(Ae(_))}),i.version="2.29.1",function T(_){b=_}(St),i.fn=Re,i.min=function yn(){return Ka("isBefore",[].slice.call(arguments,0))},i.max=function Os(){return Ka("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=X,i.unix=function Ah(_){return St(1e3*_)},i.months=function oc(_,S){return ra(_,S,"months")},i.isDate=N,i.locale=P,i.invalid=Ie,i.duration=Ln,i.isMoment=We,i.weekdays=function Ip(_,S,L){return Ou(_,S,L,"weekdays")},i.parseZone=function On(){return St.apply(null,arguments).parseZone()},i.localeData=$,i.isDuration=Hs,i.monthsShort=function Lp(_,S){return ra(_,S,"monthsShort")},i.weekdaysMin=function vh(_,S,L){return Ou(_,S,L,"weekdaysMin")},i.defineLocale=q,i.updateLocale=function O(_,S){if(null!=S){var L,F,G=Ga;null!=di[_]&&null!=di[_].parentLocale?di[_].set(ge(di[_]._config,S)):(null!=(F=ni(_))&&(G=F._config),S=ge(G,S),null==F&&(S.abbr=_),(L=new xe(S)).parentLocale=di[_],di[_]=L),P(_)}else null!=di[_]&&(null!=di[_].parentLocale?(di[_]=di[_].parentLocale,_===P()&&P(_)):null!=di[_]&&delete di[_]);return di[_]},i.locales=function ie(){return he(di)},i.weekdaysShort=function rc(_,S,L){return Ou(_,S,L,"weekdaysShort")},i.normalizeUnits=pn,i.relativeTimeRounding=function Up(_){return void 0===_?mo:"function"==typeof _&&(mo=_,!0)},i.relativeTimeThreshold=function xh(_,S){return void 0!==ws[_]&&(void 0===S?ws[_]:(ws[_]=S,"s"===_&&(ws.ss=S-1),!0))},i.calendarFormat=function Qa(_,S){var L=_.diff(S,"days",!0);return L<-6?"sameElse":L<-1?"lastWeek":L<0?"lastDay":L<1?"sameDay":L<2?"nextDay":L<7?"nextWeek":"sameElse"},i.prototype=Re,i.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"},i}()},1869:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);class i extends b.L{constructor(v,C,E){super(),this.parent=v,this.outerValue=C,this.outerIndex=E,this.index=0}_next(v){this.parent.notifyNext(this.outerValue,v,this.outerIndex,this.index++,this)}_error(v){this.parent.notifyError(v,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(Y,U,w)=>{"use strict";w.d(U,{P:()=>C});var b=w(8896),i=w(1086),T=w(1737);class C{constructor(R,H,B){this.kind=R,this.value=H,this.error=B,this.hasValue="N"===R}observe(R){switch(this.kind){case"N":return R.next&&R.next(this.value);case"E":return R.error&&R.error(this.error);case"C":return R.complete&&R.complete()}}do(R,H,B){switch(this.kind){case"N":return R&&R(this.value);case"E":return H&&H(this.error);case"C":return B&&B()}}accept(R,H,B){return R&&"function"==typeof R.next?this.observe(R):this.do(R,H,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(R){return void 0!==R?new C("N",R):C.undefinedValueNotification}static createError(R){return new C("E",void 0,R)}static createComplete(){return C.completeNotification}}C.completeNotification=new C("C"),C.undefinedValueNotification=new C("N",void 0)},2916:(Y,U,w)=>{"use strict";w.d(U,{y:()=>V});var b=w(3489),T=w(7668),v=w(3292),E=w(3821),R=w(5379);var N=w(2830);let V=(()=>{class X{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ae=new X;return ae.source=this,ae.operator=ee,ae}subscribe(ee,ae,de){const{operator:Ie}=this,Oe=function C(X,re,ee){if(X){if(X instanceof b.L)return X;if(X[T.b])return X[T.b]()}return X||re||ee?new b.L(X,re,ee):new b.L(v.c)}(ee,ae,de);if(Oe.add(Ie?Ie.call(Oe,this.source):this.source||N.v.useDeprecatedSynchronousErrorHandling&&!Oe.syncErrorThrowable?this._subscribe(Oe):this._trySubscribe(Oe)),N.v.useDeprecatedSynchronousErrorHandling&&Oe.syncErrorThrowable&&(Oe.syncErrorThrowable=!1,Oe.syncErrorThrown))throw Oe.syncErrorValue;return Oe}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ae){N.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ae),function i(X){for(;X;){const{closed:re,destination:ee,isStopped:ae}=X;if(re||ae)return!1;X=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ae):console.warn(ae)}}forEach(ee,ae){return new(ae=J(ae))((de,Ie)=>{let Oe;Oe=this.subscribe(Ve=>{try{ee(Ve)}catch(Pt){Ie(Pt),Oe&&Oe.unsubscribe()}},Ie,de)})}_subscribe(ee){const{source:ae}=this;return ae&&ae.subscribe(ee)}[E.L](){return this}pipe(...ee){return 0===ee.length?this:function B(X){return 0===X.length?R.y:1===X.length?X[0]:function(ee){return X.reduce((ae,de)=>de(ae),ee)}}(ee)(this)}toPromise(ee){return new(ee=J(ee))((ae,de)=>{let Ie;this.subscribe(Oe=>Ie=Oe,Oe=>de(Oe),()=>ae(Ie))})}}return X.create=re=>new X(re),X})();function J(X){if(X||(X=N.v.Promise||Promise),!X)throw new Error("no Promise impl found");return X}},3292:(Y,U,w)=>{"use strict";w.d(U,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(v){},error(v){if(b.v.useDeprecatedSynchronousErrorHandling)throw v;(0,i.z)(v)},complete(){}}},826:(Y,U,w)=>{"use strict";w.d(U,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(v,C,E,R,H){this.destination.next(C)}notifyError(v,C){this.destination.error(v)}notifyComplete(v){this.destination.complete()}}},8929:(Y,U,w)=>{"use strict";w.d(U,{Yc:()=>R,xQ:()=>H});var b=w(2916),i=w(3489),T=w(2654),v=w(5279),C=w(5283),E=w(7668);class R extends i.L{constructor(V){super(V),this.destination=V}}let H=(()=>{class N extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[E.b](){return new R(this)}lift(J){const X=new B(this,this);return X.operator=J,X}next(J){if(this.closed)throw new v.N;if(!this.isStopped){const{observers:X}=this,re=X.length,ee=X.slice();for(let ae=0;aenew B(V,J),N})();class B extends H{constructor(V,J){super(),this.destination=V,this.source=J}next(V){const{destination:J}=this;J&&J.next&&J.next(V)}error(V){const{destination:J}=this;J&&J.error&&this.destination.error(V)}complete(){const{destination:V}=this;V&&V.complete&&this.destination.complete()}_subscribe(V){const{source:J}=this;return J?this.source.subscribe(V):T.w.EMPTY}}},5283:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});var b=w(2654);class i extends b.w{constructor(v,C){super(),this.subject=v,this.subscriber=C,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const v=this.subject,C=v.observers;if(this.subject=null,!C||0===C.length||v.isStopped||v.closed)return;const E=C.indexOf(this.subscriber);-1!==E&&C.splice(E,1)}}},3489:(Y,U,w)=>{"use strict";w.d(U,{L:()=>R});var b=w(7043),i=w(3292),T=w(2654),v=w(7668),C=w(2830),E=w(2782);class R extends T.w{constructor(N,V,J){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!N){this.destination=i.c;break}if("object"==typeof N){N instanceof R?(this.syncErrorThrowable=N.syncErrorThrowable,this.destination=N,N.add(this)):(this.syncErrorThrowable=!0,this.destination=new H(this,N));break}default:this.syncErrorThrowable=!0,this.destination=new H(this,N,V,J)}}[v.b](){return this}static create(N,V,J){const X=new R(N,V,J);return X.syncErrorThrowable=!1,X}next(N){this.isStopped||this._next(N)}error(N){this.isStopped||(this.isStopped=!0,this._error(N))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(N){this.destination.next(N)}_error(N){this.destination.error(N),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:N}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=N,this}}class H extends R{constructor(N,V,J,X){super(),this._parentSubscriber=N;let re,ee=this;(0,b.m)(V)?re=V:V&&(re=V.next,J=V.error,X=V.complete,V!==i.c&&(ee=Object.create(V),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=re,this._error=J,this._complete=X}next(N){if(!this.isStopped&&this._next){const{_parentSubscriber:V}=this;C.v.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?this.__tryOrSetError(V,this._next,N)&&this.unsubscribe():this.__tryOrUnsub(this._next,N)}}error(N){if(!this.isStopped){const{_parentSubscriber:V}=this,{useDeprecatedSynchronousErrorHandling:J}=C.v;if(this._error)J&&V.syncErrorThrowable?(this.__tryOrSetError(V,this._error,N),this.unsubscribe()):(this.__tryOrUnsub(this._error,N),this.unsubscribe());else if(V.syncErrorThrowable)J?(V.syncErrorValue=N,V.syncErrorThrown=!0):(0,E.z)(N),this.unsubscribe();else{if(this.unsubscribe(),J)throw N;(0,E.z)(N)}}}complete(){if(!this.isStopped){const{_parentSubscriber:N}=this;if(this._complete){const V=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?(this.__tryOrSetError(N,V),this.unsubscribe()):(this.__tryOrUnsub(V),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(N,V){try{N.call(this._context,V)}catch(J){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw J;(0,E.z)(J)}}__tryOrSetError(N,V,J){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{V.call(this._context,J)}catch(X){return C.v.useDeprecatedSynchronousErrorHandling?(N.syncErrorValue=X,N.syncErrorThrown=!0,!0):((0,E.z)(X),!0)}return!1}_unsubscribe(){const{_parentSubscriber:N}=this;this._context=null,this._parentSubscriber=null,N.unsubscribe()}}},2654:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(6688),i=w(7830),T=w(7043);const C=(()=>{function H(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((N,V)=>`${V+1}) ${N.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return H.prototype=Object.create(Error.prototype),H})();class E{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:N,_unsubscribe:V,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,N instanceof E)N.remove(this);else if(null!==N)for(let X=0;XB.concat(N instanceof C?N.errors:N),[])}E.EMPTY=((H=new E).closed=!0,H)},2830:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const v=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+v.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(Y,U,w)=>{"use strict";w.d(U,{c:()=>C,N:()=>E});var b=w(8929),i=w(2916),T=w(2654),v=w(4327);class C extends i.y{constructor(V,J){super(),this.source=V,this.subjectFactory=J,this._refCount=0,this._isComplete=!1}_subscribe(V){return this.getSubject().subscribe(V)}getSubject(){const V=this._subject;return(!V||V.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let V=this._connection;return V||(this._isComplete=!1,V=this._connection=new T.w,V.add(this.source.subscribe(new R(this.getSubject(),this))),V.closed&&(this._connection=null,V=T.w.EMPTY)),V}refCount(){return(0,v.x)()(this)}}const E=(()=>{const N=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:N._subscribe},_isComplete:{value:N._isComplete,writable:!0},getSubject:{value:N.getSubject},connect:{value:N.connect},refCount:{value:N.refCount}}})();class R extends b.Yc{constructor(V,J){super(V),this.connectable=J}_error(V){this._unsubscribe(),super._error(V)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const V=this.connectable;if(V){this.connectable=null;const J=V._connection;V._refCount=0,V._subject=null,V._connection=null,J&&J.unsubscribe()}}}},6053:(Y,U,w)=>{"use strict";w.d(U,{aj:()=>R});var b=w(2866),i=w(6688),T=w(826),v=w(9054),C=w(3009);const E={};function R(...N){let V=null,J=null;return(0,b.K)(N[N.length-1])&&(J=N.pop()),"function"==typeof N[N.length-1]&&(V=N.pop()),1===N.length&&(0,i.k)(N[0])&&(N=N[0]),(0,C.n)(N,J).lift(new H(V))}class H{constructor(V){this.resultSelector=V}call(V,J){return J.subscribe(new B(V,this.resultSelector))}}class B extends T.L{constructor(V,J){super(V),this.resultSelector=J,this.active=0,this.values=[],this.observables=[]}_next(V){this.values.push(E),this.observables.push(V)}_complete(){const V=this.observables,J=V.length;if(0===J)this.destination.complete();else{this.active=J,this.toRespond=J;for(let X=0;X{"use strict";w.d(U,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(C=>C.complete());function T(C){return C?function v(C){return new b.y(E=>C.schedule(()=>E.complete()))}(C):i}},5254:(Y,U,w)=>{"use strict";w.d(U,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),v=w(3821),R=w(6454),H=w(5430),V=w(8955),J=w(8515);function ee(ae,de){return de?function re(ae,de){if(null!=ae){if(function N(ae){return ae&&"function"==typeof ae[v.L]}(ae))return function C(ae,de){return new b.y(Ie=>{const Oe=new T.w;return Oe.add(de.schedule(()=>{const Ve=ae[v.L]();Oe.add(Ve.subscribe({next(Pt){Oe.add(de.schedule(()=>Ie.next(Pt)))},error(Pt){Oe.add(de.schedule(()=>Ie.error(Pt)))},complete(){Oe.add(de.schedule(()=>Ie.complete()))}}))})),Oe})}(ae,de);if((0,V.t)(ae))return function E(ae,de){return new b.y(Ie=>{const Oe=new T.w;return Oe.add(de.schedule(()=>ae.then(Ve=>{Oe.add(de.schedule(()=>{Ie.next(Ve),Oe.add(de.schedule(()=>Ie.complete()))}))},Ve=>{Oe.add(de.schedule(()=>Ie.error(Ve)))}))),Oe})}(ae,de);if((0,J.z)(ae))return(0,R.r)(ae,de);if(function X(ae){return ae&&"function"==typeof ae[H.hZ]}(ae)||"string"==typeof ae)return function B(ae,de){if(!ae)throw new Error("Iterable cannot be null");return new b.y(Ie=>{const Oe=new T.w;let Ve;return Oe.add(()=>{Ve&&"function"==typeof Ve.return&&Ve.return()}),Oe.add(de.schedule(()=>{Ve=ae[H.hZ](),Oe.add(de.schedule(function(){if(Ie.closed)return;let Pt,xt;try{const We=Ve.next();Pt=We.value,xt=We.done}catch(We){return void Ie.error(We)}xt?Ie.complete():(Ie.next(Pt),this.schedule())}))})),Oe})}(ae,de)}throw new TypeError((null!==ae&&typeof ae||ae)+" is not observable")}(ae,de):ae instanceof b.y?ae:new b.y((0,i.s)(ae))}},3009:(Y,U,w)=>{"use strict";w.d(U,{n:()=>v});var b=w(2916),i=w(3650),T=w(6454);function v(C,E){return E?(0,T.r)(C,E):new b.y((0,i.V)(C))}},6787:(Y,U,w)=>{"use strict";w.d(U,{T:()=>C});var b=w(2916),i=w(2866),T=w(9146),v=w(3009);function C(...E){let R=Number.POSITIVE_INFINITY,H=null,B=E[E.length-1];return(0,i.K)(B)?(H=E.pop(),E.length>1&&"number"==typeof E[E.length-1]&&(R=E.pop())):"number"==typeof B&&(R=E.pop()),null===H&&1===E.length&&E[0]instanceof b.y?E[0]:(0,T.J)(R)((0,v.n)(E,H))}},1086:(Y,U,w)=>{"use strict";w.d(U,{of:()=>v});var b=w(2866),i=w(3009),T=w(6454);function v(...C){let E=C[C.length-1];return(0,b.K)(E)?(C.pop(),(0,T.r)(C,E)):(0,i.n)(C)}},1946:(Y,U,w)=>{"use strict";w.d(U,{S3:()=>C});var b=w(6688),i=w(3009),T=w(826),v=w(9054);function C(...H){if(1===H.length){if(!(0,b.k)(H[0]))return H[0];H=H[0]}return(0,i.n)(H,void 0).lift(new E)}class E{call(B,N){return N.subscribe(new R(B))}}class R extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,N=B.length;if(0===N)this.destination.complete();else{for(let V=0;V{"use strict";w.d(U,{_:()=>i});var b=w(2916);function i(v,C){return new b.y(C?E=>C.schedule(T,0,{error:v,subscriber:E}):E=>E.error(v))}function T({error:v,subscriber:C}){C.error(v)}},7221:(Y,U,w)=>{"use strict";w.d(U,{K:()=>v});var b=w(826),i=w(1869),T=w(9054);function v(R){return function(B){const N=new C(R),V=B.lift(N);return N.caught=V}}class C{constructor(H){this.selector=H}call(H,B){return B.subscribe(new E(H,this.selector,this.caught))}}class E extends b.L{constructor(H,B,N){super(H),this.selector=B,this.caught=N}error(H){if(!this.isStopped){let B;try{B=this.selector(H,this.caught)}catch(J){return void super.error(J)}this._unsubscribeAndRecycle();const N=new i.d(this,void 0,void 0);this.add(N);const V=(0,T.D)(this,B,void 0,void 0,N);V!==N&&this.add(V)}}}},1406:(Y,U,w)=>{"use strict";w.d(U,{b:()=>i});var b=w(1709);function i(T,v){return(0,b.zg)(T,v,1)}},13:(Y,U,w)=>{"use strict";w.d(U,{b:()=>T});var b=w(3489),i=w(353);function T(R,H=i.P){return B=>B.lift(new v(R,H))}class v{constructor(H,B){this.dueTime=H,this.scheduler=B}call(H,B){return B.subscribe(new C(H,this.dueTime,this.scheduler))}}class C extends b.L{constructor(H,B,N){super(H),this.dueTime=B,this.scheduler=N,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(H){this.clearDebounce(),this.lastValue=H,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(E,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:H}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(H)}}clearDebounce(){const H=this.debouncedSubscription;null!==H&&(this.remove(H),H.unsubscribe(),this.debouncedSubscription=null)}}function E(R){R.debouncedNext()}},7314:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);function i(C=null){return E=>E.lift(new T(C))}class T{constructor(E){this.defaultValue=E}call(E,R){return R.subscribe(new v(E,this.defaultValue))}}class v extends b.L{constructor(E,R){super(E),this.defaultValue=R,this.isEmpty=!0}_next(E){this.isEmpty=!1,this.destination.next(E)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(Y,U,w)=>{"use strict";w.d(U,{g:()=>C});var b=w(353),i=w(2697),T=w(3489),v=w(9312);function C(B,N=b.P){const J=(0,i.J)(B)?+B-N.now():Math.abs(B);return X=>X.lift(new E(J,N))}class E{constructor(N,V){this.delay=N,this.scheduler=V}call(N,V){return V.subscribe(new R(N,this.delay,this.scheduler))}}class R extends T.L{constructor(N,V,J){super(N),this.delay=V,this.scheduler=J,this.queue=[],this.active=!1,this.errored=!1}static dispatch(N){const V=N.source,J=V.queue,X=N.scheduler,re=N.destination;for(;J.length>0&&J[0].time-X.now()<=0;)J.shift().notification.observe(re);if(J.length>0){const ee=Math.max(0,J[0].time-X.now());this.schedule(N,ee)}else this.unsubscribe(),V.active=!1}_schedule(N){this.active=!0,this.destination.add(N.schedule(R.dispatch,this.delay,{source:this,destination:this.destination,scheduler:N}))}scheduleNotification(N){if(!0===this.errored)return;const V=this.scheduler,J=new H(V.now()+this.delay,N);this.queue.push(J),!1===this.active&&this._schedule(V)}_next(N){this.scheduleNotification(v.P.createNext(N))}_error(N){this.errored=!0,this.queue=[],this.destination.error(N),this.unsubscribe()}_complete(){this.scheduleNotification(v.P.createComplete()),this.unsubscribe()}}class H{constructor(N,V){this.time=N,this.notification=V}}},2198:(Y,U,w)=>{"use strict";w.d(U,{h:()=>i});var b=w(3489);function i(C,E){return function(H){return H.lift(new T(C,E))}}class T{constructor(E,R){this.predicate=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.predicate,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.predicate=R,this.thisArg=H,this.count=0}_next(E){let R;try{R=this.predicate.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}R&&this.destination.next(E)}}},7224:(Y,U,w)=>{"use strict";w.d(U,{P:()=>R});var b=w(4450),i=w(2198),T=w(2986),v=w(7314),C=w(4907),E=w(5379);function R(H,B){const N=arguments.length>=2;return V=>V.pipe(H?(0,i.h)((J,X)=>H(J,X,V)):E.y,(0,T.q)(1),N?(0,v.d)(B):(0,C.T)(()=>new b.K))}},4850:(Y,U,w)=>{"use strict";w.d(U,{U:()=>i});var b=w(3489);function i(C,E){return function(H){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return H.lift(new T(C,E))}}class T{constructor(E,R){this.project=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.project,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.project=R,this.count=0,this.thisArg=H||this}_next(E){let R;try{R=this.project.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}this.destination.next(R)}}},9146:(Y,U,w)=>{"use strict";w.d(U,{J:()=>T});var b=w(1709),i=w(5379);function T(v=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,v)}},1709:(Y,U,w)=>{"use strict";w.d(U,{zg:()=>E});var b=w(9054),i=w(826),T=w(1869),v=w(4850),C=w(5254);function E(B,N,V=Number.POSITIVE_INFINITY){return"function"==typeof N?J=>J.pipe(E((X,re)=>(0,C.D)(B(X,re)).pipe((0,v.U)((ee,ae)=>N(X,ee,re,ae))),V)):("number"==typeof N&&(V=N),J=>J.lift(new R(B,V)))}class R{constructor(N,V=Number.POSITIVE_INFINITY){this.project=N,this.concurrent=V}call(N,V){return V.subscribe(new H(N,this.project,this.concurrent))}}class H extends i.L{constructor(N,V,J=Number.POSITIVE_INFINITY){super(N),this.project=V,this.concurrent=J,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(N){this.active0?this._next(V.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Y,U,w)=>{"use strict";w.d(U,{x:()=>i});var b=w(3489);function i(){return function(E){return E.lift(new T(E))}}class T{constructor(E){this.connectable=E}call(E,R){const{connectable:H}=this;H._refCount++;const B=new v(E,H),N=R.subscribe(B);return B.closed||(B.connection=H.connect()),N}}class v extends b.L{constructor(E,R){super(E),this.connectable=R}_unsubscribe(){const{connectable:E}=this;if(!E)return void(this.connection=null);this.connectable=null;const R=E._refCount;if(R<=0)return void(this.connection=null);if(E._refCount=R-1,R>1)return void(this.connection=null);const{connection:H}=this,B=E._connection;this.connection=null,B&&(!H||B===H)&&B.unsubscribe()}}},2474:(Y,U,w)=>{"use strict";w.d(U,{B:()=>R});var b=w(1762);class T{constructor(B,N){this.subjectFactory=B,this.selector=N}call(B,N){const{selector:V}=this,J=this.subjectFactory(),X=V(J).subscribe(B);return X.add(N.subscribe(J)),X}}var v=w(4327),C=w(8929);function E(){return new C.xQ}function R(){return H=>(0,v.x)()(function i(H,B){return function(V){let J;if(J="function"==typeof H?H:function(){return H},"function"==typeof B)return V.lift(new T(J,B));const X=Object.create(V,b.N);return X.source=V,X.subjectFactory=J,X}}(E)(H))}},7545:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(826),i=w(1869),T=w(9054),v=w(4850),C=w(5254);function E(B,N){return"function"==typeof N?V=>V.pipe(E((J,X)=>(0,C.D)(B(J,X)).pipe((0,v.U)((re,ee)=>N(J,re,X,ee))))):V=>V.lift(new R(B))}class R{constructor(N){this.project=N}call(N,V){return V.subscribe(new H(N,this.project))}}class H extends b.L{constructor(N,V){super(N),this.project=V,this.index=0}_next(N){let V;const J=this.index++;try{V=this.project(N,J)}catch(X){return void this.destination.error(X)}this._innerSub(V,N,J)}_innerSub(N,V,J){const X=this.innerSubscription;X&&X.unsubscribe();const re=new i.d(this,V,J),ee=this.destination;ee.add(re),this.innerSubscription=(0,T.D)(this,N,void 0,void 0,re),this.innerSubscription!==re&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:N}=this;(!N||N.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(N){this.destination.remove(N),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(N,V,J,X,re){this.destination.next(V)}}},2986:(Y,U,w)=>{"use strict";w.d(U,{q:()=>v});var b=w(3489),i=w(4231),T=w(8896);function v(R){return H=>0===R?(0,T.c)():H.lift(new C(R))}class C{constructor(H){if(this.total=H,this.total<0)throw new i.W}call(H,B){return B.subscribe(new E(H,this.total))}}class E extends b.L{constructor(H,B){super(H),this.total=B,this.count=0}_next(H){const B=this.total,N=++this.count;N<=B&&(this.destination.next(H),N===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(Y,U,w)=>{"use strict";w.d(U,{b:()=>v});var b=w(3489);function i(){}var T=w(7043);function v(R,H,B){return function(V){return V.lift(new C(R,H,B))}}class C{constructor(H,B,N){this.nextOrObserver=H,this.error=B,this.complete=N}call(H,B){return B.subscribe(new E(H,this.nextOrObserver,this.error,this.complete))}}class E extends b.L{constructor(H,B,N,V){super(H),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=N||i,this._tapComplete=V||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(H){try{this._tapNext.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.next(H)}_error(H){try{this._tapError.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.error(H)}_complete(){try{this._tapComplete.call(this._context)}catch(H){return void this.destination.error(H)}return this.destination.complete()}}},4907:(Y,U,w)=>{"use strict";w.d(U,{T:()=>T});var b=w(4450),i=w(3489);function T(R=E){return H=>H.lift(new v(R))}class v{constructor(H){this.errorFactory=H}call(H,B){return B.subscribe(new C(H,this.errorFactory))}}class C extends i.L{constructor(H,B){super(H),this.errorFactory=B,this.hasValue=!1}_next(H){this.hasValue=!0,this.destination.next(H)}_complete(){if(this.hasValue)return this.destination.complete();{let H;try{H=this.errorFactory()}catch(B){H=B}this.destination.error(H)}}}function E(){return new b.K}},6227:(Y,U,w)=>{"use strict";w.d(U,{V:()=>V});var b=w(353);const T=(()=>{function J(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return J.prototype=Object.create(Error.prototype),J})();var v=w(2697),C=w(826),E=w(9054);class H{constructor(X,re,ee,ae){this.waitFor=X,this.absoluteTimeout=re,this.withObservable=ee,this.scheduler=ae}call(X,re){return re.subscribe(new B(X,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends C.L{constructor(X,re,ee,ae,de){super(X),this.absoluteTimeout=re,this.waitFor=ee,this.withObservable=ae,this.scheduler=de,this.action=null,this.scheduleTimeout()}static dispatchTimeout(X){const{withObservable:re}=X;X._unsubscribeAndRecycle(),X.add((0,E.D)(X,re))}scheduleTimeout(){const{action:X}=this;X?this.action=X.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(X){this.absoluteTimeout||this.scheduleTimeout(),super._next(X)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var N=w(1737);function V(J,X=b.P){return function R(J,X,re=b.P){return ee=>{let ae=(0,v.J)(J),de=ae?+J-re.now():Math.abs(J);return ee.lift(new H(de,ae,X,re))}}(J,(0,N._)(new T),X)}},6454:(Y,U,w)=>{"use strict";w.d(U,{r:()=>T});var b=w(2916),i=w(2654);function T(v,C){return new b.y(E=>{const R=new i.w;let H=0;return R.add(C.schedule(function(){H!==v.length?(E.next(v[H++]),E.closed||R.add(this.schedule())):E.complete()})),R})}},6686:(Y,U,w)=>{"use strict";w.d(U,{o:()=>T});var b=w(2654);class i extends b.w{constructor(C,E){super()}schedule(C,E=0){return this}}class T extends i{constructor(C,E){super(C,E),this.scheduler=C,this.work=E,this.pending=!1}schedule(C,E=0){if(this.closed)return this;this.state=C;const R=this.id,H=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(H,R,E)),this.pending=!0,this.delay=E,this.id=this.id||this.requestAsyncId(H,this.id,E),this}requestAsyncId(C,E,R=0){return setInterval(C.flush.bind(C,this),R)}recycleAsyncId(C,E,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return E;clearInterval(E)}execute(C,E){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(C,E);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(C,E){let H,R=!1;try{this.work(C)}catch(B){R=!0,H=!!B&&B||new Error(B)}if(R)return this.unsubscribe(),H}_unsubscribe(){const C=this.id,E=this.scheduler,R=E.actions,H=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==H&&R.splice(H,1),null!=C&&(this.id=this.recycleAsyncId(E,C,null)),this.delay=null}}},2268:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=(()=>{class T{constructor(C,E=T.now){this.SchedulerAction=C,this.now=E}schedule(C,E=0,R){return new this.SchedulerAction(this,C).schedule(R,E)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(v,C=b.now){super(v,()=>i.delegate&&i.delegate!==this?i.delegate.now():C()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(v,C=0,E){return i.delegate&&i.delegate!==this?i.delegate.schedule(v,C,E):super.schedule(v,C,E)}flush(v){const{actions:C}=this;if(this.active)return void C.push(v);let E;this.active=!0;do{if(E=v.execute(v.state,v.delay))break}while(v=C.shift());if(this.active=!1,E){for(;v=C.shift();)v.unsubscribe();throw E}}}},353:(Y,U,w)=>{"use strict";w.d(U,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(Y,U,w)=>{"use strict";w.d(U,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Y,U,w)=>{"use strict";w.d(U,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Y,U,w)=>{"use strict";w.d(U,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(Y,U,w)=>{"use strict";w.d(U,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(Y,U,w)=>{"use strict";w.d(U,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(Y,U,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(U,{z:()=>b})},5379:(Y,U,w)=>{"use strict";function b(i){return i}w.d(U,{y:()=>b})},6688:(Y,U,w)=>{"use strict";w.d(U,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(Y,U,w)=>{"use strict";w.d(U,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(Y,U,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(U,{J:()=>b})},7043:(Y,U,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(U,{m:()=>b})},7830:(Y,U,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(U,{K:()=>b})},8955:(Y,U,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(U,{t:()=>b})},2866:(Y,U,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(U,{K:()=>b})},9249:(Y,U,w)=>{"use strict";w.d(U,{s:()=>V});var b=w(3650),i=w(2782),v=w(5430),E=w(3821),H=w(8515),B=w(8955),N=w(7830);const V=J=>{if(J&&"function"==typeof J[E.L])return(J=>X=>{const re=J[E.L]();if("function"!=typeof re.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return re.subscribe(X)})(J);if((0,H.z)(J))return(0,b.V)(J);if((0,B.t)(J))return(J=>X=>(J.then(re=>{X.closed||(X.next(re),X.complete())},re=>X.error(re)).then(null,i.z),X))(J);if(J&&"function"==typeof J[v.hZ])return(J=>X=>{const re=J[v.hZ]();for(;;){const ee=re.next();if(ee.done){X.complete();break}if(X.next(ee.value),X.closed)break}return"function"==typeof re.return&&X.add(()=>{re.return&&re.return()}),X})(J);{const re=`You provided ${(0,N.K)(J)?"an invalid object":`'${J}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(re)}}},3650:(Y,U,w)=>{"use strict";w.d(U,{V:()=>b});const b=i=>T=>{for(let v=0,C=i.length;v{"use strict";w.d(U,{D:()=>v});var b=w(1869),i=w(9249),T=w(2916);function v(C,E,R,H,B=new b.d(C,R,H)){if(!B.closed)return E instanceof T.y?E.subscribe(B):(0,i.s)(E)(B)}},6700:(Y,U,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(v){var C=T(v);return w(C)}function T(v){if(!w.o(b,v)){var C=new Error("Cannot find module '"+v+"'");throw C.code="MODULE_NOT_FOUND",C}return b[v]}i.keys=function(){return Object.keys(b)},i.resolve=T,Y.exports=i,i.id=6700},655:(Y,U,w)=>{"use strict";function H(ue,fe,_e,ge){return new(_e||(_e=Promise))(function(he,bt){function qt(lt){try{Xe(ge.next(lt))}catch(Nn){bt(Nn)}}function _i(lt){try{Xe(ge.throw(lt))}catch(Nn){bt(Nn)}}function Xe(lt){lt.done?he(lt.value):function xe(he){return he instanceof _e?he:new _e(function(bt){bt(he)})}(lt.value).then(qt,_i)}Xe((ge=ge.apply(ue,fe||[])).next())})}w.d(U,{mG:()=>H})},9808:(Y,U,w)=>{"use strict";w.d(U,{mr:()=>Oe,Ov:()=>un,ez:()=>Ur,K0:()=>R,uU:()=>Ui,Do:()=>Pt,V_:()=>N,Ye:()=>xt,S$:()=>de,mk:()=>Oo,sg:()=>ln,O5:()=>Un,PC:()=>ar,RF:()=>Cn,n9:()=>Vn,ED:()=>ja,tP:()=>Ps,b0:()=>Ve,lw:()=>H,EM:()=>lr,JF:()=>ni,p6:()=>wt,NF:()=>_n,w_:()=>E,bD:()=>qa,q:()=>T,Mx:()=>Ya,HT:()=>C});var b=w(5e3);let i=null;function T(){return i}function C(P){i||(i=P)}class E{}const R=new b.OlP("DocumentToken");let H=(()=>{class P{historyGo(O){throw new Error("Not implemented")}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function B(){return(0,b.LFG)(V)}()},providedIn:"platform"}),P})();const N=new b.OlP("Location Initialized");let V=(()=>{class P extends H{constructor(O){super(),this._doc=O,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(O){const $=T().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",O,!1),()=>$.removeEventListener("popstate",O)}onHashChange(O){const $=T().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",O,!1),()=>$.removeEventListener("hashchange",O)}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(O){this.location.pathname=O}pushState(O,$,ie){J()?this._history.pushState(O,$,ie):this.location.hash=ie}replaceState(O,$,ie){J()?this._history.replaceState(O,$,ie):this.location.hash=ie}forward(){this._history.forward()}back(){this._history.back()}historyGo(O=0){this._history.go(O)}getState(){return this._history.state}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(R))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function X(){return new V((0,b.LFG)(R))}()},providedIn:"platform"}),P})();function J(){return!!window.history.pushState}function re(P,q){if(0==P.length)return q;if(0==q.length)return P;let O=0;return P.endsWith("/")&&O++,q.startsWith("/")&&O++,2==O?P+q.substring(1):1==O?P+q:P+"/"+q}function ee(P){const q=P.match(/#|\?|$/),O=q&&q.index||P.length;return P.slice(0,O-("/"===P[O-1]?1:0))+P.slice(O)}function ae(P){return P&&"?"!==P[0]?"?"+P:P}let de=(()=>{class P{historyGo(O){throw new Error("Not implemented")}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function Ie(P){const q=(0,b.LFG)(R).location;return new Ve((0,b.LFG)(H),q&&q.origin||"")}()},providedIn:"root"}),P})();const Oe=new b.OlP("appBaseHref");let Ve=(()=>{class P extends de{constructor(O,$){if(super(),this._platformLocation=O,this._removeListenerFns=[],null==$&&($=this._platformLocation.getBaseHrefFromDOM()),null==$)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=$}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}prepareExternalUrl(O){return re(this._baseHref,O)}path(O=!1){const $=this._platformLocation.pathname+ae(this._platformLocation.search),ie=this._platformLocation.hash;return ie&&O?`${$}${ie}`:$}pushState(O,$,ie,pe){const be=this.prepareExternalUrl(ie+ae(pe));this._platformLocation.pushState(O,$,be)}replaceState(O,$,ie,pe){const be=this.prepareExternalUrl(ie+ae(pe));this._platformLocation.replaceState(O,$,be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformLocation).historyGo)||void 0===ie||ie.call($,O)}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(H),b.LFG(Oe,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),Pt=(()=>{class P extends de{constructor(O,$){super(),this._platformLocation=O,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}path(O=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(O){const $=re(this._baseHref,O);return $.length>0?"#"+$:$}pushState(O,$,ie,pe){let be=this.prepareExternalUrl(ie+ae(pe));0==be.length&&(be=this._platformLocation.pathname),this._platformLocation.pushState(O,$,be)}replaceState(O,$,ie,pe){let be=this.prepareExternalUrl(ie+ae(pe));0==be.length&&(be=this._platformLocation.pathname),this._platformLocation.replaceState(O,$,be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformLocation).historyGo)||void 0===ie||ie.call($,O)}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(H),b.LFG(Oe,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),xt=(()=>{class P{constructor(O,$){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=O;const ie=this._platformStrategy.getBaseHref();this._platformLocation=$,this._baseHref=ee(yt(ie)),this._platformStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}path(O=!1){return this.normalize(this._platformStrategy.path(O))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(O,$=""){return this.path()==this.normalize(O+ae($))}normalize(O){return P.stripTrailingSlash(function an(P,q){return P&&q.startsWith(P)?q.substring(P.length):q}(this._baseHref,yt(O)))}prepareExternalUrl(O){return O&&"/"!==O[0]&&(O="/"+O),this._platformStrategy.prepareExternalUrl(O)}go(O,$="",ie=null){this._platformStrategy.pushState(ie,"",O,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae($)),ie)}replaceState(O,$="",ie=null){this._platformStrategy.replaceState(ie,"",O,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae($)),ie)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformStrategy).historyGo)||void 0===ie||ie.call($,O)}onUrlChange(O){this._urlChangeListeners.push(O),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)}))}_notifyUrlChangeListeners(O="",$){this._urlChangeListeners.forEach(ie=>ie(O,$))}subscribe(O,$,ie){return this._subject.subscribe({next:O,error:$,complete:ie})}}return P.normalizeQueryParams=ae,P.joinWithSlash=re,P.stripTrailingSlash=ee,P.\u0275fac=function(O){return new(O||P)(b.LFG(de),b.LFG(H))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function We(){return new xt((0,b.LFG)(de),(0,b.LFG)(H))}()},providedIn:"root"}),P})();function yt(P){return P.replace(/\/index.html$/,"")}var fe=(()=>((fe=fe||{})[fe.Zero=0]="Zero",fe[fe.One=1]="One",fe[fe.Two=2]="Two",fe[fe.Few=3]="Few",fe[fe.Many=4]="Many",fe[fe.Other=5]="Other",fe))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),ge=(()=>((ge=ge||{})[ge.Narrow=0]="Narrow",ge[ge.Abbreviated=1]="Abbreviated",ge[ge.Wide=2]="Wide",ge[ge.Short=3]="Short",ge))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),he=(()=>((he=he||{})[he.Decimal=0]="Decimal",he[he.Group=1]="Group",he[he.List=2]="List",he[he.PercentSign=3]="PercentSign",he[he.PlusSign=4]="PlusSign",he[he.MinusSign=5]="MinusSign",he[he.Exponential=6]="Exponential",he[he.SuperscriptingExponent=7]="SuperscriptingExponent",he[he.PerMille=8]="PerMille",he[he.Infinity=9]="Infinity",he[he.NaN=10]="NaN",he[he.TimeSeparator=11]="TimeSeparator",he[he.CurrencyDecimal=12]="CurrencyDecimal",he[he.CurrencyGroup=13]="CurrencyGroup",he))();function ri(P,q){return Hi((0,b.cg1)(P)[b.wAp.DateFormat],q)}function Ro(P,q){return Hi((0,b.cg1)(P)[b.wAp.TimeFormat],q)}function xn(P,q){return Hi((0,b.cg1)(P)[b.wAp.DateTimeFormat],q)}function Yi(P,q){const O=(0,b.cg1)(P),$=O[b.wAp.NumberSymbols][q];if(void 0===$){if(q===he.CurrencyDecimal)return O[b.wAp.NumberSymbols][he.Decimal];if(q===he.CurrencyGroup)return O[b.wAp.NumberSymbols][he.Group]}return $}const eo=b.kL8;function Lo(P){if(!P[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Hi(P,q){for(let O=q;O>-1;O--)if(void 0!==P[O])return P[O];throw new Error("Locale data API: locale data undefined")}function Wt(P){const[q,O]=P.split(":");return{hours:+q,minutes:+O}}const ne=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},Se=/((?:[^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 He=(()=>((He=He||{})[He.Short=0]="Short",He[He.ShortGMT=1]="ShortGMT",He[He.Long=2]="Long",He[He.Extended=3]="Extended",He))(),Ae=(()=>((Ae=Ae||{})[Ae.FullYear=0]="FullYear",Ae[Ae.Month=1]="Month",Ae[Ae.Date=2]="Date",Ae[Ae.Hours=3]="Hours",Ae[Ae.Minutes=4]="Minutes",Ae[Ae.Seconds=5]="Seconds",Ae[Ae.FractionalSeconds=6]="FractionalSeconds",Ae[Ae.Day=7]="Day",Ae))(),je=(()=>((je=je||{})[je.DayPeriods=0]="DayPeriods",je[je.Days=1]="Days",je[je.Months=2]="Months",je[je.Eras=3]="Eras",je))();function wt(P,q,O,$){let ie=function Pe(P){if(sn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ie,pe=1,be=1]=P.split("-").map(Ze=>+Ze);return Ei(ie,pe-1,be)}const O=parseFloat(P);if(!isNaN(P-O))return new Date(O);let $;if($=P.match(ne))return function yi(P){const q=new Date(0);let O=0,$=0;const ie=P[8]?q.setUTCFullYear:q.setFullYear,pe=P[8]?q.setUTCHours:q.setHours;P[9]&&(O=Number(P[9]+P[10]),$=Number(P[9]+P[11])),ie.call(q,Number(P[1]),Number(P[2])-1,Number(P[3]));const be=Number(P[4]||0)-O,Ze=Number(P[5]||0)-$,Xt=Number(P[6]||0),Yt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return pe.call(q,be,Ze,Xt,Yt),q}($)}const q=new Date(P);if(!sn(q))throw new Error(`Unable to convert "${P}" into a date`);return q}(P);q=Rt(O,q)||q;let Ze,be=[];for(;q;){if(Ze=Se.exec(q),!Ze){be.push(q);break}{be=be.concat(Ze.slice(1));const Mt=be.pop();if(!Mt)break;q=Mt}}let Xt=ie.getTimezoneOffset();$&&(Xt=or($,Xt),ie=function D(P,q,O){const $=O?-1:1,ie=P.getTimezoneOffset();return function Br(P,q){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+q),P}(P,$*(or(q,ie)-ie))}(ie,$,!0));let Yt="";return be.forEach(Mt=>{const Nt=function sr(P){if(Yn[P])return Yn[P];let q;switch(P){case"G":case"GG":case"GGG":q=zt(je.Eras,ge.Abbreviated);break;case"GGGG":q=zt(je.Eras,ge.Wide);break;case"GGGGG":q=zt(je.Eras,ge.Narrow);break;case"y":q=Ue(Ae.FullYear,1,0,!1,!0);break;case"yy":q=Ue(Ae.FullYear,2,0,!0,!0);break;case"yyy":q=Ue(Ae.FullYear,3,0,!1,!0);break;case"yyyy":q=Ue(Ae.FullYear,4,0,!1,!0);break;case"Y":q=io(1);break;case"YY":q=io(2,!0);break;case"YYY":q=io(3);break;case"YYYY":q=io(4);break;case"M":case"L":q=Ue(Ae.Month,1,1);break;case"MM":case"LL":q=Ue(Ae.Month,2,1);break;case"MMM":q=zt(je.Months,ge.Abbreviated);break;case"MMMM":q=zt(je.Months,ge.Wide);break;case"MMMMM":q=zt(je.Months,ge.Narrow);break;case"LLL":q=zt(je.Months,ge.Abbreviated,_e.Standalone);break;case"LLLL":q=zt(je.Months,ge.Wide,_e.Standalone);break;case"LLLLL":q=zt(je.Months,ge.Narrow,_e.Standalone);break;case"w":q=to(1);break;case"ww":q=to(2);break;case"W":q=to(1,!0);break;case"d":q=Ue(Ae.Date,1);break;case"dd":q=Ue(Ae.Date,2);break;case"c":case"cc":q=Ue(Ae.Day,1);break;case"ccc":q=zt(je.Days,ge.Abbreviated,_e.Standalone);break;case"cccc":q=zt(je.Days,ge.Wide,_e.Standalone);break;case"ccccc":q=zt(je.Days,ge.Narrow,_e.Standalone);break;case"cccccc":q=zt(je.Days,ge.Short,_e.Standalone);break;case"E":case"EE":case"EEE":q=zt(je.Days,ge.Abbreviated);break;case"EEEE":q=zt(je.Days,ge.Wide);break;case"EEEEE":q=zt(je.Days,ge.Narrow);break;case"EEEEEE":q=zt(je.Days,ge.Short);break;case"a":case"aa":case"aaa":q=zt(je.DayPeriods,ge.Abbreviated);break;case"aaaa":q=zt(je.DayPeriods,ge.Wide);break;case"aaaaa":q=zt(je.DayPeriods,ge.Narrow);break;case"b":case"bb":case"bbb":q=zt(je.DayPeriods,ge.Abbreviated,_e.Standalone,!0);break;case"bbbb":q=zt(je.DayPeriods,ge.Wide,_e.Standalone,!0);break;case"bbbbb":q=zt(je.DayPeriods,ge.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":q=zt(je.DayPeriods,ge.Abbreviated,_e.Format,!0);break;case"BBBB":q=zt(je.DayPeriods,ge.Wide,_e.Format,!0);break;case"BBBBB":q=zt(je.DayPeriods,ge.Narrow,_e.Format,!0);break;case"h":q=Ue(Ae.Hours,1,-12);break;case"hh":q=Ue(Ae.Hours,2,-12);break;case"H":q=Ue(Ae.Hours,1);break;case"HH":q=Ue(Ae.Hours,2);break;case"m":q=Ue(Ae.Minutes,1);break;case"mm":q=Ue(Ae.Minutes,2);break;case"s":q=Ue(Ae.Seconds,1);break;case"ss":q=Ue(Ae.Seconds,2);break;case"S":q=Ue(Ae.FractionalSeconds,1);break;case"SS":q=Ue(Ae.FractionalSeconds,2);break;case"SSS":q=Ue(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":q=is(He.Short);break;case"ZZZZZ":q=is(He.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":q=is(He.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":q=is(He.Long);break;default:return null}return Yn[P]=q,q}(Mt);Yt+=Nt?Nt(ie,O,Xt):"''"===Mt?"'":Mt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Yt}function Ei(P,q,O){const $=new Date(0);return $.setFullYear(P,q,O),$.setHours(0,0,0),$}function Rt(P,q){const O=function qt(P){return(0,b.cg1)(P)[b.wAp.LocaleId]}(P);if(Ee[O]=Ee[O]||{},Ee[O][q])return Ee[O][q];let $="";switch(q){case"shortDate":$=ri(P,xe.Short);break;case"mediumDate":$=ri(P,xe.Medium);break;case"longDate":$=ri(P,xe.Long);break;case"fullDate":$=ri(P,xe.Full);break;case"shortTime":$=Ro(P,xe.Short);break;case"mediumTime":$=Ro(P,xe.Medium);break;case"longTime":$=Ro(P,xe.Long);break;case"fullTime":$=Ro(P,xe.Full);break;case"short":const ie=Rt(P,"shortTime"),pe=Rt(P,"shortDate");$=Rs(xn(P,xe.Short),[ie,pe]);break;case"medium":const be=Rt(P,"mediumTime"),Ze=Rt(P,"mediumDate");$=Rs(xn(P,xe.Medium),[be,Ze]);break;case"long":const Xt=Rt(P,"longTime"),Yt=Rt(P,"longDate");$=Rs(xn(P,xe.Long),[Xt,Yt]);break;case"full":const Mt=Rt(P,"fullTime"),Nt=Rt(P,"fullDate");$=Rs(xn(P,xe.Full),[Mt,Nt])}return $&&(Ee[O][q]=$),$}function Rs(P,q){return q&&(P=P.replace(/\{([^}]+)}/g,function(O,$){return null!=q&&$ in q?q[$]:O})),P}function Di(P,q,O="-",$,ie){let pe="";(P<0||ie&&P<=0)&&(ie?P=1-P:(P=-P,pe=O));let be=String(P);for(;be.length0||Ze>-O)&&(Ze+=O),P===Ae.Hours)0===Ze&&-12===O&&(Ze=12);else if(P===Ae.FractionalSeconds)return function tt(P,q){return Di(P,3).substr(0,q)}(Ze,q);const Xt=Yi(be,he.MinusSign);return Di(Ze,q,Xt,$,ie)}}function zt(P,q,O=_e.Format,$=!1){return function(ie,pe){return function pt(P,q,O,$,ie,pe){switch(O){case je.Months:return function lt(P,q,O){const $=(0,b.cg1)(P),pe=Hi([$[b.wAp.MonthsFormat],$[b.wAp.MonthsStandalone]],q);return Hi(pe,O)}(q,ie,$)[P.getMonth()];case je.Days:return function Xe(P,q,O){const $=(0,b.cg1)(P),pe=Hi([$[b.wAp.DaysFormat],$[b.wAp.DaysStandalone]],q);return Hi(pe,O)}(q,ie,$)[P.getDay()];case je.DayPeriods:const be=P.getHours(),Ze=P.getMinutes();if(pe){const Yt=function uu(P){const q=(0,b.cg1)(P);return Lo(q),(q[b.wAp.ExtraData][2]||[]).map($=>"string"==typeof $?Wt($):[Wt($[0]),Wt($[1])])}(q),Mt=function ut(P,q,O){const $=(0,b.cg1)(P);Lo($);const pe=Hi([$[b.wAp.ExtraData][0],$[b.wAp.ExtraData][1]],q)||[];return Hi(pe,O)||[]}(q,ie,$),Nt=Yt.findIndex(zi=>{if(Array.isArray(zi)){const[hi,ci]=zi,uo=be>=hi.hours&&Ze>=hi.minutes,ps=be0?Math.floor(ie/60):Math.ceil(ie/60);switch(P){case He.Short:return(ie>=0?"+":"")+Di(be,2,pe)+Di(Math.abs(ie%60),2,pe);case He.ShortGMT:return"GMT"+(ie>=0?"+":"")+Di(be,1,pe);case He.Long:return"GMT"+(ie>=0?"+":"")+Di(be,2,pe)+":"+Di(Math.abs(ie%60),2,pe);case He.Extended:return 0===$?"Z":(ie>=0?"+":"")+Di(be,2,pe)+":"+Di(Math.abs(ie%60),2,pe);default:throw new Error(`Unknown zone width "${P}"`)}}}function Io(P){return Ei(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function to(P,q=!1){return function(O,$){let ie;if(q){const pe=new Date(O.getFullYear(),O.getMonth(),1).getDay()-1,be=O.getDate();ie=1+Math.floor((be+pe)/7)}else{const pe=Io(O),be=function nl(P){const q=Ei(P,0,1).getDay();return Ei(P,0,1+(q<=4?4:11)-q)}(pe.getFullYear()),Ze=pe.getTime()-be.getTime();ie=1+Math.round(Ze/6048e5)}return Di(ie,P,Yi($,he.MinusSign))}}function io(P,q=!1){return function(O,$){return Di(Io(O).getFullYear(),P,Yi($,he.MinusSign),q)}}const Yn={};function or(P,q){P=P.replace(/:/g,"");const O=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(O)?q:O}function sn(P){return P instanceof Date&&!isNaN(P.valueOf())}class $t{}let no=(()=>{class P extends $t{constructor(O){super(),this.locale=O}getPluralCategory(O,$){switch(eo($||this.locale)(O)){case fe.Zero:return"zero";case fe.One:return"one";case fe.Two:return"two";case fe.Few:return"few";case fe.Many:return"many";default:return"other"}}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(b.soG))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})();function Ya(P,q){q=encodeURIComponent(q);for(const O of P.split(";")){const $=O.indexOf("="),[ie,pe]=-1==$?[O,""]:[O.slice(0,$),O.slice($+1)];if(ie.trim()===q)return decodeURIComponent(pe)}return null}let Oo=(()=>{class P{constructor(O,$,ie,pe){this._iterableDiffers=O,this._keyValueDiffers=$,this._ngEl=ie,this._renderer=pe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(O){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof O?O.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(O){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof O?O.split(/\s+/):O,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const O=this._iterableDiffer.diff(this._rawClass);O&&this._applyIterableChanges(O)}else if(this._keyValueDiffer){const O=this._keyValueDiffer.diff(this._rawClass);O&&this._applyKeyValueChanges(O)}}_applyKeyValueChanges(O){O.forEachAddedItem($=>this._toggleClass($.key,$.currentValue)),O.forEachChangedItem($=>this._toggleClass($.key,$.currentValue)),O.forEachRemovedItem($=>{$.previousValue&&this._toggleClass($.key,!1)})}_applyIterableChanges(O){O.forEachAddedItem($=>{if("string"!=typeof $.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)($.item)}`);this._toggleClass($.item,!0)}),O.forEachRemovedItem($=>this._toggleClass($.item,!1))}_applyClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach($=>this._toggleClass($,!0)):Object.keys(O).forEach($=>this._toggleClass($,!!O[$])))}_removeClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach($=>this._toggleClass($,!1)):Object.keys(O).forEach($=>this._toggleClass($,!1)))}_toggleClass(O,$){(O=O.trim())&&O.split(/\s+/g).forEach(ie=>{$?this._renderer.addClass(this._ngEl.nativeElement,ie):this._renderer.removeClass(this._ngEl.nativeElement,ie)})}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class rr{constructor(q,O,$,ie){this.$implicit=q,this.ngForOf=O,this.index=$,this.count=ie}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 ln=(()=>{class P{constructor(O,$,ie){this._viewContainer=O,this._template=$,this._differs=ie,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(O){this._ngForOf=O,this._ngForOfDirty=!0}set ngForTrackBy(O){this._trackByFn=O}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(O){O&&(this._template=O)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const O=this._ngForOf;!this._differ&&O&&(this._differ=this._differs.find(O).create(this.ngForTrackBy))}if(this._differ){const O=this._differ.diff(this._ngForOf);O&&this._applyChanges(O)}}_applyChanges(O){const $=this._viewContainer;O.forEachOperation((ie,pe,be)=>{if(null==ie.previousIndex)$.createEmbeddedView(this._template,new rr(ie.item,this._ngForOf,-1,-1),null===be?void 0:be);else if(null==be)$.remove(null===pe?void 0:pe);else if(null!==pe){const Ze=$.get(pe);$.move(Ze,be),Ho(Ze,ie)}});for(let ie=0,pe=$.length;ie{Ho($.get(ie.currentIndex),ie)})}static ngTemplateContextGuard(O,$){return!0}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function Ho(P,q){P.context.$implicit=q.item}let Un=(()=>{class P{constructor(O,$){this._viewContainer=O,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(O){this._context.$implicit=this._context.ngIf=O,this._updateView()}set ngIfThen(O){ol("ngIfThen",O),this._thenTemplateRef=O,this._thenViewRef=null,this._updateView()}set ngIfElse(O){ol("ngIfElse",O),this._elseTemplateRef=O,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(O,$){return!0}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function ol(P,q){if(q&&!q.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,b.AaK)(q)}'.`)}class Fo{constructor(q,O){this._viewContainerRef=q,this._templateRef=O,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(q){q&&!this._created?this.create():!q&&this._created&&this.destroy()}}let Cn=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(O){this._ngSwitch=O,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(O){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(O)}_matchCase(O){const $=O==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(O){if(this._defaultViews&&O!==this._defaultUsed){this._defaultUsed=O;for(let $=0;${class P{constructor(O,$,ie){this.ngSwitch=ie,ie._addCase(),this._view=new Fo(O,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),ja=(()=>{class P{constructor(O,$,ie){ie._addDefault(new Fo(O,$))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),ar=(()=>{class P{constructor(O,$,ie){this._ngEl=O,this._differs=$,this._renderer=ie,this._ngStyle=null,this._differ=null}set ngStyle(O){this._ngStyle=O,!this._differ&&O&&(this._differ=this._differs.find(O).create())}ngDoCheck(){if(this._differ){const O=this._differ.diff(this._ngStyle);O&&this._applyChanges(O)}}_setStyle(O,$){const[ie,pe]=O.split(".");null!=($=null!=$&&pe?`${$}${pe}`:$)?this._renderer.setStyle(this._ngEl.nativeElement,ie,$):this._renderer.removeStyle(this._ngEl.nativeElement,ie)}_applyChanges(O){O.forEachRemovedItem($=>this._setStyle($.key,null)),O.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),O.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})(),Ps=(()=>{class P{constructor(O){this._viewContainerRef=O,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(O){if(O.ngTemplateOutlet){const $=this._viewContainerRef;this._viewRef&&$.remove($.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?$.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&O.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[b.TTD]}),P})();function ss(P,q){return new b.vHH(2100,"")}class eh{createSubscription(q,O){return q.subscribe({next:O,error:$=>{throw $}})}dispose(q){q.unsubscribe()}onDestroy(q){q.unsubscribe()}}class Tt{createSubscription(q,O){return q.then(O,$=>{throw $})}dispose(q){}onDestroy(q){}}const oo=new Tt,Kt=new eh;let un=(()=>{class P{constructor(O){this._ref=O,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(O){return this._obj?O!==this._obj?(this._dispose(),this.transform(O)):this._latestValue:(O&&this._subscribe(O),this._latestValue)}_subscribe(O){this._obj=O,this._strategy=this._selectStrategy(O),this._subscription=this._strategy.createSubscription(O,$=>this._updateLatestValue(O,$))}_selectStrategy(O){if((0,b.QGY)(O))return oo;if((0,b.F4k)(O))return Kt;throw ss()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(O,$){O===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.sBO,16))},P.\u0275pipe=b.Yjl({name:"async",type:P,pure:!1}),P})();const jr=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ui=(()=>{class P{constructor(O,$){this.locale=O,this.defaultTimezone=$}transform(O,$="mediumDate",ie,pe){var be;if(null==O||""===O||O!=O)return null;try{return wt(O,$,pe||this.locale,null!==(be=null!=ie?ie:this.defaultTimezone)&&void 0!==be?be:void 0)}catch(Ze){throw ss()}}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.soG,16),b.Y36(jr,24))},P.\u0275pipe=b.Yjl({name:"date",type:P,pure:!0}),P})(),Ur=(()=>{class P{}return P.\u0275fac=function(O){return new(O||P)},P.\u0275mod=b.oAB({type:P}),P.\u0275inj=b.cJS({providers:[{provide:$t,useClass:no}]}),P})();const qa="browser";function _n(P){return P===qa}let lr=(()=>{class P{}return P.\u0275prov=(0,b.Yz7)({token:P,providedIn:"root",factory:()=>new co((0,b.LFG)(R),window)}),P})();class co{constructor(q,O){this.document=q,this.window=O,this.offset=()=>[0,0]}setOffset(q){this.offset=Array.isArray(q)?()=>q:q}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(q){this.supportsScrolling()&&this.window.scrollTo(q[0],q[1])}scrollToAnchor(q){if(!this.supportsScrolling())return;const O=function Vi(P,q){const O=P.getElementById(q)||P.getElementsByName(q)[0];if(O)return O;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const $=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ie=$.currentNode;for(;ie;){const pe=ie.shadowRoot;if(pe){const be=pe.getElementById(q)||pe.querySelector(`[name="${q}"]`);if(be)return be}ie=$.nextNode()}}return null}(this.document,q);O&&(this.scrollToElement(O),O.focus())}setHistoryScrollRestoration(q){if(this.supportScrollRestoration()){const O=this.window.history;O&&O.scrollRestoration&&(O.scrollRestoration=q)}}scrollToElement(q){const O=q.getBoundingClientRect(),$=O.left+this.window.pageXOffset,ie=O.top+this.window.pageYOffset,pe=this.offset();this.window.scrollTo($-pe[0],ie-pe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const q=lo(this.window.history)||lo(Object.getPrototypeOf(this.window.history));return!(!q||!q.writable&&!q.set)}catch(q){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(q){return!1}}}function lo(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class ni{}},520:(Y,U,w)=>{"use strict";w.d(U,{TP:()=>qt,eN:()=>he,JF:()=>Hi,WM:()=>N,LE:()=>de,Zn:()=>_e});var b=w(9808),i=w(5e3),T=w(1086),v=w(2916),C=w(1406),E=w(2198),R=w(4850);class H{}class B{}class N{constructor(oe){this.normalizedNames=new Map,this.lazyUpdate=null,oe?this.lazyInit="string"==typeof oe?()=>{this.headers=new Map,oe.split("\n").forEach(ne=>{const Ee=ne.indexOf(":");if(Ee>0){const Se=ne.slice(0,Ee),He=Se.toLowerCase(),Ae=ne.slice(Ee+1).trim();this.maybeSetNormalizedName(Se,He),this.headers.has(He)?this.headers.get(He).push(Ae):this.headers.set(He,[Ae])}})}:()=>{this.headers=new Map,Object.keys(oe).forEach(ne=>{let Ee=oe[ne];const Se=ne.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(Se,Ee),this.maybeSetNormalizedName(ne,Se))})}:this.headers=new Map}has(oe){return this.init(),this.headers.has(oe.toLowerCase())}get(oe){this.init();const ne=this.headers.get(oe.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(oe){return this.init(),this.headers.get(oe.toLowerCase())||null}append(oe,ne){return this.clone({name:oe,value:ne,op:"a"})}set(oe,ne){return this.clone({name:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({name:oe,value:ne,op:"d"})}maybeSetNormalizedName(oe,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,oe)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(oe=>this.applyUpdate(oe)),this.lazyUpdate=null))}copyFrom(oe){oe.init(),Array.from(oe.headers.keys()).forEach(ne=>{this.headers.set(ne,oe.headers.get(ne)),this.normalizedNames.set(ne,oe.normalizedNames.get(ne))})}clone(oe){const ne=new N;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([oe]),ne}applyUpdate(oe){const ne=oe.name.toLowerCase();switch(oe.op){case"a":case"s":let Ee=oe.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(oe.name,ne);const Se=("a"===oe.op?this.headers.get(ne):void 0)||[];Se.push(...Ee),this.headers.set(ne,Se);break;case"d":const He=oe.value;if(He){let Ae=this.headers.get(ne);if(!Ae)return;Ae=Ae.filter(je=>-1===He.indexOf(je)),0===Ae.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,Ae)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}forEach(oe){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>oe(this.normalizedNames.get(ne),this.headers.get(ne)))}}class V{encodeKey(oe){return ee(oe)}encodeValue(oe){return ee(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}const X=/%(\d[a-f0-9])/gi,re={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(ve){return encodeURIComponent(ve).replace(X,(oe,ne)=>{var Ee;return null!==(Ee=re[ne])&&void 0!==Ee?Ee:oe})}function ae(ve){return`${ve}`}class de{constructor(oe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=oe.encoder||new V,oe.fromString){if(oe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function J(ve,oe){const ne=new Map;return ve.length>0&&ve.replace(/^\?/,"").split("&").forEach(Se=>{const He=Se.indexOf("="),[Ae,je]=-1==He?[oe.decodeKey(Se),""]:[oe.decodeKey(Se.slice(0,He)),oe.decodeValue(Se.slice(He+1))],wt=ne.get(Ae)||[];wt.push(je),ne.set(Ae,wt)}),ne}(oe.fromString,this.encoder)}else oe.fromObject?(this.map=new Map,Object.keys(oe.fromObject).forEach(ne=>{const Ee=oe.fromObject[ne];this.map.set(ne,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(oe){return this.init(),this.map.has(oe)}get(oe){this.init();const ne=this.map.get(oe);return ne?ne[0]:null}getAll(oe){return this.init(),this.map.get(oe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(oe,ne){return this.clone({param:oe,value:ne,op:"a"})}appendAll(oe){const ne=[];return Object.keys(oe).forEach(Ee=>{const Se=oe[Ee];Array.isArray(Se)?Se.forEach(He=>{ne.push({param:Ee,value:He,op:"a"})}):ne.push({param:Ee,value:Se,op:"a"})}),this.clone(ne)}set(oe,ne){return this.clone({param:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({param:oe,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(oe=>{const ne=this.encoder.encodeKey(oe);return this.map.get(oe).map(Ee=>ne+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(oe=>""!==oe).join("&")}clone(oe){const ne=new de({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(oe),ne}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(oe=>this.map.set(oe,this.cloneFrom.map.get(oe))),this.updates.forEach(oe=>{switch(oe.op){case"a":case"s":const ne=("a"===oe.op?this.map.get(oe.param):void 0)||[];ne.push(ae(oe.value)),this.map.set(oe.param,ne);break;case"d":if(void 0===oe.value){this.map.delete(oe.param);break}{let Ee=this.map.get(oe.param)||[];const Se=Ee.indexOf(ae(oe.value));-1!==Se&&Ee.splice(Se,1),Ee.length>0?this.map.set(oe.param,Ee):this.map.delete(oe.param)}}}),this.cloneFrom=this.updates=null)}}class Oe{constructor(){this.map=new Map}set(oe,ne){return this.map.set(oe,ne),this}get(oe){return this.map.has(oe)||this.map.set(oe,oe.defaultValue()),this.map.get(oe)}delete(oe){return this.map.delete(oe),this}has(oe){return this.map.has(oe)}keys(){return this.map.keys()}}function Pt(ve){return"undefined"!=typeof ArrayBuffer&&ve instanceof ArrayBuffer}function xt(ve){return"undefined"!=typeof Blob&&ve instanceof Blob}function We(ve){return"undefined"!=typeof FormData&&ve instanceof FormData}class yt{constructor(oe,ne,Ee,Se){let He;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=oe.toUpperCase(),function Ve(ve){switch(ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==Ee?Ee:null,He=Se):He=Ee,He&&(this.reportProgress=!!He.reportProgress,this.withCredentials=!!He.withCredentials,He.responseType&&(this.responseType=He.responseType),He.headers&&(this.headers=He.headers),He.context&&(this.context=He.context),He.params&&(this.params=He.params)),this.headers||(this.headers=new N),this.context||(this.context=new Oe),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=ne;else{const je=ne.indexOf("?");this.urlWithParams=ne+(-1===je?"?":jeDi.set(tt,oe.setHeaders[tt]),Ei)),oe.setParams&&(Rt=Object.keys(oe.setParams).reduce((Di,tt)=>Di.set(tt,oe.setParams[tt]),Rt)),new yt(Ee,Se,Ae,{params:Rt,headers:Ei,context:Rs,reportProgress:wt,responseType:He,withCredentials:je})}}var ft=(()=>((ft=ft||{})[ft.Sent=0]="Sent",ft[ft.UploadProgress=1]="UploadProgress",ft[ft.ResponseHeader=2]="ResponseHeader",ft[ft.DownloadProgress=3]="DownloadProgress",ft[ft.Response=4]="Response",ft[ft.User=5]="User",ft))();class ue{constructor(oe,ne=200,Ee="OK"){this.headers=oe.headers||new N,this.status=void 0!==oe.status?oe.status:ne,this.statusText=oe.statusText||Ee,this.url=oe.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends ue{constructor(oe={}){super(oe),this.type=ft.ResponseHeader}clone(oe={}){return new fe({headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class _e extends ue{constructor(oe={}){super(oe),this.type=ft.Response,this.body=void 0!==oe.body?oe.body:null}clone(oe={}){return new _e({body:void 0!==oe.body?oe.body:this.body,headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class ge extends ue{constructor(oe){super(oe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${oe.url||"(unknown url)"}`:`Http failure response for ${oe.url||"(unknown url)"}: ${oe.status} ${oe.statusText}`,this.error=oe.error||null}}function xe(ve,oe){return{body:oe,headers:ve.headers,context:ve.context,observe:ve.observe,params:ve.params,reportProgress:ve.reportProgress,responseType:ve.responseType,withCredentials:ve.withCredentials}}let he=(()=>{class ve{constructor(ne){this.handler=ne}request(ne,Ee,Se={}){let He;if(ne instanceof yt)He=ne;else{let wt,Ei;wt=Se.headers instanceof N?Se.headers:new N(Se.headers),Se.params&&(Ei=Se.params instanceof de?Se.params:new de({fromObject:Se.params})),He=new yt(ne,Ee,void 0!==Se.body?Se.body:null,{headers:wt,context:Se.context,params:Ei,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const Ae=(0,T.of)(He).pipe((0,C.b)(wt=>this.handler.handle(wt)));if(ne instanceof yt||"events"===Se.observe)return Ae;const je=Ae.pipe((0,E.h)(wt=>wt instanceof _e));switch(Se.observe||"body"){case"body":switch(He.responseType){case"arraybuffer":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wt.body}));case"blob":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof Blob))throw new Error("Response is not a Blob.");return wt.body}));case"text":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&"string"!=typeof wt.body)throw new Error("Response is not a string.");return wt.body}));default:return je.pipe((0,R.U)(wt=>wt.body))}case"response":return je;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(ne,Ee={}){return this.request("DELETE",ne,Ee)}get(ne,Ee={}){return this.request("GET",ne,Ee)}head(ne,Ee={}){return this.request("HEAD",ne,Ee)}jsonp(ne,Ee){return this.request("JSONP",ne,{params:(new de).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Ee={}){return this.request("OPTIONS",ne,Ee)}patch(ne,Ee,Se={}){return this.request("PATCH",ne,xe(Se,Ee))}post(ne,Ee,Se={}){return this.request("POST",ne,xe(Se,Ee))}put(ne,Ee,Se={}){return this.request("PUT",ne,xe(Se,Ee))}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(H))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class bt{constructor(oe,ne){this.next=oe,this.interceptor=ne}handle(oe){return this.interceptor.intercept(oe,this.next)}}const qt=new i.OlP("HTTP_INTERCEPTORS");let _i=(()=>{class ve{intercept(ne,Ee){return Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const xn=/^\)\]\}',?\n/;let Xs=(()=>{class ve{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v.y(Ee=>{const Se=this.xhrFactory.build();if(Se.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Se.withCredentials=!0),ne.headers.forEach((tt,Ue)=>Se.setRequestHeader(tt,Ue.join(","))),ne.headers.has("Accept")||Se.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const tt=ne.detectContentTypeHeader();null!==tt&&Se.setRequestHeader("Content-Type",tt)}if(ne.responseType){const tt=ne.responseType.toLowerCase();Se.responseType="json"!==tt?tt:"text"}const He=ne.serializeBody();let Ae=null;const je=()=>{if(null!==Ae)return Ae;const tt=Se.statusText||"OK",Ue=new N(Se.getAllResponseHeaders()),Rn=function Yi(ve){return"responseURL"in ve&&ve.responseURL?ve.responseURL:/^X-Request-URL:/m.test(ve.getAllResponseHeaders())?ve.getResponseHeader("X-Request-URL"):null}(Se)||ne.url;return Ae=new fe({headers:Ue,status:Se.status,statusText:tt,url:Rn}),Ae},wt=()=>{let{headers:tt,status:Ue,statusText:Rn,url:zt}=je(),pt=null;204!==Ue&&(pt=void 0===Se.response?Se.responseText:Se.response),0===Ue&&(Ue=pt?200:0);let is=Ue>=200&&Ue<300;if("json"===ne.responseType&&"string"==typeof pt){const Bn=pt;pt=pt.replace(xn,"");try{pt=""!==pt?JSON.parse(pt):null}catch(Pn){pt=Bn,is&&(is=!1,pt={error:Pn,text:pt})}}is?(Ee.next(new _e({body:pt,headers:tt,status:Ue,statusText:Rn,url:zt||void 0})),Ee.complete()):Ee.error(new ge({error:pt,headers:tt,status:Ue,statusText:Rn,url:zt||void 0}))},Ei=tt=>{const{url:Ue}=je(),Rn=new ge({error:tt,status:Se.status||0,statusText:Se.statusText||"Unknown Error",url:Ue||void 0});Ee.error(Rn)};let Rt=!1;const Rs=tt=>{Rt||(Ee.next(je()),Rt=!0);let Ue={type:ft.DownloadProgress,loaded:tt.loaded};tt.lengthComputable&&(Ue.total=tt.total),"text"===ne.responseType&&!!Se.responseText&&(Ue.partialText=Se.responseText),Ee.next(Ue)},Di=tt=>{let Ue={type:ft.UploadProgress,loaded:tt.loaded};tt.lengthComputable&&(Ue.total=tt.total),Ee.next(Ue)};return Se.addEventListener("load",wt),Se.addEventListener("error",Ei),Se.addEventListener("timeout",Ei),Se.addEventListener("abort",Ei),ne.reportProgress&&(Se.addEventListener("progress",Rs),null!==He&&Se.upload&&Se.upload.addEventListener("progress",Di)),Se.send(He),Ee.next({type:ft.Sent}),()=>{Se.removeEventListener("error",Ei),Se.removeEventListener("abort",Ei),Se.removeEventListener("load",wt),Se.removeEventListener("timeout",Ei),ne.reportProgress&&(Se.removeEventListener("progress",Rs),null!==He&&Se.upload&&Se.upload.removeEventListener("progress",Di)),Se.readyState!==Se.DONE&&Se.abort()}})}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.JF))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Fr=new i.OlP("XSRF_COOKIE_NAME"),zr=new i.OlP("XSRF_HEADER_NAME");class Nr{}let Po=(()=>{class ve{constructor(ne,Ee,Se){this.doc=ne,this.platform=Ee,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(Fr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),eo=(()=>{class ve{constructor(ne,Ee){this.tokenService=ne,this.headerName=Ee}intercept(ne,Ee){const Se=ne.url.toLowerCase();if("GET"===ne.method||"HEAD"===ne.method||Se.startsWith("http://")||Se.startsWith("https://"))return Ee.handle(ne);const He=this.tokenService.getToken();return null!==He&&!ne.headers.has(this.headerName)&&(ne=ne.clone({headers:ne.headers.set(this.headerName,He)})),Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(Nr),i.LFG(zr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Lo=(()=>{class ve{constructor(ne,Ee){this.backend=ne,this.injector=Ee,this.chain=null}handle(ne){if(null===this.chain){const Ee=this.injector.get(qt,[]);this.chain=Ee.reduceRight((Se,He)=>new bt(Se,He),this.backend)}return this.chain.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(B),i.LFG(i.zs3))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Ba=(()=>{class ve{static disable(){return{ngModule:ve,providers:[{provide:eo,useClass:_i}]}}static withOptions(ne={}){return{ngModule:ve,providers:[ne.cookieName?{provide:Fr,useValue:ne.cookieName}:[],ne.headerName?{provide:zr,useValue:ne.headerName}:[]]}}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[eo,{provide:qt,useExisting:eo,multi:!0},{provide:Nr,useClass:Po},{provide:Fr,useValue:"XSRF-TOKEN"},{provide:zr,useValue:"X-XSRF-TOKEN"}]}),ve})(),Hi=(()=>{class ve{}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[he,{provide:H,useClass:Lo},Xs,{provide:B,useExisting:Xs}],imports:[[Ba.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ve})()},5e3:(Y,U,w)=>{"use strict";w.d(U,{deG:()=>Dp,tb:()=>Vf,AFp:()=>UT,ip1:()=>jf,CZH:()=>eu,hGG:()=>y0,z2F:()=>Wf,sBO:()=>s0,Sil:()=>Gf,_Vd:()=>kd,EJc:()=>Pa,SBq:()=>Ed,qLn:()=>$u,vpe:()=>Mo,tBr:()=>lc,XFs:()=>ut,OlP:()=>mi,zs3:()=>wo,ZZ4:()=>ep,aQg:()=>Xm,soG:()=>qf,YKP:()=>Tw,h0i:()=>$s,PXZ:()=>Vm,R0b:()=>Xn,FiY:()=>Zn,Lbi:()=>Bm,g9A:()=>eA,n_E:()=>Rd,Qsj:()=>Dd,FYo:()=>ww,JOm:()=>An,q3G:()=>Pi,tp0:()=>ca,Rgc:()=>Ql,dDg:()=>aA,GfV:()=>Aw,s_b:()=>Ld,ifc:()=>He,eFA:()=>qm,G48:()=>qS,Gpc:()=>V,f3M:()=>Sh,_c5:()=>h0,VLi:()=>WT,c2e:()=>Ws,zSh:()=>My,wAp:()=>st,vHH:()=>ee,EiD:()=>pv,mCW:()=>ua,qzn:()=>dc,JVY:()=>ov,pB0:()=>cv,eBb:()=>qp,L6k:()=>rv,LAX:()=>av,cg1:()=>Qg,kL8:()=>Xg,yhl:()=>v_,dqk:()=>Rt,sIi:()=>Ac,CqO:()=>kC,QGY:()=>lb,F4k:()=>rf,RDi:()=>lo,AaK:()=>H,z3N:()=>Ar,qOj:()=>Mr,TTD:()=>ao,_Bn:()=>mw,xp6:()=>zv,uIk:()=>Vy,Tol:()=>bd,Gre:()=>Fb,ekj:()=>ff,Suo:()=>PT,Xpm:()=>Io,lG2:()=>Pe,Yz7:()=>ri,cJS:()=>xn,oAB:()=>or,Yjl:()=>yi,Y36:()=>Ca,_UZ:()=>ab,GkF:()=>Ng,BQk:()=>zg,ynx:()=>jl,qZA:()=>_d,TgZ:()=>Og,EpF:()=>cb,n5z:()=>_h,Ikx:()=>Xo,LFG:()=>Ki,$8M:()=>Eu,$Z:()=>rb,NdJ:()=>Bg,CRH:()=>LT,kcU:()=>ah,O4$:()=>Au,oxw:()=>ub,ALo:()=>wm,lcZ:()=>Am,xi3:()=>vm,Dn7:()=>Cm,Hsn:()=>hb,F$t:()=>db,Q6J:()=>Lg,s9C:()=>Ug,DdM:()=>Ea,VKq:()=>Jn,WLB:()=>kw,iGM:()=>xT,MAs:()=>gd,Jf7:()=>Dl,CHM:()=>nh,oJD:()=>Vu,LSH:()=>Lh,Udp:()=>Kg,WFA:()=>Yg,d8E:()=>yf,YNc:()=>va,W1O:()=>Hd,_uU:()=>Rb,Oqu:()=>Si,hij:()=>wd,AsE:()=>mf,xDo:()=>Ib,Gf:()=>RT});var b=w(8929),i=w(2654),T=w(2916),v=w(6787),C=w(2474);function E(l){for(let u in l)if(l[u]===E)return u;throw Error("Could not find renamed property on target object.")}function R(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function H(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(H).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const N=E({__forward_ref__:E});function V(l){return l.__forward_ref__=V,l.toString=function(){return H(this())},l}function J(l){return X(l)?l():l}function X(l){return"function"==typeof l&&l.hasOwnProperty(N)&&l.__forward_ref__===V}class ee extends Error{constructor(u,f){super(function ae(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function de(l){return"string"==typeof l?l:null==l?"":String(l)}function Ie(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():de(l)}function xt(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${Ie(l)} found${f}`)}function Xe(l,u){null==l&&function lt(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ri(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function xn(l){return{providers:l.providers||[],imports:l.imports||[]}}function Yi(l){return Xs(l,Po)||Xs(l,Lo)}function Xs(l,u){return l.hasOwnProperty(u)?l[u]:null}function Nr(l){return l&&(l.hasOwnProperty(eo)||l.hasOwnProperty(uu))?l[eo]:null}const Po=E({\u0275prov:E}),eo=E({\u0275inj:E}),Lo=E({ngInjectableDef:E}),uu=E({ngInjectorDef:E});var ut=(()=>((ut=ut||{})[ut.Default=0]="Default",ut[ut.Host=1]="Host",ut[ut.Self=2]="Self",ut[ut.SkipSelf=4]="SkipSelf",ut[ut.Optional=8]="Optional",ut))();let Ba;function Wt(l){const u=Ba;return Ba=l,u}function pn(l,u,f){const p=Yi(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&ut.Optional?null:void 0!==u?u:void xt(H(l),"Injector")}function oe(l){return{toString:l}.toString()}var ne=(()=>((ne=ne||{})[ne.OnPush=0]="OnPush",ne[ne.Default=1]="Default",ne))(),He=(()=>{return(l=He||(He={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",He;var l})();const Ae="undefined"!=typeof globalThis&&globalThis,je="undefined"!=typeof window&&window,wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Rt=Ae||"undefined"!=typeof global&&global||je||wt,tt={},Ue=[],Rn=E({\u0275cmp:E}),zt=E({\u0275dir:E}),pt=E({\u0275pipe:E}),is=E({\u0275mod:E}),Bn=E({\u0275fac:E}),Pn=E({__NG_ELEMENT_ID__:E});let nl=0;function Io(l){return oe(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||Ue,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||He.Emulated,id:"c",styles:l.styles||Ue,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,M=l.pipes;return p.id+=nl++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(k=>k(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(io):null,p.pipeDefs=M?()=>("function"==typeof M?M():M).map(Yn):null,p})}function io(l){return sn(l)||function qe(l){return l[zt]||null}(l)}function Yn(l){return function jn(l){return l[pt]||null}(l)}const sr={};function or(l){return oe(()=>{const u={type:l.type,bootstrap:l.bootstrap||Ue,declarations:l.declarations||Ue,imports:l.imports||Ue,exports:l.exports||Ue,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(sr[l.id]=l.type),u})}function D(l,u){if(null==l)return tt;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Pe=Io;function yi(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function sn(l){return l[Rn]||null}function dt(l,u){const f=l[is]||null;if(!f&&!0===u)throw new Error(`Type ${H(l)} does not have '\u0275mod' property.`);return f}function Cn(l){return Array.isArray(l)&&"object"==typeof l[1]}function Vn(l){return Array.isArray(l)&&!0===l[1]}function ja(l){return 0!=(8&l.flags)}function zo(l){return 2==(2&l.flags)}function so(l){return 1==(1&l.flags)}function qn(l){return null!==l.template}function ar(l){return 0!=(512&l[2])}function Ci(l,u){return l.hasOwnProperty(Bn)?l[Bn]:null}class Ut{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function ao(){return Vt}function Vt(l){return l.type.prototype.ngOnChanges&&(l.setInput=Va),Ls}function Ls(){const l=qa(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===tt)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Va(l,u,f,p){const m=qa(l)||function Tn(l,u){return l[Ur]=u}(l,{previous:tt,current:null}),y=m.current||(m.current={}),M=m.previous,k=this.declaredInputs[f],x=M[k];y[k]=new Ut(x&&x.currentValue,u,M===tt),l[p]=u}ao.ngInherit=!0;const Ur="__ngSimpleChanges__";function qa(l){return l[Ur]||null}let co;function lo(l){co=l}function Vi(){return void 0!==co?co:"undefined"!=typeof document?document:void 0}function ni(l){return!!l.listen}const P={createRenderer:(l,u)=>Vi()};function O(l){for(;Array.isArray(l);)l=l[0];return l}function pe(l,u){return O(u[l])}function be(l,u){return O(u[l.index])}function Xt(l,u){return l.data[u]}function Yt(l,u){return l[u]}function Mt(l,u){const f=u[l];return Cn(f)?f:f[0]}function Nt(l){return 4==(4&l[2])}function zi(l){return 128==(128&l[2])}function ci(l,u){return null==u?null:l[u]}function uo(l){l[18]=0}function ps(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const it={lFrame:$a(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function hr(){return it.bindingsEnabled}function Te(){return it.lFrame.lView}function Ft(){return it.lFrame.tView}function nh(l){return it.lFrame.contextLView=l,l[8]}function qi(){let l=gs();for(;null!==l&&64===l.type;)l=l.parent;return l}function gs(){return it.lFrame.currentTNode}function os(l,u){const f=it.lFrame;f.currentTNode=l,f.isParent=u}function ll(){return it.lFrame.isParent}function gu(){it.lFrame.isParent=!1}function ul(){return it.isInCheckNoChangesMode}function Ka(l){it.isInCheckNoChangesMode=l}function yn(){const l=it.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function Os(){return it.lFrame.bindingIndex}function ms(){return it.lFrame.bindingIndex++}function ho(l){const u=it.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function fr(l,u){const f=it.lFrame;f.bindingIndex=f.bindingRootIndex=l,kt(u)}function kt(l){it.lFrame.currentDirectiveIndex=l}function pr(l){const u=it.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function _u(){return it.lFrame.currentQueryIndex}function fo(l){it.lFrame.currentQueryIndex=l}function yu(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Za(l,u,f){if(f&ut.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f&ut.Host||(m=yu(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=it.lFrame=rh();return p.currentTNode=u,p.lView=l,!0}function gr(l){const u=rh(),f=l[1];it.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function rh(){const l=it.lFrame,u=null===l?null:l.child;return null===u?$a(l):u}function $a(l){const u={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:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Gr(){const l=it.lFrame;return it.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const bu=Gr;function mr(){const l=Gr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function rn(){return it.lFrame.selectedIndex}function po(l){it.lFrame.selectedIndex=l}function Ai(){const l=it.lFrame;return Xt(l.tView,l.selectedIndex)}function Au(){it.lFrame.currentNamespace="svg"}function ah(){!function Ln(){it.lFrame.currentNamespace=null}()}function dl(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(k>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(k)}finally{}}}else try{y.call(k)}finally{}}class Fs{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function Kr(l,u,f){const p=ni(l);let m=0;for(;mu){M=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let Qr=!0;function No(l){const u=Qr;return Qr=l,u}let fh=0;function Bo(l,u){const f=Xr(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Yo(p.data,l),Yo(u,null),Yo(p.blueprint,null));const m=ea(l,u),y=l.injectorIndex;if($r(m)){const M=Wr(m),k=Jr(m,u),x=k[1].data;for(let z=0;z<8;z++)u[y+z]=k[M+z]|x[M+z]}return u[y+8]=m,y}function Yo(l,u){l.push(0,0,0,0,0,0,0,0,u)}function Xr(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function ea(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],M=y.type;if(p=2===M?y.declTNode:1===M?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function rs(l,u,f){!function ml(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Pn)&&(p=f[Pn]),null==p&&(p=f[Pn]=fh++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:Sp:u}(f);if("function"==typeof y){if(!Za(u,l,p))return p&ut.Host?tc(m,f,p):gh(u,f,p,m);try{const M=y(p);if(null!=M||p&ut.Optional)return M;xt(f)}finally{bu()}}else if("number"==typeof y){let M=null,k=Xr(l,u),x=-1,z=p&ut.Host?u[16][6]:null;for((-1===k||p&ut.SkipSelf)&&(x=-1===k?ea(l,u):u[k+8],-1!==x&&Uo(p,!1)?(M=u[1],k=Wr(x),u=Jr(x,u)):k=-1);-1!==k;){const j=u[1];if(mh(y,k,j.data)){const Q=kp(k,u,f,M,p,z);if(Q!==Su)return Q}x=u[k+8],-1!==x&&Uo(p,u[1].data[k+8]===z)&&mh(y,k,u)?(M=j,k=Wr(x),u=Jr(x,u)):k=-1}}}return gh(u,f,p,m)}const Su={};function Sp(){return new ta(qi(),Te())}function kp(l,u,f,p,m,y){const M=u[1],k=M.data[l+8],j=_l(k,M,f,null==p?zo(k)&&Qr:p!=M&&0!=(3&k.type),m&ut.Host&&y===k);return null!==j?yr(u,M,j,k):Su}function _l(l,u,f,p,m){const y=l.providerIndexes,M=u.data,k=1048575&y,x=l.directiveStart,j=y>>20,te=m?k+j:l.directiveEnd;for(let le=p?k:k+j;le=x&&ye.type===f)return le}if(m){const le=M[x];if(le&&qn(le)&&le.type===f)return x}return null}function yr(l,u,f,p){let m=l[f];const y=u.data;if(function lh(l){return l instanceof Fs}(m)){const M=m;M.resolving&&function Oe(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(Ie(y[f]));const k=No(M.canSeeViewProviders);M.resolving=!0;const x=M.injectImpl?Wt(M.injectImpl):null;Za(l,p,ut.Default);try{m=l[f]=M.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function ch(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const M=Vt(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,M),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,M)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&Wt(x),No(k),M.resolving=!1,bu()}}return m}function mh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[Bn]||ku(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[Bn]||ku(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ku(l){return X(l)?()=>{const u=ku(J(l));return u&&u()}:Ci(l)}function Eu(l){return function ph(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function sa(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const M=new m(...y);return k.annotation=M,k;function k(x,z,j){const Q=x.hasOwnProperty(Ns)?x[Ns]:Object.defineProperty(x,Ns,{value:[]})[Ns];for(;Q.length<=j;)Q.push(null);return(Q[j]=Q[j]||[]).push(M),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class mi{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ri({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Dp=new mi("AnalyzeForEntryComponents");function dn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?ys(f,u):u(f))}function nc(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function sc(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function as(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Pp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function br(l,u){const f=Ot(l,u);if(f>=0)return l[1|f]}function Ot(l,u){return function ra(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),M=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),Zn=aa(oa("Optional"),8),ca=aa(oa("SkipSelf"),4);let _,me;function L(l){var u;return(null===(u=function S(){if(void 0===_&&(_=null,Rt.trustedTypes))try{_=Rt.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return _}())||void 0===u?void 0:u.createHTML(l))||l}function Dt(l){var u;return(null===(u=function Qe(){if(void 0===me&&(me=null,Rt.trustedTypes))try{me=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return me}())||void 0===u?void 0:u.createHTML(l))||l}class wn{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Vo extends wn{getTypeName(){return"HTML"}}class iv extends wn{getTypeName(){return"Style"}}class Rh extends wn{getTypeName(){return"Script"}}class nv extends wn{getTypeName(){return"URL"}}class sv extends wn{getTypeName(){return"ResourceURL"}}function Ar(l){return l instanceof wn?l.changingThisBreaksApplicationSecurity:l}function dc(l,u){const f=v_(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function v_(l){return l instanceof wn&&l.getTypeName()||null}function ov(l){return new Vo(l)}function rv(l){return new iv(l)}function qp(l){return new Rh(l)}function av(l){return new nv(l)}function cv(l){return new sv(l)}class lv{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(L(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class pM{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=L(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=L(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0ua(u.trim())).join(", ")),this.buf.push(" ",M,'="',$p(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();Kp.hasOwnProperty(f)&&!Yu.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push($p(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const fv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ph=/([^\#-~ |!])/g;function $p(l){return l.replace(/&/g,"&").replace(fv,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Ph,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function pv(l,u){let f=null;try{Uu=Uu||function Gp(l){const u=new pM(l);return function Mn(){try{return!!(new window.DOMParser).parseFromString(L(""),"text/html")}catch(l){return!1}}()?new lv(u):u}(l);let p=u?String(u):"";f=Uu.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=Uu.getInertBodyElement(p)}while(p!==y);return L((new hv).sanitizeChildren(Wp(f)||f))}finally{if(f){const p=Wp(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Wp(l){return"content"in l&&function gv(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Pi=(()=>((Pi=Pi||{})[Pi.NONE=0]="NONE",Pi[Pi.HTML=1]="HTML",Pi[Pi.STYLE=2]="STYLE",Pi[Pi.SCRIPT=3]="SCRIPT",Pi[Pi.URL=4]="URL",Pi[Pi.RESOURCE_URL=5]="RESOURCE_URL",Pi))();function Vu(l){const u=qu();return u?Dt(u.sanitize(Pi.HTML,l)||""):dc(l,"HTML")?Dt(Ar(l)):pv(Vi(),de(l))}function Lh(l){const u=qu();return u?u.sanitize(Pi.URL,l)||"":dc(l,"URL")?Ar(l):ua(de(l))}function qu(){const l=Te();return l&&l[12]}const hc="__ngContext__";function Wi(l,u){l[hc]=u}function Ih(l){const u=function Tl(l){return l[hc]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function Zu(l){return l.ngOriginalError}function Cv(l,...u){l.error(...u)}class $u{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function vv(l){return l&&l.ngErrorLogger||Cv}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&Zu(u);for(;f&&Zu(f);)f=Zu(f);return f||null}}const P_=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Rt))();function Dl(l){return l.ownerDocument.defaultView}function vr(l){return l instanceof Function?l():l}var An=(()=>((An=An||{})[An.Important=1]="Important",An[An.DashCase=2]="DashCase",An))();function L_(l,u){return undefined(l,u)}function Hh(l){const u=l[3];return Vn(u)?u[3]:u}function Ju(l){return Cr(l[13])}function pa(l){return Cr(l[4])}function Cr(l){for(;null!==l&&!Vn(l);)l=l[4];return l}function ga(l,u,f,p,m){if(null!=p){let y,M=!1;Vn(p)?y=p:Cn(p)&&(M=!0,p=p[0]);const k=O(p);0===l&&null!==f?null==m?B_(u,f,k):fc(u,f,k,m||null,!0):1===l&&null!==f?fc(u,f,k,m||null,!0):2===l?function Pv(l,u,f){const p=ig(l,u);p&&function DM(l,u,f,p){ni(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,k,M):3===l&&u.destroyNode(k),null!=y&&function xM(l,u,f,p,m){const y=f[7];y!==O(f)&&ga(u,l,p,y,m);for(let k=10;k0&&(l[f-1][4]=p[4]);const y=sc(l,10+u);!function SM(l,u){Nh(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const M=y[19];null!==M&&M.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function F_(l,u){if(!(256&u[2])){const f=u[11];ni(f)&&f.destroyNode&&Nh(l,u,f,3,null,null),function xl(l){let u=l[13];if(!u)return z_(l[1],l);for(;u;){let f=null;if(Cn(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Cn(u)&&z_(u[1],u),u=u[3];null===u&&(u=l),Cn(u)&&z_(u[1],u),f=u&&u[4]}u=f}}(u)}}function z_(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function N_(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=z]():p[m=-z].unsubscribe(),y+=2}else{const M=p[m=f[y+1]];f[y].call(M)}if(null!==p){for(let y=m+1;yy?"":m[Q+1].toLowerCase();const le=8&p?te:null;if(le&&-1!==Ov(le,z,0)||2&p&&z!==te){if(Go(p))return!1;M=!0}}}}else{if(!M&&!Go(p)&&!Go(x))return!1;if(M&&Go(x))continue;M=!1,p=x|1&p}}return Go(p)||M}function Go(l){return 0==(1&l)}function OM(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+k+'"':"")+"]"}else 8&p?m+="."+M:4&p&&(m+=" "+M);else""!==m&&!Go(M)&&(u+=Fv(y,m),m=""),p=M,y=y||!Go(p);f++}return""!==m&&(u+=Fv(y,m)),u}const Ct={};function zv(l){Nv(Ft(),Te(),rn()+l,ul())}function Nv(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&Wa(u,y,f)}else{const y=l.preOrderHooks;null!==y&&Ja(u,y,0,f)}po(f)}function ng(l,u){return l<<17|u<<2}function Ko(l){return l>>17&32767}function G_(l){return 2|l}function _a(l){return(131068&l)>>2}function K_(l,u){return-131069&l|u<<2}function Z_(l){return 1|l}function Wv(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&Nv(l,u,20,ul()),f(p,m)}finally{po(y)}}function Qv(l,u,f){if(ja(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(k)!=x&&k.push(x),k.push(p,m,M)}}function cg(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function py(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function gy(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&Gh(f)}}function Gh(l){for(let p=Ju(l);null!==p;p=pa(p))for(let m=10;m0&&Gh(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&Gh(m)}}function nd(l,u){const f=Mt(u,l),p=f[1];(function Ay(l,u){for(let f=u.length;fPromise.resolve(null))();function Cy(l){return l[7]||(l[7]=[])}function sd(l){return l.cleanup||(l.cleanup=[])}function cC(l,u,f){return(null===l||qn(l))&&(f=function $(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function gg(l,u){const f=l[9],p=f?f.get($u,null):null;p&&p.handleError(u)}function od(l,u,f,p,m){for(let y=0;ythis.processProvider(k,u,f)),ys([u],k=>this.processInjectorType(k,[],y)),this.records.set(_g,Ll(void 0,this));const M=this.records.get(My);this.scope=null!=M?M.value:null,this.source=m||("object"==typeof u?null:H(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=ac,p=ut.Default){this.assertNotDestroyed();const m=Mh(this),y=Wt(void 0);try{if(!(p&ut.SkipSelf)){let k=this.records.get(u);if(void 0===k){const x=function dS(l){return"function"==typeof l||"object"==typeof l&&l instanceof mi}(u)&&Yi(u);k=x&&this.injectableDefInScope(x)?Ll(bg(u),wc):null,this.records.set(u,k)}if(null!=k)return this.hydrate(u,k)}return(p&ut.Self?Sy():this.parent).get(u,f=p&ut.Optional&&f===ac?null:f)}catch(M){if("NullInjectorError"===M.name){if((M[cc]=M[cc]||[]).unshift(H(u)),m)throw M;return function Bp(l,u,f,p){const m=l[cc];throw u[Th]&&m.unshift(u[Th]),l.message=function Yp(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=H(u);if(Array.isArray(u))m=u.map(H).join(" -> ");else if("object"==typeof u){let y=[];for(let M in u)if(u.hasOwnProperty(M)){let k=u[M];y.push(M+":"+("string"==typeof k?JSON.stringify(k):H(k)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(Ch,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[cc]=null,l}(M,u,"R3InjectorError",this.source)}throw M}finally{Wt(y),Mh(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(H(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=J(u)))return!1;let m=Nr(u);const y=null==m&&u.ngModule||void 0,M=void 0===y?u:y,k=-1!==p.indexOf(M);if(void 0!==y&&(m=Nr(y)),null==m)return!1;if(null!=m.imports&&!k){let j;p.push(M);try{ys(m.imports,Q=>{this.processInjectorType(Q,f,p)&&(void 0===j&&(j=[]),j.push(Q))})}finally{}if(void 0!==j)for(let Q=0;Qthis.processProvider(ye,te,le||Ue))}}this.injectorDefTypes.add(M);const x=Ci(M)||(()=>new M);this.records.set(M,Ll(x,wc));const z=m.providers;if(null!=z&&!k){const j=u;ys(z,Q=>this.processProvider(Q,j,z))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=Il(u=J(u))?u:J(u&&u.provide);const y=function xy(l,u,f){return Py(l)?Ll(void 0,l.useValue):Ll(Ry(l),wc)}(u);if(Il(u)||!0!==u.multi)this.records.get(m);else{let M=this.records.get(m);M||(M=Ll(void 0,wc,!0),M.factory=()=>Al(M.multi),this.records.set(m,M)),m=u,M.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===wc&&(f.value=uC,f.value=f.factory()),"object"==typeof f.value&&f.value&&function uS(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=J(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function bg(l){const u=Yi(l),f=null!==u?u.factory:Ci(l);if(null!==f)return f;if(l instanceof mi)throw new ee(204,!1);if(l instanceof Function)return function Dy(l){const u=l.length;if(u>0)throw as(u,"?"),new ee(204,!1);const f=function Fr(l){const u=l&&(l[Po]||l[Lo]);if(u){const f=function zr(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Ry(l,u,f){let p;if(Il(l)){const m=J(l);return Ci(m)||bg(m)}if(Py(l))p=()=>J(l.useValue);else if(function wg(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...Al(l.deps||[]));else if(function hC(l){return!(!l||!l.useExisting)}(l))p=()=>Ki(J(l.useExisting));else{const m=J(l&&(l.useClass||l.provide));if(!function lS(l){return!!l.deps}(l))return Ci(m)||bg(m);p=()=>new m(...Al(l.deps))}return p}function Ll(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function Py(l){return null!==l&&"object"==typeof l&&Fp in l}function Il(l){return"function"==typeof l}let wo=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return ky({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return ky({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=ac,l.NULL=new bc,l.\u0275prov=ri({token:l,providedIn:"any",factory:()=>Ki(_g)}),l.__NG_ELEMENT_ID__=-1,l})();function Ny(l,u){dl(Ih(l)[1],qi())}function Mr(l){let u=function _t(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(qn(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const M=l;M.inputs=By(l.inputs),M.declaredInputs=By(l.declaredInputs),M.outputs=By(l.outputs);const k=m.hostBindings;k&&Ao(l,k);const x=m.viewQuery,z=m.contentQueries;if(x&&Yy(l,x),z&&fS(l,z),R(l.inputs,m.inputs),R(l.declaredInputs,m.declaredInputs),R(l.outputs,m.outputs),qn(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let M=0;M=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=Zr(m.hostAttrs,f=Zr(f,m.hostAttrs))}}(p)}function By(l){return l===tt?{}:l===Ue?[]:l}function Yy(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function fS(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function Ao(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let ld=null;function ba(){if(!ld){const l=Rt.Symbol;if(l&&l.iterator)ld=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fk(O(jt[p.index])):p.index;if(ni(f)){let jt=null;if(!k&&x&&(jt=function EC(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?k[x]:null}"string"==typeof M&&(y+=2)}return null}(l,u,m,p.index)),null!==jt)(jt.__ngLastListenerFn__||jt).__ngNextListenerFn__=y,jt.__ngLastListenerFn__=y,le=!1;else{y=cf(p,u,Q,y,!1);const si=f.listen(Ke,m,y);te.push(y,si),j&&j.push(m,et,Ce,Ce+1)}}else y=cf(p,u,Q,y,!0),Ke.addEventListener(m,y,M),te.push(y),j&&j.push(m,et,Ce,M)}else y=cf(p,u,Q,y,!1);const ye=p.outputs;let Le;if(le&&null!==ye&&(Le=ye[m])){const Be=Le.length;if(Be)for(let Ke=0;Ke0;)u=u[15],l--;return u}(l,it.lFrame.contextLView))[8]}(l)}function DC(l,u){let f=null;const p=function HM(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const Li={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function df(l){return l.substring(Li.key,Li.keyEnd)}function hf(l,u){const f=Li.textEnd;return f===u?-1:(u=Li.keyEnd=function Ab(l,u,f){for(;u32;)u++;return u}(l,Li.key=u,f),Ul(l,u,f))}function Ul(l,u,f){for(;u=0;f=hf(u,f))On(l,df(u),!0)}function vo(l,u,f,p){const m=Te(),y=Ft(),M=ho(2);y.firstUpdatePass&&Zg(y,l,M,p),u!==Ct&&ui(m,M,u)&&Eb(y,y.data[rn()],m,m[11],l,m[M+1]=function zC(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=H(Ar(l)))),l}(u,f),p,M)}function Ts(l,u,f,p){const m=Ft(),y=ho(2);m.firstUpdatePass&&Zg(m,null,y,p);const M=Te();if(f!==Ct&&ui(M,y,f)){const k=m.data[rn()];if(xb(k,p)&&!Tb(m,y)){let x=p?k.classesWithoutHost:k.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Ig(m,k,M,f,p)}else!function kb(l,u,f,p,m,y,M,k){m===Ct&&(m=Ue);let x=0,z=0,j=0=l.expandoStartIndex}function Zg(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[rn()],M=Tb(l,f);xb(y,p)&&null===u&&!M&&(u=!1),u=function IC(l,u,f,p){const m=pr(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=Ta(f=pf(null,l,u,f,p),u.attrs,p),y=null);else{const M=u.directiveStylingLast;if(-1===M||l[M]!==m)if(f=pf(m,l,u,f,p),null===y){let x=function OC(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==_a(p))return l[Ko(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=pf(null,l,u,x[1],p),x=Ta(x,u.attrs,p),function HC(l,u,f,p){l[Ko(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function FC(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(z=!0)}else j=f;if(m)if(0!==x){const te=Ko(l[k+1]);l[p+1]=ng(te,k),0!==te&&(l[te+1]=K_(l[te+1],p)),l[k+1]=function UM(l,u){return 131071&l|u<<17}(l[k+1],p)}else l[p+1]=ng(k,0),0!==k&&(l[k+1]=K_(l[k+1],p)),k=p;else l[p+1]=ng(x,0),0===k?k=p:l[x+1]=K_(l[x+1],p),x=p;z&&(l[p+1]=G_(l[p+1])),Cs(l,j,p,!0),Cs(l,j,p,!1),function xC(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&Ot(y,u)>=0&&(f[p+1]=Z_(f[p+1]))}(u,j,l,p,y),M=ng(k,x),y?u.classBindings=M:u.styleBindings=M}(m,y,u,f,M,p)}}function pf(l,u,f,p,m){let y=null;const M=f.directiveEnd;let k=f.directiveStylingLast;for(-1===k?k=f.directiveStart:k++;k0;){const x=l[m],z=Array.isArray(x),j=z?x[1]:x,Q=null===j;let te=f[m+1];te===Ct&&(te=Q?Ue:void 0);let le=Q?br(te,p):j===p?te:void 0;if(z&&!gf(le)&&(le=br(x,p)),gf(le)&&(k=le,M))return k;const ye=l[m+1];m=M?Ko(ye):_a(ye)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(k=br(x,p))}return k}function gf(l){return void 0!==l}function xb(l,u){return 0!=(l.flags&(u?16:32))}function Rb(l,u=""){const f=Te(),p=Ft(),m=l+20,y=p.firstCreatePass?Xu(p,m,1,u,null):p.data[m],M=f[m]=function I_(l,u){return ni(l)?l.createText(u):l.createTextNode(u)}(f[11],u);qo(p,f,M,y),os(y,!1)}function Si(l){return wd("",l,""),Si}function wd(l,u,f){const p=Te(),m=Vs(p,l,u,f);return m!==Ct&&Zo(p,rn(),m),wd}function mf(l,u,f,p,m){const y=Te(),M=function Cc(l,u,f,p,m,y){const k=Aa(l,Os(),f,m);return ho(2),k?u+de(f)+p+de(m)+y:Ct}(y,l,u,f,p,m);return M!==Ct&&Zo(y,rn(),M),mf}function Ib(l,u,f,p,m,y,M,k,x,z,j){const Q=Te(),te=Mc(Q,l,u,f,p,m,y,M,k,x,z,j);return te!==Ct&&Zo(Q,rn(),te),Ib}function Fb(l,u,f){Ts(On,Jo,Vs(Te(),l,u,f),!0)}function Xo(l,u,f){const p=Te();return ui(p,ms(),u)&&En(Ft(),Ai(),p,l,u,p[11],f,!0),Xo}function yf(l,u,f){const p=Te();if(ui(p,ms(),u)){const y=Ft(),M=Ai();En(y,M,p,l,u,cC(pr(y.data),M,p),f,!0)}return yf}const Ma=void 0;var bf=["en",[["a","p"],["AM","PM"],Ma],[["AM","PM"],Ma,Ma],[["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"]],Ma,[["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"]],Ma,[["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}",Ma,"{1} 'at' {0}",Ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Ad(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let ql={};function Qg(l){const u=function $C(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=em(u);if(f)return f;const p=u.split("-")[0];if(f=em(p),f)return f;if("en"===p)return bf;throw new Error(`Missing locale data for the locale "${l}".`)}function Xg(l){return Qg(l)[st.PluralCase]}function em(l){return l in ql||(ql[l]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[l]),ql[l]}var st=(()=>((st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st))();const cs="en-US";let WC=cs;function pw(l,u,f,p,m){if(l=J(l),Array.isArray(l))for(let y=0;y>20;if(Il(l)||!l.multi){const le=new Fs(x,m,Ca),ye=hm(k,u,m?j:j+te,Q);-1===ye?(rs(Bo(z,M),y,k),Zs(y,l,u.length),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(le),M.push(le)):(f[ye]=le,M[ye]=le)}else{const le=hm(k,u,j+te,Q),ye=hm(k,u,j,j+te),Le=le>=0&&f[le],Be=ye>=0&&f[ye];if(m&&!Be||!m&&!Le){rs(Bo(z,M),y,k);const Ke=function hT(l,u,f,p,m){const y=new Fs(l,f,Ca);return y.multi=[],y.index=u,y.componentProviders=0,gw(y,m,p&&!f),y}(m?dT:uT,f.length,m,p,x);!m&&Be&&(f[ye].providerFactory=Ke),Zs(y,l,u.length,0),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(Ke),M.push(Ke)}else Zs(y,l,le>-1?le:ye,gw(f[m?ye:le],x,!m&&p));!m&&p&&Be&&f[ye].componentProviders++}}}function Zs(l,u,f,p){const m=Il(u),y=function cS(l){return!!l.useClass}(u);if(m||y){const x=(y?J(u.useClass):u).prototype.ngOnDestroy;if(x){const z=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=z.indexOf(f);-1===j?z.push(f,[p,x]):z[j+1].push(p,x)}else z.push(f,x)}}}function gw(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function hm(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function Bt(l,u,f){const p=Ft();if(p.firstCreatePass){const m=qn(l);pw(f,p.data,p.blueprint,m,!0),pw(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class _w{}class gT{resolveComponentFactory(u){throw function pT(l){const u=Error(`No component factory found for ${H(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let kd=(()=>{class l{}return l.NULL=new gT,l})();function mT(){return $l(qi(),Te())}function $l(l,u){return new Ed(be(l,u))}let Ed=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=mT,l})();function bw(l){return l instanceof Ed?l.nativeElement:l}class ww{}let Dd=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function LS(){const l=Te(),f=Mt(qi().index,l);return function PS(l){return l[11]}(Cn(f)?f:l)}(),l})(),IS=(()=>{class l{}return l.\u0275prov=ri({token:l,providedIn:"root",factory:()=>null}),l})();class Aw{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const vw=new Aw("13.2.2"),pm={};function Es(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(O(y)),Vn(y))for(let k=10;k-1&&(eg(u,p),sc(f,p))}this._attachedToViewContainer=!1}F_(this._lView[1],this._lView)}onDestroy(u){sg(this._lView[1],this._lView,null,u)}markForCheck(){ug(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){hg(this._lView[1],this._lView,this.context)}checkNoChanges(){!function vy(l,u,f){Ka(!0);try{hg(l,u,f)}finally{Ka(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function kM(l,u){Nh(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class _T extends xd{constructor(u){super(u),this._view=u}detectChanges(){fg(this._view)}checkNoChanges(){!function pg(l){Ka(!0);try{fg(l)}finally{Ka(!1)}}(this._view)}get context(){return null}}class yT extends kd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=sn(u);return new Ef(f,this.ngModule)}}function gm(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const Cw=new mi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>P_});class Ef extends _w{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function YM(l){return l.map(BM).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function bT(l,u){return{get:(f,p,m)=>{const y=l.get(f,pm,m);return y!==pm||p===pm?y:u.get(f,p,m)}}}(u,m.injector):u,M=y.get(ww,P),k=y.get(IS,null),x=M.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",j=p?function ly(l,u,f){if(ni(l))return l.selectRootElement(u,f===He.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):Xp(M.createRenderer(null,this.componentDef),z,function mm(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(z)),Q=this.componentDef.onPush?576:528,te=function Cg(l,u){return{components:[],scheduler:l||P_,clean:aC,playerHandler:u||null,flags:0}}(),le=Ni(0,null,null,1,0,null,null,null,null,null),ye=Uh(null,le,te,Q,null,null,M,x,k,y);let Le,Be;gr(ye);try{const Ke=function ti(l,u,f,p,m,y){const M=f[1];f[20]=l;const x=Xu(M,20,2,"#host",null),z=x.mergedAttrs=u.hostAttrs;null!==z&&(rd(x,z,!0),null!==l&&(Kr(m,l,z),null!==x.classes&&V_(m,l,x.classes),null!==x.styles&&Iv(m,l,x.styles)));const j=p.createRenderer(l,u),Q=Uh(f,ry(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return M.firstCreatePass&&(rs(Bo(x,f),M,u.type),py(M,x),my(x,f.length,1)),Kh(f,Q),f[20]=Q}(j,this.componentDef,ye,M,x);if(j)if(p)Kr(x,j,["ng-version",vw.full]);else{const{attrs:Ce,classes:et}=function jM(l){const u=[],f=[];let p=1,m=2;for(;p0&&V_(x,j,et.join(" "))}if(Be=Xt(le,20),void 0!==f){const Ce=Be.projection=[];for(let et=0;etx(M,u)),u.contentQueries){const x=qi();u.contentQueries(1,M,x.directiveStart)}const k=qi();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(po(k.index),uy(f[1],k,0,k.directiveStart,k.directiveEnd,u),cg(u,M)),M}(Ke,this.componentDef,ye,te,[Ny]),Vh(le,ye,null)}finally{mr()}return new Df(this.componentType,Le,$l(Be,ye),ye,Be)}}class Df extends class fT{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new _T(m),this.componentType=u}get injector(){return new ta(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class $s{}class Tw{}const Dr=new Map;class Wl extends $s{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new yT(this);const p=dt(u);this._bootstrapComponents=vr(p.bootstrap),this._r3Injector=Ey(u,f,[{provide:$s,useValue:this},{provide:kd,useValue:this.componentFactoryResolver}],H(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=wo.THROW_IF_NOT_FOUND,p=ut.Default){return u===wo||u===$s||u===_g?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class xf extends Tw{constructor(u){super(),this.moduleType=u,null!==dt(u)&&function Mw(l){const u=new Set;!function f(p){const m=dt(p,!0),y=m.id;null!==y&&(function _m(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${H(u)} vs ${H(u.name)}`)}(y,Dr.get(y),p),Dr.set(y,p));const M=vr(m.imports);for(const k of M)u.has(k)||(u.add(k),f(k))}(l)}(u)}create(u){return new Wl(this.moduleType,u)}}function Ea(l,u,f){const p=yn()+l,m=Te();return m[p]===Ct?Us(m,p,f?u.call(f):u()):function vc(l,u){return l[u]}(m,p)}function Jn(l,u,f,p){return xr(Te(),yn(),l,u,f,p)}function kw(l,u,f,p,m){return xw(Te(),yn(),l,u,f,p,m)}function Bi(l,u){const f=l[u];return f===Ct?void 0:f}function xr(l,u,f,p,m,y){const M=u+f;return ui(l,M,m)?Us(l,M+1,y?p.call(y,m):p(m)):Bi(l,M+1)}function xw(l,u,f,p,m,y,M){const k=u+f;return Aa(l,k,m,y)?Us(l,k+2,M?p.call(M,m,y):p(m,y)):Bi(l,k+2)}function Oi(l,u,f,p,m,y,M,k){const x=u+f;return function Fl(l,u,f,p,m){const y=Aa(l,u,f,p);return ui(l,u+2,m)||y}(l,x,m,y,M)?Us(l,x+3,k?p.call(k,m,y,M):p(m,y,M)):Bi(l,x+3)}function wm(l,u){const f=Ft();let p;const m=l+20;f.firstCreatePass?(p=function Rw(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=Ci(p.type)),M=Wt(Ca);try{const k=No(!1),x=y();return No(k),function kg(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Te(),m,x),x}finally{Wt(M)}}function Am(l,u,f){const p=l+20,m=Te(),y=Yt(m,p);return Jl(m,p)?xr(m,yn(),u,y.transform,f,y):y.transform(f)}function vm(l,u,f,p){const m=l+20,y=Te(),M=Yt(y,m);return Jl(y,m)?xw(y,yn(),u,M.transform,f,p,M):M.transform(f,p)}function Cm(l,u,f,p,m){const y=l+20,M=Te(),k=Yt(M,y);return Jl(M,y)?Oi(M,yn(),u,k.transform,f,p,m,k):k.transform(f,p,m)}function Jl(l,u){return l[1].data[u].pure}function Pf(l){return u=>{setTimeout(l,void 0,u)}}const Mo=class Lw extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,M;let k=u,x=f||(()=>null),z=p;if(u&&"object"==typeof u){const Q=u;k=null===(m=Q.next)||void 0===m?void 0:m.bind(Q),x=null===(y=Q.error)||void 0===y?void 0:y.bind(Q),z=null===(M=Q.complete)||void 0===M?void 0:M.bind(Q)}this.__isAsync&&(x=Pf(x),k&&(k=Pf(k)),z&&(z=Pf(z)));const j=super.subscribe({next:k,error:x,complete:z});return u instanceof i.w&&u.add(j),j}};function MT(){return this._results[ba()]()}class Rd{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=ba(),p=Rd.prototype;p[f]||(p[f]=MT)}get changes(){return this._changes||(this._changes=new Mo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=dn(u);(this._changesDetected=!function wh(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=Mm,l})();const Tm=Ql,Iw=class extends Tm{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Uh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Vh(f,p,u),new xd(p)}};function Mm(){return Pd(qi(),Te())}function Pd(l,u){return 4&l.type?new Iw(u,l,$l(l,u)):null}let Ld=(()=>{class l{}return l.__NG_ELEMENT_ID__=Ow,l})();function Ow(){return Em(qi(),Te())}const Sm=Ld,Id=class extends Sm{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return $l(this._hostTNode,this._hostLView)}get injector(){return new ta(this._hostTNode,this._hostLView)}get parentInjector(){const u=ea(this._hostTNode,this._hostLView);if($r(u)){const f=Jr(u,this._hostLView),p=Wr(u);return new ta(f[1].data[p+8],f)}return new ta(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=km(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const M=u&&!function go(l){return"function"==typeof l}(u);let k;if(M)k=f;else{const Q=f||{};k=Q.index,p=Q.injector,m=Q.projectableNodes,y=Q.ngModuleRef}const x=M?u:new Ef(sn(u)),z=p||this.parentInjector;if(!y&&null==x.ngModule&&z){const Q=z.get($s,null);Q&&(y=Q)}const j=x.create(z,m,void 0,y);return this.insert(j.hostView,k),j}insert(u,f){const p=u._lView,m=p[1];if(function hi(l){return Vn(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const Q=p[3],te=new Id(Q,Q[6],Q[3]);te.detach(te.indexOf(u))}}const y=this._adjustIndex(f),M=this._lContainer;!function EM(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(M[k/2]);else{const z=y[k+1],j=u[-x];for(let Q=10;Q{class l{constructor(f){this.appInits=f,this.resolve=Ud,this.reject=Ud,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:k,error:x})});f.push(M)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(Ki(jf,8))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const UT=new mi("AppId"),VT={provide:UT,useFactory:function Xw(){return`${Uf()}${Uf()}${Uf()}`},deps:[]};function Uf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const eA=new mi("Platform Initializer"),Bm=new mi("Platform ID"),Vf=new mi("appBootstrapListener");let Ws=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const qf=new mi("LocaleId"),Pa=new mi("DefaultCurrencyCode");class Ym{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let Gf=(()=>{class l{compileModuleSync(f){return new xf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=vr(dt(f).declarations).reduce((M,k)=>{const x=sn(k);return x&&M.push(new Ef(x)),M},[]);return new Ym(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const GT=(()=>Promise.resolve(0))();function Kf(l){"undefined"==typeof Zone?GT.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class Xn{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mo(!1),this.onMicrotaskEmpty=new Mo(!1),this.onStable=new Mo(!1),this.onError=new Mo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function KT(){let l=Rt.requestAnimationFrame,u=Rt.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function $T(l){const u=()=>{!function nA(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Rt,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,sA(l),l.isCheckStableRunning=!0,jm(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),sA(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,M,k)=>{try{return Zf(l),f.invokeTask(m,y,M,k)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),oA(l)}},onInvoke:(f,p,m,y,M,k,x)=>{try{return Zf(l),f.invoke(m,y,M,k,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),oA(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,sA(l),jm(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,M=y.scheduleEventTask("NgZoneEvent: "+m,u,ZT,Ud,Ud);try{return y.runTask(M,f,p)}finally{y.cancelTask(M)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const ZT={};function jm(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function sA(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Zf(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function oA(l){l._nesting--,jm(l)}class rA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mo,this.onMicrotaskEmpty=new Mo,this.onStable=new Mo,this.onError=new Mo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let aA=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xn.assertNotInAngularZone(),Kf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())Kf(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(M=>M.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!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(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(Ki(Xn))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})(),Um=(()=>{class l{constructor(){this._applications=new Map,$f.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return $f.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();class Fc{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function WT(l){$f=l}let ko,$f=new Fc;const tr=new mi("AllowMultipleToken");class Vm{constructor(u,f){this.name=u,this.token=f}}function qm(l,u,f=[]){const p=`Platform: ${u}`,m=new mi(p);return(y=[])=>{let M=lA();if(!M||M.injector.get(tr,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const k=f.concat(y).concat({provide:m,useValue:!0},{provide:My,useValue:"platform"});!function QT(l){if(ko&&!ko.destroyed&&!ko.injector.get(tr,!1))throw new ee(400,"");ko=l.get(Gm);const u=l.get(eA,null);u&&u.forEach(f=>f())}(wo.create({providers:k,name:p}))}return function XT(l){const u=lA();if(!u)throw new ee(401,"");return u}()}}function lA(){return ko&&!ko.destroyed?ko:null}let Gm=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const k=function t0(l,u){let f;return f="noop"===l?new rA:("zone.js"===l?void 0:l)||new Xn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:Xn,useValue:k}];return k.run(()=>{const z=wo.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(z),Q=j.injector.get($u,null);if(!Q)throw new ee(402,"");return k.runOutsideAngular(()=>{const te=k.onError.subscribe({next:le=>{Q.handleError(le)}});j.onDestroy(()=>{dA(this._modules,j),te.unsubscribe()})}),function uA(l,u,f){try{const p=f();return lb(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(Q,k,()=>{const te=j.injector.get(eu);return te.runInitializers(),te.donePromise.then(()=>(function Gb(l){Xe(l,"Expected localeId to be defined"),"string"==typeof l&&(WC=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(qf,cs)||cs),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=n0({},p);return function cA(l,u,f){const p=new xf(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Wf);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(Ki(wo))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function n0(l,u){return Array.isArray(u)?u.reduce(n0,l):Object.assign(Object.assign({},l),u)}let Wf=(()=>{class l{constructor(f,p,m,y,M){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=M,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const k=new T.y(z=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{z.next(this._stable),z.complete()})}),x=new T.y(z=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{Xn.assertNotInAngularZone(),Kf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,z.next(!0))})})});const Q=this._zone.onUnstable.subscribe(()=>{Xn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{z.next(!1)}))});return()=>{j.unsubscribe(),Q.unsubscribe()}});this.isStable=(0,v.T)(k,x.pipe((0,C.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof _w?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function JT(l){return l.isBoundToModule}(m)?void 0:this._injector.get($s),k=m.create(wo.NULL,[],p||m.selector,y),x=k.location.nativeElement,z=k.injector.get(aA,null),j=z&&k.injector.get(Um);return z&&j&&j.registerApplication(x,z),k.onDestroy(()=>{this.detachView(k.hostView),dA(this.components,k),j&&j.unregisterApplication(x)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;dA(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Vf,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(Ki(Xn),Ki(wo),Ki($u),Ki(kd),Ki(eu))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function dA(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let zc=!0;function qS(){zc=!1}let s0=(()=>{class l{}return l.__NG_ELEMENT_ID__=o0,l})();function o0(l){return function r0(l,u,f){if(zo(l)&&!f){const p=Mt(l.index,u);return new xd(p,p)}return 47&l.type?new xd(u[16],u):null}(qi(),Te(),16==(16&l))}class _A{constructor(){}supports(u){return Ac(u)}create(u){return new Xf(u)}}const qd=(l,u)=>u;class Xf{constructor(u){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=u||qd}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const M=!p||f&&f.currentIndex{M=this._trackByFn(m,k),null!==f&&Object.is(f.trackById,M)?(p&&(f=this._verifyReinsertion(f,k,M,m)),Object.is(f.item,k)||this._addIdentityChange(f,k)):(f=this._mismatch(f,k,M,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new tk(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}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(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Yc),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class tk{constructor(u,f){this.item=u,this.trackById=f,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 yA{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Yc{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new yA,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bA(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,M=m._next;return y&&(y._next=M),M&&(M._prev=y),m._next=null,m._prev=null,m}const p=new l0(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class l0{constructor(u){this.key=u,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 Qm(){return new ep([new _A])}let ep=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||Qm()),deps:[[l,new ca,new Zn]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:Qm}),l})();function AA(){return new Xm([new wA])}let Xm=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||AA()),deps:[[l,new ca,new Zn]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:AA}),l})();const vA=[new wA],u0=new ep([new _A]),nk=new Xm(vA),h0=qm(null,"core",[{provide:Bm,useValue:"unknown"},{provide:Gm,deps:[wo]},{provide:Um,deps:[]},{provide:Ws,deps:[]}]),jc=[{provide:Wf,useClass:Wf,deps:[Xn,wo,$u,kd,eu]},{provide:Cw,deps:[Xn],useFactory:function _0(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:eu,useClass:eu,deps:[[new Zn,jf]]},{provide:Gf,useClass:Gf,deps:[]},VT,{provide:ep,useFactory:function f0(){return u0},deps:[]},{provide:Xm,useFactory:function p0(){return nk},deps:[]},{provide:qf,useFactory:function g0(l){return l||function m0(){return"undefined"!=typeof $localize&&$localize.locale||cs}()},deps:[[new lc(qf),new Zn,new ca]]},{provide:Pa,useValue:"USD"}];let y0=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(Ki(Wf))},l.\u0275mod=or({type:l}),l.\u0275inj=xn({providers:jc}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Y extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Y.\u0275fac=function(){let U;return function(b){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Y)))(b||Y)}}(),Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Y{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ReceivedTokens{}class OAuthEvent{constructor(U){this.type=U}}class OAuthSuccessEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(U,w,b=null){super(U),this.reason=w,this.params=b}}function b64DecodeUnicode(Y){const U=Y.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Y){return btoa(Y).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(U){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},U&&Object.assign(this,U)}}class WebHttpUrlEncodingCodec{encodeKey(U){return encodeURIComponent(U)}encodeValue(U){return encodeURIComponent(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(U){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(U.idTokenHeader),b=yield this.calcHash(U.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),v=U.idTokenClaims.at_hash.replace(/=/g,"");return T!==v&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+v)),T===v})}inferHashAlgorithm(U){let w=U.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class Y{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,v,C,E,R,H;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[C++]=128|63&E):E<55296||E>=57344?(T[C++]=224|E>>12,T[C++]=128|E>>6&63,T[C++]=128|63&E):(E=65536+((1023&E)<<10|1023&Y.charCodeAt(++b)),T[C++]=240|E>>18,T[C++]=128|E>>12&63,T[C++]=128|E>>6&63,T[C++]=128|63&E);Y=T}else{if("object"!==i)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR)}Y.length>64&&(Y=new Sha256(U,!0).update(Y).array());var R=[],H=[];for(b=0;b<64;++b){var B=Y[b]||0;R[b]=92^B,H[b]=54^B}Sha256.call(this,U,w),this.update(H),this.oKeyPad=R,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(Y){if(!this.finalized){var U,w=typeof Y;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR);U=!0}for(var b,T,i=0,v=Y.length,C=this.blocks;i>2]|=Y[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(C[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=C[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Y=this.blocks,U=this.lastByteIndex;Y[16]=this.block,Y[U>>2]|=EXTRA[3&U],this.block=Y[16],U>=56&&(this.hashed||this.hash(),Y[0]=this.block,Y[16]=Y[1]=Y[2]=Y[3]=Y[4]=Y[5]=Y[6]=Y[7]=Y[8]=Y[9]=Y[10]=Y[11]=Y[12]=Y[13]=Y[14]=Y[15]=0),Y[14]=this.hBytes<<3|this.bytes>>>29,Y[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var R,V,re,ee,ae,de,Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=this.blocks;for(R=16;R<64;++R)E[R]=E[R-16]+(((V=E[R-15])>>>7|V<<25)^(V>>>18|V<<14)^V>>>3)+E[R-7]+(((V=E[R-2])>>>17|V<<15)^(V>>>19|V<<13)^V>>>10)<<0;for(de=U&w,R=0;R<64;R+=4)this.first?(this.is224?(re=300032,C=(V=E[0]-1413257819)-150054599<<0,b=V+24177077<<0):(re=704751109,C=(V=E[0]-210244248)-1521486534<<0,b=V+143694565<<0),this.first=!1):(C=b+(V=C+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&v)+K[R]+E[R])<<0,b=V+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((re=Y&U)^Y&w^de))<<0),v=w+(V=v+((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&i^~C&T)+K[R+1]+E[R+1])<<0,w=V+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&Y)^b&U^re))<<0,T=U+(V=T+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&C^~v&i)+K[R+2]+E[R+2])<<0,U=V+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ae=w&b)^w&Y^ee))<<0,i=Y+(V=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&v^~T&C)+K[R+3]+E[R+3])<<0,Y=V+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((de=U&w)^U&b^ae))<<0;this.h0=this.h0+Y<<0,this.h1=this.h1+U<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+v<<0,this.h7=this.h7+C<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[U>>28&15]+HEX_CHARS[U>>24&15]+HEX_CHARS[U>>20&15]+HEX_CHARS[U>>16&15]+HEX_CHARS[U>>12&15]+HEX_CHARS[U>>8&15]+HEX_CHARS[U>>4&15]+HEX_CHARS[15&U]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v];return this.is224||(E+=HEX_CHARS[C>>28&15]+HEX_CHARS[C>>24&15]+HEX_CHARS[C>>20&15]+HEX_CHARS[C>>16&15]+HEX_CHARS[C>>12&15]+HEX_CHARS[C>>8&15]+HEX_CHARS[C>>4&15]+HEX_CHARS[15&C]),E},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,U>>24&255,U>>16&255,U>>8&255,255&U,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,v>>24&255,v>>16&255,v>>8&255,255&v];return this.is224||E.push(C>>24&255,C>>16&255,C>>8&255,255&C),E},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Y=new ArrayBuffer(this.is224?28:32),U=new DataView(Y);return U.setUint32(0,this.h0),U.setUint32(4,this.h1),U.setUint32(8,this.h2),U.setUint32(12,this.h3),U.setUint32(16,this.h4),U.setUint32(20,this.h5),U.setUint32(24,this.h6),this.is224||U.setUint32(28,this.h7),Y},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Y=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Y),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Y){if("string"!=typeof Y)throw new TypeError("expected string");var U,w=Y,b=new Uint8Array(w.length);for(U=0;U{class Y{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),OAuthService=(()=>{class Y extends AuthConfig{constructor(w,b,i,T,v,C,E,R,H,B){var N;super(),this.ngZone=w,this.http=b,this.config=v,this.urlHelper=C,this.logger=E,this.crypto=R,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=H,v||(v={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),v&&this.configure(v);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(V){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",V)}if(this.checkLocalStorageAccessable()){const V=null===(N=null==window?void 0:window.navigator)||void 0===N?void 0:N.userAgent;((null==V?void 0:V.includes("MSIE "))||(null==V?void 0:V.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>{"token_received"===v.type?T=!0:"logout"===v.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_expires"===v.type&&(null==b||"any"===b||v.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(v=>{T&&this.refreshInternal(w,i).catch(C=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(v=>{const E=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:v});this.eventsSubject.next(E),b(E)}).catch(v=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",v)),i(v)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let v=JSON.parse(T.body);const C=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!C.sub||v.sub!==C.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");v=Object.assign({},C,v),this._storage.setItem("id_token_claims_obj",JSON.stringify(v)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:v})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(v,this.customQueryParams[v]);for(const v of Object.keys(b))T=T.set(v,b[v]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((v,C)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(E=>{this.debug("tokenResponse",E),this.storeAccessTokenResponse(E.access_token,E.refresh_token,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,E.scope,this.extractRecognizedCustomParameters(E)),this.oidc&&E.id_token&&this.processIdToken(E.id_token,E.access_token).then(R=>{this.storeIdToken(R),v(E)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),v(E)},E=>{this.logger.error("Error performing ${grantType} flow",E),this.eventsSubject.next(new OAuthErrorEvent("token_error",E)),C(E)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(v=>v.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(v.id_token,v.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(C=>this.storeIdToken(C)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(C=>v)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(v))).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(v)},v=>{this.logger.error("Error refreshing token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),b(v)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const v=this.document.createElement("iframe");v.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{v.setAttribute("src",B),this.silentRefreshShowIFrame||(v.style.display="none"),this.document.body.appendChild(v)});const E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),R=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),H=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([E,R,H]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let E,C=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(C=w.windowRef,C.location.href=b):C=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const R=J=>{this.tryLogin({customHashFragment:J,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},X=>{B(),T(X)})};C?E=window.setInterval(()=>{(!C||C.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(E),window.removeEventListener("storage",V),window.removeEventListener("message",N),null!==C&&C.close(),C=null},N=J=>{const X=this.processMessageEventMessage(J);X&&null!==X?(window.removeEventListener("storage",V),R(X)):console.log("false event firing")},V=J=>{"auth_hash"===J.key&&(window.removeEventListener("message",N),R(J.newValue))};window.addEventListener("message",N),window.addEventListener("storage",V)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,v={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const C=this;let E;E=i||this.redirectUri;const R=yield this.createAndSaveNonce();if(w=w?R+this.config.nonceStateSeparator+encodeURIComponent(w):R,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const H=C.loginUrl.indexOf("?")>-1?"&":"?";let B=C.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let N=C.loginUrl+H+"response_type="+encodeURIComponent(C.responseType)+"&client_id="+encodeURIComponent(C.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(E)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[V,J]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",J):this._storage.setItem("PKCE_verifier",J),N+="&code_challenge="+V,N+="&code_challenge_method=S256"}b&&(N+="&login_hint="+encodeURIComponent(b)),C.resource&&(N+="&resource="+encodeURIComponent(C.resource)),C.oidc&&(N+="&nonce="+encodeURIComponent(R)),T&&(N+="&prompt=none");for(const V of Object.keys(v))N+="&"+encodeURIComponent(V)+"="+encodeURIComponent(v[V]);if(this.customQueryParams)for(const V of Object.getOwnPropertyNames(this.customQueryParams))N+="&"+V+"="+encodeURIComponent(this.customQueryParams[V]);return N})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initImplicitFlow",v),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,v){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const C=1e3*i,R=this.dateTimeService.new().getTime()+C;this._storage.setItem("expires_at",""+R)}b&&this._storage.setItem("refresh_token",b),v&&v.forEach((C,E)=>{this._storage.setItem(E,C)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,v=i.state,C=i.session_state;if(!w.preventClearHashAfterLogin){const H=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,H)}let[E,R]=this.parseState(v);if(this.state=R,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const H=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(H),Promise.reject(H)}if(!w.disableNonceCheck){if(!E)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(E)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(C),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,v)=>{if(this.customQueryParams)for(let C of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(C,this.customQueryParams[C]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(C=>{this.debug("refresh tokenResponse",C),this.storeAccessTokenResponse(C.access_token,C.refresh_token,C.expires_in||this.fallbackAccessTokenExpirationTimeInSec,C.scope,this.extractRecognizedCustomParameters(C)),this.oidc&&C.id_token?this.processIdToken(C.id_token,C.access_token,b.disableNonceCheck).then(E=>{this.storeIdToken(E),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C)}).catch(E=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",E)),console.error("Error validating tokens"),console.error(E),v(E)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C))},C=>{console.error("Error getting token",C),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",C)),v(C)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,v]=this.parseState(i);if(this.state=v,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const C=b.access_token,E=b.id_token,R=b.session_state,H=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!C||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!E)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!R&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const N=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(N),Promise.reject(N)}return this.requestAccessToken&&this.storeAccessTokenResponse(C,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,H),this.oidc?this.processIdToken(E,C,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:C,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(N=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(R),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),C=b64DecodeUnicode(this.padBase64(T[0])),E=JSON.parse(C),H=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(H);let N;if(N=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ae=>ae!==this.clientId)){const ae="Wrong audience: "+B.aud.join(",");return this.logger.warn(ae),Promise.reject(ae)}}else if(B.aud!==this.clientId){const ae="Wrong audience: "+B.aud;return this.logger.warn(ae),Promise.reject(ae)}if(!B.sub){const ae="No sub claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ae=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ae),Promise.reject(ae)}if(!B.iat){const ae="No iat claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ae="Wrong issuer: "+B.iss;return this.logger.warn(ae),Promise.reject(ae)}if(!i&&B.nonce!==N){const ae="Wrong nonce: "+B.nonce;return this.logger.warn(ae),Promise.reject(ae)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ae="An at_hash is needed!";return this.logger.warn(ae),Promise.reject(ae)}const V=this.dateTimeService.now(),J=1e3*B.iat,X=1e3*B.exp,re=this.getClockSkewInMsec();if(J-re>=V||X+re<=V){const ae="Token has expired";return console.error(ae),console.error({now:V,issuedAtMSec:J,expiresAtMSec:X}),Promise.reject(ae)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:E,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ae=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X})):this.checkAtHash(ee).then(ae=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ae){const de="Wrong at_hash";return this.logger.warn(de),Promise.reject(de)}return this.checkSignature(ee).then(de=>{const Oe={idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X};return this.disableAtHashCheck?Oe:this.checkAtHash(ee).then(Ve=>{if(this.requestAccessToken&&!Ve){const Pt="Wrong at_hash";return this.logger.warn(Pt),Promise.reject(Pt)}return Oe})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(C=>this._storage.removeItem(C)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let v;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)v=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(C=C.set("id_token_hint",T));const E=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";E&&(C=C.set("post_logout_redirect_uri",E),b&&(C=C.set("state",b)));for(let R in w)C=C.set(R,w[R]);v=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+C.toString()}this.config.openUri(v)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const v="undefined"==typeof self?null:self.crypto||self.msCrypto;if(v){let C=new Uint8Array(i);v.getRandomValues(C),C.map||(C.map=Array.prototype.map),C=C.map(E=>b.charCodeAt(E%b.length)),T=String.fromCharCode.apply(null,C)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initAuthorizationCodeFlow"),console.error(v)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),v=this.getRefreshToken();if(!T)return;let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),E=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const R=btoa(`${this.clientId}:${this.dummyClientSecret}`);E=E.set("Authorization","Basic "+R)}if(this.useHttpBasicAuth||(C=C.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(C=C.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const R of Object.getOwnPropertyNames(this.customQueryParams))C=C.set(R,this.customQueryParams[R]);return new Promise((R,H)=>{let B,N;if(T){let V=C.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,V,{headers:E})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(v){let V=C.set("token",v).set("token_type_hint","refresh_token");N=this.http.post(i,V,{headers:E})}else N=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>0===V.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(V))),N=N.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>0===V.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(V)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,N]).subscribe(V=>{this.logOut(w),R(V),this.logger.info("Token successfully revoked")},V=>{this.logger.error("Error revoking token",V),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",V)),H(V)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(U){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)}}let DefaultOAuthInterceptor=(()=>{class Y{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>!!v)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(v=>{if(v){const E=w.headers.set("Authorization","Bearer "+v);w=w.clone({headers:E})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(C=>this.errorHandler.handleError(C)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v))):b.handle(w)}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class NullValidationHandler{validateSignature(U){return Promise.resolve(null)}validateAtHash(U){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Y{static forRoot(w=null,b=NullValidationHandler){return{ngModule:Y,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Y}),Y.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Y})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:Y=>{"use strict";Y.exports={i8:"6.0.0"}}},Y=>{Y(Y.s=4527)}]); \ No newline at end of file diff --git a/dist/apps/publications/main.a34b7552be5d4349.js b/dist/apps/publications/main.a34b7552be5d4349.js new file mode 100644 index 000000000..b2e366622 --- /dev/null +++ b/dist/apps/publications/main.a34b7552be5d4349.js @@ -0,0 +1 @@ +(self.webpackChunkpublications=self.webpackChunkpublications||[]).push([[179],{4527:(Y,U,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class v extends T{static makeCurrent(){(0,b.HT)(new v)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function E(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==e?null:function H(n){R=R||document.createElement("a"),R.setAttribute("href",n);const o=R.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let R,C=null;const B=new i.OlP("TRANSITION_ID"),V=[{provide:i.ip1,useFactory:function N(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let X=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const re=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Ie=(()=>{class n extends de{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(Oe),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Oe))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Oe(n){(0,b.q)().remove(n)}const Ve={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/"},Pt=/%COMP%/g;function fe(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let xe=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new he(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new _i(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new Xe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=fe(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(Ie),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class he{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ve[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ve[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ve[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,_e(t)):this.eventManager.addEventListener(o,e,_e(t))}}class _i extends he{constructor(o,e,t,s){super(o),this.component=t;const a=fe(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function ft(n){return"_ngcontent-%COMP%".replace(Pt,n)}(s+"-"+t.id),this.hostAttr=function ue(n){return"_nghost-%COMP%".replace(Pt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class Xe extends he{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=fe(s.id,s.styles,[]);for(let r=0;r{class n extends ae{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Nn=["alt","control","meta","shift"],Ge={"\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"},ri={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ro={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let xn=(()=>{class n extends ae{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(Nn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function Yi(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ri.hasOwnProperty(o)&&(o=ri[o]))}return Ge[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Nn.forEach(a=>{a!=s&&Ro[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Po=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function Xs(){v.makeCurrent(),J.init()},multi:!0},{provide:b.K0,useFactory:function zr(){return(0,i.RDi)(document),document},deps:[]}]),eo=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Fr(){return new i.qLn},deps:[]},{provide:re,useClass:lt,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:re,useClass:xn,multi:!0,deps:[b.K0]},{provide:xe,useClass:xe,deps:[ee,Ie,i.AFp]},{provide:i.FYo,useExisting:xe},{provide:de,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[re,i.R0b]},{provide:b.JF,useClass:X,deps:[]}];let Lo=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},V]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:eo,imports:[b.ez,i.hGG]}),n})(),Wt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Hi(){return new Wt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let Yn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(or),t},providedIn:"root"}),n})(),or=(()=>{class n extends Yn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function sr(n){return new or(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Pe{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const yi=new i.OlP("basePath");class qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let jn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,I,W,ce="body",we=!1){let Me=new D.LE({encoder:this.encoder});null!=e&&(Me=Me.set("attributeName",e)),null!=t&&(Me=Me.set("attributeId",t)),null!=s&&(Me=Me.set("facility",s)),null!=a&&(Me=Me.set("user",a)),null!=r&&(Me=Me.set("vo",r)),null!=c&&(Me=Me.set("resource",c)),null!=d&&(Me=Me.set("member",d)),null!=h&&(Me=Me.set("group",h)),null!=g&&(Me=Me.set("host",g)),null!=I&&(Me=Me.set("userExtSource",I)),null!=W&&(Me=Me.set("key",W));let Fe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Fe=Fe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Fe=Fe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Lt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Fe=Fe.set("Authorization","Bearer "+Lt)}const Jt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Jt&&(Fe=Fe.set("Accept",Jt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:Me,withCredentials:this.configuration.withCredentials,headers:Fe,observe:ce,reportProgress:we})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",I=!1){let W=new D.LE({encoder:this.encoder});null!=e&&(W=W.set("member",e)),null!=t&&(W=W.set("user",t)),null!=s&&(W=W.set("vo",s)),null!=a&&(W=W.set("group",a)),null!=r&&(W=W.set("resource",r)),null!=c&&(W=W.set("facility",c)),null!=d&&(W=W.set("host",d)),null!=h&&(W=W.set("userExtSource",h));let ce=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(ce=ce.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(ce=ce.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Fe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;ce=ce.set("Authorization","Bearer "+Fe)}const Me=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Me&&(ce=ce.set("Accept",Me)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:W,withCredentials:this.configuration.withCredentials,headers:ce,observe:g,reportProgress:I})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attrNames[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(we=>{g=g.append("attributes[]",we)});let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(ce=>{h=h.append("attributes[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(I=>{c=c.append("attributes[]",I)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach(W=>{d=d.append("attributes[]",W)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(I=>{c=c.append("attributes[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}auditMessagesManagerLog(e,t="body",s=!1){if(null==e)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("msg",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAuditerConsumer(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAuditerConsumers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuditerMessagesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getLastMessageId(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMessages(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesByCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("count",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMessagesPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetMessagesPage was null or undefined when calling getMessagesPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}pollConsumerMessages(e,t="body",s=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("consumerName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setLastProcessedId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==t)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("consumerName",e)),null!=t&&(r=r.set("lastProcessedId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(we=>{g=g.append("specificAttributes",we)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ai=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}createAutorship(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAuthorship was null or undefined when calling createAutorship.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryCat(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory was null or undefined when calling createCategoryCat.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createCategoryNR(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateCategory1 was null or undefined when calling createCategoryNR.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublication was null or undefined when calling createPublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createPublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateThanks was null or undefined when calling createThanks.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAuthorship(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter publicationId was null or undefined when calling deleteAuthorship.");if(null==t)throw new Error("Required parameter userId was null or undefined when calling deleteAuthorship.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("publicationId",e)),null!=t&&(r=r.set("userId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deletePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteThanks(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findAllAuthors(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findExternalPublications(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling findExternalPublications.");if(null==t)throw new Error("Required parameter yearSince was null or undefined when calling findExternalPublications.");if(null==s)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==a)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("yearSince",t)),null!=s&&(d=d.set("yearTill",s)),null!=a&&(d=d.set("pubSysNamespace",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findNewAuthors(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findPublicationsByFilter(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let c=new D.LE({encoder:this.encoder});null!=t&&(c=c.set("yearSince",t)),null!=s&&(c=c.set("yearTill",s)),null!=e&&(c=c.set("userId",e));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findPublicationsByGUIFilter(e,t,s,a,r,c,d,h,g,I="body",W=!1){let ce=new D.LE({encoder:this.encoder});null!=e&&(ce=ce.set("title",e)),null!=t&&(ce=ce.set("isbn",t)),null!=s&&(ce=ce.set("doi",s)),null!=a&&(ce=ce.set("id",a)),null!=r&&(ce=ce.set("year",r)),null!=c&&(ce=ce.set("category",c)),null!=d&&(ce=ce.set("yearSince",d)),null!=h&&(ce=ce.set("yearTill",h)),null!=g&&(ce=ce.set("userId",g));let we=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(we=we.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(we=we.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Ht="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;we=we.set("Authorization","Bearer "+Ht)}const Fe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Fe&&(we=we.set("Accept",Fe)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{params:ce,withCredentials:this.configuration.withCredentials,headers:we,observe:I,reportProgress:W})}findSimilarPublications(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("title",e)),null!=t&&(c=c.set("doi",t)),null!=s&&(c=c.set("isbn",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCategories(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRank(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichThanksByPublicationId(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}lockPublications(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputLockPublications was null or undefined when calling lockPublications.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateCategory(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateCategory was null or undefined when calling updateCategory.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublication was null or undefined when calling updatePublication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updatePublicationSystem(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getCurrentDatabaseVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getCurrentDatabaseVersion`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseDriverInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseDriverInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getDatabaseInformation(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getDatabaseInformation`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTimeOfQueryPerformance(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/databaseManager/getTimeOfQueryPerformance`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createExtSourceFromExtSourceObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter extSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createExtSourceWithNameType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==t)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSourceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getExtSources(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGroupExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}loadExtSourcesDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeExtSourceWithGroupSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeExtSourceWithVoSource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==t)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("source",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHost(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==t)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("hostname",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==t)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hostnames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyAttributesBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyManagersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwners(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersByDestinationName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacility",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceDestinationNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==t)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacilityName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyOwnersBySourceName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==t)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("srcFacilityName",e)),null!=t&&(r=r.set("destFacility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllowedGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedGroupsByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedRichGroupsWithAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedRichGroupsWithAttributesByFacilityName(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),t&&t.forEach(W=>{d=d.append("attrNames[]",W)}),null!=s&&(d=d.set("vo",s)),null!=a&&(d=d.set("service",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllowedUsersOfFacility(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedUsersOfFacilityByFacilityName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("service",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAllowedVos(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedVosByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedFacilitiesByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesByAssignedServiceForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForFacilityByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeams(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedSecurityTeamsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getBansForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facilityId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getEnrichedHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilitiesByDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByHostName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilitiesCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAdminUsers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAdminUsersByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityForHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwners(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityOwnersByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getHostById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHosts(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostsCountByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerFacilities(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichFacilities(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeBanByUserIdFacilityId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminGroupByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAdminUserByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeFacilityOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByFacilityNameOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityOwnerByOwnerName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==t)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("owner",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHost(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHost.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHostByHostname(e,t="body",s=!1){if(null==e)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("hostname",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeHosts(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostsByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==t)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("hosts[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeam(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSecurityTeamByFacilityName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==t)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("securityTeam",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFacility was null or undefined when calling updateFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFacilityBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),It=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getFacilityAdminGroupsByFacilityName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroupsByFacilityName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups/f-name`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("members[]",I)}),s&&s.forEach(I=>{c=c.append("attrNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getGroupMemberData(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/integrationManager/getGroupMemberData`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ze=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("attrsNames[]",I)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(I=>{c=c.append("allowedStatuses[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(we=>{g=g.append("attrsNames[]",we)}),r&&r.forEach(we=>{g=g.append("allowedStatuses[]",we)}),c&&c.forEach(we=>{g=g.append("allowedGroupStatuses[]",we)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("attrsNames[]",W)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(ce=>{h=h.append("allowedStatuses[]",ce)}),a&&a.forEach(ce=>{h=h.append("allowedGroupStatuses[]",ce)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(ce=>{h=h.append("attrsNames[]",ce)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach(W=>{d=d.append("attrsNames[]",W)}),a&&a.forEach(W=>{d=d.append("allowedStatuses[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("allowedStatuses[]",I)}),s&&s.forEach(I=>{c=c.append("attrsNames[]",I)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}createOwner(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateOwner was null or undefined when calling createOwner.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("owner",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllOwners(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getOwnerById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getOwnerByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("owner",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach(W=>{d=d.append("state[]",W)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(I=>{c=c.append("groups[]",I)}),t&&t.forEach(I=>{c=c.append("resources[]",I)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(ce=>{h=h.append("resources[]",ce)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(ce=>{h=h.append("groups[]",ce)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach(W=>{d=d.append("specificAttributes",W)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gi=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addDestination(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling addDestination.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("facility",t)),null!=s&&(h=h.set("destination",s)),null!=a&&(h=h.set("type",a)),null!=r&&(h=h.set("propagationType",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}addDestinationToMultipleServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addDestinationsForAllServicesOnFacility(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==s)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("destination",t)),null!=s&&(d=d.set("type",s)),null!=a&&(d=d.set("propagationType",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}addRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addServiceToServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}blockServiceOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}blockServiceOnDestinationWithNameAndType(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}blockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==s)throw new Error("Required parameter script was null or undefined when calling createService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("name",e)),null!=t&&(c=c.set("description",t)),null!=s&&(c=c.set("script",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createServiceWithService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateService was null or undefined when calling createServiceWithService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServicesPackage was null or undefined when calling createServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createServicesPackageByNameAndDescription(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("description",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling deleteService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllDestinations(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRichDestinationsForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichDestinationsForService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedServices(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDataWithVos(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getDestinationsCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFacilitiesDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAssignedServicesForGUI(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFlatData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedDataWithGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHashedHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getHierarchicalData(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("filterExpiredMembers",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getServiceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServiceByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServices(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getServicesBlockedOnDestination(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesBlockedOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesByAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesFromServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("servicesPackage",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackageByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("name",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getServicesPackages(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isServiceBlockedOnDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isServiceBlockedOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}planServicePropagation(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllDestinations(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAllRequiredAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeDestination(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==s)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==a)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("destination",s)),null!=a&&(d=d.set("type",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeRequiredAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeRequiredAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServiceFromServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("servicesPackage",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnDestinationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("destination",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockAllServicesOnDestinationByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==t)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("destination",e)),null!=t&&(r=r.set("destinationType",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockAllServicesOnFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}unblockServiceOnDestinationById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}unblockServiceOnDestinationByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==s)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("destination",t)),null!=s&&(c=c.set("destinationType",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}unblockServiceOnFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateService(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateService was null or undefined when calling updateService.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateServicesPackage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ns=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}countTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}deleteTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskIdObject was null or undefined when calling deleteTask.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResultIdObject was null or undefined when calling deleteTaskResultById.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteTaskResultsNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllFacilitiesStates(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("voId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityServicesState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityState(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("taskResult",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResults(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getTaskResultsByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForDestinations(e,t="body",s=!1){if(null==e)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("destinations[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTask(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getTaskResultsForGUIByTaskAndDestination(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==t)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("task",e)),null!=t&&(r=r.set("destination",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getTaskResultsForGUIByTaskOnlyNewest(e,t="body",s=!1){if(null==e)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("task",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isThereSuchTask(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}listAllTasks(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}listAllTasksForFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}suspendTasksPropagation(e,t="body",s=!1){if(null==e)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("suspend",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$t=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach(W=>{d=d.append("attrNames[]",W)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const W="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+W)}const I=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==I&&(h=h.set("Accept",I)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let I=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(I=I.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(I=I.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const we="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;I=I.set("Authorization","Bearer "+we)}const ce=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ce&&(I=I.set("Accept",ce)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:I,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hs=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),no=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Pe}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(I=>{c=c.append("attrNames[]",I)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(ce=>{h=h.append("specificAttributes",ce)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const ce="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+ce)}const W=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==W&&(g=g.set("Accept",W)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const I="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+I)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(yi,8),i.LFG(qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eh=(()=>{class n{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(e){return{ngModule:n,providers:[{provide:qe,useFactory:e}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12),i.LFG(D.eN,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[jn,dt,xi,ai,bi,cn,Fi,It,gn,wi,ze,mt,Gt,mn,Zt,gi,ns,$t,hs,no],imports:[[]]}),n})();var Tt=(()=>{return(n=Tt||(Tt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Tt;var n})();let oo=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER,Tt.FACILITYADMIN,Tt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Tt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Tt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Tt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Tt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.VOOBSERVER,Tt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Tt.PERUNADMIN,Tt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const W of this.allRolesManagementRules)if(W.roleName===a){r=r.concat(W.privilegedRolesToRead),c=c.concat(W.privilegedRolesToManage);for(const ce of Object.keys(W.entitiesToManage))d="User"===ce?[ce].concat(d):d.concat(ce);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),I=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:I,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,un.D)(e):(0,Gn.c)()).subscribe(o)})}var fu=w(1762),at=w(4850),Ci=w(7545),Ut=w(2986),ao=w(2866);function Vt(...n){const o=n[n.length-1];return(0,ao.K)(o)?(n.pop(),e=>ro(n,e,o)):e=>ro(n,e)}var Ls=w(3489);function Va(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Ur(n,o,e))}}class Ur{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new qa(o,this.accumulator,this.seed,this.hasSeed))}}class qa extends Ls.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var Tn=w(7221),fs=w(1406),pu=w(4231);function _n(n){return function(e){return 0===n?(0,Gn.c)():e.lift(new rl(n))}}class rl{constructor(o){if(this.total=o,this.total<0)throw new pu.W}call(o,e){return e.subscribe(new ih(o,this.total))}}class ih extends Ls.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new O(n))}class O{constructor(o){this.callback=o}call(o,e){return e.subscribe(new $(o,this.callback))}}class $ extends Ls.L{constructor(o,e){super(o),this.add(new P.w(e))}}class ie{constructor(o,e){this.id=o,this.url=e}}class pe extends ie{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class be extends ie{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ze extends ie{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xt extends ie{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mt extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nt extends ie{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zi extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi extends ie{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ci{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class uo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ps{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ur{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class al{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const vt="primary";class hr{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Vr(n){return new hr(n)}const cl="ngNavigationCancelingError";function Te(n){const o=Error("NavigationCancelingError: "+n);return o[cl]=!0,o}function nh(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function os(n){return Array.prototype.concat.apply([],n)}function ll(n){return n.length>0?n[n.length-1]:null}function St(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Is(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,un.D)(Promise.resolve(n)):(0,Ye.of)(n)}const Ka={exact:function ms(n,o,e){if(!fo(n.segments,o.segments)||!fr(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!ms(n.children[t],o.children[t],e))return!1;return!0},subset:oh},yn={exact:function sh(n,o){return gs(n,o)},subset:function ho(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>qr(n[e],o[e]))},ignored:()=>!0};function Os(n,o,e){return Ka[e.paths](n.root,o.root,e.matrixParams)&&yn[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function oh(n,o,e){return mu(n,o,o.segments,e)}function mu(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!fo(s,e)||o.hasChildren()||!fr(s,e,t))}if(n.segments.length===e.length){if(!fo(n.segments,e)||!fr(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!oh(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(fo(n.segments,s)&&fr(n.segments,s,t)&&n.children[vt])&&mu(n.children[vt],o,a,t)}}function fr(n,o,e){return o.every((t,s)=>yn[e](n[s].parameters,t.parameters))}class Hs{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vr(this.queryParams)),this._queryParamMap}toString(){return rh.serialize(this)}}class kt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,St(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $a(this)}}class pr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Vr(this.parameters)),this._parameterMap}toString(){return Ai(this)}}function fo(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Za{}class gr{parse(o){const e=new Ja(o);return new Hs(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${Gr(o.root,!0)}`,t=function vp(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${mr(e)}=${mr(s)}`).join("&"):`${mr(e)}=${mr(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function Ap(n){return encodeURI(n)}(o.fragment)}`:""}`}}const rh=new gr;function $a(n){return n.segments.map(o=>Ai(o)).join("/")}function Gr(n,o){if(!n.hasChildren())return $a(n);if(o){const e=n.children[vt]?Gr(n.children[vt],!1):"",t=[];return St(n.children,(s,a)=>{a!==vt&&t.push(`${a}:${Gr(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function yu(n,o){let e=[];return St(n.children,(t,s)=>{s===vt&&(e=e.concat(o(t,s)))}),St(n.children,(t,s)=>{s!==vt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===vt?[Gr(n.children[vt],!1)]:[`${s}:${Gr(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[vt]?`${$a(n)}/${e[0]}`:`${$a(n)}/(${e.join("//")})`}}function bu(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mr(n){return bu(n).replace(/%3B/gi,";")}function wu(n){return bu(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rn(n){return decodeURIComponent(n)}function po(n){return rn(n.replace(/\+/g,"%20"))}function Ai(n){return`${wu(n.path)}${function Au(n){return Object.keys(n).map(o=>`;${wu(o)}=${wu(n[o])}`).join("")}(n.parameters)}`}const ah=/^[^\/()?;=#]+/;function Ln(n){const o=n.match(ah);return o?o[0]:""}const _r=/^[^=?&#]+/,dl=/^[^&#]+/;class Ja{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kt([],{}):new kt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[vt]=new kt(o,e)),t}parseSegment(){const o=Ln(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new pr(rn(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=Ln(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=Ln(this.remaining);s&&(t=s,this.capture(t))}o[rn(e)]=rn(t)}parseQueryParam(o){const e=function ch(n){const o=n.match(_r);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function Wa(n){const o=n.match(dl);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=po(e),a=po(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Ln(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=vt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[vt]:new kt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class hl{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=fl(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=fl(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=pl(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return pl(o,this._root).map(e=>e.value)}}function fl(n,o){if(n===o.value)return o;for(const e of o.children){const t=fl(n,e);if(t)return t}return null}function pl(n,o){if(n===o.value)return[o];for(const e of o.children){const t=pl(n,e);if(t.length)return t.unshift(o),t}return[]}class bn{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Fs(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class lh extends hl{constructor(o,e){super(o),this.snapshot=e,Kr(this,o)}toString(){return this.snapshot.toString()}}function uh(n,o){const e=function Qa(n,o){const r=new vu([],{},{},"",{},vt,o,null,n.root,-1,{});return new Tp("",new bn(r,[]))}(n,o),t=new ji([new pr("",{})]),s=new ji({}),a=new ji({}),r=new ji({}),c=new ji(""),d=new In(t,s,r,c,a,vt,o,e.root);return d.snapshot=e.root,new lh(new bn(d,[]),e)}class In{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}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._paramMap=this.params.pipe((0,at.U)(o=>Vr(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,at.U)(o=>Vr(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dh(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function Cp(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class vu{constructor(o,e,t,s,a,r,c,d,h,g,I){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=I}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._paramMap=Vr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Vr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Tp extends hl{constructor(o,e){super(e),this.url=o,Kr(this,e)}toString(){return Cu(this._root)}}function Kr(n,o){o.value._routerState=n,o.children.forEach(e=>Kr(n,e))}function Cu(n){const o=n.children.length>0?` { ${n.children.map(Cu).join(", ")} } `:"";return`${n.value}${o}`}function Xa(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,gs(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),gs(o.params,e.params)||n.params.next(e.params),function qi(n,o){if(n.length!==o.length)return!1;for(let e=0;egs(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Zr(n.parent,o.parent))}function $r(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Wr(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return $r(n,t,s);return $r(n,t)})}(n,o,e);return new bn(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>$r(n,c)),r}}const t=function Mp(n){return new In(new ji(n.url),new ji(n.params),new ji(n.queryParams),new ji(n.fragment),new ji(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>$r(n,a));return new bn(t,s)}}function Qr(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function No(n){return"object"==typeof n&&null!=n&&n.outlets}function hh(n,o,e,t,s){let a={};return t&&St(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Hs(e.root===n?o:Tu(e.root,n,o),a,s)}function Tu(n,o,e){const t={};return St(n.children,(s,a)=>{t[a]=s===o?e:Tu(s,o,e)}),new kt(n.segments,t)}class gl{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&Qr(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(No);if(s&&s!==ll(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ml{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function ea(n,o,e){if(n||(n=new kt([],{})),0===n.segments.length&&n.hasChildren())return rs(n,o,e);const t=function ph(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(No(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!Su(d,h,r))return a;t+=2}else{if(!Su(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=ea(n.children[r],o,a))}),St(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new kt(n.segments,s)}}function tc(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=tc(new kt([],{}),0,e))}),o}function Mu(n){const o={};return St(n,(e,t)=>o[t]=`${e}`),o}function Su(n,o,e){return n==e.path&&gs(o,e.parameters)}class kp{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),Xa(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Fs(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),St(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Fs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Fs(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Fs(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new al(a.value.snapshot))}),o.children.length&&this.forwardEvent(new it(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(Xa(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),Xa(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function _l(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class yr{constructor(o,e){this.routes=o,this.module=e}}function jo(n){return"function"==typeof n}function Uo(n){return n instanceof Hs}const zs=Symbol("INITIAL_VALUE");function Ns(){return(0,Ci.w)(n=>(0,jr.aj)(n.map(o=>o.pipe((0,Ut.q)(1),Vt(zs)))).pipe(Va((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==zs?s:(a===zs&&(t=!0),t||!1!==a&&r!==e.length-1&&!Uo(a)?s:a),o)},zs),(0,Kt.h)(o=>o!==zs),(0,at.U)(o=>Uo(o)?o:!0===o),(0,Ut.q)(1)))}class ia{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new na,this.attachRef=null}}class na{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new ia,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let sa=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||vt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new oa(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(na),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class oa{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===In?this.route:o===na?this.childContexts:this.parent.get(o,e)}}let Ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[sa],encapsulation:2}),n})();function yh(n,o=""){for(let e=0;e_s(t)===o);return e.push(...n.filter(t=>_s(t)!==o)),e}const yl={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},yl):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||nh)(e,n,o);if(!a)return Object.assign({},yl);const r={};St(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Ru(n,o,e,t,s="corrected"){if(e.length>0&&function Gi(n,o,e){return e.some(t=>go(n,o,t)&&_s(t)!==vt)}(n,e,t)){const r=new kt(o,function w_(n,o,e,t){const s={};s[vt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&_s(a)!==vt){const r=new kt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[_s(a)]=r}return s}(n,o,t,new kt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Pu(n,o,e){return e.some(t=>go(n,o,t))}(n,e,t)){const r=new kt(n.segments,function ic(n,o,e,t,s,a){const r={};for(const c of t)if(go(n,e,c)&&!s[_s(c)]){const d=new kt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[_s(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new kt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function go(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function xp(n,o,e,t){return!!(_s(n)===t||t!==vt&&go(o,e,n))&&("**"===n.path||xu(o,n,e).matched)}function wh(n,o,e){return 0===o.length&&!n.children[e]}class dn{constructor(o){this.segmentGroup=o||null}}class ys{constructor(o){this.urlTree=o}}function nc(n){return new Ui.y(o=>o.error(new dn(n)))}function sc(n){return new Ui.y(o=>o.error(new ys(n)))}function as(n){return new Ui.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Pp{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Ru(this.urlTree.root,[],[],this.config).segmentGroup,e=new kt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,vt).pipe((0,at.U)(a=>this.createUrlTree(Re(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Tn.K)(a=>{if(a instanceof ys)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof dn?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,vt).pipe((0,at.U)(s=>this.createUrlTree(Re(s),o.queryParams,o.fragment))).pipe((0,Tn.K)(s=>{throw s instanceof dn?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new kt([],{[vt]:o}):o;return new Hs(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,at.U)(a=>new kt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,un.D)(s).pipe((0,fs.b)(a=>{const r=t.children[a],c=Du(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,at.U)(d=>({segment:d,outlet:a})))}),Va((a,r)=>(a[r.outlet]=r.segment,a),{}),function co(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,Kt.h)((s,a)=>n(s,a,t)):lr.y,_n(1),e?(0,di.d)(o):(0,Ga.T)(()=>new hu.K))}())}expandSegment(o,e,t,s,a,r){return(0,un.D)(t).pipe((0,fs.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,Tn.K)(h=>{if(h instanceof dn)return(0,Ye.of)(null);throw h}))),(0,lo.P)(c=>!!c),(0,Tn.K)((c,d)=>{if(c instanceof hu.K||"EmptyError"===c.name){if(wh(e,s,a))return(0,Ye.of)(new kt([],{}));throw new dn(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return xp(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):nc(e):nc(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?sc(a):this.lineralizeSegments(t,a).pipe((0,Vi.zg)(r=>{const c=new kt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=xu(e,s,a);if(!c)return nc(e);const I=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?sc(I):this.lineralizeSegments(s,I).pipe((0,Vi.zg)(W=>this.expandSegment(o,e,t,W.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,at.U)(W=>(t._loadedConfig=W,new kt(s,{})))):(0,Ye.of)(new kt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=xu(e,t,s);if(!r)return nc(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,Vi.zg)(I=>{const W=I.module,ce=I.routes,{segmentGroup:we,slicedSegments:Me}=Ru(e,c,h,ce),Fe=new kt(we.segments,we.children);if(0===Me.length&&Fe.hasChildren())return this.expandChildren(W,ce,Fe).pipe((0,at.U)(oi=>new kt(c,oi)));if(0===ce.length&&0===Me.length)return(0,Ye.of)(new kt(c,{}));const Ht=_s(t)===a;return this.expandSegment(W,Fe,ce,Me,Ht?vt:a,!0).pipe((0,at.U)(Lt=>new kt(c.concat(Lt.segments),Lt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ye.of)(new yr(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ye.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,Vi.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,at.U)(a=>(e._loadedConfig=a,a))):function Lu(n){return new Ui.y(o=>o.error(Te(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ye.of)(new yr([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ye.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function ta(n){return n&&jo(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!jo(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return Is(d)});return(0,Ye.of)(a).pipe(Ns(),(0,on.b)(r=>{if(!Uo(r))return;const c=Te(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,at.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ye.of)(t);if(s.numberOfChildren>1||!s.children[vt])return as(o.redirectTo);s=s.children[vt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Hs(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return St(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return St(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new kt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function Re(n){const o={};for(const t of Object.keys(n.children)){const a=Re(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function A_(n){if(1===n.numberOfChildren&&n.children[vt]){const o=n.children[vt];return new kt(n.segments.concat(o.segments),o.children)}return n}(new kt(n.segments,o))}class On{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class br{constructor(o,e){this.component=o,this.route=e}}function Ot(n,o,e){const t=n._root;return oc(t,o?o._root:null,e,[t.value])}function ra(n,o,e){const t=function Ou(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function oc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Fs(o);return n.children.forEach(r=>{(function Lp(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function Ip(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!fo(n.url,o.url);case"pathParamsOrQueryParamsChange":return!fo(n.url,o.url)||!gs(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zr(n,o)||!gs(n.queryParams,o.queryParams);default:return!Zr(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new On(t)):(a.data=r.data,a._resolvedData=r._resolvedData),oc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new br(c.outlet.component,r))}else r&&rc(o,c,s),s.canActivateChecks.push(new On(t)),oc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),St(a,(r,c)=>rc(r,e.getContext(c),s)),s}function rc(n,o,e){const t=Fs(n),s=n.value;St(t,(a,r)=>{rc(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new br(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class Ch{}function wl(n){return new Ui.y(o=>o.error(n))}class Fp{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Ru(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,vt);if(null===e)return null;const t=new vu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new bn(t,e),a=new Tp(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=dh(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=Du(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=Ki(t);return function Kn(n){n.sort((o,e)=>o.value.outlet===vt?-1:e.value.outlet===vt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return wh(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!xp(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const ce=t.length>0?ll(t).parameters:{};a=new vu(t,ce,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,aa(o),_s(o),o.component,o,Sh(e),Al(e)+t.length,kh(o))}else{const ce=xu(e,o,t);if(!ce.matched)return null;r=ce.consumedSegments,c=t.slice(ce.lastChild),a=new vu(r,ce.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,aa(o),_s(o),o.component,o,Sh(e),Al(e)+r.length,kh(o))}const d=function Mh(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Ru(e,r,c,d.filter(ce=>void 0===ce.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const ce=this.processChildren(d,h);return null===ce?null:[new bn(a,ce)]}if(0===d.length&&0===g.length)return[new bn(a,[])];const I=_s(o)===s,W=this.processSegment(d,h,g,I?vt:s);return null===W?null:[new bn(a,W)]}}function zp(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function Ki(n){const o=[],e=new Set;for(const t of n){if(!zp(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=Ki(t.children);o.push(new bn(t.value,s))}return o.filter(t=>!e.has(t))}function Sh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Al(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function aa(n){return n.data||{}}function kh(n){return n.resolve||{}}function Fu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function zu(n){return(0,Ci.w)(o=>{const e=n(o);return e?(0,un.D)(e).pipe((0,at.U)(()=>o)):(0,Ye.of)(o)})}class vl extends class Nu{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const Cl=new i.OlP("ROUTES");class Dh{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,at.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new yr(os(r.injector.get(Cl,void 0,i.XFs.Self|i.XFs.Optional)).map(bh),r)}),(0,Tn.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new fu.c(s,()=>new ke.xQ).pipe((0,ni.x)()),e._loader$}loadModuleFactory(o){return Is(o()).pipe((0,Vi.zg)(e=>e instanceof i.YKP?(0,Ye.of)(e):(0,un.D)(this.compiler.compileModuleAsync(e))))}}class ws{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function uc(n){throw n}function jp(n,o,e){return o.parse("/")}function Up(n,o){return(0,Ye.of)(null)}const xh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ri=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ke.xQ,this.errorHandler=uc,this.malformedUriErrorHandler=jp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Up,afterPreactivation:Up},this.urlHandlingStrategy=new ws,this.routeReuseStrategy=new vl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const I=r.get(i.R0b);this.isNgZoneEnabled=I instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function ul(){return new Hs(new kt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Dh(r,c,W=>this.triggerEvent(new ci(W)),W=>this.triggerEvent(new uo(W))),this.routerState=uh(this.currentUrlTree,this.rootComponentType),this.transitions=new ji({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,Kt.h)(s=>0!==s.id),(0,at.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,Ci.w)(s=>{let a=!1,r=!1;return(0,Ye.of)(s).pipe((0,on.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ci.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return wr(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ye.of)(c).pipe((0,Ci.w)(I=>{const W=this.transitions.getValue();return t.next(new pe(I.id,this.serializeUrl(I.extractedUrl),I.source,I.restoredState)),W!==this.transitions.getValue()?Gn.E:Promise.resolve(I)}),function Ah(n,o,e,t){return(0,Ci.w)(s=>function Rp(n,o,e,t,s){return new Pp(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,at.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,on.b)(I=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:I.urlAfterRedirects})}),function Bp(n,o,e,t,s){return(0,Vi.zg)(a=>function Th(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new Fp(n,o,e,t,s,a).recognize();return null===r?wl(new Ch):(0,Ye.of)(r)}catch(r){return wl(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,at.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,I=>this.serializeUrl(I),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,on.b)(I=>{if("eager"===this.urlUpdateStrategy){if(!I.extras.skipLocationChange){const ce=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl);this.setBrowserUrl(ce,I)}this.browserUrlTree=I.urlAfterRedirects}const W=new Yt(I.id,this.serializeUrl(I.extractedUrl),this.serializeUrl(I.urlAfterRedirects),I.targetSnapshot);t.next(W)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:W,extractedUrl:ce,source:we,restoredState:Me,extras:Fe}=c,Ht=new pe(W,this.serializeUrl(ce),we,Me);t.next(Ht);const Jt=uh(ce,this.rootComponentType).snapshot;return(0,Ye.of)(Object.assign(Object.assign({},c),{targetSnapshot:Jt,urlAfterRedirects:ce,extras:Object.assign(Object.assign({},Fe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),Gn.E}),zu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,on.b)(c=>{const d=new Mt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,at.U)(c=>Object.assign(Object.assign({},c),{guards:Ot(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function vh(n,o){return(0,Vi.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ye.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function bs(n,o,e,t){return(0,un.D)(n).pipe((0,Vi.zg)(s=>function Hp(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ye.of)(!0);const r=a.map(c=>{const d=ra(c,o,s);let h;if(function Eu(n){return n&&jo(n.canDeactivate)}(d))h=Is(d.canDeactivate(n,o,e,t));else{if(!jo(d))throw new Error("Invalid CanDeactivate guard");h=Is(d(n,o,e,t))}return h.pipe((0,lo.P)())});return(0,Ye.of)(r).pipe(Ns())}(s.component,s.route,e,o,t)),(0,lo.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,Vi.zg)(c=>c&&function mh(n){return"boolean"==typeof n}(c)?function bl(n,o,e,t){return(0,un.D)(o).pipe((0,fs.b)(s=>ro(function ac(n,o){return null!==n&&o&&o(new ps(n)),(0,Ye.of)(!0)}(s.route.parent,t),function Op(n,o){return null!==n&&o&&o(new ur(n)),(0,Ye.of)(!0)}(s.route,t),function cc(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function Iu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>cr(()=>{const c=r.guards.map(d=>{const h=ra(d,r.node,e);let g;if(function ku(n){return n&&jo(n.canActivateChild)}(h))g=Is(h.canActivateChild(t,n));else{if(!jo(h))throw new Error("Invalid CanActivateChild guard");g=Is(h(t,n))}return g.pipe((0,lo.P)())});return(0,Ye.of)(c).pipe(Ns())}));return(0,Ye.of)(a).pipe(Ns())}(n,s.path,e),function Hu(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ye.of)(!0);const s=t.map(a=>cr(()=>{const r=ra(a,o,e);let c;if(function _h(n){return n&&jo(n.canActivate)}(r))c=Is(r.canActivate(o,n));else{if(!jo(r))throw new Error("Invalid CanActivate guard");c=Is(r(o,n))}return c.pipe((0,lo.P)())}));return(0,Ye.of)(s).pipe(Ns())}(n,s.route,e))),(0,lo.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ye.of)(c)),(0,at.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,on.b)(c=>{if(Uo(c.guardsResult)){const h=Te(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new Nt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,Kt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),zu(c=>{if(c.guards.canActivateChecks.length)return(0,Ye.of)(c).pipe((0,on.b)(d=>{const h=new zi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,Ci.w)(d=>{let h=!1;return(0,Ye.of)(d).pipe(function Yp(n,o){return(0,Vi.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ye.of)(e);let a=0;return(0,un.D)(s).pipe((0,fs.b)(r=>function lc(n,o,e,t){return function Zn(n,o,e,t){const s=Fu(n);if(0===s.length)return(0,Ye.of)({});const a={};return(0,un.D)(s).pipe((0,Vi.zg)(r=>function ca(n,o,e,t){const s=ra(n,o,t);return Is(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,on.b)(c=>{a[r]=c}))),_n(1),(0,Vi.zg)(()=>Fu(a).length===s.length?(0,Ye.of)(a):Gn.E))}(n._resolve,n,o,t).pipe((0,at.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),dh(n,e).resolve),null)))}(r.route,t,n,o)),(0,on.b)(()=>a++),_n(1),(0,Vi.zg)(r=>a===s.length?(0,Ye.of)(e):Gn.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,on.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,on.b)(d=>{const h=new hi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),zu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:I,extras:{skipLocationChange:W,replaceUrl:ce}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:I,skipLocationChange:!!W,replaceUrl:!!ce})}),(0,at.U)(c=>{const d=function ec(n,o,e){const t=$r(n,o._root,e?e._root:void 0);return new lh(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,on.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,at.U)(t=>(new kp(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,on.b)({next(){a=!0},complete(){a=!0}}),q(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,Tn.K)(c=>{if(r=!0,function Ft(n){return n&&n[cl]}(c)){const d=Uo(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new Ze(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),I={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wr(s.source)};this.scheduleNavigation(g,"imperative",null,I,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new Xt(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return Gn.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yh(e),this.config=e.map(bh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let I=null;switch(c){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=a||null}return null!==I&&(I=this.removeEmptyProps(I)),function Jr(n,o,e,t,s){if(0===e.length)return hh(o.root,o.root,o,t,s);const a=function fh(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new gl(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return St(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new gl(e,o,t)}(e);if(a.toRoot())return hh(o.root,new kt([],{}),o,t,s);const r=function Bo(n,o,e){if(n.isAbsolute)return new ml(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new ml(a,a===o.root,0)}const t=Qr(n.commands[0])?0:1;return function Yo(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new ml(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?rs(r.segmentGroup,r.index,a.commands):ea(r.segmentGroup,r.index,a.commands);return hh(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,I,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Uo(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function la(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new be(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,I=wr(t)&&g&&!wr(g.source),W=g.rawUrl.toString()===e.toString(),ce=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(I&&W&&ce)return Promise.resolve(!0);let Me,Fe,Ht;r?(Me=r.resolve,Fe=r.reject,Ht=r.promise):Ht=new Promise((oi,au)=>{Me=oi,Fe=au});const Jt=++this.navigationId;let Lt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Lt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Lt=0,this.setTransition({id:Jt,targetPageId:Lt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:Me,reject:Fe,promise:Ht,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ht.catch(oi=>Promise.reject(oi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new Ze(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wr(n){return"imperative"!==n}let Et=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new ke.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri),i.Y36(In),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),_=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new ke.xQ,this.subscription=e.events.subscribe(a=>{a instanceof be&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri),i.Y36(In),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function S(n){return""===n||!!n}class G{}class me{preload(o,e){return(0,Ye.of)(null)}}let Qe=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Dh(s,t,d=>e.triggerEvent(new ci(d)),d=>e.triggerEvent(new uo(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Kt.h)(e=>e instanceof be),(0,fs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,un.D)(s).pipe((0,Ua.J)(),(0,at.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ye.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Vi.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ri),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(G))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Dt=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof be&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof dr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new dr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const hn=new i.OlP("ROUTER_CONFIGURATION"),wn=new i.OlP("ROUTER_FORROOT_GUARD"),Vo=[b.Ye,{provide:Za,useClass:gr},{provide:Ri,useFactory:function v_(n,o,e,t,s,a,r={},c,d){const h=new Ri(null,n,o,e,t,s,os(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function ov(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var I,W;null===(I=console.group)||void 0===I||I.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===(W=console.groupEnd)||void 0===W||W.call(console)}),h},deps:[Za,na,b.Ye,i.zs3,i.Sil,Cl,hn,[class mo{},new i.FiY],[class Eh{},new i.FiY]]},na,{provide:In,useFactory:function rv(n){return n.routerState.root},deps:[Ri]},Qe,me,class se{preload(o,e){return e().pipe((0,Tn.K)(()=>(0,Ye.of)(null)))}},{provide:hn,useValue:{enableTracing:!1}}];function iv(){return new i.PXZ("Router",Ri)}let Rh=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[Vo,dc(e),{provide:wn,useFactory:Ar,deps:[[Ri,new i.FiY,new i.tp0]]},{provide:hn,useValue:t||{}},{provide:b.S$,useFactory:sv,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],hn]},{provide:Dt,useFactory:nv,deps:[Ri,b.EM,hn]},{provide:G,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:me},{provide:i.PXZ,multi:!0,useFactory:iv},[qp,{provide:i.ip1,multi:!0,useFactory:av,deps:[qp]},{provide:Gp,useFactory:cv,deps:[qp]},{provide:i.tb,multi:!0,useExisting:Gp}]]}}static forChild(e){return{ngModule:n,providers:[dc(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wn,8),i.LFG(Ri,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function nv(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Dt(n,o,e)}function sv(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function Ar(n){return"guarded"}function dc(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Cl,multi:!0,useValue:n}]}let qp=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ke.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(Ri),r=this.injector.get(hn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ye.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(hn),s=this.injector.get(Qe),a=this.injector.get(Dt),r=this.injector.get(Ri),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function av(n){return n.appInitializer.bind(n)}function cv(n){return n.bootstrapListener.bind(n)}const Gp=new i.OlP("Router Initializer");let Mn=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,Yu.k)(s)?t(...s):t(s))):new Ui.y(s=>{dv(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function dv(n,o,e,t,s){let a;if(function Zp(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function Kp(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function gM(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let hv=1;const fv=Promise.resolve(),Ph={};function $p(n){return n in Ph&&(delete Ph[n],!0)}const Uu={setImmediate(n){const o=hv++;return Ph[o]=!0,fv.then(()=>$p(o)&&n()),o},clearImmediate(n){$p(n)}},Pi=new class gv extends M_.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=Uu.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(Uu.clearImmediate(e),o.scheduled=void 0)}});var Vu=w(353),E_=w(826),Lh=w(9054);class mv{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new _v(o,this.durationSelector))}}class _v extends E_.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,Lh.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Jp(n){return!(0,Yu.k)(n)&&n-parseFloat(n)+1>=0}function x_(n=0,o,e){let t=-1;return Jp(o)?t=Number(o)<1?1:Number(o):(0,ao.K)(o)&&(e=o),(0,ao.K)(e)||(e=Vu.P),new Ui.y(s=>{const a=Jp(n)?n:+n-e.now();return e.schedule(yv,a,{index:0,period:t,subscriber:s})})}function yv(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function bv(n,o=Vu.P){return function D_(n){return function(e){return e.lift(new mv(n))}}(()=>x_(n,o))}function $e(n){return o=>o.lift(new qu(n))}class qu{constructor(o){this.notifier=o}call(o,e){const t=new $n(o),s=(0,Lh.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class $n extends E_.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Gu;try{Gu="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Gu=!1}let Wi,fi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Gu)&&"undefined"!=typeof CSS&&!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}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Tl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ih(){if(Wi)return Wi;if("object"!=typeof document||!document)return Wi=new Set(Tl),Wi;let n=document.createElement("input");return Wi=new Set(Tl.filter(o=>(n.setAttribute("type",o),n.type===o))),Wi}let Ku,Oh,ha,Qp;function _o(n){return function wv(){if(null==Ku&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ku=!0}))}finally{Ku=Ku||!1}return Ku}()?n:!!n.capture}function R_(){if(null==ha){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ha=!1,ha;if("scrollBehavior"in document.documentElement.style)ha=!0;else{const n=Element.prototype.scrollTo;ha=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ha}function Ml(){if("object"!=typeof document||!document)return 0;if(null==Oh){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Oh=0,0===n.scrollLeft&&(n.scrollLeft=1,Oh=0===n.scrollLeft?1:2),n.remove()}return Oh}function Sl(n){if(function Av(){if(null==Qp){const n="undefined"!=typeof document?document.head:null;Qp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Qp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function kl(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function yo(n){return n.composedPath?n.composedPath()[0]:n.target}function Zu(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const vv=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function Cv(){return(0,i.f3M)(b.K0)}}),$u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ti=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function Tv(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?$u.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vv,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),El=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Dl=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ke.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ui.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(bv(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ye.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,Kt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=ei(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>da(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(fi),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wu=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new ke.xQ,this._elementScrolled=new Ui.y(r=>this.ngZone.runOutsideAngular(()=>da(this.elementRef.nativeElement,"scroll").pipe($e(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=Ml()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Ml()?e.left=e.right:1==Ml()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;R_()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==Ml()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==Ml()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b),i.Y36(Ti,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),Hn=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new ke.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(bv(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),An=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),fa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El,hc,An],El,An]}),n})();class Ju{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class pa extends Ju{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class Cr extends Ju{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class TM extends Ju{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class ga{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof pa?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Cr?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof TM?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class O_ extends ga{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Xp=(()=>{class n extends Cr{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),n})(),Tr=(()=>{class n extends ga{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),xl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Mi=w(6787);class eg{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new F_(o,this.predicate,this.inclusive))}}class F_ extends Ls.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function Ni(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const ay=R_();class cy{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=$i(-this._previousScrollPosition.left),o.style.top=$i(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),ay&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ay&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class ly{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class sg{enable(){}disable(){}attach(){}}function og(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function rg(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class Xv{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();og(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let eC=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new sg,this.close=r=>new ly(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new cy(this._viewportRuler,this._document),this.reposition=r=>new Xv(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Dl),i.LFG(Hn),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class En{constructor(o){if(this.scrollStrategy=new sg,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class oS{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class rS{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new ke.xQ,this._attachments=new ke.xQ,this._detachments=new ke.xQ,this._locationChanges=P.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new ke.xQ,this._outsidePointerEvents=new ke.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=$i(this._config.width),o.height=$i(this._config.height),o.minWidth=$i(this._config.minWidth),o.minHeight=$i(this._config.minHeight),o.maxWidth=$i(this._config.maxWidth),o.maxHeight=$i(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=ua(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe($e((0,Mi.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let ag=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Zu()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_c(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(qh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=cg(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let W=0-c,ce=c+a.height-t.height,we=this._subtractOverflows(a.width,0-r,r+a.width-t.width),Me=this._subtractOverflows(a.height,W,ce),Fe=we*Me;return{visibleArea:Fe,isCompletelyWithinViewport:a.width*a.height===Fe,fitsInViewportVertically:Me===a.height,fitsInViewportHorizontally:we==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=hy(this._overlayRef.getConfig().minHeight),c=hy(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=cg(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,I=0;return g=s.width<=a.width?h||-r:o.xwe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-we/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)W=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)I=o.x,g=t.right-o.x;else{const ce=Math.min(t.right-o.x+t.left,o.x),we=this._lastBoundingBoxSize.width;g=2*ce,I=o.x-ce,g>we&&!this._isInitialRender&&!this._growAfterOpen&&(I=o.x-we/2)}return{top:r,left:I,bottom:c,right:W,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=$i(t.height),s.top=$i(t.top),s.bottom=$i(t.bottom),s.width=$i(t.width),s.left=$i(t.left),s.right=$i(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=$i(a)),r&&(s.maxWidth=$i(r))}this._lastBoundingBoxSize=t,_c(this._boundingBox.style,s)}_resetBoundingBoxStyles(){_c(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_c(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();_c(t,this._getExactOverlayY(e,o,g)),_c(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=$i(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=$i(r.maxWidth):a&&(t.maxWidth="")),_c(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=$i(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=$i(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rg(o,t),isOriginOutsideView:og(o,t),isOverlayClipped:rg(e,t),isOverlayOutsideView:og(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&ua(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function _c(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function hy(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(uy);return e&&"px"!==e?null:parseFloat(o)}return n||null}function cg(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const fy="cdk-global-overlay-wrapper";class py{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(fy),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fy),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let iC=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new py}flexibleConnectedTo(e){return new dy(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Hn),i.LFG(b.K0),i.LFG(fi),i.LFG(ag))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gy=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),my=(()=>{class n extends gy{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_y=(()=>{class n extends gy{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=yo(s)},this._clickListener=s=>{const a=yo(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nC=0,Ji=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=I,this._outsideClickDispatcher=W}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new En(e);return r.direction=r.direction||this._directionality.value,new rS(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+nC++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new O_(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(eC),i.LFG(ag),i.LFG(i._Vd),i.LFG(iC),i.LFG(my),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Ti),i.LFG(b.Ye),i.LFG(_y))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const lg=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],yy=new i.OlP("cdk-connected-overlay-scroll-strategy");let by=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),sC=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new Cr(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ne(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ne(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ne(e)}get push(){return this._push}set push(e){this._push=Ne(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=lg);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!Ni(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new En({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof by?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function H_(n,o=!1){return e=>e.lift(new eg(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(yy),i.Y36(Ti,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const oC={provide:yy,deps:[Ji],useFactory:function wy(n){return()=>n.scrollStrategies.reposition()}};let id=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ji,oC],imports:[[El,xl,fa],fa]}),n})();var nd=w(13);function Ay(n){return o=>o.lift(new Kh(n))}class Kh{constructor(o){this.total=o}call(o,e){return e.subscribe(new ug(o,this.total))}}class ug extends Ls.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function yc(n,o){return e=>e.lift(new dg(n,o))}class dg{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new hg(o,this.compare,this.keySelector))}}class hg extends Ls.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let fg=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vy=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=ei(e);return new Ui.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new ke.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pg=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Zi(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,nd.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(vy),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Pl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[fg]}),n})();function sd(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const gg="cdk-describedby-message",od="cdk-describedby-host";let Zo=0,rd=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Zo++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=mg(t,s);"string"!=typeof t?(Ty(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=mg(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${od}="${this._id}"]`);for(let s=0;s0!=s.indexOf(gg));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function aC(n,o,e){const t=sd(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(od,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Cy(n,o,e){const s=sd(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(od)}_isElementDescribedByMessage(e,t){const s=sd(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mg(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function Ty(n){n.id||(n.id=`${gg}-${Zo++}`)}class lC{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ke.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ke.xQ,this.change=new ke.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,on.b)(e=>this._pressedLetters.push(e)),(0,nd.b)(o),(0,Kt.h)(()=>this._pressedLetters.length>0),(0,at.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Ni(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class _g extends lC{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class bc extends lC{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let wc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function yg(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function uC(n){try{return n.frameElement}catch(o){return null}}(function Py(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===xy(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=xy(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Ry(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Ll(n){return!function ky(n){return function dC(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Sy(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function Ey(n){return function bg(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Dy(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Dy(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function xy(n){if(!Dy(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class hC{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(o)}}let wg=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new hC(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wc),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Il=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Ne(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Ne(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=kl(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),n})();function Ol(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ad(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Ly=new i.OlP("cdk-input-modality-detector-options"),Iy={ignoreKeys:[18,17,224,91,16]},Hl=_o({passive:!0,capture:!0});let fC=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new ji(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=yo(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ol(r)?"keyboard":"mouse"),this._mostRecentTarget=yo(r))},this._onTouchstart=r=>{ad(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=yo(r))},this._options=Object.assign(Object.assign({},Iy),a),this.modalityDetected=this._modality.pipe(Ay(1)),this.modalityChanged=this.modalityDetected.pipe(yc()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Hl),s.addEventListener("mousedown",this._onMousedown,Hl),s.addEventListener("touchstart",this._onTouchstart,Hl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Hl),document.removeEventListener("mousedown",this._onMousedown,Hl),document.removeEventListener("touchstart",this._onTouchstart,Hl))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Ly,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pC=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function gC(){return null}}),Oy=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mC=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=a,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(mC),i.Y36(vy),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),n})();const _C=new i.OlP("cdk-focus-monitor-default-options"),Zh=_o({passive:!0,capture:!0});let Ys=(()=>{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,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 ke.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=yo(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=ei(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ye.of)(null);const a=Sl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new ke.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=ei(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=ei(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=yo(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zh)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($e(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(fi),i.LFG(fC),i.LFG(b.K0,8),i.LFG(_C,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yC=(()=>{class n{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new i.vpe}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const $h="cdk-high-contrast-black-on-white",Fy="cdk-high-contrast-white-on-black",Wh="cdk-high-contrast-active";let vg=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Wh),e.remove($h),e.remove(Fy),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Wh),e.add($h)):2===t&&(e.add(Wh),e.add(Fy))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zy=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vg))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hc,Pl]]}),n})();class js{}const ya="*";function ti(n,o){return{type:7,name:n,definitions:o,options:{}}}function rt(n,o=null){return{type:4,styles:o,timings:n}}function Cg(n,o=null){return{type:3,steps:n,options:o}}function Ny(n,o=null){return{type:2,steps:n,options:o}}function De(n){return{type:6,styles:n,offset:null}}function _t(n,o,e){return{type:0,name:n,styles:o,options:e}}function Mr(n){return{type:5,steps:n}}function ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function Yy(n=null){return{type:9,options:n}}function Ao(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function jy(n){Promise.resolve(null).then(n)}class cd{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){jy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ld{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?jy(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function bC(){return"undefined"!=typeof window&&void 0!==window.document}function Ac(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function wa(n){switch(n.length){case 0:return new cd;case 1:return n[0];default:return new ld(n)}}function Uy(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const I=g.offset,W=I==d,ce=W&&h||{};Object.keys(g).forEach(we=>{let Me=we,Fe=g[we];if("offset"!==we)switch(Me=o.normalizePropertyName(Me,r),Fe){case"!":Fe=s[we];break;case ya:Fe=a[we];break;default:Fe=o.normalizeStyleValue(we,Me,Fe,r)}ce[Me]=Fe}),W||c.push(ce),h=ce,d=I}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function ud(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Us(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Us(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Us(e,"destroy",n)))}}function Us(n,o,e){const t=e.totalTime,a=vc(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function vc(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function ui(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function Aa(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Fl=(n,o)=>!1,As=(n,o,e)=>[];(Ac()||"undefined"!=typeof Element)&&(Fl=bC()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),As=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Vs=null,Cc=!1;function Tc(n){Vs||(Vs=function Nl(){return"undefined"!=typeof document?document.body:null}()||{},Cc=!!Vs.style&&"WebkitAppearance"in Vs.style);let o=!0;return Vs.style&&!function zl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Vs.style,!o&&Cc&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Vs.style)),o}const Mc=Fl,Sc=As;let kc=(()=>{class n{validateStyleProperty(e){return Tc(e)}matchesElement(e,t){return!1}containsElement(e,t){return Mc(e,t)}query(e,t,s){return Sc(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new cd(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Jh=(()=>{class n{}return n.NOOP=new kc,n})();const Qh="ng-enter",hd="ng-leave",fd="ng-trigger",pd=".ng-trigger",Mg="ng-animating",Sg=".ng-animating";function va(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:kg(parseFloat(o[1]),o[2])}function kg(n,o){return"s"===o?1e3*n:n}function gd(n,o,e){return n.hasOwnProperty("duration")?n:function Ky(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=kg(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=kg(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Bl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Sr(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Bl(n,e);return e}function $y(n,o,e){return e?o+":"+e+";":""}function Eg(n){let o="";for(let e=0;e{const s=Wy(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),Ac()&&Eg(n))}function Ec(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Wy(e);n.style[t]=""}),Ac()&&Eg(n))}function Xh(n){return Array.isArray(n)?1==n.length?n[0]:Ny(n):n}const md=new RegExp("{{\\s*(.+?)\\s*}}","g");function ef(n){let o=[];if("string"==typeof n){let e;for(;e=md.exec(n);)o.push(e[1]);md.lastIndex=0}return o}function tf(n,o,e){const t=n.toString(),s=t.replace(md,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function Dg(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const gS=/-+([a-z0-9])/g;function Wy(n){return n.replace(gS,(...o)=>o[1].toUpperCase())}function AC(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function vs(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Dc(n,o){return window.getComputedStyle(n)[o]}function Qy(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vC(n,o,e){if(":"==n[0]){const d=function Xy(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(xg(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(xg(r,s))}(t,e,o)):e.push(n),e}const xc=new Set(["true","1"]),sf=new Set(["false","0"]);function xg(n,o){const e=xc.has(n)||sf.has(n),t=xc.has(o)||sf.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?xc.has(n):sf.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?xc.has(o):sf.has(o)),r&&c}}const CC=new RegExp("s*:selfs*,?","g");function Rg(n,o,e){return new TC(n).build(o,e)}class TC{constructor(o){this._driver=o}build(o,e){const t=new nb(e);return this._resetContextStyleTimingState(t),vs(this,Xh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Yl(c)){const d=c;Object.keys(d).forEach(h=>{ef(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Dg(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=vs(this,Xh(o.animation),e);return{type:1,matchers:Qy(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:kr(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>vs(this,t,e)),options:kr(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=vs(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:kr(o.options)}}visitAnimate(o,e){const t=function _S(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Pg(gd(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=Pg(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||gd(t,o),Pg(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:De({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=De(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==ya?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Yl(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function wC(n,o,e){const t=o.params||{},s=ef(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(Ht=>{const Jt=this._makeStyleAst(Ht,e);let Lt=null!=Jt.offset?Jt.offset:function sb(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Yl(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Yl(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Jt.styles),oi=0;return null!=Lt&&(a++,oi=Jt.offset=Lt),d=d||oi<0||oi>1,c=c||oi0&&a{const Lt=W>0?Jt==ce?1:W*Jt:r[Jt],oi=Lt*Fe;e.currentTime=we+Me.delay+oi,Me.duration=oi,this._validateStyleAst(Ht,e),Ht.offset=Lt,t.styles.push(Ht)}),t}visitReference(o,e){return{type:8,animation:vs(this,Xh(o.animation),e),options:kr(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:kr(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:kr(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function ib(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(CC,"")),n=n.replace(/@\*/g,pd).replace(/@\w+/g,e=>pd+"-"+e.substr(1)).replace(/:animating/g,Sg),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,ui(e.collectedStyles,e.currentQuerySelector,{});const c=vs(this,Xh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:kr(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:gd(o.timings,e.errors,!0);return{type:12,animation:vs(this,Xh(o.animation),e),timings:t,options:null}}}class nb{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Yl(n){return!Array.isArray(n)&&"object"==typeof n}function kr(n){return n?(n=Bl(n)).params&&(n.params=function MC(n){return n?Bl(n):null}(n.params)):n={},n}function Pg(n,o,e){return{duration:n,delay:o,easing:e}}function ob(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class Ca{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ig=new RegExp(":enter","g"),Og=new RegExp(":leave","g");function _d(n,o,e,t,s,a={},r={},c,d,h=[]){return(new ab).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class ab{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new Ca;const I=new Fg(o,e,h,s,a,g,[]);I.options=d,I.currentTimeline.setStyles([r],null,I.errors,d),vs(this,t,I);const W=I.timelines.filter(ce=>ce.containsAnimation());if(Object.keys(c).length){let ce;for(let we=W.length-1;we>=0;we--){const Me=W[we];if(Me.element===e){ce=Me;break}}ce&&!ce.allowOnlyTimelineStyles()&&ce.setStyles([c],null,I.errors,d)}return W.length?W.map(ce=>ce.buildKeyframes()):[ob(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?va(t.duration):null,c=null!=t.delay?va(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),vs(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Hg);const r=va(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>vs(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?va(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),vs(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return gd(e.params?tf(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?va(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Hg);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const I=e.createSubContext(o.options,h);a&&I.delayNextStep(a),h===e.element&&(d=I.currentTimeline),vs(this,o.animation,I),I.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,I.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const I=g.currentTime;vs(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-I+(s.startTime-t.currentTimeline.startTime)}}const Hg={};class Fg{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new jl(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=va(t.duration)),null!=t.delay&&(s.delay=va(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=tf(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new Fg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Hg,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new zg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Ig,"."+this._enterClassName)).replace(Og,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class jl{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new jl(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ya,this._currentKeyframe[e]=ya}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function cb(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=ya})):Sr(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=tf(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:ya),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=Sr(c,!0);Object.keys(h).forEach(g=>{const I=h[g];"!"==I?o.add(g):I==ya&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?Dg(o.values()):[],r=e.size?Dg(e.values()):[];if(t){const c=s[0],d=Bl(c);c.offset=0,d.offset=1,s=[c,d]}return ob(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class zg extends jl{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=Sr(o[0],!1);d.offset=0,a.push(d);const h=Sr(o[0],!1);h.offset=Ng(c),a.push(h);const g=o.length-1;for(let I=1;I<=g;I++){let W=Sr(o[I],!1);W.offset=Ng((e+W.offset*t)/r),a.push(W)}t=r,e=0,s="",o=a}return ob(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function Ng(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class rf{}class Bg extends rf{normalizePropertyName(o,e){return Wy(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(Yg[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const Yg=(()=>function EC(n){const o={};return n.forEach(e=>o[e]=!0),o}("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".split(",")))();function jg(n,o,e,t,s,a,r,c,d,h,g,I,W){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:I,errors:W}}const af={};class cf{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function ub(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const I=[],W=this.ast.options&&this.ast.options.params||af,we=this.buildStyles(t,c&&c.params||af,I),Me=d&&d.params||af,Fe=this.buildStyles(s,Me,I),Ht=new Set,Jt=new Map,Lt=new Map,oi="void"===s,au={params:Object.assign(Object.assign({},W),Me)},za=g?[]:_d(o,e,this.ast.animation,a,r,we,Fe,au,h,I);let Ds=0;if(za.forEach(tl=>{Ds=Math.max(tl.duration+tl.delay,Ds)}),I.length)return jg(e,this._triggerName,t,s,oi,we,Fe,[],[],Jt,Lt,Ds,I);za.forEach(tl=>{const il=tl.element,ED=ui(Jt,il,{});tl.preStyleProps.forEach(Jd=>ED[Jd]=!0);const b_=ui(Lt,il,{});tl.postStyleProps.forEach(Jd=>b_[Jd]=!0),il!==e&&Ht.add(il)});const el=Dg(Ht.values());return jg(e,this._triggerName,t,s,oi,we,Fe,za,el,Jt,Lt,Ds)}}class DC{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Bl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=tf(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class hb{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new DC(s.style,s.options&&s.options.params||{},t)}),lf(this.states,"true","1"),lf(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new cf(o,s,this.states))}),this.fallbackTransition=function Ug(n,o,e){return new cf(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function lf(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const fb=new Ca;class pb{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=Rg(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=Uy(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=_d(this._driver,e,a,Qh,hd,{},{},t,fb,s),r.forEach(g=>{const I=ui(c,g.element,{});g.postStyleProps.forEach(W=>I[W]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,I)=>{Object.keys(g).forEach(W=>{g[W]=this._driver.computeStyle(I,W,ya)})});const h=wa(r.map(g=>{const I=c.get(g.element);return this._buildPlayer(g,{},I)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=vc(e,"","","");return ud(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const Vg="ng-animate-queued",uf="ng-animate-disabled",yS=[],bb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xC={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cs="__ng_removed";class qg{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function wb(n){return null!=n?n:null}(t?o.value:o),t){const a=Bl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const Li="void",df=new qg(Li);class RC{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,qs(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function Ul(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=ui(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=ui(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(qs(o,fd),qs(o,fd+"-"+e),c[e]=df),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new hf(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(qs(o,fd),qs(o,fd+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new qg(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=df),h.value!==Li&&d.value===h.value){if(!function Wo(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Ec(o,Fe),$o(o,Ht)})}return}const W=ui(this._engine.playersByElement,o,[]);W.forEach(Me=>{Me.namespaceId==this.id&&Me.triggerName==e&&Me.queued&&Me.destroy()});let ce=a.matchTransition(d.value,h.value,o,h.params),we=!1;if(!ce){if(!s)return;ce=a.fallbackTransition,we=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:ce,fromState:d,toState:h,player:r,isFallbackTransition:we}),we||(qs(o,Vg),r.onStart(()=>{Rc(o,Vg)})),r.onDone(()=>{let Me=this.players.indexOf(r);Me>=0&&this.players.splice(Me,1);const Fe=this._engine.playersByElement.get(o);if(Fe){let Ht=Fe.indexOf(r);Ht>=0&&Fe.splice(Ht,1)}}),this.players.push(r),W.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,pd,!0);t.forEach(s=>{if(s[Cs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,Li,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&wa(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||df,g=new qg(Li),I=new hf(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:I,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[Cs];(!a||a===bb)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){qs(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=vc(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,ud(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class PC{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,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=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new RC(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),qs(o,uf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Rc(o,uf))}removeNode(o,e,t,s){if(yd(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[Cs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return yd(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,pd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,Sg,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return wa(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[Cs];if(t&&t.setForRemoval){if(o[Cs]=bb,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(uf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?wa(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new Ca,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(Je=>{g.add(Je);const ot=this.driver.query(Je,".ng-animate-queued",!0);for(let ct=0;ct{const ct=Qh+Me++;we.set(ot,ct),Je.forEach(Qt=>qs(Qt,ct))});const Fe=[],Ht=new Set,Jt=new Set;for(let Je=0;JeHt.add(Qt)):Jt.add(ot))}const Lt=new Map,oi=Gg(W,Array.from(Ht));oi.forEach((Je,ot)=>{const ct=hd+Me++;Lt.set(ot,ct),Je.forEach(Qt=>qs(Qt,ct))}),o.push(()=>{ce.forEach((Je,ot)=>{const ct=we.get(ot);Je.forEach(Qt=>Rc(Qt,ct))}),oi.forEach((Je,ot)=>{const ct=Lt.get(ot);Je.forEach(Qt=>Rc(Qt,ct))}),Fe.forEach(Je=>{this.processLeaveNode(Je)})});const au=[],za=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(e).forEach(ct=>{const Qt=ct.player,zn=ct.element;if(au.push(Qt),this.collectedEnterElements.length){const xs=zn[Cs];if(xs&&xs.setForMove){if(xs.previousTriggersValues&&xs.previousTriggersValues.has(ct.triggerName)){const Qd=xs.previousTriggersValues.get(ct.triggerName),lu=this.statesByElement.get(ct.element);lu&&lu[ct.triggerName]&&(lu[ct.triggerName].value=Qd)}return void Qt.destroy()}}const Na=!I||!this.driver.containsElement(I,zn),xo=Lt.get(zn),cu=we.get(zn),nn=this._buildInstruction(ct,t,cu,xo,Na);if(nn.errors&&nn.errors.length)return void za.push(nn);if(Na)return Qt.onStart(()=>Ec(zn,nn.fromStyles)),Qt.onDestroy(()=>$o(zn,nn.toStyles)),void s.push(Qt);if(ct.isFallbackTransition)return Qt.onStart(()=>Ec(zn,nn.fromStyles)),Qt.onDestroy(()=>$o(zn,nn.toStyles)),void s.push(Qt);const RD=[];nn.timelines.forEach(xs=>{xs.stretchStartingKeyframe=!0,this.disabledNodes.has(xs.element)||RD.push(xs)}),nn.timelines=RD,t.append(zn,nn.timelines),r.push({instruction:nn,player:Qt,element:zn}),nn.queriedElements.forEach(xs=>ui(c,xs,[]).push(Qt)),nn.preStyleProps.forEach((xs,Qd)=>{const lu=Object.keys(xs);if(lu.length){let Xd=d.get(Qd);Xd||d.set(Qd,Xd=new Set),lu.forEach(fM=>Xd.add(fM))}}),nn.postStyleProps.forEach((xs,Qd)=>{const lu=Object.keys(xs);let Xd=h.get(Qd);Xd||h.set(Qd,Xd=new Set),lu.forEach(fM=>Xd.add(fM))})});if(za.length){const Je=[];za.forEach(ot=>{Je.push(`@${ot.triggerName} has failed due to:\n`),ot.errors.forEach(ct=>Je.push(`- ${ct}\n`))}),au.forEach(ot=>ot.destroy()),this.reportError(Je)}const Ds=new Map,el=new Map;r.forEach(Je=>{const ot=Je.element;t.has(ot)&&(el.set(ot,ot),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,Ds))}),s.forEach(Je=>{const ot=Je.element;this._getPreviousPlayers(ot,!1,Je.namespaceId,Je.triggerName,null).forEach(Qt=>{ui(Ds,ot,[]).push(Qt),Qt.destroy()})});const tl=Fe.filter(Je=>Cb(Je,d,h)),il=new Map;vb(il,this.driver,Jt,h,ya).forEach(Je=>{Cb(Je,d,h)&&tl.push(Je)});const b_=new Map;ce.forEach((Je,ot)=>{vb(b_,this.driver,new Set(Je),d,"!")}),tl.forEach(Je=>{const ot=il.get(Je),ct=b_.get(Je);il.set(Je,Object.assign(Object.assign({},ot),ct))});const Jd=[],DD=[],xD={};r.forEach(Je=>{const{element:ot,player:ct,instruction:Qt}=Je;if(t.has(ot)){if(g.has(ot))return ct.onDestroy(()=>$o(ot,Qt.toStyles)),ct.disabled=!0,ct.overrideTotalTime(Qt.totalTime),void s.push(ct);let zn=xD;if(el.size>1){let xo=ot;const cu=[];for(;xo=xo.parentNode;){const nn=el.get(xo);if(nn){zn=nn;break}cu.push(xo)}cu.forEach(nn=>el.set(nn,zn))}const Na=this._buildAnimation(ct.namespaceId,Qt,Ds,a,b_,il);if(ct.setRealPlayer(Na),zn===xD)Jd.push(ct);else{const xo=this.playersByElement.get(zn);xo&&xo.length&&(ct.parentPlayer=wa(xo)),s.push(ct)}}else Ec(ot,Qt.fromStyles),ct.onDestroy(()=>$o(ot,Qt.toStyles)),DD.push(ct),g.has(ot)&&s.push(ct)}),DD.forEach(Je=>{const ot=a.get(Je.element);if(ot&&ot.length){const ct=wa(ot);Je.setRealPlayer(ct)}}),s.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!Na.destroyed);zn.length?bS(this,ot,zn):this.processLeaveNode(ot)}return Fe.length=0,Jd.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const ot=this.players.indexOf(Je);this.players.splice(ot,1)}),Je.play()}),Jd}elementContainsData(o,e){let t=!1;const s=e[Cs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==Li;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,I=ui(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(ce=>{const we=ce.getRealPlayer();we.beforeDestroy&&we.beforeDestroy(),ce.destroy(),I.push(ce)})}Ec(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,I=new Set,W=e.timelines.map(we=>{const Me=we.element;g.add(Me);const Fe=Me[Cs];if(Fe&&Fe.removedBeforeQueried)return new cd(we.duration,we.delay);const Ht=Me!==d,Jt=function Kg(n){const o=[];return ff(n,o),o}((t.get(Me)||yS).map(Ds=>Ds.getRealPlayer())).filter(Ds=>!!Ds.element&&Ds.element===Me),Lt=a.get(Me),oi=r.get(Me),au=Uy(0,this._normalizer,0,we.keyframes,Lt,oi),za=this._buildPlayer(we,au,Jt);if(we.subTimeline&&s&&I.add(Me),Ht){const Ds=new hf(o,c,Me);Ds.setRealPlayer(za),h.push(Ds)}return za});h.forEach(we=>{ui(this.playersByQueriedElement,we.element,[]).push(we),we.onDone(()=>function LC(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,we.element,we))}),g.forEach(we=>qs(we,Mg));const ce=wa(W);return ce.onDestroy(()=>{g.forEach(we=>Rc(we,Mg)),$o(d,e.toStyles)}),I.forEach(we=>{ui(s,we,[]).push(ce)}),ce}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new cd(o.duration,o.delay)}}class hf{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new cd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>ud(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){ui(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function yd(n){return n&&1===n.nodeType}function Ab(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function vb(n,o,e,t,s){const a=[];e.forEach(d=>a.push(Ab(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(I=>{const W=g[I]=o.computeStyle(h,I,s);(!W||0==W.length)&&(h[Cs]=xC,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>Ab(d,a[c++])),r}function Gg(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function qs(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function Rc(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function bS(n,o,e){wa(e).onDone(()=>n.processLeaveNode(o))}function ff(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class bd{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new PC(o,e,t),this._timelineEngine=new pb(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=Rg(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function db(n,o,e){return new hb(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=Aa(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=Aa(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let vo=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&$o(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($o(this._element,this._initialStyles),this._endStyles&&($o(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ec(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ec(this._element,this._endStyles),this._endStyles=null),$o(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Ts(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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}_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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Dc(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class IC{validateStyleProperty(o){return Tc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Mc(o,e)}query(o,e,t){return Sc(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter(W=>W instanceof Zg);(function Jy(n,o){return 0===n||0===o})(t,s)&&g.forEach(W=>{let ce=W.currentSnapshot;Object.keys(ce).forEach(we=>h[we]=ce[we])}),e=function mS(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;sSr(W,!1)),h);const I=function Jo(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Ts(o[0]),o.length>1&&(t=Ts(o[o.length-1]))):o&&(e=Ts(o)),e||t?new vo(n,e,t):null}(o,e);return new Zg(o,e,d,I)}}let OC=(()=>{class n extends js{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Ny(e):e;return pf(this._renderer,null,t,"register",[s]),new HC(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class HC extends class hS{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new FC(this._id,o,e||{},this._renderer)}}class FC{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return pf(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function pf(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const Mb="@.disabled";let Sb=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new kb("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new Eb(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}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()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(bd),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class kb{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==Mb?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class Eb extends kb{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Mb?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function Db(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function gf(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let zC=(()=>{class n extends bd{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Jh),i.LFG(rf))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Si=new i.OlP("AnimationModuleType"),wd=[{provide:js,useClass:OC},{provide:rf,useFactory:function xb(){return new Bg}},{provide:bd,useClass:zC},{provide:i.FYo,useFactory:function Rb(n,o,e){return new Sb(n,o,e)},deps:[xe,bd,i.R0b]}],mf=[{provide:Jh,useFactory:()=>new IC},{provide:Si,useValue:"BrowserAnimations"},...wd],Pb=[{provide:Jh,useClass:kc},{provide:Si,useValue:"NoopAnimations"},...wd];let Lb=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Pb:mf}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:mf,imports:[Lo]}),n})();function Ob(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Hb(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const Fb=["*"];let YC=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),jC=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const VC=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function UC(){return!0}});let nt=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Zu()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vg),i.LFG(VC,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El],El]}),n})();function Co(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=Ne(o)}}}function Qo(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function To(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=Ne(o)}}}function Vl(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Zi(e):this.defaultTabIndex}}}function $g(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new ke.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function Nb(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Ui.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Pc=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function qC(){return(0,i.f3M)(i.soG)}});class vi{constructor(){this._localeChanges=new ke.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const Ms=new i.OlP("mat-date-formats"),Bb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function _f(n,o){const e=Array(n);for(let t=0;t{class n extends vi{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return _f(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _f(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return _f(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Bb.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pc,8),i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Yb={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let jb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:Wg}],imports:[[hc]]}),n})(),Jg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ms,useValue:Yb}],imports:[[jb]]}),n})(),Xo=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function Ad(n,o,e){n.nativeElement.classList.toggle(o,e)}let bf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();class ql{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const KC={enterDuration:225,exitDuration:150},Ub=_o({passive:!0}),Xg=["mousedown","touchstart"],em=["mouseup","mouseleave","touchend","touchcancel"];class ZC{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=ei(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},KC),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function $C(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function st(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const I=new ql(this,g,t);return I.state=0,this._activeRipples.add(I),t.persistent||(this._mostRecentTransientRipple=I),this._runTimeoutOutsideZone(()=>{const W=I===this._mostRecentTransientRipple;I.state=1,!t.persistent&&(!W||!this._isPointerDown)&&I.fadeOut()},h),I}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},KC),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=ei(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Xg))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(em),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=Ol(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,Ub)})})}_removeTriggerEvents(){this._triggerElement&&(Xg.forEach(o=>{this._triggerElement.removeEventListener(o,this,Ub)}),this._pointerUpEventsRegistered&&em.forEach(o=>{this._triggerElement.removeEventListener(o,this,Ub)}))}}const Vb=new i.OlP("mat-ripple-global-options");let Ss=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ZC(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(fi),i.Y36(Vb,8),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),cs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt,hc],nt]}),n})(),qb=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Gl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt]]}),n})();const vd=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Gb=new i.OlP("MatOptgroup");let Kb=0;class Zb{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let $b=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Kb++,this.onSelectionChange=new i.vpe,this._stateChanges=new ke.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ne(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Ni(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Zb(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Lc=(()=>{class n extends $b{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(vd,8),i.Y36(Gb,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:Fb,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Ob,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,Hb,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[qb,b.O5,Ss],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Wb(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;r{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,b.ez,nt,Gl]]}),n})();function Cd(n,o){}class wf{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const QC={dialogContainer:ti("dialogContainer",[_t("void, exit",De({opacity:0,transform:"scale(0.7)"})),_t("enter",De({transform:"none"})),ht("* => enter",rt("150ms cubic-bezier(0, 0, 0.2, 1)",De({transform:"none",opacity:1}))),ht("* => void, * => exit",rt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",De({opacity:0})))])};let Af=(()=>{class n extends ga{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=kl(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=kl())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=kl();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(wf),i.Y36(wc),i.Y36(i.R0b),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Tr,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),Jb=(()=>{class n extends Af{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,Cd,0,0,"ng-template",0)},directives:[Tr],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[QC.dialogContainer]}}),n})(),Qb=0;class Dn{constructor(o,e,t="mat-dialog-"+Qb++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ke.xQ,this._afterClosed=new ke.xQ,this._beforeClosed=new ke.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Kt.h)(s=>"opened"===s.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Kt.h)(s=>"closed"===s.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,Kt.h)(s=>27===s.keyCode&&!this.disableClose&&!Ni(s))).subscribe(s=>{s.preventDefault(),Xb(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Xb(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Kt.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Xb(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Wn=new i.OlP("MatDialogData"),Td=new i.OlP("mat-dialog-default-options"),ew=new i.OlP("mat-dialog-scroll-strategy"),tw={provide:ew,deps:[Ji],useFactory:function XC(n){return()=>n.scrollStrategies.block()}};let iw=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=I,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ke.xQ,this._afterOpenedAtThisLevel=new ke.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=cr(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Vt(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function eT(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new wf),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new P.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new En({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:wf,useValue:t}]}),r=new pa(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Cr(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new pa(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(Ti,null,i.XFs.Optional))&&r.push({provide:Ti,useValue:{value:e.direction,change:(0,Ye.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),Xi=(()=>{class n extends iw{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,Dn,Jb,Wn,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ji),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(Td,8),i.LFG(ew),i.LFG(n,12),i.LFG(ag),i.LFG(Si,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),nw=0,ks=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+nw++}ngOnInit(){this._dialogRef||(this._dialogRef=function kS(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn,8),i.Y36(i.SBq),i.Y36(Xi))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Gs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Ks=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),im=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xi,tw],imports:[[id,xl,nt],nt]}),n})();var nm=w(6114);let Sa=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Ri),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,Kt.h)(e=>e instanceof be)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Kt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(Mn),i.LFG(Xi),i.LFG(In),i.LFG(nm.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function er(n){return!!n&&(n instanceof Ui.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var tT=w(7830);function vf(...n){if(1===n.length){const o=n[0];if((0,Yu.k)(o))return ka(o,null);if((0,tT.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return ka(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return ka(n=1===n.length&&(0,Yu.k)(n[0])?n[0]:n,null).pipe((0,at.U)(e=>o(...e)))}return ka(n,null)}function ka(n,o){return new Ui.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,I,W)=>(g[I]=s[W],g),{}):s),e.complete())}}))}})}const sT=new class nT extends M_.v{}(class iT extends ju.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var sm=w(9312);class Cf extends Ls.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(Cf.dispatch,this.delay,new oT(o,this.destination)))}_next(o){this.scheduleMessage(sm.P.createNext(o))}_error(o){this.scheduleMessage(sm.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(sm.P.createComplete()),this.unsubscribe()}}class oT{constructor(o,e){this.notification=o,this.destination=e}}var Kl=w(5283);class rT extends ke.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new ow(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new du.N;if(this.isStopped||this.hasError?r=P.w.EMPTY:(this.observers.push(o),r=new Kl.W(this,o)),s&&o.add(o=new Cf(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class ow{constructor(o,e){this.time=o,this.value=e}}function rw(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function aw({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new rT(n,o,t),r=g.subscribe({next(W){s.next(W)},error(W){c=!0,s.error(W)},complete(){d=!0,r=void 0,s.complete()}}));const I=s.subscribe(this);this.add(()=>{a--,I.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Md{}let om=(()=>{class n extends Md{getTranslation(e){return(0,Ye.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class rm{}let Tf=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Mf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!Mf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{Sf(o[t])?t in n?e[t]=cw(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class kf{}let lw=(()=>{class n extends kf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!Er(e)||!Er(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return Er(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Zl{}let uw=(()=>{class n extends Zl{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class am{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const cm=new i.OlP("USE_STORE"),lm=new i.OlP("USE_DEFAULT_LANG"),um=new i.OlP("DEFAULT_LANGUAGE"),dm=new i.OlP("USE_EXTEND");let Ii=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,Ut.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ye.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Ut.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ye.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(rw(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,at.U)(s=>this.compiler.compileTranslations(s,e)),rw(1),(0,Ut.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?cw(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),er(r[d])&&(c=!0);return c?vf(t.map(h=>er(r[h])?r[h]:(0,Ye.of)(r[h]))).pipe((0,at.U)(h=>{let g={};return h.forEach((I,W)=>{g[t[W]]=I}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,fs.b)(s=>er(s=this.getParsedResult(s,e,t))?s:(0,Ye.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return er(s)?s:(0,Ye.of)(s)}}getStreamOnTranslationChange(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');return ro(cr(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ci.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ye.of)(a)})))}stream(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');return ro(cr(()=>this.get(e,t)),this.onLangChange.pipe((0,Ci.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return er(a)?a:(0,Ye.of)(a)})))}instant(e,t){if(!Er(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(er(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(am),i.LFG(Md),i.LFG(Zl),i.LFG(kf),i.LFG(rm),i.LFG(lm),i.LFG(cm),i.LFG(dm),i.LFG(um))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),gt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);er(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(Mf(e,this.lastKey)&&Mf(t,this.lastParams))return this.value;let s;if(Er(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Sd=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Md,useClass:om},e.compiler||{provide:Zl,useClass:uw},e.parser||{provide:kf,useClass:lw},e.missingTranslationHandler||{provide:rm,useClass:Tf},am,{provide:cm,useValue:e.isolate},{provide:lm,useValue:e.useDefaultLang},{provide:dm,useValue:e.extend},{provide:um,useValue:e.defaultLanguage},Ii]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Md,useClass:om},e.compiler||{provide:Zl,useClass:uw},e.parser||{provide:kf,useClass:lw},e.missingTranslationHandler||{provide:rm,useClass:Tf},{provide:cm,useValue:e.isolate},{provide:lm,useValue:e.useDefaultLang},{provide:dm,useValue:e.extend},{provide:um,useValue:e.defaultLanguage},Ii]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),dw=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Gs],pipes:[gt],styles:[""]}),n})();const hw=["mat-button",""],aT=["*"],cT=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],lT=Qo(Co(To(class{constructor(n){this._elementRef=n}})));let Bt=(()=>{class n extends lT{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of cT)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ys),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(Ss,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:hw,ngContentSelectors:aT,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ss],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Zs=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt],nt]}),n})();const gw=["connectionContainer"],hm=["inputContainer"],uT=["label"];function dT(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function fm(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function hT(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function mw(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function fT(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function _w(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,hT,4,1,"ng-container",12),i.YNc(3,mw,1,0,"ng-content",12),i.YNc(4,fT,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function pT(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function yw(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function RS(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function gT(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function kd(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,gT,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const mT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$l=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ed=0;const bw=new i.OlP("MatError");let Ic=(()=>{class n{constructor(e,t){this.id="mat-error-"+Ed++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:bw,useExisting:n}])]}),n})();const ww={transitionMessages:ti("transitionMessages",[_t("enter",De({opacity:1,transform:"translateY(0%)"})),ht("void => enter",[De({opacity:0,transform:"translateY(-5px)"}),rt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Dd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),Aw=0;const vw=new i.OlP("MatHint");let pm=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Aw++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:vw,useExisting:n}])]}),n})(),Es=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),xd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const _T=new i.OlP("MatPrefix"),gm=new i.OlP("MatSuffix");let mm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:gm,useExisting:n}])]}),n})(),Cw=0;const wT=Qo(class{constructor(n){this._elementRef=n}},"primary"),OS=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Df=new i.OlP("MatFormField");let ls=(()=>{class n extends wT{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ke.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Cw++,this._labelId="mat-form-field-label-"+Cw++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ne(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Vt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe($e(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe($e(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Mi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Vt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Vt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe($e(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,da(this._label.nativeElement,"transitionend").pipe((0,Ut.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let I=0;I0?.75*we+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,Pl],nt]}),n})();function Dr(n){return n&&"function"==typeof n.connect}class _m{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const I=t(r,c,d);h=e.createEmbeddedView(I.templateRef,I.context,I.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class en{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ke.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let Sw=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Wl=new i.OlP("_ViewRepeater");let xf=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ea=(()=>{class n extends xf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Jn=new i.OlP("NgValueAccessor"),vT={provide:Jn,useExisting:(0,i.Gpc)(()=>us),multi:!0},TT=new i.OlP("CompositionEventMode");let us=(()=>{class n extends xf{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function CT(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(TT,8))},n.\u0275dir=i.lG2({type:n,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(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([vT]),i.qOj]}),n})();function Da(n){return null==n||0===n.length}function Dw(n){return null!=n&&"number"==typeof n.length}const Bi=new i.OlP("NgValidators"),xr=new i.OlP("NgAsyncValidators"),xw=/^(?=.{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 Oi{static min(o){return function ym(n){return o=>{if(Da(o.value)||Da(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(Da(o.value)||Da(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return wm(o)}static requiredTrue(o){return function Rw(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Am(n){return Da(n.value)||xw.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function vm(n){return o=>Da(o.value)||!Dw(o.value)?null:o.value.lengthDw(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Pw(n){if(!n)return Rf;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(Da(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Ql(o)}static composeAsync(o){return Iw(o)}}function wm(n){return Da(n.value)?{required:!0}:null}function Rf(n){return null}function Jl(n){return null!=n}function Lw(n){const o=(0,i.QGY)(n)?(0,un.D)(n):n;return(0,i.CqO)(o),o}function Pf(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Mo(n,o){return o.map(e=>e(n))}function Rd(n){return n.map(o=>function MT(n){return!n.validate}(o)?o:e=>o.validate(e))}function Ql(n){if(!n)return null;const o=n.filter(Jl);return 0==o.length?null:function(e){return Pf(Mo(e,o))}}function Tm(n){return null!=n?Ql(Rd(n)):null}function Iw(n){if(!n)return null;const o=n.filter(Jl);return 0==o.length?null:function(e){return vf(Mo(e,o).map(Lw)).pipe((0,at.U)(Pf))}}function Mm(n){return null!=n?Iw(Rd(n)):null}function Pd(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Ld(n){return n._rawValidators}function Ow(n){return n._rawAsyncValidators}function Sm(n){return n?Array.isArray(n)?n:[n]:[]}function Id(n,o){return Array.isArray(n)?n.includes(o):n===o}function km(n,o){const e=Sm(o);return Sm(n).forEach(s=>{Id(e,s)||e.push(s)}),e}function Lf(n,o){return Sm(o).filter(e=>!Id(n,e))}class Em{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(o){this._rawValidators=o||[],this._composedValidatorFn=Tm(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Mm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class So extends Em{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qn extends Em{get formDirective(){return null}get path(){return null}}class ST{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let ds=(()=>{class n extends ST{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(So,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),If=(()=>{class n extends ST{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function Hd(n,o){return[...o.path,n]}function fn(n,o){Yw(n,o),o.valueAccessor.writeValue(n.value),function FT(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&jw(n,o)})}(n,o),function Uw(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function Rm(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&jw(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function HT(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Rr(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),xa(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Hf(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Yw(n,o){const e=Ld(n);null!==o.validator?n.setValidators(Pd(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Ow(n);null!==o.asyncValidator?n.setAsyncValidators(Pd(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Hf(o._rawValidators,s),Hf(o._rawAsyncValidators,s)}function xa(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=Ld(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Ow(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Hf(o._rawValidators,t),Hf(o._rawAsyncValidators,t),e}function jw(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Vw(n,o){Yw(n,o)}function Ff(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Nf(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Kw(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===us?e=a:function zf(n){return Object.getPrototypeOf(n.constructor)===Ea}(a)?t=a:s=a}),s||t||e||null}function Bf(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const Ra="VALID",Fd="INVALID",Xl="PENDING",Oc="DISABLED";function Zw(n){return(zd(n)?n.validators:n)||null}function $w(n){return Array.isArray(n)?Tm(n):n||null}function Lm(n,o){return(zd(o)?o.asyncValidators:n)||null}function Im(n){return Array.isArray(n)?Mm(n):n||null}function zd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Om=n=>n instanceof ki,Nd=n=>n instanceof Bd,Hm=n=>n instanceof Nm;function Ww(n){return Om(n)?n.value:n.getRawValue()}function Jw(n,o){const e=Nd(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function Fm(n,o){Nd(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class zm{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=$w(this._rawValidators),this._composedAsyncValidatorFn=Im(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===Ra}get invalid(){return this.status===Fd}get pending(){return this.status==Xl}get disabled(){return this.status===Oc}get enabled(){return this.status!==Oc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=$w(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=Im(o)}addValidators(o){this.setValidators(km(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(km(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Lf(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Lf(o,this._rawAsyncValidators))}hasValidator(o){return Id(this._rawValidators,o)}hasAsyncValidator(o){return Id(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Xl,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Oc,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Ra,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ra||this.status===Xl)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oc:Ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Xl,this._hasOwnPendingAsyncValidator=!0;const e=Lw(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function Pm(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Nd(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:Hm(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Oc:this.errors?Fd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xl)?Xl:this._anyControlsHaveStatus(Fd)?Fd:Ra}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){zd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ki extends zm{constructor(o=null,e,t){super(Zw(e),Lm(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Bf(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Bf(this._onDisabledChange,o)}_forEachChild(o){}_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(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class Bd extends zm{constructor(o,e,t){super(Zw(e),Lm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){Fm(this,o),Object.keys(o).forEach(t=>{Jw(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=Ww(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Nm extends zm{constructor(o,e,t){super(Zw(e),Lm(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){Fm(this,o),o.forEach((t,s)=>{Jw(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>Ww(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Qw={provide:Qn,useExisting:(0,i.Gpc)(()=>Hc)},Yd=(()=>Promise.resolve(null))();let Hc=(()=>{class n extends Qn{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Bd({},Tm(e),Mm(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Yd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),fn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Yd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Yd.then(()=>{const t=this._findContainer(e.path),s=new Bd({});Vw(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Yd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Yd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Nf(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Qw]),i.qOj]}),n})();const zS={provide:So,useExisting:(0,i.Gpc)(()=>jd)},jT=(()=>Promise.resolve(null))();let jd=(()=>{class n extends So{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new ki,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Kw(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Ff(e,this.viewModel)&&(this._updateValue(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(e){this.viewModel=e,this.update.emit(e)}_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(){fn(this.control,this),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(e){jT.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;jT.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?Hd(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,9),i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([zS]),i.qOj,i.TTD]}),n})(),Ud=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),Xw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Vf=new i.OlP("NgModelWithFormControlWarning"),BS={provide:So,useExisting:(0,i.Gpc)(()=>Ws)};let Ws=(()=>{class n extends So{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Kw(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Rr(t,this,!1),fn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ff(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Rr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(Vf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([BS]),i.qOj,i.TTD]}),n})();const qf={provide:Qn,useExisting:(0,i.Gpc)(()=>Pa)};let Pa=(()=>{class n extends Qn{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(xa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return fn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Rr(e.control||null,e,!1),Bf(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Nf(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Rr(t||null,e),Om(s)&&(fn(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Vw(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function zT(n,o){return xa(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yw(this.form,this),this._oldForm&&xa(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bi,10),i.Y36(xr,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([qf]),i.qOj,i.TTD]}),n})();const qT={provide:So,useExisting:(0,i.Gpc)(()=>iA)};let iA=(()=>{class n extends So{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Kw(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Ff(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Hd(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn,13),i.Y36(Bi,10),i.Y36(xr,10),i.Y36(Jn,10),i.Y36(Vf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([qT]),i.qOj,i.TTD]}),n})(),Fc=(()=>{class n{constructor(){this._validator=Rf}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Rf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const US={provide:Bi,useExisting:(0,i.Gpc)(()=>tr),multi:!0};let tr=(()=>{class n extends Fc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function aA(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>wm}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([US]),i.qOj]}),n})(),Km=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Xw]]}),n})(),Zm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[Km]}),n})(),zc=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Vf,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[Km]}),n})(),VS=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function hA(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Bd(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new ki(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new Nm(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return Om(e)||Nd(e)||Hm(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:zc}),n})();const GS=["trigger"],KS=["panel"];function fA(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function s0(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function o0(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function r0(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,s0,2,1,"span",10),i.YNc(2,o0,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function ZS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const $S=[[["mat-select-trigger"]],"*"],WS=["mat-select-trigger","*"],a0={transformPanelWrap:ti("transformPanelWrap",[ht("* => void",Ao("@transformPanel",[Yy()],{optional:!0}))]),transformPanel:ti("transformPanel",[_t("void",De({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),_t("showing",De({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),_t("showing-multiple",De({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ht("void => *",rt("120ms cubic-bezier(0, 0, 0.2, 1)")),ht("* => void",rt("100ms 25ms linear",De({opacity:0})))])};let pA=0;const mA=new i.OlP("mat-select-scroll-strategy"),Jm=new i.OlP("MAT_SELECT_CONFIG"),Qf={provide:mA,deps:[Ji],useFactory:function Wm(n){return()=>n.scrollStrategies.reposition()}};class QS{constructor(o,e){this.source=o,this.value=e}}const XS=To(Vl(Co($g(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),ek=new i.OlP("MatSelectTrigger");let _A=(()=>{class n extends XS{constructor(e,t,s,a,r,c,d,h,g,I,W,ce,we,Me){var Fe,Ht,Jt;super(r,a,d,h,I),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=we,this._defaultOptions=Me,this._panelOpen=!1,this._compareWith=(Lt,oi)=>Lt===oi,this._uid="mat-select-"+pA++,this._triggerAriaLabelledBy=null,this._destroy=new ke.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+pA++,this._panelDoneAnimatingStream=new ke.xQ,this._overlayPanelClass=(null===(Fe=this._defaultOptions)||void 0===Fe?void 0:Fe.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Jt=null===(Ht=this._defaultOptions)||void 0===Ht?void 0:Ht.disableOptionCentering)&&void 0!==Jt&&Jt,this.ariaLabel="",this.optionSelectionChanges=cr(()=>{const Lt=this.options;return Lt?Lt.changes.pipe(Vt(Lt),(0,Ci.w)(()=>(0,Mi.T)(...Lt.map(oi=>oi.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ut.q)(1),(0,Ci.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Kt.h)(Lt=>Lt),(0,at.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Kt.h)(Lt=>!Lt),(0,at.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Me?void 0:Me.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Me.typeaheadDebounceInterval),this._scrollStrategyFactory=ce,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(W)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Oi.required))&&void 0!==a&&a}set required(e){this._required=Ne(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ne(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ne(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Zi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new en(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(yc(),$e(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe($e(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Vt(null),$e(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!Ni(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||Ni(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Ut.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new _g(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe($e(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe($e(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Mi.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($e(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Mi.T)(...this.options.map(t=>t._stateChanges)).pipe($e(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hn),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Xo),i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(Hc,8),i.Y36(Pa,8),i.Y36(Df,8),i.Y36(So,10),i.$8M("tabindex"),i.Y36(mA),i.Y36(mC),i.Y36(Jm,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(GS,5),i.Gf(KS,5),i.Gf(sC,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),qd=(()=>{class n extends _A{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe($e(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Wb(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:function JC(n,o,e,t){return ne+t?Math.max(0,n-t+o):e}((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new QS(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Wb(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ek,5),i.Suo(s,Lc,5),i.Suo(s,Gb,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:Dd,useExisting:n},{provide:vd,useExisting:n}]),i.qOj],ngContentSelectors:WS,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t($S),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,fA,2,1,"span",3),i.YNc(5,r0,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,ZS,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[by,b.RF,b.n9,b.ED,sC,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[a0.transformPanelWrap,a0.transformPanel]},changeDetection:0}),n})(),Xf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Qf],imports:[[b.ez,id,tm,nt],An,$s,tm,nt]}),n})();const yA=new Set;let Yc,bA=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):c0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function wA(n){if(!yA.has(n))try{Yc||(Yc=document.createElement("style"),Yc.setAttribute("type","text/css"),document.head.appendChild(Yc)),Yc.sheet&&(Yc.sheet.insertRule(`@media ${n} {body{ }}`,0),yA.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function c0(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let l0=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ke.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Qm(ua(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=Qm(ua(e)).map(r=>this._registerQuery(r).observable);let a=(0,jr.aj)(s);return a=ro(a.pipe((0,Ut.q)(1)),a.pipe(Ay(1),(0,nd.b)(0))),a.pipe((0,at.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Ui.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(Vt(t),(0,at.U)(({matches:r})=>({query:e,matches:r})),$e(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(bA),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Qm(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const ik={tooltipState:ti("state",[_t("initial, void, hidden",De({opacity:0,transform:"scale(0)"})),_t("visible",De({transform:"scale(1)"})),ht("* => visible",rt("200ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(0)",offset:0}),De({opacity:.5,transform:"scale(0.99)",offset:.5}),De({opacity:1,transform:"scale(1)",offset:1})]))),ht("* => hidden",rt("100ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:0})))])},vA="tooltip-panel",CA=_o({passive:!0}),d0=new i.OlP("mat-tooltip-scroll-strategy"),f0={provide:d0,deps:[Ji],useFactory:function h0(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},p0=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function g0(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let m0=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=I,this._defaultOptions=W,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ke.xQ,this._scrollStrategy=g,this._document=ce,W&&(W.position&&(this.position=W.position),W.touchGestures&&(this.touchGestures=W.touchGestures)),I.change.pipe($e(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Zi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Zi(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($e(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,CA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new pa(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe($e(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe($e(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${vA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($e(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($e(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe($e(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Ni(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),$e(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${vA}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,CA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),jc=(()=>{class n extends m0{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){super(e,t,s,a,r,c,d,h,g,I,W,ce),this._tooltipComponent=y0}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(fi),i.Y36(rd),i.Y36(Ys),i.Y36(d0),i.Y36(Ti,8),i.Y36(p0,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),_0=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ke.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),y0=(()=>{class n extends _0{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(l0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ik.tooltipState]},changeDetection:0}),n})(),tp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[f0],imports:[[zy,b.ez,id,nt],nt,An]}),n})();function sk(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function ok(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,sk,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function rk(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function ak(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,ok,3,6,"mat-form-field",14),i.YNc(4,rk,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function b0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function ck(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let e_=(()=>{class n{constructor(){this.changes=new ke.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const uk={provide:e_,deps:[[new i.FiY,new i.tp0,e_]],useFactory:function lk(n){return n||new e_}},f=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),p=Co(Nb(class{}));let m=(()=>{class n extends p{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Zi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Zi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Zi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Zi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=Ne(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=Ne(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),y=(()=>{class n extends m{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(e_),i.Y36(i.sBO),i.Y36(f,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,ak,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,b0,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,ck,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[ls,qd,Lc,Bt,b.O5,b.sg,jc],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),M=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[uk],imports:[[b.ez,Zs,Xf,tp,nt]]}),n})();var k=w(943);const x=["mat-menu-item",""];function z(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const j=["*"];function Q(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const te={transformMenu:ti("transformMenu",[_t("void",De({opacity:0,transform:"scale(0.8)"})),ht("void => enter",rt("120ms cubic-bezier(0, 0, 0.2, 1)",De({opacity:1,transform:"scale(1)"}))),ht("* => void",rt("100ms 25ms linear",De({opacity:0})))]),fadeInItems:ti("fadeInItems",[_t("showing",De({opacity:1})),ht("void => *",[De({opacity:0}),rt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Le=new i.OlP("MatMenuContent"),es=new i.OlP("MAT_MENU_PANEL"),Uc=To(Co(class{}));let Vc=(()=>{class n extends Uc{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new ke.xQ,this._focused=new ke.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new ke.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+i_++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ne(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ne(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new bc(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Vt(this._directDescendantItems),(0,Ci.w)(e=>(0,Mi.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Vt(this._directDescendantItems),(0,Ci.w)(t=>(0,Mi.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:Ni(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Vt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ip))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Le,5),i.Suo(s,Vc,5),i.Suo(s,Vc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),np=(()=>{class n extends qc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ip))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:es,useExisting:n}]),i.qOj],ngContentSelectors:j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Q,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[te.transformMenu,te.fadeInItems]},changeDetection:0}),n})();const sp=new i.OlP("mat-menu-scroll-strategy"),s_={provide:sp,deps:[Ji],useFactory:function n_(n){return()=>n.scrollStrategies.reposition()}},hk=_o({passive:!0});let a1=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=g=>{ad(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof qc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,hk),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hk),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof qc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe($e(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof qc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Kt.h)(s=>"void"===s.toState),(0,Ut.q)(1),$e(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new En({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],I=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",I="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:I},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:I},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-I},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-I}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ye.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Kt.h)(r=>r!==this._menuItemInstance),(0,Kt.h)(()=>this._menuOpen)):(0,Ye.of)();return(0,Mi.T)(e,s,a,t)}_handleMousedown(e){Ol(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Kt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,k.g)(0,Pi)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof qc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,k.g)(0,Pi),$e(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Cr(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(sp),i.Y36(es,8),i.Y36(Vc,10),i.Y36(Ti,8),i.Y36(Ys))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),fk=(()=>{class n extends a1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),TA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[s_],imports:[[b.ez,nt,cs,id],An,nt]}),n})();var MA=w(1737),c1=w(2474);const l1=["*"];let SA;function o_(n){var o;return(null===(o=function u1(){if(void 0===SA&&(SA=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(SA=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return SA}())||void 0===o?void 0:o.createHTML(n))||n}function pk(n){return Error(`Unable to find icon with the name "${n}"`)}function gk(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function mk(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Gd{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let Kd=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new Gd(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw mk(s);const c=o_(r);return this._addSvgIconConfig(e,t,new Gd("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new Gd(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw mk(t);const r=o_(a);return this._addSvgIconSetConfig(e,new Gd("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw gk(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ye.of)(kA(s)):this._loadSvgIconFromConfig(new Gd(e,null)).pipe((0,on.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,at.U)(a=>kA(a)))}getNamedSvgIcon(e,t=""){const s=_k(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,MA._)(pk(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ye.of)(kA(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,at.U)(t=>kA(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ye.of)(s):vf(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,Tn.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ye.of)(null)})))).pipe((0,at.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw pk(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,on.b)(t=>e.svgText=t),(0,at.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ye.of)(null):this._fetchIcon(e).pipe((0,on.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString(o_(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString(o_("")),s=e.attributes;for(let a=0;ao_(g)),q(()=>this._inProgressUrlFetches.delete(c)),(0,c1.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(_k(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),yk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_1=yk.map(n=>`[${n}]`).join(", "),y1=/^url\(['"]?#(.*?)['"]?\)$/;let tn=(()=>{class n extends p1{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=P.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Ne(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(_1),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(y1):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,Ut.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Kd),i.$8M("aria-hidden"),i.Y36(g1),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:l1,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),iu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})(),bk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[M,TA,iu,Zs,Sd,b.ez]]}),n})();var b1=w(655),w1=w(9441);const Zd=[5,10,25,100];function wk(n){let o="";return null!==n.titleBefore&&(o+=n.titleBefore+" "),null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),null!==n.titleAfter&&(o+=n.titleAfter+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function ts(){const n=new wf;return n.disableClose=!0,n.autoFocus=!1,n}const x1=new Intl.Collator("cs",{numeric:!0});function op(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return x1.compare(d,h)*("asc"===a?1:-1)}):n}function r_(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function rp(n,o){let e="";return n.attributes&&n.attributes.forEach(t=>{t.friendlyName===o&&(e=t.value)}),e}function ap(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function cp(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,w1.saveAs)(c,`${e}.${o}`)}}const Ak="GUI_CONFIG.PREF_PAGE_SIZE.";let P1=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L1=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(Ak+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(Ak+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(P1))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F1=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Bt,fk,tn,np,Vc],pipes:[gt],styles:[""]}),n})();function z1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function N1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const B1=["*"];let ir=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Zd,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(L1))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(y,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:B1,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,z1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,N1,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[y,b.O5,F1],styles:[""]}),n})(),v0=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=ts();this.dialog.open(dw,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Sa),i.LFG(Mn),i.LFG(oo),i.LFG(xi),i.LFG(Xi),i.LFG(Ri))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ck=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kd),i.LFG(Yn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Y1=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})(),j1=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fn=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ii))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tk=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&-1!==e.url.toString().indexOf(s)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const c=ts();c.width="450px",this.dialog.open(Y1,c).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,on.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,MA._)(c):a?void this.notificator.showRPCError(d):(0,MA._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Sa),i.LFG(j1),i.LFG(Fn),i.LFG(Mn),i.LFG(Xi),i.LFG(v0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Mk=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),U1=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,MA._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,Tn.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,Tn.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,Tn.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,Tn.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Fn),i.LFG(Sa),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),EA=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(I)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(In),i.LFG(Mn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();ti("openClose",[_t("open",De({overflow:"hidden"})),_t("closed",De({height:"0px",overflow:"hidden"})),ht("open <=> closed",[rt(".3s ease-in")])]);const q1=ti("flyInOut",[ht(":enter",[De({transform:"translateX(100%)"}),rt(".25s")]),ht(":leave",[rt(".5s",De({transform:"translateX(100%)"}))])]);ti("rollInOut",[ht(":enter",[De({height:"0px"}),rt(".25s")]),ht(":leave",[rt(".25s",De({height:"0px"}))])]),ti("routeAnimations",[ht("* => *",[De({position:"relative"}),Ao(":enter",[De({width:"100%",opacity:0})],{optional:!0}),Ao(":leave",[De({position:"absolute",width:"100%",opacity:1}),rt("0.15s",De({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Ao(":enter",[De({position:"absolute",width:"100%",opacity:0}),rt("0.15s",De({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),ti("tagsOpenClose",[_t("open",De({})),_t("closed",De({width:"0px",height:"0px"})),ht("open <=> closed",[rt(".3s ease-in")])]),ti("switchAnimations",[ht("true => false",[Ao(":enter, :leave",De({})),Cg([Ao(":enter",[De({transform:"translateX(-100%)"}),rt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),Ao(":leave",[De({transform:"translateX(0%)",position:"absolute"}),rt("1s ease-in-out",De({transform:"translateX(100%)"}))],{optional:!0})])]),ht("false => true",[Ao(":enter, :leave",De({})),Cg([Ao(":enter",[De({transform:"translateX(100%)"}),rt("1s ease-in-out",De({transform:"translateX(0%)"}))],{optional:!0}),Ao(":leave",[De({transform:"translateX(0%)",position:"absolute"}),rt("1s ease-in-out",De({transform:"translateX(-100%)"}))],{optional:!0})])])]),ti("slideInOutLeft",[ht(":enter",[De({transform:"translateX(-100%)",position:"relative"}),rt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[rt("0.5s ease-in",De({transform:"translateX(-100%)"}))])]),ti("slideInOutRight",[ht(":enter",[De({transform:"translateX(100%)",position:"fixed"}),rt("0.5s ease-in",De({transform:"translateX(0%)"}))]),ht(":leave",[De({transform:"translateX(-100%)",position:"relative"}),rt("0.5s ease-in",De({transform:"translateX(100%)"}))])]);let Sk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})();function Q1(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function X1(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function ex(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function tx(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const sx=Qo(class{constructor(n){this._elementRef=n}},"primary"),kk=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function ox(){return{diameter:100}}});class Gc extends sx{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=P.w.EMPTY,this.mode="determinate";const h=Gc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Zi(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Zi(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Zi(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Sl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Gc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Gc._diameters=new WeakMap,Gc.\u0275fac=function(o){return new(o||Gc)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0,8),i.Y36(Si,8),i.Y36(kk),i.Y36(i.sBO),i.Y36(Hn),i.Y36(i.R0b))},Gc.\u0275cmp=i.Xpm({type:Gc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,Q1,1,11,"circle",2),i.YNc(3,X1,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let vn=(()=>{class n extends Gc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0,8),i.Y36(Si,8),i.Y36(kk),i.Y36(i.sBO),i.Y36(Hn),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,ex,1,11,"circle",2),i.YNc(3,tx,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),DA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt,b.ez],nt]}),n})();const Ek=_o({passive:!0});let ax=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Gn.E;const t=ei(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new ke.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,Ek),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,Ek)}}),a}stopMonitoring(e){const t=ei(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hc]]}),n})();const xk=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),cx=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let lx=0;const ux=$g(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let nr=(()=>{class n extends ux{constructor(e,t,s,a,r,c,d,h,g,I){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=I,this._uid="mat-input-"+lx++,this.focused=!1,this.stateChanges=new ke.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(we=>Ih().has(we));const W=this._elementRef.nativeElement,ce=W.nodeName.toLowerCase();this._inputValueAccessor=d||W,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",we=>{const Me=we.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ce,this._isTextarea="textarea"===ce,this._isInFormField=!!I,this._isNativeSelect&&(this.controlType=W.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ne(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(Oi.required))&&void 0!==a&&a}set required(e){this._required=Ne(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Ih().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ne(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){cx.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(So,10),i.Y36(Hc,8),i.Y36(Pa,8),i.Y36(Xo),i.Y36(xk,10),i.Y36(ax),i.Y36(i.R0b),i.Y36(Df,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:Dd,useExisting:n}]),i.qOj,i.TTD]}),n})(),xA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xo],imports:[[Dk,$s,nt],Dk,$s]}),n})();function dx(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function hx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function fx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function px(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,hx,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,fx,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let gx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Ii),i.Y36(Fn),i.Y36(Gt),i.Y36(Wn),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,dx,1,0,"mat-spinner",1),i.YNc(4,px,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[ks,b.O5,vn,Gs,ls,Es,nr,us,tr,ds,jd,Ic,Ks,Bt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),mx=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=ts();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(gx,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Xi),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})();const Ax=[[["caption"]],[["colgroup"],["col"]]],vx=["caption","colgroup, col"];function T0(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=Ne(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const lp=new i.OlP("CDK_TABLE");let up=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),dp=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),RA=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class Sx{}const kx=T0(Sx);let Kc=(()=>{class n extends kx{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=Ne(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,up,5),i.Suo(s,dp,5),i.Suo(s,RA,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class M0{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let S0=(()=>{class n extends M0{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),k0=(()=>{class n extends M0{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class Pk{constructor(){this.tasks=[],this.endTasks=[]}}const E0=new i.OlP("_COALESCED_STYLE_SCHEDULER");let Lk=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new ke.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Pk,this._getScheduleObservable().pipe($e(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new Pk;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,un.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Ut.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),D0=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof a_?e.headerCell.template:this instanceof c_?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class Ex extends D0{}const Dx=T0(Ex);let a_=(()=>{class n extends Dx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class xx extends D0{}const Rx=T0(xx);let c_=(()=>{class n extends Rx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),PA=(()=>{class n extends D0{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(lp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Zc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),x0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),P0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),LA=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const Ik=["top","bottom","left","right"];class Px{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some(W=>W)&&!t.some(W=>W))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),I=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const W="rtl"===this.direction,ce=W?"right":"left",we=W?"left":"right";for(const Me of o)for(let Fe=0;Fee[Fe]?Me:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===I?[]:c.slice(I).map((Me,Fe)=>t[Fe+I]?Me:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,I=0;g{var g,I;for(let W=0;W{e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);Ik.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of Ik)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const L0=new i.OlP("CDK_SPL");let IA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),OA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),HA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),FA=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),zA=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,I,W,ce){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=I,this._stickyPositioningListener=W,this._ngZone=ce,this._onDestroy=new ke.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new ji({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Ne(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=Ne(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($e(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Dr(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Ut.q)(1),$e(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),NA(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=NA(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=NA(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=NA(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Dr(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Dr(this.dataSource)?e=this.dataSource.connect(this):er(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ye.of)(this.dataSource)),this._renderChangeSubscription=e.pipe($e(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Zc.mostRecentCellOutlet&&Zc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Px(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ye.of)()).pipe($e(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(Ti,8),i.Y36(b.K0),i.Y36(fi),i.Y36(Wl),i.Y36(E0),i.Y36(Hn),i.Y36(L0,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,LA,5),i.Suo(s,Kc,5),i.Suo(s,PA,5),i.Suo(s,a_,5),i.Suo(s,c_,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(IA,7),i.Gf(OA,7),i.Gf(HA,7),i.Gf(FA,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:lp,useExisting:n},{provide:Wl,useClass:_m},{provide:E0,useClass:Lk},{provide:L0,useValue:null}])],ngContentSelectors:vx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Ax),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[OA,IA,FA,HA],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function NA(n,o){return n.concat(Array.from(o))}let Ix=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[fa]]}),n})();const Ox=[[["caption"]],[["colgroup"],["col"]]],Hx=["caption","colgroup, col"];let La=(()=>{class n extends zA{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:Wl,useClass:_m},{provide:zA,useExisting:n},{provide:lp,useExisting:n},{provide:E0,useClass:Lk},{provide:L0,useValue:null}]),i.qOj],ngContentSelectors:Hx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(Ox),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[OA,IA,FA,HA],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Pr=(()=>{class n extends up{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:up,useExisting:n}]),i.qOj]}),n})(),Lr=(()=>{class n extends dp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:dp,useExisting:n}]),i.qOj]}),n})(),Ir=(()=>{class n extends Kc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Kc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Or=(()=>{class n extends S0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),Hr=(()=>{class n extends k0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),$c=(()=>{class n extends a_{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:a_,useExisting:n}]),i.qOj]}),n})(),Ia=(()=>{class n extends PA{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:PA,useExisting:n}]),i.qOj]}),n})(),Wc=(()=>{class n extends x0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:x0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Oa=(()=>{class n extends P0{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:P0,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),I0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ix,nt],nt]}),n})();class Jc extends class Kx extends class Tw{}{constructor(o=[]){super(),this._renderData=new ji([]),this._filter=new ji(""),this._internalPageChanges=new ke.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(C_(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,I=typeof h;g!==I&&("number"===g&&(d+=""),"number"===I&&(h+=""));let W=0;return null!=d&&null!=h?d>h?W=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new ji(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Mi.T)(this._sort.sortChange,this._sort.initialized):(0,Ye.of)(null),t=this._paginator?(0,Mi.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ye.of)(null),a=(0,jr.aj)([this._data,this._filter]).pipe((0,at.U)(([d])=>this._filterData(d))),r=(0,jr.aj)([a,e]).pipe((0,at.U)(([d])=>this._orderData(d))),c=(0,jr.aj)([r,t]).pipe((0,at.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function Zx(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function $x(n,o){1&n&&i._UZ(0,"th",15)}function Wx(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function Jx(n,o){1&n&&i._UZ(0,"tr",17)}function Qx(n,o){1&n&&i._UZ(0,"tr",18)}function Xx(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",8),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",9),i.ynx(8,10),i.YNc(9,$x,1,0,"th",11),i.YNc(10,Wx,2,1,"td",12),i.BQk(),i.YNc(11,Jx,1,0,"tr",13),i.YNc(12,Qx,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,e.data.description)," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let Hk=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new Jc(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-remove-items-dialog"]],decls:13,vars:15,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,Zx,1,0,"mat-spinner",1),i.YNc(5,Xx,13,9,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,9,t.data.title)),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,13,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," "))},directives:[ks,b.O5,vn,Gs,La,Ir,Lr,Or,Pr,Hr,$c,Wc,Ia,Oa,Ks,Bt],pipes:[gt],styles:[""]}),n})(),lR=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.theme=this.data.theme,this.message=this.data.message}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-confirmation-dialog"]],decls:11,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"button",2),i.NdJ("click",function(){return t.onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",3),i.NdJ("click",function(){return t.onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.Oqu(i.lcZ(3,6,t.message)),i.xp6(4),i.hij(" ",i.lcZ(7,8,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(10,10,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_CONFIRMATION_DIALOG.SUBMIT_BUTTON")," "))},directives:[ks,Ks,Bt],pipes:[gt],styles:[""]}),n})();function gR(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function mR(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let _R=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=ts();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(mx,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function v1(n,o){return(0,b1.mG)(this,void 0,void 0,function*(){yield function C1(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(Mk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,gR,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,mR,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,tn],pipes:[gt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function yR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const bR=function(n){return{top:n}};let wR=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Fn),i.Y36(Mk))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,yR,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,bR,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,_R],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:initial;bottom:0}}"],data:{animation:[q1]}}),n})();const AR=["*",[["mat-toolbar-row"]]],vR=["*","mat-toolbar-row"],CR=Qo(class{constructor(n){this._elementRef=n}});let TR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),MR=(()=>{class n extends CR{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(fi),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,TR,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:vR,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(AR),i.Hsn(0),i.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();function SR(n,o){1&n&&(i.TgZ(0,"div",13),i.TgZ(1,"span",14),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",15),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",14),i._uU(6," \xa0\u{1f5f2} ~ "),i.qZA(),i.qZA())}const kR=function(n){return{background:n}},BA=function(n){return{color:n}};let ER=(()=>{class n{constructor(e,t,s){this.storeService=e,this.authService=t,this.sanitizer=s,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.principal=this.storeService.getPerunPrincipal(),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo"))}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Sa),i.Y36(Yn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{sideNav:"sideNav"},decls:22,vars:29,consts:[[1,"header-container","mat-elevation-z3",3,"ngStyle"],[2,"display","flex","flex-direction","row"],["mat-icon-button","",1,"mt-auto","mb-auto",3,"ngStyle","click"],["routerLink","/all-publications",1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white","routerLink","/all-publications",1,"mt-auto","mb-auto","router-icon","ml-2","mr-4"],[1,"mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"ngStyle"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline"],["menu","matMenu"],["mat-menu-item","",3,"click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){if(1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.sideNav.toggle()}),i.TgZ(3,"mat-icon"),i._uU(4,"menu"),i.qZA(),i.qZA(),i._UZ(5,"a",3),i._UZ(6,"mat-icon",4),i.TgZ(7,"p",5),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.YNc(10,SR,7,0,"div",6),i.TgZ(11,"div",7),i.TgZ(12,"button",8),i.TgZ(13,"mat-icon",9),i._uU(14," person "),i.qZA(),i.TgZ(15,"span",10),i._uU(16),i.qZA(),i.qZA(),i.TgZ(17,"mat-menu",null,11),i.TgZ(19,"button",12),i.NdJ("click",function(){return t.onLogOut()}),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(18);i.Q6J("ngStyle",i.VKq(19,kR,t.bgColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(21,BA,t.iconColor)),i.xp6(3),i.Q6J("innerHTML",t.logo,i.oJD),i.xp6(2),i.Q6J("ngStyle",i.VKq(23,BA,t.textColor)),i.xp6(1),i.hij(" ",i.lcZ(9,15,"HEADER.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("ngStyle",i.VKq(25,BA,t.textColor)),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(27,BA,t.iconColor)),i.xp6(3),i.xDo(" ",t.principal.user.titleBefore," ",t.principal.user.firstName," ",t.principal.user.middleName," ",t.principal.user.lastName," ",t.principal.user.titleAfter," "),i.xp6(4),i.Oqu(i.lcZ(21,17,"HEADER.LOGOUT"))}},directives:[MR,b.PC,Bt,tn,_,Et,b.O5,fk,np,Vc],pipes:[gt],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function Nk(n){return o=>o.lift(new DR(n))}class DR{constructor(o){this.value=o}call(o,e){return e.subscribe(new xR(o,this.value))}}class xR extends Ls.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const YA=["*"],RR=["content"];function PR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function LR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const IR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],OR=["mat-drawer","mat-drawer-content","*"];function HR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function FR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const zR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],NR=["mat-sidenav","mat-sidenav-content","*"],Bk={transformDrawer:ti("transform",[_t("open, open-instant",De({transform:"none",visibility:"visible"})),_t("void",De({"box-shadow":"none",visibility:"hidden"})),ht("void => open-instant",rt("0ms")),ht("void <=> open, open-instant => void",rt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},YR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function jR(){return!1}}),O0=new i.OlP("MAT_DRAWER_CONTAINER");let jA=(()=>{class n extends Wu{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>jk)),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Wu,useExisting:n}]),i.qOj],ngContentSelectors:YA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Yk=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ke.xQ,this._animationEnd=new ke.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Kt.h)(g=>g),(0,at.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Kt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),Nk(void 0)),this._closedStream=this.openedChange.pipe((0,Kt.h)(g=>!g),(0,at.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Kt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),Nk(void 0)),this._destroyed=new ke.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new ke.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{da(this._elementRef.nativeElement,"keydown").pipe((0,Kt.h)(g=>27===g.keyCode&&!this.disableClose&&!Ni(g)),$e(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(yc((g,I)=>g.fromState===I.fromState&&g.toState===I.toState)).subscribe(g=>{const{fromState:I,toState:W}=g;(0===W.indexOf("open")&&"void"===I||"void"===W&&0===I.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Ne(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=Ne(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(Ne(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,Ut.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wg),i.Y36(Ys),i.Y36(fi),i.Y36(i.R0b),i.Y36(wc),i.Y36(b.K0,8),i.Y36(O0,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(RR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:YA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Wu],encapsulation:2,data:{animation:[Bk.transformDrawer]},changeDetection:0}),n})(),jk=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new ke.xQ,this._doCheckSubject=new ke.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ke.xQ,e&&e.change.pipe($e(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe($e(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Ne(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Ne(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Vt(this._allDrawers),$e(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Vt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,nd.b)(10),$e(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,Kt.h)(t=>t.fromState!==t.toState),$e(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe($e(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe($e(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($e((0,Mi.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(Hn),i.Y36(YR),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,jA,5),i.Suo(s,Yk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(jA,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:O0,useExisting:n}])],ngContentSelectors:OR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(IR),i.YNc(0,PR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,LR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[jA,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),H0=(()=>{class n extends jA{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>Vk)),i.Y36(i.SBq),i.Y36(Dl),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Wu,useExisting:n}]),i.qOj],ngContentSelectors:YA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),Uk=(()=>{class n extends Yk{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Ne(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Zi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Zi(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:YA,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Wu],encapsulation:2,data:{animation:[Bk.transformDrawer]},changeDetection:0}),n})(),Vk=(()=>{class n extends jk{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,H0,5),i.Suo(s,Uk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:O0,useExisting:n}]),i.qOj],ngContentSelectors:NR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(zR),i.YNc(0,HR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,FR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[H0,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),qk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,hc,An],An,nt]}),n})(),UR=(()=>{class n{constructor(e){this.authResolver=e}getSideMenuItems(){const e=[];return this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.ALL_PUBLICATIONS",icon:"perun-publications-white",isSVG:!0,link:"/all-publications",activatedRegex:"^/all-publications",tabName:"all-publications"}),e.push({label:"MENU_ITEMS.MY_PUBLICATIONS",icon:"local_library",link:"/my-publications",activatedRegex:"^/my-publications",tabName:"my-publications"}),e.push({label:"MENU_ITEMS.CREATE_PUBLICATION",icon:"add_box",link:"/create-publication",activatedRegex:"^/create-publication",tabName:"create-publication"}),this.authResolver.isCabinetAdmin()&&e.push({label:"MENU_ITEMS.AUTHORS",icon:"assignment_ind",link:"/authors",activatedRegex:"^/authors",tabName:"authors"}),e.push({label:"MENU_ITEMS.CATEGORIES",icon:"all_inbox",link:"/categories",activatedRegex:"^/categories$",tabName:"categories"}),e.push({label:"MENU_ITEMS.PUBLICATION_SYSTEMS",icon:"assignment",link:"/publication-systems",activatedRegex:"^/publication-systems$",tabName:"publication-systems"}),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(oo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();const Gk=["*"],qR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],GR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],JR=Co(To(class{})),QR=To(class{}),XR=new i.OlP("MatList"),Kk=new i.OlP("MatNavList");let eP=(()=>{class n extends JR{constructor(){super(...arguments),this._stateChanges=new ke.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:Kk,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Gk,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Zk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),$k=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),tP=(()=>{class n extends QR{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new ke.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe($e(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=Ne(e)}ngAfterContentInit(){!function Ma(n,o,e="mat"){n.changes.pipe(Vt(n)).subscribe(({length:t})=>{Ad(o,`${e}-2-line`,!1),Ad(o,`${e}-3-line`,!1),Ad(o,`${e}-multi-line`,!1),2===t||3===t?Ad(o,`${e}-${t}-line`,!0):t>3&&Ad(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Kk,8),i.Y36(XR,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Zk,5),i.Suo(s,$k,5),i.Suo(s,yf,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:GR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t(qR),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Ss],encapsulation:2,changeDetection:0}),n})(),Jk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[bf,cs,nt,Gl,b.ez],bf,nt,Gl,F0]}),n})();function aP(n,o){if(1&n&&i._UZ(0,"mat-icon",6),2&n){const e=i.oxw().$implicit;i.Q6J("svgIcon",e.icon)}}function cP(n,o){if(1&n&&(i.TgZ(0,"mat-icon"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Oqu(e.icon)}}const lP=function(n){return{color:n}};function uP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().shouldHideMenu()}),i.YNc(1,aP,1,1,"mat-icon",3),i.YNc(2,cP,2,1,"mat-icon",4),i.TgZ(3,"span",5),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.link),i.Q6J("ngStyle",i.VKq(10,lP,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(1),i.Q6J("ngIf",e.isSVG),i.xp6(1),i.Q6J("ngIf",!e.isSVG),i.xp6(2),i.Oqu(i.lcZ(5,8,e.label))}}let dP=(()=>{class n{constructor(e,t,s){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(a=>{a instanceof be&&(this.currentUrl=a.url)})}ngOnInit(){this.items=this.sideMenuItemService.getSideMenuItems()}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(UR),i.Y36(Mn),i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],["class","perun-icon",3,"svgIcon",4,"ngIf"],[4,"ngIf"],[1,"nav-caption","ml-3"],[1,"perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,uP,6,12,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[eP,b.sg,tP,Ss,b.PC,Et,b.O5,tn],pipes:[gt],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function hP(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let fP=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Ii),i.Y36(Fn),i.Y36(Gt),i.Y36(Mn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,hP,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[ks,Gs,ls,Es,nr,us,tr,ds,jd,b.O5,Ic,pm,Ks,Bt],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),pP=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})(),gP=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),mP=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function _P(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function yP(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function bP(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,_P,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,yP,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const wP=function(n){return{"min-height":n}};function AP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,bP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,wP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const nu=function(n){return{color:n}};function vP(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,nu,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function CP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,nu,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function TP(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,nu,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function MP(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,nu,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function SP(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,vP,2,4,"i",17),i.YNc(2,CP,3,8,"span",18),i.YNc(3,TP,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,MP,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const kP=function(n){return{height:n}};function EP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,SP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,kP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function DP(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,AP,2,4,"div",9),i.YNc(5,EP,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,nu,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function xP(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,nu,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const RP=function(n){return{background:n}};let Qk=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=ts();"reportIssue"===e&&(t.width="550px",this.dialog.open(fP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Ii),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,DP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,xP,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,RP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,nu,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,nu,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[pP,gP,mP],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}"]}),n})();function PP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function LP(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function IP(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const OP=function(n){return{color:n}};function HP(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,OP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const FP=function(n,o){return{background:n,color:o}},zP=function(n,o){return{"min-height":n,"background-color":o}};let NP=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(Yn),i.Y36(V1),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,PP,2,1,"div",1),i.YNc(2,LP,3,1,"div",2),i.YNc(3,IP,2,1,"div",1),i.YNc(4,HP,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,FP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,zP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,tn,sa,Qk],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const BP=["footer"],Xk=function(n){return{background:n}},YP=function(n){return{"min-height":n}};function jP(n,o){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-header",1),i.TgZ(2,"mat-sidenav-container"),i.TgZ(3,"mat-sidenav",2,3),i._UZ(5,"perun-web-apps-side-menu",4),i.qZA(),i.TgZ(6,"mat-sidenav-content",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",null,7),i._UZ(11,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&n){const e=i.MAs(4),t=i.oxw();i.xp6(1),i.Q6J("sideNav",e),i.xp6(2),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(7,Xk,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(9,Xk,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,YP,t.contentHeight))}}function UP(n,o){1&n&&(i.TgZ(0,"div"),i._UZ(1,"perun-web-apps-login-screen-base",8),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Q6J("application","publications")("headerTitle",i.lcZ(2,2,"HEADER.TITLE")))}let VP=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.initAuth=t,this.changeDetector=s,this.authResolver=a,this.router=r,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 64px)"}ngOnInit(){this.isLoginScreenShow=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout");const e=location.pathname;!this.authResolver.isCabinetAdmin()&&("/"===e||e.includes("/all-publications"))&&this.router.navigate(["my-publications"])}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}setContentHeight(e){this.contentHeight="calc(100vh - 84px - "+e+"px)",this.changeDetector.detectChanges()}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(Mn),i.Y36(v0),i.Y36(i.sBO),i.Y36(oo),i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(BP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:3,vars:2,consts:[[4,"ngIf"],["id","nav-menu",3,"sideNav"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i._UZ(0,"perun-web-apps-notificator"),i.YNc(1,jP,12,13,"div",0),i.YNc(2,UP,3,4,"div",0)),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.isLoginScreenShow&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShow||t.isServiceAccess||t.isServiceLogin()))},directives:[wR,b.O5,ER,Vk,Uk,b.PC,dP,H0,sa,Qk,NP],pipes:[gt],styles:["#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}#content-inner[_ngcontent-%COMP%]{position:relative;overflow-x:hidden;padding-top:64px;min-height:calc(100vh - 128px)}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();class qP{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let GP=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function KP(n){return[Js(tinycolor(n).lighten(52),"50"),Js(tinycolor(n).lighten(37),"100"),Js(tinycolor(n).lighten(26),"200"),Js(tinycolor(n).lighten(12),"300"),Js(tinycolor(n).lighten(6),"400"),Js(tinycolor(n),"500"),Js(tinycolor(n).darken(6),"600"),Js(tinycolor(n).darken(12),"700"),Js(tinycolor(n).darken(18),"800"),Js(tinycolor(n).darken(24),"900"),Js(tinycolor(n).lighten(50).saturate(30),"A100"),Js(tinycolor(n).lighten(30).saturate(30),"A200"),Js(tinycolor(n).lighten(10).saturate(15),"A400"),Js(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(Mn),i.LFG(xi),i.LFG(Wt),i.LFG(hs))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Js(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let ZP=(()=>{class n{constructor(e,t,s,a,r){this.initAuthService=e,this.appConfigService=t,this.location=s,this.authzSevice=a,this.guiAuthResolver=r,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.loadPolicies()):this.initAuthService.handleAuthStart())}loadPolicies(){return new Promise((e,t)=>{this.authzSevice.getAllPolicies().subscribe(s=>{this.guiAuthResolver.setPerunPolicies(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(v0),i.LFG(GP),i.LFG(b.Ye),i.LFG(xi),i.LFG(oo))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $P=new i.OlP("perun-api-service");let WP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,im,Zs,Sd]]}),n})();const JP=["*",[["mat-card-footer"]]],QP=["*","mat-card-footer"];let eE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),tE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),iE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:QP,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(JP),i.Hsn(0),i.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),n})(),nE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nt],nt]}),n})();const XP=["input"],eL=function(n){return{enterDuration:n}},tL=["*"],iL=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:sE});function sE(){return{color:"accent",clickAction:"check-indeterminate"}}let nL=0;const oE=sE(),sL={provide:Jn,useExisting:(0,i.Gpc)(()=>su),multi:!0};class oL{}const rL=Vl(Qo(To(Co(class{constructor(n){this._elementRef=n}}))));let su=(()=>{class n extends rL{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++nL,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||oE,this.color=this.defaultColor=this._options.color||oE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ne(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Ne(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Ne(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new oL;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Ys),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Si,8),i.Y36(iL,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(XP,5),i.Gf(Ss,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([sL]),i.qOj],ngContentSelectors:tL,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,eL,"NoopAnimations"===t._animationMode?0:150))}},directives:[Ss,pg],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),rE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),UA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt,Pl,rE],nt,rE]}),n})(),lL=0;const z0=new i.OlP("CdkAccordion");let uL=(()=>{class n{constructor(){this._stateChanges=new ke.xQ,this._openCloseAllActions=new ke.xQ,this.id="cdk-accordion-"+lL++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Ne(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:z0,useExisting:n}]),i.TTD]}),n})(),dL=0,hL=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+dL++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=Ne(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(z0,12),i.Y36(i.sBO),i.Y36(Sw))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:z0,useValue:void 0}])]}),n})(),fL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const pL=["body"];function gL(n,o){}const mL=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],_L=["mat-expansion-panel-header","*","mat-action-row"];function yL(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const bL=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],wL=["mat-panel-title","mat-panel-description","*"],N0=new i.OlP("MAT_ACCORDION"),aE="225ms cubic-bezier(0.4,0.0,0.2,1)",cE={indicatorRotate:ti("indicatorRotate",[_t("collapsed, void",De({transform:"rotate(0deg)"})),_t("expanded",De({transform:"rotate(180deg)"})),ht("expanded <=> collapsed, void => collapsed",rt(aE))]),bodyExpansion:ti("bodyExpansion",[_t("collapsed, void",De({height:"0px",visibility:"hidden"})),_t("expanded",De({height:"*",visibility:"visible"})),ht("expanded <=> collapsed, void => collapsed",rt(aE))])};let AL=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),vL=0;const lE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let uE=(()=>{class n extends hL{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new ke.xQ,this._headerId="mat-expansion-panel-header-"+vL++,this._bodyAnimationDone=new ke.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(yc((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Vt(null),(0,Kt.h)(()=>this.expanded&&!this._portal),(0,Ut.q)(1)).subscribe(()=>{this._portal=new Cr(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(N0,12),i.Y36(i.sBO),i.Y36(Sw),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Si,8),i.Y36(lE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AL,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(pL,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:N0,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:_L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(mL),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,gL,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Tr],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[cE.bodyExpansion]},changeDetection:0}),n})();class CL{}const TL=Vl(CL);let dE=(()=>{class n extends TL{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=P.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,Kt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):Gn.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Mi.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,Kt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Kt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ni(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uE,1),i.Y36(i.SBq),i.Y36(Ys),i.Y36(i.sBO),i.Y36(lE,8),i.Y36(Si,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:wL,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(bL),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,yL,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[cE.indicatorRotate]},changeDetection:0}),n})(),ML=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),SL=(()=>{class n extends uL{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Ne(e)}ngAfterContentInit(){this._headers.changes.pipe(Vt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new bc(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,dE,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:N0,useExisting:n}]),i.qOj]}),n})(),hE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,fL,xl]]}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[bf,nt],bf,nt]}),n})();function DL(n,o){1&n&&i.Hsn(0)}const xL=["*"];let gE=(()=>{class n{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n})(),mE=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n})(),RL=0;const _E=new i.OlP("STEPPER_GLOBAL_OPTIONS");let B0=(()=>{class n{constructor(e,t){this._stepper=e,this.interacted=!1,this.interactedStream=new i.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(e){this._editable=Ne(e)}get optional(){return this._optional}set optional(e){this._optional=Ne(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=Ne(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(e){this._customError=Ne(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var e;return null!==(e=this._stepperOptions.showError)&&void 0!==e?e:null!=this._customError}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>hp)),i.Y36(_E,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,mE,5),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t.content=s.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[i.TTD],ngContentSelectors:xL,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,DL,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),hp=(()=>{class n{constructor(e,t,s,a){this._dir=e,this._changeDetectorRef=t,this._elementRef=s,this._destroyed=new ke.xQ,this.steps=new i.n_E,this._sortedHeaders=new i.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new i.vpe,this._orientation="horizontal",this._groupId=RL++}get linear(){return this._linear}set linear(e){this._linear=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){var t;const s=Zi(e);this.steps&&this._steps?(this._isValidIndex(s),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==s&&!this._anyControlsInvalidOrPending(s)&&(s>=this._selectedIndex||this.steps.toArray()[s].editable)&&this._updateSelectedItemIndex(s)):this._selectedIndex=s}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}ngAfterContentInit(){this._steps.changes.pipe(Vt(this._steps),$e(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Vt(this._stepHeader),$e(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,s)=>t._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new bc(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Ye.of)()).pipe(Vt(this._layoutDirection()),$e(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":t>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,t="number"){const s=this.steps.toArray()[e],a=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,a):this._getGuidelineLogic(s,a,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,t,s="number"){return e._showError()&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?s:e.editable&&t?"edit":s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this._stateChanged()}_onKeydown(e){const t=Ni(e),s=e.keyCode,a=this._keyManager;null==a.activeItemIndex||t||32!==s&&13!==s?a.onKeydown(e):(this.selectedIndex=a.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(t=>{const s=t.stepControl;return(s?s.invalid||s.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,t=kl();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e{class n{constructor(e){this._stepper=e,this.type="submit"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hp))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.next()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),LL=(()=>{class n{constructor(e){this._stepper=e,this.type="button"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hp))},n.\u0275dir=i.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._stepper.previous()}),2&e&&i.Ikx("type",t.type)},inputs:{type:"type"}}),n})(),IL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El]]}),n})();function OL(n,o){if(1&n&&i.GkF(0,8),2&n){const e=i.oxw();i.Q6J("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function HL(n,o){if(1&n&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function FL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.completedLabel)}}function zL(n,o){if(1&n&&(i.TgZ(0,"span",14),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._intl.editableLabel)}}function NL(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e._getDefaultTextForState(e.state))}}function BL(n,o){if(1&n&&(i.ynx(0,9),i.YNc(1,HL,2,1,"span",10),i.YNc(2,FL,2,1,"span",11),i.YNc(3,zL,2,1,"span",11),i.YNc(4,NL,2,1,"mat-icon",12),i.BQk()),2&n){const e=i.oxw();i.Q6J("ngSwitch",e.state),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngIf","done"===e.state),i.xp6(1),i.Q6J("ngIf","edit"===e.state)}}function YL(n,o){if(1&n&&(i.TgZ(0,"div",15),i.GkF(1,16),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",e._templateLabel().template)}}function jL(n,o){if(1&n&&(i.TgZ(0,"div",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.label)}}function UL(n,o){if(1&n&&(i.TgZ(0,"div",17),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e._intl.optionalLabel)}}function VL(n,o){if(1&n&&(i.TgZ(0,"div",18),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.errorMessage)}}function qL(n,o){}function GL(n,o){if(1&n&&(i.Hsn(0),i.YNc(1,qL,0,0,"ng-template",0)),2&n){const e=i.oxw();i.xp6(1),i.Q6J("cdkPortalOutlet",e._portal)}}const KL=["*"];function ZL(n,o){1&n&&i._UZ(0,"div",9)}const yE=function(n,o){return{step:n,i:o}};function $L(n,o){if(1&n&&(i.ynx(0),i.GkF(1,7),i.YNc(2,ZL,1,0,"div",8),i.BQk()),2&n){const e=o.$implicit,t=o.index,s=o.last;i.oxw(2);const a=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",i.WLB(3,yE,e,t)),i.xp6(1),i.Q6J("ngIf",!s)}}function WL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",10),i.NdJ("@horizontalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.GkF(1,11),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("@horizontalStepTransition",s._getAnimationDirection(t))("id",s._getStepContentId(t)),i.uIk("aria-labelledby",s._getStepLabelId(t))("aria-expanded",s.selectedIndex===t),i.xp6(1),i.Q6J("ngTemplateOutlet",e.content)}}function JL(n,o){if(1&n&&(i.ynx(0),i.TgZ(1,"div",3),i.YNc(2,$L,3,6,"ng-container",4),i.qZA(),i.TgZ(3,"div",5),i.YNc(4,WL,2,5,"div",6),i.qZA(),i.BQk()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngForOf",e.steps),i.xp6(2),i.Q6J("ngForOf",e.steps)}}function QL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.GkF(1,7),i.TgZ(2,"div",14),i.TgZ(3,"div",15),i.NdJ("@verticalStepTransition.done",function(s){return i.CHM(e),i.oxw(2)._animationDone.next(s)}),i.TgZ(4,"div",16),i.GkF(5,11),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=o.last,a=i.oxw(2),r=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.WLB(9,yE,e,t)),i.xp6(1),i.ekj("mat-stepper-vertical-line",!s),i.xp6(1),i.Q6J("@verticalStepTransition",a._getAnimationDirection(t))("id",a._getStepContentId(t)),i.uIk("aria-labelledby",a._getStepLabelId(t))("aria-expanded",a.selectedIndex===t),i.xp6(2),i.Q6J("ngTemplateOutlet",e.content)}}function XL(n,o){if(1&n&&(i.ynx(0),i.YNc(1,QL,6,12,"div",12),i.BQk()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.steps)}}function eI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-step-header",17),i.NdJ("click",function(){return i.CHM(e).step.select()})("keydown",function(s){return i.CHM(e),i.oxw()._onKeydown(s)}),i.qZA()}if(2&n){const e=o.step,t=o.i,s=i.oxw();i.ekj("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),i.Q6J("tabIndex",s._getFocusIndex()===t?0:-1)("id",s._getStepLabelId(t))("index",t)("state",s._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",s.selectedIndex===t)("active",s._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(t,e))("color",e.color||s.color),i.uIk("aria-posinset",t+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(t))("aria-selected",s.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(t,e)||null)}}let VA=(()=>{class n extends mE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matStepLabel",""]],features:[i.qOj]}),n})(),qA=(()=>{class n{constructor(){this.changes=new ke.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const iI={provide:qA,deps:[[new i.FiY,new i.tp0,qA]],useFactory:function tI(n){return n||new qA}},nI=Qo(class extends gE{constructor(o){super(o)}},"primary");let bE=(()=>{class n extends nI{constructor(e,t,s,a){super(s),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof VA?null:this.label}_templateLabel(){return this.label instanceof VA?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qA),i.Y36(Ys),i.Y36(i.SBq),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[i.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(e,t){1&e&&(i._UZ(0,"div",0),i.TgZ(1,"div"),i.TgZ(2,"div",1),i.YNc(3,OL,1,2,"ng-container",2),i.YNc(4,BL,5,4,"ng-container",3),i.qZA(),i.qZA(),i.TgZ(5,"div",4),i.YNc(6,YL,2,1,"div",5),i.YNc(7,jL,2,1,"div",5),i.YNc(8,UL,2,1,"div",6),i.YNc(9,VL,2,1,"div",7),i.qZA()),2&e&&(i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disableRipple),i.xp6(1),i.Gre("mat-step-icon-state-",t.state," mat-step-icon"),i.ekj("mat-step-icon-selected",t.selected),i.xp6(1),i.Q6J("ngSwitch",!(!t.iconOverrides||!t.iconOverrides[t.state])),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(2),i.ekj("mat-step-label-active",t.active)("mat-step-label-selected",t.selected)("mat-step-label-error","error"==t.state),i.xp6(1),i.Q6J("ngIf",t._templateLabel()),i.xp6(1),i.Q6J("ngIf",t._stringLabel()),i.xp6(1),i.Q6J("ngIf",t.optional&&"error"!=t.state),i.xp6(1),i.Q6J("ngIf","error"==t.state))},directives:[tn,Ss,b.RF,b.n9,b.tP,b.ED,b.O5],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),n})();const wE={horizontalStepTransition:ti("horizontalStepTransition",[_t("previous",De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),_t("current",De({transform:"none",visibility:"inherit"})),_t("next",De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ht("* => *",rt("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:ti("verticalStepTransition",[_t("previous",De({height:"0px",visibility:"hidden"})),_t("next",De({height:"0px",visibility:"hidden"})),_t("current",De({height:"*",visibility:"inherit"})),ht("* <=> current",rt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let sI=(()=>{class n{constructor(e){this.templateRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n})(),oI=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n})(),AE=(()=>{class n extends B0{constructor(e,t,s,a){super(e,a),this._errorStateMatcher=t,this._viewContainerRef=s,this._isSelected=P.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Ci.w)(()=>this._stepper.selectionChange.pipe((0,at.U)(e=>e.selectedStep===this),Vt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Cr(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){return this._errorStateMatcher.isErrorState(e,t)||!!(e&&e.invalid&&this.interacted)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36((0,i.Gpc)(()=>CE)),i.Y36(Xo,4),i.Y36(i.s_b),i.Y36(_E,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,VA,5),i.Suo(s,oI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.stepLabel=a.first),i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[i._Bn([{provide:Xo,useExisting:n},{provide:B0,useExisting:n}]),i.qOj],ngContentSelectors:KL,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,GL,2,1,"ng-template"))},directives:[Tr],encapsulation:2,changeDetection:0}),n})(),vE=(()=>{class n extends hp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),rI=(()=>{class n extends vE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-horizontal-stepper"]],features:[i.qOj]}),n})(),aI=(()=>{class n extends vE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-vertical-stepper"]],features:[i.qOj]}),n})(),CE=(()=>{class n extends hp{constructor(e,t,s,a){super(e,t,s,a),this.steps=new i.n_E,this.animationDone=new i.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new ke.xQ;const r=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===r?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe($e(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(yc((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),$e(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,t){return t.completed||this.selectedIndex===e||!this.linear}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti,8),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,AE,5),i.Suo(s,sI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._steps=a),i.iGM(a=i.CRH())&&(t._icons=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(bE,5),2&e){let s;i.iGM(s=i.CRH())&&(t._stepHeader=s)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(e,t){2&e&&(i.uIk("aria-orientation",t.orientation),i.ekj("mat-stepper-horizontal","horizontal"===t.orientation)("mat-stepper-vertical","vertical"===t.orientation)("mat-stepper-label-position-end","horizontal"===t.orientation&&"end"==t.labelPosition)("mat-stepper-label-position-bottom","horizontal"===t.orientation&&"bottom"==t.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[i._Bn([{provide:hp,useExisting:n},{provide:rI,useExisting:n},{provide:aI,useExisting:n}]),i.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(e,t){1&e&&(i.ynx(0,0),i.YNc(1,JL,5,2,"ng-container",1),i.YNc(2,XL,2,1,"ng-container",1),i.BQk(),i.YNc(3,eI,1,23,"ng-template",null,2,i.W1O)),2&e&&(i.Q6J("ngSwitch",t.orientation),i.xp6(1),i.Q6J("ngSwitchCase","horizontal"),i.xp6(1),i.Q6J("ngSwitchCase","vertical"))},directives:[bE,b.RF,b.n9,b.sg,b.tP,b.O5],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[wE.horizontalStepTransition,wE.verticalStepTransition]},changeDetection:0}),n})(),cI=(()=>{class n extends PL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),lI=(()=>{class n extends LL{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("type",t.type)},inputs:{type:"type"},features:[i.qOj]}),n})(),TE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[iI,Xo],imports:[[nt,b.ez,xl,Zs,IL,iu,cs],nt]}),n})();const uI=["mat-calendar-body",""];function dI(n,o){if(1&n&&(i.TgZ(0,"tr",2),i.TgZ(1,"td",3),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e.numCols),i.xp6(1),i.hij(" ",e.label," ")}}function hI(n,o){if(1&n&&(i.TgZ(0,"td",3),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),i.uIk("colspan",e._firstRowOffset),i.xp6(1),i.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function fI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",7),i.TgZ(1,"button",8),i.NdJ("click",function(s){const r=i.CHM(e).$implicit;return i.oxw(2)._cellClicked(r,s)}),i.TgZ(2,"div",9),i._uU(3),i.qZA(),i._UZ(4,"div",10),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw().index,a=i.oxw();i.Udp("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),i.uIk("data-mat-row",s)("data-mat-col",t),i.xp6(1),i.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",a._isActiveCell(s,t))("mat-calendar-body-range-start",a._isRangeStart(e.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",a._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(e.compareValue,s,t))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(e.compareValue,s,t))("mat-calendar-body-comparison-start",a._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",a._isInPreview(e.compareValue)),i.Q6J("ngClass",e.cssClasses)("tabindex",a._isActiveCell(s,t)?0:-1),i.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",a._isSelected(e.compareValue))("aria-current",a.todayValue===e.compareValue?"date":null),i.xp6(1),i.ekj("mat-calendar-body-selected",a._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",a.todayValue===e.compareValue),i.xp6(1),i.hij(" ",e.displayValue," ")}}function pI(n,o){if(1&n&&(i.TgZ(0,"tr",4),i.YNc(1,hI,2,6,"td",5),i.YNc(2,fI,5,47,"td",6),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("ngIf",0===t&&s._firstRowOffset),i.xp6(1),i.Q6J("ngForOf",e)}}function gI(n,o){if(1&n&&(i.TgZ(0,"th",5),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.uIk("aria-label",e.long),i.xp6(1),i.hij(" ",e.narrow," ")}}const mI=["*"];function _I(n,o){}function yI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-month-view",5),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("_userSelection",function(s){return i.CHM(e),i.oxw()._dateSelected(s)}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function bI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-year-view",6),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("monthSelected",function(s){return i.CHM(e),i.oxw()._monthSelectedInYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"month")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function wI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-multi-year-view",7),i.NdJ("activeDateChange",function(s){return i.CHM(e),i.oxw().activeDate=s})("yearSelected",function(s){return i.CHM(e),i.oxw()._yearSelectedInMultiYearView(s)})("selectedChange",function(s){return i.CHM(e),i.oxw()._goToDateInView(s,"year")}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function AI(n,o){}const vI=["button"];function CI(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",3),i._UZ(1,"path",4),i.qZA())}const TI=[[["","matDatepickerToggleIcon",""]]],MI=["[matDatepickerToggleIcon]"];class Y0{constructor(o,e,t,s,a={},r=o,c){this.value=o,this.displayValue=e,this.ariaLabel=t,this.enabled=s,this.cssClasses=a,this.compareValue=r,this.rawValue=c}}let fp=(()=>{class n{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new i.vpe,this.previewChange=new i.vpe,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const a=this._getCellFromElement(s.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:s}))}},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&s.target&&this._getCellFromElement(s.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s}))},t.runOutsideAngular(()=>{const s=e.nativeElement;s.addEventListener("mouseenter",this._enterHandler,!0),s.addEventListener("focus",this._enterHandler,!0),s.addEventListener("mouseleave",this._leaveHandler,!0),s.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:s,numCols:a}=this;(e.rows||t)&&(this._firstRowOffset=s&&s.length&&s[0].length?a-s[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/a+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/a+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let s=e*this.numCols+t;return e&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return j0(e,this.startValue,this.endValue)}_isRangeEnd(e){return U0(e,this.startValue,this.endValue)}_isInRange(e){return V0(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return j0(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,s){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let a=this.rows[t][s-1];if(!a){const r=this.rows[t-1];a=r&&r[r.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(e,t,s){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let a=this.rows[t][s+1];if(!a){const r=this.rows[t+1];a=r&&r[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(e){return U0(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return V0(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return j0(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return U0(e,this.previewStart,this.previewEnd)}_isInPreview(e){return V0(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(ME(e)?t=e:ME(e.parentNode)&&(t=e.parentNode),t){const s=t.getAttribute("data-mat-row"),a=t.getAttribute("data-mat-col");if(s&&a)return this.rows[parseInt(s)][parseInt(a)]}return null}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[i.TTD],attrs:uI,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(i.YNc(0,dI,3,6,"tr",0),i.YNc(1,pI,3,2,"tr",1)),2&e&&(i.Q6J("ngIf",t._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),n})();function ME(n){return"TD"===n.nodeName}function j0(n,o,e){return null!==e&&o!==e&&n=o&&n===e}function V0(n,o,e,t){return t&&null!==o&&null!==e&&o!==e&&n>=o&&n<=e}class Qs{constructor(o,e){this.start=o,this.end=e}}let ou=(()=>{class n{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new ke.xQ,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const s=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),SI=(()=>{class n extends ou{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(vi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const SE={provide:ou,deps:[[new i.FiY,new i.tp0,ou],vi],useFactory:function EI(n,o){return n||new SI(o)}},GA=new i.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let kE=(()=>{class n{constructor(e,t,s,a,r){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rangeStrategy=r,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this._userSelection=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,s=this._dateAdapter.getYear(this.activeDate),a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(s,a,t);let c,d;this._selected instanceof Qs?(c=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):c=d=this._getDateInCurrentMonth(this._selected),(c!==t||d!==t)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!Ni(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const a=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let a=this._dateAdapter.getDayOfWeekNames("long").map((r,c)=>({long:r,narrow:t[c]}));this._weekdays=a.slice(e).concat(a.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,a=this._firstWeekOffset;s=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),s=this._dateAdapter.getMonth(e),a=this._dateAdapter.getDate(e);return new Date(t,s,a).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Qs?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(Ms,8),i.Y36(vi,8),i.Y36(Ti,8),i.Y36(GA,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&i.Gf(fp,5),2&e){let s;i.iGM(s=i.CRH())&&(t._matCalendarBody=s.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[i.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"]],template:function(e,t){1&e&&(i.TgZ(0,"table",0),i.TgZ(1,"thead",1),i.TgZ(2,"tr"),i.YNc(3,gI,2,2,"th",2),i.qZA(),i.TgZ(4,"tr"),i._UZ(5,"th",3),i.qZA(),i.qZA(),i.TgZ(6,"tbody",4),i.NdJ("selectedValueChange",function(a){return t._dateSelected(a)})("previewChange",function(a){return t._previewChanged(a)})("keyup",function(a){return t._handleCalendarBodyKeyup(a)})("keydown",function(a){return t._handleCalendarBodyKeydown(a)}),i.qZA(),i.qZA()),2&e&&(i.xp6(3),i.Q6J("ngForOf",t._weekdays),i.xp6(3),i.Q6J("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[fp,b.sg],encapsulation:2,changeDetection:0}),n})(),EE=(()=>{class n{constructor(e,t,s){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=s,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),DE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,a=[];s<24;s++)a.push(t+s),4==a.length&&(this._years.push(a.map(r=>this._createCellForYear(r))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let s=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,s,1));this.selectedChange.emit(this._dateAdapter.createDate(t,s,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return l_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),s=this._dateAdapter.getYearName(t),a=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Y0(e,s,s,this._shouldEnableYear(e),a)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{constructor(e,t,s,a){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=s,this._dir=a,this._rerenderSubscription=P.w.EMPTY,this.selectedChange=new i.vpe,this.monthSelected=new i.vpe,this.activeDateChange=new i.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(s);const a=this._dateAdapter.getNumDaysInMonth(s);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,s=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(s=>this._createCellForMonth(s,e[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),a=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(s,"year"):void 0;return new Y0(e,t.toLocaleUpperCase(),a,this._shouldEnableMonth(e),r)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let a=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return e>s||e===s&&t>a}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(){this.changes=new ke.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),LI=0,II=(()=>{class n{constructor(e,t,s,a,r){this._intl=e,this.calendar=t,this._dateAdapter=s,this._dateFormats=a,this._buttonDescriptionId="mat-calendar-button-"+LI++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-l_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=t+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1));return this._intl.formatYearRange(a,r)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):DE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36((0,i.Gpc)(()=>K0)),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:mI,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"button",2),i.NdJ("click",function(){return t.currentPeriodClicked()}),i.TgZ(3,"span"),i._uU(4),i.qZA(),i.O4$(),i.TgZ(5,"svg",3),i._UZ(6,"polygon",4),i.qZA(),i.qZA(),i.kcU(),i._UZ(7,"div",5),i.Hsn(8),i.TgZ(9,"button",6),i.NdJ("click",function(){return t.previousClicked()}),i.qZA(),i.TgZ(10,"button",7),i.NdJ("click",function(){return t.nextClicked()}),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.uIk("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),i.xp6(1),i.uIk("id",t._buttonDescriptionId),i.xp6(1),i.Oqu(t.periodButtonText),i.xp6(1),i.ekj("mat-calendar-invert","month"!==t.calendar.currentView),i.xp6(4),i.Q6J("disabled",!t.previousEnabled()),i.uIk("aria-label",t.prevButtonLabel),i.xp6(1),i.Q6J("disabled",!t.nextEnabled()),i.uIk("aria-label",t.nextButtonLabel))},directives:[Bt,Hy],encapsulation:2,changeDetection:0}),n})(),K0=(()=>{class n{constructor(e,t,s,a){this._dateAdapter=t,this._dateFormats=s,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.vpe,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this._userSelection=new i.vpe,this.stateChanges=new ke.xQ,this._intlChanges=e.changes.subscribe(()=>{a.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qs?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new pa(this.headerComponent||II),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Qs||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(i.Gf(kE,5),i.Gf(RE,5),i.Gf(EE,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.monthView=s.first),i.iGM(s=i.CRH())&&(t.yearView=s.first),i.iGM(s=i.CRH())&&(t.multiYearView=s.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[i._Bn([SE]),i.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(i.YNc(0,_I,0,0,"ng-template",0),i.TgZ(1,"div",1),i.YNc(2,yI,1,8,"mat-month-view",2),i.YNc(3,bI,1,6,"mat-year-view",3),i.YNc(4,wI,1,6,"mat-multi-year-view",4),i.qZA()),2&e&&(i.Q6J("cdkPortalOutlet",t._calendarHeaderPortal),i.xp6(1),i.Q6J("ngSwitch",t.currentView),i.xp6(1),i.Q6J("ngSwitchCase","month"),i.xp6(1),i.Q6J("ngSwitchCase","year"),i.xp6(1),i.Q6J("ngSwitchCase","multi-year"))},directives:[kE,RE,EE,Tr,yC,b.RF,b.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),n})();const PE={transformPanel:ti("transformPanel",[ht("void => enter-dropdown",rt("120ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(1, 0.8)"}),De({opacity:1,transform:"scale(1, 1)"})]))),ht("void => enter-dialog",rt("150ms cubic-bezier(0, 0, 0.2, 1)",Mr([De({opacity:0,transform:"scale(0.7)"}),De({transform:"none",opacity:1})]))),ht("* => void",rt("100ms linear",De({opacity:0})))]),fadeInCalendar:ti("fadeInCalendar",[_t("void",De({opacity:0})),_t("enter",De({opacity:1})),ht("void => *",rt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let OI=0;const LE=new i.OlP("mat-datepicker-scroll-strategy"),FI={provide:LE,deps:[Ji],useFactory:function HI(n){return()=>n.scrollStrategies.reposition()}},zI=Qo(class{constructor(n){this._elementRef=n}});let NI=(()=>{class n extends zI{constructor(e,t,s,a,r,c){super(e),this._changeDetectorRef=t,this._globalModel=s,this._dateAdapter=a,this._rangeSelectionStrategy=r,this._subscriptions=new P.w,this._animationDone=new ke.xQ,this._actionsPortal=null,this._closeButtonText=c.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,s=e.value,a=t instanceof Qs;if(a&&this._rangeSelectionStrategy){const r=this._rangeSelectionStrategy.selectionFinished(s,t,e.event);this._model.updateSelection(r,this)}else s&&(a||!this._dateAdapter.sameDate(s,t))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(ou),i.Y36(vi),i.Y36(GA,8),i.Y36(u_))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&i.Gf(K0,5),2&e){let s;i.iGM(s=i.CRH())&&(t._calendar=s.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&i.WFA("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(i.d8E("@transformPanel",t._animationState),i.ekj("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-calendar",1),i.NdJ("yearSelected",function(a){return t.datepicker._selectYear(a)})("monthSelected",function(a){return t.datepicker._selectMonth(a)})("viewChanged",function(a){return t.datepicker._viewChanged(a)})("_userSelection",function(a){return t._handleUserSelection(a)}),i.qZA(),i.YNc(2,AI,0,0,"ng-template",2),i.TgZ(3,"button",3),i.NdJ("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),i._uU(4),i.qZA(),i.qZA()),2&e){let s;i.ekj("mat-datepicker-content-container-with-custom-header",t.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",t._actionsPortal),i.uIk("aria-modal",!0)("aria-labelledby",null!==(s=t._dialogLabelId)&&void 0!==s?s:void 0),i.xp6(1),i.Q6J("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),i.xp6(1),i.Q6J("cdkPortalOutlet",t._actionsPortal),i.xp6(1),i.ekj("cdk-visually-hidden",!t._closeButtonFocused),i.Q6J("color",t.color||"primary"),i.xp6(1),i.Oqu(t._closeButtonText)}},directives:[K0,Bt,Il,b.mk,Tr],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[PE.transformPanel,PE.fadeInCalendar]},changeDetection:0}),n})(),IE=(()=>{class n{constructor(e,t,s,a,r,c,d){this._overlay=e,this._ngZone=t,this._viewContainerRef=s,this._dateAdapter=r,this._dir=c,this._model=d,this._inputStateChanges=P.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new i.vpe,this.monthSelected=new i.vpe,this.viewChanged=new i.vpe(!0),this.openedStream=new i.vpe,this.closedStream=new i.vpe,this._opened=!1,this.id="mat-datepicker-"+OI++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new ke.xQ,this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=Ne(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=Ne(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=Ne(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function Bu(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e)}get opened(){return this._opened}set opened(e){Ne(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof dy&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=kl(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const t=this._componentRef.instance;t._startExitAnimation(),t._animationDone.pipe((0,Ut.q)(1)).subscribe(()=>this._destroyOverlay())}const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_applyPendingSelection(){var e,t;null===(t=null===(e=this._componentRef)||void 0===e?void 0:e.instance)||void 0===t||t._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal,e._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const e=this.touchUi,t=new pa(NI,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new En({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(s).subscribe(a=>{a&&a.preventDefault(),this.close()}),this._componentRef=s.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",s="start"===t?"end":"start",a="above"===this.yPosition?"bottom":"top",r="top"===a?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:a},{originX:t,originY:a,overlayX:t,overlayY:r},{originX:s,originY:r,overlayX:s,overlayY:a},{originX:s,originY:a,overlayX:s,overlayY:r}])}_getCloseStream(e){return(0,Mi.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Kt.h)(t=>27===t.keyCode&&!Ni(t)||this.datepickerInput&&Ni(t,"altKey")&&38===t.keyCode)))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ji),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(LE),i.Y36(vi,8),i.Y36(Ti,8),i.Y36(ou))},n.\u0275dir=i.lG2({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[i.TTD]}),n})(),Z0=(()=>{class n extends IE{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[i._Bn([SE,{provide:IE,useExisting:n}]),i.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),n})();class KA{constructor(o,e){this.target=o,this.targetElement=e,this.value=this.target.value}}let BI=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dateAdapter=t,this._dateFormats=s,this.dateChange=new i.vpe,this.dateInput=new i.vpe,this.stateChanges=new ke.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=P.w.EMPTY,this._localeSubscription=P.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!r||this._matchesFilter(r)?null:{matDatepickerFilter:!0}},this._minValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMinDate();return!c||!r||this._dateAdapter.compareDate(c,r)<=0?null:{matDatepickerMin:{min:c,actual:r}}},this._maxValidator=a=>{const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),c=this._getMaxDate();return!c||!r||this._dateAdapter.compareDate(c,r)>=0?null:{matDatepickerMax:{max:c,actual:r}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=Ne(e),s=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const s=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new KA(this,this._elementRef.nativeElement)),this.dateChange.emit(new KA(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function YI(n,o){const e=Object.keys(n);for(let t of e){const{previousValue:s,currentValue:a}=n[t];if(!o.isDateInstance(s)||!o.isDateInstance(a))return!0;if(!o.sameDate(s,a))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let s=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s),this._dateAdapter.sameDate(s,this.value)?(e&&!this.value&&this._cvaOnChange(s),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(s),this._cvaOnChange(s),this.dateInput.emit(new KA(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new KA(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(vi,8),i.Y36(Ms,8))},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.TTD]}),n})();const jI={provide:Jn,useExisting:(0,i.Gpc)(()=>d_),multi:!0},UI={provide:Bi,useExisting:(0,i.Gpc)(()=>d_),multi:!0};let d_=(()=>{class n extends BI{constructor(e,t,s,a){super(e,t,s),this._formField=a,this._closedSubscription=P.w.EMPTY,this._validator=Oi.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(vi,8),i.Y36(Ms,8),i.Y36(Df,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t._onInput(a.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(a){return t._onKeydown(a)}),2&e&&(i.Ikx("disabled",t.disabled),i.uIk("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[i._Bn([jI,UI,{provide:xk,useExisting:n}]),i.qOj]}),n})(),VI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),$0=(()=>{class n{constructor(e,t,s){this._intl=e,this._changeDetectorRef=t,this._stateChanges=P.w.EMPTY;const a=Number(s);this.tabIndex=a||0===a?a:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=Ne(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,Ye.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Ye.of)(),s=this.datepicker?(0,Mi.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Ye.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Mi.T)(this._intl.changes,e,t,s).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(u_),i.Y36(i.sBO),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,VI,5),2&e){let a;i.iGM(a=i.CRH())&&(t._customIcon=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(vI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._button=s.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._open(a)}),2&e&&(i.uIk("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),i.ekj("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.TTD],ngContentSelectors:MI,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(i.F$t(TI),i.TgZ(0,"button",0,1),i.YNc(2,CI,2,0,"svg",2),i.Hsn(3),i.qZA()),2&e&&(i.Q6J("disabled",t.disabled)("disableRipple",t.disableRipple),i.uIk("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),i.xp6(2),i.Q6J("ngIf",!t._customIcon))},directives:[Bt,b.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),W0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[u_,FI],imports:[[b.ez,Zs,id,zy,xl,nt],An]}),n})();const qI=["mat-sort-header",""];function GI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const KI=["*"],ru=jC.ENTERING+" "+YC.STANDARD_CURVE,pp={indicator:ti("indicator",[_t("active-asc, asc",De({transform:"translateY(0px)"})),_t("active-desc, desc",De({transform:"translateY(10px)"})),ht("active-asc <=> active-desc",rt(ru))]),leftPointer:ti("leftPointer",[_t("active-asc, asc",De({transform:"rotate(-45deg)"})),_t("active-desc, desc",De({transform:"rotate(45deg)"})),ht("active-asc <=> active-desc",rt(ru))]),rightPointer:ti("rightPointer",[_t("active-asc, asc",De({transform:"rotate(45deg)"})),_t("active-desc, desc",De({transform:"rotate(-45deg)"})),ht("active-asc <=> active-desc",rt(ru))]),arrowOpacity:ti("arrowOpacity",[_t("desc-to-active, asc-to-active, active",De({opacity:1})),_t("desc-to-hint, asc-to-hint, hint",De({opacity:.54})),_t("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",De({opacity:0})),ht("* => asc, * => desc, * => active, * => hint, * => void",rt("0ms")),ht("* <=> *",rt(ru))]),arrowPosition:ti("arrowPosition",[ht("* => desc-to-hint, * => desc-to-active",rt(ru,Mr([De({transform:"translateY(-25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-desc, * => active-to-desc",rt(ru,Mr([De({transform:"translateY(0)"}),De({transform:"translateY(25%)"})]))),ht("* => asc-to-hint, * => asc-to-active",rt(ru,Mr([De({transform:"translateY(25%)"}),De({transform:"translateY(0)"})]))),ht("* => hint-to-asc, * => active-to-asc",rt(ru,Mr([De({transform:"translateY(0)"}),De({transform:"translateY(-25%)"})]))),_t("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",De({transform:"translateY(0)"})),_t("hint-to-desc, active-to-desc, desc",De({transform:"translateY(-25%)"})),_t("hint-to-asc, active-to-asc, asc",De({transform:"translateY(25%)"}))]),allowChildren:ti("allowChildren",[ht("* <=> *",[Ao("@*",Yy(),{optional:!0})])])};let ZA=(()=>{class n{constructor(){this.changes=new ke.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $I={provide:ZA,deps:[[new i.FiY,new i.tp0,ZA]],useFactory:function ZI(n){return n||new ZA}},WI=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),JI=Nb(Co(class{}));let Do=(()=>{class n extends JI{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new ke.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function QI(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(WI,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const XI=Co(class{});let gp=(()=>{class n extends XI{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=Ne(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Mi.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ZA),i.Y36(i.sBO),i.Y36(Do,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(Ys),i.Y36(i.SBq),i.Y36(rd,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:qI,ngContentSelectors:KI,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,GI,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[pp.indicator,pp.leftPointer,pp.rightPointer,pp.arrowOpacity,pp.arrowPosition,pp.allowChildren]},changeDetection:0}),n})(),J0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[$I],imports:[[b.ez,nt]]}),n})(),Q0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[iu,b.ez]]}),n})();const zE=new i.OlP("mat-chips-default-options");let hO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xo,{provide:zE,useValue:{separatorKeyCodes:[13]}}],imports:[[nt]]}),n})();function pO(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function eM(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function mp(n,o){const e=o?"":"none";eM(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function NE(n,o,e){eM(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function $A(n,o){return o&&"none"!=o?n+" "+o:n}function BE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function tM(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function iM(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function nM(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function h_(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function YE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,I=h*o;return t>s-I&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:iM(e)})})}handleScroll(o){const e=yo(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&h_(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function UE(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const ce=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),we=this._dropContainer;if(!ce)return void this._endDragSequence(c);(!we||!we.isDragging()&&!we.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new jE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=Ne(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>mp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>ei(t)),this._handles.forEach(t=>mp(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=ei(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,ZE),e.addEventListener("touchstart",this._pointerDown,KE)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?ei(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),mp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),mp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){f_(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),NE(t,!1,sM),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=f_(e),a=!s&&0!==e.button,r=this._rootElement,c=yo(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?ad(e):Ol(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const W=r.style;this._rootElementTapHighlight=W.webkitTapHighlightColor||"",W.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(W=>this._updateOnScroll(W)),this._boundaryElement&&(this._boundaryRect=iM(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const I=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:I.x,y:I.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){NE(this._rootElement,!0,sM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=WE(r,this._document),this._previewRef=r,o.matchSize?JE(s,a):s.style.transform=WA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=UE(a),JE(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return eM(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},sM),mp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function gO(n){const o=getComputedStyle(n),e=tM(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=tM(o,"transition-duration"),r=tM(o,"transition-delay");return BE(a[s])+BE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||yo(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=WE(this._placeholderRef,this._document)):t=UE(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=f_(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=f_(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=$E(t,c.left+a,c.right-(d.width-a)),s=$E(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,mp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,ZE),o.removeEventListener("touchstart",this._pointerDown,KE)}_applyRootElementTransform(o,e){const t=WA(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=$A(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=WA(o,e);this._preview.style.transform=$A(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:f_(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=yo(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&h_(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return ei(t)}}function WA(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function $E(n,o,e){return Math.max(o,Math.min(e,n))}function f_(n){return"t"===n.type[0]}function WE(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function JE(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=WA(o.left,o.top)}function p_(n,o){return Math.max(0,Math.min(o,n))}class wO{constructor(o,e,t,s,a){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=a,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new ke.xQ,this.entered=new ke.xQ,this.exited=new ke.xQ,this.dropped=new ke.xQ,this.sorted=new ke.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ke.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function fO(n=0,o=Vu.P){return(!Jp(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Vu.P),new Ui.y(e=>(e.add(o.schedule(pO,n,{subscriber:e,counter:0,period:n})),e))}(0,k_).pipe($e(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=ei(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new jE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else ei(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=ei(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!YE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Fe=>Fe.drag===o),h=a[r],I=h.clientRect,W=d>r?1:-1,ce=this._getItemOffsetPx(a[d].clientRect,I,W),we=this._getSiblingOffsetPx(d,a,W),Me=a.slice();(function bO(n,o,e){const t=p_(o,n.length-1),s=p_(e,n.length-1);if(t===s)return;const a=n[t],r=s{if(Me[Ht]===Fe)return;const Jt=Fe.drag===o,Lt=Jt?ce:we,oi=Jt?o.getPlaceholderElement():Fe.drag.getRootElement();Fe.offset+=Lt,c?(oi.style.transform=$A(`translate3d(${Math.round(Fe.offset)}px, 0, 0)`,Fe.initialTransform),h_(Fe.clientRect,0,Lt)):(oi.style.transform=$A(`translate3d(0, ${Math.round(Fe.offset)}px, 0)`,Fe.initialTransform),h_(Fe.clientRect,Lt,0))}),this._previousSwap.overlaps=nM(I,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||YE(r.clientRect,.05,o,e)&&([s,a]=function AO(n,o,e,t){const s=eD(o,t),a=tD(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=eD(d,e),a=tD(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=ei(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=ei(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:iM(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=ei(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!nM(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=ei(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{h_(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=Sl(ei(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function eD(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function tD(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const JA=_o({passive:!1,capture:!0});let vO=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new ke.xQ,this.pointerUp=new ke.xQ,this.scroll=new ke.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,JA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,JA)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:JA}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:JA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Ui.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Mi.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CO={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let TO=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=CO){return new yO(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new wO(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(Hn),i.LFG(vO))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[TO],imports:[An]}),n})(),SO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),RO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),NO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[RO,nt],nt]}),n})(),QO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[cs,nt],nt]}),n})(),tH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,zc,Zs,UA,iu,DA,tp]]}),n})(),iH=(()=>{class n extends Wg{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const nH={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let lM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:iH},{provide:Ms,useValue:nH}],imports:[[b.ez,UA,I0,Zm,hO,MO,Sd,Rh,J0,M,DA,Q0,iu,TA,Zs,tp,$s,zc,xA,cs,Sk,SO,NO,W0,QO,tm,Xf,tH,fa,im,bk]]}),n})(),hH=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),oD=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),PH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nE,F0,hE,Zs,pE,UA,iu,I0,im,DA,$s,xA,fa,Zm,zc,TE,W0,Jg,qk,Jk,lM,TA,zk,J0,M,tp,Xf,cs],nE,F0,hE,Zs,pE,UA,iu,I0,im,DA,$s,xA,fa,Zm,zc,TE,W0,Jg,qk,Jk,lM,TA,zk,J0,M,tp,Xf,cs]}),n})(),LH=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.publication=this.data}ok(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-cite-dialog"]],decls:10,vars:7,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["mat-dialog-actions",""],["mat-stroked-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i._uU(5),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.ok()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.SHOW_CITE.TITLE")),i.xp6(3),i.hij(" ",t.publication.main," "),i.xp6(3),i.hij(" ",i.lcZ(9,5,"DIALOGS.SHOW_CITE.OK")," "))},directives:[ks,Gs,Ks,Bt],pipes:[gt],styles:[""]}),n})();function IH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function OH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function HH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function FH(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const zH=["*"];let Fa=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:zH,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,IH,2,0,"mat-icon",1),i.YNc(2,OH,2,0,"mat-icon",1),i.YNc(3,HH,2,0,"mat-icon",1),i.YNc(4,FH,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,tn],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})(),ev=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})();function NH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",20),i.TgZ(1,"mat-checkbox",21),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function BH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function YH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_ID")," "))}function jH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function UH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_LOCK")," "))}function VH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.LOCKED"))}function qH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(s)})("mouseenter",function(){return i.CHM(e),i.oxw(2).buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw(2).buttonPressed=!1}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon"),i._uU(3,"lock_open"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATIONS_LIST.UNLOCKED"))}function GH(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,VH,4,3,"button",26),i.YNc(2,qH,4,3,"button",26),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.locked),i.xp6(1),i.Q6J("ngIf",!e.locked)}}function KH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_TITLE")," "))}function ZH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.title," ")}}function $H(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_REPORTED_BY")," "))}function WH(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"userFullName"),i._UZ(3,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e),"")}}function JH(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,WH,4,3,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.authors)}}function QH(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_YEAR")," "))}function XH(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.year," ")}}function e2(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CATEGORY")," "))}function t2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.categoryName," ")}}function n2(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_THANKEDTO")," "))}function s2(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i._UZ(2,"br"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.ownerName,"")}}function o2(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,s2,3,1,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.thanks)}}function r2(n,o){1&n&&(i.TgZ(0,"th",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"PUBLICATIONS_LIST.TABLE_CITE")))}function a2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",25),i.TgZ(1,"button",30),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showCite(a)})("mouseenter",function(){return i.CHM(e),i.oxw().buttonPressed=!0})("mouseleave",function(){return i.CHM(e),i.oxw().buttonPressed=!1}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"PUBLICATIONS_LIST.SHOW_CITE")," "))}function c2(n,o){1&n&&i._UZ(0,"tr",31)}const cD=function(n,o){return[n,o]};function l2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.disabledRouting&&r.openInTab&&!r.buttonPressed?r.emitPublication(a):null}),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disabledRouting||t.buttonPressed?null:i.WLB(4,cD,t.routerPath,e.id))("routerLink",t.disabledRouting||t.buttonPressed?null:i.WLB(7,cD,t.routerPath,e.id))}}function u2(n,o){1&n&&(i.TgZ(0,"app-alert",33),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATIONS_LIST.NO_PUBLICATIONS_FOUND"),"\n"))}let _p=(()=>{class n{constructor(e,t,s,a,r){this.tableCheckbox=e,this.cabinetService=t,this.dialog=s,this.notificator=a,this.translate=r,this.selection=new en(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSizeOptions=Zd,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new i.vpe,this.buttonPressed=!1,r.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(c=>this.changeLockMessage=c),r.get("PUBLICATIONS_LIST.LOCKED").subscribe(c=>this.locked=c),r.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(c=>this.unlocked=c)}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"lock":return String(e.locked);case"title":return e.title;case"reportedBy":{let s="";return e.authors.forEach(a=>s+=wk(a)+";"),s.slice(0,-1)}case"year":return e.year.toString();case"category":return e.categoryName;case"thankedTo":{let s="";return e.thanks.forEach(a=>s+=a.ownerName+";"),s.slice(0,-1)}default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,"",this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,"",this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}itemSelectionToggle(e){this.selection.toggle(e)}showCite(e){const t=ts();t.width="500px",t.data=e,this.dialog.open(LH,t)}lockOrUnlockPublication(e){this.cabinetService.lockPublications({publications:[this.createPublication(e)],lock:!e.locked}).subscribe(()=>{this.notificator.showSuccess(e.locked?this.changeLockMessage+this.unlocked:this.changeLockMessage+this.locked),e.locked=!e.locked})}createPublication(e){return{id:e.id,externalId:e.externalId,publicationSystemId:e.publicationSystemId,categoryId:e.categoryId,createdBy:e.createdBy,createdDate:e.createdDate,doi:e.doi,isbn:e.isbn,locked:e.locked,main:e.main,rank:e.rank,title:e.title,year:e.year}}emitPublication(e){return this.publicationSelector.emit(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(EA),i.Y36(ai),i.Y36(Xi),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publications:"publications",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",pageSizeOptions:"pageSizeOptions",routerPath:"routerPath",disabledRouting:"disabledRouting",openInTab:"openInTab",allowAlert:"allowAlert"},outputs:{publicationSelector:"publicationSelector"},features:[i.TTD],decls:33,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","title","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","lock"],["matColumnDef","title"],["matColumnDef","reportedBy"],["matColumnDef","year"],["matColumnDef","category"],["matColumnDef","thankedTo"],["matColumnDef","cite"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer","click",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click","mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["mat-header-cell",""],["mat-stroked-button","",3,"click","mouseenter","mouseleave"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,NH,2,3,"th",4),i.YNc(5,BH,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,YH,3,3,"th",7),i.YNc(8,jH,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,UH,3,3,"th",7),i.YNc(11,GH,3,2,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,KH,3,3,"th",7),i.YNc(14,ZH,2,1,"td",8),i.BQk(),i.ynx(15,11),i.YNc(16,$H,3,3,"th",7),i.YNc(17,JH,2,1,"td",8),i.BQk(),i.ynx(18,12),i.YNc(19,QH,3,3,"th",7),i.YNc(20,XH,2,1,"td",8),i.BQk(),i.ynx(21,13),i.YNc(22,e2,3,3,"th",7),i.YNc(23,t2,2,1,"td",8),i.BQk(),i.ynx(24,14),i.YNc(25,n2,3,3,"th",7),i.YNc(26,o2,2,1,"td",8),i.BQk(),i.ynx(27,15),i.YNc(28,r2,3,3,"th",16),i.YNc(29,a2,4,3,"td",8),i.BQk(),i.YNc(30,c2,1,0,"tr",17),i.YNc(31,l2,1,10,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(32,u2,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publications.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(28),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.publications.length&&t.allowAlert))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,b.O5,Bt,jc,tn,b.sg,$c,Wc,Ia,Oa,oD,Et,Fa],pipes:[gt,ev],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function d2(n,o){1&n&&i._UZ(0,"mat-spinner",7)}const h2=function(){return["id","title","year"]};function f2(n,o){if(1&n&&(i.TgZ(0,"div",8),i._uU(1),i.ALo(2,"translate"),i._UZ(3,"perun-web-apps-publications-list",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,4,"DIALOGS.REMOVE_PUBLICATION.WARNING")," "),i.xp6(2),i.Q6J("publications",e.publications)("routerPath",null)("displayedColumns",i.DdM(6,h2))}}let uM=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetService=r,this.loading=!1}ngOnInit(){this.publications=this.data}cancel(){this.dialogRef.close()}remove(){this.loading=!0,this.cabinetService.deletePublication(this.publications.pop().id).subscribe(()=>{this.publications.length<=0?this.translate.get("DIALOGS.REMOVE_PUBLICATION.REMOVE_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.remove()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-publication-dialog"]],decls:13,vars:12,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"publications","routerPath","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,d2,1,0,"mat-spinner",2),i.YNc(5,f2,4,7,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.remove()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"DIALOGS.REMOVE_PUBLICATION.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,8,"DIALOGS.REMOVE_PUBLICATION.CANCEL")," "),i.xp6(2),i.Q6J("disabled",t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"DIALOGS.REMOVE_PUBLICATION.REMOVE")," "))},directives:[ks,b.O5,vn,Gs,_p,Ks,Bt],pipes:[gt],styles:[""]}),n})(),yp=(()=>{class n{constructor(){this.refresh=new i.vpe}onClickbutton(e){this.refresh.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-refresh-button"]],inputs:{disabled:"disabled"},outputs:{refresh:"refresh"},decls:3,vars:5,consts:[["mat-stroked-button","","data-cy","refresh-button",1,"mr-2",3,"disabled","matTooltip","click"],[1,"center-icon","perun-icon",3,"svgIcon"]],template:function(e,t){1&e&&(i.TgZ(0,"button",0),i.NdJ("click",function(a){return t.onClickbutton(a)}),i.ALo(1,"translate"),i._UZ(2,"mat-icon",1),i.qZA()),2&e&&(i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),i.Q6J("disabled",t.disabled),i.xp6(2),i.s9C("svgIcon",t.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[Bt,jc,tn],pipes:[gt],styles:[".center-icon[_ngcontent-%COMP%]{display:inline-flex}.perun-icon[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] rect[_ngcontent-%COMP%]{fill:currentColor}.perun-icon[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:currentColor}"]}),n})();var bp=w(5439);const Wd=bp||w.t(bp,2),lD=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function g2(){return{useUtc:!1}}});function m2(n,o){const e=Array(n);for(let t=0;t{class n extends vi{constructor(e,t){super(),this._options=t,this.setLocale(e||Wd.locale())}setLocale(e){super.setLocale(e);let t=Wd.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:m2(31,s=>this.createDate(2017,0,s+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,s){const a=this._createMoment({year:e,month:t,date:s}).locale(this.locale);return a.isValid(),a}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,Wd.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return Wd.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return Wd.invalid()}_createMoment(e,t,s){const{strict:a,useUtc:r}=this._options||{};return r?Wd.utc(e,t,s,a):Wd(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pc,8),i.LFG(lD,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),_2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:vi,useClass:m_,deps:[Pc,lD]}]}),n})(),uD=(()=>{class n{constructor(){}ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(e,t,s){e.setValue(t),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,s.close()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-year-range"]],inputs:{startYear:"startYear",endYear:"endYear"},decls:16,vars:15,consts:[[1,"year-field","mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"matDatepicker","max","formControl"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected"],["sdp",""],["matInput","",3,"matDatepicker","min","max","formControl"],["edp",""]],template:function(e,t){if(1&e){const s=i.EpF();i.TgZ(0,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",1),i._UZ(5,"mat-datepicker-toggle",2),i.TgZ(6,"mat-datepicker",3,4),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(7);return t.chosenYearHandler(t.startYear,r,c)}),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(s),i.MAs(15).open()}),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._UZ(12,"input",5),i._UZ(13,"mat-datepicker-toggle",2),i.TgZ(14,"mat-datepicker",3,6),i.NdJ("yearSelected",function(r){i.CHM(s);const c=i.MAs(15);return t.chosenYearHandler(t.endYear,r,c)}),i.qZA(),i.qZA()}if(2&e){const s=i.MAs(7),a=i.MAs(15);i.xp6(2),i.Oqu(i.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),i.xp6(2),i.Q6J("matDatepicker",s)("max",t.startMaxYear)("formControl",t.startYear),i.xp6(1),i.Q6J("for",s),i.xp6(5),i.Oqu(i.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),i.xp6(2),i.Q6J("matDatepicker",a)("min",t.endMinYear)("max",t.endMaxYear)("formControl",t.endYear),i.xp6(1),i.Q6J("for",a)}},directives:[ls,Es,nr,d_,us,ds,Ws,$0,mm,Z0],pipes:[gt],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function y2(n,o){if(1&n&&(i.TgZ(0,"mat-option",12),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}const tv=bp,b2={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let dM=(()=>{class n{constructor(e){this.cabinetService=e,this.title=new ki,this.code=new ki,this.startYear=new ki(tv()),this.endYear=new ki(tv()),this.filteredPublication=new i.vpe}ngOnInit(){this.title.setValue(""),this.code.setValue(""),this.selectedCategory="no_value",this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.selectedMode="isbn/issn"})}filter(){const e={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?this.code.value:null,doi:"doi"===this.selectedMode?this.code.value:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,b.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,b.p6)(this.endYear.value,"yyyy","en-GB")};this.filteredPublication.emit(e)}clearFilter(){this.title.setValue(""),this.code.setValue(""),this.selectedMode="isbn/issn",this.selectedCategory="no_value",this.startYear=new ki(tv()),this.endYear=new ki(tv()),this.filteredPublication.emit({title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:b2}])],decls:38,vars:34,consts:[[1,"mt-2"],[1,"filter-field","mr-2"],["matInput","",3,"formControl","placeholder"],[3,"value","valueChange"],["value","isbn/issn"],["value","doi"],[1,"year-field","mr-2"],["value","no_value"],[3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"mr-2",3,"click"],["mat-stroked-button","",3,"click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-form-field",1),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedMode=a}),i.TgZ(9,"mat-option",4),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"mat-option",5),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",6),i._UZ(16,"input",2),i.ALo(17,"translate"),i.qZA(),i.TgZ(18,"mat-form-field",1),i.TgZ(19,"mat-label"),i._uU(20),i.ALo(21,"translate"),i.qZA(),i.TgZ(22,"mat-select",3),i.NdJ("valueChange",function(a){return t.selectedCategory=a}),i.TgZ(23,"mat-option",7),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.YNc(26,y2,2,2,"mat-option",8),i.qZA(),i.qZA(),i._UZ(27,"perun-web-apps-year-range",9),i.TgZ(28,"button",10),i.NdJ("click",function(){return t.filter()}),i.TgZ(29,"mat-icon"),i._uU(30,"search"),i.qZA(),i._uU(31),i.ALo(32,"translate"),i.qZA(),i.TgZ(33,"button",11),i.NdJ("click",function(){return t.clearFilter()}),i.TgZ(34,"mat-icon"),i._uU(35,"search_off"),i.qZA(),i._uU(36),i.ALo(37,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.s9C("placeholder",i.lcZ(3,16,"PUBLICATION_FILTER.TITLE_PLACEHOLDER")),i.Q6J("formControl",t.title),i.xp6(4),i.Oqu(i.lcZ(7,18,"PUBLICATION_FILTER.SELECT_MODE")),i.xp6(2),i.Q6J("value",t.selectedMode),i.xp6(2),i.Oqu(i.lcZ(11,20,"PUBLICATION_FILTER.ISBN/ISSN")),i.xp6(3),i.Oqu(i.lcZ(14,22,"PUBLICATION_FILTER.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(17,24,"PUBLICATION_FILTER.CODE_PLACEHOLDER")),i.Q6J("formControl",t.code),i.xp6(4),i.Oqu(i.lcZ(21,26,"PUBLICATION_FILTER.SELECT_CATEGORY")),i.xp6(2),i.Q6J("value",t.selectedCategory),i.xp6(2),i.Oqu(i.lcZ(25,28,"PUBLICATION_FILTER.NO_CATEGORY_SELECTED")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("startYear",t.startYear)("endYear",t.endYear),i.xp6(4),i.hij(" ",i.lcZ(32,30,"PUBLICATION_FILTER.FILTER")," "),i.xp6(5),i.hij(" ",i.lcZ(37,32,"PUBLICATION_FILTER.CLEAR_FILTER")," "))},directives:[ls,nr,us,ds,Ws,Es,qd,Lc,b.sg,uD,Bt,tn],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:250px!important;width:100%!important;min-width:initial!important}.disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function w2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",10),2&n){const e=i.oxw();i.Q6J("publications",e.publications)("selection",e.selected)("routerPath","/all-publications")("tableId",e.tableId)}}function A2(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let v2=(()=>{class n{constructor(e,t,s,a,r){this.route=e,this.cabinetService=t,this.dialog=s,this.matIconRegistry=a,this.domSanitizer=r,this.selected=new en(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null},this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.refreshTable()}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,null).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Xi),i.Y36(Kd),i.Y36(Yn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-all-publications-page"]],decls:14,vars:9,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],["svgIcon","publications",1,"publications-icon"],[1,"ml-3","mt-1"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","routerPath","tableId",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publications","selection","routerPath","tableId"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._UZ(2,"mat-icon",2),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA(),i.TgZ(6,"div",4),i.TgZ(7,"perun-web-apps-refresh-button",5),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"button",6),i.NdJ("click",function(){return t.removePublication()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"perun-web-apps-publication-filter",7),i.NdJ("filteredPublication",function(a){return t.filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(12,w2,1,4,"perun-web-apps-publications-list",8),i.YNc(13,A2,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,5,"ALL_PUBLICATIONS.TITLE")),i.xp6(4),i.Q6J("disabled",0===t.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(10,7,"ALL_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[tn,yp,Bt,dM,b.O5,_p,vn],pipes:[gt],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),n})();function C2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/my-publications")}}function T2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",6),i.TgZ(2,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(3,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(7,C2,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(5,3,"MY_PUBLICATIONS.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function M2(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let S2=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.dialog=s,this.authResolver=a,this.selected=new en(!0,[]),this.tableId="68",this.filter={title:null,isbnissn:null,doi:null,category:null,startYear:null,endYear:null}}ngOnInit(){this.initLoading=!0,this.authResolver.getPerunPrincipal().subscribe(e=>{this.authorId=e.userId,this.initLoading=!1,this.refreshTable()})}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(this.filter.title,null,null,null,null,this.filter.category,+this.filter.startYear,+this.filter.endYear,this.authorId).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.filter=e,this.refreshTable()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Xi),i.Y36(xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-my-publications-page"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-4"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"local_library"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,T2,8,5,"div",4),i.YNc(8,M2,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"MY_PUBLICATIONS.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[tn,b.O5,yp,Bt,dM,_p,vn],pipes:[gt],styles:[""]}),n})(),k2=(()=>{class n{constructor(e){this.router=e}importPublications(){this.router.navigate(["create-publication","import"])}createPublication(){this.router.navigate(["create-publication","create"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ri))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-publication-page"]],decls:32,vars:21,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[1,"card-container"],[1,"align-cards"],[1,"mat-elevation-z3"],[1,"d-flex","flex-column"],["mat-flat-button","","color","accent",1,"align-self-end","action-button",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"div",4),i.TgZ(9,"mat-card",5),i.TgZ(10,"mat-card-title"),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"mat-card-content",6),i.TgZ(14,"div"),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"button",7),i.NdJ("click",function(){return t.importPublications()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(20,"div",4),i.TgZ(21,"mat-card",5),i.TgZ(22,"mat-card-title"),i._uU(23),i.ALo(24,"translate"),i.qZA(),i.TgZ(25,"mat-card-content",6),i.TgZ(26,"div"),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.TgZ(29,"button",7),i.NdJ("click",function(){return t.createPublication()}),i._uU(30),i.ALo(31,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,7,"CREATE_PUBLICATION.TITLE")," "),i.xp6(6),i.hij(" ",i.lcZ(12,9,"CREATE_PUBLICATION.IMPORT_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(16,11,"CREATE_PUBLICATION.IMPORT_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(19,13,"CREATE_PUBLICATION.IMPORT")," "),i.xp6(5),i.hij(" ",i.lcZ(24,15,"CREATE_PUBLICATION.CREATE_TITLE")," "),i.xp6(4),i.hij(" ",i.lcZ(28,17,"CREATE_PUBLICATION.CREATE_HINT")," "),i.xp6(3),i.hij(" ",i.lcZ(31,19,"CREATE_PUBLICATION.CREATE")," "))},directives:[tn,iE,tE,eE,Bt],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.card-container[_ngcontent-%COMP%]{margin:0 -1rem}.align-cards[_ngcontent-%COMP%]{margin:1rem;display:inline-block;vertical-align:top;max-width:250px;max-height:200px}"]}),n})();const E2=["groupFilterInput"];let D2=(()=>{class n{constructor(){this.filter=new i.vpe}ngOnInit(){da(this.groupFilterInput.nativeElement,"keyup").pipe((0,at.U)(e=>e.target.value),(0,nd.b)(500),yc()).subscribe(e=>{this.filter.emit(e)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(e,t){if(1&e&&i.Gf(E2,7),2&e){let s;i.iGM(s=i.CRH())&&(t.groupFilterInput=s.first)}},inputs:{placeholder:"placeholder"},outputs:{filter:"filter"},decls:4,vars:3,consts:[[1,"filter-field","mr-2"],["matInput","",3,"placeholder"],["groupFilterInput",""]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i._UZ(1,"input",1,2),i.ALo(3,"translate"),i.qZA()),2&e&&(i.xp6(1),i.s9C("placeholder",i.lcZ(3,1,t.placeholder)))},directives:[ls,nr],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),n})();function x2(n,o){1&n&&i._UZ(0,"th",20)}function R2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",21),i.TgZ(1,"mat-checkbox",22),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function P2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"AUTHORS_LIST.ID")))}function L2(n,o){if(1&n&&(i.TgZ(0,"td",24),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function I2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NAME")," "))}function O2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"userFullName"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,e))}}function H2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.ORGANIZATION")," "))}function F2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"organization"))}}function z2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.EMAIL")," "))}function N2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Oqu(t.parseAttribute(e,"preferredMail"))}}function B2(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NUMBER_OF_PUBLICATIONS")," "))}function Y2(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.authorships.length.toString())}}function j2(n,o){1&n&&i._UZ(0,"th",26)}function U2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",27),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onAddClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.ADD")," "))}function V2(n,o){1&n&&i._UZ(0,"th",26)}function q2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",28),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().onRemoveClick(a)}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.qZA()}2&n&&(i.xp6(2),i.hij(" ",i.lcZ(3,1,"AUTHORS_LIST.REMOVE")," "))}function G2(n,o){1&n&&i._UZ(0,"tr",29)}const dD=function(n){return["/authors",n]};function K2(n,o){if(1&n&&i._UZ(0,"tr",30),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.VKq(4,dD,e.id))("routerLink",t.disableRouting?null:i.VKq(6,dD,e.id))}}function Z2(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function $2(n,o){1&n&&(i.TgZ(0,"app-alert",31),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"AUTHORS_LIST.NO_AUTHORS"),"\n"))}let hM=(()=>{class n{constructor(){this.authors=[],this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=Zd,this.addAuthor=new i.vpe,this.removeAuthor=new i.vpe}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getSortDataForColumn(e,t){var s;switch(t){case"id":return e.id.toString();case"name":return e.lastName?e.lastName:null!==(s=e.firstName)&&void 0!==s?s:"";case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getFilterDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return function A1(n){let o="";return null!==n.firstName&&(o+=n.firstName+" "),null!==n.middleName&&(o+=n.middleName+" "),null!==n.lastName&&(o+=n.lastName+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}(e);case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}getExportDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return wk(e);case"organization":return rp(e,"organization");case"email":return rp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}parseAttribute(e,t){let s="";return e.attributes&&e.attributes.forEach(a=>{a.friendlyName===t&&(s=a.value)}),s}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`}onAddClick(e){this.addAuthor.emit(e)}onRemoveClick(e){this.removeAuthor.emit(e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getFilterDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getSortDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{authors:"authors",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",disableRouting:"disableRouting",reloadTable:"reloadTable",selection:"selection",pageSizeOptions:"pageSizeOptions"},outputs:{addAuthor:"addAuthor",removeAuthor:"removeAuthor"},features:[i.TTD],decls:31,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","organization"],["matColumnDef","email"],["matColumnDef","numberOfPublications"],["matColumnDef","add"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","remove"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"perunWebAppsMiddleClickRouterLink","routerLink","cursor-pointer",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell",""],["color","accent","mat-flat-button","",1,"ml-2",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,x2,1,0,"th",4),i.YNc(5,R2,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,P2,3,3,"th",7),i.YNc(8,L2,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,I2,3,3,"th",7),i.YNc(11,O2,3,3,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,H2,3,3,"th",7),i.YNc(14,F2,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,z2,3,3,"th",7),i.YNc(17,N2,2,1,"td",10),i.BQk(),i.ynx(18,13),i.YNc(19,B2,3,3,"th",7),i.YNc(20,Y2,2,1,"td",10),i.BQk(),i.ynx(21,14),i.YNc(22,j2,1,0,"th",15),i.YNc(23,U2,4,3,"td",8),i.BQk(),i.ynx(24,16),i.YNc(25,V2,1,0,"th",15),i.YNc(26,q2,4,3,"td",8),i.BQk(),i.YNc(27,G2,1,0,"tr",17),i.YNc(28,K2,1,8,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(29,Z2,3,3,"app-alert",19),i.YNc(30,$2,3,3,"app-alert",19)),2&e&&(i.Q6J("hidden",0===t.authors.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(25),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.authors.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.authors.length))},directives:[ir,La,Do,Ir,Lr,Or,Pr,Hr,su,gp,Bt,$c,Wc,Ia,Oa,oD,Et,b.O5,Fa],pipes:[gt,ev],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function W2(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const J2=function(){return["id","name","organization","email","numberOfPublications"]};function Q2(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.authors)("displayedColumns",i.DdM(4,J2))("filterValue",e.filterValue)("tableId",e.tableId)}}let X2=(()=>{class n{constructor(e){this.cabinetService=e,this.filterValue="",this.tableId="67"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetService.findAllAuthors().subscribe(e=>{this.authors=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-authors-page"]],decls:11,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","displayedColumns","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"authors","displayedColumns","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"perun-web-apps-refresh-button",4),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(8,"perun-web-apps-debounce-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(9,W2,1,0,"mat-spinner",6),i.YNc(10,Q2,1,5,"perun-web-apps-authors-list",7),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,4,"AUTHORS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","AUTHORS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[tn,yp,D2,b.O5,vn,hM],pipes:[gt],styles:[""]}),n})();function eF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function tF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field"),i._UZ(9,"input",6),i.ALo(10,"translate"),i.TgZ(11,"mat-error"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.qZA(),i.TgZ(14,"p",7),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.qZA(),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"div",10),i.ALo(22,"translate"),i.TgZ(23,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,12,"DIALOGS.ADD_CATEGORY.NAME")),i.Q6J("formControl",e.nameCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,14,"DIALOGS.ADD_CATEGORY.FILL_NAME")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(10,16,"DIALOGS.ADD_CATEGORY.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(13,18,"DIALOGS.ADD_CATEGORY.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(16,20,"DIALOGS.ADD_CATEGORY.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(20,22,"DIALOGS.ADD_CATEGORY.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(22,24,"DIALOGS.ADD_CATEGORY.TOOLTIP")),i.Q6J("matTooltipDisabled",e.nameCtrl.valid&&e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.nameCtrl.invalid||e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,26,"DIALOGS.ADD_CATEGORY.CREATE")," ")}}let iF=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.notificator=t,this.cabinetManagerService=s,this.translate=a,a.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(r=>this.successMessage=r)}ngOnInit(){this.nameCtrl=new ki(null,[Oi.required,Oi.pattern("^[\\w.-]+( [\\w.-]+)*$"),Oi.maxLength(128)]),this.rankCtrl=new ki(null,[Oi.required,Oi.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{name:this.nameCtrl.value,rank:this.rankCtrl.value}}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-category-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,eF,1,0,"mat-spinner",2),i.YNc(5,tF,26,28,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,ls,nr,us,tr,ds,Ws,Ic,Ks,Bt,jc],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function nF(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function sF(n,o){1&n&&i._UZ(0,"th",14)}function oF(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function rF(n,o){1&n&&i._UZ(0,"tr",16)}function aF(n,o){1&n&&i._UZ(0,"tr",17)}function cF(n,o){if(1&n&&(i.TgZ(0,"div",6),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",7),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"table",8),i.ynx(8,9),i.YNc(9,sF,1,0,"th",10),i.YNc(10,oF,2,1,"td",11),i.BQk(),i.YNc(11,rF,1,0,"tr",12),i.YNc(12,aF,1,0,"tr",13),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,"DIALOGS.REMOVE_CATEGORY.DESCRIPTION")," "),i.xp6(3),i.hij(" ",i.lcZ(6,7,"DIALOGS.REMOVE_CATEGORY.ASK")," "),i.xp6(2),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function lF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",18),i.TgZ(1,"button",19),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"DIALOGS.REMOVE_CATEGORY.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"DIALOGS.REMOVE_CATEGORY.DELETE")," ")}}let uF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.translate=a,this.cabinetManagerService=r,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new Jc(this.data),this.categories=this.data}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.categories.length?this.cabinetManagerService.deleteCategory(this.categories.pop().id).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):this.translate.get("DIALOGS.REMOVE_CATEGORY.SUCCESS").subscribe(e=>{this.loading=!1,this.notificator.showSuccess(e),this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-category-dialog"]],decls:7,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,nF,1,0,"mat-spinner",2),i.YNc(5,cF,13,9,"div",3),i.YNc(6,lF,7,7,"div",4),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"DIALOGS.REMOVE_CATEGORY.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,La,Ir,Lr,Or,Pr,Hr,$c,Wc,Ia,Oa,Ks,Bt],pipes:[gt],styles:[""]}),n})();function dF(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function hF(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let __=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new ki}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,dF,2,4,"input",1),i.YNc(2,hF,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[ls,b.O5,nr,us,hH,ds,Ws],pipes:[gt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:initial!important}"]}),n})();function fF(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function pF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field"),i._UZ(3,"input",6),i.ALo(4,"translate"),i.TgZ(5,"mat-error"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.TgZ(8,"p",7),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.TgZ(11,"div",8),i.TgZ(12,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"div",10),i.ALo(16,"translate"),i.TgZ(17,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.s9C("placeholder",i.lcZ(4,9,"DIALOGS.UPDATE_RANK.RANK")),i.Q6J("formControl",e.rankCtrl),i.xp6(3),i.hij(" ",i.lcZ(7,11,"DIALOGS.UPDATE_RANK.FILL_RANK")," "),i.xp6(3),i.Oqu(i.lcZ(10,13,"DIALOGS.UPDATE_RANK.RANK_HINT")),i.xp6(4),i.hij(" ",i.lcZ(14,15,"DIALOGS.UPDATE_RANK.CANCEL")," "),i.xp6(2),i.s9C("matTooltip",i.lcZ(16,17,"DIALOGS.UPDATE_RANK.TOOLTIP")),i.Q6J("matTooltipDisabled",e.rankCtrl.valid),i.xp6(2),i.Q6J("disabled",e.rankCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(19,19,"DIALOGS.UPDATE_RANK.UPDATE")," ")}}let gF=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetManagerService=a,this.translate=r,this.categoryName="",r.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new ki(this.data.rank,[Oi.required,Oi.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.rank=this.rankCtrl.value,this.cabinetManagerService.updateCategory({category:this.data}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-update-rank-dialog"]],decls:6,vars:6,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"placeholder","formControl"],[1,"mt-2"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,fF,1,0,"mat-spinner",2),i.YNc(5,pF,20,21,"div",3),i.qZA()),2&e&&(i.xp6(2),i.AsE("",i.lcZ(3,4,"DIALOGS.UPDATE_RANK.TITLE"),"",t.categoryName,""),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,ls,nr,us,tr,ds,Ws,Ic,Ks,Bt,jc],pipes:[gt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function mF(n,o){1&n&&i._UZ(0,"th",15)}function _F(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function yF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.ID")," "))}function bF(n,o){if(1&n&&(i.TgZ(0,"td",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function wF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.NAME")," "))}function AF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function vF(n,o){1&n&&(i.TgZ(0,"th",18),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_LIST.RANK")," "))}function CF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().updateCategory(s)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function TF(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.YNc(2,CF,3,0,"button",21),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.hij(" ",e.rank," "),i.xp6(1),i.Q6J("ngIf",t.editAuth)}}function MF(n,o){1&n&&i._UZ(0,"tr",23)}function SF(n,o){1&n&&i._UZ(0,"tr",24)}function kF(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.NO_FILTER_RESULTS"),"\n"))}let EF=(()=>{class n{constructor(e,t,s,a){this.guiAuthResolver=e,this.tableCheckbox=t,this.dialog=s,this.authResolver=a,this.categories=[],this.selection=new en(!0,[]),this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=Zd,this.refreshTable=new i.vpe,this.editAuth=!1}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"rank":return e.rank.toString();default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.editAuth=this.authResolver.isCabinetAdmin(),this.dataSource.paginator=this.child.paginator}itemSelectionToggle(e){this.selection.toggle(e)}updateCategory(e){const t=ts();t.width="400px",t.data=e,this.dialog.open(gF,t).afterClosed().subscribe(a=>{a&&this.refreshTable.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(oo),i.Y36(EA),i.Y36(Xi),i.Y36(oo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{categories:"categories",selection:"selection",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},outputs:{refreshTable:"refreshTable"},features:[i.TTD],decls:18,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","rank"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mF,1,0,"th",4),i.YNc(5,_F,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,yF,3,3,"th",7),i.YNc(8,bF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,wF,3,3,"th",7),i.YNc(11,AF,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,vF,3,3,"th",7),i.YNc(14,TF,3,2,"td",10),i.BQk(),i.YNc(15,MF,1,0,"tr",12),i.YNc(16,SF,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,kF,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.categories.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.categories.length))},directives:[ir,La,Do,Ir,Lr,Or,Pr,Hr,su,gp,b.O5,Bt,tn,$c,Wc,Ia,Oa,Fa],pipes:[gt],styles:[""]}),n})();function DF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().addCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CATEGORIES_PAGE.CREATE")," "))}function xF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().removeCategory()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",!e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"CATEGORIES_PAGE.REMOVE")," ")}}function RF(n,o){1&n&&i._UZ(0,"mat-spinner",10)}const PF=function(){return["select","id","name","rank"]},LF=function(){return["name","rank"]};function IF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-categories-list",11),i.NdJ("refreshTable",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("categories",e.categories)("filterValue",e.filterValue)("displayedColumns",e.removeAuth?i.DdM(5,PF):i.DdM(6,LF))("tableId",e.tableId)("selection",e.selected)}}let OF=(()=>{class n{constructor(e,t,s){this.cabinetManagerService=e,this.dialog=t,this.guiAuthResolver=s,this.categories=[],this.selected=new en(!0,[]),this.filterValue="",this.tableId="5"}ngOnInit(){this.setAuth(),this.refreshTable()}setAuth(){this.removeAuth=this.guiAuthResolver.isAuthorized("deleteCategory_Category_policy",[]),this.addAuth=this.guiAuthResolver.isAuthorized("createCategory_Category_policy",[])}refreshTable(){this.loading=!0,this.cabinetManagerService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}applyFilter(e){this.filterValue=e}addCategory(){const e=ts();e.width="400px",e.data={},this.dialog.open(iF,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}removeCategory(){const e=ts();e.width="400px",e.data=this.selected.selected,this.dialog.open(uF,e).afterClosed().subscribe(s=>{s&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Xi),i.Y36(oo))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-page"]],decls:10,vars:8,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"categories","filterValue","displayedColumns","tableId","selection","refreshTable"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.YNc(5,DF,3,3,"button",3),i.YNc(6,xF,3,4,"button",4),i.TgZ(7,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(8,RF,1,0,"mat-spinner",6),i.YNc(9,IF,1,7,"perun-web-apps-categories-list",7),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,6,"CATEGORIES_PAGE.TITLE")),i.xp6(3),i.Q6J("ngIf",t.addAuth),i.xp6(1),i.Q6J("ngIf",t.removeAuth),i.xp6(1),i.Q6J("placeholder","CATEGORIES_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.categories&&!t.loading))},directives:[yp,b.O5,Bt,__,vn,EF],pipes:[gt],styles:[""]}),n})();function HF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.ID")," "))}function FF(n,o){if(1&n&&(i.TgZ(0,"td",15),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function zF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.FRIENDLY_NAME")," "))}function NF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyName)}}function BF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.LOGIN_NAMESPACE")," "))}function YF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ","empty"===e.loginNamespace?"":e.loginNamespace," ")}}function jF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.URL")," "))}function UF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.url?"":e.url)}}function VF(n,o){1&n&&(i.TgZ(0,"th",14),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_SYSTEMS_LIST.TYPE")," "))}function qF(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu("empty"===e.type?"":e.type)}}function GF(n,o){1&n&&i._UZ(0,"tr",17)}function KF(n,o){1&n&&i._UZ(0,"tr",18)}function ZF(n,o){1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let $F=(()=>{class n{constructor(){this.publicationSystems=[],this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=Zd}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"friendlyName":return e.friendlyName;case"url":return e.url;case"loginNamespace":return e.loginNamespace;case"type":return e.type;default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{publicationSystems:"publicationSystems",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","friendlyName"],["mat-cell","",4,"matCellDef"],["matColumnDef","loginNamespace"],["matColumnDef","url"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,HF,3,3,"th",4),i.YNc(5,FF,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,zF,3,3,"th",4),i.YNc(8,NF,2,1,"td",7),i.BQk(),i.ynx(9,8),i.YNc(10,BF,3,3,"th",4),i.YNc(11,YF,2,1,"td",7),i.BQk(),i.ynx(12,9),i.YNc(13,jF,3,3,"th",4),i.YNc(14,UF,2,1,"td",7),i.BQk(),i.ynx(15,10),i.YNc(16,VF,3,3,"th",4),i.YNc(17,qF,2,1,"td",7),i.BQk(),i.YNc(18,GF,1,0,"tr",11),i.YNc(19,KF,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,ZF,3,3,"app-alert",13)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.publicationSystems.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.publicationSystems.length))},directives:[ir,La,Do,Ir,Lr,Or,gp,Pr,Hr,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function WF(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function JF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publication-systems-list",7),2&n){const e=i.oxw();i.Q6J("publicationSystems",e.publicationSystems)("filterValue",e.filterValue)("tableId",e.tableId)}}let QF=(()=>{class n{constructor(e){this.cabinetManagerService=e,this.publicationSystems=[],this.filterValue="",this.tableId="5"}ngOnInit(){this.refreshTable()}refreshTable(){this.loading=!0,this.cabinetManagerService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e,this.loading=!1})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-systems-page"]],decls:8,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle"],[3,"refresh"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"publicationSystems","filterValue","tableId",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"publicationSystems","filterValue","tableId"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"perun-web-apps-refresh-button",2),i.NdJ("refresh",function(){return t.refreshTable()}),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(6,WF,1,0,"mat-spinner",4),i.YNc(7,JF,1,3,"perun-web-apps-publication-systems-list",5),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,4,"PUBLICATION_SYSTEMS_PAGE.TITLE")),i.xp6(3),i.Q6J("placeholder","PUBLICATION_SYSTEMS_PAGE.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.publicationSystems&&!t.loading))},directives:[yp,__,b.O5,vn,$F],pipes:[gt],styles:[""]}),n})();function XF(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",11),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("selection",e.selected)("tableId",e.tableId)("routerPath","/authors/"+e.author.id+"/publication")}}function ez(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h5"),i._uU(2),i.ALo(3,"userFullName"),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"div",6),i.TgZ(6,"perun-web-apps-refresh-button",7),i.NdJ("refresh",function(){return i.CHM(e),i.oxw().refreshTable()}),i.qZA(),i.TgZ(7,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().removePublication()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"perun-web-apps-publication-filter",9),i.NdJ("filteredPublication",function(s){return i.CHM(e),i.oxw().filterPublication(s)}),i.qZA(),i.qZA(),i.YNc(11,XF,1,4,"perun-web-apps-publications-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.AsE("",i.lcZ(3,5,e.author),"",i.lcZ(4,7,"AUTHOR_DETAIL.TITLE"),""),i.xp6(5),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,9,"AUTHOR_DETAIL.REMOVE")," "),i.xp6(3),i.Q6J("ngIf",!e.loading)}}function tz(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let iz=(()=>{class n{constructor(e,t,s,a){this.route=e,this.cabinetService=t,this.userService=s,this.dialog=a,this.selected=new en(!0,[]),this.tableId="68"}ngOnInit(){this.initLoading=!0,this.route.params.subscribe(e=>{this.userService.getUserById(e.authorId).subscribe(s=>{this.author=s,this.initLoading=!1,this.refreshTable()})})}removePublication(){const e=ts();e.width="500px",e.data=this.selected.selected,this.dialog.open(uM,e).afterClosed().subscribe(s=>{s&&this.refreshTable()})}refreshTable(){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(null,null,null,null,null,null,null,null,this.author.id).subscribe(e=>{this.publications=e,this.loading=!1})}filterPublication(e){this.loading=!0,this.selected.clear(),this.cabinetService.findPublicationsByGUIFilter(e.title,null,null,null,null,e.category,+e.startYear,+e.endYear,this.author.id).subscribe(t=>{this.publications=t,this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36($t),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-author-detail"]],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"title-icon"],[1,"ml-3","mt-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mt-3"],[3,"refresh"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[3,"filteredPublication"],[3,"publications","selection","tableId","routerPath",4,"ngIf"],[3,"publications","selection","tableId","routerPath"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"mat-icon",2),i._uU(3,"assignment_ind"),i.qZA(),i.TgZ(4,"span",3),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,ez,12,11,"div",4),i.YNc(8,tz,1,0,"mat-spinner",5),i.qZA()),2&e&&(i.xp6(5),i.Oqu(i.lcZ(6,3,"AUTHORS_PAGE.TITLE")),i.xp6(2),i.Q6J("ngIf",!t.initLoading),i.xp6(1),i.Q6J("ngIf",t.loading||t.initLoading))},directives:[tn,b.O5,yp,Bt,dM,_p,vn],pipes:[gt,ev],styles:[""]}),n})();function nz(n,o){1&n&&i._UZ(0,"mat-spinner",2)}function sz(n,o){if(1&n&&(i.TgZ(0,"h3",15),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.publication.title)}}function oz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.editing=!s.editing}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"edit"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"PUBLICATION_DETAIL.LIST.EDIT"))}function rz(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.EMPTY_ERROR")," "))}function az(n,o){if(1&n&&(i.TgZ(0,"mat-form-field",18),i._UZ(1,"textarea",19),i.YNc(2,rz,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("formControl",e.titleControl),i.xp6(1),i.Q6J("ngIf",e.titleControl.invalid)}}function cz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",20),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).save()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",17),i._uU(3,"save"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,2,"PUBLICATION_DETAIL.LIST.SAVE")),i.Q6J("disabled",e.titleControl.invalid)}}function lz(n,o){1&n&&i._UZ(0,"th",21)}function uz(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij("",e.key,":")}}function dz(n,o){1&n&&i._UZ(0,"th",21)}function hz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",24),i._uU(3),i.ALo(4,"translate"),i.qZA(),i._uU(5),i.TgZ(6,"span",24),i._uU(7),i.ALo(8,"translate"),i.qZA(),i._uU(9),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(2);i.xp6(1),i.hij(" ",e.value," / "),i.xp6(2),i.hij("",i.lcZ(4,5,"PUBLICATION_DETAIL.LIST.EXT_ID"),":"),i.xp6(2),i.hij(" ",t.publication.externalId," "),i.xp6(2),i.hij("",i.lcZ(8,7,"PUBLICATION_DETAIL.LIST.SYSTEM"),":"),i.xp6(2),i.hij(" ",t.publication.pubSystemName," ")}}function fz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.value,"dd/MM/yyyy")," ")}}function pz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function gz(n,o){if(1&n&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&n){const e=i.oxw(3).$implicit;i.xp6(1),i.hij(" ",e.value," ")}}function mz(n,o){if(1&n&&(i.TgZ(0,"span"),i.YNc(1,gz,2,1,"span",1),i.qZA()),2&n){const e=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf","Id / Origin"!==e.key&&"Create date"!==e.key&&"Created by"!==e.key)}}function _z(n,o){1&n&&(i.TgZ(0,"span"),i._uU(1," - "),i.qZA())}function yz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,mz,2,1,"span",1),i.YNc(2,_z,2,0,"span",1),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",null!==e.value&&""!==e.value),i.xp6(1),i.Q6J("ngIf",null===e.value||""===e.value)}}function bz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",26),i.NdJ("click",function(){return i.CHM(e),i.MAs(7).open()}),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",27),i._UZ(5,"mat-datepicker-toggle",28),i.TgZ(6,"mat-datepicker",29,30),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(7);return i.oxw(4).chosenYearHandler(s,a)}),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(7),t=i.oxw(4);i.xp6(2),i.Oqu(i.lcZ(3,5,"PUBLICATION_DETAIL.LIST.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e)("formControl",t.yearControl),i.xp6(1),i.Q6J("for",e)}}function wz(n,o){if(1&n&&(i.TgZ(0,"mat-option",33),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e.name),i.xp6(1),i.hij(" ",e.name," ")}}function Az(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i.TgZ(1,"mat-select",31),i.YNc(2,wz,2,2,"mat-option",32),i.qZA(),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.categoryControl),i.xp6(1),i.Q6J("ngForOf",e.categories)}}function vz(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LIST.RANK_ERROR")," "))}function Cz(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i._UZ(1,"input",34),i.YNc(2,vz,3,3,"mat-error",1),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("formControl",e.rankControl),i.xp6(1),i.Q6J("ngIf",e.rankControl.invalid)}}function Tz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.isbn=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.isbn)}}function Mz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"input",35),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.doi=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.doi)}}function Sz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",18),i.TgZ(1,"textarea",36),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(4).publication.main=s}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.main)}}function kz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,bz,8,7,"mat-form-field",25),i.YNc(2,Az,3,2,"mat-form-field",1),i.YNc(3,Cz,3,2,"mat-form-field",1),i.YNc(4,Tz,2,1,"mat-form-field",6),i.YNc(5,Mz,2,1,"mat-form-field",6),i.YNc(6,Sz,2,1,"mat-form-field",6),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf","Year"===e.key),i.xp6(1),i.Q6J("ngIf","Category"===e.key),i.xp6(1),i.Q6J("ngIf","Rank"===e.key),i.xp6(1),i.Q6J("ngIf","ISBN / ISSN"===e.key),i.xp6(1),i.Q6J("ngIf","DOI"===e.key),i.xp6(1),i.Q6J("ngIf","Full cite"===e.key)}}function Ez(n,o){if(1&n&&(i.TgZ(0,"td",23),i.YNc(1,hz,10,9,"span",1),i.YNc(2,fz,3,4,"span",1),i.YNc(3,pz,2,1,"span",1),i.YNc(4,yz,3,2,"div",1),i.YNc(5,kz,7,6,"div",1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(1),i.Q6J("ngIf","Id / Origin"===e.key),i.xp6(1),i.Q6J("ngIf","Create date"===e.key),i.xp6(1),i.Q6J("ngIf","Created by"===e.key),i.xp6(1),i.Q6J("ngIf",!t.editing),i.xp6(1),i.Q6J("ngIf",t.editing)}}function Dz(n,o){1&n&&i._UZ(0,"tr",37)}function xz(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"div",3),i.YNc(2,sz,2,1,"h3",4),i.YNc(3,oz,4,3,"button",5),i.YNc(4,az,3,2,"mat-form-field",6),i.YNc(5,cz,4,4,"button",7),i.qZA(),i.TgZ(6,"table",8),i.ynx(7,9),i.YNc(8,lz,1,0,"th",10),i.YNc(9,uz,2,1,"td",11),i.BQk(),i.ynx(10,12),i.YNc(11,dz,1,0,"th",10),i.YNc(12,Ez,6,5,"td",13),i.BQk(),i.YNc(13,Dz,1,0,"tr",14),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Q6J("ngIf",!e.editing),i.xp6(1),i.Q6J("ngIf",!e.editing&&!e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("ngIf",e.editing),i.xp6(1),i.Q6J("dataSource",e.dataSource),i.xp6(7),i.Q6J("matRowDefColumns",e.displayedColumns)}}const hD=bp,Rz={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let Pz=(()=>{class n{constructor(e,t,s){this.cabinetService=e,this.notificator=t,this.translate=s,this.categories=[],this.edited=new i.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new en(!0,[]),this.map=[],this.editing=!1}ngOnInit(){this.loading=!0,this.keys=["Id / Origin","Year","Category","Rank","ISBN / ISSN","DOI","Full cite","Created by","Create date"],this.values=[this.publication.id.toString(),this.publication.year.toString(),this.publication.categoryName,this.publication.rank.toString(),this.publication.isbn,this.publication.doi,this.publication.main,this.publication.createdBy,this.publication.createdDate];for(let e=0;es.name===this.categoryControl.value).id,t={id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:this.yearControl.value.year(),main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:e,rank:this.rankControl.value,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate};this.cabinetService.updatePublication({publication:t}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(s=>{this.notificator.showSuccess(s),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(e,t){const s=this.yearControl.value;s.year(e.year()),this.yearControl.setValue(s),t.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail-list"]],inputs:{publication:"publication",categories:"categories"},outputs:{edited:"edited"},features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:Rz}])],decls:3,vars:2,consts:[["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"d-flex"],["class","bigger-font w-75 mr-2",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","w-75",4,"ngIf"],["class","ml-auto","mat-icon-button","","matTooltipPosition","above",3,"disabled","matTooltip","click",4,"ngIf"],["mat-table","",1,"w-100","layout",3,"dataSource"],["matColumnDef","key"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"bigger-font","w-75","mr-2"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"matTooltip","click"],[1,"big-icon"],[1,"w-75"],["matInput","",1,"bigger-font","fix-height",3,"formControl"],["mat-icon-button","","matTooltipPosition","above",1,"ml-auto",3,"disabled","matTooltip","click"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold"],["mat-cell",""],[1,"bold"],["class","mr-2",3,"click",4,"ngIf"],[1,"mr-2",3,"click"],["matInput","","readonly","",1,"disable",3,"max","matDatepicker","formControl"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","",3,"formControl"],["matInput","",3,"ngModel","ngModelChange"],["matInput","",1,"fix-height",3,"ngModel","ngModelChange"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,nz,1,0,"mat-spinner",0),i.YNc(2,xz,14,6,"div",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,vn,Bt,jc,tn,ls,nr,us,ds,Ws,Ic,La,Ir,Lr,Or,Pr,Hr,Es,d_,$0,mm,Z0,qd,b.sg,Lc,jd,Ia,Oa],pipes:[gt,b.uU],styles:[".disable[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}.bigger-font[_ngcontent-%COMP%]{font-size:1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}.big-icon[_ngcontent-%COMP%]{font-size:40px}.fix-height[_ngcontent-%COMP%]{min-height:6ch}.layout[_ngcontent-%COMP%]{table-layout:fixed}"]}),n})();const Lz=function(){return["id","name","organization","email","add"]};function Iz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",15),i.NdJ("addAuthor",function(s){return i.CHM(e),i.oxw(3).addAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("authors",e.authors)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(4,Lz))}}function Oz(n,o){1&n&&(i.TgZ(0,"app-alert",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.SEARCH_INFO")," "))}function Hz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Iz,1,5,"perun-web-apps-authors-list",13),i.YNc(2,Oz,3,3,"app-alert",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.firstSearchDone)}}function Fz(n,o){1&n&&i._UZ(0,"mat-spinner",17)}const zz=function(){return["id","name","organization","email","remove"]};function Nz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",19),i.NdJ("removeAuthor",function(s){return i.CHM(e),i.oxw(3).removeAuthor(s)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("reloadTable",e.reloadTable)("authors",e.authorsToAdd)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(5,zz))}}function Bz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Nz,1,6,"perun-web-apps-authors-list",18),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",e.firstSearchDone)}}function Yz(n,o){1&n&&(i.TgZ(0,"app-alert",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"DIALOGS.ADD_AUTHORS.NO_AUTHORS_TO_ADD")," "))}function jz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,Hz,3,2,"div",6),i.YNc(2,Fz,1,0,"mat-spinner",7),i.TgZ(3,"h2",11),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,Bz,2,1,"div",6),i.YNc(7,Yz,3,3,"app-alert",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.searchLoading),i.xp6(1),i.Q6J("ngIf",e.searchLoading),i.xp6(2),i.hij(" ",i.lcZ(5,5,"DIALOGS.ADD_AUTHORS.AUTHORS_TO_ADD")," "),i.xp6(2),i.Q6J("ngIf",e.firstSearchDone&&0!==e.authorsToAdd.length),i.xp6(1),i.Q6J("ngIf",0===e.authorsToAdd.length)}}function Uz(n,o){1&n&&i._UZ(0,"mat-spinner",17)}let Vz=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.notificator=s,this.cabinetService=a,this.translate=r,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors="67",this.selection=new en(!1,[]),this.reloadTable=!1,r.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),this.publicationId=t.publicationId,this.alreadyAddedAuthors=t.alreadyAddedAuthors}ngOnInit(){this.searchControl=new ki("",[Oi.required,Oi.pattern(".*[\\S]+.*")])}onSearchByString(){this.searchLoading=!0;const e=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(t=>{t=t.filter(s=>e.map(a=>a.id).indexOf(s.id)<=-1),this.authors=t,this.firstSearchDone=!0,this.searchLoading=!1},()=>{this.searchLoading=!1})}onAdd(){if(this.loading=!0,this.authorsToAdd.length){const e=this.authorsToAdd.pop();this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publicationId,userId:e.id}}).subscribe(()=>{this.onAdd()},()=>this.loading=!1)}else this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}addAuthor(e){this.authors=this.authors.filter(t=>t!==e),this.authorsToAdd.push(e),this.reloadTable=!this.reloadTable}removeAuthor(e){this.authorsToAdd=this.authorsToAdd.filter(t=>t!==e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(Fn),i.Y36(ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors-dialog"]],decls:24,vars:20,consts:[[1,"user-theme"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","adjust-width"],["matInput","","autocomplete","false",3,"placeholder","formControl","keyup.enter"],["mat-flat-button","","color","accent",1,"mr-2",3,"disabled","click"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["mat-dialog-title","",1,"top-margin"],["alert_type","warn",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"authors","disableRouting","tableId","displayedColumns","addAuthor"],["alert_type","info"],[1,"ml-auto","mr-auto"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor",4,"ngIf"],[3,"reloadTable","authors","disableRouting","tableId","displayedColumns","removeAuthor"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"mat-form-field",3),i.TgZ(6,"label"),i.TgZ(7,"input",4),i.NdJ("keyup.enter",function(){return t.onSearchByString()}),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-error"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.TgZ(12,"button",5),i.NdJ("click",function(){return t.onSearchByString()}),i.TgZ(13,"mat-icon"),i._uU(14,"search"),i.qZA(),i.qZA(),i.YNc(15,jz,8,7,"div",6),i.qZA(),i.YNc(16,Uz,1,0,"mat-spinner",7),i.TgZ(17,"div",8),i.TgZ(18,"button",9),i.NdJ("click",function(){return t.onCancel()}),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.TgZ(21,"button",10),i.NdJ("click",function(){return t.onAdd()}),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,10,"DIALOGS.ADD_AUTHORS.TITLE")),i.xp6(5),i.s9C("placeholder",i.lcZ(8,12,"DIALOGS.ADD_AUTHORS.SEARCH_PLACEHOLDER")),i.Q6J("formControl",t.searchControl),i.xp6(3),i.hij(" ",i.lcZ(11,14,"DIALOGS.ADD_AUTHORS.EMPTY_SEARCH_MESSAGE")," "),i.xp6(2),i.Q6J("disabled",t.searchLoading||""===t.searchControl.value.trim()),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(3),i.hij(" ",i.lcZ(20,16,"DIALOGS.ADD_AUTHORS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===t.authorsToAdd.length||t.loading),i.xp6(1),i.hij(" ",i.lcZ(23,18,"DIALOGS.ADD_AUTHORS.ADD")," "))},directives:[ks,Gs,ls,nr,us,ds,Ws,Ic,Bt,tn,b.O5,hM,Fa,vn,Ks],pipes:[gt],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),n})();function qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function Gz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveAuthors()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length||e.publication.locked),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function Kz(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const Zz=function(){return["id","name","organization","email"]},$z=function(){return["select","id","name","organization","email"]};function Wz(n,o){if(1&n&&i._UZ(0,"perun-web-apps-authors-list",9),2&n){const e=i.oxw();i.Q6J("authors",e.publication.authors)("selection",e.selection)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,Zz):i.DdM(6,$z))}}let fD=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new en(!0,[]),this.filterValue="",this.loading=!1,this.tableId="67"}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findAuthorsByPublicationId(this.publication.id).subscribe(e=>{this.publication.authors=e,this.selection.clear(),this.loading=!1})}onAddAuthors(){const e=ts();e.width="800px",e.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(Vz,e).afterClosed().subscribe(s=>{s&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const e=ts();e.width="800px",e.data={items:this.selection.selected.map(s=>`${s.titleBefore?s.titleBefore:""} ${s.firstName?s.firstName:""} ${s.lastName?s.lastName:""} ${s.titleAfter?s.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme"},this.dialog.open(Hk,e).afterClosed().subscribe(s=>{s&&this.removeAuthors(this.selection.selected)})}removeAuthors(e){if(this.loading=!0,e.length){const t=e.pop();this.cabinetService.deleteAuthorship(this.publication.id,t.id).subscribe(()=>{this.removeAuthors(e)},()=>this.loading=!1)}else this.notificator.showSuccess(this.translate.instant("DIALOGS.REMOVE_AUTHORS.SUCCESS_MESSAGE")),this.selection.clear(),this.refresh()}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-authors"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"authors","selection","filterValue","tableId","displayedColumns",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"authors","selection","filterValue","tableId","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,qz,3,3,"button",1),i.YNc(2,Gz,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,Kz,1,0,"mat-spinner",4),i.YNc(5,Wz,1,7,"perun-web-apps-authors-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Bt,__,vn,hM],pipes:[gt],styles:[""]}),n})();function Jz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function Qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function Xz(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.ID")," "))}function eN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.id," ")}}function tN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NAME")," "))}function iN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function nN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.CONTACT")," "))}function sN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.contact)}}function oN(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.TYPE")," "))}function rN(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.type)}}function aN(n,o){1&n&&i._UZ(0,"tr",23)}function cN(n,o){1&n&&i._UZ(0,"tr",24)}function lN(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_OWNERS"),"\n"))}function uN(n,o){1&n&&(i.TgZ(0,"app-alert",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.OWNERS_LIST.NO_FILTER_OWNERS"),"\n"))}let dN=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.owners=[],this.selection=new en(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=Zd}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return e.name;case"contact":return e.contact;case"type":return e.type;default:return""}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new Jc(this.owners),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(oo),i.Y36(EA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ir,7),i.Gf(Do,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{owners:"owners",selection:"selection",tableId:"tableId",filterValue:"filterValue",displayedColumns:"displayedColumns"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","contact"],["matColumnDef","type"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Jz,2,3,"th",4),i.YNc(5,Qz,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Xz,3,3,"th",7),i.YNc(8,eN,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,tN,3,3,"th",7),i.YNc(11,iN,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,nN,3,3,"th",7),i.YNc(14,sN,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,oN,3,3,"th",7),i.YNc(17,rN,2,1,"td",10),i.BQk(),i.YNc(18,aN,1,0,"tr",13),i.YNc(19,cN,1,0,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lN,3,3,"app-alert",15),i.YNc(21,uN,3,3,"app-alert",15)),2&e&&(i.Q6J("hidden",0===t.owners.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.owners.length),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length&&t.owners.length))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function hN(n,o){1&n&&i._UZ(0,"mat-spinner",4)}const fN=function(){return["select","id","name","contact"]};function pN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"perun-web-apps-immediate-filter",6),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().filterValue=s}),i.qZA(),i._UZ(3,"perun-web-apps-owners-list",7),i.qZA(),i.TgZ(4,"div",8),i.TgZ(5,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Q6J("placeholder","DIALOGS.ADD_THANKS.FILTER"),i.xp6(1),i.Q6J("owners",e.owners)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",i.DdM(13,fN))("selection",e.selected),i.xp6(3),i.hij(" ",i.lcZ(7,9,"DIALOGS.ADD_THANKS.CANCEL")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length||e.loading),i.xp6(1),i.hij(" ",i.lcZ(10,11,"DIALOGS.ADD_THANKS.ADD")," ")}}let gN=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this.ownersManagerService=s,this.storeService=a,this.notificator=r,this.translate=c,this.cabinetManagerService=d,this.selected=new en(!0,[]),this.tableId="73"}ngOnInit(){this.loading=!0;const e=this.storeService.get("allowed_owners_for_thanks");this.ownersManagerService.getAllOwners().subscribe(t=>{this.owners=0!==e.length?t.filter(s=>e.indexOf(s.id)>-1):t,this.owners=this.owners.filter(s=>this.data.thanks.map(a=>a.ownerId).indexOf(s.id)<=-1),this.loading=!1})}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0,0===this.selected.selected.length?this.translate.get("DIALOGS.ADD_THANKS.SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.dialogRef.close(!0)}):this.cabinetManagerService.createThanks({thanks:{publicationId:this.data.id,ownerId:this.selected.selected.pop().id,createdBy:this.storeService.getPerunPrincipal().actor,createdByUid:this.storeService.getPerunPrincipal().userId,createdDate:Date.now().toString(),id:0,beanName:"Thanks"}}).subscribe(()=>{this.onSubmit()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dn),i.Y36(Wn),i.Y36(mt),i.Y36(Mn),i.Y36(Fn),i.Y36(Ii),i.Y36(ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks-dialog"]],decls:6,vars:5,consts:[[1,"user-theme"],["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[3,"placeholder","filter"],[3,"owners","filterValue","tableId","displayedColumns","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,hN,1,0,"mat-spinner",2),i.YNc(5,pN,11,14,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,"DIALOGS.ADD_THANKS.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[ks,b.O5,vn,Gs,__,dN,Ks,Bt],pipes:[gt],styles:[""]}),n})();function mN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function _N(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function yN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"THANKS_LIST.ID")))}function bN(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerId)}}function wN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NAME")," "))}function AN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.ownerName)}}function vN(n,o){1&n&&(i.TgZ(0,"th",19),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.CREATED_BY")," "))}function CN(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.createdBy)}}function TN(n,o){1&n&&i._UZ(0,"tr",22)}function MN(n,o){1&n&&i._UZ(0,"tr",23)}function SN(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function kN(n,o){1&n&&(i.TgZ(0,"app-alert",24),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"THANKS_LIST.NO_THANKS"),"\n"))}let EN=(()=>{class n{constructor(e){this.tableCheckbox=e,this.thanks=[],this.filterValue="",this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=Zd,this.selection=new en(!0,[])}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.dataSource=new Jc(this.thanks),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}getDataForColumn(e,t){switch(t){case"id":return e.ownerId.toString();case"name":return e.ownerName;default:return e[t]}}exportData(e){cp(ap(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>r_(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>op(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(EA))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Do,7),i.Gf(ir,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{thanks:"thanks",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",pageSizeOptions:"pageSizeOptions",selection:"selection"},features:[i.TTD],decls:19,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdBy"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mN,2,3,"th",4),i.YNc(5,_N,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,yN,3,3,"th",7),i.YNc(8,bN,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,wN,3,3,"th",7),i.YNc(11,AN,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,vN,3,3,"th",7),i.YNc(14,CN,2,1,"td",10),i.BQk(),i.YNc(15,TN,1,0,"tr",12),i.YNc(16,MN,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,SN,3,3,"app-alert",14),i.YNc(18,kN,3,3,"app-alert",14)),2&e&&(i.Q6J("hidden",0===t.thanks.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0!==t.thanks.length&&0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("ngIf",0===t.thanks.length))},directives:[ir,La,Do,Ir,Lr,Or,su,Pr,Hr,gp,$c,Wc,Ia,Oa,b.O5,Fa],pipes:[gt],styles:[""]}),n})();function DN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.ADD")," "))}function xN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onRemoveThanks()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",0===e.selection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(2,2,"PUBLICATION_DETAIL.REMOVE")," ")}}function RN(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const PN=function(){return["id","name","createdBy"]},LN=function(){return["select","id","name","createdBy"]};function IN(n,o){if(1&n&&i._UZ(0,"perun-web-apps-thanks-list",9),2&n){const e=i.oxw();i.Q6J("thanks",e.publication.thanks)("filterValue",e.filterValue)("tableId",e.tableId)("displayedColumns",e.publication.locked?i.DdM(5,PN):i.DdM(6,LN))("selection",e.selection)}}let pD=(()=>{class n{constructor(e,t,s,a){this.dialog=e,this.cabinetService=t,this.notificator=s,this.translate=a,this.selection=new en(!0,[]),this.tableId="70",this.loading=!1,this.filterValue=""}ngOnInit(){this.refresh()}refresh(){this.loading=!0,this.cabinetService.findPublicationById(this.publication.id).subscribe(e=>{this.publication=e,this.selection.clear(),this.loading=!1})}onAddThanks(){const e=ts();e.width="800px",e.data=this.publication,this.dialog.open(gN,e).afterClosed().subscribe(s=>{s&&this.refresh()})}onRemoveThanks(){const e=ts();e.width="450px",e.data={items:this.selection.selected.map(s=>s.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme"},this.dialog.open(Hk,e).afterClosed().subscribe(s=>{s&&(this.loading=!0,this.removeThank())})}removeThank(){0===this.selection.selected.length?this.translate.get("PUBLICATION_DETAIL.REMOVE_THANKS_SUCCESS").subscribe(e=>{this.notificator.showSuccess(e),this.refresh()}):this.cabinetService.deleteThanks(this.selection.selected.pop().id).subscribe(()=>{this.removeThank()})}applyFilter(e){this.filterValue=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xi),i.Y36(ai),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-thanks"]],inputs:{publication:"publication",selection:"selection"},decls:6,vars:5,consts:[[1,"'user-theme'"],["mat-flat-button","","color","accent","class","mr-2 action-button",3,"click",4,"ngIf"],["mat-flat-button","","color","warn","class","mr-2",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"thanks","filterValue","tableId","displayedColumns","selection",4,"ngIf"],["mat-flat-button","","color","accent",1,"mr-2","action-button",3,"click"],["mat-flat-button","","color","warn",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"thanks","filterValue","tableId","displayedColumns","selection"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,DN,3,3,"button",1),i.YNc(2,xN,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.qZA(),i.YNc(4,RN,1,0,"mat-spinner",4),i.YNc(5,IN,1,7,"perun-web-apps-thanks-list",5),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("ngIf",!t.publication.locked),i.xp6(1),i.Q6J("placeholder","PUBLICATION_DETAIL.FILTER"),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Bt,__,vn,EN],pipes:[gt],styles:[""]}),n})();function ON(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function HN(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"assignment_ind"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"AUTHORS_PAGE.TITLE")," "))}function FN(n,o){1&n&&(i.TgZ(0,"h1",11),i._UZ(1,"mat-icon",13),i.TgZ(2,"span",14),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.Oqu(i.lcZ(4,1,"ALL_PUBLICATIONS.TITLE")))}function zN(n,o){1&n&&(i.TgZ(0,"h1",11),i.TgZ(1,"span"),i.TgZ(2,"mat-icon",12),i._uU(3,"local_library"),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"MY_PUBLICATIONS.TITLE")," "))}function NN(n,o){if(1&n&&(i.TgZ(0,"h5",15),i._uU(1),i.ALo(2,"userFullName"),i.ALo(3,"translate"),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.AsE(" ",i.lcZ(2,2,e.mainAuthor),"",i.lcZ(3,4,"AUTHOR_DETAIL.TITLE")," ")}}function BN(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.LOCKED")," "))}function YN(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock "),i.qZA())}function jN(n,o){1&n&&(i.TgZ(0,"span",16),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"PUBLICATION_DETAIL.UNLOCKED")," "))}function UN(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock_open "),i.qZA())}function VN(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function qN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publication-detail-list",17),i.NdJ("edited",function(){return i.CHM(e),i.oxw(2).refreshPublication()}),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("categories",e.categories)}}function GN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.YNc(1,HN,6,3,"h1",4),i.YNc(2,FN,5,3,"h1",4),i.YNc(3,zN,6,3,"h1",4),i.YNc(4,NN,4,6,"h5",5),i.TgZ(5,"h5"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"h6"),i._uU(9),i.ALo(10,"translate"),i.TgZ(11,"button",6),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeLock()}),i.YNc(12,BN,3,3,"span",7),i.YNc(13,YN,2,0,"mat-icon",2),i.YNc(14,jN,3,3,"span",7),i.YNc(15,UN,2,0,"mat-icon",2),i.qZA(),i.qZA(),i.TgZ(16,"mat-card"),i.TgZ(17,"mat-card-content"),i.YNc(18,VN,1,0,"mat-spinner",1),i.YNc(19,qN,1,2,"perun-web-apps-publication-detail-list",8),i.qZA(),i.qZA(),i.TgZ(20,"mat-card",9),i.TgZ(21,"mat-card-title"),i._uU(22),i.ALo(23,"translate"),i.qZA(),i.TgZ(24,"mat-card-content"),i._UZ(25,"perun-web-apps-add-authors",10),i.qZA(),i.qZA(),i.TgZ(26,"mat-card",9),i.TgZ(27,"mat-card-title"),i._uU(28),i.ALo(29,"translate"),i.qZA(),i.TgZ(30,"mat-card-content"),i._UZ(31,"perun-web-apps-add-thanks",10),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf","authors"===e.mode),i.xp6(1),i.Q6J("ngIf","all"===e.mode),i.xp6(1),i.Q6J("ngIf","my"===e.mode),i.xp6(1),i.Q6J("ngIf",void 0!==e.mainAuthor),i.xp6(2),i.Oqu(i.lcZ(7,18,"PUBLICATION_DETAIL.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(10,20,"PUBLICATION_DETAIL.LOCK_INFO")," "),i.xp6(3),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(1),i.Q6J("ngIf",!e.publication.locked),i.xp6(3),i.Q6J("ngIf",e.loading||e.pubLoading),i.xp6(1),i.Q6J("ngIf",!e.pubLoading&&!e.loading),i.xp6(3),i.hij(" ",i.lcZ(23,22,"PUBLICATION_DETAIL.AUTHORS")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionAuthors),i.xp6(3),i.hij(" ",i.lcZ(29,24,"PUBLICATION_DETAIL.ACKNOWLEDGEMENT")," "),i.xp6(3),i.Q6J("publication",e.publication)("selection",e.selectionThanks)}}let y_=(()=>{class n{constructor(e,t,s,a,r,c,d){this.route=e,this.cabinetService=t,this.matIconRegistry=s,this.domSanitizer=a,this.dialog=r,this.notificator=c,this.translate=d,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new en(!0,[]),this.selectionThanks=new en(!0,[]),this.matIconRegistry.addSvgIcon("publications",this.domSanitizer.bypassSecurityTrustResourceUrl("../../assets/img/publications-dark.svg"))}ngOnInit(){this.initLoading=!0,this.publicationId?(this.setMode(),this.loadAllData()):this.route.params.subscribe(e=>{this.publicationId=e.publicationId,this.mainAuthorId=parseInt(e.authorId,10),this.setMode(),this.loadAllData()})}setMode(){const e=location.pathname;this.mode=e.includes("my")?"my":e.includes("all")?"all":e.includes("import")?"import":e.includes("create")?"create":"authors"}loadAllData(){this.loading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.cabinetService.getCategories().subscribe(t=>{this.categories=t,this.loading=!1,this.initLoading=!1})})}refreshPublication(){this.pubLoading=!0,this.cabinetService.findPublicationById(this.publicationId).subscribe(e=>{this.publication=e,this.pubLoading=!1})}changeLock(){this.pubLoading=!0,this.cabinetService.lockPublications({publications:[{id:this.publication.id,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.publication.title,year:this.publication.year,main:this.publication.main,isbn:this.publication.isbn,doi:this.publication.doi,categoryId:this.publication.categoryId,rank:this.publication.rank,locked:this.publication.locked,createdBy:this.publication.createdBy,createdDate:this.publication.createdDate}],lock:!this.publication.locked}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(t=>{this.notificator.showSuccess(t),this.refreshPublication()})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(ai),i.Y36(Kd),i.Y36(Yn),i.Y36(Xi),i.Y36(Fn),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-detail"]],inputs:{publicationId:"publicationId"},decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["class","page-subtitle d-flex",4,"ngIf"],["class","mb-2",4,"ngIf"],["mat-stroked-button","",1,"ml-2",3,"click"],["class","font-weight-bold",4,"ngIf"],[3,"publication","categories","edited",4,"ngIf"],[1,"mt-4"],[3,"publication","selection"],[1,"page-subtitle","d-flex"],[1,"title-icon","align-icon","mr-3"],["svgIcon","publications",1,"icon-size"],[1,"ml-3","mt-1"],[1,"mb-2"],[1,"font-weight-bold"],[3,"publication","categories","edited"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,ON,1,0,"mat-spinner",1),i.YNc(2,GN,32,26,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.initLoading),i.xp6(1),i.Q6J("ngIf",!t.initLoading))},directives:[b.O5,vn,tn,Bt,iE,eE,Pz,tE,fD,pD],pipes:[gt,ev],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),n})(),KN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,Zs,iu,Rh,lM,Sd,$s,zc,xA,Q0]]}),n})(),ZN=(()=>{class n{constructor(e){this.auth=e}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Sa))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Bt,tn],pipes:[gt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function $N(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}let WN=(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new ki(null,[Oi.required]),this.passwordCtrl=new ki(null,[Oi.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xi),i.Y36(Xi),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,$N,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,Fa,ls,Es,nr,us,tr,ds,Ws,Ic,Bt,tn],pipes:[gt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})();function JN(n,o){1&n&&i.Hsn(0)}const gD=["*"];function QN(n,o){}const XN=function(n){return{animationDuration:n}},eB=function(n,o){return{value:n,params:o}},tB=["tabListContainer"],iB=["tabList"],nB=["tabListInner"],sB=["nextPaginator"],oB=["previousPaginator"],rB=["tabBodyWrapper"],aB=["tabHeader"];function cB(n,o){}function lB(n,o){if(1&n&&i.YNc(0,cB,0,0,"ng-template",10),2&n){const e=i.oxw().$implicit;i.Q6J("cdkPortalOutlet",e.templateLabel)}}function uB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw().$implicit;i.Oqu(e.textLabel)}}function dB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index,c=i.oxw(),d=i.MAs(1);return c._handleClick(a,d,r)})("cdkFocusChange",function(s){const r=i.CHM(e).index;return i.oxw()._tabFocusChanged(s,r)}),i.TgZ(1,"div",7),i.YNc(2,lB,1,1,"ng-template",8),i.YNc(3,uB,1,1,"ng-template",null,9,i.W1O),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.MAs(4),a=i.oxw();i.ekj("mat-tab-label-active",a.selectedIndex===t),i.Q6J("id",a._getTabLabelId(t))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||a.disableRipple),i.uIk("tabIndex",a._getTabIndex(e,t))("aria-posinset",t+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(t))("aria-selected",a.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),i.xp6(2),i.Q6J("ngIf",e.templateLabel)("ngIfElse",s)}}function hB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-tab-body",11),i.NdJ("_onCentered",function(){return i.CHM(e),i.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(s){return i.CHM(e),i.oxw()._setTabBodyWrapperHeight(s)}),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.ekj("mat-tab-body-active",s.selectedIndex===t),i.Q6J("id",s._getTabContentId(t))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",s.animationDuration),i.uIk("tabindex",null!=s.contentTabIndex&&s.selectedIndex===t?s.contentTabIndex:null)("aria-labelledby",s._getTabLabelId(t))}}const fB=new i.OlP("MatInkBarPositioner",{providedIn:"root",factory:function pB(){return o=>({left:o?(o.offsetLeft||0)+"px":"0",width:o?(o.offsetWidth||0)+"px":"0"})}});let mD=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=s,this._animationMode=a}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),s=this._elementRef.nativeElement;s.style.left=t.left,s.style.width=t.width}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(fB),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),n})();const _D=new i.OlP("MatTabContent");let gB=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabContent",""]],features:[i._Bn([{provide:_D,useExisting:n}])]}),n})();const yD=new i.OlP("MatTabLabel"),bD=new i.OlP("MAT_TAB");let mB=(()=>{class n extends Xp{constructor(e,t,s){super(e,t),this._closestTab=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(bD,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i._Bn([{provide:yD,useExisting:n}]),i.qOj]}),n})();const _B=Co(class{}),wD=new i.OlP("MAT_TAB_GROUP");let AD=(()=>{class n extends _B{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new ke.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Cr(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(wD,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,yD,5),i.Suo(s,_D,7,i.Rgc)),2&e){let a;i.iGM(a=i.CRH())&&(t.templateLabel=a.first),i.iGM(a=i.CRH())&&(t._explicitContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let s;i.iGM(s=i.CRH())&&(t._implicitContent=s.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[i._Bn([{provide:bD,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:gD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,JN,1,0,"ng-template"))},encapsulation:2}),n})();const yB={translateTab:ti("translateTab",[_t("center, void, left-origin-center, right-origin-center",De({transform:"none"})),_t("left",De({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),_t("right",De({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),ht("* => left, * => right, left => center, right => center",rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ht("void => left-origin-center",[De({transform:"translate3d(-100%, 0, 0)"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ht("void => right-origin-center",[De({transform:"translate3d(100%, 0, 0)"}),rt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let bB=(()=>{class n extends Tr{constructor(e,t,s,a){super(e,t,a),this._host=s,this._centeringSub=P.w.EMPTY,this._leavingSub=P.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Vt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36((0,i.Gpc)(()=>vD)),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabBodyHost",""]],features:[i.qOj]}),n})(),wB=(()=>{class n{constructor(e,t,s){this._elementRef=e,this._dir=t,this._dirChangeSubscription=P.w.EMPTY,this._translateTabComplete=new ke.xQ,this._onCentering=new i.vpe,this._beforeCentering=new i.vpe,this._afterLeavingCenter=new i.vpe,this._onCentered=new i.vpe(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(a=>{this._computePositionAnimationState(a),s.markForCheck()})),this._translateTabComplete.pipe(yc((a,r)=>a.fromState===r.fromState&&a.toState===r.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),vD=(()=>{class n extends wB{constructor(e,t,s){super(e,t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ti,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&i.Gf(Tr,5),2&e){let s;i.iGM(s=i.CRH())&&(t._portalHost=s.first)}},hostAttrs:[1,"mat-tab-body"],features:[i.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(i.TgZ(0,"div",0,1),i.NdJ("@translateTab.start",function(a){return t._onTranslateTabStarted(a)})("@translateTab.done",function(a){return t._translateTabComplete.next(a)}),i.YNc(2,QN,0,0,"ng-template",2),i.qZA()),2&e&&i.Q6J("@translateTab",i.WLB(3,eB,t._position,i.VKq(1,XN,t.animationDuration)))},directives:[bB],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[yB.translateTab]}}),n})();const CD=new i.OlP("MAT_TABS_CONFIG"),AB=Co(class{});let TD=(()=>{class n extends AB{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.uIk("aria-disabled",!!t.disabled),i.ekj("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[i.qOj]}),n})();const MD=_o({passive:!0});let TB=(()=>{class n{constructor(e,t,s,a,r,c,d){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=s,this._dir=a,this._ngZone=r,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ke.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ke.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.vpe,this.indexFocused=new i.vpe,r.runOutsideAngular(()=>{da(e.nativeElement,"mouseleave").pipe($e(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Zi(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){da(this._previousPaginator.nativeElement,"touchstart",MD).pipe($e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),da(this._nextPaginator.nativeElement,"touchstart",MD).pipe($e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,Ye.of)("ltr"),t=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new bc(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),(0,Mi.T)(e,t,this._items.changes).pipe($e(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(s)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe($e(this._destroyed)).subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ni(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement;t.scrollLeft="ltr"==this._getLayoutDirection()?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:r}=t.elementRef.nativeElement;let c,d;"ltr"==this._getLayoutDirection()?(c=a,d=c+r):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-r);const h=this.scrollDistance,g=this.scrollDistance+s;cg&&(this.scrollDistance+=d-g+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),x_(650,100).pipe($e((0,Mi.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:a}=this._scrollHeader(e);(0===a||a>=s)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),MB=(()=>{class n extends TB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ne(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{disableRipple:"disableRipple"},features:[i.qOj]}),n})(),SB=(()=>{class n extends MB{constructor(e,t,s,a,r,c,d){super(e,t,s,a,r,c,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn),i.Y36(Ti,8),i.Y36(i.R0b),i.Y36(fi),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,TD,4),2&e){let a;i.iGM(a=i.CRH())&&(t._items=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(mD,7),i.Gf(tB,7),i.Gf(iB,7),i.Gf(nB,7),i.Gf(sB,5),i.Gf(oB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inkBar=s.first),i.iGM(s=i.CRH())&&(t._tabListContainer=s.first),i.iGM(s=i.CRH())&&(t._tabList=s.first),i.iGM(s=i.CRH())&&(t._tabListInner=s.first),i.iGM(s=i.CRH())&&(t._nextPaginator=s.first),i.iGM(s=i.CRH())&&(t._previousPaginator=s.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[i.qOj],ngContentSelectors:gD,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(a){return t._handlePaginatorPress("before",a)})("touchend",function(){return t._stopInterval()}),i._UZ(2,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.NdJ("keydown",function(a){return t._handleKeydown(a)}),i.TgZ(5,"div",5,6),i.NdJ("cdkObserveContent",function(){return t._onContentChanges()}),i.TgZ(7,"div",7,8),i.Hsn(9),i.qZA(),i._UZ(10,"mat-ink-bar"),i.qZA(),i.qZA(),i.TgZ(11,"div",9,10),i.NdJ("mousedown",function(a){return t._handlePaginatorPress("after",a)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),i._UZ(13,"div",2),i.qZA()),2&e&&(i.ekj("mat-tab-header-pagination-disabled",t._disableScrollBefore),i.Q6J("matRippleDisabled",t._disableScrollBefore||t.disableRipple),i.xp6(5),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(6),i.ekj("mat-tab-header-pagination-disabled",t._disableScrollAfter),i.Q6J("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Ss,pg,mD],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),n})(),kB=0;class EB{}const DB=Qo(To(class{constructor(n){this._elementRef=n}}),"primary");let xB=(()=>{class n extends DB{constructor(e,t,s,a){var r;super(e),this._changeDetectorRef=t,this._animationMode=a,this._tabs=new i.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w.EMPTY,this._tabLabelSubscription=P.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new i.vpe,this.focusChange=new i.vpe,this.animationDone=new i.vpe,this.selectedTabChange=new i.vpe(!0),this._groupId=kB++,this.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",this.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,this.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,this.contentTabIndex=null!==(r=null==s?void 0:s.contentTabIndex)&&void 0!==r?r:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ne(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Zi(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Zi(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));const s=this._tabBodyWrapper.nativeElement;s.style.minHeight=s.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((s,a)=>s.isActive=a===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,s)=>{t.position=s-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let s=0;s{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new EB;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Mi.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,s){e.disabled||(this.selectedIndex=t.focusIndex=s)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}_tabFocusChanged(e,t){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(CD,8),i.Y36(Si,8))},n.\u0275dir=i.lG2({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[i.qOj]}),n})(),RB=(()=>{class n extends xB{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(CD,8),i.Y36(Si,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AD,5),2&e){let a;i.iGM(a=i.CRH())&&(t._allTabs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(rB,5),i.Gf(aB,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._tabBodyWrapper=s.first),i.iGM(s=i.CRH())&&(t._tabHeader=s.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[i._Bn([{provide:wD,useExisting:n}]),i.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-tab-header",0,1),i.NdJ("indexFocused",function(a){return t._focusChanged(a)})("selectFocusedIndex",function(a){return t.selectedIndex=a}),i.YNc(2,dB,5,15,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.YNc(5,hB,1,10,"mat-tab-body",5),i.qZA()),2&e&&(i.Q6J("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),i.xp6(2),i.Q6J("ngForOf",t._tabs),i.xp6(1),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode),i.xp6(2),i.Q6J("ngForOf",t._tabs))},directives:[SB,vD,b.sg,TD,Ss,yC,b.mk,b.O5,Tr],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),n})(),PB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,nt,xl,cs,Pl,zy],nt]}),n})();function LB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function IB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function OB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function HB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function FB(n,o){if(1&n&&(i.TgZ(0,"mat-option",36),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function zB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function NB(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function BB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function YB(n,o){1&n&&(i.TgZ(0,"div",28),i._UZ(1,"mat-spinner",5),i.TgZ(2,"h5",37),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.hij(" ",i.lcZ(4,1,"CREATE_SINGLE_PUBLICATION.CHECK_PERFORM")," "))}function jB(n,o){1&n&&(i.TgZ(0,"app-alert",38),i.TgZ(1,"div",28),i.TgZ(2,"span",39),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"span",40),i.TgZ(7,"mat-icon",41),i._uU(8,"fiber_manual_record"),i.qZA(),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"span",42),i.TgZ(12,"mat-icon",41),i._uU(13,"fiber_manual_record"),i.qZA(),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA(),i.qZA()),2&n&&(i.xp6(3),i.AsE(" ",i.lcZ(4,4,"CREATE_SINGLE_PUBLICATION.SIMILAR_FOUND"),". ",i.lcZ(5,6,"CREATE_SINGLE_PUBLICATION.CHECK_BELOW"),". "),i.xp6(6),i.hij(" ",i.lcZ(10,8,"CREATE_SINGLE_PUBLICATION.IS_BELOW")," "),i.xp6(5),i.hij(" ",i.lcZ(15,10,"CREATE_SINGLE_PUBLICATION.NOT_BELOW")," "))}function UB(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function VB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}const qB=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function GB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publications-list",48),i.NdJ("publicationSelector",function(s){i.CHM(e),i.oxw(2);const a=i.MAs(1);return i.oxw(2).loadPublicationDetail(s,a)}),i.qZA()}if(2&n){const e=i.oxw(4);i.Q6J("displayedColumns",i.DdM(4,qB))("disabledRouting",!0)("openInTab",!0)("publications",e.filteredPublications)}}function KB(n,o){if(1&n&&(i.TgZ(0,"div",46),i.YNc(1,VB,1,0,"mat-spinner",3),i.YNc(2,GB,1,5,"perun-web-apps-publications-list",47),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function ZB(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw(4);i.Oqu(e.selectedPubTitle)}}function $B(n,o){if(1&n&&(i.TgZ(0,"div",49),i._UZ(1,"perun-web-apps-publication-detail",50),i.qZA()),2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("publicationId",e.selectedPubId)}}function WB(n,o){1&n&&(i.TgZ(0,"mat-tab"),i.YNc(1,ZB,1,1,"ng-template",44),i.YNc(2,$B,2,1,"ng-template",45),i.qZA())}function JB(n,o){if(1&n&&(i.TgZ(0,"mat-tab-group",null,43),i.TgZ(2,"mat-tab"),i.YNc(3,UB,2,3,"ng-template",44),i.YNc(4,KB,3,2,"ng-template",45),i.qZA(),i.YNc(5,WB,3,0,"mat-tab",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(5),i.Q6J("ngIf",null!==e.selectedPubId)}}function QB(n,o){1&n&&(i.TgZ(0,"div",28),i.TgZ(1,"mat-icon",51),i._uU(2,"check_circle"),i.qZA(),i.TgZ(3,"h5",52),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,"CREATE_SINGLE_PUBLICATION.NO_SIMILAR")," "))}function XB(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function eY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",57),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).redirect(["create-publication"])}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.RETURN")," "))}function tY(n,o){if(1&n&&(i.TgZ(0,"div",53),i.YNc(1,XB,3,3,"button",54),i.TgZ(2,"button",55),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.YNc(5,eY,3,3,"button",56),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,3,"CREATE_SINGLE_PUBLICATION.CREATE")," "),i.xp6(2),i.Q6J("ngIf",!e.duplicateCheck)}}function iY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function nY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function sY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-authors",59),2&n){const e=i.oxw(3);i.Q6J("publication",e.publication)("selection",e.authorsSelection)}}function oY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",58),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,sY,1,2,"perun-web-apps-add-authors",33),i.qZA()),2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,2,"CREATE_SINGLE_PUBLICATION.PUB_CREATED")),i.xp6(2),i.Q6J("ngIf",null!==e.publication)}}function rY(n,o){1&n&&(i.TgZ(0,"button",34),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.PREV")," "))}function aY(n,o){if(1&n&&(i.TgZ(0,"div",25),i.YNc(1,rY,3,3,"button",54),i.TgZ(2,"button",60),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!e.duplicateCheck),i.xp6(2),i.hij(" ",i.lcZ(4,2,"CREATE_SINGLE_PUBLICATION.NEXT")," ")}}function cY(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function lY(n,o){if(1&n&&i._UZ(0,"perun-web-apps-add-thanks",59),2&n){const e=i.oxw(2);i.Q6J("publication",e.publication)("selection",e.thanksSelection)}}function uY(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function dY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-horizontal-stepper",6),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw().stepChanged(s)}),i.TgZ(1,"mat-step",7),i.YNc(2,IB,2,3,"ng-template",8),i.TgZ(3,"form",9),i.TgZ(4,"h5",10),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",11),i.TgZ(8,"mat-checkbox",12),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.TgZ(11,"mat-form-field"),i._UZ(12,"input",13),i.ALo(13,"translate"),i.YNc(14,OB,3,3,"mat-error",14),i.qZA(),i.TgZ(15,"mat-form-field",15),i.NdJ("click",function(){return i.CHM(e),i.MAs(22).open()}),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",16),i._UZ(20,"mat-datepicker-toggle",17),i.TgZ(21,"mat-datepicker",18,19),i.NdJ("yearSelected",function(s){i.CHM(e);const a=i.MAs(22);return i.oxw().chosenYearHandler(s,a)}),i.qZA(),i.YNc(23,HB,3,3,"mat-error",14),i.qZA(),i.TgZ(24,"mat-form-field"),i.TgZ(25,"mat-select",20),i.ALo(26,"translate"),i.YNc(27,FB,2,2,"mat-option",21),i.qZA(),i.YNc(28,zB,3,3,"mat-error",14),i.qZA(),i.TgZ(29,"mat-form-field"),i._UZ(30,"input",22),i.ALo(31,"translate"),i.qZA(),i.TgZ(32,"mat-form-field"),i._UZ(33,"input",23),i.ALo(34,"translate"),i.qZA(),i.TgZ(35,"mat-form-field"),i.TgZ(36,"textarea",24),i.ALo(37,"translate"),i._uU(38," "),i.qZA(),i.YNc(39,NB,3,3,"mat-error",14),i.qZA(),i.qZA(),i.qZA(),i.TgZ(40,"div",25),i.TgZ(41,"button",26),i._uU(42),i.ALo(43,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(44,"mat-step",27),i.YNc(45,BB,2,3,"ng-template",8),i.TgZ(46,"form",28),i.TgZ(47,"h5",10),i._uU(48),i.ALo(49,"translate"),i.qZA(),i.YNc(50,YB,5,3,"div",29),i.YNc(51,jB,16,12,"app-alert",30),i.YNc(52,JB,6,1,"mat-tab-group",14),i.YNc(53,QB,6,3,"div",29),i.qZA(),i.YNc(54,tY,6,5,"div",31),i.qZA(),i.TgZ(55,"mat-step"),i.YNc(56,iY,2,3,"ng-template",8),i.TgZ(57,"h5",10),i._uU(58),i.ALo(59,"translate"),i.qZA(),i.YNc(60,nY,1,0,"mat-spinner",3),i.YNc(61,oY,5,4,"div",14),i.YNc(62,aY,5,4,"div",32),i.qZA(),i.TgZ(63,"mat-step"),i.YNc(64,cY,2,3,"ng-template",8),i.TgZ(65,"h5",10),i._uU(66),i.ALo(67,"translate"),i.qZA(),i.YNc(68,lY,1,2,"perun-web-apps-add-thanks",33),i.YNc(69,uY,1,0,"mat-spinner",3),i.TgZ(70,"div",25),i.TgZ(71,"button",34),i._uU(72),i.ALo(73,"translate"),i.qZA(),i.TgZ(74,"button",35),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.redirect(["all-publications",s.publication.id])}),i._uU(75),i.ALo(76,"translate"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(22),t=i.oxw();i.xp6(1),i.Q6J("editable",!t.duplicateCheck)("stepControl",t.publicationControl),i.xp6(2),i.Q6J("formGroup",t.publicationControl),i.xp6(2),i.hij(" ",i.lcZ(6,37,"CREATE_SINGLE_PUBLICATION.PUB_INFO")," "),i.xp6(4),i.hij(" ",i.lcZ(10,39,"CREATE_SINGLE_PUBLICATION.ADD_MYSELF")," "),i.xp6(3),i.s9C("placeholder",i.lcZ(13,41,"CREATE_SINGLE_PUBLICATION.SET_TITLE")),i.xp6(2),i.Q6J("ngIf",t.publicationControl.hasError("required","title")),i.xp6(3),i.Oqu(i.lcZ(18,43,"CREATE_SINGLE_PUBLICATION.YEAR")),i.xp6(2),i.Q6J("max",t.maxYear)("matDatepicker",e),i.xp6(1),i.Q6J("for",e),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","year")),i.xp6(2),i.s9C("placeholder",i.lcZ(26,45,"CREATE_SINGLE_PUBLICATION.CATEGORY")),i.xp6(2),i.Q6J("ngForOf",t.categories),i.xp6(1),i.Q6J("ngIf",t.publicationControl.hasError("required","category")),i.xp6(2),i.s9C("placeholder",i.lcZ(31,47,"CREATE_SINGLE_PUBLICATION.ISBN")),i.xp6(3),i.s9C("placeholder",i.lcZ(34,49,"CREATE_SINGLE_PUBLICATION.DOI")),i.xp6(3),i.s9C("placeholder",i.lcZ(37,51,"CREATE_SINGLE_PUBLICATION.CITE")),i.xp6(3),i.Q6J("ngIf",t.publicationControl.hasError("required","cite")),i.xp6(2),i.Q6J("disabled",t.publicationControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(43,53,"CREATE_SINGLE_PUBLICATION.NEXT")," "),i.xp6(2),i.Q6J("editable",!t.duplicateCheck),i.xp6(4),i.hij(" ",i.lcZ(49,55,"CREATE_SINGLE_PUBLICATION.SIMILARITY_CHECK")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&!t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading&&t.duplicateCheck),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(59,57,"CREATE_SINGLE_PUBLICATION.ADD_AUTHORS")," "),i.xp6(2),i.Q6J("ngIf",t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(1),i.Q6J("ngIf",!t.innerLoading),i.xp6(4),i.hij(" ",i.lcZ(67,59,"CREATE_SINGLE_PUBLICATION.ADD_THANKS")," "),i.xp6(2),i.Q6J("ngIf",null!==t.publication),i.xp6(1),i.Q6J("ngIf",t.innerLoading),i.xp6(3),i.hij(" ",i.lcZ(73,61,"CREATE_SINGLE_PUBLICATION.PREV")," "),i.xp6(3),i.hij(" ",i.lcZ(76,63,"CREATE_SINGLE_PUBLICATION.FINISH")," ")}}const hY=bp,fY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let pY=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this.formBuilder=e,this.cabinetService=t,this.dialog=s,this.router=a,this.notificator=r,this.translate=c,this.storeService=d,this.userService=h,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new en(!0,[]),this.thanksSelection=new en(!0,[]),this.innerLoading=!1,this.loading=!1,this.duplicateCheck=!1,this.selectedPubId=null,this.selectedPubTitle=""}ngOnInit(){this.loading=!0,this.publicationControl=this.formBuilder.group({addAuthor:[!1],title:["",Oi.required],year:["",Oi.required],category:["",Oi.required],isbn:[""],doi:[""],cite:["",Oi.required]}),this.maxYear=hY(),this.cabinetService.getCategories().subscribe(e=>{this.categories=e,this.loading=!1})}chosenYearHandler(e,t){this.publicationControl.get("year").setValue(e),t.close()}createTimeout(){setTimeout(()=>{this.notificator.showSuccess(this.translate.instant("CREATE_SINGLE_PUBLICATION.SUCCESS")),this.duplicateCheck=!0,this.innerLoading=!1},1e3)}createPublication(){this.innerLoading=!0,this.duplicateCheck=!0;const e={publication:{title:this.publicationControl.get("title").value,categoryId:this.publicationControl.get("category").value.id,year:this.publicationControl.get("year").value.year(),isbn:this.publicationControl.get("isbn").value,doi:this.publicationControl.get("doi").value,main:this.publicationControl.get("cite").value}};this.userService.getRichUserWithAttributes(this.storeService.getPerunPrincipal().userId).subscribe(t=>{const s=t.userAttributes.filter(a=>"preferredMail"===a.friendlyName);0!==s.length&&(e.publication.createdBy=s[0].value),this.cabinetService.createPublication(e).subscribe(a=>{this.publication=a,this.publicationControl.get("addAuthor").value?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:this.publication.id,userId:t.id}}).subscribe(()=>{this.createTimeout()},()=>this.innerLoading=!1):this.createTimeout()},()=>this.innerLoading=!1)},()=>this.innerLoading=!1)}similarCheck(){this.innerLoading=!0;const e=this.publicationControl.get("title").value?this.publicationControl.get("title").value:null,t=this.publicationControl.get("doi").value?this.publicationControl.get("doi").value:null,s=this.publicationControl.get("isbn").value?this.publicationControl.get("isbn").value:null;this.cabinetService.findSimilarPublications(e,t,s).subscribe(a=>{this.similarPublications=a,this.filteredPublications=a,setTimeout(()=>{this.duplicateCheck=0===a.length,this.innerLoading=!1},2e3)})}stepChanged(e){1===e.selectedIndex&&this.similarCheck(),2===e.selectedIndex&&null===this.publication&&this.createPublication()}redirect(e){this.router.navigate(e)}loadPublicationDetail(e,t){this.selectedPubId=e.id,this.selectedPubTitle=e.title,t.selectedIndex=1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(VS),i.Y36(ai),i.Y36(Xi),i.Y36(Ri),i.Y36(Fn),i.Y36(Ii),i.Y36(Mn),i.Y36($t))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-single-publication-page"]],features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:fY}])],decls:9,vars:5,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],["class","ml-auto mr-auto",4,"ngIf"],["linear","True",3,"selectionChange",4,"ngIf"],[1,"ml-auto","mr-auto"],["linear","True",3,"selectionChange"],[3,"editable","stepControl"],["matStepLabel",""],[3,"formGroup"],[1,"mt-2"],[1,"dialog-container","w-50"],["labelPosition","before","formControlName","addAuthor",1,"mt-3"],["matInput","","formControlName","title","required","",3,"placeholder"],[4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","year","readonly","",1,"disable",3,"max","matDatepicker"],["matSuffix","",3,"for"],["startView","multi-year",3,"yearSelected"],["sdp",""],["required","","formControlName","category",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","isbn",3,"placeholder"],["matInput","","formControlName","doi",3,"placeholder"],["matInput","","formControlName","cite","required","",3,"placeholder"],[1,"mt-1"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-auto",3,"disabled"],[3,"editable"],[1,"flex-container"],["class","flex-container",4,"ngIf"],["class","w-100","alert_type","warn",4,"ngIf"],["class","mt-3",4,"ngIf"],["class","mt-1",4,"ngIf"],[3,"publication","selection",4,"ngIf"],["mat-stroked-button","","type","button","matStepperPrevious","",1,"ml-auto"],["mat-flat-button","","type","button","color","accent",1,"ml-2",3,"click"],[3,"value"],[1,"ml-auto","mr-auto","mt-1","font-weight-bold"],["alert_type","warn",1,"w-100"],[1,"font-weight-bold"],[1,"mt-2","ml-3"],[1,"dot-icon"],[1,"ml-3"],["similarPublicationTabs",""],["matTabLabel",""],["matTabContent",""],[1,"flex-container","mb-2"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector",4,"ngIf"],[3,"displayedColumns","disabledRouting","openInTab","publications","publicationSelector"],[1,"mt-4"],[3,"publicationId"],[1,"ml-auto","mr-auto","passed-icon"],[1,"ml-auto","mr-auto","font-weight-bold"],[1,"mt-3"],["class","ml-auto","mat-stroked-button","","type","button","matStepperPrevious","",4,"ngIf"],["mat-flat-button","","color","accent","type","button","matStepperNext","",1,"ml-2"],["class","ml-2","mat-stroked-button","","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","type","button",1,"ml-2",3,"click"],["alert_type","info"],[3,"publication","selection"],["mat-stroked-button","","type","button","matStepperNext","",1,"ml-2"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,LB,1,0,"mat-spinner",3),i.YNc(8,dY,77,65,"mat-horizontal-stepper",4),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,3,"CREATE_SINGLE_PUBLICATION.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[tn,b.O5,vn,CE,AE,VA,Ud,If,Pa,su,ds,iA,ls,nr,us,tr,Ic,Es,d_,$0,mm,Z0,qd,b.sg,Lc,Bt,cI,Hc,Fa,RB,AD,mB,gB,_p,y_,lI,fD,pD],pipes:[gt],styles:[".add-icon[_ngcontent-%COMP%]{font-size:32px;vertical-align:text-top}.dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.passed-icon[_ngcontent-%COMP%]{font-size:130px;color:#288619;margin-bottom:130px;padding-right:120px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function gY(n,o){if(1&n&&(i.TgZ(0,"mat-option",14),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e.friendlyName)}}function mY(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.INFO")," "))}function _Y(n,o){if(1&n&&i._UZ(0,"perun-web-apps-publications-list",16),2&n){const e=i.oxw(2);i.Q6J("publications",e.publications)("displayedColumns",e.displayedColumns)("selection",e.selected)("tableId",e.tableId)("disabledRouting",!0)("allowAlert",e.firstSearchDone)}}function yY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div"),i.TgZ(2,"mat-form-field",5),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"mat-select",6),i.NdJ("closed",function(){return i.CHM(e),i.oxw().selectPubSystem()}),i.YNc(7,gY,2,2,"mat-option",7),i.qZA(),i.qZA(),i._UZ(8,"perun-web-apps-year-range",8),i.TgZ(9,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().searchPublications()}),i.TgZ(10,"mat-icon"),i._uU(11,"search"),i.qZA(),i._uU(12),i.ALo(13,"translate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.importPublications(s.selected.selected)}),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"mat-checkbox",11),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().userAsAuthor=s}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.YNc(20,mY,3,3,"app-alert",12),i.YNc(21,_Y,1,6,"perun-web-apps-publications-list",13),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,12,"IMPORT_PUBLICATIONS.EXT_PUB_SYSTEM")),i.xp6(2),i.Q6J("formControl",e.pubSystem),i.xp6(1),i.Q6J("ngForOf",e.publicationSystems),i.xp6(1),i.Q6J("startYear",e.startYear)("endYear",e.endYear),i.xp6(4),i.hij(" ",i.lcZ(13,14,"IMPORT_PUBLICATIONS.SEARCH")," "),i.xp6(2),i.Q6J("disabled",0===e.selected.selected.length),i.xp6(1),i.hij(" ",i.lcZ(16,16,"IMPORT_PUBLICATIONS.IMPORT")," "),i.xp6(2),i.Q6J("ngModel",e.userAsAuthor),i.xp6(1),i.hij(" ",i.lcZ(19,18,"IMPORT_PUBLICATIONS.ADD_MYSELF")," "),i.xp6(2),i.Q6J("ngIf",!e.firstSearchDone),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function bY(n,o){1&n&&i._UZ(0,"mat-spinner",17)}function wY(n,o){1&n&&(i.TgZ(0,"i"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED")," "))}function AY(n,o){1&n&&(i.TgZ(0,"mat-icon",28),i._uU(1,"check_circle"),i.qZA())}function vY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(),a=s.$implicit,r=s.index;return i.oxw(2).completePublication(a.id,r)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECKED_BUTTON")," "))}function CY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(2).incompletePublication(s.id)}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.NOT_CHECKED_BUTTON")," "))}function TY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",22),i.TgZ(1,"mat-expansion-panel-header",23),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).editPublication(a)}),i.TgZ(2,"mat-panel-title"),i._uU(3),i.YNc(4,wY,3,3,"i",3),i.YNc(5,AY,2,0,"mat-icon",24),i.qZA(),i.qZA(),i._UZ(6,"perun-web-apps-publication-detail",25),i.TgZ(7,"div",26),i.YNc(8,vY,3,3,"button",20),i.YNc(9,CY,3,3,"button",27),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw(2);i.Q6J("expanded",s.indexExpanded===t),i.xp6(3),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("publicationId",e.id),i.xp6(2),i.Q6J("ngIf",!s.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",s.completePublications.includes(e.id))}}function MY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).completeAllPublications()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"IMPORT_PUBLICATIONS.CHECK_ALL")," "))}function SY(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",31),i.ALo(1,"translate"),i.TgZ(2,"button",32),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).onSubmit()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.s9C("matTooltip",i.lcZ(1,4,"IMPORT_PUBLICATIONS.SUBMIT_TOOLTIP")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",e.completePublications.length===e.importedPublications.length),i.xp6(3),i.hij(" ",i.lcZ(4,6,"IMPORT_PUBLICATIONS.FINISH")," ")}}function kY(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"app-alert",15),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-accordion"),i.YNc(5,TY,10,7,"mat-expansion-panel",18),i.qZA(),i.TgZ(6,"div",19),i.YNc(7,MY,3,3,"button",20),i.qZA(),i.YNc(8,SY,5,8,"div",21),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,4,"IMPORT_PUBLICATIONS.IMPORTED_INFO")," "),i.xp6(3),i.Q6J("ngForOf",e.importedPublications),i.xp6(2),i.Q6J("ngIf",e.completePublications.length!==e.importedPublications.length),i.xp6(1),i.Q6J("ngIf",e.completePublications.length===e.importedPublications.length)}}const kD=bp,EY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},DY=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:ZN},{path:"service-access",component:WN},{path:"all-publications",component:v2},{path:"my-publications",component:S2},{path:"create-publication",component:k2},{path:"create-publication/import",component:(()=>{class n{constructor(e,t,s,a,r,c){this.cabinetService=e,this.storeService=t,this.notificator=s,this.translate=a,this.router=r,this.dialog=c,this.loading=!1,this.publicationSystems=[],this.pubSystem=new ki,this.publications=[],this.selected=new en(!0,[]),this.tableId="74",this.displayedColumns=["select","id","lock","title","reportedBy","year","category"],this.userAsAuthor=!0,this.importedPublications=[],this.importDone=!1,this.completePublications=[]}ngOnInit(){this.loading=!0,this.firstSearchDone=!1,this.userId=this.storeService.getPerunPrincipal().user.id,this.startYear=new ki(kD().subtract(1,"year")),this.endYear=new ki(kD()),this.cabinetService.getPublicationSystems().subscribe(e=>{this.publicationSystems=e.filter(t=>"INTERNAL"!==t.friendlyName),this.pubSystem.setValue(this.publicationSystems[0]),this.pubSystemNamespace=this.pubSystem.value.loginNamespace,this.loading=!1})}selectPubSystem(){this.pubSystemNamespace=this.pubSystem.value.loginNamespace}searchPublications(){this.loading=!0,this.firstSearchDone=!0,this.cabinetService.findExternalPublications(this.storeService.getPerunPrincipal().user.id,this.startYear.value.year(),this.endYear.value.year(),this.pubSystemNamespace).subscribe(e=>{this.publications=e,this.loading=!1},()=>this.loading=!1)}importPublications(e){if(this.loading=!0,0===e.length)return this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SUCCESS")),this.importDone=!0,this.indexExpanded=0,void(this.loading=!1);const t=e.shift();this.cabinetService.createPublication({publication:{title:t.title,categoryId:t.categoryId,year:t.year,isbn:t.isbn,doi:t.doi,main:t.main}}).subscribe(a=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:a.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(a),this.importPublications(e)},()=>this.loading=!1):(this.importedPublications.push(a),this.importPublications(e))},()=>this.loading=!1)}editPublication(e){this.indexExpanded=e===this.indexExpanded?-1:e}completePublication(e,t){this.completePublications.includes(e)||this.completePublications.push(e),this.indexExpanded=t!==this.importedPublications.length-1?t+1:-1}incompletePublication(e){this.completePublications.includes(e)&&(this.completePublications=this.completePublications.filter(t=>t!==e)),this.indexExpanded=-1}completeAllPublications(){const e=ts();e.width="500px",e.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(lR,e).afterClosed().subscribe(s=>{s&&this.onSubmit()})}onSubmit(){this.notificator.showSuccess(this.translate.instant("IMPORT_PUBLICATIONS.SHOW_FINISH")),this.router.navigate(["/my-publications"])}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ai),i.Y36(Mn),i.Y36(Fn),i.Y36(Ii),i.Y36(Ri),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-import-publications-page"]],features:[i._Bn([{provide:vi,useClass:m_,deps:[Pc]},{provide:Ms,useValue:EY}])],decls:10,vars:6,consts:[[1,"user-theme"],[1,"page-subtitle","d-flex"],[1,"add-icon","mr-1"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"input-width-300","mr-2"],[3,"formControl","closed"],["class","group-theme",3,"value",4,"ngFor","ngForOf"],[3,"startYear","endYear"],["mat-stroked-button","",1,"left-space",3,"click"],["mat-flat-button","","color","accent",1,"left-space",3,"disabled","click"],[1,"mt-3","left-space",3,"ngModel","ngModelChange"],["alert_type","info",4,"ngIf"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert",4,"ngIf"],[1,"group-theme",3,"value"],["alert_type","info"],[3,"publications","displayedColumns","selection","tableId","disabledRouting","allowAlert"],[1,"ml-auto","mr-auto"],[3,"expanded",4,"ngFor","ngForOf"],[1,"right-button"],["mat-flat-button","","class","width-100","color","accent",3,"click",4,"ngIf"],["class","right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"ngIf"],[3,"expanded"],[3,"click"],["color","accent","class","checked-icon",4,"ngIf"],[3,"publicationId"],[1,"fit-content"],["mat-stroked-button","","class","width-100",3,"click",4,"ngIf"],["color","accent",1,"checked-icon"],["mat-flat-button","","color","accent",1,"width-100",3,"click"],["mat-stroked-button","",1,"width-100",3,"click"],[1,"right-button",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i.TgZ(2,"span"),i.TgZ(3,"mat-icon",2),i._uU(4,"add_box"),i.qZA(),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.YNc(7,yY,22,20,"div",3),i.YNc(8,bY,1,0,"mat-spinner",4),i.YNc(9,kY,9,6,"div",3),i.qZA()),2&e&&(i.xp6(5),i.hij(" ",i.lcZ(6,4,"IMPORT_PUBLICATIONS.TITLE")," "),i.xp6(2),i.Q6J("ngIf",!t.importDone),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",t.importDone))},directives:[tn,b.O5,ls,Es,qd,ds,Ws,b.sg,Lc,uD,Bt,su,jd,Fa,_p,vn,SL,uE,dE,ML,y_,jc],pipes:[gt],styles:[".input-width-300[_ngcontent-%COMP%]{width:300px}.left-space[_ngcontent-%COMP%]{margin-left:10px}mat-panel-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:5px}.checked-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px}.right-button[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:20px;margin-left:auto;margin-right:0}.fit-content[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;margin-top:15px}.width-100[_ngcontent-%COMP%]{width:100%}"]}),n})()},{path:"create-publication/create",component:pY},{path:"authors",component:X2},{path:"authors/:authorId",component:iz},{path:"authors/:authorId/publication/:publicationId",component:y_},{path:"all-publications/:publicationId",component:y_},{path:"my-publications/:publicationId",component:y_},{path:"categories",component:OF},{path:"publication-systems",component:QF}];let xY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Rh.forRoot(DY,{preloadingStrategy:me,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],Rh]}),n})();const RY={provide:D.TP,useExisting:(0,i.Gpc)(()=>Tk),multi:!0};function PY(n){return new qP(n,"./assets/i18n/",".json")}function LY(n){const o={basePath:n.get("api_url")};return new qe(o)}const IY=n=>()=>n.loadConfigs();let OY=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ck),i.LFG(Ii))},n.\u0275mod=i.oAB({type:n,bootstrap:[VP]}),n.\u0275inj=i.cJS({providers:[Ck,{provide:i.ip1,useFactory:IY,multi:!0,deps:[ZP]},{provide:qe,useFactory:LY,deps:[Mn]},Tk,RY,{provide:$P,useClass:U1},_2],imports:[[Lo,Sd.forRoot({loader:{provide:Md,useFactory:PY,deps:[D.eN]}}),Lb,PH,WP,eh,D.JF,xY,Q0,Sk,KN,PB,bk,nm.zr.forRoot()]]}),n})();(0,i.G48)(),Po().bootstrapModule(OY).catch(n=>console.error(n))},1302:function(Y,U,w){var b;!function(i,T){var v={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function v(X,re,ee,ae,de){for(var Ie,Oe,Ve,Pt,xt,We,an,yt,ft,ue,fe,_e,ge;de>=64;){for(Ie=re[0],Oe=re[1],Ve=re[2],Pt=re[3],xt=re[4],We=re[5],an=re[6],yt=re[7],ue=0;ue<16;ue++)X[ue]=(255&ee[fe=ae+4*ue])<<24|(255&ee[fe+1])<<16|(255&ee[fe+2])<<8|255&ee[fe+3];for(ue=16;ue<64;ue++)X[ue]=((_e=((ft=X[ue-2])>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10)+X[ue-7]|0)+((ge=((ft=X[ue-15])>>>7|ft<<25)^(ft>>>18|ft<<14)^ft>>>3)+X[ue-16]|0);for(ue=0;ue<64;ue++)_e=(((xt>>>6|xt<<26)^(xt>>>11|xt<<21)^(xt>>>25|xt<<7))+(xt&We^~xt&an)|0)+(yt+(T[ue]+X[ue]|0)|0)|0,ge=((Ie>>>2|Ie<<30)^(Ie>>>13|Ie<<19)^(Ie>>>22|Ie<<10))+(Ie&Oe^Ie&Ve^Oe&Ve)|0,yt=an,an=We,We=xt,xt=Pt+_e|0,Pt=Ve,Ve=Oe,Oe=Ie,Ie=_e+ge|0;re[0]+=Ie,re[1]+=Oe,re[2]+=Ve,re[3]+=Pt,re[4]+=xt,re[5]+=We,re[6]+=an,re[7]+=yt,ae+=64,de-=64}return ae}var C=function(){function X(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return X.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},X.prototype.clean=function(){for(var re=0;re0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;64===this.bufferLength&&(v(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ae=v(this.temp,this.state,re,ae,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=re[ae++],ee--;return this},X.prototype.finish=function(re){if(!this.finished){var ee=this.bytesHashed,ae=this.bufferLength,de=ee/536870912|0,Ie=ee<<3,Oe=ee%64<56?64:128;this.buffer[ae]=128;for(var Ve=ae+1;Ve>>24&255,this.buffer[Oe-7]=de>>>16&255,this.buffer[Oe-6]=de>>>8&255,this.buffer[Oe-5]=de>>>0&255,this.buffer[Oe-4]=Ie>>>24&255,this.buffer[Oe-3]=Ie>>>16&255,this.buffer[Oe-2]=Ie>>>8&255,this.buffer[Oe-1]=Ie>>>0&255,v(this.temp,this.state,this.buffer,0,Oe),this.finished=!0}for(Ve=0;Ve<8;Ve++)re[4*Ve+0]=this.state[Ve]>>>24&255,re[4*Ve+1]=this.state[Ve]>>>16&255,re[4*Ve+2]=this.state[Ve]>>>8&255,re[4*Ve+3]=this.state[Ve]>>>0&255;return this},X.prototype.digest=function(){var re=new Uint8Array(this.digestLength);return this.finish(re),re},X.prototype._saveState=function(re){for(var ee=0;eethis.blockSize)(new C).update(re).finish(ee).clean();else for(var ae=0;ae1&&re.update(X),ee&&re.update(ee),re.update(ae),re.finish(X),ae[0]++}i.HMAC=E,i.hash=R,i.default=R,i.hmac=H;var N=new Uint8Array(i.digestLength);i.hkdf=function V(X,re,ee,ae){void 0===re&&(re=N),void 0===ae&&(ae=32);for(var de=new Uint8Array([1]),Ie=H(re,X),Oe=new E(Ie),Ve=new Uint8Array(Oe.digestLength),Pt=Ve.length,xt=new Uint8Array(ae),We=0;We>>24&255,Oe[1]=an>>>16&255,Oe[2]=an>>>8&255,Oe[3]=an>>>0&255,de.reset(),de.update(re),de.update(Oe),de.finish(Pt);for(var yt=0;yt=V.status}function E(N){try{N.dispatchEvent(new MouseEvent("click"))}catch(J){var V=document.createEvent("MouseEvents");V.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),N.dispatchEvent(V)}}var R="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,H=R.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=R.saveAs||("object"!=typeof window||window!==R?function(){}:"download"in HTMLAnchorElement.prototype&&!H?function(N,V,J){var X=R.URL||R.webkitURL,re=document.createElement("a");re.download=V=V||N.name||"download",re.rel="noopener","string"==typeof N?(re.href=N,re.origin===location.origin?E(re):C(re.href)?v(N,V,J):E(re,re.target="_blank")):(re.href=X.createObjectURL(N),setTimeout(function(){X.revokeObjectURL(re.href)},4e4),setTimeout(function(){E(re)},0))}:"msSaveOrOpenBlob"in navigator?function(N,V,J){if(V=V||N.name||"download","string"!=typeof N)navigator.msSaveOrOpenBlob(function T(N,V){return void 0===V?V={autoBom:!1}:"object"!=typeof V&&(console.warn("Deprecated: Expected third argument to be a object"),V={autoBom:!V}),V.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(N.type)?new Blob(["\ufeff",N],{type:N.type}):N}(N,J),V);else if(C(N))v(N,V,J);else{var X=document.createElement("a");X.href=N,X.target="_blank",setTimeout(function(){E(X)})}}:function(N,V,J,X){if((X=X||open("","_blank"))&&(X.document.title=X.document.body.innerText="downloading..."),"string"==typeof N)return v(N,V,J);var re="application/octet-stream"===N.type,ee=/constructor/i.test(R.HTMLElement)||R.safari,ae=/CriOS\/[\d]+/.test(navigator.userAgent);if((ae||re&&ee||H)&&"undefined"!=typeof FileReader){var de=new FileReader;de.onloadend=function(){var Ve=de.result;Ve=ae?Ve:Ve.replace(/^data:[^;]*;/,"data:attachment/file;"),X?X.location.href=Ve:location=Ve,X=null},de.readAsDataURL(N)}else{var Ie=R.URL||R.webkitURL,Oe=Ie.createObjectURL(N);X?X.location=Oe:location.href=Oe,X=null,setTimeout(function(){Ie.revokeObjectURL(Oe)},4e4)}});R.saveAs=B.saveAs=B,Y.exports=B}.apply(U,[]))&&(Y.exports=i)},7088:function(Y,U,w){!function(b){"use strict";b.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(T){return/^nm$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"vm":"VM":C?"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(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(Y,U,w){!function(b){"use strict";var i=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},T={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"]},v=function(R){return function(H,B,N,V){var J=i(H),X=T[R][i(H)];return 2===J&&(X=X[B?0:1]),X.replace(/%d/i,H)}},C=["\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"];b.defineLocale("ar-dz",{months:C,monthsShort:C,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(R){return"\u0645"===R},meridiem:function(R,H,B){return R<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:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},4519:function(Y,U,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(H){return 0===H?0:1===H?1:2===H?2:H%100>=3&&H%100<=10?3:H%100>=11?4:5},v={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"]},C=function(H){return function(B,N,V,J){var X=T(B),re=v[H][T(B)];return 2===X&&(re=re[N?0:1]),re.replace(/%d/i,B)}},E=["\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"];b.defineLocale("ar-ly",{months:E,monthsShort:E,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(H){return"\u0645"===H},meridiem:function(H,B,N){return H<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:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(H){return H.replace(/\u060c/g,",")},postformat:function(H){return H.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},7642:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.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(C){return"\u0645"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(Y,U,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\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("_"),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}})}(w(5439))},7038:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},C={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"]},E=function(B){return function(N,V,J,X){var re=v(N),ee=C[B][v(N)];return 2===re&&(ee=ee[V?0:1]),ee.replace(/%d/i,N)}},R=["\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"];b.defineLocale("ar",{months:R,monthsShort:R,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(B){return"\u0645"===B},meridiem:function(B,N,V){return B<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:E("s"),ss:E("s"),m:E("m"),mm:E("m"),h:E("h"),hh:E("h"),d:E("d"),dd:E("d"),M:E("M"),MM:E("M"),y:E("y"),yy:E("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return T[N]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(N){return i[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(Y,U,w){!function(b){"use strict";var i={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"};b.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\u0259nb\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(v){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(v)},meridiem:function(v,C,E){return v<4?"gec\u0259":v<12?"s\u0259h\u0259r":v<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(v){if(0===v)return v+"-\u0131nc\u0131";var C=v%10;return v+(i[C]||i[v%100-C]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(Y,U,w){!function(b){"use strict";function T(C,E,R){return"m"===R?E?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?E?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function i(C,E){var R=C.split("_");return E%10==1&&E%100!=11?R[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?R[1]:R[2]}({ss:E?"\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:E?"\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:E?"\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"}[R],+C)}b.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".split("_"),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:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,E,R){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(w(5439))},322:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},5903:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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_\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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E?C<4?C:C+12:"\u09ad\u09cb\u09b0"===E||"\u09b8\u0995\u09be\u09b2"===E?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===E?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===E||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(Y,U,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===E&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===E&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(Y,U,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.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_\u0f63\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(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===E&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===E&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===E?C+12:C},meridiem:function(C,E,R){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(Y,U,w){!function(b){"use strict";function i(ee,ae,de){return ee+" "+function C(ee,ae){return 2===ae?function E(ee){var ae={m:"v",b:"v",d:"z"};return void 0===ae[ee.charAt(0)]?ee:ae[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[de],ee)}function v(ee){return ee>9?v(ee%10):ee}var R=[/^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],H=/^(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,X=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];b.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:X,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:X,monthsRegex:H,monthsShortRegex:H,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:R,longMonthsParse:R,shortMonthsParse:R,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:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(v(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ae,de){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(Y,U,w){!function(b){"use strict";b.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:"%d 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(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7322:function(Y,U,w){!function(b){"use strict";var i="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),v=[/^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],C=/^(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 E(B){return B>1&&B<5&&1!=~~(B/10)}function R(B,N,V,J){var X=B+" ";switch(V){case"s":return N||J?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return N||J?X+(E(B)?"sekundy":"sekund"):X+"sekundami";case"m":return N?"minuta":J?"minutu":"minutou";case"mm":return N||J?X+(E(B)?"minuty":"minut"):X+"minutami";case"h":return N?"hodina":J?"hodinu":"hodinou";case"hh":return N||J?X+(E(B)?"hodiny":"hodin"):X+"hodinami";case"d":return N||J?"den":"dnem";case"dd":return N||J?X+(E(B)?"dny":"dn\xed"):X+"dny";case"M":return N||J?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return N||J?X+(E(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):X+"m\u011bs\xedci";case"y":return N||J?"rok":"rokem";case"yy":return N||J?X+(E(B)?"roky":"let"):X+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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:R,ss:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(Y,U,w){!function(b){"use strict";b.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(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\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}})}(w(5439))},2092:function(Y,U,w){!function(b){"use strict";b.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(T){var C="";return T>20?C=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+C},week:{dow:1,doy:4}})}(w(5439))},7387:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},9459:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[v+" Tage",v+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[v+" Monate",v+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[v+" Jahre",v+" Jahren"]};return C?H[E][0]:H[E][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(Y,U,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,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(C){return"\u0789\u078a"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(Y,U,w){!function(b){"use strict";b.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(v,C){return v?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[v.month()]:this._monthsNominativeEl[v.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(v,C,E){return v>11?E?"\u03bc\u03bc":"\u039c\u039c":E?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(v){return"\u03bc"===(v+"").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(v,C){var E=this._calendarEl[v],R=C&&C.hours();return function i(v){return"undefined"!=typeof Function&&v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}(E)&&(E=E.apply(C)),E.replace("{}",R%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}})}(w(5439))},4369:function(Y,U,w){!function(b){"use strict";b.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",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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9998:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")}})}(w(5439))},9615:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(Y,U,w){!function(b){"use strict";b.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(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,v,C){return T>11?C?"p.t.m.":"P.T.M.":C?"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}})}(w(5439))},8944:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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}})}(w(5439))},9116:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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"})}(w(5439))},3609:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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}})}(w(5439))},6866:function(Y,U,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),v=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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"})}(w(5439))},6725:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[v+"sekundi",v+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[v+" minuti",v+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[v+" tunni",v+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[v+" kuu",v+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[v+" aasta",v+" aastat"]};return C?H[E][2]?H[E][2]:H[E][1]:R?H[E][0]:H[E][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},6417:function(Y,U,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.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(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,E,R){return C<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"},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(C){return C.replace(/[\u06f0-\u06f9]/g,function(E){return T[E]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(Y,U,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function v(R,H,B,N){var V="";switch(B){case"s":return N?"muutaman sekunnin":"muutama sekunti";case"ss":V=N?"sekunnin":"sekuntia";break;case"m":return N?"minuutin":"minuutti";case"mm":V=N?"minuutin":"minuuttia";break;case"h":return N?"tunnin":"tunti";case"hh":V=N?"tunnin":"tuntia";break;case"d":return N?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":V=N?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return N?"kuukauden":"kuukausi";case"MM":V=N?"kuukauden":"kuukautta";break;case"y":return N?"vuoden":"vuosi";case"yy":V=N?"vuoden":"vuotta"}return function C(R,H){return R<10?H?T[R]:i[R]:R}(R,N)+" "+V}b.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(Y,U,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},6848:function(Y,U,w){!function(b){"use strict";b.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(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(Y,U,w){!function(b){"use strict";b.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(T,v){switch(v){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(Y,U,w){!function(b){"use strict";var v=/(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,C=[/^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];b.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:v,monthsShortRegex:v,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:C,longMonthsParse:C,shortMonthsParse:C,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(R,H){switch(H){case"D":return R+(1===R?"er":"");default:case"M":case"Q":case"DDD":case"d":return R+(1===R?"er":"e");case"w":case"W":return R+(1===R?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,E){return C?/-MMM-/.test(E)?T[C.month()]:i[C.month()]:i},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(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(Y,U,w){!function(b){"use strict";b.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(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(Y,U,w){!function(b){"use strict";b.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(H){return H+(1===H?"d":H%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(Y,U,w){!function(b){"use strict";b.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".split("_"),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(T){return 0===T.indexOf("un")?"n"+T:"en "+T},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}})}(w(5439))},2457:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={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:[v+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",v+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[v+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",v+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[v+" \u0935\u0930\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[v+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",v+" \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:[v+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",v+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[v+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",v+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?H[E][0]:H[E][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(v,C){return"D"===C?v+"\u0935\u0947\u0930":v},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(v,C){return 12===v&&(v=0),"\u0930\u093e\u0924\u0940"===C?v<4?v:v+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?v:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?v>12?v:v+12:"\u0938\u093e\u0902\u091c\u0947"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0930\u093e\u0924\u0940":v<12?"\u0938\u0915\u093e\u0933\u0940\u0902":v<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":v<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H={s:["thoddea sekondamni","thodde sekond"],ss:[v+" sekondamni",v+" sekond"],m:["eka mintan","ek minut"],mm:[v+" mintamni",v+" mintam"],h:["eka voran","ek vor"],hh:[v+" voramni",v+" voram"],d:["eka disan","ek dis"],dd:[v+" disamni",v+" dis"],M:["eka mhoinean","ek mhoino"],MM:[v+" mhoineamni",v+" mhoine"],y:["eka vorsan","ek voros"],yy:[v+" vorsamni",v+" vorsam"]};return R?H[E][0]:H[E][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(v,C){return"D"===C?v+"er":v},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(v,C){return 12===v&&(v=0),"rati"===C?v<4?v:v+12:"sokallim"===C?v:"donparam"===C?v>12?v:v+12:"sanje"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"rati":v<12?"sokallim":v<16?"donparam":v<20?"sanje":"rati"}})}(w(5439))},2641:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.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:"%d \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(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===E?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===E?C:"\u0aac\u0aaa\u0acb\u0ab0"===E?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(Y,U,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\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(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \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(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,v,C){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},v=[/^\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];b.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\u0932_\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:v,longMonthsParse:v,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(R){return R.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(H){return T[H]})},postformat:function(R){return R.replace(/\d/g,function(H){return i[H]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,H){return 12===R&&(R=0),"\u0930\u093e\u0924"===H?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===H?R:"\u0926\u094b\u092a\u0939\u0930"===H?R>=10?R:R+12:"\u0936\u093e\u092e"===H?R+12:void 0},meridiem:function(R,H,B){return R<4?"\u0930\u093e\u0924":R<10?"\u0938\u0941\u092c\u0939":R<17?"\u0926\u094b\u092a\u0939\u0930":R<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var R=v+" ";switch(E){case"ss":return R+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return R+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return R+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return R+(1===v?"dan":"dana");case"MM":return R+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return R+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(Y,U,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(E,R,H,B){var N=E;switch(H){case"s":return B||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return N+(B||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||R?" perc":" perce");case"mm":return N+(B||R?" perc":" perce");case"h":return"egy"+(B||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return N+(B||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||R?" nap":" napja");case"dd":return N+(B||R?" nap":" napja");case"M":return"egy"+(B||R?" h\xf3nap":" h\xf3napja");case"MM":return N+(B||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||R?" \xe9v":" \xe9ve");case"yy":return N+(B||R?" \xe9v":" \xe9ve")}return""}function v(E){return(E?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.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(E){return"u"===E.charAt(1).toLowerCase()},meridiem:function(E,R,H){return E<12?!0===H?"de":"DE":!0===H?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(Y,U,w){!function(b){"use strict";b.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(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<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(T,v){switch(v){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"pagi"===v?T:"siang"===v?T>=11?T:T+12:"sore"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"siang":T<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}})}(w(5439))},4205:function(Y,U,w){!function(b){"use strict";function i(C){return C%100==11||C%10!=1}function T(C,E,R,H){var B=C+" ";switch(R){case"s":return E||H?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(C)?B+(E||H?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return E?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(C)?B+(E||H?"m\xedn\xfatur":"m\xedn\xfatum"):E?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(C)?B+(E||H?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return E?"dagur":H?"dag":"degi";case"dd":return i(C)?E?B+"dagar":B+(H?"daga":"d\xf6gum"):E?B+"dagur":B+(H?"dag":"degi");case"M":return E?"m\xe1nu\xf0ur":H?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(C)?E?B+"m\xe1nu\xf0ir":B+(H?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):E?B+"m\xe1nu\xf0ur":B+(H?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return E||H?"\xe1r":"\xe1ri";case"yy":return i(C)?B+(E||H?"\xe1r":"\xe1rum"):B+(E||H?"\xe1r":"\xe1ri")}}b.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:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(Y,U,w){!function(b){"use strict";b.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(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},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}})}(w(5439))},4211:function(Y,U,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},1003:function(Y,U,w){!function(b){"use strict";b.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(T,v){return"\u5143"===v[1]?1:parseInt(v[1]||T,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(T){return"\u5348\u5f8c"===T},meridiem:function(T,v,C){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,v){switch(v){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},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"}})}(w(5439))},420:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"enjing"===v?T:"siyang"===v?T>=11?T:T+12:"sonten"===v||"ndalu"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"enjing":T<15?"siyang":T<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}})}(w(5439))},851:function(Y,U,w){!function(b){"use strict";b.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:"\u10d9\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(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(v,C,E){return"\u10d8"===E?C+"\u10e8\u10d8":C+E+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},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(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(Y,U,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.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:"\u17a2\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(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(Y,U,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.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:"%d \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(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===E?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===E?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===E?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(Y,U,w){!function(b){"use strict";b.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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,v,C){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(Y,U,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},v=["\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"];b.defineLocale("ku",{months:v,monthsShort:v,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(E){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(E)},meridiem:function(E,R,H){return E<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(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(R){return T[R]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(Y,U,w){!function(b){"use strict";function i(R,H,B,N){var V={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 H?V[B][0]:V[B][1]}function C(R){if(R=parseInt(R,10),isNaN(R))return!1;if(R<0)return!0;if(R<10)return 4<=R&&R<=7;if(R<100){var H=R%10;return C(0===H?R/10:H)}if(R<1e4){for(;R>=10;)R/=10;return C(R)}return C(R/=1e3)}b.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 T(R){return C(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R},past:function v(R){return C(R.substr(0,R.indexOf(" ")))?"viru "+R:"virun "+R},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(Y,U,w){!function(b){"use strict";b.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(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,v,C){return T<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(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(Y,U,w){!function(b){"use strict";var i={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_dien\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 v(B,N,V,J){return N?E(V)[0]:J?E(V)[1]:E(V)[2]}function C(B){return B%10==0||B>10&&B<20}function E(B){return i[B].split("_")}function R(B,N,V,J){var X=B+" ";return 1===B?X+v(0,N,V[0],J):N?X+(C(B)?E(V)[1]:E(V)[0]):J?X+E(V)[1]:X+(C(B)?E(V)[1]:E(V)[2])}b.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 T(B,N,V,J){return N?"kelios sekund\u0117s":J?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:R,m:v,mm:R,h:v,hh:R,d:v,dd:R,M:v,MM:R,y:v,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(Y,U,w){!function(b){"use strict";var i={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 T(H,B,N){return N?B%10==1&&B%100!=11?H[2]:H[3]:B%10==1&&B%100!=11?H[0]:H[1]}function v(H,B,N){return H+" "+T(i[N],H,B)}function C(H,B,N){return T(i[N],H,B)}b.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 E(H,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:v,m:C,mm:v,h:C,hh:v,d:C,dd:v,M:C,MM:v,y:C,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(Y,U,w){!function(b){"use strict";var i={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(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(Y,U,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5943:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10,C=T%100;return 0===T?T+"-\u0435\u0432":0===C?T+"-\u0435\u043d":C>10&&C<20?T+"-\u0442\u0438":1===v?T+"-\u0432\u0438":2===v?T+"-\u0440\u0438":7===v||8===v?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(Y,U,w){!function(b){"use strict";b.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:"%d \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(T,v){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===v&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===v||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===v?T+12:T},meridiem:function(T,v,C){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){switch(E){case"s":return C?"\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 v+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return v+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return v+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return v+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return v+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return v+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return v}}b.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(v){return"\u04ae\u0425"===v},meridiem:function(v,C,E){return v<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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(v,C){switch(C){case"d":case"D":case"DDD":return v+" \u04e9\u0434\u04e9\u0440";default:return v}}})}(w(5439))},6184:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function v(E,R,H,B){var N="";if(R)switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":N="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":N="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":N="%d \u0924\u093e\u0938";break;case"d":N="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":N="%d \u0926\u093f\u0935\u0938";break;case"M":N="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":N="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u0947"}else switch(H){case"s":N="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":N="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":N="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":N="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":N="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":N="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":N="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":N="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":N="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":N="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":N="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":N="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return N.replace(/%d/i,E)}b.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},preparse:function(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return T[R]})},postformat:function(E){return E.replace(/\d/g,function(R){return i[R]})},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(E,R){return 12===E&&(E=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?E:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?E>=12?E:E+12:void 0},meridiem:function(E,R,H){return E>=0&&E<6?"\u092a\u0939\u093e\u091f\u0947":E<12?"\u0938\u0915\u093e\u0933\u0940":E<17?"\u0926\u0941\u092a\u093e\u0930\u0940":E<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},485:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"pagi"===v?T:"tengahari"===v?T>=11?T:T+12:"petang"===v||"malam"===v?T+12:void 0},meridiem:function(T,v,C){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},6681:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2024:function(Y,U,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.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(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},8914:function(Y,U,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.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(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===E?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===E?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===E?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===E?C+12:void 0},meridiem:function(C,E,R){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<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}})}(w(5439))},2272:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],C=/^(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;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(Y,U,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),v=[/^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],C=/^(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;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,H){return R?/-MMM-/.test(H)?T[R.month()]:i[R.month()]:i},monthsRegex:C,monthsShortRegex:C,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:v,longMonthsParse:v,shortMonthsParse:v,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(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2797:function(Y,U,w){!function(b){"use strict";b.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:"%d 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(T,v){var C=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===v||"W"===v)&&(C="a"),T+C},week:{dow:1,doy:4}})}(w(5439))},7944:function(Y,U,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.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(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,E){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===E?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===E?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===E?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===E?C+12:void 0},meridiem:function(C,E,R){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(Y,U,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),v=[/^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 C(H){return H%10<5&&H%10>1&&~~(H/10)%10!=1}function E(H,B,N){var V=H+" ";switch(N){case"ss":return V+(C(H)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return V+(C(H)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return V+(C(H)?"godziny":"godzin");case"ww":return V+(C(H)?"tygodnie":"tygodni");case"MM":return V+(C(H)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return V+(C(H)?"lata":"lat")}}b.defineLocale("pl",{months:function(H,B){return H?/D MMMM/.test(B)?T[H.month()]:i[H.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:v,longMonthsParse:v,shortMonthsParse:v,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:E,m:E,mm:E,h:E,hh:E,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:E,M:"miesi\u0105c",MM:E,y:"rok",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(Y,U,w){!function(b){"use strict";b.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"})}(w(5439))},4225:function(Y,U,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5128:function(Y,U,w){!function(b){"use strict";function i(v,C,E){var H=" ";return(v%100>=20||v>=100&&v%100==0)&&(H=" de "),v+H+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[E]}b.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:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(Y,U,w){!function(b){"use strict";function T(E,R,H){return"m"===H?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":E+" "+function i(E,R){var H=E.split("_");return R%10==1&&R%100!=11?H[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?H[1]:H[2]}({ss:R?"\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:R?"\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"}[H],+E)}var v=[/^\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];b.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:v,longMonthsParse:v,shortMonthsParse:v,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?\.|\u043c\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(E){if(E.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(E){if(E.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:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(E)},meridiem:function(E,R,H){return E<4?"\u043d\u043e\u0447\u0438":E<12?"\u0443\u0442\u0440\u0430":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(E,R){switch(R){case"M":case"d":case"DDD":return E+"-\u0439";case"D":return E+"-\u0433\u043e";case"w":case"W":return E+"-\u044f";default:return E}},week:{dow:1,doy:4}})}(w(5439))},2525:function(Y,U,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},3123:function(Y,U,w){!function(b){"use strict";b.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(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,v,C){return T>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(Y,U,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function v(R){return R>1&&R<5}function C(R,H,B,N){var V=R+" ";switch(B){case"s":return H||N?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return H||N?V+(v(R)?"sekundy":"sek\xfand"):V+"sekundami";case"m":return H?"min\xfata":N?"min\xfatu":"min\xfatou";case"mm":return H||N?V+(v(R)?"min\xfaty":"min\xfat"):V+"min\xfatami";case"h":return H?"hodina":N?"hodinu":"hodinou";case"hh":return H||N?V+(v(R)?"hodiny":"hod\xedn"):V+"hodinami";case"d":return H||N?"de\u0148":"d\u0148om";case"dd":return H||N?V+(v(R)?"dni":"dn\xed"):V+"d\u0148ami";case"M":return H||N?"mesiac":"mesiacom";case"MM":return H||N?V+(v(R)?"mesiace":"mesiacov"):V+"mesiacmi";case"y":return H||N?"rok":"rokom";case"yy":return H||N?V+(v(R)?"roky":"rokov"):V+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,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:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(Y,U,w){!function(b){"use strict";function i(v,C,E,R){var H=v+" ";switch(E){case"s":return C||R?"nekaj sekund":"nekaj sekundami";case"ss":return H+(1===v?C?"sekundo":"sekundi":2===v?C||R?"sekundi":"sekundah":v<5?C||R?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return H+(1===v?C?"minuta":"minuto":2===v?C||R?"minuti":"minutama":v<5?C||R?"minute":"minutami":C||R?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return H+(1===v?C?"ura":"uro":2===v?C||R?"uri":"urama":v<5?C||R?"ure":"urami":C||R?"ur":"urami");case"d":return C||R?"en dan":"enim dnem";case"dd":return H+(1===v?C||R?"dan":"dnem":2===v?C||R?"dni":"dnevoma":C||R?"dni":"dnevi");case"M":return C||R?"en mesec":"enim mesecem";case"MM":return H+(1===v?C||R?"mesec":"mesecem":2===v?C||R?"meseca":"mesecema":v<5?C||R?"mesece":"meseci":C||R?"mesecev":"meseci");case"y":return C||R?"eno leto":"enim letom";case"yy":return H+(1===v?C||R?"leto":"letom":2===v?C||R?"leti":"letoma":v<5?C||R?"leta":"leti":C||R?"let":"leti")}}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(Y,U,w){!function(b){"use strict";b.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(T){return"M"===T.charAt(0)},meridiem:function(T,v,C){return T<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}})}(w(5439))},2872:function(Y,U,w){!function(b){"use strict";var i={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(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.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\u0432._\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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"\u0434\u0430\u043d",dd:i.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:i.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(Y,U,w){!function(b){"use strict";var i={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(v,C){return 1===v?C[0]:v>=2&&v<=4?C[1]:C[2]},translate:function(v,C,E){var R=i.words[E];return 1===E.length?C?R[0]:R[1]:v+" "+i.correctGrammaticalCase(v,R)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(Y,U,w){!function(b){"use strict";b.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",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:"[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(T,v,C){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,v){return 12===T&&(T=0),"ekuseni"===v?T:"emini"===v?T>=11?T:T+12:"entsambama"===v||"ebusuku"===v?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?":e":1===v||2===v?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2732:function(Y,U,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.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(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(E){return T[E]})},postformat:function(C){return C.replace(/\d/g,function(E){return i[E]})},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(C,E,R){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,E){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===E?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===E||"\u0b95\u0bbe\u0bb2\u0bc8"===E||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===E&&C>=10?C:C+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===v?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===v?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===v?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===v?T+12:void 0},meridiem:function(T,v,C){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v,C){return 12===v&&(v=0),"\u0448\u0430\u0431"===C?v<4?v:v+12:"\u0441\u0443\u0431\u04b3"===C?v:"\u0440\u04ef\u0437"===C?v>=11?v:v+12:"\u0431\u0435\u0433\u043e\u04b3"===C?v+12:void 0},meridiem:function(v,C,E){return v<4?"\u0448\u0430\u0431":v<11?"\u0441\u0443\u0431\u04b3":v<16?"\u0440\u04ef\u0437":v<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(v){return v+(i[v]||i[v%10]||i[v>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(Y,U,w){!function(b){"use strict";b.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(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,v,C){return T<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"}})}(w(5439))},1310:function(Y,U,w){!function(b){"use strict";var i={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"};b.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] LT",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(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'unjy";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(Y,U,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(Y,U,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(H,B,N,V){var J=function E(H){var B=Math.floor(H%1e3/100),N=Math.floor(H%100/10),V=H%10,J="";return B>0&&(J+=i[B]+"vatlh"),N>0&&(J+=(""!==J?" ":"")+i[N]+"maH"),V>0&&(J+=(""!==J?" ":"")+i[V]),""===J?"pagh":J}(H);switch(N){case"ss":return J+" lup";case"mm":return J+" tup";case"hh":return J+" rep";case"dd":return J+" jaj";case"MM":return J+" jar";case"yy":return J+" DIS"}}b.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 T(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==H.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==H.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function v(H){var B=H;return-1!==H.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==H.indexOf("jar")?B.slice(0,-3)+"wen":-1!==H.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(Y,U,w){!function(b){"use strict";var i={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"};b.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(v,C,E){return v<12?E?"\xf6\xf6":"\xd6\xd6":E?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(v){return"\xf6s"===v||"\xd6S"===v},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(v,C){switch(C){case"d":case"D":case"Do":case"DD":return v;default:if(0===v)return v+"'\u0131nc\u0131";var E=v%10;return v+(i[E]||i[v%100-E]||i[v>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(Y,U,w){!function(b){"use strict";function T(v,C,E,R){var H={s:["viensas secunds","'iensas secunds"],ss:[v+" secunds",v+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[v+" m\xeduts",v+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[v+" \xfeoras",v+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[v+" ziuas",v+" ziuas"],M:["'n mes","'iens mes"],MM:[v+" mesen",v+" mesen"],y:["'n ar","'iens ar"],yy:[v+" ars",v+" ars"]};return R||C?H[E][0]:H[E][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_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(v){return"d'o"===v.toLowerCase()},meridiem:function(v,C,E){return v>11?E?"d'o":"D'O":E?"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:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(Y,U,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\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}})}(w(5439))},1595:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},6050:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===v||"\u0633\u06d5\u06be\u06d5\u0631"===v||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===v?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===v||"\u0643\u06d5\u0686"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":E<900?"\u0633\u06d5\u06be\u06d5\u0631":E<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":E<1230?"\u0686\u06c8\u0634":E<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:"%d \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(T,v){switch(v){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(Y,U,w){!function(b){"use strict";function T(R,H,B){return"m"===B?H?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?H?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+function i(R,H){var B=R.split("_");return H%10==1&&H%100!=11?B[0]:H%10>=2&&H%10<=4&&(H%100<10||H%100>=20)?B[1]:B[2]}({ss:H?"\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:H?"\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:H?"\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"}[B],+R)}function C(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.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 v(R,H){var B={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===R?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):R?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(H)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(H)?"genitive":"nominative"][R.day()]:B.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:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\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:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(R){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(R)},meridiem:function(R,H,B){return R<4?"\u043d\u043e\u0447\u0456":R<12?"\u0440\u0430\u043d\u043a\u0443":R<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(R,H){switch(H){case"M":case"d":case"DDD":case"w":case"W":return R+"-\u0439";case"D":return R+"-\u0433\u043e";default:return R}},week:{dow:1,doy:7}})}(w(5439))},6077:function(Y,U,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,E,R){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},2862:function(Y,U,w){!function(b){"use strict";b.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}})}(w(5439))},8093:function(Y,U,w){!function(b){"use strict";b.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(T){return/^ch$/i.test(T)},meridiem:function(T,v,C){return T<12?C?"sa":"SA":C?"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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(Y,U,w){!function(b){"use strict";b.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(T){var v=T%10;return T+(1==~~(T%100/10)?"th":1===v?"st":2===v?"nd":3===v?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(Y,U,w){!function(b){"use strict";b.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_\u1eb8t_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}})}(w(5439))},7908:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:T>=11?T:T+12},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},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}})}(w(5439))},8867:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1200?"\u4e0a\u5348":1200===E?"\u4e2d\u5348":E<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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},1133:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},3291:function(Y,U,w){!function(b){"use strict";b.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(T,v){return 12===T&&(T=0),"\u51cc\u6668"===v||"\u65e9\u4e0a"===v||"\u4e0a\u5348"===v?T:"\u4e2d\u5348"===v?T>=11?T:T+12:"\u4e0b\u5348"===v||"\u665a\u4e0a"===v?T+12:void 0},meridiem:function(T,v,C){var E=100*T+v;return E<600?"\u51cc\u6668":E<900?"\u65e9\u4e0a":E<1130?"\u4e0a\u5348":E<1230?"\u4e2d\u5348":E<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(T,v){switch(v){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},5439:function(Y,U,w){(Y=w.nmd(Y)).exports=function(){"use strict";var b,ae;function i(){return b.apply(null,arguments)}function v(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function C(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function E(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function R(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(E(_,S))return!1;return!0}function H(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function N(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function V(_,S){var F,L=[];for(F=0;F<_.length;++F)L.push(S(_[F],F));return L}function J(_,S){for(var L in S)E(S,L)&&(_[L]=S[L]);return E(S,"toString")&&(_.toString=S.toString),E(S,"valueOf")&&(_.valueOf=S.valueOf),_}function X(_,S,L,F){return gu(_,S,L,F,!0).utc()}function ee(_){return null==_._pf&&(_._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}),_._pf}function de(_){if(null==_._isValid){var S=ee(_),L=ae.call(S.parsedDateParts,function(G){return null!=G}),F=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&L);if(_._strict&&(F=F&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return F;_._isValid=F}return _._isValid}function Ie(_){var S=X(NaN);return null!=_?J(ee(S),_):ee(S).userInvalidated=!0,S}ae=Array.prototype.some?Array.prototype.some:function(_){var F,S=Object(this),L=S.length>>>0;for(F=0;F0)for(L=0;L=0?L?"+":"":"-")+Math.pow(10,Math.max(0,S-F.length)).toString().substr(1)+F}var Xe=/(\[[^\[]*\])|(\\)?([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}|x|X|zz?|ZZ?|.)/g,lt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nn={},pi={};function Ge(_,S,L,F){var G=F;"string"==typeof F&&(G=function(){return this[F]()}),_&&(pi[_]=G),S&&(pi[S[0]]=function(){return _i(G.apply(this,arguments),S[1],S[2])}),L&&(pi[L]=function(){return this.localeData().ordinal(G.apply(this,arguments),_)})}function ri(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function xn(_,S){return _.isValid()?(S=Yi(S,_.localeData()),Nn[S]=Nn[S]||function Ro(_){var L,F,S=_.match(Xe);for(L=0,F=S.length;L=0&<.test(_);)_=_.replace(lt,F),lt.lastIndex=0,L-=1;return _}var Hi={};function Wt(_,S){var L=_.toLowerCase();Hi[L]=Hi[L+"s"]=Hi[S]=_}function pn(_){return"string"==typeof _?Hi[_]||Hi[_.toLowerCase()]:void 0}function ve(_){var L,F,S={};for(F in _)E(_,F)&&(L=pn(F))&&(S[L]=_[F]);return S}var oe={};function ne(_,S){oe[_]=S}function Se(_){return _%4==0&&_%100!=0||_%400==0}function He(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Ae(_){var S=+_,L=0;return 0!==S&&isFinite(S)&&(L=He(S)),L}function je(_,S){return function(L){return null!=L?(Ei(this,_,L),i.updateOffset(this,S),this):wt(this,_)}}function wt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function Ei(_,S,L){_.isValid()&&!isNaN(L)&&("FullYear"===S&&Se(_.year())&&1===_.month()&&29===_.date()?(L=Ae(L),_._d["set"+(_._isUTC?"UTC":"")+S](L,_.month(),gi(L,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](L))}var D,Di=/\d/,tt=/\d\d/,Ue=/\d{3}/,Rn=/\d{4}/,zt=/[+-]?\d{6}/,pt=/\d\d?/,is=/\d\d\d\d?/,Bn=/\d\d\d\d\d\d?/,Pn=/\d{1,3}/,nl=/\d{1,4}/,Io=/[+-]?\d{1,6}/,to=/\d+/,io=/[+-]?\d+/,Yn=/Z|[+-]\d\d:?\d\d/gi,sr=/Z|[+-]\d\d(?::?\d\d)?/gi,Br=/[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 Pe(_,S,L){D[_]=fe(S)?S:function(F,G){return F&&L?L:S}}function yi(_,S){return E(D,_)?D[_](S._strict,S._locale):new RegExp(function sn(_){return qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,L,F,G,se){return L||F||G||se}))}(_))}function qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var jn={};function dt(_,S){var L,F=S;for("string"==typeof _&&(_=[_]),B(S)&&(F=function(G,se){se[S]=Ae(G)}),L=0;L<_.length;L++)jn[_[L]]=F}function xi(_,S){dt(_,function(L,F,G,se){G._w=G._w||{},S(L,G._w,G,se)})}function ai(_,S,L){null!=S&&E(jn,_)&&jn[_](S,L._a,L,_)}var Zt;function gi(_,S){if(isNaN(_)||isNaN(S))return NaN;var L=function mn(_,S){return(_%S+S)%S}(S,12);return _+=(S-L)/12,1===L?Se(_)?29:28:31-L%7%2}Zt=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Cn=je("FullYear",!0);function ja(_,S,L,F,G,se,me){var Qe;return _<100&&_>=0?(Qe=new Date(_+400,S,L,F,G,se,me),isFinite(Qe.getFullYear())&&Qe.setFullYear(_)):Qe=new Date(_,S,L,F,G,se,me),Qe}function zo(_){var S,L;return _<100&&_>=0?((L=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,L)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function so(_,S,L){var F=7+S-L;return-(7+zo(_,0,F).getUTCDay()-S)%7+F-1}function qn(_,S,L,F,G){var Dt,li,Qe=1+7*(S-1)+(7+L-F)%7+so(_,F,G);return Qe<=0?li=Fo(Dt=_-1)+Qe:Qe>Fo(_)?(Dt=_+1,li=Qe-Fo(_)):(Dt=_,li=Qe),{year:Dt,dayOfYear:li}}function ar(_,S,L){var se,me,F=so(_.year(),S,L),G=Math.floor((_.dayOfYear()-F-1)/7)+1;return G<1?se=G+Ps(me=_.year()-1,S,L):G>Ps(_.year(),S,L)?(se=G-Ps(_.year(),S,L),me=_.year()+1):(me=_.year(),se=G),{week:se,year:me}}function Ps(_,S,L){var F=so(_,S,L),G=so(_+1,S,L);return(Fo(_)-F+G)/7}Ge("w",["ww",2],"wo","week"),Ge("W",["WW",2],"Wo","isoWeek"),Wt("week","w"),Wt("isoWeek","W"),ne("week",5),ne("isoWeek",5),Pe("w",pt),Pe("ww",pt,tt),Pe("W",pt),Pe("WW",pt,tt),xi(["w","ww","W","WW"],function(_,S,L,F){S[F.substr(0,1)]=Ae(_)});function ke(_,S){return _.slice(S,7).concat(_.slice(0,S))}Ge("d",0,"do","day"),Ge("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Ge("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Ge("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Ge("e",0,0,"weekday"),Ge("E",0,0,"isoWeekday"),Wt("day","d"),Wt("weekday","e"),Wt("isoWeekday","E"),ne("day",11),ne("weekday",11),ne("isoWeekday",11),Pe("d",pt),Pe("e",pt),Pe("E",pt),Pe("dd",function(_,S){return S.weekdaysMinRegex(_)}),Pe("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Pe("dddd",function(_,S){return S.weekdaysRegex(_)}),xi(["dd","ddd","dddd"],function(_,S,L,F){var G=L._locale.weekdaysParse(_,F,L._strict);null!=G?S.d=G:ee(L).invalidWeekday=_}),xi(["d","e","E"],function(_,S,L,F){S[F]=Ae(_)});var du="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ji="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ui=Br,hu=Br,Ua=Br;function cr(_,S,L){var F,G,se,me=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)se=X([2e3,1]).day(F),this._minWeekdaysParse[F]=this.weekdaysMin(se,"").toLocaleLowerCase(),this._shortWeekdaysParse[F]=this.weekdaysShort(se,"").toLocaleLowerCase(),this._weekdaysParse[F]=this.weekdays(se,"").toLocaleLowerCase();return L?"dddd"===S?-1!==(G=Zt.call(this._weekdaysParse,me))?G:null:"ddd"===S?-1!==(G=Zt.call(this._shortWeekdaysParse,me))?G:null:-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:"dddd"===S?-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._shortWeekdaysParse,me))||-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:"ddd"===S?-1!==(G=Zt.call(this._shortWeekdaysParse,me))||-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._minWeekdaysParse,me))?G:null:-1!==(G=Zt.call(this._minWeekdaysParse,me))||-1!==(G=Zt.call(this._weekdaysParse,me))||-1!==(G=Zt.call(this._shortWeekdaysParse,me))?G:null}function Va(){function _(hn,wn){return wn.length-hn.length}var se,me,Qe,Dt,li,S=[],L=[],F=[],G=[];for(se=0;se<7;se++)me=X([2e3,1]).day(se),Qe=qe(this.weekdaysMin(me,"")),Dt=qe(this.weekdaysShort(me,"")),li=qe(this.weekdays(me,"")),S.push(Qe),L.push(Dt),F.push(li),G.push(Qe),G.push(Dt),G.push(li);S.sort(_),L.sort(_),F.sort(_),G.sort(_),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Ur(){return this.hours()%12||12}function Tn(_,S){Ge(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function fs(_,S){return S._meridiemParse}Ge("H",["HH",2],0,"hour"),Ge("h",["hh",2],0,Ur),Ge("k",["kk",2],0,function qa(){return this.hours()||24}),Ge("hmm",0,0,function(){return""+Ur.apply(this)+_i(this.minutes(),2)}),Ge("hmmss",0,0,function(){return""+Ur.apply(this)+_i(this.minutes(),2)+_i(this.seconds(),2)}),Ge("Hmm",0,0,function(){return""+this.hours()+_i(this.minutes(),2)}),Ge("Hmmss",0,0,function(){return""+this.hours()+_i(this.minutes(),2)+_i(this.seconds(),2)}),Tn("a",!0),Tn("A",!1),Wt("hour","h"),ne("hour",13),Pe("a",fs),Pe("A",fs),Pe("H",pt),Pe("h",pt),Pe("k",pt),Pe("HH",pt,tt),Pe("hh",pt,tt),Pe("kk",pt,tt),Pe("hmm",is),Pe("hmmss",Bn),Pe("Hmm",is),Pe("Hmmss",Bn),dt(["H","HH"],3),dt(["k","kk"],function(_,S,L){var F=Ae(_);S[3]=24===F?0:F}),dt(["a","A"],function(_,S,L){L._isPm=L._locale.isPM(_),L._meridiem=_}),dt(["h","hh"],function(_,S,L){S[3]=Ae(_),ee(L).bigHour=!0}),dt("hmm",function(_,S,L){var F=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F)),ee(L).bigHour=!0}),dt("hmmss",function(_,S,L){var F=_.length-4,G=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F,2)),S[5]=Ae(_.substr(G)),ee(L).bigHour=!0}),dt("Hmm",function(_,S,L){var F=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F))}),dt("Hmmss",function(_,S,L){var F=_.length-4,G=_.length-2;S[3]=Ae(_.substr(0,F)),S[4]=Ae(_.substr(F,2)),S[5]=Ae(_.substr(G))});var rl=je("Hours",!0);var co,Ga={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:ns,monthsShort:$t,week:{dow:0,doy:6},weekdays:du,weekdaysMin:jr,weekdaysShort:ji,meridiemParse:/[ap]\.?m?\.?/i},di={},lr={};function lo(_,S){var L,F=Math.min(_.length,S.length);for(L=0;L0;){if(G=ni(se.slice(0,L).join("-")))return G;if(F&&F.length>=L&&lo(se,F)>=L-1)break;L--}S++}return co}(_)}function pe(_){var S,L=_._a;return L&&-2===ee(_).overflow&&(S=L[1]<0||L[1]>11?1:L[2]<1||L[2]>gi(L[0],L[1])?2:L[3]<0||L[3]>24||24===L[3]&&(0!==L[4]||0!==L[5]||0!==L[6])?3:L[4]<0||L[4]>59?4:L[5]<0||L[5]>59?5:L[6]<0||L[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var be=/^\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)?)?$/,Ze=/^\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)?)?$/,Xt=/Z|[+-]\d\d(?::?\d\d)?/,Yt=[["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]],Mt=[["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/]],Nt=/^\/?Date\((-?\d+)/i,zi=/^(?:(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}))$/,hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ci(_){var S,L,se,me,Qe,Dt,F=_._i,G=be.exec(F)||Ze.exec(F);if(G){for(ee(_).iso=!0,S=0,L=Yt.length;S7)&&(Dt=!0)):(se=_._locale._week.dow,me=_._locale._week.doy,li=ar(St(),se,me),L=hr(S.gg,_._a[0],li.year),F=hr(S.w,li.week),null!=S.d?((G=S.d)<0||G>6)&&(Dt=!0):null!=S.e?(G=S.e+se,(S.e<0||S.e>6)&&(Dt=!0)):G=se),F<1||F>Ps(L,se,me)?ee(_)._overflowWeeks=!0:null!=Dt?ee(_)._overflowWeekday=!0:(Qe=qn(L,F,G,se,me),_._a[0]=Qe.year,_._dayOfYear=Qe.dayOfYear)}(_),null!=_._dayOfYear&&(me=hr(_._a[0],G[0]),(_._dayOfYear>Fo(me)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),L=zo(me,0,_._dayOfYear),_._a[1]=L.getUTCMonth(),_._a[2]=L.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=F[S]=G[S];for(;S<7;S++)_._a[S]=F[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?zo:ja).apply(null,F),se=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==se&&(ee(_).weekdayMismatch=!0)}}function Ft(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var L,F,G,se,me,li,S=""+_._i,Qe=S.length,Dt=0;for(G=Yi(_._f,_._locale).match(Xe)||[],L=0;L0&&ee(_).unusedInput.push(me),S=S.slice(S.indexOf(F)+F.length),Dt+=F.length),pi[se]?(F?ee(_).empty=!1:ee(_).unusedTokens.push(se),ai(se,F,_)):_._strict&&!F&&ee(_).unusedTokens.push(se);ee(_).charsLeftOver=Qe-Dt,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function nh(_,S,L){var F;return null==L?S:null!=_.meridiemHour?_.meridiemHour(S,L):(null!=_.isPM&&((F=_.isPM(L))&&S<12&&(S+=12),!F&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==(li=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear(li,_._a[0])),cl(_),pe(_)}else dr(_);else ci(_)}function os(_){var S=_._i,L=_._f;return _._locale=_._locale||$(_._l),null===S||void 0===L&&""===S?Ie({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),We(S)?new xt(pe(S)):(N(S)?_._d=S:v(L)?function qi(_){var S,L,F,G,se,me,Qe=!1;if(0===_._f.length)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for(G=0;G<_._f.length;G++)se=0,me=!1,S=Pt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[G],Ft(S),de(S)&&(me=!0),se+=ee(S).charsLeftOver,se+=10*ee(S).unusedTokens.length,ee(S).score=se,Qe?sethis?this:_:Ie()});function Ka(_,S){var L,F;if(1===S.length&&v(S[0])&&(S=S[0]),!S.length)return St();for(L=S[0],F=1;F=0?new Date(_+400,S,L)-ea:new Date(_,S,L).valueOf()}function tc(_,S,L){return _<100&&_>=0?Date.UTC(_+400,S,L)-ea:Date.UTC(_,S,L)}function mi(_,S){return S.erasAbbrRegex(_)}function Du(){var G,se,_=[],S=[],L=[],F=[],me=this.eras();for(G=0,se=me.length;G(se=Ps(_,F,G))&&(S=se),xp.call(this,_,S,L,F,G))}function xp(_,S,L,F,G){var se=qn(_,S,L,F,G),me=zo(se.year,0,se.dayOfYear);return this.year(me.getUTCFullYear()),this.month(me.getUTCMonth()),this.date(me.getUTCDate()),this}Ge("N",0,0,"eraAbbr"),Ge("NN",0,0,"eraAbbr"),Ge("NNN",0,0,"eraAbbr"),Ge("NNNN",0,0,"eraName"),Ge("NNNNN",0,0,"eraNarrow"),Ge("y",["y",1],"yo","eraYear"),Ge("y",["yy",2],0,"eraYear"),Ge("y",["yyy",3],0,"eraYear"),Ge("y",["yyyy",4],0,"eraYear"),Pe("N",mi),Pe("NN",mi),Pe("NNN",mi),Pe("NNNN",function Dp(_,S){return S.erasNameRegex(_)}),Pe("NNNNN",function bh(_,S){return S.erasNarrowRegex(_)}),dt(["N","NN","NNN","NNNN","NNNNN"],function(_,S,L,F){var G=L._locale.erasParse(_,F,L._strict);G?ee(L).era=G:ee(L).invalidEra=_}),Pe("y",to),Pe("yy",to),Pe("yyy",to),Pe("yyyy",to),Pe("yo",function _s(_,S){return S._eraYearOrdinalRegex||to}),dt(["y","yy","yyy","yyyy"],0),dt(["yo"],function(_,S,L,F){var G;L._locale._eraYearOrdinalRegex&&(G=_.match(L._locale._eraYearOrdinalRegex)),S[0]=L._locale.eraYearOrdinalParse?L._locale.eraYearOrdinalParse(_,G):parseInt(_,10)}),Ge(0,["gg",2],0,function(){return this.weekYear()%100}),Ge(0,["GG",2],0,function(){return this.isoWeekYear()%100}),yl("gggg","weekYear"),yl("ggggg","weekYear"),yl("GGGG","isoWeekYear"),yl("GGGGG","isoWeekYear"),Wt("weekYear","gg"),Wt("isoWeekYear","GG"),ne("weekYear",1),ne("isoWeekYear",1),Pe("G",io),Pe("g",io),Pe("GG",pt,tt),Pe("gg",pt,tt),Pe("GGGG",nl,Rn),Pe("gggg",nl,Rn),Pe("GGGGG",Io,zt),Pe("ggggg",Io,zt),xi(["gggg","ggggg","GGGG","GGGGG"],function(_,S,L,F){S[F.substr(0,2)]=Ae(_)}),xi(["gg","GG"],function(_,S,L,F){S[F]=i.parseTwoDigitYear(_)}),Ge("Q",0,"Qo","quarter"),Wt("quarter","Q"),ne("quarter",7),Pe("Q",Di),dt("Q",function(_,S){S[1]=3*(Ae(_)-1)}),Ge("D",["DD",2],"Do","date"),Wt("date","D"),ne("date",9),Pe("D",pt),Pe("DD",pt,tt),Pe("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],2),dt("Do",function(_,S){S[2]=Ae(_.match(pt)[0])});var dn=je("Date",!0);Ge("DDD",["DDDD",3],"DDDo","dayOfYear"),Wt("dayOfYear","DDD"),ne("dayOfYear",4),Pe("DDD",Pn),Pe("DDDD",Ue),dt(["DDD","DDDD"],function(_,S,L){L._dayOfYear=Ae(_)}),Ge("m",["mm",2],0,"minute"),Wt("minute","m"),ne("minute",14),Pe("m",pt),Pe("mm",pt,tt),dt(["m","mm"],4);var nc=je("Minutes",!1);Ge("s",["ss",2],0,"second"),Wt("second","s"),ne("second",15),Pe("s",pt),Pe("ss",pt,tt),dt(["s","ss"],5);var as,Lu,sc=je("Seconds",!1);for(Ge("S",0,0,function(){return~~(this.millisecond()/100)}),Ge(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ge(0,["SSS",3],0,"millisecond"),Ge(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Ge(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Ge(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Ge(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Ge(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Ge(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Wt("millisecond","ms"),ne("millisecond",16),Pe("S",Pn,Di),Pe("SS",Pn,tt),Pe("SSS",Pn,Ue),as="SSSS";as.length<=9;as+="S")Pe(as,to);function Rp(_,S){S[6]=Ae(1e3*("0."+_))}for(as="S";as.length<=9;as+="S")dt(as,Rp);Lu=je("Milliseconds",!1),Ge("z",0,0,"zoneAbbr"),Ge("zz",0,0,"zoneName");var Re=xt.prototype;function br(_){return _}Re.add=hl,Re.calendar=function In(_,S){1===arguments.length&&(arguments[0]?bn(arguments[0])?(_=arguments[0],S=void 0):uh(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var L=_||St(),F=Za(L,this).startOf("day"),G=i.calendarFormat(this,F)||"sameElse",se=S&&(fe(S[G])?S[G].call(this,L):S[G]);return this.format(se||this.localeData().calendar(G,this,St(L)))},Re.clone=function dh(){return new xt(this)},Re.diff=function Zr(_,S,L){var F,G,se;if(!this.isValid())return NaN;if(!(F=Za(_,this)).isValid())return NaN;switch(G=6e4*(F.utcOffset()-this.utcOffset()),S=pn(S)){case"year":se=ec(this,F)/12;break;case"month":se=ec(this,F);break;case"quarter":se=ec(this,F)/3;break;case"second":se=(this-F)/1e3;break;case"minute":se=(this-F)/6e4;break;case"hour":se=(this-F)/36e5;break;case"day":se=(this-F-G)/864e5;break;case"week":se=(this-F-G)/6048e5;break;default:se=this-F}return L?se:He(se)},Re.endOf=function Mu(_){var S,L;if(void 0===(_=pn(_))||"millisecond"===_||!this.isValid())return this;switch(L=this._isUTC?tc:ph,_){case"year":S=L(this.year()+1,0,1)-1;break;case"quarter":S=L(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=L(this.year(),this.month()+1,1)-1;break;case"week":S=L(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=L(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=Xr-rs(S+(this._isUTC?0:this.utcOffset()*Yo),Xr)-1;break;case"minute":S=this._d.valueOf(),S+=Yo-rs(S,Yo)-1;break;case"second":S=this._d.valueOf(),S+=1e3-rs(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Re.format=function Jr(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=xn(this,_);return this.localeData().postformat(S)},Re.from=function Qr(_,S){return this.isValid()&&(We(_)&&_.isValid()||St(_).isValid())?Ln({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.fromNow=function No(_){return this.from(St(),_)},Re.to=function hh(_,S){return this.isValid()&&(We(_)&&_.isValid()||St(_).isValid())?Ln({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Re.toNow=function Tu(_){return this.to(St(),_)},Re.get=function Rt(_){return fe(this[_=pn(_)])?this[_]():this},Re.invalidAt=function ta(){return ee(this).overflow},Re.isAfter=function Cp(_,S){var L=We(_)?_:St(_);return!(!this.isValid()||!L.isValid())&&("millisecond"===(S=pn(S)||"millisecond")?this.valueOf()>L.valueOf():L.valueOf()9999?xn(L,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fe(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",xn(L,"Z")):xn(L,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Re.inspect=function Mp(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var L,F,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),L="["+_+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(L+F+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Re.toJSON=function jo(){return this.isValid()?this.toISOString():null},Re.toString=function $r(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Re.unix=function Sp(){return Math.floor(this.valueOf()/1e3)},Re.valueOf=function Su(){return this._d.valueOf()-6e4*(this._offset||0)},Re.creationData=function _h(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Re.eraName=function Ns(){var _,S,L,F=this.localeData().eras();for(_=0,S=F.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Re.isLocal=function po(){return!!this.isValid()&&!this._isUTC},Re.isUtcOffset=function Ai(){return!!this.isValid()&&this._isUTC},Re.isUtc=Au,Re.isUTC=Au,Re.zoneAbbr=function Pp(){return this._isUTC?"UTC":""},Re.zoneName=function A_(){return this._isUTC?"Coordinated Universal Time":""},Re.dates=yt("dates accessor is deprecated. Use date instead.",dn),Re.months=yt("months accessor is deprecated. Use month instead",Ho),Re.years=yt("years accessor is deprecated. Use year instead",Cn),Re.zone=yt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $a(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Re.isDSTShifted=yt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function rn(){if(!H(this._isDSTShifted))return this._isDSTShifted;var S,_={};return Pt(_,this),(_=os(_))._a?(S=_._isUTC?X(_._a):St(_._a),this._isDSTShifted=this.isValid()&&function pr(_,S,L){var me,F=Math.min(_.length,S.length),G=Math.abs(_.length-S.length),se=0;for(me=0;me0):this._isDSTShifted=!1,this._isDSTShifted});var Ot=xe.prototype;function Iu(_,S,L,F){var G=$(),se=X().set(F,S);return G[L](se,_)}function ra(_,S,L){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return Iu(_,S,L,"month");var F,G=[];for(F=0;F<12;F++)G[F]=Iu(_,F,L,"month");return G}function Ou(_,S,L,F){"boolean"==typeof _?(B(S)&&(L=S,S=void 0),S=S||""):(L=S=_,_=!1,B(S)&&(L=S,S=void 0),S=S||"");var me,G=$(),se=_?G._week.dow:0,Qe=[];if(null!=L)return Iu(S,(L+se)%7,F,"day");for(me=0;me<7;me++)Qe[me]=Iu(S,(me+se)%7,F,"day");return Qe}Ot.calendar=function qt(_,S,L){var F=this._calendar[_]||this._calendar.sameElse;return fe(F)?F.call(S,L):F},Ot.longDateFormat=function Fr(_){var S=this._longDateFormat[_],L=this._longDateFormat[_.toUpperCase()];return S||!L?S:(this._longDateFormat[_]=L.match(Xe).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[_])},Ot.invalidDate=function Nr(){return this._invalidDate},Ot.ordinal=function Lo(_){return this._ordinal.replace("%d",_)},Ot.preparse=br,Ot.postformat=br,Ot.relativeTime=function ut(_,S,L,F){var G=this._relativeTime[L];return fe(G)?G(_,S,L,F):G.replace(/%d/i,_)},Ot.pastFuture=function Ba(_,S){var L=this._relativeTime[_>0?"future":"past"];return fe(L)?L(S):L.replace(/%s/i,S)},Ot.set=function _e(_){var S,L;for(L in _)E(_,L)&&(fe(S=_[L])?this[L]=S:this["_"+L]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ot.eras=function ku(_,S){var L,F,G,se=this._eras||$("en")._eras;for(L=0,F=se.length;L=0)return se[F]},Ot.erasConvertYear=function zs(_,S){var L=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*L},Ot.erasAbbrRegex=function Ep(_){return E(this,"_erasAbbrRegex")||Du.call(this),_?this._erasAbbrRegex:this._erasRegex},Ot.erasNameRegex=function oa(_){return E(this,"_erasNameRegex")||Du.call(this),_?this._erasNameRegex:this._erasRegex},Ot.erasNarrowRegex=function yh(_){return E(this,"_erasNarrowRegex")||Du.call(this),_?this._erasNarrowRegex:this._erasRegex},Ot.months=function Ya(_,S){return _?v(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||hs).test(S)?"format":"standalone"][_.month()]:v(this._months)?this._months:this._months.standalone},Ot.monthsShort=function Oo(_,S){return _?v(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[hs.test(S)?"format":"standalone"][_.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ot.monthsParse=function rr(_,S,L){var F,G,se;if(this._monthsParseExact)return sl.call(this,_,S,L);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if(G=X([2e3,F]),L&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!L&&!this._monthsParse[F]&&(se="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[F]=new RegExp(se.replace(".",""),"i")),L&&"MMMM"===S&&this._longMonthsParse[F].test(_))return F;if(L&&"MMM"===S&&this._shortMonthsParse[F].test(_))return F;if(!L&&this._monthsParse[F].test(_))return F}},Ot.monthsRegex=function ii(_){return this._monthsParseExact?(E(this,"_monthsRegex")||ol.call(this),_?this._monthsStrictRegex:this._monthsRegex):(E(this,"_monthsRegex")||(this._monthsRegex=At),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},Ot.monthsShortRegex=function Un(_){return this._monthsParseExact?(E(this,"_monthsRegex")||ol.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(E(this,"_monthsShortRegex")||(this._monthsShortRegex=no),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},Ot.week=function wp(_){return ar(_,this._week.dow,this._week.doy).week},Ot.firstDayOfYear=function Tt(){return this._week.doy},Ot.firstDayOfWeek=function eh(){return this._week.dow},Ot.weekdays=function th(_,S){var L=v(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?ke(L,this._week.dow):_?L[_.day()]:L},Ot.weekdaysMin=function Gn(_){return!0===_?ke(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},Ot.weekdaysShort=function ro(_){return!0===_?ke(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},Ot.weekdaysParse=function fu(_,S,L){var F,G,se;if(this._weekdaysParseExact)return cr.call(this,_,S,L);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(G=X([2e3,1]).day(F),L&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(se="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[F]=new RegExp(se.replace(".",""),"i")),L&&"dddd"===S&&this._fullWeekdaysParse[F].test(_))return F;if(L&&"ddd"===S&&this._shortWeekdaysParse[F].test(_))return F;if(L&&"dd"===S&&this._minWeekdaysParse[F].test(_))return F;if(!L&&this._weekdaysParse[F].test(_))return F}},Ot.weekdaysRegex=function ao(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(E(this,"_weekdaysRegex")||(this._weekdaysRegex=Ui),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},Ot.weekdaysShortRegex=function Vt(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(E(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hu),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ot.weekdaysMinRegex=function Ls(_){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||Va.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(E(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ua),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ot.isPM=function pu(_){return"p"===(_+"").toLowerCase().charAt(0)},Ot.meridiem=function ih(_,S,L){return _>11?L?"pm":"PM":L?"am":"AM"},P("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(_){var S=_%10;return _+(1===Ae(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=yt("moment.lang is deprecated. Use moment.locale instead.",P),i.langData=yt("moment.langData is deprecated. Use moment.localeData instead.",$);var bs=Math.abs;function Op(_,S,L,F){var G=Ln(S,L);return _._milliseconds+=F*G._milliseconds,_._days+=F*G._days,_._months+=F*G._months,_._bubble()}function cc(_){return _<0?Math.floor(_):Math.ceil(_)}function Ch(_){return 4800*_/146097}function wl(_){return 146097*_/4800}function Kn(_){return function(){return this.as(_)}}var Mh=Kn("ms"),zp=Kn("s"),Ki=Kn("m"),Np=Kn("h"),Sh=Kn("d"),Al=Kn("w"),aa=Kn("M"),kh=Kn("Q"),Bp=Kn("y");function Zn(_){return function(){return this.isValid()?this._data[_]:NaN}}var Fu=Zn("milliseconds"),ca=Zn("seconds"),zu=Zn("minutes"),Eh=Zn("hours"),Nu=Zn("days"),vl=Zn("months"),Cl=Zn("years");var mo=Math.round,ws={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function uc(_,S,L,F,G){return G.relativeTime(S||1,!!L,_,F)}var Ri=Math.abs;function la(_){return(_>0)-(_<0)||+_}function wr(){if(!this.isValid())return this.localeData().invalidDate();var F,G,se,me,Dt,li,hn,wn,_=Ri(this._milliseconds)/1e3,S=Ri(this._days),L=Ri(this._months),Qe=this.asSeconds();return Qe?(F=He(_/60),G=He(F/60),_%=60,F%=60,se=He(L/12),L%=12,me=_?_.toFixed(3).replace(/\.?0+$/,""):"",Dt=Qe<0?"-":"",li=la(this._months)!==la(Qe)?"-":"",hn=la(this._days)!==la(Qe)?"-":"",wn=la(this._milliseconds)!==la(Qe)?"-":"",Dt+"P"+(se?li+se+"Y":"")+(L?li+L+"M":"")+(S?hn+S+"D":"")+(G||F||_?"T":"")+(G?wn+G+"H":"")+(F?wn+F+"M":"")+(_?wn+me+"S":"")):"P0D"}var Et=fr.prototype;return Et.isValid=function oh(){return this._isValid},Et.abs=function bl(){var _=this._data;return this._milliseconds=bs(this._milliseconds),this._days=bs(this._days),this._months=bs(this._months),_.milliseconds=bs(_.milliseconds),_.seconds=bs(_.seconds),_.minutes=bs(_.minutes),_.hours=bs(_.hours),_.months=bs(_.months),_.years=bs(_.years),this},Et.add=function ac(_,S){return Op(this,_,S,1)},Et.subtract=function Hu(_,S){return Op(this,_,S,-1)},Et.as=function Th(_){if(!this.isValid())return NaN;var S,L,F=this._milliseconds;if("month"===(_=pn(_))||"quarter"===_||"year"===_)switch(S=this._days+F/864e5,L=this._months+Ch(S),_){case"month":return L;case"quarter":return L/3;case"year":return L/12}else switch(S=this._days+Math.round(wl(this._months)),_){case"week":return S/7+F/6048e5;case"day":return S+F/864e5;case"hour":return 24*S+F/36e5;case"minute":return 1440*S+F/6e4;case"second":return 86400*S+F/1e3;case"millisecond":return Math.floor(864e5*S)+F;default:throw new Error("Unknown unit "+_)}},Et.asMilliseconds=Mh,Et.asSeconds=zp,Et.asMinutes=Ki,Et.asHours=Np,Et.asDays=Sh,Et.asWeeks=Al,Et.asMonths=aa,Et.asQuarters=kh,Et.asYears=Bp,Et.valueOf=function Fp(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ae(this._months/12):NaN},Et._bubble=function Hp(){var G,se,me,Qe,Dt,_=this._milliseconds,S=this._days,L=this._months,F=this._data;return _>=0&&S>=0&&L>=0||_<=0&&S<=0&&L<=0||(_+=864e5*cc(wl(L)+S),S=0,L=0),F.milliseconds=_%1e3,G=He(_/1e3),F.seconds=G%60,se=He(G/60),F.minutes=se%60,me=He(se/60),F.hours=me%24,S+=He(me/24),L+=Dt=He(Ch(S)),S-=cc(wl(Dt)),Qe=He(L/12),L%=12,F.days=S,F.months=L,F.years=Qe,this},Et.clone=function Yp(){return Ln(this)},Et.get=function lc(_){return _=pn(_),this.isValid()?this[_+"s"]():NaN},Et.milliseconds=Fu,Et.seconds=ca,Et.minutes=zu,Et.hours=Eh,Et.days=Nu,Et.weeks=function Dh(){return He(this.days()/7)},Et.months=vl,Et.years=Cl,Et.humanize=function Vp(_,S){if(!this.isValid())return this.localeData().invalidDate();var G,se,L=!1,F=ws;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(L=_),"object"==typeof S&&(F=Object.assign({},ws,S),null!=S.s&&null==S.ss&&(F.ss=S.s-1)),se=function jp(_,S,L,F){var G=Ln(_).abs(),se=mo(G.as("s")),me=mo(G.as("m")),Qe=mo(G.as("h")),Dt=mo(G.as("d")),li=mo(G.as("M")),hn=mo(G.as("w")),wn=mo(G.as("y")),Vo=se<=L.ss&&["s",se]||se0,Vo[4]=F,uc.apply(null,Vo)}(this,!L,F,G=this.localeData()),L&&(se=G.pastFuture(+this,se)),G.postformat(se)},Et.toISOString=wr,Et.toString=wr,Et.toJSON=wr,Et.locale=gl,Et.localeData=ml,Et.toIsoString=yt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wr),Et.lang=fh,Ge("X",0,0,"unix"),Ge("x",0,0,"valueOf"),Pe("x",io),Pe("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(_,S,L){L._d=new Date(1e3*parseFloat(_))}),dt("x",function(_,S,L){L._d=new Date(Ae(_))}),i.version="2.29.1",function T(_){b=_}(St),i.fn=Re,i.min=function yn(){return Ka("isBefore",[].slice.call(arguments,0))},i.max=function Os(){return Ka("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=X,i.unix=function Ah(_){return St(1e3*_)},i.months=function oc(_,S){return ra(_,S,"months")},i.isDate=N,i.locale=P,i.invalid=Ie,i.duration=Ln,i.isMoment=We,i.weekdays=function Ip(_,S,L){return Ou(_,S,L,"weekdays")},i.parseZone=function On(){return St.apply(null,arguments).parseZone()},i.localeData=$,i.isDuration=Hs,i.monthsShort=function Lp(_,S){return ra(_,S,"monthsShort")},i.weekdaysMin=function vh(_,S,L){return Ou(_,S,L,"weekdaysMin")},i.defineLocale=q,i.updateLocale=function O(_,S){if(null!=S){var L,F,G=Ga;null!=di[_]&&null!=di[_].parentLocale?di[_].set(ge(di[_]._config,S)):(null!=(F=ni(_))&&(G=F._config),S=ge(G,S),null==F&&(S.abbr=_),(L=new xe(S)).parentLocale=di[_],di[_]=L),P(_)}else null!=di[_]&&(null!=di[_].parentLocale?(di[_]=di[_].parentLocale,_===P()&&P(_)):null!=di[_]&&delete di[_]);return di[_]},i.locales=function ie(){return he(di)},i.weekdaysShort=function rc(_,S,L){return Ou(_,S,L,"weekdaysShort")},i.normalizeUnits=pn,i.relativeTimeRounding=function Up(_){return void 0===_?mo:"function"==typeof _&&(mo=_,!0)},i.relativeTimeThreshold=function xh(_,S){return void 0!==ws[_]&&(void 0===S?ws[_]:(ws[_]=S,"s"===_&&(ws.ss=S-1),!0))},i.calendarFormat=function Qa(_,S){var L=_.diff(S,"days",!0);return L<-6?"sameElse":L<-1?"lastWeek":L<0?"lastDay":L<1?"sameDay":L<2?"nextDay":L<7?"nextWeek":"sameElse"},i.prototype=Re,i.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"},i}()},1869:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);class i extends b.L{constructor(v,C,E){super(),this.parent=v,this.outerValue=C,this.outerIndex=E,this.index=0}_next(v){this.parent.notifyNext(this.outerValue,v,this.outerIndex,this.index++,this)}_error(v){this.parent.notifyError(v,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(Y,U,w)=>{"use strict";w.d(U,{P:()=>C});var b=w(8896),i=w(1086),T=w(1737);class C{constructor(R,H,B){this.kind=R,this.value=H,this.error=B,this.hasValue="N"===R}observe(R){switch(this.kind){case"N":return R.next&&R.next(this.value);case"E":return R.error&&R.error(this.error);case"C":return R.complete&&R.complete()}}do(R,H,B){switch(this.kind){case"N":return R&&R(this.value);case"E":return H&&H(this.error);case"C":return B&&B()}}accept(R,H,B){return R&&"function"==typeof R.next?this.observe(R):this.do(R,H,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(R){return void 0!==R?new C("N",R):C.undefinedValueNotification}static createError(R){return new C("E",void 0,R)}static createComplete(){return C.completeNotification}}C.completeNotification=new C("C"),C.undefinedValueNotification=new C("N",void 0)},2916:(Y,U,w)=>{"use strict";w.d(U,{y:()=>V});var b=w(3489),T=w(7668),v=w(3292),E=w(3821),R=w(5379);var N=w(2830);let V=(()=>{class X{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ae=new X;return ae.source=this,ae.operator=ee,ae}subscribe(ee,ae,de){const{operator:Ie}=this,Oe=function C(X,re,ee){if(X){if(X instanceof b.L)return X;if(X[T.b])return X[T.b]()}return X||re||ee?new b.L(X,re,ee):new b.L(v.c)}(ee,ae,de);if(Oe.add(Ie?Ie.call(Oe,this.source):this.source||N.v.useDeprecatedSynchronousErrorHandling&&!Oe.syncErrorThrowable?this._subscribe(Oe):this._trySubscribe(Oe)),N.v.useDeprecatedSynchronousErrorHandling&&Oe.syncErrorThrowable&&(Oe.syncErrorThrowable=!1,Oe.syncErrorThrown))throw Oe.syncErrorValue;return Oe}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ae){N.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ae),function i(X){for(;X;){const{closed:re,destination:ee,isStopped:ae}=X;if(re||ae)return!1;X=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ae):console.warn(ae)}}forEach(ee,ae){return new(ae=J(ae))((de,Ie)=>{let Oe;Oe=this.subscribe(Ve=>{try{ee(Ve)}catch(Pt){Ie(Pt),Oe&&Oe.unsubscribe()}},Ie,de)})}_subscribe(ee){const{source:ae}=this;return ae&&ae.subscribe(ee)}[E.L](){return this}pipe(...ee){return 0===ee.length?this:function B(X){return 0===X.length?R.y:1===X.length?X[0]:function(ee){return X.reduce((ae,de)=>de(ae),ee)}}(ee)(this)}toPromise(ee){return new(ee=J(ee))((ae,de)=>{let Ie;this.subscribe(Oe=>Ie=Oe,Oe=>de(Oe),()=>ae(Ie))})}}return X.create=re=>new X(re),X})();function J(X){if(X||(X=N.v.Promise||Promise),!X)throw new Error("no Promise impl found");return X}},3292:(Y,U,w)=>{"use strict";w.d(U,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(v){},error(v){if(b.v.useDeprecatedSynchronousErrorHandling)throw v;(0,i.z)(v)},complete(){}}},826:(Y,U,w)=>{"use strict";w.d(U,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(v,C,E,R,H){this.destination.next(C)}notifyError(v,C){this.destination.error(v)}notifyComplete(v){this.destination.complete()}}},8929:(Y,U,w)=>{"use strict";w.d(U,{Yc:()=>R,xQ:()=>H});var b=w(2916),i=w(3489),T=w(2654),v=w(5279),C=w(5283),E=w(7668);class R extends i.L{constructor(V){super(V),this.destination=V}}let H=(()=>{class N extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[E.b](){return new R(this)}lift(J){const X=new B(this,this);return X.operator=J,X}next(J){if(this.closed)throw new v.N;if(!this.isStopped){const{observers:X}=this,re=X.length,ee=X.slice();for(let ae=0;aenew B(V,J),N})();class B extends H{constructor(V,J){super(),this.destination=V,this.source=J}next(V){const{destination:J}=this;J&&J.next&&J.next(V)}error(V){const{destination:J}=this;J&&J.error&&this.destination.error(V)}complete(){const{destination:V}=this;V&&V.complete&&this.destination.complete()}_subscribe(V){const{source:J}=this;return J?this.source.subscribe(V):T.w.EMPTY}}},5283:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});var b=w(2654);class i extends b.w{constructor(v,C){super(),this.subject=v,this.subscriber=C,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const v=this.subject,C=v.observers;if(this.subject=null,!C||0===C.length||v.isStopped||v.closed)return;const E=C.indexOf(this.subscriber);-1!==E&&C.splice(E,1)}}},3489:(Y,U,w)=>{"use strict";w.d(U,{L:()=>R});var b=w(7043),i=w(3292),T=w(2654),v=w(7668),C=w(2830),E=w(2782);class R extends T.w{constructor(N,V,J){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!N){this.destination=i.c;break}if("object"==typeof N){N instanceof R?(this.syncErrorThrowable=N.syncErrorThrowable,this.destination=N,N.add(this)):(this.syncErrorThrowable=!0,this.destination=new H(this,N));break}default:this.syncErrorThrowable=!0,this.destination=new H(this,N,V,J)}}[v.b](){return this}static create(N,V,J){const X=new R(N,V,J);return X.syncErrorThrowable=!1,X}next(N){this.isStopped||this._next(N)}error(N){this.isStopped||(this.isStopped=!0,this._error(N))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(N){this.destination.next(N)}_error(N){this.destination.error(N),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:N}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=N,this}}class H extends R{constructor(N,V,J,X){super(),this._parentSubscriber=N;let re,ee=this;(0,b.m)(V)?re=V:V&&(re=V.next,J=V.error,X=V.complete,V!==i.c&&(ee=Object.create(V),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=re,this._error=J,this._complete=X}next(N){if(!this.isStopped&&this._next){const{_parentSubscriber:V}=this;C.v.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?this.__tryOrSetError(V,this._next,N)&&this.unsubscribe():this.__tryOrUnsub(this._next,N)}}error(N){if(!this.isStopped){const{_parentSubscriber:V}=this,{useDeprecatedSynchronousErrorHandling:J}=C.v;if(this._error)J&&V.syncErrorThrowable?(this.__tryOrSetError(V,this._error,N),this.unsubscribe()):(this.__tryOrUnsub(this._error,N),this.unsubscribe());else if(V.syncErrorThrowable)J?(V.syncErrorValue=N,V.syncErrorThrown=!0):(0,E.z)(N),this.unsubscribe();else{if(this.unsubscribe(),J)throw N;(0,E.z)(N)}}}complete(){if(!this.isStopped){const{_parentSubscriber:N}=this;if(this._complete){const V=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?(this.__tryOrSetError(N,V),this.unsubscribe()):(this.__tryOrUnsub(V),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(N,V){try{N.call(this._context,V)}catch(J){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw J;(0,E.z)(J)}}__tryOrSetError(N,V,J){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{V.call(this._context,J)}catch(X){return C.v.useDeprecatedSynchronousErrorHandling?(N.syncErrorValue=X,N.syncErrorThrown=!0,!0):((0,E.z)(X),!0)}return!1}_unsubscribe(){const{_parentSubscriber:N}=this;this._context=null,this._parentSubscriber=null,N.unsubscribe()}}},2654:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(6688),i=w(7830),T=w(7043);const C=(()=>{function H(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((N,V)=>`${V+1}) ${N.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return H.prototype=Object.create(Error.prototype),H})();class E{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:N,_unsubscribe:V,_subscriptions:J}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,N instanceof E)N.remove(this);else if(null!==N)for(let X=0;XB.concat(N instanceof C?N.errors:N),[])}E.EMPTY=((H=new E).closed=!0,H)},2830:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const v=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+v.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(Y,U,w)=>{"use strict";w.d(U,{c:()=>C,N:()=>E});var b=w(8929),i=w(2916),T=w(2654),v=w(4327);class C extends i.y{constructor(V,J){super(),this.source=V,this.subjectFactory=J,this._refCount=0,this._isComplete=!1}_subscribe(V){return this.getSubject().subscribe(V)}getSubject(){const V=this._subject;return(!V||V.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let V=this._connection;return V||(this._isComplete=!1,V=this._connection=new T.w,V.add(this.source.subscribe(new R(this.getSubject(),this))),V.closed&&(this._connection=null,V=T.w.EMPTY)),V}refCount(){return(0,v.x)()(this)}}const E=(()=>{const N=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:N._subscribe},_isComplete:{value:N._isComplete,writable:!0},getSubject:{value:N.getSubject},connect:{value:N.connect},refCount:{value:N.refCount}}})();class R extends b.Yc{constructor(V,J){super(V),this.connectable=J}_error(V){this._unsubscribe(),super._error(V)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const V=this.connectable;if(V){this.connectable=null;const J=V._connection;V._refCount=0,V._subject=null,V._connection=null,J&&J.unsubscribe()}}}},6053:(Y,U,w)=>{"use strict";w.d(U,{aj:()=>R});var b=w(2866),i=w(6688),T=w(826),v=w(9054),C=w(3009);const E={};function R(...N){let V=null,J=null;return(0,b.K)(N[N.length-1])&&(J=N.pop()),"function"==typeof N[N.length-1]&&(V=N.pop()),1===N.length&&(0,i.k)(N[0])&&(N=N[0]),(0,C.n)(N,J).lift(new H(V))}class H{constructor(V){this.resultSelector=V}call(V,J){return J.subscribe(new B(V,this.resultSelector))}}class B extends T.L{constructor(V,J){super(V),this.resultSelector=J,this.active=0,this.values=[],this.observables=[]}_next(V){this.values.push(E),this.observables.push(V)}_complete(){const V=this.observables,J=V.length;if(0===J)this.destination.complete();else{this.active=J,this.toRespond=J;for(let X=0;X{"use strict";w.d(U,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(C=>C.complete());function T(C){return C?function v(C){return new b.y(E=>C.schedule(()=>E.complete()))}(C):i}},5254:(Y,U,w)=>{"use strict";w.d(U,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),v=w(3821),R=w(6454),H=w(5430),V=w(8955),J=w(8515);function ee(ae,de){return de?function re(ae,de){if(null!=ae){if(function N(ae){return ae&&"function"==typeof ae[v.L]}(ae))return function C(ae,de){return new b.y(Ie=>{const Oe=new T.w;return Oe.add(de.schedule(()=>{const Ve=ae[v.L]();Oe.add(Ve.subscribe({next(Pt){Oe.add(de.schedule(()=>Ie.next(Pt)))},error(Pt){Oe.add(de.schedule(()=>Ie.error(Pt)))},complete(){Oe.add(de.schedule(()=>Ie.complete()))}}))})),Oe})}(ae,de);if((0,V.t)(ae))return function E(ae,de){return new b.y(Ie=>{const Oe=new T.w;return Oe.add(de.schedule(()=>ae.then(Ve=>{Oe.add(de.schedule(()=>{Ie.next(Ve),Oe.add(de.schedule(()=>Ie.complete()))}))},Ve=>{Oe.add(de.schedule(()=>Ie.error(Ve)))}))),Oe})}(ae,de);if((0,J.z)(ae))return(0,R.r)(ae,de);if(function X(ae){return ae&&"function"==typeof ae[H.hZ]}(ae)||"string"==typeof ae)return function B(ae,de){if(!ae)throw new Error("Iterable cannot be null");return new b.y(Ie=>{const Oe=new T.w;let Ve;return Oe.add(()=>{Ve&&"function"==typeof Ve.return&&Ve.return()}),Oe.add(de.schedule(()=>{Ve=ae[H.hZ](),Oe.add(de.schedule(function(){if(Ie.closed)return;let Pt,xt;try{const We=Ve.next();Pt=We.value,xt=We.done}catch(We){return void Ie.error(We)}xt?Ie.complete():(Ie.next(Pt),this.schedule())}))})),Oe})}(ae,de)}throw new TypeError((null!==ae&&typeof ae||ae)+" is not observable")}(ae,de):ae instanceof b.y?ae:new b.y((0,i.s)(ae))}},3009:(Y,U,w)=>{"use strict";w.d(U,{n:()=>v});var b=w(2916),i=w(3650),T=w(6454);function v(C,E){return E?(0,T.r)(C,E):new b.y((0,i.V)(C))}},6787:(Y,U,w)=>{"use strict";w.d(U,{T:()=>C});var b=w(2916),i=w(2866),T=w(9146),v=w(3009);function C(...E){let R=Number.POSITIVE_INFINITY,H=null,B=E[E.length-1];return(0,i.K)(B)?(H=E.pop(),E.length>1&&"number"==typeof E[E.length-1]&&(R=E.pop())):"number"==typeof B&&(R=E.pop()),null===H&&1===E.length&&E[0]instanceof b.y?E[0]:(0,T.J)(R)((0,v.n)(E,H))}},1086:(Y,U,w)=>{"use strict";w.d(U,{of:()=>v});var b=w(2866),i=w(3009),T=w(6454);function v(...C){let E=C[C.length-1];return(0,b.K)(E)?(C.pop(),(0,T.r)(C,E)):(0,i.n)(C)}},1946:(Y,U,w)=>{"use strict";w.d(U,{S3:()=>C});var b=w(6688),i=w(3009),T=w(826),v=w(9054);function C(...H){if(1===H.length){if(!(0,b.k)(H[0]))return H[0];H=H[0]}return(0,i.n)(H,void 0).lift(new E)}class E{call(B,N){return N.subscribe(new R(B))}}class R extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,N=B.length;if(0===N)this.destination.complete();else{for(let V=0;V{"use strict";w.d(U,{_:()=>i});var b=w(2916);function i(v,C){return new b.y(C?E=>C.schedule(T,0,{error:v,subscriber:E}):E=>E.error(v))}function T({error:v,subscriber:C}){C.error(v)}},7221:(Y,U,w)=>{"use strict";w.d(U,{K:()=>v});var b=w(826),i=w(1869),T=w(9054);function v(R){return function(B){const N=new C(R),V=B.lift(N);return N.caught=V}}class C{constructor(H){this.selector=H}call(H,B){return B.subscribe(new E(H,this.selector,this.caught))}}class E extends b.L{constructor(H,B,N){super(H),this.selector=B,this.caught=N}error(H){if(!this.isStopped){let B;try{B=this.selector(H,this.caught)}catch(J){return void super.error(J)}this._unsubscribeAndRecycle();const N=new i.d(this,void 0,void 0);this.add(N);const V=(0,T.D)(this,B,void 0,void 0,N);V!==N&&this.add(V)}}}},1406:(Y,U,w)=>{"use strict";w.d(U,{b:()=>i});var b=w(1709);function i(T,v){return(0,b.zg)(T,v,1)}},13:(Y,U,w)=>{"use strict";w.d(U,{b:()=>T});var b=w(3489),i=w(353);function T(R,H=i.P){return B=>B.lift(new v(R,H))}class v{constructor(H,B){this.dueTime=H,this.scheduler=B}call(H,B){return B.subscribe(new C(H,this.dueTime,this.scheduler))}}class C extends b.L{constructor(H,B,N){super(H),this.dueTime=B,this.scheduler=N,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(H){this.clearDebounce(),this.lastValue=H,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(E,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:H}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(H)}}clearDebounce(){const H=this.debouncedSubscription;null!==H&&(this.remove(H),H.unsubscribe(),this.debouncedSubscription=null)}}function E(R){R.debouncedNext()}},7314:(Y,U,w)=>{"use strict";w.d(U,{d:()=>i});var b=w(3489);function i(C=null){return E=>E.lift(new T(C))}class T{constructor(E){this.defaultValue=E}call(E,R){return R.subscribe(new v(E,this.defaultValue))}}class v extends b.L{constructor(E,R){super(E),this.defaultValue=R,this.isEmpty=!0}_next(E){this.isEmpty=!1,this.destination.next(E)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(Y,U,w)=>{"use strict";w.d(U,{g:()=>C});var b=w(353),i=w(2697),T=w(3489),v=w(9312);function C(B,N=b.P){const J=(0,i.J)(B)?+B-N.now():Math.abs(B);return X=>X.lift(new E(J,N))}class E{constructor(N,V){this.delay=N,this.scheduler=V}call(N,V){return V.subscribe(new R(N,this.delay,this.scheduler))}}class R extends T.L{constructor(N,V,J){super(N),this.delay=V,this.scheduler=J,this.queue=[],this.active=!1,this.errored=!1}static dispatch(N){const V=N.source,J=V.queue,X=N.scheduler,re=N.destination;for(;J.length>0&&J[0].time-X.now()<=0;)J.shift().notification.observe(re);if(J.length>0){const ee=Math.max(0,J[0].time-X.now());this.schedule(N,ee)}else this.unsubscribe(),V.active=!1}_schedule(N){this.active=!0,this.destination.add(N.schedule(R.dispatch,this.delay,{source:this,destination:this.destination,scheduler:N}))}scheduleNotification(N){if(!0===this.errored)return;const V=this.scheduler,J=new H(V.now()+this.delay,N);this.queue.push(J),!1===this.active&&this._schedule(V)}_next(N){this.scheduleNotification(v.P.createNext(N))}_error(N){this.errored=!0,this.queue=[],this.destination.error(N),this.unsubscribe()}_complete(){this.scheduleNotification(v.P.createComplete()),this.unsubscribe()}}class H{constructor(N,V){this.time=N,this.notification=V}}},2198:(Y,U,w)=>{"use strict";w.d(U,{h:()=>i});var b=w(3489);function i(C,E){return function(H){return H.lift(new T(C,E))}}class T{constructor(E,R){this.predicate=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.predicate,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.predicate=R,this.thisArg=H,this.count=0}_next(E){let R;try{R=this.predicate.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}R&&this.destination.next(E)}}},7224:(Y,U,w)=>{"use strict";w.d(U,{P:()=>R});var b=w(4450),i=w(2198),T=w(2986),v=w(7314),C=w(4907),E=w(5379);function R(H,B){const N=arguments.length>=2;return V=>V.pipe(H?(0,i.h)((J,X)=>H(J,X,V)):E.y,(0,T.q)(1),N?(0,v.d)(B):(0,C.T)(()=>new b.K))}},4850:(Y,U,w)=>{"use strict";w.d(U,{U:()=>i});var b=w(3489);function i(C,E){return function(H){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return H.lift(new T(C,E))}}class T{constructor(E,R){this.project=E,this.thisArg=R}call(E,R){return R.subscribe(new v(E,this.project,this.thisArg))}}class v extends b.L{constructor(E,R,H){super(E),this.project=R,this.count=0,this.thisArg=H||this}_next(E){let R;try{R=this.project.call(this.thisArg,E,this.count++)}catch(H){return void this.destination.error(H)}this.destination.next(R)}}},9146:(Y,U,w)=>{"use strict";w.d(U,{J:()=>T});var b=w(1709),i=w(5379);function T(v=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,v)}},1709:(Y,U,w)=>{"use strict";w.d(U,{zg:()=>E});var b=w(9054),i=w(826),T=w(1869),v=w(4850),C=w(5254);function E(B,N,V=Number.POSITIVE_INFINITY){return"function"==typeof N?J=>J.pipe(E((X,re)=>(0,C.D)(B(X,re)).pipe((0,v.U)((ee,ae)=>N(X,ee,re,ae))),V)):("number"==typeof N&&(V=N),J=>J.lift(new R(B,V)))}class R{constructor(N,V=Number.POSITIVE_INFINITY){this.project=N,this.concurrent=V}call(N,V){return V.subscribe(new H(N,this.project,this.concurrent))}}class H extends i.L{constructor(N,V,J=Number.POSITIVE_INFINITY){super(N),this.project=V,this.concurrent=J,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(N){this.active0?this._next(V.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(Y,U,w)=>{"use strict";w.d(U,{x:()=>i});var b=w(3489);function i(){return function(E){return E.lift(new T(E))}}class T{constructor(E){this.connectable=E}call(E,R){const{connectable:H}=this;H._refCount++;const B=new v(E,H),N=R.subscribe(B);return B.closed||(B.connection=H.connect()),N}}class v extends b.L{constructor(E,R){super(E),this.connectable=R}_unsubscribe(){const{connectable:E}=this;if(!E)return void(this.connection=null);this.connectable=null;const R=E._refCount;if(R<=0)return void(this.connection=null);if(E._refCount=R-1,R>1)return void(this.connection=null);const{connection:H}=this,B=E._connection;this.connection=null,B&&(!H||B===H)&&B.unsubscribe()}}},2474:(Y,U,w)=>{"use strict";w.d(U,{B:()=>R});var b=w(1762);class T{constructor(B,N){this.subjectFactory=B,this.selector=N}call(B,N){const{selector:V}=this,J=this.subjectFactory(),X=V(J).subscribe(B);return X.add(N.subscribe(J)),X}}var v=w(4327),C=w(8929);function E(){return new C.xQ}function R(){return H=>(0,v.x)()(function i(H,B){return function(V){let J;if(J="function"==typeof H?H:function(){return H},"function"==typeof B)return V.lift(new T(J,B));const X=Object.create(V,b.N);return X.source=V,X.subjectFactory=J,X}}(E)(H))}},7545:(Y,U,w)=>{"use strict";w.d(U,{w:()=>E});var b=w(826),i=w(1869),T=w(9054),v=w(4850),C=w(5254);function E(B,N){return"function"==typeof N?V=>V.pipe(E((J,X)=>(0,C.D)(B(J,X)).pipe((0,v.U)((re,ee)=>N(J,re,X,ee))))):V=>V.lift(new R(B))}class R{constructor(N){this.project=N}call(N,V){return V.subscribe(new H(N,this.project))}}class H extends b.L{constructor(N,V){super(N),this.project=V,this.index=0}_next(N){let V;const J=this.index++;try{V=this.project(N,J)}catch(X){return void this.destination.error(X)}this._innerSub(V,N,J)}_innerSub(N,V,J){const X=this.innerSubscription;X&&X.unsubscribe();const re=new i.d(this,V,J),ee=this.destination;ee.add(re),this.innerSubscription=(0,T.D)(this,N,void 0,void 0,re),this.innerSubscription!==re&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:N}=this;(!N||N.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(N){this.destination.remove(N),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(N,V,J,X,re){this.destination.next(V)}}},2986:(Y,U,w)=>{"use strict";w.d(U,{q:()=>v});var b=w(3489),i=w(4231),T=w(8896);function v(R){return H=>0===R?(0,T.c)():H.lift(new C(R))}class C{constructor(H){if(this.total=H,this.total<0)throw new i.W}call(H,B){return B.subscribe(new E(H,this.total))}}class E extends b.L{constructor(H,B){super(H),this.total=B,this.count=0}_next(H){const B=this.total,N=++this.count;N<=B&&(this.destination.next(H),N===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(Y,U,w)=>{"use strict";w.d(U,{b:()=>v});var b=w(3489);function i(){}var T=w(7043);function v(R,H,B){return function(V){return V.lift(new C(R,H,B))}}class C{constructor(H,B,N){this.nextOrObserver=H,this.error=B,this.complete=N}call(H,B){return B.subscribe(new E(H,this.nextOrObserver,this.error,this.complete))}}class E extends b.L{constructor(H,B,N,V){super(H),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=N||i,this._tapComplete=V||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(H){try{this._tapNext.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.next(H)}_error(H){try{this._tapError.call(this._context,H)}catch(B){return void this.destination.error(B)}this.destination.error(H)}_complete(){try{this._tapComplete.call(this._context)}catch(H){return void this.destination.error(H)}return this.destination.complete()}}},4907:(Y,U,w)=>{"use strict";w.d(U,{T:()=>T});var b=w(4450),i=w(3489);function T(R=E){return H=>H.lift(new v(R))}class v{constructor(H){this.errorFactory=H}call(H,B){return B.subscribe(new C(H,this.errorFactory))}}class C extends i.L{constructor(H,B){super(H),this.errorFactory=B,this.hasValue=!1}_next(H){this.hasValue=!0,this.destination.next(H)}_complete(){if(this.hasValue)return this.destination.complete();{let H;try{H=this.errorFactory()}catch(B){H=B}this.destination.error(H)}}}function E(){return new b.K}},6227:(Y,U,w)=>{"use strict";w.d(U,{V:()=>V});var b=w(353);const T=(()=>{function J(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return J.prototype=Object.create(Error.prototype),J})();var v=w(2697),C=w(826),E=w(9054);class H{constructor(X,re,ee,ae){this.waitFor=X,this.absoluteTimeout=re,this.withObservable=ee,this.scheduler=ae}call(X,re){return re.subscribe(new B(X,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends C.L{constructor(X,re,ee,ae,de){super(X),this.absoluteTimeout=re,this.waitFor=ee,this.withObservable=ae,this.scheduler=de,this.action=null,this.scheduleTimeout()}static dispatchTimeout(X){const{withObservable:re}=X;X._unsubscribeAndRecycle(),X.add((0,E.D)(X,re))}scheduleTimeout(){const{action:X}=this;X?this.action=X.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(X){this.absoluteTimeout||this.scheduleTimeout(),super._next(X)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var N=w(1737);function V(J,X=b.P){return function R(J,X,re=b.P){return ee=>{let ae=(0,v.J)(J),de=ae?+J-re.now():Math.abs(J);return ee.lift(new H(de,ae,X,re))}}(J,(0,N._)(new T),X)}},6454:(Y,U,w)=>{"use strict";w.d(U,{r:()=>T});var b=w(2916),i=w(2654);function T(v,C){return new b.y(E=>{const R=new i.w;let H=0;return R.add(C.schedule(function(){H!==v.length?(E.next(v[H++]),E.closed||R.add(this.schedule())):E.complete()})),R})}},6686:(Y,U,w)=>{"use strict";w.d(U,{o:()=>T});var b=w(2654);class i extends b.w{constructor(C,E){super()}schedule(C,E=0){return this}}class T extends i{constructor(C,E){super(C,E),this.scheduler=C,this.work=E,this.pending=!1}schedule(C,E=0){if(this.closed)return this;this.state=C;const R=this.id,H=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(H,R,E)),this.pending=!0,this.delay=E,this.id=this.id||this.requestAsyncId(H,this.id,E),this}requestAsyncId(C,E,R=0){return setInterval(C.flush.bind(C,this),R)}recycleAsyncId(C,E,R=0){if(null!==R&&this.delay===R&&!1===this.pending)return E;clearInterval(E)}execute(C,E){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const R=this._execute(C,E);if(R)return R;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(C,E){let H,R=!1;try{this.work(C)}catch(B){R=!0,H=!!B&&B||new Error(B)}if(R)return this.unsubscribe(),H}_unsubscribe(){const C=this.id,E=this.scheduler,R=E.actions,H=R.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==H&&R.splice(H,1),null!=C&&(this.id=this.recycleAsyncId(E,C,null)),this.delay=null}}},2268:(Y,U,w)=>{"use strict";w.d(U,{v:()=>i});let b=(()=>{class T{constructor(C,E=T.now){this.SchedulerAction=C,this.now=E}schedule(C,E=0,R){return new this.SchedulerAction(this,C).schedule(R,E)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(v,C=b.now){super(v,()=>i.delegate&&i.delegate!==this?i.delegate.now():C()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(v,C=0,E){return i.delegate&&i.delegate!==this?i.delegate.schedule(v,C,E):super.schedule(v,C,E)}flush(v){const{actions:C}=this;if(this.active)return void C.push(v);let E;this.active=!0;do{if(E=v.execute(v.state,v.delay))break}while(v=C.shift());if(this.active=!1,E){for(;v=C.shift();)v.unsubscribe();throw E}}}},353:(Y,U,w)=>{"use strict";w.d(U,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(Y,U,w)=>{"use strict";w.d(U,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(Y,U,w)=>{"use strict";w.d(U,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(Y,U,w)=>{"use strict";w.d(U,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(Y,U,w)=>{"use strict";w.d(U,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(Y,U,w)=>{"use strict";w.d(U,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(Y,U,w)=>{"use strict";w.d(U,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(Y,U,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(U,{z:()=>b})},5379:(Y,U,w)=>{"use strict";function b(i){return i}w.d(U,{y:()=>b})},6688:(Y,U,w)=>{"use strict";w.d(U,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(Y,U,w)=>{"use strict";w.d(U,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(Y,U,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(U,{J:()=>b})},7043:(Y,U,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(U,{m:()=>b})},7830:(Y,U,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(U,{K:()=>b})},8955:(Y,U,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(U,{t:()=>b})},2866:(Y,U,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(U,{K:()=>b})},9249:(Y,U,w)=>{"use strict";w.d(U,{s:()=>V});var b=w(3650),i=w(2782),v=w(5430),E=w(3821),H=w(8515),B=w(8955),N=w(7830);const V=J=>{if(J&&"function"==typeof J[E.L])return(J=>X=>{const re=J[E.L]();if("function"!=typeof re.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return re.subscribe(X)})(J);if((0,H.z)(J))return(0,b.V)(J);if((0,B.t)(J))return(J=>X=>(J.then(re=>{X.closed||(X.next(re),X.complete())},re=>X.error(re)).then(null,i.z),X))(J);if(J&&"function"==typeof J[v.hZ])return(J=>X=>{const re=J[v.hZ]();for(;;){const ee=re.next();if(ee.done){X.complete();break}if(X.next(ee.value),X.closed)break}return"function"==typeof re.return&&X.add(()=>{re.return&&re.return()}),X})(J);{const re=`You provided ${(0,N.K)(J)?"an invalid object":`'${J}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(re)}}},3650:(Y,U,w)=>{"use strict";w.d(U,{V:()=>b});const b=i=>T=>{for(let v=0,C=i.length;v{"use strict";w.d(U,{D:()=>v});var b=w(1869),i=w(9249),T=w(2916);function v(C,E,R,H,B=new b.d(C,R,H)){if(!B.closed)return E instanceof T.y?E.subscribe(B):(0,i.s)(E)(B)}},6700:(Y,U,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(v){var C=T(v);return w(C)}function T(v){if(!w.o(b,v)){var C=new Error("Cannot find module '"+v+"'");throw C.code="MODULE_NOT_FOUND",C}return b[v]}i.keys=function(){return Object.keys(b)},i.resolve=T,Y.exports=i,i.id=6700},655:(Y,U,w)=>{"use strict";function H(ue,fe,_e,ge){return new(_e||(_e=Promise))(function(he,bt){function qt(lt){try{Xe(ge.next(lt))}catch(Nn){bt(Nn)}}function _i(lt){try{Xe(ge.throw(lt))}catch(Nn){bt(Nn)}}function Xe(lt){lt.done?he(lt.value):function xe(he){return he instanceof _e?he:new _e(function(bt){bt(he)})}(lt.value).then(qt,_i)}Xe((ge=ge.apply(ue,fe||[])).next())})}w.d(U,{mG:()=>H})},9808:(Y,U,w)=>{"use strict";w.d(U,{mr:()=>Oe,Ov:()=>un,ez:()=>Ur,K0:()=>R,uU:()=>Ui,Do:()=>Pt,V_:()=>N,Ye:()=>xt,S$:()=>de,mk:()=>Oo,sg:()=>ln,O5:()=>Un,PC:()=>ar,RF:()=>Cn,n9:()=>Vn,ED:()=>ja,tP:()=>Ps,b0:()=>Ve,lw:()=>H,EM:()=>lr,JF:()=>ni,p6:()=>wt,NF:()=>_n,w_:()=>E,bD:()=>qa,q:()=>T,Mx:()=>Ya,HT:()=>C});var b=w(5e3);let i=null;function T(){return i}function C(P){i||(i=P)}class E{}const R=new b.OlP("DocumentToken");let H=(()=>{class P{historyGo(O){throw new Error("Not implemented")}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function B(){return(0,b.LFG)(V)}()},providedIn:"platform"}),P})();const N=new b.OlP("Location Initialized");let V=(()=>{class P extends H{constructor(O){super(),this._doc=O,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(O){const $=T().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",O,!1),()=>$.removeEventListener("popstate",O)}onHashChange(O){const $=T().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",O,!1),()=>$.removeEventListener("hashchange",O)}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(O){this.location.pathname=O}pushState(O,$,ie){J()?this._history.pushState(O,$,ie):this.location.hash=ie}replaceState(O,$,ie){J()?this._history.replaceState(O,$,ie):this.location.hash=ie}forward(){this._history.forward()}back(){this._history.back()}historyGo(O=0){this._history.go(O)}getState(){return this._history.state}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(R))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function X(){return new V((0,b.LFG)(R))}()},providedIn:"platform"}),P})();function J(){return!!window.history.pushState}function re(P,q){if(0==P.length)return q;if(0==q.length)return P;let O=0;return P.endsWith("/")&&O++,q.startsWith("/")&&O++,2==O?P+q.substring(1):1==O?P+q:P+"/"+q}function ee(P){const q=P.match(/#|\?|$/),O=q&&q.index||P.length;return P.slice(0,O-("/"===P[O-1]?1:0))+P.slice(O)}function ae(P){return P&&"?"!==P[0]?"?"+P:P}let de=(()=>{class P{historyGo(O){throw new Error("Not implemented")}}return P.\u0275fac=function(O){return new(O||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function Ie(P){const q=(0,b.LFG)(R).location;return new Ve((0,b.LFG)(H),q&&q.origin||"")}()},providedIn:"root"}),P})();const Oe=new b.OlP("appBaseHref");let Ve=(()=>{class P extends de{constructor(O,$){if(super(),this._platformLocation=O,this._removeListenerFns=[],null==$&&($=this._platformLocation.getBaseHrefFromDOM()),null==$)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=$}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}prepareExternalUrl(O){return re(this._baseHref,O)}path(O=!1){const $=this._platformLocation.pathname+ae(this._platformLocation.search),ie=this._platformLocation.hash;return ie&&O?`${$}${ie}`:$}pushState(O,$,ie,pe){const be=this.prepareExternalUrl(ie+ae(pe));this._platformLocation.pushState(O,$,be)}replaceState(O,$,ie,pe){const be=this.prepareExternalUrl(ie+ae(pe));this._platformLocation.replaceState(O,$,be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformLocation).historyGo)||void 0===ie||ie.call($,O)}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(H),b.LFG(Oe,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),Pt=(()=>{class P extends de{constructor(O,$){super(),this._platformLocation=O,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(O){this._removeListenerFns.push(this._platformLocation.onPopState(O),this._platformLocation.onHashChange(O))}getBaseHref(){return this._baseHref}path(O=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(O){const $=re(this._baseHref,O);return $.length>0?"#"+$:$}pushState(O,$,ie,pe){let be=this.prepareExternalUrl(ie+ae(pe));0==be.length&&(be=this._platformLocation.pathname),this._platformLocation.pushState(O,$,be)}replaceState(O,$,ie,pe){let be=this.prepareExternalUrl(ie+ae(pe));0==be.length&&(be=this._platformLocation.pathname),this._platformLocation.replaceState(O,$,be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformLocation).historyGo)||void 0===ie||ie.call($,O)}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(H),b.LFG(Oe,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),xt=(()=>{class P{constructor(O,$){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=O;const ie=this._platformStrategy.getBaseHref();this._platformLocation=$,this._baseHref=ee(yt(ie)),this._platformStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}path(O=!1){return this.normalize(this._platformStrategy.path(O))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(O,$=""){return this.path()==this.normalize(O+ae($))}normalize(O){return P.stripTrailingSlash(function an(P,q){return P&&q.startsWith(P)?q.substring(P.length):q}(this._baseHref,yt(O)))}prepareExternalUrl(O){return O&&"/"!==O[0]&&(O="/"+O),this._platformStrategy.prepareExternalUrl(O)}go(O,$="",ie=null){this._platformStrategy.pushState(ie,"",O,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae($)),ie)}replaceState(O,$="",ie=null){this._platformStrategy.replaceState(ie,"",O,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(O+ae($)),ie)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(O=0){var $,ie;null===(ie=($=this._platformStrategy).historyGo)||void 0===ie||ie.call($,O)}onUrlChange(O){this._urlChangeListeners.push(O),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)}))}_notifyUrlChangeListeners(O="",$){this._urlChangeListeners.forEach(ie=>ie(O,$))}subscribe(O,$,ie){return this._subject.subscribe({next:O,error:$,complete:ie})}}return P.normalizeQueryParams=ae,P.joinWithSlash=re,P.stripTrailingSlash=ee,P.\u0275fac=function(O){return new(O||P)(b.LFG(de),b.LFG(H))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function We(){return new xt((0,b.LFG)(de),(0,b.LFG)(H))}()},providedIn:"root"}),P})();function yt(P){return P.replace(/\/index.html$/,"")}var fe=(()=>((fe=fe||{})[fe.Zero=0]="Zero",fe[fe.One=1]="One",fe[fe.Two=2]="Two",fe[fe.Few=3]="Few",fe[fe.Many=4]="Many",fe[fe.Other=5]="Other",fe))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),ge=(()=>((ge=ge||{})[ge.Narrow=0]="Narrow",ge[ge.Abbreviated=1]="Abbreviated",ge[ge.Wide=2]="Wide",ge[ge.Short=3]="Short",ge))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),he=(()=>((he=he||{})[he.Decimal=0]="Decimal",he[he.Group=1]="Group",he[he.List=2]="List",he[he.PercentSign=3]="PercentSign",he[he.PlusSign=4]="PlusSign",he[he.MinusSign=5]="MinusSign",he[he.Exponential=6]="Exponential",he[he.SuperscriptingExponent=7]="SuperscriptingExponent",he[he.PerMille=8]="PerMille",he[he.Infinity=9]="Infinity",he[he.NaN=10]="NaN",he[he.TimeSeparator=11]="TimeSeparator",he[he.CurrencyDecimal=12]="CurrencyDecimal",he[he.CurrencyGroup=13]="CurrencyGroup",he))();function ri(P,q){return Hi((0,b.cg1)(P)[b.wAp.DateFormat],q)}function Ro(P,q){return Hi((0,b.cg1)(P)[b.wAp.TimeFormat],q)}function xn(P,q){return Hi((0,b.cg1)(P)[b.wAp.DateTimeFormat],q)}function Yi(P,q){const O=(0,b.cg1)(P),$=O[b.wAp.NumberSymbols][q];if(void 0===$){if(q===he.CurrencyDecimal)return O[b.wAp.NumberSymbols][he.Decimal];if(q===he.CurrencyGroup)return O[b.wAp.NumberSymbols][he.Group]}return $}const eo=b.kL8;function Lo(P){if(!P[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Hi(P,q){for(let O=q;O>-1;O--)if(void 0!==P[O])return P[O];throw new Error("Locale data API: locale data undefined")}function Wt(P){const[q,O]=P.split(":");return{hours:+q,minutes:+O}}const ne=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},Se=/((?:[^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 He=(()=>((He=He||{})[He.Short=0]="Short",He[He.ShortGMT=1]="ShortGMT",He[He.Long=2]="Long",He[He.Extended=3]="Extended",He))(),Ae=(()=>((Ae=Ae||{})[Ae.FullYear=0]="FullYear",Ae[Ae.Month=1]="Month",Ae[Ae.Date=2]="Date",Ae[Ae.Hours=3]="Hours",Ae[Ae.Minutes=4]="Minutes",Ae[Ae.Seconds=5]="Seconds",Ae[Ae.FractionalSeconds=6]="FractionalSeconds",Ae[Ae.Day=7]="Day",Ae))(),je=(()=>((je=je||{})[je.DayPeriods=0]="DayPeriods",je[je.Days=1]="Days",je[je.Months=2]="Months",je[je.Eras=3]="Eras",je))();function wt(P,q,O,$){let ie=function Pe(P){if(sn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ie,pe=1,be=1]=P.split("-").map(Ze=>+Ze);return Ei(ie,pe-1,be)}const O=parseFloat(P);if(!isNaN(P-O))return new Date(O);let $;if($=P.match(ne))return function yi(P){const q=new Date(0);let O=0,$=0;const ie=P[8]?q.setUTCFullYear:q.setFullYear,pe=P[8]?q.setUTCHours:q.setHours;P[9]&&(O=Number(P[9]+P[10]),$=Number(P[9]+P[11])),ie.call(q,Number(P[1]),Number(P[2])-1,Number(P[3]));const be=Number(P[4]||0)-O,Ze=Number(P[5]||0)-$,Xt=Number(P[6]||0),Yt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return pe.call(q,be,Ze,Xt,Yt),q}($)}const q=new Date(P);if(!sn(q))throw new Error(`Unable to convert "${P}" into a date`);return q}(P);q=Rt(O,q)||q;let Ze,be=[];for(;q;){if(Ze=Se.exec(q),!Ze){be.push(q);break}{be=be.concat(Ze.slice(1));const Mt=be.pop();if(!Mt)break;q=Mt}}let Xt=ie.getTimezoneOffset();$&&(Xt=or($,Xt),ie=function D(P,q,O){const $=O?-1:1,ie=P.getTimezoneOffset();return function Br(P,q){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+q),P}(P,$*(or(q,ie)-ie))}(ie,$,!0));let Yt="";return be.forEach(Mt=>{const Nt=function sr(P){if(Yn[P])return Yn[P];let q;switch(P){case"G":case"GG":case"GGG":q=zt(je.Eras,ge.Abbreviated);break;case"GGGG":q=zt(je.Eras,ge.Wide);break;case"GGGGG":q=zt(je.Eras,ge.Narrow);break;case"y":q=Ue(Ae.FullYear,1,0,!1,!0);break;case"yy":q=Ue(Ae.FullYear,2,0,!0,!0);break;case"yyy":q=Ue(Ae.FullYear,3,0,!1,!0);break;case"yyyy":q=Ue(Ae.FullYear,4,0,!1,!0);break;case"Y":q=io(1);break;case"YY":q=io(2,!0);break;case"YYY":q=io(3);break;case"YYYY":q=io(4);break;case"M":case"L":q=Ue(Ae.Month,1,1);break;case"MM":case"LL":q=Ue(Ae.Month,2,1);break;case"MMM":q=zt(je.Months,ge.Abbreviated);break;case"MMMM":q=zt(je.Months,ge.Wide);break;case"MMMMM":q=zt(je.Months,ge.Narrow);break;case"LLL":q=zt(je.Months,ge.Abbreviated,_e.Standalone);break;case"LLLL":q=zt(je.Months,ge.Wide,_e.Standalone);break;case"LLLLL":q=zt(je.Months,ge.Narrow,_e.Standalone);break;case"w":q=to(1);break;case"ww":q=to(2);break;case"W":q=to(1,!0);break;case"d":q=Ue(Ae.Date,1);break;case"dd":q=Ue(Ae.Date,2);break;case"c":case"cc":q=Ue(Ae.Day,1);break;case"ccc":q=zt(je.Days,ge.Abbreviated,_e.Standalone);break;case"cccc":q=zt(je.Days,ge.Wide,_e.Standalone);break;case"ccccc":q=zt(je.Days,ge.Narrow,_e.Standalone);break;case"cccccc":q=zt(je.Days,ge.Short,_e.Standalone);break;case"E":case"EE":case"EEE":q=zt(je.Days,ge.Abbreviated);break;case"EEEE":q=zt(je.Days,ge.Wide);break;case"EEEEE":q=zt(je.Days,ge.Narrow);break;case"EEEEEE":q=zt(je.Days,ge.Short);break;case"a":case"aa":case"aaa":q=zt(je.DayPeriods,ge.Abbreviated);break;case"aaaa":q=zt(je.DayPeriods,ge.Wide);break;case"aaaaa":q=zt(je.DayPeriods,ge.Narrow);break;case"b":case"bb":case"bbb":q=zt(je.DayPeriods,ge.Abbreviated,_e.Standalone,!0);break;case"bbbb":q=zt(je.DayPeriods,ge.Wide,_e.Standalone,!0);break;case"bbbbb":q=zt(je.DayPeriods,ge.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":q=zt(je.DayPeriods,ge.Abbreviated,_e.Format,!0);break;case"BBBB":q=zt(je.DayPeriods,ge.Wide,_e.Format,!0);break;case"BBBBB":q=zt(je.DayPeriods,ge.Narrow,_e.Format,!0);break;case"h":q=Ue(Ae.Hours,1,-12);break;case"hh":q=Ue(Ae.Hours,2,-12);break;case"H":q=Ue(Ae.Hours,1);break;case"HH":q=Ue(Ae.Hours,2);break;case"m":q=Ue(Ae.Minutes,1);break;case"mm":q=Ue(Ae.Minutes,2);break;case"s":q=Ue(Ae.Seconds,1);break;case"ss":q=Ue(Ae.Seconds,2);break;case"S":q=Ue(Ae.FractionalSeconds,1);break;case"SS":q=Ue(Ae.FractionalSeconds,2);break;case"SSS":q=Ue(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":q=is(He.Short);break;case"ZZZZZ":q=is(He.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":q=is(He.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":q=is(He.Long);break;default:return null}return Yn[P]=q,q}(Mt);Yt+=Nt?Nt(ie,O,Xt):"''"===Mt?"'":Mt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Yt}function Ei(P,q,O){const $=new Date(0);return $.setFullYear(P,q,O),$.setHours(0,0,0),$}function Rt(P,q){const O=function qt(P){return(0,b.cg1)(P)[b.wAp.LocaleId]}(P);if(Ee[O]=Ee[O]||{},Ee[O][q])return Ee[O][q];let $="";switch(q){case"shortDate":$=ri(P,xe.Short);break;case"mediumDate":$=ri(P,xe.Medium);break;case"longDate":$=ri(P,xe.Long);break;case"fullDate":$=ri(P,xe.Full);break;case"shortTime":$=Ro(P,xe.Short);break;case"mediumTime":$=Ro(P,xe.Medium);break;case"longTime":$=Ro(P,xe.Long);break;case"fullTime":$=Ro(P,xe.Full);break;case"short":const ie=Rt(P,"shortTime"),pe=Rt(P,"shortDate");$=Rs(xn(P,xe.Short),[ie,pe]);break;case"medium":const be=Rt(P,"mediumTime"),Ze=Rt(P,"mediumDate");$=Rs(xn(P,xe.Medium),[be,Ze]);break;case"long":const Xt=Rt(P,"longTime"),Yt=Rt(P,"longDate");$=Rs(xn(P,xe.Long),[Xt,Yt]);break;case"full":const Mt=Rt(P,"fullTime"),Nt=Rt(P,"fullDate");$=Rs(xn(P,xe.Full),[Mt,Nt])}return $&&(Ee[O][q]=$),$}function Rs(P,q){return q&&(P=P.replace(/\{([^}]+)}/g,function(O,$){return null!=q&&$ in q?q[$]:O})),P}function Di(P,q,O="-",$,ie){let pe="";(P<0||ie&&P<=0)&&(ie?P=1-P:(P=-P,pe=O));let be=String(P);for(;be.length0||Ze>-O)&&(Ze+=O),P===Ae.Hours)0===Ze&&-12===O&&(Ze=12);else if(P===Ae.FractionalSeconds)return function tt(P,q){return Di(P,3).substr(0,q)}(Ze,q);const Xt=Yi(be,he.MinusSign);return Di(Ze,q,Xt,$,ie)}}function zt(P,q,O=_e.Format,$=!1){return function(ie,pe){return function pt(P,q,O,$,ie,pe){switch(O){case je.Months:return function lt(P,q,O){const $=(0,b.cg1)(P),pe=Hi([$[b.wAp.MonthsFormat],$[b.wAp.MonthsStandalone]],q);return Hi(pe,O)}(q,ie,$)[P.getMonth()];case je.Days:return function Xe(P,q,O){const $=(0,b.cg1)(P),pe=Hi([$[b.wAp.DaysFormat],$[b.wAp.DaysStandalone]],q);return Hi(pe,O)}(q,ie,$)[P.getDay()];case je.DayPeriods:const be=P.getHours(),Ze=P.getMinutes();if(pe){const Yt=function uu(P){const q=(0,b.cg1)(P);return Lo(q),(q[b.wAp.ExtraData][2]||[]).map($=>"string"==typeof $?Wt($):[Wt($[0]),Wt($[1])])}(q),Mt=function ut(P,q,O){const $=(0,b.cg1)(P);Lo($);const pe=Hi([$[b.wAp.ExtraData][0],$[b.wAp.ExtraData][1]],q)||[];return Hi(pe,O)||[]}(q,ie,$),Nt=Yt.findIndex(zi=>{if(Array.isArray(zi)){const[hi,ci]=zi,uo=be>=hi.hours&&Ze>=hi.minutes,ps=be0?Math.floor(ie/60):Math.ceil(ie/60);switch(P){case He.Short:return(ie>=0?"+":"")+Di(be,2,pe)+Di(Math.abs(ie%60),2,pe);case He.ShortGMT:return"GMT"+(ie>=0?"+":"")+Di(be,1,pe);case He.Long:return"GMT"+(ie>=0?"+":"")+Di(be,2,pe)+":"+Di(Math.abs(ie%60),2,pe);case He.Extended:return 0===$?"Z":(ie>=0?"+":"")+Di(be,2,pe)+":"+Di(Math.abs(ie%60),2,pe);default:throw new Error(`Unknown zone width "${P}"`)}}}function Io(P){return Ei(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function to(P,q=!1){return function(O,$){let ie;if(q){const pe=new Date(O.getFullYear(),O.getMonth(),1).getDay()-1,be=O.getDate();ie=1+Math.floor((be+pe)/7)}else{const pe=Io(O),be=function nl(P){const q=Ei(P,0,1).getDay();return Ei(P,0,1+(q<=4?4:11)-q)}(pe.getFullYear()),Ze=pe.getTime()-be.getTime();ie=1+Math.round(Ze/6048e5)}return Di(ie,P,Yi($,he.MinusSign))}}function io(P,q=!1){return function(O,$){return Di(Io(O).getFullYear(),P,Yi($,he.MinusSign),q)}}const Yn={};function or(P,q){P=P.replace(/:/g,"");const O=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(O)?q:O}function sn(P){return P instanceof Date&&!isNaN(P.valueOf())}class $t{}let no=(()=>{class P extends $t{constructor(O){super(),this.locale=O}getPluralCategory(O,$){switch(eo($||this.locale)(O)){case fe.Zero:return"zero";case fe.One:return"one";case fe.Two:return"two";case fe.Few:return"few";case fe.Many:return"many";default:return"other"}}}return P.\u0275fac=function(O){return new(O||P)(b.LFG(b.soG))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})();function Ya(P,q){q=encodeURIComponent(q);for(const O of P.split(";")){const $=O.indexOf("="),[ie,pe]=-1==$?[O,""]:[O.slice(0,$),O.slice($+1)];if(ie.trim()===q)return decodeURIComponent(pe)}return null}let Oo=(()=>{class P{constructor(O,$,ie,pe){this._iterableDiffers=O,this._keyValueDiffers=$,this._ngEl=ie,this._renderer=pe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(O){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof O?O.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(O){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof O?O.split(/\s+/):O,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const O=this._iterableDiffer.diff(this._rawClass);O&&this._applyIterableChanges(O)}else if(this._keyValueDiffer){const O=this._keyValueDiffer.diff(this._rawClass);O&&this._applyKeyValueChanges(O)}}_applyKeyValueChanges(O){O.forEachAddedItem($=>this._toggleClass($.key,$.currentValue)),O.forEachChangedItem($=>this._toggleClass($.key,$.currentValue)),O.forEachRemovedItem($=>{$.previousValue&&this._toggleClass($.key,!1)})}_applyIterableChanges(O){O.forEachAddedItem($=>{if("string"!=typeof $.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)($.item)}`);this._toggleClass($.item,!0)}),O.forEachRemovedItem($=>this._toggleClass($.item,!1))}_applyClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach($=>this._toggleClass($,!0)):Object.keys(O).forEach($=>this._toggleClass($,!!O[$])))}_removeClasses(O){O&&(Array.isArray(O)||O instanceof Set?O.forEach($=>this._toggleClass($,!1)):Object.keys(O).forEach($=>this._toggleClass($,!1)))}_toggleClass(O,$){(O=O.trim())&&O.split(/\s+/g).forEach(ie=>{$?this._renderer.addClass(this._ngEl.nativeElement,ie):this._renderer.removeClass(this._ngEl.nativeElement,ie)})}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class rr{constructor(q,O,$,ie){this.$implicit=q,this.ngForOf=O,this.index=$,this.count=ie}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 ln=(()=>{class P{constructor(O,$,ie){this._viewContainer=O,this._template=$,this._differs=ie,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(O){this._ngForOf=O,this._ngForOfDirty=!0}set ngForTrackBy(O){this._trackByFn=O}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(O){O&&(this._template=O)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const O=this._ngForOf;!this._differ&&O&&(this._differ=this._differs.find(O).create(this.ngForTrackBy))}if(this._differ){const O=this._differ.diff(this._ngForOf);O&&this._applyChanges(O)}}_applyChanges(O){const $=this._viewContainer;O.forEachOperation((ie,pe,be)=>{if(null==ie.previousIndex)$.createEmbeddedView(this._template,new rr(ie.item,this._ngForOf,-1,-1),null===be?void 0:be);else if(null==be)$.remove(null===pe?void 0:pe);else if(null!==pe){const Ze=$.get(pe);$.move(Ze,be),Ho(Ze,ie)}});for(let ie=0,pe=$.length;ie{Ho($.get(ie.currentIndex),ie)})}static ngTemplateContextGuard(O,$){return!0}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function Ho(P,q){P.context.$implicit=q.item}let Un=(()=>{class P{constructor(O,$){this._viewContainer=O,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(O){this._context.$implicit=this._context.ngIf=O,this._updateView()}set ngIfThen(O){ol("ngIfThen",O),this._thenTemplateRef=O,this._thenViewRef=null,this._updateView()}set ngIfElse(O){ol("ngIfElse",O),this._elseTemplateRef=O,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(O,$){return!0}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function ol(P,q){if(q&&!q.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,b.AaK)(q)}'.`)}class Fo{constructor(q,O){this._viewContainerRef=q,this._templateRef=O,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(q){q&&!this._created?this.create():!q&&this._created&&this.destroy()}}let Cn=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(O){this._ngSwitch=O,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(O){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(O)}_matchCase(O){const $=O==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(O){if(this._defaultViews&&O!==this._defaultUsed){this._defaultUsed=O;for(let $=0;${class P{constructor(O,$,ie){this.ngSwitch=ie,ie._addCase(),this._view=new Fo(O,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),ja=(()=>{class P{constructor(O,$,ie){ie._addDefault(new Fo(O,$))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Cn,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),ar=(()=>{class P{constructor(O,$,ie){this._ngEl=O,this._differs=$,this._renderer=ie,this._ngStyle=null,this._differ=null}set ngStyle(O){this._ngStyle=O,!this._differ&&O&&(this._differ=this._differs.find(O).create())}ngDoCheck(){if(this._differ){const O=this._differ.diff(this._ngStyle);O&&this._applyChanges(O)}}_setStyle(O,$){const[ie,pe]=O.split(".");null!=($=null!=$&&pe?`${$}${pe}`:$)?this._renderer.setStyle(this._ngEl.nativeElement,ie,$):this._renderer.removeStyle(this._ngEl.nativeElement,ie)}_applyChanges(O){O.forEachRemovedItem($=>this._setStyle($.key,null)),O.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),O.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})(),Ps=(()=>{class P{constructor(O){this._viewContainerRef=O,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(O){if(O.ngTemplateOutlet){const $=this._viewContainerRef;this._viewRef&&$.remove($.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?$.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&O.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.s_b))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[b.TTD]}),P})();function ss(P,q){return new b.vHH(2100,"")}class eh{createSubscription(q,O){return q.subscribe({next:O,error:$=>{throw $}})}dispose(q){q.unsubscribe()}onDestroy(q){q.unsubscribe()}}class Tt{createSubscription(q,O){return q.then(O,$=>{throw $})}dispose(q){}onDestroy(q){}}const oo=new Tt,Kt=new eh;let un=(()=>{class P{constructor(O){this._ref=O,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(O){return this._obj?O!==this._obj?(this._dispose(),this.transform(O)):this._latestValue:(O&&this._subscribe(O),this._latestValue)}_subscribe(O){this._obj=O,this._strategy=this._selectStrategy(O),this._subscription=this._strategy.createSubscription(O,$=>this._updateLatestValue(O,$))}_selectStrategy(O){if((0,b.QGY)(O))return oo;if((0,b.F4k)(O))return Kt;throw ss()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(O,$){O===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.sBO,16))},P.\u0275pipe=b.Yjl({name:"async",type:P,pure:!1}),P})();const jr=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ui=(()=>{class P{constructor(O,$){this.locale=O,this.defaultTimezone=$}transform(O,$="mediumDate",ie,pe){var be;if(null==O||""===O||O!=O)return null;try{return wt(O,$,pe||this.locale,null!==(be=null!=ie?ie:this.defaultTimezone)&&void 0!==be?be:void 0)}catch(Ze){throw ss()}}}return P.\u0275fac=function(O){return new(O||P)(b.Y36(b.soG,16),b.Y36(jr,24))},P.\u0275pipe=b.Yjl({name:"date",type:P,pure:!0}),P})(),Ur=(()=>{class P{}return P.\u0275fac=function(O){return new(O||P)},P.\u0275mod=b.oAB({type:P}),P.\u0275inj=b.cJS({providers:[{provide:$t,useClass:no}]}),P})();const qa="browser";function _n(P){return P===qa}let lr=(()=>{class P{}return P.\u0275prov=(0,b.Yz7)({token:P,providedIn:"root",factory:()=>new co((0,b.LFG)(R),window)}),P})();class co{constructor(q,O){this.document=q,this.window=O,this.offset=()=>[0,0]}setOffset(q){this.offset=Array.isArray(q)?()=>q:q}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(q){this.supportsScrolling()&&this.window.scrollTo(q[0],q[1])}scrollToAnchor(q){if(!this.supportsScrolling())return;const O=function Vi(P,q){const O=P.getElementById(q)||P.getElementsByName(q)[0];if(O)return O;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const $=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ie=$.currentNode;for(;ie;){const pe=ie.shadowRoot;if(pe){const be=pe.getElementById(q)||pe.querySelector(`[name="${q}"]`);if(be)return be}ie=$.nextNode()}}return null}(this.document,q);O&&(this.scrollToElement(O),O.focus())}setHistoryScrollRestoration(q){if(this.supportScrollRestoration()){const O=this.window.history;O&&O.scrollRestoration&&(O.scrollRestoration=q)}}scrollToElement(q){const O=q.getBoundingClientRect(),$=O.left+this.window.pageXOffset,ie=O.top+this.window.pageYOffset,pe=this.offset();this.window.scrollTo($-pe[0],ie-pe[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const q=lo(this.window.history)||lo(Object.getPrototypeOf(this.window.history));return!(!q||!q.writable&&!q.set)}catch(q){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(q){return!1}}}function lo(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class ni{}},520:(Y,U,w)=>{"use strict";w.d(U,{TP:()=>qt,eN:()=>he,JF:()=>Hi,WM:()=>N,LE:()=>de,Zn:()=>_e});var b=w(9808),i=w(5e3),T=w(1086),v=w(2916),C=w(1406),E=w(2198),R=w(4850);class H{}class B{}class N{constructor(oe){this.normalizedNames=new Map,this.lazyUpdate=null,oe?this.lazyInit="string"==typeof oe?()=>{this.headers=new Map,oe.split("\n").forEach(ne=>{const Ee=ne.indexOf(":");if(Ee>0){const Se=ne.slice(0,Ee),He=Se.toLowerCase(),Ae=ne.slice(Ee+1).trim();this.maybeSetNormalizedName(Se,He),this.headers.has(He)?this.headers.get(He).push(Ae):this.headers.set(He,[Ae])}})}:()=>{this.headers=new Map,Object.keys(oe).forEach(ne=>{let Ee=oe[ne];const Se=ne.toLowerCase();"string"==typeof Ee&&(Ee=[Ee]),Ee.length>0&&(this.headers.set(Se,Ee),this.maybeSetNormalizedName(ne,Se))})}:this.headers=new Map}has(oe){return this.init(),this.headers.has(oe.toLowerCase())}get(oe){this.init();const ne=this.headers.get(oe.toLowerCase());return ne&&ne.length>0?ne[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(oe){return this.init(),this.headers.get(oe.toLowerCase())||null}append(oe,ne){return this.clone({name:oe,value:ne,op:"a"})}set(oe,ne){return this.clone({name:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({name:oe,value:ne,op:"d"})}maybeSetNormalizedName(oe,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,oe)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(oe=>this.applyUpdate(oe)),this.lazyUpdate=null))}copyFrom(oe){oe.init(),Array.from(oe.headers.keys()).forEach(ne=>{this.headers.set(ne,oe.headers.get(ne)),this.normalizedNames.set(ne,oe.normalizedNames.get(ne))})}clone(oe){const ne=new N;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([oe]),ne}applyUpdate(oe){const ne=oe.name.toLowerCase();switch(oe.op){case"a":case"s":let Ee=oe.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(oe.name,ne);const Se=("a"===oe.op?this.headers.get(ne):void 0)||[];Se.push(...Ee),this.headers.set(ne,Se);break;case"d":const He=oe.value;if(He){let Ae=this.headers.get(ne);if(!Ae)return;Ae=Ae.filter(je=>-1===He.indexOf(je)),0===Ae.length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,Ae)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}forEach(oe){this.init(),Array.from(this.normalizedNames.keys()).forEach(ne=>oe(this.normalizedNames.get(ne),this.headers.get(ne)))}}class V{encodeKey(oe){return ee(oe)}encodeValue(oe){return ee(oe)}decodeKey(oe){return decodeURIComponent(oe)}decodeValue(oe){return decodeURIComponent(oe)}}const X=/%(\d[a-f0-9])/gi,re={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(ve){return encodeURIComponent(ve).replace(X,(oe,ne)=>{var Ee;return null!==(Ee=re[ne])&&void 0!==Ee?Ee:oe})}function ae(ve){return`${ve}`}class de{constructor(oe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=oe.encoder||new V,oe.fromString){if(oe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function J(ve,oe){const ne=new Map;return ve.length>0&&ve.replace(/^\?/,"").split("&").forEach(Se=>{const He=Se.indexOf("="),[Ae,je]=-1==He?[oe.decodeKey(Se),""]:[oe.decodeKey(Se.slice(0,He)),oe.decodeValue(Se.slice(He+1))],wt=ne.get(Ae)||[];wt.push(je),ne.set(Ae,wt)}),ne}(oe.fromString,this.encoder)}else oe.fromObject?(this.map=new Map,Object.keys(oe.fromObject).forEach(ne=>{const Ee=oe.fromObject[ne];this.map.set(ne,Array.isArray(Ee)?Ee:[Ee])})):this.map=null}has(oe){return this.init(),this.map.has(oe)}get(oe){this.init();const ne=this.map.get(oe);return ne?ne[0]:null}getAll(oe){return this.init(),this.map.get(oe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(oe,ne){return this.clone({param:oe,value:ne,op:"a"})}appendAll(oe){const ne=[];return Object.keys(oe).forEach(Ee=>{const Se=oe[Ee];Array.isArray(Se)?Se.forEach(He=>{ne.push({param:Ee,value:He,op:"a"})}):ne.push({param:Ee,value:Se,op:"a"})}),this.clone(ne)}set(oe,ne){return this.clone({param:oe,value:ne,op:"s"})}delete(oe,ne){return this.clone({param:oe,value:ne,op:"d"})}toString(){return this.init(),this.keys().map(oe=>{const ne=this.encoder.encodeKey(oe);return this.map.get(oe).map(Ee=>ne+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(oe=>""!==oe).join("&")}clone(oe){const ne=new de({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(oe),ne}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(oe=>this.map.set(oe,this.cloneFrom.map.get(oe))),this.updates.forEach(oe=>{switch(oe.op){case"a":case"s":const ne=("a"===oe.op?this.map.get(oe.param):void 0)||[];ne.push(ae(oe.value)),this.map.set(oe.param,ne);break;case"d":if(void 0===oe.value){this.map.delete(oe.param);break}{let Ee=this.map.get(oe.param)||[];const Se=Ee.indexOf(ae(oe.value));-1!==Se&&Ee.splice(Se,1),Ee.length>0?this.map.set(oe.param,Ee):this.map.delete(oe.param)}}}),this.cloneFrom=this.updates=null)}}class Oe{constructor(){this.map=new Map}set(oe,ne){return this.map.set(oe,ne),this}get(oe){return this.map.has(oe)||this.map.set(oe,oe.defaultValue()),this.map.get(oe)}delete(oe){return this.map.delete(oe),this}has(oe){return this.map.has(oe)}keys(){return this.map.keys()}}function Pt(ve){return"undefined"!=typeof ArrayBuffer&&ve instanceof ArrayBuffer}function xt(ve){return"undefined"!=typeof Blob&&ve instanceof Blob}function We(ve){return"undefined"!=typeof FormData&&ve instanceof FormData}class yt{constructor(oe,ne,Ee,Se){let He;if(this.url=ne,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=oe.toUpperCase(),function Ve(ve){switch(ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Se?(this.body=void 0!==Ee?Ee:null,He=Se):He=Ee,He&&(this.reportProgress=!!He.reportProgress,this.withCredentials=!!He.withCredentials,He.responseType&&(this.responseType=He.responseType),He.headers&&(this.headers=He.headers),He.context&&(this.context=He.context),He.params&&(this.params=He.params)),this.headers||(this.headers=new N),this.context||(this.context=new Oe),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=ne;else{const je=ne.indexOf("?");this.urlWithParams=ne+(-1===je?"?":jeDi.set(tt,oe.setHeaders[tt]),Ei)),oe.setParams&&(Rt=Object.keys(oe.setParams).reduce((Di,tt)=>Di.set(tt,oe.setParams[tt]),Rt)),new yt(Ee,Se,Ae,{params:Rt,headers:Ei,context:Rs,reportProgress:wt,responseType:He,withCredentials:je})}}var ft=(()=>((ft=ft||{})[ft.Sent=0]="Sent",ft[ft.UploadProgress=1]="UploadProgress",ft[ft.ResponseHeader=2]="ResponseHeader",ft[ft.DownloadProgress=3]="DownloadProgress",ft[ft.Response=4]="Response",ft[ft.User=5]="User",ft))();class ue{constructor(oe,ne=200,Ee="OK"){this.headers=oe.headers||new N,this.status=void 0!==oe.status?oe.status:ne,this.statusText=oe.statusText||Ee,this.url=oe.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends ue{constructor(oe={}){super(oe),this.type=ft.ResponseHeader}clone(oe={}){return new fe({headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class _e extends ue{constructor(oe={}){super(oe),this.type=ft.Response,this.body=void 0!==oe.body?oe.body:null}clone(oe={}){return new _e({body:void 0!==oe.body?oe.body:this.body,headers:oe.headers||this.headers,status:void 0!==oe.status?oe.status:this.status,statusText:oe.statusText||this.statusText,url:oe.url||this.url||void 0})}}class ge extends ue{constructor(oe){super(oe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${oe.url||"(unknown url)"}`:`Http failure response for ${oe.url||"(unknown url)"}: ${oe.status} ${oe.statusText}`,this.error=oe.error||null}}function xe(ve,oe){return{body:oe,headers:ve.headers,context:ve.context,observe:ve.observe,params:ve.params,reportProgress:ve.reportProgress,responseType:ve.responseType,withCredentials:ve.withCredentials}}let he=(()=>{class ve{constructor(ne){this.handler=ne}request(ne,Ee,Se={}){let He;if(ne instanceof yt)He=ne;else{let wt,Ei;wt=Se.headers instanceof N?Se.headers:new N(Se.headers),Se.params&&(Ei=Se.params instanceof de?Se.params:new de({fromObject:Se.params})),He=new yt(ne,Ee,void 0!==Se.body?Se.body:null,{headers:wt,context:Se.context,params:Ei,reportProgress:Se.reportProgress,responseType:Se.responseType||"json",withCredentials:Se.withCredentials})}const Ae=(0,T.of)(He).pipe((0,C.b)(wt=>this.handler.handle(wt)));if(ne instanceof yt||"events"===Se.observe)return Ae;const je=Ae.pipe((0,E.h)(wt=>wt instanceof _e));switch(Se.observe||"body"){case"body":switch(He.responseType){case"arraybuffer":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wt.body}));case"blob":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&!(wt.body instanceof Blob))throw new Error("Response is not a Blob.");return wt.body}));case"text":return je.pipe((0,R.U)(wt=>{if(null!==wt.body&&"string"!=typeof wt.body)throw new Error("Response is not a string.");return wt.body}));default:return je.pipe((0,R.U)(wt=>wt.body))}case"response":return je;default:throw new Error(`Unreachable: unhandled observe type ${Se.observe}}`)}}delete(ne,Ee={}){return this.request("DELETE",ne,Ee)}get(ne,Ee={}){return this.request("GET",ne,Ee)}head(ne,Ee={}){return this.request("HEAD",ne,Ee)}jsonp(ne,Ee){return this.request("JSONP",ne,{params:(new de).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ne,Ee={}){return this.request("OPTIONS",ne,Ee)}patch(ne,Ee,Se={}){return this.request("PATCH",ne,xe(Se,Ee))}post(ne,Ee,Se={}){return this.request("POST",ne,xe(Se,Ee))}put(ne,Ee,Se={}){return this.request("PUT",ne,xe(Se,Ee))}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(H))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class bt{constructor(oe,ne){this.next=oe,this.interceptor=ne}handle(oe){return this.interceptor.intercept(oe,this.next)}}const qt=new i.OlP("HTTP_INTERCEPTORS");let _i=(()=>{class ve{intercept(ne,Ee){return Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const xn=/^\)\]\}',?\n/;let Xs=(()=>{class ve{constructor(ne){this.xhrFactory=ne}handle(ne){if("JSONP"===ne.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v.y(Ee=>{const Se=this.xhrFactory.build();if(Se.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Se.withCredentials=!0),ne.headers.forEach((tt,Ue)=>Se.setRequestHeader(tt,Ue.join(","))),ne.headers.has("Accept")||Se.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){const tt=ne.detectContentTypeHeader();null!==tt&&Se.setRequestHeader("Content-Type",tt)}if(ne.responseType){const tt=ne.responseType.toLowerCase();Se.responseType="json"!==tt?tt:"text"}const He=ne.serializeBody();let Ae=null;const je=()=>{if(null!==Ae)return Ae;const tt=Se.statusText||"OK",Ue=new N(Se.getAllResponseHeaders()),Rn=function Yi(ve){return"responseURL"in ve&&ve.responseURL?ve.responseURL:/^X-Request-URL:/m.test(ve.getAllResponseHeaders())?ve.getResponseHeader("X-Request-URL"):null}(Se)||ne.url;return Ae=new fe({headers:Ue,status:Se.status,statusText:tt,url:Rn}),Ae},wt=()=>{let{headers:tt,status:Ue,statusText:Rn,url:zt}=je(),pt=null;204!==Ue&&(pt=void 0===Se.response?Se.responseText:Se.response),0===Ue&&(Ue=pt?200:0);let is=Ue>=200&&Ue<300;if("json"===ne.responseType&&"string"==typeof pt){const Bn=pt;pt=pt.replace(xn,"");try{pt=""!==pt?JSON.parse(pt):null}catch(Pn){pt=Bn,is&&(is=!1,pt={error:Pn,text:pt})}}is?(Ee.next(new _e({body:pt,headers:tt,status:Ue,statusText:Rn,url:zt||void 0})),Ee.complete()):Ee.error(new ge({error:pt,headers:tt,status:Ue,statusText:Rn,url:zt||void 0}))},Ei=tt=>{const{url:Ue}=je(),Rn=new ge({error:tt,status:Se.status||0,statusText:Se.statusText||"Unknown Error",url:Ue||void 0});Ee.error(Rn)};let Rt=!1;const Rs=tt=>{Rt||(Ee.next(je()),Rt=!0);let Ue={type:ft.DownloadProgress,loaded:tt.loaded};tt.lengthComputable&&(Ue.total=tt.total),"text"===ne.responseType&&!!Se.responseText&&(Ue.partialText=Se.responseText),Ee.next(Ue)},Di=tt=>{let Ue={type:ft.UploadProgress,loaded:tt.loaded};tt.lengthComputable&&(Ue.total=tt.total),Ee.next(Ue)};return Se.addEventListener("load",wt),Se.addEventListener("error",Ei),Se.addEventListener("timeout",Ei),Se.addEventListener("abort",Ei),ne.reportProgress&&(Se.addEventListener("progress",Rs),null!==He&&Se.upload&&Se.upload.addEventListener("progress",Di)),Se.send(He),Ee.next({type:ft.Sent}),()=>{Se.removeEventListener("error",Ei),Se.removeEventListener("abort",Ei),Se.removeEventListener("load",wt),Se.removeEventListener("timeout",Ei),ne.reportProgress&&(Se.removeEventListener("progress",Rs),null!==He&&Se.upload&&Se.upload.removeEventListener("progress",Di)),Se.readyState!==Se.DONE&&Se.abort()}})}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.JF))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Fr=new i.OlP("XSRF_COOKIE_NAME"),zr=new i.OlP("XSRF_HEADER_NAME");class Nr{}let Po=(()=>{class ve{constructor(ne,Ee,Se){this.doc=ne,this.platform=Ee,this.cookieName=Se,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(Fr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),eo=(()=>{class ve{constructor(ne,Ee){this.tokenService=ne,this.headerName=Ee}intercept(ne,Ee){const Se=ne.url.toLowerCase();if("GET"===ne.method||"HEAD"===ne.method||Se.startsWith("http://")||Se.startsWith("https://"))return Ee.handle(ne);const He=this.tokenService.getToken();return null!==He&&!ne.headers.has(this.headerName)&&(ne=ne.clone({headers:ne.headers.set(this.headerName,He)})),Ee.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(Nr),i.LFG(zr))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Lo=(()=>{class ve{constructor(ne,Ee){this.backend=ne,this.injector=Ee,this.chain=null}handle(ne){if(null===this.chain){const Ee=this.injector.get(qt,[]);this.chain=Ee.reduceRight((Se,He)=>new bt(Se,He),this.backend)}return this.chain.handle(ne)}}return ve.\u0275fac=function(ne){return new(ne||ve)(i.LFG(B),i.LFG(i.zs3))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Ba=(()=>{class ve{static disable(){return{ngModule:ve,providers:[{provide:eo,useClass:_i}]}}static withOptions(ne={}){return{ngModule:ve,providers:[ne.cookieName?{provide:Fr,useValue:ne.cookieName}:[],ne.headerName?{provide:zr,useValue:ne.headerName}:[]]}}}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[eo,{provide:qt,useExisting:eo,multi:!0},{provide:Nr,useClass:Po},{provide:Fr,useValue:"XSRF-TOKEN"},{provide:zr,useValue:"X-XSRF-TOKEN"}]}),ve})(),Hi=(()=>{class ve{}return ve.\u0275fac=function(ne){return new(ne||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({providers:[he,{provide:H,useClass:Lo},Xs,{provide:B,useExisting:Xs}],imports:[[Ba.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ve})()},5e3:(Y,U,w)=>{"use strict";w.d(U,{deG:()=>Dp,tb:()=>Vf,AFp:()=>UT,ip1:()=>jf,CZH:()=>eu,hGG:()=>y0,z2F:()=>Wf,sBO:()=>s0,Sil:()=>Gf,_Vd:()=>kd,EJc:()=>Pa,SBq:()=>Ed,qLn:()=>$u,vpe:()=>Mo,tBr:()=>lc,XFs:()=>ut,OlP:()=>mi,zs3:()=>wo,ZZ4:()=>ep,aQg:()=>Xm,soG:()=>qf,YKP:()=>Tw,h0i:()=>$s,PXZ:()=>Vm,R0b:()=>Xn,FiY:()=>Zn,Lbi:()=>Bm,g9A:()=>eA,n_E:()=>Rd,Qsj:()=>Dd,FYo:()=>ww,JOm:()=>An,q3G:()=>Pi,tp0:()=>ca,Rgc:()=>Ql,dDg:()=>aA,GfV:()=>Aw,s_b:()=>Ld,ifc:()=>He,eFA:()=>qm,G48:()=>qS,Gpc:()=>V,f3M:()=>Sh,_c5:()=>h0,VLi:()=>WT,c2e:()=>Ws,zSh:()=>My,wAp:()=>st,vHH:()=>ee,EiD:()=>pv,mCW:()=>ua,qzn:()=>dc,JVY:()=>ov,pB0:()=>cv,eBb:()=>qp,L6k:()=>rv,LAX:()=>av,cg1:()=>Qg,kL8:()=>Xg,yhl:()=>v_,dqk:()=>Rt,sIi:()=>Ac,CqO:()=>kC,QGY:()=>lb,F4k:()=>rf,RDi:()=>lo,AaK:()=>H,z3N:()=>Ar,qOj:()=>Mr,TTD:()=>ao,_Bn:()=>mw,xp6:()=>zv,uIk:()=>Vy,Tol:()=>bd,Gre:()=>Fb,ekj:()=>ff,Suo:()=>PT,Xpm:()=>Io,lG2:()=>Pe,Yz7:()=>ri,cJS:()=>xn,oAB:()=>or,Yjl:()=>yi,Y36:()=>Ca,_UZ:()=>ab,GkF:()=>Ng,BQk:()=>zg,ynx:()=>jl,qZA:()=>_d,TgZ:()=>Og,EpF:()=>cb,n5z:()=>_h,Ikx:()=>Xo,LFG:()=>Ki,$8M:()=>Eu,$Z:()=>rb,NdJ:()=>Bg,CRH:()=>LT,kcU:()=>ah,O4$:()=>Au,oxw:()=>ub,ALo:()=>wm,lcZ:()=>Am,xi3:()=>vm,Dn7:()=>Cm,Hsn:()=>hb,F$t:()=>db,Q6J:()=>Lg,s9C:()=>Ug,DdM:()=>Ea,VKq:()=>Jn,WLB:()=>kw,iGM:()=>xT,MAs:()=>gd,Jf7:()=>Dl,CHM:()=>nh,oJD:()=>Vu,LSH:()=>Lh,Udp:()=>Kg,WFA:()=>Yg,d8E:()=>yf,YNc:()=>va,W1O:()=>Hd,_uU:()=>Rb,Oqu:()=>Si,hij:()=>wd,AsE:()=>mf,xDo:()=>Ib,Gf:()=>RT});var b=w(8929),i=w(2654),T=w(2916),v=w(6787),C=w(2474);function E(l){for(let u in l)if(l[u]===E)return u;throw Error("Could not find renamed property on target object.")}function R(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function H(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(H).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const N=E({__forward_ref__:E});function V(l){return l.__forward_ref__=V,l.toString=function(){return H(this())},l}function J(l){return X(l)?l():l}function X(l){return"function"==typeof l&&l.hasOwnProperty(N)&&l.__forward_ref__===V}class ee extends Error{constructor(u,f){super(function ae(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function de(l){return"string"==typeof l?l:null==l?"":String(l)}function Ie(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():de(l)}function xt(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${Ie(l)} found${f}`)}function Xe(l,u){null==l&&function lt(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ri(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function xn(l){return{providers:l.providers||[],imports:l.imports||[]}}function Yi(l){return Xs(l,Po)||Xs(l,Lo)}function Xs(l,u){return l.hasOwnProperty(u)?l[u]:null}function Nr(l){return l&&(l.hasOwnProperty(eo)||l.hasOwnProperty(uu))?l[eo]:null}const Po=E({\u0275prov:E}),eo=E({\u0275inj:E}),Lo=E({ngInjectableDef:E}),uu=E({ngInjectorDef:E});var ut=(()=>((ut=ut||{})[ut.Default=0]="Default",ut[ut.Host=1]="Host",ut[ut.Self=2]="Self",ut[ut.SkipSelf=4]="SkipSelf",ut[ut.Optional=8]="Optional",ut))();let Ba;function Wt(l){const u=Ba;return Ba=l,u}function pn(l,u,f){const p=Yi(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&ut.Optional?null:void 0!==u?u:void xt(H(l),"Injector")}function oe(l){return{toString:l}.toString()}var ne=(()=>((ne=ne||{})[ne.OnPush=0]="OnPush",ne[ne.Default=1]="Default",ne))(),He=(()=>{return(l=He||(He={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",He;var l})();const Ae="undefined"!=typeof globalThis&&globalThis,je="undefined"!=typeof window&&window,wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Rt=Ae||"undefined"!=typeof global&&global||je||wt,tt={},Ue=[],Rn=E({\u0275cmp:E}),zt=E({\u0275dir:E}),pt=E({\u0275pipe:E}),is=E({\u0275mod:E}),Bn=E({\u0275fac:E}),Pn=E({__NG_ELEMENT_ID__:E});let nl=0;function Io(l){return oe(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||Ue,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||He.Emulated,id:"c",styles:l.styles||Ue,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,M=l.pipes;return p.id+=nl++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(k=>k(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(io):null,p.pipeDefs=M?()=>("function"==typeof M?M():M).map(Yn):null,p})}function io(l){return sn(l)||function qe(l){return l[zt]||null}(l)}function Yn(l){return function jn(l){return l[pt]||null}(l)}const sr={};function or(l){return oe(()=>{const u={type:l.type,bootstrap:l.bootstrap||Ue,declarations:l.declarations||Ue,imports:l.imports||Ue,exports:l.exports||Ue,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(sr[l.id]=l.type),u})}function D(l,u){if(null==l)return tt;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Pe=Io;function yi(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function sn(l){return l[Rn]||null}function dt(l,u){const f=l[is]||null;if(!f&&!0===u)throw new Error(`Type ${H(l)} does not have '\u0275mod' property.`);return f}function Cn(l){return Array.isArray(l)&&"object"==typeof l[1]}function Vn(l){return Array.isArray(l)&&!0===l[1]}function ja(l){return 0!=(8&l.flags)}function zo(l){return 2==(2&l.flags)}function so(l){return 1==(1&l.flags)}function qn(l){return null!==l.template}function ar(l){return 0!=(512&l[2])}function Ci(l,u){return l.hasOwnProperty(Bn)?l[Bn]:null}class Ut{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function ao(){return Vt}function Vt(l){return l.type.prototype.ngOnChanges&&(l.setInput=Va),Ls}function Ls(){const l=qa(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===tt)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Va(l,u,f,p){const m=qa(l)||function Tn(l,u){return l[Ur]=u}(l,{previous:tt,current:null}),y=m.current||(m.current={}),M=m.previous,k=this.declaredInputs[f],x=M[k];y[k]=new Ut(x&&x.currentValue,u,M===tt),l[p]=u}ao.ngInherit=!0;const Ur="__ngSimpleChanges__";function qa(l){return l[Ur]||null}let co;function lo(l){co=l}function Vi(){return void 0!==co?co:"undefined"!=typeof document?document:void 0}function ni(l){return!!l.listen}const P={createRenderer:(l,u)=>Vi()};function O(l){for(;Array.isArray(l);)l=l[0];return l}function pe(l,u){return O(u[l])}function be(l,u){return O(u[l.index])}function Xt(l,u){return l.data[u]}function Yt(l,u){return l[u]}function Mt(l,u){const f=u[l];return Cn(f)?f:f[0]}function Nt(l){return 4==(4&l[2])}function zi(l){return 128==(128&l[2])}function ci(l,u){return null==u?null:l[u]}function uo(l){l[18]=0}function ps(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const it={lFrame:$a(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function hr(){return it.bindingsEnabled}function Te(){return it.lFrame.lView}function Ft(){return it.lFrame.tView}function nh(l){return it.lFrame.contextLView=l,l[8]}function qi(){let l=gs();for(;null!==l&&64===l.type;)l=l.parent;return l}function gs(){return it.lFrame.currentTNode}function os(l,u){const f=it.lFrame;f.currentTNode=l,f.isParent=u}function ll(){return it.lFrame.isParent}function gu(){it.lFrame.isParent=!1}function ul(){return it.isInCheckNoChangesMode}function Ka(l){it.isInCheckNoChangesMode=l}function yn(){const l=it.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function Os(){return it.lFrame.bindingIndex}function ms(){return it.lFrame.bindingIndex++}function ho(l){const u=it.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function fr(l,u){const f=it.lFrame;f.bindingIndex=f.bindingRootIndex=l,kt(u)}function kt(l){it.lFrame.currentDirectiveIndex=l}function pr(l){const u=it.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function _u(){return it.lFrame.currentQueryIndex}function fo(l){it.lFrame.currentQueryIndex=l}function yu(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Za(l,u,f){if(f&ut.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f&ut.Host||(m=yu(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=it.lFrame=rh();return p.currentTNode=u,p.lView=l,!0}function gr(l){const u=rh(),f=l[1];it.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function rh(){const l=it.lFrame,u=null===l?null:l.child;return null===u?$a(l):u}function $a(l){const u={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:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Gr(){const l=it.lFrame;return it.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const bu=Gr;function mr(){const l=Gr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function rn(){return it.lFrame.selectedIndex}function po(l){it.lFrame.selectedIndex=l}function Ai(){const l=it.lFrame;return Xt(l.tView,l.selectedIndex)}function Au(){it.lFrame.currentNamespace="svg"}function ah(){!function Ln(){it.lFrame.currentNamespace=null}()}function dl(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(k>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(k)}finally{}}}else try{y.call(k)}finally{}}class Fs{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function Kr(l,u,f){const p=ni(l);let m=0;for(;mu){M=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let Qr=!0;function No(l){const u=Qr;return Qr=l,u}let fh=0;function Bo(l,u){const f=Xr(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Yo(p.data,l),Yo(u,null),Yo(p.blueprint,null));const m=ea(l,u),y=l.injectorIndex;if($r(m)){const M=Wr(m),k=Jr(m,u),x=k[1].data;for(let z=0;z<8;z++)u[y+z]=k[M+z]|x[M+z]}return u[y+8]=m,y}function Yo(l,u){l.push(0,0,0,0,0,0,0,0,u)}function Xr(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function ea(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],M=y.type;if(p=2===M?y.declTNode:1===M?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function rs(l,u,f){!function ml(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Pn)&&(p=f[Pn]),null==p&&(p=f[Pn]=fh++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:Sp:u}(f);if("function"==typeof y){if(!Za(u,l,p))return p&ut.Host?tc(m,f,p):gh(u,f,p,m);try{const M=y(p);if(null!=M||p&ut.Optional)return M;xt(f)}finally{bu()}}else if("number"==typeof y){let M=null,k=Xr(l,u),x=-1,z=p&ut.Host?u[16][6]:null;for((-1===k||p&ut.SkipSelf)&&(x=-1===k?ea(l,u):u[k+8],-1!==x&&Uo(p,!1)?(M=u[1],k=Wr(x),u=Jr(x,u)):k=-1);-1!==k;){const j=u[1];if(mh(y,k,j.data)){const Q=kp(k,u,f,M,p,z);if(Q!==Su)return Q}x=u[k+8],-1!==x&&Uo(p,u[1].data[k+8]===z)&&mh(y,k,u)?(M=j,k=Wr(x),u=Jr(x,u)):k=-1}}}return gh(u,f,p,m)}const Su={};function Sp(){return new ta(qi(),Te())}function kp(l,u,f,p,m,y){const M=u[1],k=M.data[l+8],j=_l(k,M,f,null==p?zo(k)&&Qr:p!=M&&0!=(3&k.type),m&ut.Host&&y===k);return null!==j?yr(u,M,j,k):Su}function _l(l,u,f,p,m){const y=l.providerIndexes,M=u.data,k=1048575&y,x=l.directiveStart,j=y>>20,te=m?k+j:l.directiveEnd;for(let le=p?k:k+j;le=x&&ye.type===f)return le}if(m){const le=M[x];if(le&&qn(le)&&le.type===f)return x}return null}function yr(l,u,f,p){let m=l[f];const y=u.data;if(function lh(l){return l instanceof Fs}(m)){const M=m;M.resolving&&function Oe(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(Ie(y[f]));const k=No(M.canSeeViewProviders);M.resolving=!0;const x=M.injectImpl?Wt(M.injectImpl):null;Za(l,p,ut.Default);try{m=l[f]=M.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function ch(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const M=Vt(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,M),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,M)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&Wt(x),No(k),M.resolving=!1,bu()}}return m}function mh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[Bn]||ku(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[Bn]||ku(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ku(l){return X(l)?()=>{const u=ku(J(l));return u&&u()}:Ci(l)}function Eu(l){return function ph(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function sa(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const M=new m(...y);return k.annotation=M,k;function k(x,z,j){const Q=x.hasOwnProperty(Ns)?x[Ns]:Object.defineProperty(x,Ns,{value:[]})[Ns];for(;Q.length<=j;)Q.push(null);return(Q[j]=Q[j]||[]).push(M),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class mi{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ri({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Dp=new mi("AnalyzeForEntryComponents");function dn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?ys(f,u):u(f))}function nc(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function sc(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function as(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Pp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function br(l,u){const f=Ot(l,u);if(f>=0)return l[1|f]}function Ot(l,u){return function ra(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),M=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),Zn=aa(oa("Optional"),8),ca=aa(oa("SkipSelf"),4);let _,me;function L(l){var u;return(null===(u=function S(){if(void 0===_&&(_=null,Rt.trustedTypes))try{_=Rt.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return _}())||void 0===u?void 0:u.createHTML(l))||l}function Dt(l){var u;return(null===(u=function Qe(){if(void 0===me&&(me=null,Rt.trustedTypes))try{me=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return me}())||void 0===u?void 0:u.createHTML(l))||l}class wn{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Vo extends wn{getTypeName(){return"HTML"}}class iv extends wn{getTypeName(){return"Style"}}class Rh extends wn{getTypeName(){return"Script"}}class nv extends wn{getTypeName(){return"URL"}}class sv extends wn{getTypeName(){return"ResourceURL"}}function Ar(l){return l instanceof wn?l.changingThisBreaksApplicationSecurity:l}function dc(l,u){const f=v_(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function v_(l){return l instanceof wn&&l.getTypeName()||null}function ov(l){return new Vo(l)}function rv(l){return new iv(l)}function qp(l){return new Rh(l)}function av(l){return new nv(l)}function cv(l){return new sv(l)}class lv{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(L(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class pM{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=L(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=L(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0ua(u.trim())).join(", ")),this.buf.push(" ",M,'="',$p(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();Kp.hasOwnProperty(f)&&!Yu.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push($p(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const fv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ph=/([^\#-~ |!])/g;function $p(l){return l.replace(/&/g,"&").replace(fv,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Ph,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function pv(l,u){let f=null;try{Uu=Uu||function Gp(l){const u=new pM(l);return function Mn(){try{return!!(new window.DOMParser).parseFromString(L(""),"text/html")}catch(l){return!1}}()?new lv(u):u}(l);let p=u?String(u):"";f=Uu.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=Uu.getInertBodyElement(p)}while(p!==y);return L((new hv).sanitizeChildren(Wp(f)||f))}finally{if(f){const p=Wp(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Wp(l){return"content"in l&&function gv(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Pi=(()=>((Pi=Pi||{})[Pi.NONE=0]="NONE",Pi[Pi.HTML=1]="HTML",Pi[Pi.STYLE=2]="STYLE",Pi[Pi.SCRIPT=3]="SCRIPT",Pi[Pi.URL=4]="URL",Pi[Pi.RESOURCE_URL=5]="RESOURCE_URL",Pi))();function Vu(l){const u=qu();return u?Dt(u.sanitize(Pi.HTML,l)||""):dc(l,"HTML")?Dt(Ar(l)):pv(Vi(),de(l))}function Lh(l){const u=qu();return u?u.sanitize(Pi.URL,l)||"":dc(l,"URL")?Ar(l):ua(de(l))}function qu(){const l=Te();return l&&l[12]}const hc="__ngContext__";function Wi(l,u){l[hc]=u}function Ih(l){const u=function Tl(l){return l[hc]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function Zu(l){return l.ngOriginalError}function Cv(l,...u){l.error(...u)}class $u{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function vv(l){return l&&l.ngErrorLogger||Cv}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&Zu(u);for(;f&&Zu(f);)f=Zu(f);return f||null}}const P_=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Rt))();function Dl(l){return l.ownerDocument.defaultView}function vr(l){return l instanceof Function?l():l}var An=(()=>((An=An||{})[An.Important=1]="Important",An[An.DashCase=2]="DashCase",An))();function L_(l,u){return undefined(l,u)}function Hh(l){const u=l[3];return Vn(u)?u[3]:u}function Ju(l){return Cr(l[13])}function pa(l){return Cr(l[4])}function Cr(l){for(;null!==l&&!Vn(l);)l=l[4];return l}function ga(l,u,f,p,m){if(null!=p){let y,M=!1;Vn(p)?y=p:Cn(p)&&(M=!0,p=p[0]);const k=O(p);0===l&&null!==f?null==m?B_(u,f,k):fc(u,f,k,m||null,!0):1===l&&null!==f?fc(u,f,k,m||null,!0):2===l?function Pv(l,u,f){const p=ig(l,u);p&&function DM(l,u,f,p){ni(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,k,M):3===l&&u.destroyNode(k),null!=y&&function xM(l,u,f,p,m){const y=f[7];y!==O(f)&&ga(u,l,p,y,m);for(let k=10;k0&&(l[f-1][4]=p[4]);const y=sc(l,10+u);!function SM(l,u){Nh(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const M=y[19];null!==M&&M.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function F_(l,u){if(!(256&u[2])){const f=u[11];ni(f)&&f.destroyNode&&Nh(l,u,f,3,null,null),function xl(l){let u=l[13];if(!u)return z_(l[1],l);for(;u;){let f=null;if(Cn(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Cn(u)&&z_(u[1],u),u=u[3];null===u&&(u=l),Cn(u)&&z_(u[1],u),f=u&&u[4]}u=f}}(u)}}function z_(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function N_(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=z]():p[m=-z].unsubscribe(),y+=2}else{const M=p[m=f[y+1]];f[y].call(M)}if(null!==p){for(let y=m+1;yy?"":m[Q+1].toLowerCase();const le=8&p?te:null;if(le&&-1!==Ov(le,z,0)||2&p&&z!==te){if(Go(p))return!1;M=!0}}}}else{if(!M&&!Go(p)&&!Go(x))return!1;if(M&&Go(x))continue;M=!1,p=x|1&p}}return Go(p)||M}function Go(l){return 0==(1&l)}function OM(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+k+'"':"")+"]"}else 8&p?m+="."+M:4&p&&(m+=" "+M);else""!==m&&!Go(M)&&(u+=Fv(y,m),m=""),p=M,y=y||!Go(p);f++}return""!==m&&(u+=Fv(y,m)),u}const Ct={};function zv(l){Nv(Ft(),Te(),rn()+l,ul())}function Nv(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&Wa(u,y,f)}else{const y=l.preOrderHooks;null!==y&&Ja(u,y,0,f)}po(f)}function ng(l,u){return l<<17|u<<2}function Ko(l){return l>>17&32767}function G_(l){return 2|l}function _a(l){return(131068&l)>>2}function K_(l,u){return-131069&l|u<<2}function Z_(l){return 1|l}function Wv(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&Nv(l,u,20,ul()),f(p,m)}finally{po(y)}}function Qv(l,u,f){if(ja(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(k)!=x&&k.push(x),k.push(p,m,M)}}function cg(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function py(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function gy(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&Gh(f)}}function Gh(l){for(let p=Ju(l);null!==p;p=pa(p))for(let m=10;m0&&Gh(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&Gh(m)}}function nd(l,u){const f=Mt(u,l),p=f[1];(function Ay(l,u){for(let f=u.length;fPromise.resolve(null))();function Cy(l){return l[7]||(l[7]=[])}function sd(l){return l.cleanup||(l.cleanup=[])}function cC(l,u,f){return(null===l||qn(l))&&(f=function $(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function gg(l,u){const f=l[9],p=f?f.get($u,null):null;p&&p.handleError(u)}function od(l,u,f,p,m){for(let y=0;ythis.processProvider(k,u,f)),ys([u],k=>this.processInjectorType(k,[],y)),this.records.set(_g,Ll(void 0,this));const M=this.records.get(My);this.scope=null!=M?M.value:null,this.source=m||("object"==typeof u?null:H(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=ac,p=ut.Default){this.assertNotDestroyed();const m=Mh(this),y=Wt(void 0);try{if(!(p&ut.SkipSelf)){let k=this.records.get(u);if(void 0===k){const x=function dS(l){return"function"==typeof l||"object"==typeof l&&l instanceof mi}(u)&&Yi(u);k=x&&this.injectableDefInScope(x)?Ll(bg(u),wc):null,this.records.set(u,k)}if(null!=k)return this.hydrate(u,k)}return(p&ut.Self?Sy():this.parent).get(u,f=p&ut.Optional&&f===ac?null:f)}catch(M){if("NullInjectorError"===M.name){if((M[cc]=M[cc]||[]).unshift(H(u)),m)throw M;return function Bp(l,u,f,p){const m=l[cc];throw u[Th]&&m.unshift(u[Th]),l.message=function Yp(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=H(u);if(Array.isArray(u))m=u.map(H).join(" -> ");else if("object"==typeof u){let y=[];for(let M in u)if(u.hasOwnProperty(M)){let k=u[M];y.push(M+":"+("string"==typeof k?JSON.stringify(k):H(k)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(Ch,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[cc]=null,l}(M,u,"R3InjectorError",this.source)}throw M}finally{Wt(y),Mh(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(H(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=J(u)))return!1;let m=Nr(u);const y=null==m&&u.ngModule||void 0,M=void 0===y?u:y,k=-1!==p.indexOf(M);if(void 0!==y&&(m=Nr(y)),null==m)return!1;if(null!=m.imports&&!k){let j;p.push(M);try{ys(m.imports,Q=>{this.processInjectorType(Q,f,p)&&(void 0===j&&(j=[]),j.push(Q))})}finally{}if(void 0!==j)for(let Q=0;Qthis.processProvider(ye,te,le||Ue))}}this.injectorDefTypes.add(M);const x=Ci(M)||(()=>new M);this.records.set(M,Ll(x,wc));const z=m.providers;if(null!=z&&!k){const j=u;ys(z,Q=>this.processProvider(Q,j,z))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=Il(u=J(u))?u:J(u&&u.provide);const y=function xy(l,u,f){return Py(l)?Ll(void 0,l.useValue):Ll(Ry(l),wc)}(u);if(Il(u)||!0!==u.multi)this.records.get(m);else{let M=this.records.get(m);M||(M=Ll(void 0,wc,!0),M.factory=()=>Al(M.multi),this.records.set(m,M)),m=u,M.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===wc&&(f.value=uC,f.value=f.factory()),"object"==typeof f.value&&f.value&&function uS(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=J(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function bg(l){const u=Yi(l),f=null!==u?u.factory:Ci(l);if(null!==f)return f;if(l instanceof mi)throw new ee(204,!1);if(l instanceof Function)return function Dy(l){const u=l.length;if(u>0)throw as(u,"?"),new ee(204,!1);const f=function Fr(l){const u=l&&(l[Po]||l[Lo]);if(u){const f=function zr(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Ry(l,u,f){let p;if(Il(l)){const m=J(l);return Ci(m)||bg(m)}if(Py(l))p=()=>J(l.useValue);else if(function wg(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...Al(l.deps||[]));else if(function hC(l){return!(!l||!l.useExisting)}(l))p=()=>Ki(J(l.useExisting));else{const m=J(l&&(l.useClass||l.provide));if(!function lS(l){return!!l.deps}(l))return Ci(m)||bg(m);p=()=>new m(...Al(l.deps))}return p}function Ll(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function Py(l){return null!==l&&"object"==typeof l&&Fp in l}function Il(l){return"function"==typeof l}let wo=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return ky({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return ky({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=ac,l.NULL=new bc,l.\u0275prov=ri({token:l,providedIn:"any",factory:()=>Ki(_g)}),l.__NG_ELEMENT_ID__=-1,l})();function Ny(l,u){dl(Ih(l)[1],qi())}function Mr(l){let u=function _t(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(qn(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const M=l;M.inputs=By(l.inputs),M.declaredInputs=By(l.declaredInputs),M.outputs=By(l.outputs);const k=m.hostBindings;k&&Ao(l,k);const x=m.viewQuery,z=m.contentQueries;if(x&&Yy(l,x),z&&fS(l,z),R(l.inputs,m.inputs),R(l.declaredInputs,m.declaredInputs),R(l.outputs,m.outputs),qn(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let M=0;M=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=Zr(m.hostAttrs,f=Zr(f,m.hostAttrs))}}(p)}function By(l){return l===tt?{}:l===Ue?[]:l}function Yy(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function fS(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function Ao(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let ld=null;function ba(){if(!ld){const l=Rt.Symbol;if(l&&l.iterator)ld=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fk(O(jt[p.index])):p.index;if(ni(f)){let jt=null;if(!k&&x&&(jt=function EC(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?k[x]:null}"string"==typeof M&&(y+=2)}return null}(l,u,m,p.index)),null!==jt)(jt.__ngLastListenerFn__||jt).__ngNextListenerFn__=y,jt.__ngLastListenerFn__=y,le=!1;else{y=cf(p,u,Q,y,!1);const si=f.listen(Ke,m,y);te.push(y,si),j&&j.push(m,et,Ce,Ce+1)}}else y=cf(p,u,Q,y,!0),Ke.addEventListener(m,y,M),te.push(y),j&&j.push(m,et,Ce,M)}else y=cf(p,u,Q,y,!1);const ye=p.outputs;let Le;if(le&&null!==ye&&(Le=ye[m])){const Be=Le.length;if(Be)for(let Ke=0;Ke0;)u=u[15],l--;return u}(l,it.lFrame.contextLView))[8]}(l)}function DC(l,u){let f=null;const p=function HM(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const Li={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function df(l){return l.substring(Li.key,Li.keyEnd)}function hf(l,u){const f=Li.textEnd;return f===u?-1:(u=Li.keyEnd=function Ab(l,u,f){for(;u32;)u++;return u}(l,Li.key=u,f),Ul(l,u,f))}function Ul(l,u,f){for(;u=0;f=hf(u,f))On(l,df(u),!0)}function vo(l,u,f,p){const m=Te(),y=Ft(),M=ho(2);y.firstUpdatePass&&Zg(y,l,M,p),u!==Ct&&ui(m,M,u)&&Eb(y,y.data[rn()],m,m[11],l,m[M+1]=function zC(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=H(Ar(l)))),l}(u,f),p,M)}function Ts(l,u,f,p){const m=Ft(),y=ho(2);m.firstUpdatePass&&Zg(m,null,y,p);const M=Te();if(f!==Ct&&ui(M,y,f)){const k=m.data[rn()];if(xb(k,p)&&!Tb(m,y)){let x=p?k.classesWithoutHost:k.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Ig(m,k,M,f,p)}else!function kb(l,u,f,p,m,y,M,k){m===Ct&&(m=Ue);let x=0,z=0,j=0=l.expandoStartIndex}function Zg(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[rn()],M=Tb(l,f);xb(y,p)&&null===u&&!M&&(u=!1),u=function IC(l,u,f,p){const m=pr(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=Ta(f=pf(null,l,u,f,p),u.attrs,p),y=null);else{const M=u.directiveStylingLast;if(-1===M||l[M]!==m)if(f=pf(m,l,u,f,p),null===y){let x=function OC(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==_a(p))return l[Ko(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=pf(null,l,u,x[1],p),x=Ta(x,u.attrs,p),function HC(l,u,f,p){l[Ko(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function FC(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(z=!0)}else j=f;if(m)if(0!==x){const te=Ko(l[k+1]);l[p+1]=ng(te,k),0!==te&&(l[te+1]=K_(l[te+1],p)),l[k+1]=function UM(l,u){return 131071&l|u<<17}(l[k+1],p)}else l[p+1]=ng(k,0),0!==k&&(l[k+1]=K_(l[k+1],p)),k=p;else l[p+1]=ng(x,0),0===k?k=p:l[x+1]=K_(l[x+1],p),x=p;z&&(l[p+1]=G_(l[p+1])),Cs(l,j,p,!0),Cs(l,j,p,!1),function xC(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&Ot(y,u)>=0&&(f[p+1]=Z_(f[p+1]))}(u,j,l,p,y),M=ng(k,x),y?u.classBindings=M:u.styleBindings=M}(m,y,u,f,M,p)}}function pf(l,u,f,p,m){let y=null;const M=f.directiveEnd;let k=f.directiveStylingLast;for(-1===k?k=f.directiveStart:k++;k0;){const x=l[m],z=Array.isArray(x),j=z?x[1]:x,Q=null===j;let te=f[m+1];te===Ct&&(te=Q?Ue:void 0);let le=Q?br(te,p):j===p?te:void 0;if(z&&!gf(le)&&(le=br(x,p)),gf(le)&&(k=le,M))return k;const ye=l[m+1];m=M?Ko(ye):_a(ye)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(k=br(x,p))}return k}function gf(l){return void 0!==l}function xb(l,u){return 0!=(l.flags&(u?16:32))}function Rb(l,u=""){const f=Te(),p=Ft(),m=l+20,y=p.firstCreatePass?Xu(p,m,1,u,null):p.data[m],M=f[m]=function I_(l,u){return ni(l)?l.createText(u):l.createTextNode(u)}(f[11],u);qo(p,f,M,y),os(y,!1)}function Si(l){return wd("",l,""),Si}function wd(l,u,f){const p=Te(),m=Vs(p,l,u,f);return m!==Ct&&Zo(p,rn(),m),wd}function mf(l,u,f,p,m){const y=Te(),M=function Cc(l,u,f,p,m,y){const k=Aa(l,Os(),f,m);return ho(2),k?u+de(f)+p+de(m)+y:Ct}(y,l,u,f,p,m);return M!==Ct&&Zo(y,rn(),M),mf}function Ib(l,u,f,p,m,y,M,k,x,z,j){const Q=Te(),te=Mc(Q,l,u,f,p,m,y,M,k,x,z,j);return te!==Ct&&Zo(Q,rn(),te),Ib}function Fb(l,u,f){Ts(On,Jo,Vs(Te(),l,u,f),!0)}function Xo(l,u,f){const p=Te();return ui(p,ms(),u)&&En(Ft(),Ai(),p,l,u,p[11],f,!0),Xo}function yf(l,u,f){const p=Te();if(ui(p,ms(),u)){const y=Ft(),M=Ai();En(y,M,p,l,u,cC(pr(y.data),M,p),f,!0)}return yf}const Ma=void 0;var bf=["en",[["a","p"],["AM","PM"],Ma],[["AM","PM"],Ma,Ma],[["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"]],Ma,[["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"]],Ma,[["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}",Ma,"{1} 'at' {0}",Ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Ad(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let ql={};function Qg(l){const u=function $C(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=em(u);if(f)return f;const p=u.split("-")[0];if(f=em(p),f)return f;if("en"===p)return bf;throw new Error(`Missing locale data for the locale "${l}".`)}function Xg(l){return Qg(l)[st.PluralCase]}function em(l){return l in ql||(ql[l]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[l]),ql[l]}var st=(()=>((st=st||{})[st.LocaleId=0]="LocaleId",st[st.DayPeriodsFormat=1]="DayPeriodsFormat",st[st.DayPeriodsStandalone=2]="DayPeriodsStandalone",st[st.DaysFormat=3]="DaysFormat",st[st.DaysStandalone=4]="DaysStandalone",st[st.MonthsFormat=5]="MonthsFormat",st[st.MonthsStandalone=6]="MonthsStandalone",st[st.Eras=7]="Eras",st[st.FirstDayOfWeek=8]="FirstDayOfWeek",st[st.WeekendRange=9]="WeekendRange",st[st.DateFormat=10]="DateFormat",st[st.TimeFormat=11]="TimeFormat",st[st.DateTimeFormat=12]="DateTimeFormat",st[st.NumberSymbols=13]="NumberSymbols",st[st.NumberFormats=14]="NumberFormats",st[st.CurrencyCode=15]="CurrencyCode",st[st.CurrencySymbol=16]="CurrencySymbol",st[st.CurrencyName=17]="CurrencyName",st[st.Currencies=18]="Currencies",st[st.Directionality=19]="Directionality",st[st.PluralCase=20]="PluralCase",st[st.ExtraData=21]="ExtraData",st))();const cs="en-US";let WC=cs;function pw(l,u,f,p,m){if(l=J(l),Array.isArray(l))for(let y=0;y>20;if(Il(l)||!l.multi){const le=new Fs(x,m,Ca),ye=hm(k,u,m?j:j+te,Q);-1===ye?(rs(Bo(z,M),y,k),Zs(y,l,u.length),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(le),M.push(le)):(f[ye]=le,M[ye]=le)}else{const le=hm(k,u,j+te,Q),ye=hm(k,u,j,j+te),Le=le>=0&&f[le],Be=ye>=0&&f[ye];if(m&&!Be||!m&&!Le){rs(Bo(z,M),y,k);const Ke=function hT(l,u,f,p,m){const y=new Fs(l,f,Ca);return y.multi=[],y.index=u,y.componentProviders=0,gw(y,m,p&&!f),y}(m?dT:uT,f.length,m,p,x);!m&&Be&&(f[ye].providerFactory=Ke),Zs(y,l,u.length,0),u.push(k),z.directiveStart++,z.directiveEnd++,m&&(z.providerIndexes+=1048576),f.push(Ke),M.push(Ke)}else Zs(y,l,le>-1?le:ye,gw(f[m?ye:le],x,!m&&p));!m&&p&&Be&&f[ye].componentProviders++}}}function Zs(l,u,f,p){const m=Il(u),y=function cS(l){return!!l.useClass}(u);if(m||y){const x=(y?J(u.useClass):u).prototype.ngOnDestroy;if(x){const z=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=z.indexOf(f);-1===j?z.push(f,[p,x]):z[j+1].push(p,x)}else z.push(f,x)}}}function gw(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function hm(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function Bt(l,u,f){const p=Ft();if(p.firstCreatePass){const m=qn(l);pw(f,p.data,p.blueprint,m,!0),pw(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class _w{}class gT{resolveComponentFactory(u){throw function pT(l){const u=Error(`No component factory found for ${H(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let kd=(()=>{class l{}return l.NULL=new gT,l})();function mT(){return $l(qi(),Te())}function $l(l,u){return new Ed(be(l,u))}let Ed=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=mT,l})();function bw(l){return l instanceof Ed?l.nativeElement:l}class ww{}let Dd=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function LS(){const l=Te(),f=Mt(qi().index,l);return function PS(l){return l[11]}(Cn(f)?f:l)}(),l})(),IS=(()=>{class l{}return l.\u0275prov=ri({token:l,providedIn:"root",factory:()=>null}),l})();class Aw{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const vw=new Aw("13.2.2"),pm={};function Es(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(O(y)),Vn(y))for(let k=10;k-1&&(eg(u,p),sc(f,p))}this._attachedToViewContainer=!1}F_(this._lView[1],this._lView)}onDestroy(u){sg(this._lView[1],this._lView,null,u)}markForCheck(){ug(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){hg(this._lView[1],this._lView,this.context)}checkNoChanges(){!function vy(l,u,f){Ka(!0);try{hg(l,u,f)}finally{Ka(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function kM(l,u){Nh(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class _T extends xd{constructor(u){super(u),this._view=u}detectChanges(){fg(this._view)}checkNoChanges(){!function pg(l){Ka(!0);try{fg(l)}finally{Ka(!1)}}(this._view)}get context(){return null}}class yT extends kd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=sn(u);return new Ef(f,this.ngModule)}}function gm(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const Cw=new mi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>P_});class Ef extends _w{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function YM(l){return l.map(BM).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function bT(l,u){return{get:(f,p,m)=>{const y=l.get(f,pm,m);return y!==pm||p===pm?y:u.get(f,p,m)}}}(u,m.injector):u,M=y.get(ww,P),k=y.get(IS,null),x=M.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",j=p?function ly(l,u,f){if(ni(l))return l.selectRootElement(u,f===He.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):Xp(M.createRenderer(null,this.componentDef),z,function mm(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(z)),Q=this.componentDef.onPush?576:528,te=function Cg(l,u){return{components:[],scheduler:l||P_,clean:aC,playerHandler:u||null,flags:0}}(),le=Ni(0,null,null,1,0,null,null,null,null,null),ye=Uh(null,le,te,Q,null,null,M,x,k,y);let Le,Be;gr(ye);try{const Ke=function ti(l,u,f,p,m,y){const M=f[1];f[20]=l;const x=Xu(M,20,2,"#host",null),z=x.mergedAttrs=u.hostAttrs;null!==z&&(rd(x,z,!0),null!==l&&(Kr(m,l,z),null!==x.classes&&V_(m,l,x.classes),null!==x.styles&&Iv(m,l,x.styles)));const j=p.createRenderer(l,u),Q=Uh(f,ry(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return M.firstCreatePass&&(rs(Bo(x,f),M,u.type),py(M,x),my(x,f.length,1)),Kh(f,Q),f[20]=Q}(j,this.componentDef,ye,M,x);if(j)if(p)Kr(x,j,["ng-version",vw.full]);else{const{attrs:Ce,classes:et}=function jM(l){const u=[],f=[];let p=1,m=2;for(;p0&&V_(x,j,et.join(" "))}if(Be=Xt(le,20),void 0!==f){const Ce=Be.projection=[];for(let et=0;etx(M,u)),u.contentQueries){const x=qi();u.contentQueries(1,M,x.directiveStart)}const k=qi();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(po(k.index),uy(f[1],k,0,k.directiveStart,k.directiveEnd,u),cg(u,M)),M}(Ke,this.componentDef,ye,te,[Ny]),Vh(le,ye,null)}finally{mr()}return new Df(this.componentType,Le,$l(Be,ye),ye,Be)}}class Df extends class fT{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new _T(m),this.componentType=u}get injector(){return new ta(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class $s{}class Tw{}const Dr=new Map;class Wl extends $s{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new yT(this);const p=dt(u);this._bootstrapComponents=vr(p.bootstrap),this._r3Injector=Ey(u,f,[{provide:$s,useValue:this},{provide:kd,useValue:this.componentFactoryResolver}],H(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=wo.THROW_IF_NOT_FOUND,p=ut.Default){return u===wo||u===$s||u===_g?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class xf extends Tw{constructor(u){super(),this.moduleType=u,null!==dt(u)&&function Mw(l){const u=new Set;!function f(p){const m=dt(p,!0),y=m.id;null!==y&&(function _m(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${H(u)} vs ${H(u.name)}`)}(y,Dr.get(y),p),Dr.set(y,p));const M=vr(m.imports);for(const k of M)u.has(k)||(u.add(k),f(k))}(l)}(u)}create(u){return new Wl(this.moduleType,u)}}function Ea(l,u,f){const p=yn()+l,m=Te();return m[p]===Ct?Us(m,p,f?u.call(f):u()):function vc(l,u){return l[u]}(m,p)}function Jn(l,u,f,p){return xr(Te(),yn(),l,u,f,p)}function kw(l,u,f,p,m){return xw(Te(),yn(),l,u,f,p,m)}function Bi(l,u){const f=l[u];return f===Ct?void 0:f}function xr(l,u,f,p,m,y){const M=u+f;return ui(l,M,m)?Us(l,M+1,y?p.call(y,m):p(m)):Bi(l,M+1)}function xw(l,u,f,p,m,y,M){const k=u+f;return Aa(l,k,m,y)?Us(l,k+2,M?p.call(M,m,y):p(m,y)):Bi(l,k+2)}function Oi(l,u,f,p,m,y,M,k){const x=u+f;return function Fl(l,u,f,p,m){const y=Aa(l,u,f,p);return ui(l,u+2,m)||y}(l,x,m,y,M)?Us(l,x+3,k?p.call(k,m,y,M):p(m,y,M)):Bi(l,x+3)}function wm(l,u){const f=Ft();let p;const m=l+20;f.firstCreatePass?(p=function Rw(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=Ci(p.type)),M=Wt(Ca);try{const k=No(!1),x=y();return No(k),function kg(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Te(),m,x),x}finally{Wt(M)}}function Am(l,u,f){const p=l+20,m=Te(),y=Yt(m,p);return Jl(m,p)?xr(m,yn(),u,y.transform,f,y):y.transform(f)}function vm(l,u,f,p){const m=l+20,y=Te(),M=Yt(y,m);return Jl(y,m)?xw(y,yn(),u,M.transform,f,p,M):M.transform(f,p)}function Cm(l,u,f,p,m){const y=l+20,M=Te(),k=Yt(M,y);return Jl(M,y)?Oi(M,yn(),u,k.transform,f,p,m,k):k.transform(f,p,m)}function Jl(l,u){return l[1].data[u].pure}function Pf(l){return u=>{setTimeout(l,void 0,u)}}const Mo=class Lw extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,M;let k=u,x=f||(()=>null),z=p;if(u&&"object"==typeof u){const Q=u;k=null===(m=Q.next)||void 0===m?void 0:m.bind(Q),x=null===(y=Q.error)||void 0===y?void 0:y.bind(Q),z=null===(M=Q.complete)||void 0===M?void 0:M.bind(Q)}this.__isAsync&&(x=Pf(x),k&&(k=Pf(k)),z&&(z=Pf(z)));const j=super.subscribe({next:k,error:x,complete:z});return u instanceof i.w&&u.add(j),j}};function MT(){return this._results[ba()]()}class Rd{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=ba(),p=Rd.prototype;p[f]||(p[f]=MT)}get changes(){return this._changes||(this._changes=new Mo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=dn(u);(this._changesDetected=!function wh(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=Mm,l})();const Tm=Ql,Iw=class extends Tm{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Uh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Vh(f,p,u),new xd(p)}};function Mm(){return Pd(qi(),Te())}function Pd(l,u){return 4&l.type?new Iw(u,l,$l(l,u)):null}let Ld=(()=>{class l{}return l.__NG_ELEMENT_ID__=Ow,l})();function Ow(){return Em(qi(),Te())}const Sm=Ld,Id=class extends Sm{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return $l(this._hostTNode,this._hostLView)}get injector(){return new ta(this._hostTNode,this._hostLView)}get parentInjector(){const u=ea(this._hostTNode,this._hostLView);if($r(u)){const f=Jr(u,this._hostLView),p=Wr(u);return new ta(f[1].data[p+8],f)}return new ta(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=km(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const M=u&&!function go(l){return"function"==typeof l}(u);let k;if(M)k=f;else{const Q=f||{};k=Q.index,p=Q.injector,m=Q.projectableNodes,y=Q.ngModuleRef}const x=M?u:new Ef(sn(u)),z=p||this.parentInjector;if(!y&&null==x.ngModule&&z){const Q=z.get($s,null);Q&&(y=Q)}const j=x.create(z,m,void 0,y);return this.insert(j.hostView,k),j}insert(u,f){const p=u._lView,m=p[1];if(function hi(l){return Vn(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const Q=p[3],te=new Id(Q,Q[6],Q[3]);te.detach(te.indexOf(u))}}const y=this._adjustIndex(f),M=this._lContainer;!function EM(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(M[k/2]);else{const z=y[k+1],j=u[-x];for(let Q=10;Q{class l{constructor(f){this.appInits=f,this.resolve=Ud,this.reject=Ud,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:k,error:x})});f.push(M)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(Ki(jf,8))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const UT=new mi("AppId"),VT={provide:UT,useFactory:function Xw(){return`${Uf()}${Uf()}${Uf()}`},deps:[]};function Uf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const eA=new mi("Platform Initializer"),Bm=new mi("Platform ID"),Vf=new mi("appBootstrapListener");let Ws=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const qf=new mi("LocaleId"),Pa=new mi("DefaultCurrencyCode");class Ym{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let Gf=(()=>{class l{compileModuleSync(f){return new xf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=vr(dt(f).declarations).reduce((M,k)=>{const x=sn(k);return x&&M.push(new Ef(x)),M},[]);return new Ym(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();const GT=(()=>Promise.resolve(0))();function Kf(l){"undefined"==typeof Zone?GT.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class Xn{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mo(!1),this.onMicrotaskEmpty=new Mo(!1),this.onStable=new Mo(!1),this.onError=new Mo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function KT(){let l=Rt.requestAnimationFrame,u=Rt.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function $T(l){const u=()=>{!function nA(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Rt,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,sA(l),l.isCheckStableRunning=!0,jm(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),sA(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,M,k)=>{try{return Zf(l),f.invokeTask(m,y,M,k)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),oA(l)}},onInvoke:(f,p,m,y,M,k,x)=>{try{return Zf(l),f.invoke(m,y,M,k,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),oA(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,sA(l),jm(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,M=y.scheduleEventTask("NgZoneEvent: "+m,u,ZT,Ud,Ud);try{return y.runTask(M,f,p)}finally{y.cancelTask(M)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const ZT={};function jm(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function sA(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Zf(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function oA(l){l._nesting--,jm(l)}class rA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mo,this.onMicrotaskEmpty=new Mo,this.onStable=new Mo,this.onError=new Mo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let aA=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xn.assertNotInAngularZone(),Kf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())Kf(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(M=>M.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!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(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(Ki(Xn))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})(),Um=(()=>{class l{constructor(){this._applications=new Map,$f.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return $f.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();class Fc{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function WT(l){$f=l}let ko,$f=new Fc;const tr=new mi("AllowMultipleToken");class Vm{constructor(u,f){this.name=u,this.token=f}}function qm(l,u,f=[]){const p=`Platform: ${u}`,m=new mi(p);return(y=[])=>{let M=lA();if(!M||M.injector.get(tr,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const k=f.concat(y).concat({provide:m,useValue:!0},{provide:My,useValue:"platform"});!function QT(l){if(ko&&!ko.destroyed&&!ko.injector.get(tr,!1))throw new ee(400,"");ko=l.get(Gm);const u=l.get(eA,null);u&&u.forEach(f=>f())}(wo.create({providers:k,name:p}))}return function XT(l){const u=lA();if(!u)throw new ee(401,"");return u}()}}function lA(){return ko&&!ko.destroyed?ko:null}let Gm=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const k=function t0(l,u){let f;return f="noop"===l?new rA:("zone.js"===l?void 0:l)||new Xn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:Xn,useValue:k}];return k.run(()=>{const z=wo.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(z),Q=j.injector.get($u,null);if(!Q)throw new ee(402,"");return k.runOutsideAngular(()=>{const te=k.onError.subscribe({next:le=>{Q.handleError(le)}});j.onDestroy(()=>{dA(this._modules,j),te.unsubscribe()})}),function uA(l,u,f){try{const p=f();return lb(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(Q,k,()=>{const te=j.injector.get(eu);return te.runInitializers(),te.donePromise.then(()=>(function Gb(l){Xe(l,"Expected localeId to be defined"),"string"==typeof l&&(WC=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(qf,cs)||cs),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=n0({},p);return function cA(l,u,f){const p=new xf(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Wf);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(Ki(wo))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function n0(l,u){return Array.isArray(u)?u.reduce(n0,l):Object.assign(Object.assign({},l),u)}let Wf=(()=>{class l{constructor(f,p,m,y,M){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=M,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const k=new T.y(z=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{z.next(this._stable),z.complete()})}),x=new T.y(z=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{Xn.assertNotInAngularZone(),Kf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,z.next(!0))})})});const Q=this._zone.onUnstable.subscribe(()=>{Xn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{z.next(!1)}))});return()=>{j.unsubscribe(),Q.unsubscribe()}});this.isStable=(0,v.T)(k,x.pipe((0,C.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof _w?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function JT(l){return l.isBoundToModule}(m)?void 0:this._injector.get($s),k=m.create(wo.NULL,[],p||m.selector,y),x=k.location.nativeElement,z=k.injector.get(aA,null),j=z&&k.injector.get(Um);return z&&j&&j.registerApplication(x,z),k.onDestroy(()=>{this.detachView(k.hostView),dA(this.components,k),j&&j.unregisterApplication(x)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;dA(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Vf,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(Ki(Xn),Ki(wo),Ki($u),Ki(kd),Ki(eu))},l.\u0275prov=ri({token:l,factory:l.\u0275fac}),l})();function dA(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let zc=!0;function qS(){zc=!1}let s0=(()=>{class l{}return l.__NG_ELEMENT_ID__=o0,l})();function o0(l){return function r0(l,u,f){if(zo(l)&&!f){const p=Mt(l.index,u);return new xd(p,p)}return 47&l.type?new xd(u[16],u):null}(qi(),Te(),16==(16&l))}class _A{constructor(){}supports(u){return Ac(u)}create(u){return new Xf(u)}}const qd=(l,u)=>u;class Xf{constructor(u){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=u||qd}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const M=!p||f&&f.currentIndex{M=this._trackByFn(m,k),null!==f&&Object.is(f.trackById,M)?(p&&(f=this._verifyReinsertion(f,k,M,m)),Object.is(f.item,k)||this._addIdentityChange(f,k)):(f=this._mismatch(f,k,M,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new tk(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}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(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Yc),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class tk{constructor(u,f){this.item=u,this.trackById=f,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 yA{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Yc{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new yA,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bA(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,M=m._next;return y&&(y._next=M),M&&(M._prev=y),m._next=null,m._prev=null,m}const p=new l0(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class l0{constructor(u){this.key=u,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 Qm(){return new ep([new _A])}let ep=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||Qm()),deps:[[l,new ca,new Zn]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:Qm}),l})();function AA(){return new Xm([new wA])}let Xm=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||AA()),deps:[[l,new ca,new Zn]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ri({token:l,providedIn:"root",factory:AA}),l})();const vA=[new wA],u0=new ep([new _A]),nk=new Xm(vA),h0=qm(null,"core",[{provide:Bm,useValue:"unknown"},{provide:Gm,deps:[wo]},{provide:Um,deps:[]},{provide:Ws,deps:[]}]),jc=[{provide:Wf,useClass:Wf,deps:[Xn,wo,$u,kd,eu]},{provide:Cw,deps:[Xn],useFactory:function _0(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:eu,useClass:eu,deps:[[new Zn,jf]]},{provide:Gf,useClass:Gf,deps:[]},VT,{provide:ep,useFactory:function f0(){return u0},deps:[]},{provide:Xm,useFactory:function p0(){return nk},deps:[]},{provide:qf,useFactory:function g0(l){return l||function m0(){return"undefined"!=typeof $localize&&$localize.locale||cs}()},deps:[[new lc(qf),new Zn,new ca]]},{provide:Pa,useValue:"USD"}];let y0=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(Ki(Wf))},l.\u0275mod=or({type:l}),l.\u0275inj=xn({providers:jc}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class Y extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return Y.\u0275fac=function(){let U;return function(b){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Y)))(b||Y)}}(),Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class Y{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class ReceivedTokens{}class OAuthEvent{constructor(U){this.type=U}}class OAuthSuccessEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(U,w=null){super(U),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(U,w,b=null){super(U),this.reason=w,this.params=b}}function b64DecodeUnicode(Y){const U=Y.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(Y){return btoa(Y).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(U){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},U&&Object.assign(this,U)}}class WebHttpUrlEncodingCodec{encodeKey(U){return encodeURIComponent(U)}encodeValue(U){return encodeURIComponent(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(U){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(U.idTokenHeader),b=yield this.calcHash(U.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),v=U.idTokenClaims.at_hash.replace(/=/g,"");return T!==v&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+v)),T===v})}inferHashAlgorithm(U){let w=U.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class Y{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,v,C,E,R,H;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[C++]=128|63&E):E<55296||E>=57344?(T[C++]=224|E>>12,T[C++]=128|E>>6&63,T[C++]=128|63&E):(E=65536+((1023&E)<<10|1023&Y.charCodeAt(++b)),T[C++]=240|E>>18,T[C++]=128|E>>12&63,T[C++]=128|E>>6&63,T[C++]=128|63&E);Y=T}else{if("object"!==i)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR)}Y.length>64&&(Y=new Sha256(U,!0).update(Y).array());var R=[],H=[];for(b=0;b<64;++b){var B=Y[b]||0;R[b]=92^B,H[b]=54^B}Sha256.call(this,U,w),this.update(H),this.oKeyPad=R,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(Y){if(!this.finalized){var U,w=typeof Y;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===Y)throw new Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!(Array.isArray(Y)||ARRAY_BUFFER&&ArrayBuffer.isView(Y)))throw new Error(ERROR);U=!0}for(var b,T,i=0,v=Y.length,C=this.blocks;i>2]|=Y[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(C[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=C[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Y=this.blocks,U=this.lastByteIndex;Y[16]=this.block,Y[U>>2]|=EXTRA[3&U],this.block=Y[16],U>=56&&(this.hashed||this.hash(),Y[0]=this.block,Y[16]=Y[1]=Y[2]=Y[3]=Y[4]=Y[5]=Y[6]=Y[7]=Y[8]=Y[9]=Y[10]=Y[11]=Y[12]=Y[13]=Y[14]=Y[15]=0),Y[14]=this.hBytes<<3|this.bytes>>>29,Y[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var R,V,re,ee,ae,de,Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=this.blocks;for(R=16;R<64;++R)E[R]=E[R-16]+(((V=E[R-15])>>>7|V<<25)^(V>>>18|V<<14)^V>>>3)+E[R-7]+(((V=E[R-2])>>>17|V<<15)^(V>>>19|V<<13)^V>>>10)<<0;for(de=U&w,R=0;R<64;R+=4)this.first?(this.is224?(re=300032,C=(V=E[0]-1413257819)-150054599<<0,b=V+24177077<<0):(re=704751109,C=(V=E[0]-210244248)-1521486534<<0,b=V+143694565<<0),this.first=!1):(C=b+(V=C+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&v)+K[R]+E[R])<<0,b=V+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((re=Y&U)^Y&w^de))<<0),v=w+(V=v+((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&i^~C&T)+K[R+1]+E[R+1])<<0,w=V+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&Y)^b&U^re))<<0,T=U+(V=T+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&C^~v&i)+K[R+2]+E[R+2])<<0,U=V+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ae=w&b)^w&Y^ee))<<0,i=Y+(V=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&v^~T&C)+K[R+3]+E[R+3])<<0,Y=V+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((de=U&w)^U&b^ae))<<0;this.h0=this.h0+Y<<0,this.h1=this.h1+U<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+v<<0,this.h7=this.h7+C<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[U>>28&15]+HEX_CHARS[U>>24&15]+HEX_CHARS[U>>20&15]+HEX_CHARS[U>>16&15]+HEX_CHARS[U>>12&15]+HEX_CHARS[U>>8&15]+HEX_CHARS[U>>4&15]+HEX_CHARS[15&U]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v];return this.is224||(E+=HEX_CHARS[C>>28&15]+HEX_CHARS[C>>24&15]+HEX_CHARS[C>>20&15]+HEX_CHARS[C>>16&15]+HEX_CHARS[C>>12&15]+HEX_CHARS[C>>8&15]+HEX_CHARS[C>>4&15]+HEX_CHARS[15&C]),E},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,U=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,v=this.h6,C=this.h7,E=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,U>>24&255,U>>16&255,U>>8&255,255&U,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,v>>24&255,v>>16&255,v>>8&255,255&v];return this.is224||E.push(C>>24&255,C>>16&255,C>>8&255,255&C),E},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Y=new ArrayBuffer(this.is224?28:32),U=new DataView(Y);return U.setUint32(0,this.h0),U.setUint32(4,this.h1),U.setUint32(8,this.h2),U.setUint32(12,this.h3),U.setUint32(16,this.h4),U.setUint32(20,this.h5),U.setUint32(24,this.h6),this.is224||U.setUint32(28,this.h7),Y},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Y=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Y),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(Y){if("string"!=typeof Y)throw new TypeError("expected string");var U,w=Y,b=new Uint8Array(w.length);for(U=0;U{class Y{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),OAuthService=(()=>{class Y extends AuthConfig{constructor(w,b,i,T,v,C,E,R,H,B){var N;super(),this.ngZone=w,this.http=b,this.config=v,this.urlHelper=C,this.logger=E,this.crypto=R,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=H,v||(v={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),v&&this.configure(v);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(V){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",V)}if(this.checkLocalStorageAccessable()){const V=null===(N=null==window?void 0:window.navigator)||void 0===N?void 0:N.userAgent;((null==V?void 0:V.includes("MSIE "))||(null==V?void 0:V.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>{"token_received"===v.type?T=!0:"logout"===v.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_expires"===v.type&&(null==b||"any"===b||v.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(v=>{T&&this.refreshInternal(w,i).catch(C=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(v=>{const E=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:v});this.eventsSubject.next(E),b(E)}).catch(v=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",v)),i(v)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let v=JSON.parse(T.body);const C=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!C.sub||v.sub!==C.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");v=Object.assign({},C,v),this._storage.setItem("id_token_claims_obj",JSON.stringify(v)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:v})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(v,this.customQueryParams[v]);for(const v of Object.keys(b))T=T.set(v,b[v]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((v,C)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(E=>{this.debug("tokenResponse",E),this.storeAccessTokenResponse(E.access_token,E.refresh_token,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,E.scope,this.extractRecognizedCustomParameters(E)),this.oidc&&E.id_token&&this.processIdToken(E.id_token,E.access_token).then(R=>{this.storeIdToken(R),v(E)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),v(E)},E=>{this.logger.error("Error performing ${grantType} flow",E),this.eventsSubject.next(new OAuthErrorEvent("token_error",E)),C(E)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const v=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+v)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const v of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(v=>v.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(v.id_token,v.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(C=>this.storeIdToken(C)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(C=>v)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(v))).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(v)},v=>{this.logger.error("Error refreshing token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),b(v)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const v=this.document.createElement("iframe");v.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{v.setAttribute("src",B),this.silentRefreshShowIFrame||(v.style.display="none"),this.document.body.appendChild(v)});const E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),R=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),H=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([E,R,H]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let E,C=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(C=w.windowRef,C.location.href=b):C=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const R=J=>{this.tryLogin({customHashFragment:J,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},X=>{B(),T(X)})};C?E=window.setInterval(()=>{(!C||C.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(E),window.removeEventListener("storage",V),window.removeEventListener("message",N),null!==C&&C.close(),C=null},N=J=>{const X=this.processMessageEventMessage(J);X&&null!==X?(window.removeEventListener("storage",V),R(X)):console.log("false event firing")},V=J=>{"auth_hash"===J.key&&(window.removeEventListener("message",N),R(J.newValue))};window.addEventListener("message",N),window.addEventListener("storage",V)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,v={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const C=this;let E;E=i||this.redirectUri;const R=yield this.createAndSaveNonce();if(w=w?R+this.config.nonceStateSeparator+encodeURIComponent(w):R,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const H=C.loginUrl.indexOf("?")>-1?"&":"?";let B=C.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let N=C.loginUrl+H+"response_type="+encodeURIComponent(C.responseType)+"&client_id="+encodeURIComponent(C.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(E)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[V,J]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",J):this._storage.setItem("PKCE_verifier",J),N+="&code_challenge="+V,N+="&code_challenge_method=S256"}b&&(N+="&login_hint="+encodeURIComponent(b)),C.resource&&(N+="&resource="+encodeURIComponent(C.resource)),C.oidc&&(N+="&nonce="+encodeURIComponent(R)),T&&(N+="&prompt=none");for(const V of Object.keys(v))N+="&"+encodeURIComponent(V)+"="+encodeURIComponent(v[V]);if(this.customQueryParams)for(const V of Object.getOwnPropertyNames(this.customQueryParams))N+="&"+V+"="+encodeURIComponent(this.customQueryParams[V]);return N})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initImplicitFlow",v),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,v){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const C=1e3*i,R=this.dateTimeService.new().getTime()+C;this._storage.setItem("expires_at",""+R)}b&&this._storage.setItem("refresh_token",b),v&&v.forEach((C,E)=>{this._storage.setItem(E,C)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,v=i.state,C=i.session_state;if(!w.preventClearHashAfterLogin){const H=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,H)}let[E,R]=this.parseState(v);if(this.state=R,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const H=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(H),Promise.reject(H)}if(!w.disableNonceCheck){if(!E)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(E)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(C),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,v)=>{if(this.customQueryParams)for(let C of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(C,this.customQueryParams[C]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(C=>{this.debug("refresh tokenResponse",C),this.storeAccessTokenResponse(C.access_token,C.refresh_token,C.expires_in||this.fallbackAccessTokenExpirationTimeInSec,C.scope,this.extractRecognizedCustomParameters(C)),this.oidc&&C.id_token?this.processIdToken(C.id_token,C.access_token,b.disableNonceCheck).then(E=>{this.storeIdToken(E),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C)}).catch(E=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",E)),console.error("Error validating tokens"),console.error(E),v(E)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(C))},C=>{console.error("Error getting token",C),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",C)),v(C)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,v]=this.parseState(i);if(this.state=v,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const C=b.access_token,E=b.id_token,R=b.session_state,H=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!C||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!E)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!R&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const N=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(N),Promise.reject(N)}return this.requestAccessToken&&this.storeAccessTokenResponse(C,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,H),this.oidc?this.processIdToken(E,C,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:C,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(N=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(R),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),C=b64DecodeUnicode(this.padBase64(T[0])),E=JSON.parse(C),H=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(H);let N;if(N=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ae=>ae!==this.clientId)){const ae="Wrong audience: "+B.aud.join(",");return this.logger.warn(ae),Promise.reject(ae)}}else if(B.aud!==this.clientId){const ae="Wrong audience: "+B.aud;return this.logger.warn(ae),Promise.reject(ae)}if(!B.sub){const ae="No sub claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ae=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ae),Promise.reject(ae)}if(!B.iat){const ae="No iat claim in id_token";return this.logger.warn(ae),Promise.reject(ae)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ae="Wrong issuer: "+B.iss;return this.logger.warn(ae),Promise.reject(ae)}if(!i&&B.nonce!==N){const ae="Wrong nonce: "+B.nonce;return this.logger.warn(ae),Promise.reject(ae)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ae="An at_hash is needed!";return this.logger.warn(ae),Promise.reject(ae)}const V=this.dateTimeService.now(),J=1e3*B.iat,X=1e3*B.exp,re=this.getClockSkewInMsec();if(J-re>=V||X+re<=V){const ae="Token has expired";return console.error(ae),console.error({now:V,issuedAtMSec:J,expiresAtMSec:X}),Promise.reject(ae)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:E,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ae=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X})):this.checkAtHash(ee).then(ae=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ae){const de="Wrong at_hash";return this.logger.warn(de),Promise.reject(de)}return this.checkSignature(ee).then(de=>{const Oe={idToken:w,idTokenClaims:B,idTokenClaimsJson:H,idTokenHeader:E,idTokenHeaderJson:C,idTokenExpiresAt:X};return this.disableAtHashCheck?Oe:this.checkAtHash(ee).then(Ve=>{if(this.requestAccessToken&&!Ve){const Pt="Wrong at_hash";return this.logger.warn(Pt),Promise.reject(Pt)}return Oe})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(C=>this._storage.removeItem(C)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let v;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)v=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(C=C.set("id_token_hint",T));const E=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";E&&(C=C.set("post_logout_redirect_uri",E),b&&(C=C.set("state",b)));for(let R in w)C=C.set(R,w[R]);v=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+C.toString()}this.config.openUri(v)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const v="undefined"==typeof self?null:self.crypto||self.msCrypto;if(v){let C=new Uint8Array(i);v.getRandomValues(C),C.map||(C.map=Array.prototype.map),C=C.map(E=>b.charCodeAt(E%b.length)),T=String.fromCharCode.apply(null,C)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(v=>{console.error("Error in initAuthorizationCodeFlow"),console.error(v)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),v=this.getRefreshToken();if(!T)return;let C=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),E=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const R=btoa(`${this.clientId}:${this.dummyClientSecret}`);E=E.set("Authorization","Basic "+R)}if(this.useHttpBasicAuth||(C=C.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(C=C.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const R of Object.getOwnPropertyNames(this.customQueryParams))C=C.set(R,this.customQueryParams[R]);return new Promise((R,H)=>{let B,N;if(T){let V=C.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,V,{headers:E})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(v){let V=C.set("token",v).set("token_type_hint","refresh_token");N=this.http.post(i,V,{headers:E})}else N=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>0===V.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(V))),N=N.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>0===V.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(V)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,N]).subscribe(V=>{this.logOut(w),R(V),this.logger.info("Token successfully revoked")},V=>{this.logger.error("Error revoking token",V),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",V)),H(V)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(U){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)}}let DefaultOAuthInterceptor=(()=>{class Y{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>!!v)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(v=>"token_received"===v.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(v=>{if(v){const E=w.headers.set("Authorization","Bearer "+v);w=w.clone({headers:E})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(C=>this.errorHandler.handleError(C)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v))):b.handle(w)}}return Y.\u0275fac=function(w){return new(w||Y)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class NullValidationHandler{validateSignature(U){return Promise.resolve(null)}validateAtHash(U){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class Y{static forRoot(w=null,b=NullValidationHandler){return{ngModule:Y,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Y.\u0275fac=function(w){return new(w||Y)},Y.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:Y}),Y.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),Y})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},4147:Y=>{"use strict";Y.exports={i8:"6.1.0"}}},Y=>{Y(Y.s=4527)}]); \ No newline at end of file diff --git a/dist/apps/user-profile/assets/config/defaultConfig.json b/dist/apps/user-profile/assets/config/defaultConfig.json index ca208ecec..a9a2ac9c0 100644 --- a/dist/apps/user-profile/assets/config/defaultConfig.json +++ b/dist/apps/user-profile/assets/config/defaultConfig.json @@ -70,6 +70,7 @@ "api_url": "https://id.muni.cz/mfaapi/", "enable_security_image": true, "security_image_attribute": "urn:perun:user:attribute-def:def:securityImage:mu", + "enforce_mfa_attribute": "urn:perun:user:attribute-def:def:mfaEnforced:mu", "url_en": "https://mfa.aai.muni.cz/", "url_cs": "https://mfa.aai.muni.cz/" }, diff --git a/dist/apps/user-profile/assets/i18n/cs.json b/dist/apps/user-profile/assets/i18n/cs.json index ab6f4782a..868418a63 100644 --- a/dist/apps/user-profile/assets/i18n/cs.json +++ b/dist/apps/user-profile/assets/i18n/cs.json @@ -136,12 +136,14 @@ "AUTHENTICATION": { "TITLE": "Bezpečnostní obrázek", "MFA": "Vícefázové ověření", + "MFA_TOGGLE": "Zapnout vícefázové ověření pro všechny služby", + "MFA_DISABLED": "Potřebujete mít alespoň jeden aktivní MFA token.", "NEW_IMG": "Nový obrázek", "DELETE_IMG": "Vymazat obrázek", "ANTI_PHISHING_INFO": "Tento bezpečnostní obrázek se vám ukáže před tím, než zadáte heslo, ujistíte se tak, že se nepřihlašujete na podvrženou stránku", "DELETE_IMG_DIALOG_TITLE": "Vymazat proti-phishingový obrázek", "DELETE_IMG_DIALOG_DESC": "Váš bezpečnostní obrázek bude odstraněn a nebude použit během autentizace.", - "MFA_INFO": "Pro správu prostředků vícefázového ověření (MFA) navštivte " + "MFA_INFO": "Spravovat moje prostředky vícefázového ověření (MFA)" }, "DIALOGS": { "CHANGE_EMAIL": { diff --git a/dist/apps/user-profile/assets/i18n/en.json b/dist/apps/user-profile/assets/i18n/en.json index 7b9f1b733..6baffa08c 100644 --- a/dist/apps/user-profile/assets/i18n/en.json +++ b/dist/apps/user-profile/assets/i18n/en.json @@ -136,12 +136,14 @@ "AUTHENTICATION": { "TITLE": "Security image", "MFA": "Multi-factor authentication", + "MFA_TOGGLE": "Turn on multi-factor authentication for all services", + "MFA_DISABLED": "You need to have at least one active MFA token.", "NEW_IMG": "New image", "DELETE_IMG": "Delete image", "ANTI_PHISHING_INFO": "You will be shown this security image before you enter your password so you will know that you are visiting the right site", "DELETE_IMG_DIALOG_TITLE": "Delete anti-phishing image", "DELETE_IMG_DIALOG_DESC": "Your security image will be deleted and will not be used during authentication process.", - "MFA_INFO": "To manage MFA tokens go to " + "MFA_INFO": "Manage my MFA tokens" }, "DIALOGS": { "CHANGE_EMAIL": { diff --git a/dist/apps/user-profile/index.html b/dist/apps/user-profile/index.html index 66de75eae..fede3b157 100644 --- a/dist/apps/user-profile/index.html +++ b/dist/apps/user-profile/index.html @@ -13,5 +13,5 @@
- + diff --git a/dist/apps/user-profile/main.928735c601c55177.js b/dist/apps/user-profile/main.928735c601c55177.js new file mode 100644 index 000000000..0f1b6ca39 --- /dev/null +++ b/dist/apps/user-profile/main.928735c601c55177.js @@ -0,0 +1 @@ +(self.webpackChunkuser_profile=self.webpackChunkuser_profile||[]).push([[179],{9510:(q,Y,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class M extends T{static makeCurrent(){(0,b.HT)(new M)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function k(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==e?null:function I(n){L=L||document.createElement("a"),L.setAttribute("href",n);const o=L.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let L,v=null;const B=new i.OlP("TRANSITION_ID"),U=[{provide:i.ip1,useFactory:function F(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let Q=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const ae=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),ze=(()=>{class n extends he{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(He),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(He))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function He(n){(0,b.q)().remove(n)}const Ze={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/"},bt=/%COMP%/g;function ge(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let Re=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new fe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new wi(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new ot(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=ge(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(ze),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class fe{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ze[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ze[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ze[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,Ae(t)):this.eventManager.addEventListener(o,e,Ae(t))}}class wi extends fe{constructor(o,e,t,s){super(o),this.component=t;const a=ge(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function mt(n){return"_ngcontent-%COMP%".replace(bt,n)}(s+"-"+t.id),this.hostAttr=function de(n){return"_nghost-%COMP%".replace(bt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class ot extends fe{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=ge(s.id,s.styles,[]);for(let r=0;r{class n extends ce{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const jn=["alt","control","meta","shift"],Xe={"\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"},ai={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},gs={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let pn=(()=>{class n extends ce{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(jn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function ui(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ai.hasOwnProperty(o)&&(o=ai[o]))}return Xe[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),jn.forEach(a=>{a!=s&&gs[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Fs=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function Wt(){M.makeCurrent(),X.init()},multi:!0},{provide:b.K0,useFactory:function ro(){return(0,i.RDi)(document),document},deps:[]}]),Yn=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function gn(){return new i.qLn},deps:[]},{provide:ae,useClass:ft,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:ae,useClass:pn,multi:!0,deps:[b.K0]},{provide:Re,useClass:Re,deps:[ee,ze,i.AFp]},{provide:i.FYo,useExisting:Re},{provide:he,useExisting:ze},{provide:ze,useClass:ze,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[ae,i.R0b]},{provide:b.JF,useClass:Q,deps:[]}];let le=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},U]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Yn,imports:[b.ez,i.hGG]}),n})(),nt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ge(){return new nt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let _s=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(ar),t},providedIn:"root"}),n})(),ar=(()=>{class n extends _s{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function rr(n){return new ar(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Ie{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const ki=new i.OlP("basePath");class Qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let si=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,O,$,oe="body",be=!1){let ve=new D.LE({encoder:this.encoder});null!=e&&(ve=ve.set("attributeName",e)),null!=t&&(ve=ve.set("attributeId",t)),null!=s&&(ve=ve.set("facility",s)),null!=a&&(ve=ve.set("user",a)),null!=r&&(ve=ve.set("vo",r)),null!=c&&(ve=ve.set("resource",c)),null!=d&&(ve=ve.set("member",d)),null!=h&&(ve=ve.set("group",h)),null!=g&&(ve=ve.set("host",g)),null!=O&&(ve=ve.set("userExtSource",O)),null!=$&&(ve=ve.set("key",$));let Le=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Le=Le.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Le=Le.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Le=Le.set("Authorization","Bearer "+Bt)}const Vt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Vt&&(Le=Le.set("Accept",Vt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:ve,withCredentials:this.configuration.withCredentials,headers:Le,observe:oe,reportProgress:be})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",O=!1){let $=new D.LE({encoder:this.encoder});null!=e&&($=$.set("member",e)),null!=t&&($=$.set("user",t)),null!=s&&($=$.set("vo",s)),null!=a&&($=$.set("group",a)),null!=r&&($=$.set("resource",r)),null!=c&&($=$.set("facility",c)),null!=d&&($=$.set("host",d)),null!=h&&($=$.set("userExtSource",h));let oe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(oe=oe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(oe=oe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Le="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;oe=oe.set("Authorization","Bearer "+Le)}const ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ve&&(oe=oe.set("Accept",ve)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:$,withCredentials:this.configuration.withCredentials,headers:oe,observe:g,reportProgress:O})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(be=>{g=g.append("attributes[]",be)});let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(oe=>{h=h.append("attributes[]",oe)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attributes[]",$)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(O=>{c=c.append("attributes[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attributes[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributePolicyCollections(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ki=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(be=>{g=g.append("specificAttributes",be)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),An=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(O=>{c=c.append("members[]",O)}),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Be=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("attrsNames[]",O)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(O=>{c=c.append("allowedStatuses[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(be=>{g=g.append("attrsNames[]",be)}),r&&r.forEach(be=>{g=g.append("allowedStatuses[]",be)}),c&&c.forEach(be=>{g=g.append("allowedGroupStatuses[]",be)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("attrsNames[]",$)}),a&&a.forEach($=>{d=d.append("allowedStatuses[]",$)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("attrsNames[]",$)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(oe=>{h=h.append("allowedStatuses[]",oe)}),a&&a.forEach(oe=>{h=h.append("allowedGroupStatuses[]",oe)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(oe=>{h=h.append("attrsNames[]",oe)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attrsNames[]",$)}),a&&a.forEach($=>{d=d.append("allowedStatuses[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(O=>{c=c.append("allowedStatuses[]",O)}),s&&s.forEach(O=>{c=c.append("attrsNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ni=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach($=>{d=d.append("state[]",$)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("state[]",$)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ei=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("groups[]",O)}),t&&t.forEach(O=>{c=c.append("resources[]",O)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(oe=>{h=h.append("resources[]",oe)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(oe=>{h=h.append("groups[]",oe)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach($=>{d=d.append("specificAttributes",$)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),js=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uo=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(oe=>{h=h.append("specificAttributes",oe)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Rt=(()=>{return(n=Rt||(Rt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Rt;var n})();let Ga=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER,Rt.FACILITYADMIN,Rt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Rt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Rt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Rt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOOBSERVER,Rt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const $ of this.allRolesManagementRules)if($.roleName===a){r=r.concat($.privilegedRolesToRead),c=c.concat($.privilegedRolesToManage);for(const oe of Object.keys($.entitiesToManage))d="User"===oe?[oe].concat(d):d.concat(oe);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),O=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:O,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,Mn.D)(e):(0,rs.c)()).subscribe(o)})}var pu=w(1762),pt=w(4850),mi=w(7545),$t=w(2986),go=w(2866);function ci(...n){const o=n[n.length-1];return(0,go.K)(o)?(n.pop(),e=>po(n,e,o)):e=>po(n,e)}var Ys=w(3489);function Wa(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Vr(n,o,e))}}class Vr{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new Ka(o,this.accumulator,this.seed,this.hasSeed))}}class Ka extends Ys.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var On=w(7221),Cs=w(1406),gu=w(4231);function Pn(n){return function(e){return 0===n?(0,rs.c)():e.lift(new Za(n))}}class Za{constructor(o){if(this.total=o,this.total<0)throw new gu.W}call(o,e){return e.subscribe(new Xd(o,this.total))}}class Xd extends Ys.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new z(n))}class z{constructor(o){this.callback=o}call(o,e){return e.subscribe(new W(o,this.callback))}}class W extends Ys.L{constructor(o,e){super(o),this.add(new P.w(e))}}class ne{constructor(o,e){this.id=o,this.url=e}}class me extends ne{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Te extends ne{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tt extends ne{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class li extends ne{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xt extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ot extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zt extends ne{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zi extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vi extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ss{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lt{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dr{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rl{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const kt="primary";class fr{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Wr(n){return new fr(n)}const al="ngNavigationCancelingError";function Ee(n){const o=Error("NavigationCancelingError: "+n);return o[al]=!0,o}function Qd(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function ys(n){return Array.prototype.concat.apply([],n)}function cl(n){return n.length>0?n[n.length-1]:null}function Pt(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Us(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,Mn.D)(Promise.resolve(n)):(0,Ke.of)(n)}const Xa={exact:function ks(n,o,e){if(!Ao(n.segments,o.segments)||!pr(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!ks(n.children[t],o.children[t],e))return!1;return!0},subset:eh},zn={exact:function Jd(n,o){return Es(n,o)},subset:function yo(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>Kr(n[e],o[e]))},ignored:()=>!0};function Gs(n,o,e){return Xa[e.paths](n.root,o.root,e.matrixParams)&&zn[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function eh(n,o,e){return _u(n,o,o.segments,e)}function _u(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!Ao(s,e)||o.hasChildren()||!pr(s,e,t))}if(n.segments.length===e.length){if(!Ao(n.segments,e)||!pr(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!eh(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(Ao(n.segments,s)&&pr(n.segments,s,t)&&n.children[kt])&&_u(n.children[kt],o,a,t)}}function pr(n,o,e){return o.every((t,s)=>zn[e](n[s].parameters,t.parameters))}class Vs{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wr(this.queryParams)),this._queryParamMap}toString(){return th.serialize(this)}}class zt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Pt(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ja(this)}}class gr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Wr(this.parameters)),this._parameterMap}toString(){return xi(this)}}function Ao(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Qa{}class mr{parse(o){const e=new tc(o);return new Vs(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${Zr(o.root,!0)}`,t=function hp(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${_r(e)}=${_r(s)}`).join("&"):`${_r(e)}=${_r(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function dp(n){return encodeURI(n)}(o.fragment)}`:""}`}}const th=new mr;function Ja(n){return n.segments.map(o=>xi(o)).join("/")}function Zr(n,o){if(!n.hasChildren())return Ja(n);if(o){const e=n.children[kt]?Zr(n.children[kt],!1):"",t=[];return Pt(n.children,(s,a)=>{a!==kt&&t.push(`${a}:${Zr(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function yu(n,o){let e=[];return Pt(n.children,(t,s)=>{s===kt&&(e=e.concat(o(t,s)))}),Pt(n.children,(t,s)=>{s!==kt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===kt?[Zr(n.children[kt],!1)]:[`${s}:${Zr(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[kt]?`${Ja(n)}/${e[0]}`:`${Ja(n)}/(${e.join("//")})`}}function Au(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _r(n){return Au(n).replace(/%3B/gi,";")}function wu(n){return Au(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _n(n){return decodeURIComponent(n)}function wo(n){return _n(n.replace(/\+/g,"%20"))}function xi(n){return`${wu(n.path)}${function Mu(n){return Object.keys(n).map(o=>`;${wu(o)}=${wu(n[o])}`).join("")}(n.parameters)}`}const ih=/^[^\/()?;=#]+/;function $n(n){const o=n.match(ih);return o?o[0]:""}const br=/^[^=?&#]+/,ul=/^[^&#]+/;class tc{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new zt([],{}):new zt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[kt]=new zt(o,e)),t}parseSegment(){const o=$n(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new gr(_n(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=$n(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=$n(this.remaining);s&&(t=s,this.capture(t))}o[_n(e)]=_n(t)}parseQueryParam(o){const e=function nh(n){const o=n.match(br);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function ec(n){const o=n.match(ul);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=wo(e),a=wo(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=$n(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=kt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[kt]:new zt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class dl{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=hl(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=hl(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=fl(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return fl(o,this._root).map(e=>e.value)}}function hl(n,o){if(n===o.value)return o;for(const e of o.children){const t=hl(n,e);if(t)return t}return null}function fl(n,o){if(n===o.value)return[o];for(const e of o.children){const t=fl(n,e);if(t.length)return t.unshift(o),t}return[]}class In{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ws(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class sh extends dl{constructor(o,e){super(o),this.snapshot=e,$r(this,o)}toString(){return this.snapshot.toString()}}function oh(n,o){const e=function ic(n,o){const r=new vu([],{},{},"",{},kt,o,null,n.root,-1,{});return new pp("",new In(r,[]))}(n,o),t=new Bi([new gr("",{})]),s=new Bi({}),a=new Bi({}),r=new Bi({}),c=new Bi(""),d=new Xn(t,s,r,c,a,kt,o,e.root);return d.snapshot=e.root,new sh(new In(d,[]),e)}class Xn{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}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._paramMap=this.params.pipe((0,pt.U)(o=>Wr(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)(o=>Wr(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function rh(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function fp(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class vu{constructor(o,e,t,s,a,r,c,d,h,g,O){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=O}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._paramMap=Wr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pp extends dl{constructor(o,e){super(e),this.url=o,$r(this,e)}toString(){return Tu(this._root)}}function $r(n,o){o.value._routerState=n,o.children.forEach(e=>$r(n,e))}function Tu(n){const o=n.children.length>0?` { ${n.children.map(Tu).join(", ")} } `:"";return`${n.value}${o}`}function nc(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Es(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),Es(o.params,e.params)||n.params.next(e.params),function tn(n,o){if(n.length!==o.length)return!1;for(let e=0;eEs(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Xr(n.parent,o.parent))}function Qr(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Jr(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return Qr(n,t,s);return Qr(n,t)})}(n,o,e);return new In(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>Qr(n,c)),r}}const t=function gp(n){return new Xn(new Bi(n.url),new Bi(n.params),new Bi(n.queryParams),new Bi(n.fragment),new Bi(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>Qr(n,a));return new In(t,s)}}function ta(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function qo(n){return"object"==typeof n&&null!=n&&n.outlets}function ah(n,o,e,t,s){let a={};return t&&Pt(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Vs(e.root===n?o:Cu(e.root,n,o),a,s)}function Cu(n,o,e){const t={};return Pt(n.children,(s,a)=>{t[a]=s===o?e:Cu(s,o,e)}),new zt(n.segments,t)}class pl{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&ta(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(qo);if(s&&s!==cl(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gl{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function na(n,o,e){if(n||(n=new zt([],{})),0===n.segments.length&&n.hasChildren())return As(n,o,e);const t=function lh(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(qo(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!Eu(d,h,r))return a;t+=2}else{if(!Eu(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=na(n.children[r],o,a))}),Pt(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new zt(n.segments,s)}}function oc(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=oc(new zt([],{}),0,e))}),o}function Su(n){const o={};return Pt(n,(e,t)=>o[t]=`${e}`),o}function Eu(n,o,e){return n==e.path&&Es(o,e.parameters)}class _p{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),nc(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Ws(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),Pt(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Ws(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Ws(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Ws(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new rl(a.value.snapshot))}),o.children.length&&this.forwardEvent(new lt(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(nc(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),nc(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function ml(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class yr{constructor(o,e){this.routes=o,this.module=e}}function Uo(n){return"function"==typeof n}function Go(n){return n instanceof Vs}const Ks=Symbol("INITIAL_VALUE");function Zs(){return(0,mi.w)(n=>(0,Gr.aj)(n.map(o=>o.pipe((0,$t.q)(1),ci(Ks)))).pipe(Wa((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==Ks?s:(a===Ks&&(t=!0),t||!1!==a&&r!==e.length-1&&!Go(a)?s:a),o)},Ks),(0,qt.h)(o=>o!==Ks),(0,pt.U)(o=>Go(o)?o:!0===o),(0,$t.q)(1)))}class oa{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ra,this.attachRef=null}}class ra{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new oa,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let Vo=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||kt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new aa(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ra),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class aa{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===Xn?this.route:o===ra?this.childContexts:this.parent.get(o,e)}}let bp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Vo],encapsulation:2}),n})();function fh(n,o=""){for(let e=0;eDs(t)===o);return e.push(...n.filter(t=>Ds(t)!==o)),e}const _l={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Lu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},_l):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||Qd)(e,n,o);if(!a)return Object.assign({},_l);const r={};Pt(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Ru(n,o,e,t,s="corrected"){if(e.length>0&&function nn(n,o,e){return e.some(t=>Mo(n,o,t)&&Ds(t)!==kt)}(n,e,t)){const r=new zt(o,function g1(n,o,e,t){const s={};s[kt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&Ds(a)!==kt){const r=new zt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[Ds(a)]=r}return s}(n,o,t,new zt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Ou(n,o,e){return e.some(t=>Mo(n,o,t))}(n,e,t)){const r=new zt(n.segments,function rc(n,o,e,t,s,a){const r={};for(const c of t)if(Mo(n,e,c)&&!s[Ds(c)]){const d=new zt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[Ds(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new zt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function Mo(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function Ap(n,o,e,t){return!!(Ds(n)===t||t!==kt&&Mo(o,e,n))&&("**"===n.path||Lu(o,n,e).matched)}function gh(n,o,e){return 0===o.length&&!n.children[e]}class vn{constructor(o){this.segmentGroup=o||null}}class xs{constructor(o){this.urlTree=o}}function ac(n){return new Fi.y(o=>o.error(new vn(n)))}function cc(n){return new Fi.y(o=>o.error(new xs(n)))}function ws(n){return new Fi.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Mp{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Ru(this.urlTree.root,[],[],this.config).segmentGroup,e=new zt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,kt).pipe((0,pt.U)(a=>this.createUrlTree(Pe(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,On.K)(a=>{if(a instanceof xs)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof vn?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,kt).pipe((0,pt.U)(s=>this.createUrlTree(Pe(s),o.queryParams,o.fragment))).pipe((0,On.K)(s=>{throw s instanceof vn?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new zt([],{[kt]:o}):o;return new Vs(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,pt.U)(a=>new zt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,Mn.D)(s).pipe((0,Cs.b)(a=>{const r=t.children[a],c=xu(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,pt.U)(d=>({segment:d,outlet:a})))}),Wa((a,r)=>(a[r.outlet]=r.segment,a),{}),function mo(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,qt.h)((s,a)=>n(s,a,t)):ur.y,Pn(1),e?(0,Mi.d)(o):(0,$a.T)(()=>new fu.K))}())}expandSegment(o,e,t,s,a,r){return(0,Mn.D)(t).pipe((0,Cs.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,On.K)(h=>{if(h instanceof vn)return(0,Ke.of)(null);throw h}))),(0,_o.P)(c=>!!c),(0,On.K)((c,d)=>{if(c instanceof fu.K||"EmptyError"===c.name){if(gh(e,s,a))return(0,Ke.of)(new zt([],{}));throw new vn(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return Ap(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):ac(e):ac(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?cc(a):this.lineralizeSegments(t,a).pipe((0,en.zg)(r=>{const c=new zt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Lu(e,s,a);if(!c)return ac(e);const O=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?cc(O):this.lineralizeSegments(s,O).pipe((0,en.zg)($=>this.expandSegment(o,e,t,$.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ke.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,pt.U)($=>(t._loadedConfig=$,new zt(s,{})))):(0,Ke.of)(new zt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=Lu(e,t,s);if(!r)return ac(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,en.zg)(O=>{const $=O.module,oe=O.routes,{segmentGroup:be,slicedSegments:ve}=Ru(e,c,h,oe),Le=new zt(be.segments,be.children);if(0===ve.length&&Le.hasChildren())return this.expandChildren($,oe,Le).pipe((0,pt.U)(pi=>new zt(c,pi)));if(0===oe.length&&0===ve.length)return(0,Ke.of)(new zt(c,{}));const et=Ds(t)===a;return this.expandSegment($,Le,oe,ve,et?kt:a,!0).pipe((0,pt.U)(Bt=>new zt(c.concat(Bt.segments),Bt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ke.of)(new yr(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ke.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,en.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,pt.U)(a=>(e._loadedConfig=a,a))):function Pu(n){return new Fi.y(o=>o.error(Ee(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ke.of)(new yr([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ke.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function sa(n){return n&&Uo(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!Uo(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return Us(d)});return(0,Ke.of)(a).pipe(Zs(),(0,qi.b)(r=>{if(!Go(r))return;const c=Ee(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,pt.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ke.of)(t);if(s.numberOfChildren>1||!s.children[kt])return ws(o.redirectTo);s=s.children[kt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Vs(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return Pt(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return Pt(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new zt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function Pe(n){const o={};for(const t of Object.keys(n.children)){const a=Pe(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function m1(n){if(1===n.numberOfChildren&&n.children[kt]){const o=n.children[kt];return new zt(n.segments.concat(o.segments),o.children)}return n}(new zt(n.segments,o))}class Qn{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class Ar{constructor(o,e){this.component=o,this.route=e}}function jt(n,o,e){const t=n._root;return lc(t,o?o._root:null,e,[t.value])}function ca(n,o,e){const t=function Iu(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function lc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Ws(o);return n.children.forEach(r=>{(function vp(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function Tp(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!Ao(n.url,o.url);case"pathParamsOrQueryParamsChange":return!Ao(n.url,o.url)||!Es(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xr(n,o)||!Es(n.queryParams,o.queryParams);default:return!Xr(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new Qn(t)):(a.data=r.data,a._resolvedData=r._resolvedData),lc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new Ar(c.outlet.component,r))}else r&&uc(o,c,s),s.canActivateChecks.push(new Qn(t)),lc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),Pt(a,(r,c)=>uc(r,e.getContext(c),s)),s}function uc(n,o,e){const t=Ws(n),s=n.value;Pt(t,(a,r)=>{uc(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new Ar(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class bh{}function yl(n){return new Fi.y(o=>o.error(n))}class Ep{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Ru(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,kt);if(null===e)return null;const t=new vu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},kt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new In(t,e),a=new pp(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=rh(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=xu(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=sn(t);return function as(n){n.sort((o,e)=>o.value.outlet===kt?-1:e.value.outlet===kt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return gh(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!Ap(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const oe=t.length>0?cl(t).parameters:{};a=new vu(t,oe,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,la(o),Ds(o),o.component,o,wh(e),Al(e)+t.length,Mh(o))}else{const oe=Lu(e,o,t);if(!oe.matched)return null;r=oe.consumedSegments,c=t.slice(oe.lastChild),a=new vu(r,oe.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,la(o),Ds(o),o.component,o,wh(e),Al(e)+r.length,Mh(o))}const d=function Ah(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Ru(e,r,c,d.filter(oe=>void 0===oe.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const oe=this.processChildren(d,h);return null===oe?null:[new In(a,oe)]}if(0===d.length&&0===g.length)return[new In(a,[])];const O=Ds(o)===s,$=this.processSegment(d,h,g,O?kt:s);return null===$?null:[new In(a,$)]}}function kp(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function sn(n){const o=[],e=new Set;for(const t of n){if(!kp(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=sn(t.children);o.push(new In(t.value,s))}return o.filter(t=>!e.has(t))}function wh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Al(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function la(n){return n.data||{}}function Mh(n){return n.resolve||{}}function Hu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Bu(n){return(0,mi.w)(o=>{const e=n(o);return e?(0,Mn.D)(e).pipe((0,pt.U)(()=>o)):(0,Ke.of)(o)})}class wl extends class Fu{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const Ml=new i.OlP("ROUTES");class Th{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,pt.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new yr(ys(r.injector.get(Ml,void 0,i.XFs.Self|i.XFs.Optional)).map(ph),r)}),(0,On.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new pu.c(s,()=>new De.xQ).pipe((0,hi.x)()),e._loader$}loadModuleFactory(o){return Us(o()).pipe((0,en.zg)(e=>e instanceof i.YKP?(0,Ke.of)(e):(0,Mn.D)(this.compiler.compileModuleAsync(e))))}}class Rs{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function pc(n){throw n}function Rp(n,o,e){return o.parse("/")}function Op(n,o){return(0,Ke.of)(null)}const Ch={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ji=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new De.xQ,this.errorHandler=pc,this.malformedUriErrorHandler=Rp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Op,afterPreactivation:Op},this.urlHandlingStrategy=new Rs,this.routeReuseStrategy=new wl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const O=r.get(i.R0b);this.isNgZoneEnabled=O instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function ll(){return new Vs(new zt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Th(r,c,$=>this.triggerEvent(new _i($)),$=>this.triggerEvent(new bo($))),this.routerState=oh(this.currentUrlTree,this.rootComponentType),this.transitions=new Bi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,qt.h)(s=>0!==s.id),(0,pt.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,mi.w)(s=>{let a=!1,r=!1;return(0,Ke.of)(s).pipe((0,qi.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,mi.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return wr(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ke.of)(c).pipe((0,mi.w)(O=>{const $=this.transitions.getValue();return t.next(new me(O.id,this.serializeUrl(O.extractedUrl),O.source,O.restoredState)),$!==this.transitions.getValue()?rs.E:Promise.resolve(O)}),function mh(n,o,e,t){return(0,mi.w)(s=>function wp(n,o,e,t,s){return new Mp(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,pt.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,qi.b)(O=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:O.urlAfterRedirects})}),function xp(n,o,e,t,s){return(0,en.zg)(a=>function yh(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new Ep(n,o,e,t,s,a).recognize();return null===r?yl(new bh):(0,Ke.of)(r)}catch(r){return yl(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,pt.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,O=>this.serializeUrl(O),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,qi.b)(O=>{if("eager"===this.urlUpdateStrategy){if(!O.extras.skipLocationChange){const oe=this.urlHandlingStrategy.merge(O.urlAfterRedirects,O.rawUrl);this.setBrowserUrl(oe,O)}this.browserUrlTree=O.urlAfterRedirects}const $=new Xt(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);t.next($)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:oe,source:be,restoredState:ve,extras:Le}=c,et=new me($,this.serializeUrl(oe),be,ve);t.next(et);const Vt=oh(oe,this.rootComponentType).snapshot;return(0,Ke.of)(Object.assign(Object.assign({},c),{targetSnapshot:Vt,urlAfterRedirects:oe,extras:Object.assign(Object.assign({},Le),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),rs.E}),Bu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:oe}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!oe})}),(0,qi.b)(c=>{const d=new Ot(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,pt.U)(c=>Object.assign(Object.assign({},c),{guards:jt(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function _h(n,o){return(0,en.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ke.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function Ls(n,o,e,t){return(0,Mn.D)(n).pipe((0,en.zg)(s=>function Sp(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ke.of)(!0);const r=a.map(c=>{const d=ca(c,o,s);let h;if(function Du(n){return n&&Uo(n.canDeactivate)}(d))h=Us(d.canDeactivate(n,o,e,t));else{if(!Uo(d))throw new Error("Invalid CanDeactivate guard");h=Us(d(n,o,e,t))}return h.pipe((0,_o.P)())});return(0,Ke.of)(r).pipe(Zs())}(s.component,s.route,e,o,t)),(0,_o.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,en.zg)(c=>c&&function dh(n){return"boolean"==typeof n}(c)?function bl(n,o,e,t){return(0,Mn.D)(o).pipe((0,Cs.b)(s=>po(function dc(n,o){return null!==n&&o&&o(new Ss(n)),(0,Ke.of)(!0)}(s.route.parent,t),function Cp(n,o){return null!==n&&o&&o(new dr(n)),(0,Ke.of)(!0)}(s.route,t),function hc(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function zu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>Fo(()=>{const c=r.guards.map(d=>{const h=ca(d,r.node,e);let g;if(function ku(n){return n&&Uo(n.canActivateChild)}(h))g=Us(h.canActivateChild(t,n));else{if(!Uo(h))throw new Error("Invalid CanActivateChild guard");g=Us(h(t,n))}return g.pipe((0,_o.P)())});return(0,Ke.of)(c).pipe(Zs())}));return(0,Ke.of)(a).pipe(Zs())}(n,s.path,e),function Nu(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ke.of)(!0);const s=t.map(a=>Fo(()=>{const r=ca(a,o,e);let c;if(function hh(n){return n&&Uo(n.canActivate)}(r))c=Us(r.canActivate(o,n));else{if(!Uo(r))throw new Error("Invalid CanActivate guard");c=Us(r(o,n))}return c.pipe((0,_o.P)())}));return(0,Ke.of)(s).pipe(Zs())}(n,s.route,e))),(0,_o.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ke.of)(c)),(0,pt.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,qi.b)(c=>{if(Go(c.guardsResult)){const h=Ee(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new Zt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,qt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),Bu(c=>{if(c.guards.canActivateChecks.length)return(0,Ke.of)(c).pipe((0,qi.b)(d=>{const h=new Zi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,mi.w)(d=>{let h=!1;return(0,Ke.of)(d).pipe(function Lp(n,o){return(0,en.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ke.of)(e);let a=0;return(0,Mn.D)(s).pipe((0,Cs.b)(r=>function fc(n,o,e,t){return function cs(n,o,e,t){const s=Hu(n);if(0===s.length)return(0,Ke.of)({});const a={};return(0,Mn.D)(s).pipe((0,en.zg)(r=>function ua(n,o,e,t){const s=ca(n,o,t);return Us(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,qi.b)(c=>{a[r]=c}))),Pn(1),(0,en.zg)(()=>Hu(a).length===s.length?(0,Ke.of)(a):rs.E))}(n._resolve,n,o,t).pipe((0,pt.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),rh(n,e).resolve),null)))}(r.route,t,n,o)),(0,qi.b)(()=>a++),Pn(1),(0,en.zg)(r=>a===s.length?(0,Ke.of)(e):rs.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,qi.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,qi.b)(d=>{const h=new vi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Bu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:oe}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!oe})}),(0,pt.U)(c=>{const d=function sc(n,o,e){const t=Qr(n,o._root,e?e._root:void 0);return new sh(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,qi.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,pt.U)(t=>(new _p(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,qi.b)({next(){a=!0},complete(){a=!0}}),G(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,On.K)(c=>{if(r=!0,function Gt(n){return n&&n[al]}(c)){const d=Go(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new tt(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),O={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wr(s.source)};this.scheduleNavigation(g,"imperative",null,O,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new li(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return rs.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){fh(e),this.config=e.map(ph),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let O=null;switch(c){case"merge":O=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":O=this.currentUrlTree.queryParams;break;default:O=a||null}return null!==O&&(O=this.removeEmptyProps(O)),function ea(n,o,e,t,s){if(0===e.length)return ah(o.root,o.root,o,t,s);const a=function ch(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new pl(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Pt(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new pl(e,o,t)}(e);if(a.toRoot())return ah(o.root,new zt([],{}),o,t,s);const r=function jo(n,o,e){if(n.isAbsolute)return new gl(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new gl(a,a===o.root,0)}const t=ta(n.commands[0])?0:1;return function Yo(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new gl(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?As(r.segmentGroup,r.index,a.commands):na(r.segmentGroup,r.index,a.commands);return ah(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,O,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Go(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function da(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Te(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,O=wr(t)&&g&&!wr(g.source),$=g.rawUrl.toString()===e.toString(),oe=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(O&&$&&oe)return Promise.resolve(!0);let ve,Le,et;r?(ve=r.resolve,Le=r.reject,et=r.promise):et=new Promise((pi,lu)=>{ve=pi,Le=lu});const Vt=++this.navigationId;let Bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Bt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Bt=0,this.setTransition({id:Vt,targetPageId:Bt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:ve,reject:Le,promise:et,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),et.catch(pi=>Promise.reject(pi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new tt(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wr(n){return"imperative"!==n}let It=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new De.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),_=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new De.xQ,this.subscription=e.events.subscribe(a=>{a instanceof Te&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function S(n){return""===n||!!n}class V{}class re{preload(o,e){return e().pipe((0,On.K)(()=>(0,Ke.of)(null)))}}class ye{preload(o,e){return(0,Ke.of)(null)}}let rt=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Th(s,t,d=>e.triggerEvent(new _i(d)),d=>e.triggerEvent(new bo(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,qt.h)(e=>e instanceof Te),(0,Cs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,Mn.D)(s).pipe((0,Va.J)(),(0,pt.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ke.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,en.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ji),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(V))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Nt=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Te&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof hr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new hr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Tn=new i.OlP("ROUTER_CONFIGURATION"),Nn=new i.OlP("ROUTER_FORROOT_GUARD"),Wo=[b.Ye,{provide:Qa,useClass:mr},{provide:ji,useFactory:function _1(n,o,e,t,s,a,r={},c,d){const h=new ji(null,n,o,e,t,s,ys(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function nA(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var O,$;null===(O=console.group)||void 0===O||O.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===($=console.groupEnd)||void 0===$||$.call(console)}),h},deps:[Qa,ra,b.Ye,i.zs3,i.Sil,Ml,Tn,[class vo{},new i.FiY],[class vh{},new i.FiY]]},ra,{provide:Xn,useFactory:function sA(n){return n.routerState.root},deps:[ji]},rt,ye,re,{provide:Tn,useValue:{enableTracing:!1}}];function eA(){return new i.PXZ("Router",ji)}let Sh=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[Wo,gc(e),{provide:Nn,useFactory:Mr,deps:[[ji,new i.FiY,new i.tp0]]},{provide:Tn,useValue:t||{}},{provide:b.S$,useFactory:iA,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],Tn]},{provide:Nt,useFactory:tA,deps:[ji,b.EM,Tn]},{provide:V,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:ye},{provide:i.PXZ,multi:!0,useFactory:eA},[zp,{provide:i.ip1,multi:!0,useFactory:oA,deps:[zp]},{provide:Ip,useFactory:rA,deps:[zp]},{provide:i.tb,multi:!0,useExisting:Ip}]]}}static forChild(e){return{ngModule:n,providers:[gc(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Nn,8),i.LFG(ji,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function tA(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Nt(n,o,e)}function iA(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function Mr(n){return"guarded"}function gc(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Ml,multi:!0,useValue:n}]}let zp=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new De.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(ji),r=this.injector.get(Tn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ke.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(Tn),s=this.injector.get(rt),a=this.injector.get(Nt),r=this.injector.get(ji),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function oA(n){return n.appInitializer.bind(n)}function rA(n){return n.bootstrapListener.bind(n)}const Ip=new i.OlP("Router Initializer");let ti=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,ju.k)(s)?t(...s):t(s))):new Fi.y(s=>{lA(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function lA(n,o,e,t,s){let a;if(function Hp(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function Np(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function bT(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let uA=1;const dA=Promise.resolve(),Eh={};function Bp(n){return n in Eh&&(delete Eh[n],!0)}const Uu={setImmediate(n){const o=uA++;return Eh[o]=!0,dA.then(()=>Bp(o)&&n()),o},clearImmediate(n){Bp(n)}},Yi=new class fA extends A1.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=Uu.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(Uu.clearImmediate(e),o.scheduled=void 0)}});var Gu=w(353),v1=w(826),kh=w(9054);class pA{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new gA(o,this.durationSelector))}}class gA extends v1.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,kh.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function qp(n){return!(0,ju.k)(n)&&n-parseFloat(n)+1>=0}function C1(n=0,o,e){let t=-1;return qp(o)?t=Number(o)<1?1:Number(o):(0,go.K)(o)&&(e=o),(0,go.K)(e)||(e=Gu.P),new Fi.y(s=>{const a=qp(n)?n:+n-e.now();return e.schedule(mA,a,{index:0,period:t,subscriber:s})})}function mA(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function S1(n,o=Gu.P){return function T1(n){return function(e){return e.lift(new pA(n))}}(()=>C1(n,o))}function it(n){return o=>o.lift(new Vu(n))}class Vu{constructor(o){this.notifier=o}call(o,e){const t=new ls(o),s=(0,kh.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class ls extends v1.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Wu;try{Wu="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Wu=!1}let an,Ei=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Wu)&&"undefined"!=typeof CSS&&!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}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Tl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Dh(){if(an)return an;if("object"!=typeof document||!document)return an=new Set(Tl),an;let n=document.createElement("input");return an=new Set(Tl.filter(o=>(n.setAttribute("type",o),n.type===o))),an}let Ku,xh,fa,jp;function Ko(n){return function _A(){if(null==Ku&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ku=!0}))}finally{Ku=Ku||!1}return Ku}()?n:!!n.capture}function E1(){if(null==fa){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return fa=!1,fa;if("scrollBehavior"in document.documentElement.style)fa=!0;else{const n=Element.prototype.scrollTo;fa=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return fa}function Cl(){if("object"!=typeof document||!document)return 0;if(null==xh){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),xh=0,0===n.scrollLeft&&(n.scrollLeft=1,xh=0===n.scrollLeft?1:2),n.remove()}return xh}function Sl(n){if(function bA(){if(null==jp){const n="undefined"!=typeof document?document.head:null;jp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return jp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function Yp(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function $s(n){return n.composedPath?n.composedPath()[0]:n.target}function Zu(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const yA=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function AA(){return(0,i.f3M)(b.K0)}}),$u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Hn=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function wA(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?$u.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(yA,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),El=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),mc=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new De.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Fi.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(S1(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ke.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,qt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=oi(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ha(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(Ei),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xu=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new De.xQ,this._elementScrolled=new Fi.y(r=>this.ngZone.runOutsideAngular(()=>ha(this.elementRef.nativeElement,"scroll").pipe(it(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=Cl()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Cl()?e.left=e.right:1==Cl()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;E1()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==Cl()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==Cl()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b),i.Y36(Hn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),Ms=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new De.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(S1(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),kl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El,vl,Cn],El,Cn]}),n})();class Qu{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class Dl extends Qu{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class _c extends Qu{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class ET extends Qu{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class pa{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof Dl?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof _c?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof ET?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class L1 extends pa{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Up=(()=>{class n extends pa{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),Rh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Li=w(6787);class Gp{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new P1(o,this.predicate,this.inclusive))}}class P1 extends Ys.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function cn(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const sm=E1();class om{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=rn(-this._previousScrollPosition.left),o.style.top=rn(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),sm&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sm&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class rm{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Xp{enable(){}disable(){}attach(){}}function Qp(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function Jp(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class QA{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();Qp(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let JA=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new Xp,this.close=r=>new rm(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new om(this._viewportRuler,this._document),this.reposition=r=>new QA(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(mc),i.LFG(Ms),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Gn{constructor(o){if(this.scrollStrategy=new Xp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class cC{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class lC{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new De.xQ,this._attachments=new De.xQ,this._detachments=new De.xQ,this._locationChanges=P.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new De.xQ,this._outsidePointerEvents=new De.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=rn(this._config.width),o.height=rn(this._config.height),o.minWidth=rn(this._config.minWidth),o.minHeight=rn(this._config.minHeight),o.maxWidth=rn(this._config.maxWidth),o.maxHeight=rn(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=vr(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(it((0,Li.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let eg=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Zu()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Bh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=tg(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let $=0-c,oe=c+a.height-t.height,be=this._subtractOverflows(a.width,0-r,r+a.width-t.width),ve=this._subtractOverflows(a.height,$,oe),Le=be*ve;return{visibleArea:Le,isCompletelyWithinViewport:a.width*a.height===Le,fitsInViewportVertically:ve===a.height,fitsInViewportHorizontally:be==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=cm(this._overlayRef.getConfig().minHeight),c=cm(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=tg(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,O=0;return g=s.width<=a.width?h||-r:o.xbe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-be/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)O=o.x,g=t.right-o.x;else{const oe=Math.min(t.right-o.x+t.left,o.x),be=this._lastBoundingBoxSize.width;g=2*oe,O=o.x-oe,g>be&&!this._isInitialRender&&!this._growAfterOpen&&(O=o.x-be/2)}return{top:r,left:O,bottom:c,right:$,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=rn(t.height),s.top=rn(t.top),s.bottom=rn(t.bottom),s.width=rn(t.width),s.left=rn(t.left),s.right=rn(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=rn(a)),r&&(s.maxWidth=rn(r))}this._lastBoundingBoxSize=t,vc(this._boundingBox.style,s)}_resetBoundingBoxStyles(){vc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();vc(t,this._getExactOverlayY(e,o,g)),vc(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=rn(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=rn(r.maxWidth):a&&(t.maxWidth="")),vc(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=rn(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=rn(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Jp(o,t),isOriginOutsideView:Qp(o,t),isOverlayClipped:Jp(e,t),isOverlayOutsideView:Qp(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&vr(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function vc(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function cm(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(am);return e&&"px"!==e?null:parseFloat(o)}return n||null}function tg(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const lm="cdk-global-overlay-wrapper";class um{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(lm),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(lm),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let iw=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new um}flexibleConnectedTo(e){return new tw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ms),i.LFG(b.K0),i.LFG(Ei),i.LFG(eg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dm=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hm=(()=>{class n extends dm{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fm=(()=>{class n extends dm{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=$s(s)},this._clickListener=s=>{const a=$s(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nw=0,$i=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=O,this._outsideClickDispatcher=$}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new Gn(e);return r.direction=r.direction||this._directionality.value,new lC(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+nw++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new L1(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(JA),i.LFG(eg),i.LFG(i._Vd),i.LFG(iw),i.LFG(hm),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Hn),i.LFG(b.Ye),i.LFG(fm))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const ig=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],pm=new i.OlP("cdk-connected-overlay-scroll-strategy");let gm=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),sw=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new _c(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=je(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=je(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=je(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=je(e)}get push(){return this._push}set push(e){this._push=je(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ig);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!cn(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Gn({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof gm?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function O1(n,o=!1){return e=>e.lift(new Gp(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(pm),i.Y36(Hn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const ow={provide:pm,deps:[$i],useFactory:function mm(n){return()=>n.scrollStrategies.reposition()}};let Ll=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[$i,ow],imports:[[El,Rh,kl],kl]}),n})();var qh=w(13);function _m(n){return o=>o.lift(new jh(n))}class jh{constructor(o){this.total=o}call(o,e){return e.subscribe(new ng(o,this.total))}}class ng extends Ys.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function Yh(n,o){return e=>e.lift(new sg(n,o))}class sg{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new og(o,this.compare,this.keySelector))}}class og extends Ys.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let rg=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rw=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=oi(e);return new Fi.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new De.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(rg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ag=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=on(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,qh.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rw),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Rl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[rg]}),n})();function id(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const cg="cdk-describedby-message",nd="cdk-describedby-host";let Qo=0,sd=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Qo++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=lg(t,s);"string"!=typeof t?(ym(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=lg(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${nd}="${this._id}"]`);for(let s=0;s0!=s.indexOf(cg));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function cw(n,o,e){const t=id(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(nd,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function bm(n,o,e){const s=id(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(nd)}_isElementDescribedByMessage(e,t){const s=id(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function lg(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function ym(n){n.id||(n.id=`${cg}-${Qo++}`)}class uw{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new De.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new De.xQ,this.change=new De.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,qi.b)(e=>this._pressedLetters.push(e)),(0,qh.b)(o),(0,qt.h)(()=>this._pressedLetters.length>0),(0,pt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||cn(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class Uh extends uw{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class od extends uw{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let Tc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function ug(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function dw(n){try{return n.frameElement}catch(o){return null}}(function Em(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===Cm(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=Cm(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Sm(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Ol(n){return!function Mm(n){return function hw(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function wm(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function vm(n){return function dg(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Tm(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Tm(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function Cm(n){if(!Tm(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class fw{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(o)}}let km=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new fw(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Tc),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Pl(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ad(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Dm=new i.OlP("cdk-input-modality-detector-options"),xm={ignoreKeys:[18,17,224,91,16]},zl=Ko({passive:!0,capture:!0});let pw=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Bi(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=$s(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Pl(r)?"keyboard":"mouse"),this._mostRecentTarget=$s(r))},this._onTouchstart=r=>{ad(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$s(r))},this._options=Object.assign(Object.assign({},xm),a),this.modalityDetected=this._modality.pipe(_m(1)),this.modalityChanged=this.modalityDetected.pipe(Yh()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,zl),s.addEventListener("mousedown",this._onMousedown,zl),s.addEventListener("touchstart",this._onTouchstart,zl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zl),document.removeEventListener("mousedown",this._onMousedown,zl),document.removeEventListener("touchstart",this._onTouchstart,zl))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Dm,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gw=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function mw(){return null}}),Lm=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gC=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,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 De.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=$s(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=oi(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ke.of)(null);const a=Sl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new De.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=oi(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=oi(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=$s(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gh)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(it(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(Ei),i.LFG(pw),i.LFG(b.K0,8),i.LFG(bw,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Vh="cdk-high-contrast-black-on-white",Rm="cdk-high-contrast-white-on-black",Wh="cdk-high-contrast-active";let fg=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Wh),e.remove(Vh),e.remove(Rm),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Wh),e.add(Vh)):2===t&&(e.add(Wh),e.add(Rm))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yw=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl,Rl]]}),n})();class Xs{}const ma="*";function Ti(n,o){return{type:7,name:n,definitions:o,options:{}}}function Ct(n,o=null){return{type:4,styles:o,timings:n}}function pg(n,o=null){return{type:3,steps:n,options:o}}function Om(n,o=null){return{type:2,steps:n,options:o}}function qe(n){return{type:6,styles:n,offset:null}}function ii(n,o,e){return{type:0,name:n,styles:o,options:e}}function Er(n){return{type:5,steps:n}}function Ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function zm(n=null){return{type:9,options:n}}function Eo(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function Im(n){Promise.resolve(null).then(n)}class cd{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Im(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ld{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?Im(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Aw(){return"undefined"!=typeof window&&void 0!==window.document}function Cc(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ba(n){switch(n.length){case 0:return new cd;case 1:return n[0];default:return new ld(n)}}function Nm(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const O=g.offset,$=O==d,oe=$&&h||{};Object.keys(g).forEach(be=>{let ve=be,Le=g[be];if("offset"!==be)switch(ve=o.normalizePropertyName(ve,r),Le){case"!":Le=s[be];break;case ma:Le=a[be];break;default:Le=o.normalizeStyleValue(be,ve,Le,r)}oe[ve]=Le}),$||c.push(oe),h=oe,d=O}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function ud(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Qs(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Qs(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Qs(e,"destroy",n)))}}function Qs(n,o,e){const t=e.totalTime,a=Sc(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function Sc(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function yi(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function ya(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Il=(n,o)=>!1,Os=(n,o,e)=>[];(Cc()||"undefined"!=typeof Element)&&(Il=Aw()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),Os=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Js=null,Ec=!1;function kc(n){Js||(Js=function Hl(){return"undefined"!=typeof document?document.body:null}()||{},Ec=!!Js.style&&"WebkitAppearance"in Js.style);let o=!0;return Js.style&&!function Nl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Js.style,!o&&Ec&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Js.style)),o}const Dc=Il,xc=Os;let Lc=(()=>{class n{validateStyleProperty(e){return kc(e)}matchesElement(e,t){return!1}containsElement(e,t){return Dc(e,t)}query(e,t,s){return xc(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new cd(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),hd=(()=>{class n{}return n.NOOP=new Lc,n})();const Kh="ng-enter",fd="ng-leave",pd="ng-trigger",gd=".ng-trigger",mg="ng-animating",_g=".ng-animating";function Aa(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:bg(parseFloat(o[1]),o[2])}function bg(n,o){return"s"===o?1e3*n:n}function md(n,o,e){return n.hasOwnProperty("duration")?n:function qm(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=bg(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=bg(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Bl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function kr(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Bl(n,e);return e}function Ym(n,o,e){return e?o+":"+e+";":""}function yg(n){let o="";for(let e=0;e{const s=Um(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),Cc()&&yg(n))}function Rc(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Um(e);n.style[t]=""}),Cc()&&yg(n))}function Zh(n){return Array.isArray(n)?1==n.length?n[0]:Om(n):n}const _d=new RegExp("{{\\s*(.+?)\\s*}}","g");function $h(n){let o=[];if("string"==typeof n){let e;for(;e=_d.exec(n);)o.push(e[1]);_d.lastIndex=0}return o}function Xh(n,o,e){const t=n.toString(),s=t.replace(_d,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function Ag(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const yC=/-+([a-z0-9])/g;function Um(n){return n.replace(yC,(...o)=>o[1].toUpperCase())}function Mw(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ps(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Oc(n,o){return window.getComputedStyle(n)[o]}function Vm(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vw(n,o,e){if(":"==n[0]){const d=function Wm(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(wg(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(wg(r,s))}(t,e,o)):e.push(n),e}const Pc=new Set(["true","1"]),Jh=new Set(["false","0"]);function wg(n,o){const e=Pc.has(n)||Jh.has(n),t=Pc.has(o)||Jh.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?Pc.has(n):Jh.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?Pc.has(o):Jh.has(o)),r&&c}}const Tw=new RegExp("s*:selfs*,?","g");function Mg(n,o,e){return new Cw(n).build(o,e)}class Cw{constructor(o){this._driver=o}build(o,e){const t=new Xm(e);return this._resetContextStyleTimingState(t),Ps(this,Zh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Fl(c)){const d=c;Object.keys(d).forEach(h=>{$h(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=Ag(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=Ps(this,Zh(o.animation),e);return{type:1,matchers:Vm(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Dr(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>Ps(this,t,e)),options:Dr(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=Ps(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:Dr(o.options)}}visitAnimate(o,e){const t=function wC(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return vg(md(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=vg(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||md(t,o),vg(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:qe({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=qe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==ma?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Fl(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function ww(n,o,e){const t=o.params||{},s=$h(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(et=>{const Vt=this._makeStyleAst(et,e);let Bt=null!=Vt.offset?Vt.offset:function Qm(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Fl(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Fl(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Vt.styles),pi=0;return null!=Bt&&(a++,pi=Vt.offset=Bt),d=d||pi<0||pi>1,c=c||pi0&&a{const Bt=$>0?Vt==oe?1:$*Vt:r[Vt],pi=Bt*Le;e.currentTime=be+ve.delay+pi,ve.duration=pi,this._validateStyleAst(et,e),et.offset=Bt,t.styles.push(et)}),t}visitReference(o,e){return{type:8,animation:Ps(this,Zh(o.animation),e),options:Dr(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:Dr(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:Dr(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function $m(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(Tw,"")),n=n.replace(/@\*/g,gd).replace(/@\w+/g,e=>gd+"-"+e.substr(1)).replace(/:animating/g,_g),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,yi(e.collectedStyles,e.currentQuerySelector,{});const c=Ps(this,Zh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:Dr(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:md(o.timings,e.errors,!0);return{type:12,animation:Ps(this,Zh(o.animation),e),timings:t,options:null}}}class Xm{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Fl(n){return!Array.isArray(n)&&"object"==typeof n}function Dr(n){return n?(n=Bl(n)).params&&(n.params=function Sw(n){return n?Bl(n):null}(n.params)):n={},n}function vg(n,o,e){return{duration:n,delay:o,easing:e}}function Jm(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class wa{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Cg=new RegExp(":enter","g"),Sg=new RegExp(":leave","g");function bd(n,o,e,t,s,a={},r={},c,d,h=[]){return(new t_).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class t_{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new wa;const O=new kg(o,e,h,s,a,g,[]);O.options=d,O.currentTimeline.setStyles([r],null,O.errors,d),Ps(this,t,O);const $=O.timelines.filter(oe=>oe.containsAnimation());if(Object.keys(c).length){let oe;for(let be=$.length-1;be>=0;be--){const ve=$[be];if(ve.element===e){oe=ve;break}}oe&&!oe.allowOnlyTimelineStyles()&&oe.setStyles([c],null,O.errors,d)}return $.length?$.map(oe=>oe.buildKeyframes()):[Jm(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?Aa(t.duration):null,c=null!=t.delay?Aa(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),Ps(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Eg);const r=Aa(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>Ps(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?Aa(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),Ps(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return md(e.params?Xh(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?Aa(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Eg);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const O=e.createSubContext(o.options,h);a&&O.delayNextStep(a),h===e.element&&(d=O.currentTimeline),Ps(this,o.animation,O),O.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,O.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const O=g.currentTime;Ps(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-O+(s.startTime-t.currentTimeline.startTime)}}const Eg={};class kg{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Eg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new ql(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=Aa(t.duration)),null!=t.delay&&(s.delay=Aa(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=Xh(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new kg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Eg,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new Dg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Cg,"."+this._enterClassName)).replace(Sg,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class ql{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new ql(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ma,this._currentKeyframe[e]=ma}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function i_(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=ma})):kr(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=Xh(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:ma),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=kr(c,!0);Object.keys(h).forEach(g=>{const O=h[g];"!"==O?o.add(g):O==ma&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?Ag(o.values()):[],r=e.size?Ag(e.values()):[];if(t){const c=s[0],d=Bl(c);c.offset=0,d.offset=1,s=[c,d]}return Jm(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class Dg extends ql{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=kr(o[0],!1);d.offset=0,a.push(d);const h=kr(o[0],!1);h.offset=xg(c),a.push(h);const g=o.length-1;for(let O=1;O<=g;O++){let $=kr(o[O],!1);$.offset=xg((e+$.offset*t)/r),a.push($)}t=r,e=0,s="",o=a}return Jm(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function xg(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class ef{}class Lg extends ef{normalizePropertyName(o,e){return Um(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(Rg[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const Rg=(()=>function Dw(n){const o={};return n.forEach(e=>o[e]=!0),o}("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".split(",")))();function Og(n,o,e,t,s,a,r,c,d,h,g,O,$){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:O,errors:$}}const tf={};class nf{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function s_(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const O=[],$=this.ast.options&&this.ast.options.params||tf,be=this.buildStyles(t,c&&c.params||tf,O),ve=d&&d.params||tf,Le=this.buildStyles(s,ve,O),et=new Set,Vt=new Map,Bt=new Map,pi="void"===s,lu={params:Object.assign(Object.assign({},$),ve)},Fa=g?[]:bd(o,e,this.ast.animation,a,r,be,Le,lu,h,O);let Hs=0;if(Fa.forEach(tl=>{Hs=Math.max(tl.duration+tl.delay,Hs)}),O.length)return Og(e,this._triggerName,t,s,pi,be,Le,[],[],Vt,Bt,Hs,O);Fa.forEach(tl=>{const il=tl.element,Gk=yi(Vt,il,{});tl.preStyleProps.forEach(Wd=>Gk[Wd]=!0);const p1=yi(Bt,il,{});tl.postStyleProps.forEach(Wd=>p1[Wd]=!0),il!==e&&et.add(il)});const el=Ag(et.values());return Og(e,this._triggerName,t,s,pi,be,Le,Fa,el,Vt,Bt,Hs)}}class xw{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Bl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=Xh(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class r_{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new xw(s.style,s.options&&s.options.params||{},t)}),yd(this.states,"true","1"),yd(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new nf(o,s,this.states))}),this.fallbackTransition=function Pg(n,o,e){return new nf(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function yd(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const zg=new wa;class a_{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=Mg(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=Nm(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=bd(this._driver,e,a,Kh,fd,{},{},t,zg,s),r.forEach(g=>{const O=yi(c,g.element,{});g.postStyleProps.forEach($=>O[$]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,O)=>{Object.keys(g).forEach($=>{g[$]=this._driver.computeStyle(O,$,ma)})});const h=ba(r.map(g=>{const O=c.get(g.element);return this._buildPlayer(g,{},O)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=Sc(e,"","","");return ud(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const Ig="ng-animate-queued",sf="ng-animate-disabled",MC=[],h_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Lw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zs="__ng_removed";class Ng{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function f_(n){return null!=n?n:null}(t?o.value:o),t){const a=Bl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const Ui="void",rf=new Ng(Ui);class Rw{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,eo(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function jl(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=yi(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=yi(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(eo(o,pd),eo(o,pd+"-"+e),c[e]=rf),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new af(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(eo(o,pd),eo(o,pd+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new Ng(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=rf),h.value!==Ui&&d.value===h.value){if(!function er(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Rc(o,Le),Jo(o,et)})}return}const $=yi(this._engine.playersByElement,o,[]);$.forEach(ve=>{ve.namespaceId==this.id&&ve.triggerName==e&&ve.queued&&ve.destroy()});let oe=a.matchTransition(d.value,h.value,o,h.params),be=!1;if(!oe){if(!s)return;oe=a.fallbackTransition,be=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:oe,fromState:d,toState:h,player:r,isFallbackTransition:be}),be||(eo(o,Ig),r.onStart(()=>{zc(o,Ig)})),r.onDone(()=>{let ve=this.players.indexOf(r);ve>=0&&this.players.splice(ve,1);const Le=this._engine.playersByElement.get(o);if(Le){let et=Le.indexOf(r);et>=0&&Le.splice(et,1)}}),this.players.push(r),$.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,gd,!0);t.forEach(s=>{if(s[zs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,Ui,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&ba(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||rf,g=new Ng(Ui),O=new af(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:O,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[zs];(!a||a===h_)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){eo(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=Sc(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,ud(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class Ow{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,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=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new Rw(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),eo(o,sf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),zc(o,sf))}removeNode(o,e,t,s){if(Ad(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[zs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return Ad(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,gd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,_g,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ba(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[zs];if(t&&t.setForRemoval){if(o[zs]=h_,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(sf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?ba(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new wa,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(st=>{g.add(st);const ht=this.driver.query(st,".ng-animate-queued",!0);for(let _t=0;_t{const _t=Kh+ve++;be.set(ht,_t),st.forEach(ri=>eo(ri,_t))});const Le=[],et=new Set,Vt=new Set;for(let st=0;stet.add(ri)):Vt.add(ht))}const Bt=new Map,pi=Hg($,Array.from(et));pi.forEach((st,ht)=>{const _t=fd+ve++;Bt.set(ht,_t),st.forEach(ri=>eo(ri,_t))}),o.push(()=>{oe.forEach((st,ht)=>{const _t=be.get(ht);st.forEach(ri=>zc(ri,_t))}),pi.forEach((st,ht)=>{const _t=Bt.get(ht);st.forEach(ri=>zc(ri,_t))}),Le.forEach(st=>{this.processLeaveNode(st)})});const lu=[],Fa=[];for(let st=this._namespaceList.length-1;st>=0;st--)this._namespaceList[st].drainQueuedTransitions(e).forEach(_t=>{const ri=_t.player,ts=_t.element;if(lu.push(ri),this.collectedEnterElements.length){const Bs=ts[zs];if(Bs&&Bs.setForMove){if(Bs.previousTriggersValues&&Bs.previousTriggersValues.has(_t.triggerName)){const Kd=Bs.previousTriggersValues.get(_t.triggerName),du=this.statesByElement.get(_t.element);du&&du[_t.triggerName]&&(du[_t.triggerName].value=Kd)}return void ri.destroy()}}const qa=!O||!this.driver.containsElement(O,ts),Po=Bt.get(ts),uu=be.get(ts),fn=this._buildInstruction(_t,t,uu,Po,qa);if(fn.errors&&fn.errors.length)return void Fa.push(fn);if(qa)return ri.onStart(()=>Rc(ts,fn.fromStyles)),ri.onDestroy(()=>Jo(ts,fn.toStyles)),void s.push(ri);if(_t.isFallbackTransition)return ri.onStart(()=>Rc(ts,fn.fromStyles)),ri.onDestroy(()=>Jo(ts,fn.toStyles)),void s.push(ri);const Kk=[];fn.timelines.forEach(Bs=>{Bs.stretchStartingKeyframe=!0,this.disabledNodes.has(Bs.element)||Kk.push(Bs)}),fn.timelines=Kk,t.append(ts,fn.timelines),r.push({instruction:fn,player:ri,element:ts}),fn.queriedElements.forEach(Bs=>yi(c,Bs,[]).push(ri)),fn.preStyleProps.forEach((Bs,Kd)=>{const du=Object.keys(Bs);if(du.length){let Zd=d.get(Kd);Zd||d.set(Kd,Zd=new Set),du.forEach(mT=>Zd.add(mT))}}),fn.postStyleProps.forEach((Bs,Kd)=>{const du=Object.keys(Bs);let Zd=h.get(Kd);Zd||h.set(Kd,Zd=new Set),du.forEach(mT=>Zd.add(mT))})});if(Fa.length){const st=[];Fa.forEach(ht=>{st.push(`@${ht.triggerName} has failed due to:\n`),ht.errors.forEach(_t=>st.push(`- ${_t}\n`))}),lu.forEach(ht=>ht.destroy()),this.reportError(st)}const Hs=new Map,el=new Map;r.forEach(st=>{const ht=st.element;t.has(ht)&&(el.set(ht,ht),this._beforeAnimationBuild(st.player.namespaceId,st.instruction,Hs))}),s.forEach(st=>{const ht=st.element;this._getPreviousPlayers(ht,!1,st.namespaceId,st.triggerName,null).forEach(ri=>{yi(Hs,ht,[]).push(ri),ri.destroy()})});const tl=Le.filter(st=>m_(st,d,h)),il=new Map;g_(il,this.driver,Vt,h,ma).forEach(st=>{m_(st,d,h)&&tl.push(st)});const p1=new Map;oe.forEach((st,ht)=>{g_(p1,this.driver,new Set(st),d,"!")}),tl.forEach(st=>{const ht=il.get(st),_t=p1.get(st);il.set(st,Object.assign(Object.assign({},ht),_t))});const Wd=[],Vk=[],Wk={};r.forEach(st=>{const{element:ht,player:_t,instruction:ri}=st;if(t.has(ht)){if(g.has(ht))return _t.onDestroy(()=>Jo(ht,ri.toStyles)),_t.disabled=!0,_t.overrideTotalTime(ri.totalTime),void s.push(_t);let ts=Wk;if(el.size>1){let Po=ht;const uu=[];for(;Po=Po.parentNode;){const fn=el.get(Po);if(fn){ts=fn;break}uu.push(Po)}uu.forEach(fn=>el.set(fn,ts))}const qa=this._buildAnimation(_t.namespaceId,ri,Hs,a,p1,il);if(_t.setRealPlayer(qa),ts===Wk)Wd.push(_t);else{const Po=this.playersByElement.get(ts);Po&&Po.length&&(_t.parentPlayer=ba(Po)),s.push(_t)}}else Rc(ht,ri.fromStyles),_t.onDestroy(()=>Jo(ht,ri.toStyles)),Vk.push(_t),g.has(ht)&&s.push(_t)}),Vk.forEach(st=>{const ht=a.get(st.element);if(ht&&ht.length){const _t=ba(ht);st.setRealPlayer(_t)}}),s.forEach(st=>{st.parentPlayer?st.syncPlayerEvents(st.parentPlayer):st.destroy()});for(let st=0;st!qa.destroyed);ts.length?vC(this,ht,ts):this.processLeaveNode(ht)}return Le.length=0,Wd.forEach(st=>{this.players.push(st),st.onDone(()=>{st.destroy();const ht=this.players.indexOf(st);this.players.splice(ht,1)}),st.play()}),Wd}elementContainsData(o,e){let t=!1;const s=e[zs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==Ui;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,O=yi(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(oe=>{const be=oe.getRealPlayer();be.beforeDestroy&&be.beforeDestroy(),oe.destroy(),O.push(oe)})}Rc(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,O=new Set,$=e.timelines.map(be=>{const ve=be.element;g.add(ve);const Le=ve[zs];if(Le&&Le.removedBeforeQueried)return new cd(be.duration,be.delay);const et=ve!==d,Vt=function Bg(n){const o=[];return cf(n,o),o}((t.get(ve)||MC).map(Hs=>Hs.getRealPlayer())).filter(Hs=>!!Hs.element&&Hs.element===ve),Bt=a.get(ve),pi=r.get(ve),lu=Nm(0,this._normalizer,0,be.keyframes,Bt,pi),Fa=this._buildPlayer(be,lu,Vt);if(be.subTimeline&&s&&O.add(ve),et){const Hs=new af(o,c,ve);Hs.setRealPlayer(Fa),h.push(Hs)}return Fa});h.forEach(be=>{yi(this.playersByQueriedElement,be.element,[]).push(be),be.onDone(()=>function Pw(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,be.element,be))}),g.forEach(be=>eo(be,mg));const oe=ba($);return oe.onDestroy(()=>{g.forEach(be=>zc(be,mg)),Jo(d,e.toStyles)}),O.forEach(be=>{yi(s,be,[]).push(oe)}),oe}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new cd(o.duration,o.delay)}}class af{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new cd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>ud(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){yi(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function Ad(n){return n&&1===n.nodeType}function p_(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function g_(n,o,e,t,s){const a=[];e.forEach(d=>a.push(p_(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(O=>{const $=g[O]=o.computeStyle(h,O,s);(!$||0==$.length)&&(h[zs]=Lw,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>p_(d,a[c++])),r}function Hg(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function eo(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function zc(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function vC(n,o,e){ba(e).onDone(()=>n.processLeaveNode(o))}function cf(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class wd{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new Ow(o,e,t),this._timelineEngine=new a_(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=Mg(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function o_(n,o,e){return new r_(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=ya(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=ya(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ko=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Jo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jo(this._element,this._initialStyles),this._endStyles&&(Jo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Rc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rc(this._element,this._endStyles),this._endStyles=null),Jo(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Is(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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}_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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Oc(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class zw{validateStyleProperty(o){return kc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Dc(o,e)}query(o,e,t){return xc(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter($=>$ instanceof Fg);(function Gm(n,o){return 0===n||0===o})(t,s)&&g.forEach($=>{let oe=$.currentSnapshot;Object.keys(oe).forEach(be=>h[be]=oe[be])}),e=function AC(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;skr($,!1)),h);const O=function tr(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Is(o[0]),o.length>1&&(t=Is(o[o.length-1]))):o&&(e=Is(o)),e||t?new ko(n,e,t):null}(o,e);return new Fg(o,e,d,O)}}let Iw=(()=>{class n extends Xs{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Om(e):e;return lf(this._renderer,null,t,"register",[s]),new Nw(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Nw extends class mC{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new Hw(this._id,o,e||{},this._renderer)}}class Hw{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return lf(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function lf(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const b_="@.disabled";let y_=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new A_("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new w_(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}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()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(wd),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class A_{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==b_?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class w_ extends A_{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==b_?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function M_(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function uf(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let Bw=(()=>{class n extends wd{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(hd),i.LFG(ef))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Bn=new i.OlP("AnimationModuleType"),Md=[{provide:Xs,useClass:Iw},{provide:ef,useFactory:function v_(){return new Lg}},{provide:wd,useClass:Bw},{provide:i.FYo,useFactory:function T_(n,o,e){return new y_(n,o,e)},deps:[Re,wd,i.R0b]}],df=[{provide:hd,useFactory:()=>new zw},{provide:Bn,useValue:"BrowserAnimations"},...Md],C_=[{provide:hd,useClass:Lc},{provide:Bn,useValue:"NoopAnimations"},...Md];let S_=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?C_:df}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:df,imports:[le]}),n})();function k_(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D_(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const x_=["*"];let jw=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),Yw=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const Gw=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function Uw(){return!0}});let gt=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Zu()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fg),i.LFG(Gw,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El],El]}),n})();function ir(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=je(o)}}}function va(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function to(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=je(o)}}}function Ic(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?on(e):this.defaultTabIndex}}}function qg(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new De.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function R_(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Fi.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Vw=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ww(){return(0,i.f3M)(i.soG)}});class Do{constructor(){this._localeChanges=new De.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const hf=new i.OlP("mat-date-formats"),O_=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ff(n,o){const e=Array(n);for(let t=0;t{class n extends Do{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return ff(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ff(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return ff(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(O_.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Vw,8),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Nc=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function vd(n,o,e){n.nativeElement.classList.toggle(o,e)}let z_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();class Yl{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Qw={enterDuration:225,exitDuration:150},I_=Ko({passive:!0}),Yg=["mousedown","touchstart"],Ug=["mouseup","mouseleave","touchend","touchcancel"];class Jw{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=oi(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Qw),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function eM(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function ut(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const O=new Yl(this,g,t);return O.state=0,this._activeRipples.add(O),t.persistent||(this._mostRecentTransientRipple=O),this._runTimeoutOutsideZone(()=>{const $=O===this._mostRecentTransientRipple;O.state=1,!t.persistent&&(!$||!this._isPointerDown)&&O.fadeOut()},h),O}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},Qw),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=oi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Yg))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Ug),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=Pl(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,I_)})})}_removeTriggerEvents(){this._triggerElement&&(Yg.forEach(o=>{this._triggerElement.removeEventListener(o,this,I_)}),this._pointerUpEventsRegistered&&Ug.forEach(o=>{this._triggerElement.removeEventListener(o,this,I_)}))}}const N_=new i.OlP("mat-ripple-global-options");let Ns=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Jw(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ei),i.Y36(N_,8),i.Y36(Bn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),io=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt,vl],gt]}),n})(),H_=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Ul=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt]]}),n})();const Gl=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Gg=new i.OlP("MatOptgroup");let B_=0;class Vg{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let F_=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+B_++,this.onSelectionChange=new i.vpe,this._stateChanges=new De.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=je(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!cn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Vg(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Ca=(()=>{class n extends F_{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Gl,8),i.Y36(Gg,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:x_,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,k_,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,D_,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[H_,b.O5,Ns],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Wg(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;re+t?Math.max(0,n-t+o):e}let Td=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,b.ez,gt,Ul]]}),n})();function Cd(n,o){}class gf{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const iM={dialogContainer:Ti("dialogContainer",[ii("void, exit",qe({opacity:0,transform:"scale(0.7)"})),ii("enter",qe({transform:"none"})),Ht("* => enter",Ct("150ms cubic-bezier(0, 0, 0.2, 1)",qe({transform:"none",opacity:1}))),Ht("* => void, * => exit",Ct("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",qe({opacity:0})))])};let mf=(()=>{class n extends pa{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=Yp(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Yp())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Yp();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(km),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(gf),i.Y36(Tc),i.Y36(i.R0b),i.Y36(So))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Up,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),j_=(()=>{class n extends mf{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,Cd,0,0,"ng-template",0)},directives:[Up],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[iM.dialogContainer]}}),n})(),Y_=0;class zi{constructor(o,e,t="mat-dialog-"+Y_++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new De.xQ,this._afterClosed=new De.xQ,this._beforeClosed=new De.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,qt.h)(s=>"opened"===s.state),(0,$t.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,qt.h)(s=>"closed"===s.state),(0,$t.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,qt.h)(s=>27===s.keyCode&&!this.disableClose&&!cn(s))).subscribe(s=>{s.preventDefault(),U_(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():U_(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,qt.h)(e=>"closing"===e.state),(0,$t.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function U_(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Xi=new i.OlP("MatDialogData"),Sd=new i.OlP("mat-dialog-default-options"),G_=new i.OlP("mat-dialog-scroll-strategy"),V_={provide:G_,deps:[$i],useFactory:function nM(n){return()=>n.scrollStrategies.block()}};let W_=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=O,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new De.xQ,this._afterOpenedAtThisLevel=new De.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Fo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ci(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function sM(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new gf),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new P.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Gn({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:gf,useValue:t}]}),r=new Dl(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new _c(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new Dl(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(Hn,null,i.XFs.Optional))&&r.push({provide:Hn,useValue:{value:e.direction,change:(0,Ke.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),Ii=(()=>{class n extends W_{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,zi,j_,Xi,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($i),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(Sd,8),i.LFG(G_),i.LFG(n,12),i.LFG(eg),i.LFG(Bn,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),K_=0,Sn=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+K_++}ngOnInit(){this._dialogRef||(this._dialogRef=function LC(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi,8),i.Y36(i.SBq),i.Y36(Ii))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Fn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),En=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),oM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ii,V_],imports:[[Ll,Rh,gt],gt]}),n})();var _f=w(6114);let nr=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(ji),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),sessionStorage.getItem("mfa_route")&&(t.acr_values="https://refeds.org/profile/mfa",t.prompt="login",t.max_age="0"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,qt.h)(e=>e instanceof Te)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,qt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(ti),i.LFG(Ii),i.LFG(Xn),i.LFG(_f.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function sr(n){return!!n&&(n instanceof Fi.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var rM=w(7830);function bf(...n){if(1===n.length){const o=n[0];if((0,ju.k)(o))return Sa(o,null);if((0,rM.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return Sa(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return Sa(n=1===n.length&&(0,ju.k)(n[0])?n[0]:n,null).pipe((0,pt.U)(e=>o(...e)))}return Sa(n,null)}function Sa(n,o){return new Fi.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,O,$)=>(g[O]=s[$],g),{}):s),e.complete())}}))}})}const lM=new class cM extends A1.v{}(class aM extends Yu.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var Kg=w(9312);class yf extends Ys.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(yf.dispatch,this.delay,new uM(o,this.destination)))}_next(o){this.scheduleMessage(Kg.P.createNext(o))}_error(o){this.scheduleMessage(Kg.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(Kg.P.createComplete()),this.unsubscribe()}}class uM{constructor(o,e){this.notification=o,this.destination=e}}var Vl=w(5283);class dM extends De.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new $_(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new hu.N;if(this.isStopped||this.hasError?r=P.w.EMPTY:(this.observers.push(o),r=new Vl.W(this,o)),s&&o.add(o=new yf(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class $_{constructor(o,e){this.time=o,this.value=e}}function X_(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function Q_({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new dM(n,o,t),r=g.subscribe({next($){s.next($)},error($){c=!0,s.error($)},complete(){d=!0,r=void 0,s.complete()}}));const O=s.subscribe(this);this.add(()=>{a--,O.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Ed{}let Zg=(()=>{class n extends Ed{getTranslation(e){return(0,Ke.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class $g{}let Af=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function wf(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!wf(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{Mf(o[t])?t in n?e[t]=J_(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class vf{}let eb=(()=>{class n extends vf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!xr(e)||!xr(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return xr(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Wl{}let tb=(()=>{class n extends Wl{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Xg{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const Qg=new i.OlP("USE_STORE"),Jg=new i.OlP("USE_DEFAULT_LANG"),e0=new i.OlP("DEFAULT_LANGUAGE"),t0=new i.OlP("USE_EXTEND");let Ai=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,$t.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ke.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,$t.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ke.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(X_(1),(0,$t.q)(1));return this.loadingTranslations=t.pipe((0,pt.U)(s=>this.compiler.compileTranslations(s,e)),X_(1),(0,$t.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?J_(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),sr(r[d])&&(c=!0);return c?bf(t.map(h=>sr(r[h])?r[h]:(0,Ke.of)(r[h]))).pipe((0,pt.U)(h=>{let g={};return h.forEach((O,$)=>{g[t[$]]=O}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Cs.b)(s=>sr(s=this.getParsedResult(s,e,t))?s:(0,Ke.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return sr(s)?s:(0,Ke.of)(s)}}getStreamOnTranslationChange(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');return po(Fo(()=>this.get(e,t)),this.onTranslationChange.pipe((0,mi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ke.of)(a)})))}stream(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');return po(Fo(()=>this.get(e,t)),this.onLangChange.pipe((0,mi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return sr(a)?a:(0,Ke.of)(a)})))}instant(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(sr(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xg),i.LFG(Ed),i.LFG(Wl),i.LFG(vf),i.LFG($g),i.LFG(Jg),i.LFG(Qg),i.LFG(t0),i.LFG(e0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),dt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);sr(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(wf(e,this.lastKey)&&wf(t,this.lastParams))return this.value;let s;if(xr(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Tf=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Ed,useClass:Zg},e.compiler||{provide:Wl,useClass:tb},e.parser||{provide:vf,useClass:eb},e.missingTranslationHandler||{provide:$g,useClass:Af},Xg,{provide:Qg,useValue:e.isolate},{provide:Jg,useValue:e.useDefaultLang},{provide:t0,useValue:e.extend},{provide:e0,useValue:e.defaultLanguage},Ai]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Ed,useClass:Zg},e.compiler||{provide:Wl,useClass:tb},e.parser||{provide:vf,useClass:eb},e.missingTranslationHandler||{provide:$g,useClass:Af},{provide:Qg,useValue:e.isolate},{provide:Jg,useValue:e.useDefaultLang},{provide:t0,useValue:e.extend},{provide:e0,useValue:e.defaultLanguage},Ai]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ib=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Fn],pipes:[dt],styles:[""]}),n})();const nb=["mat-button",""],hM=["*"],fM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],pM=va(ir(to(class{constructor(n){this._elementRef=n}})));let Yt=(()=>{class n extends pM{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of fM)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(So),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(Ns,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:nb,ngContentSelectors:hM,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ns],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Lr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt],gt]}),n})();const rb=["connectionContainer"],n0=["inputContainer"],gM=["label"];function mM(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function s0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function _M(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function ab(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function bM(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function cb(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,_M,4,1,"ng-container",12),i.YNc(3,ab,1,0,"ng-content",12),i.YNc(4,bM,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function yM(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function lb(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function zC(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function AM(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function kd(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,AM,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const wM=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Kl=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Dd=0;const ub=new i.OlP("MatError");let Zl=(()=>{class n{constructor(e,t){this.id="mat-error-"+Dd++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:ub,useExisting:n}])]}),n})();const db={transitionMessages:Ti("transitionMessages",[ii("enter",qe({opacity:1,transform:"translateY(0%)"})),Ht("void => enter",[qe({opacity:0,transform:"translateY(-5px)"}),Ct("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),hb=0;const fb=new i.OlP("MatHint");let o0=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+hb++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:fb,useExisting:n}])]}),n})(),no=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),Ld=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const MM=new i.OlP("MatPrefix"),r0=new i.OlP("MatSuffix");let pb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:r0,useExisting:n}])]}),n})(),gb=0;const CM=va(class{constructor(n){this._elementRef=n}},"primary"),BC=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Rd=new i.OlP("MatFormField");let un=(()=>{class n extends CM{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new De.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+gb++,this._labelId="mat-form-field-label-"+gb++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=je(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(ci(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(it(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(it(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Li.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ci(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ci(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(it(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ha(this._label.nativeElement,"transitionend").pipe((0,$t.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let O=0;O0?.75*be+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,Rl],gt]}),n})();function Rr(n){return n&&"function"==typeof n.connect}class a0{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const O=t(r,c,d);h=e.createEmbeddedView(O.templateRef,O.context,O.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class Vn{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new De.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let bb=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $l=new i.OlP("_ViewRepeater");let Sf=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ea=(()=>{class n extends Sf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Wn=new i.OlP("NgValueAccessor"),EM={provide:Wn,useExisting:(0,i.Gpc)(()=>bn),multi:!0},DM=new i.OlP("CompositionEventMode");let bn=(()=>{class n extends Sf{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function kM(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(DM,8))},n.\u0275dir=i.lG2({type:n,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(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([EM]),i.qOj]}),n})();function ka(n){return null==n||0===n.length}function wb(n){return null!=n&&"number"==typeof n.length}const Gi=new i.OlP("NgValidators"),Or=new i.OlP("NgAsyncValidators"),Mb=/^(?=.{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 kn{static min(o){return function c0(n){return o=>{if(ka(o.value)||ka(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(ka(o.value)||ka(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return u0(o)}static requiredTrue(o){return function vb(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function d0(n){return ka(n.value)||Mb.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function h0(n){return o=>ka(o.value)||!wb(o.value)?null:o.value.lengthwb(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Tb(n){if(!n)return Ef;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(ka(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Ql(o)}static composeAsync(o){return Sb(o)}}function u0(n){return ka(n.value)?{required:!0}:null}function Ef(n){return null}function Xl(n){return null!=n}function Cb(n){const o=(0,i.QGY)(n)?(0,Mn.D)(n):n;return(0,i.CqO)(o),o}function kf(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Lo(n,o){return o.map(e=>e(n))}function Od(n){return n.map(o=>function xM(n){return!n.validate}(o)?o:e=>o.validate(e))}function Ql(n){if(!n)return null;const o=n.filter(Xl);return 0==o.length?null:function(e){return kf(Lo(e,o))}}function p0(n){return null!=n?Ql(Od(n)):null}function Sb(n){if(!n)return null;const o=n.filter(Xl);return 0==o.length?null:function(e){return bf(Lo(e,o).map(Cb)).pipe((0,pt.U)(kf))}}function g0(n){return null!=n?Sb(Od(n)):null}function Pd(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function zd(n){return n._rawValidators}function Eb(n){return n._rawAsyncValidators}function m0(n){return n?Array.isArray(n)?n:[n]:[]}function Id(n,o){return Array.isArray(n)?n.includes(o):n===o}function _0(n,o){const e=m0(o);return m0(n).forEach(s=>{Id(e,s)||e.push(s)}),e}function Df(n,o){return m0(o).filter(e=>!Id(n,e))}class b0{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(o){this._rawValidators=o||[],this._composedValidatorFn=p0(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=g0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class Ro extends b0{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class us extends b0{get formDirective(){return null}get path(){return null}}class LM{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let dn=(()=>{class n extends LM{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ro,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),Jl=(()=>{class n extends LM{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(us,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function Lf(n,o){return[...o.path,n]}function Dn(n,o){Ob(n,o),o.valueAccessor.writeValue(n.value),function jM(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Pb(n,o)})}(n,o),function zb(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function w0(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Pb(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function qM(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Pr(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),Da(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Rf(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Ob(n,o){const e=zd(n);null!==o.validator?n.setValidators(Pd(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Eb(n);null!==o.asyncValidator?n.setAsyncValidators(Pd(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Rf(o._rawValidators,s),Rf(o._rawAsyncValidators,s)}function Da(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=zd(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Eb(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Rf(o._rawValidators,t),Rf(o._rawAsyncValidators,t),e}function Pb(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ib(n,o){Ob(n,o)}function Of(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function zf(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Bb(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===bn?e=a:function Pf(n){return Object.getPrototypeOf(n.constructor)===Ea}(a)?t=a:s=a}),s||t||e||null}function If(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const xa="VALID",Hd="INVALID",eu="PENDING",Hc="DISABLED";function Fb(n){return(Bd(n)?n.validators:n)||null}function qb(n){return Array.isArray(n)?p0(n):n||null}function v0(n,o){return(Bd(o)?o.asyncValidators:n)||null}function T0(n){return Array.isArray(n)?g0(n):n||null}function Bd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const C0=n=>n instanceof ds,Fd=n=>n instanceof qd,S0=n=>n instanceof D0;function jb(n){return C0(n)?n.value:n.getRawValue()}function Yb(n,o){const e=Fd(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function E0(n,o){Fd(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class k0{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=qb(this._rawValidators),this._composedAsyncValidatorFn=T0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===xa}get invalid(){return this.status===Hd}get pending(){return this.status==eu}get disabled(){return this.status===Hc}get enabled(){return this.status!==Hc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=qb(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=T0(o)}addValidators(o){this.setValidators(_0(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(_0(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Df(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Df(o,this._rawAsyncValidators))}hasValidator(o){return Id(this._rawValidators,o)}hasAsyncValidator(o){return Id(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=eu,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Hc,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=xa,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xa||this.status===eu)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Hc:xa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=eu,this._hasOwnPendingAsyncValidator=!0;const e=Cb(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function M0(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Fd(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:S0(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Hc:this.errors?Hd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(eu)?eu:this._anyControlsHaveStatus(Hd)?Hd:xa}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){Bd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ds extends k0{constructor(o=null,e,t){super(Fb(e),v0(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){If(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){If(this._onDisabledChange,o)}_forEachChild(o){}_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(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class qd extends k0{constructor(o,e,t){super(Fb(e),v0(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){E0(this,o),Object.keys(o).forEach(t=>{Yb(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=jb(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class D0 extends k0{constructor(o,e,t){super(Fb(e),v0(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){E0(this,o),o.forEach((t,s)=>{Yb(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>jb(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Ub={provide:us,useExisting:(0,i.Gpc)(()=>Bc)},jd=(()=>Promise.resolve(null))();let Bc=(()=>{class n extends us{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new qd({},p0(e),g0(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){jd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Dn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){jd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){jd.then(()=>{const t=this._findContainer(e.path),s=new qd({});Ib(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){jd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){jd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,zf(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Gi,10),i.Y36(Or,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Ub]),i.qOj]}),n})();const jC={provide:Ro,useExisting:(0,i.Gpc)(()=>zr)},WM=(()=>Promise.resolve(null))();let zr=(()=>{class n extends Ro{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new ds,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Bb(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Of(e,this.viewModel)&&(this._updateValue(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(e){this.viewModel=e,this.update.emit(e)}_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(){Dn(this.control,this),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(e){WM.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;WM.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?Lf(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(us,9),i.Y36(Gi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([jC]),i.qOj,i.TTD]}),n})(),tu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const YC={provide:Wn,useExisting:(0,i.Gpc)(()=>iu),multi:!0};let iu=(()=>{class n extends Ea{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t.onChange(a.target.value)})("blur",function(){return t.onTouched()})},features:[i._Bn([YC]),i.qOj]}),n})(),Gb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Bf=new i.OlP("NgModelWithFormControlWarning"),UC={provide:Ro,useExisting:(0,i.Gpc)(()=>so)};let so=(()=>{class n extends Ro{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Bb(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Pr(t,this,!1),Dn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Of(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Gi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(Bf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([UC]),i.qOj,i.TTD]}),n})();const Ff={provide:us,useExisting:(0,i.Gpc)(()=>Ir)};let Ir=(()=>{class n extends us{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Da(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Dn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Pr(e.control||null,e,!1),If(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,zf(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Pr(t||null,e),C0(s)&&(Dn(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Ib(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function YM(n,o){return Da(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ob(this.form,this),this._oldForm&&Da(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Gi,10),i.Y36(Or,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Ff]),i.qOj,i.TTD]}),n})();const $M={provide:Ro,useExisting:(0,i.Gpc)(()=>R0)};let R0=(()=>{class n extends Ro{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Bb(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Of(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Lf(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(us,13),i.Y36(Gi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(Bf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([$M]),i.qOj,i.TTD]}),n})(),Fc=(()=>{class n{constructor(){this._validator=Ef}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Ef,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const WC={provide:Gi,useExisting:(0,i.Gpc)(()=>vs),multi:!0};let vs=(()=>{class n extends Fc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function Qb(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>u0}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([WC]),i.qOj]}),n})(),N0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Gb]]}),n})(),ny=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[N0]}),n})(),su=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Bf,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[N0]}),n})(),KC=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function sy(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new qd(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new ds(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new D0(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return C0(e)||Fd(e)||S0(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:su}),n})();const $C=["trigger"],XC=["panel"];function oy(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function cv(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function lv(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function uv(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,cv,2,1,"span",10),i.YNc(2,lv,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function QC(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const JC=[[["mat-select-trigger"]],"*"],eS=["mat-select-trigger","*"],dv={transformPanelWrap:Ti("transformPanelWrap",[Ht("* => void",Eo("@transformPanel",[zm()],{optional:!0}))]),transformPanel:Ti("transformPanel",[ii("void",qe({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ii("showing",qe({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ii("showing-multiple",qe({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ht("void => *",Ct("120ms cubic-bezier(0, 0, 0.2, 1)")),Ht("* => void",Ct("100ms 25ms linear",qe({opacity:0})))])};let ry=0;const cy=new i.OlP("mat-select-scroll-strategy"),F0=new i.OlP("MAT_SELECT_CONFIG"),Kf={provide:cy,deps:[$i],useFactory:function B0(n){return()=>n.scrollStrategies.reposition()}};class iS{constructor(o,e){this.source=o,this.value=e}}const nS=to(Ic(ir(qg(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),sS=new i.OlP("MatSelectTrigger");let ly=(()=>{class n extends nS{constructor(e,t,s,a,r,c,d,h,g,O,$,oe,be,ve){var Le,et,Vt;super(r,a,d,h,O),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=be,this._defaultOptions=ve,this._panelOpen=!1,this._compareWith=(Bt,pi)=>Bt===pi,this._uid="mat-select-"+ry++,this._triggerAriaLabelledBy=null,this._destroy=new De.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ry++,this._panelDoneAnimatingStream=new De.xQ,this._overlayPanelClass=(null===(Le=this._defaultOptions)||void 0===Le?void 0:Le.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Vt=null===(et=this._defaultOptions)||void 0===et?void 0:et.disableOptionCentering)&&void 0!==Vt&&Vt,this.ariaLabel="",this.optionSelectionChanges=Fo(()=>{const Bt=this.options;return Bt?Bt.changes.pipe(ci(Bt),(0,mi.w)(()=>(0,Li.T)(...Bt.map(pi=>pi.onSelectionChange)))):this._ngZone.onStable.pipe((0,$t.q)(1),(0,mi.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,qt.h)(Bt=>Bt),(0,pt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,qt.h)(Bt=>!Bt),(0,pt.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ve?void 0:ve.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ve.typeaheadDebounceInterval),this._scrollStrategyFactory=oe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=je(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=je(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=on(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Vn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Yh(),it(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(it(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ci(null),it(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!cn(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||cn(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,$t.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new Uh(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(it(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(it(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Li.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(it(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Li.T)(...this.options.map(t=>t._stateChanges)).pipe(it(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ms),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Nc),i.Y36(i.SBq),i.Y36(Hn,8),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Rd,8),i.Y36(Ro,10),i.$8M("tabindex"),i.Y36(cy),i.Y36(gC),i.Y36(F0,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf($C,5),i.Gf(XC,5),i.Gf(sw,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),Zf=(()=>{class n extends ly{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(it(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Wg(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:q_((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new iS(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Wg(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,sS,5),i.Suo(s,Ca,5),i.Suo(s,Gg,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:xd,useExisting:n},{provide:Gl,useExisting:n}]),i.qOj],ngContentSelectors:eS,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t(JC),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,oy,2,1,"span",3),i.YNc(5,uv,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,QC,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[gm,b.RF,b.n9,b.ED,sw,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[dv.transformPanelWrap,dv.transformPanel]},changeDetection:0}),n})(),q0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Kf],imports:[[b.ez,Ll,Td,gt],Cn,xo,Td,gt]}),n})();const uy=new Set;let Yc,dy=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hv}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function hy(n){if(!uy.has(n))try{Yc||(Yc=document.createElement("style"),Yc.setAttribute("type","text/css"),document.head.appendChild(Yc)),Yc.sheet&&(Yc.sheet.insertRule(`@media ${n} {body{ }}`,0),uy.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function hv(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let fv=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new De.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return j0(vr(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=j0(vr(e)).map(r=>this._registerQuery(r).observable);let a=(0,Gr.aj)(s);return a=po(a.pipe((0,$t.q)(1)),a.pipe(_m(1),(0,qh.b)(0))),a.pipe((0,pt.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Fi.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(ci(t),(0,pt.U)(({matches:r})=>({query:e,matches:r})),it(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(dy),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function j0(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const rS={tooltipState:Ti("state",[ii("initial, void, hidden",qe({opacity:0,transform:"scale(0)"})),ii("visible",qe({transform:"scale(1)"})),Ht("* => visible",Ct("200ms cubic-bezier(0, 0, 0.2, 1)",Er([qe({opacity:0,transform:"scale(0)",offset:0}),qe({opacity:.5,transform:"scale(0.99)",offset:.5}),qe({opacity:1,transform:"scale(1)",offset:1})]))),Ht("* => hidden",Ct("100ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:0})))])},py="tooltip-panel",gy=Ko({passive:!0}),gv=new i.OlP("mat-tooltip-scroll-strategy"),_v={provide:gv,deps:[$i],useFactory:function mv(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},bv=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function yv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Av=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=O,this._defaultOptions=$,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new De.xQ,this._scrollStrategy=g,this._document=oe,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),O.change.pipe(it(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=on(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=on(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(it(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,gy)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Dl(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(it(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${py}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(it(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(it(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!cn(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,$t.q)(1),it(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${py}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,gy)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),fs=(()=>{class n extends Av{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){super(e,t,s,a,r,c,d,h,g,O,$,oe),this._tooltipComponent=Mv}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(Ei),i.Y36(sd),i.Y36(So),i.Y36(gv),i.Y36(Hn,8),i.Y36(bv,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),wv=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new De.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),Mv=(()=>{class n extends wv{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(fv))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[rS.tooltipState]},changeDetection:0}),n})(),U0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[_v],imports:[[yw,b.ez,Ll,gt],gt,Cn]}),n})();function cS(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function lS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,cS,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function uS(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function dS(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,lS,3,6,"mat-form-field",14),i.YNc(4,uS,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function vv(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function hS(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let G0=(()=>{class n{constructor(){this.changes=new De.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pS={provide:G0,deps:[[new i.FiY,new i.tp0,G0]],useFactory:function fS(n){return n||new G0}},f=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),p=ir(R_(class{}));let m=(()=>{class n extends p{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(on(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=on(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(on(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>on(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=je(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=je(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),y=(()=>{class n extends m{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(G0),i.Y36(i.sBO),i.Y36(f,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,dS,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,vv,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,hS,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[un,Zf,Ca,Yt,b.O5,b.sg,fs],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),C=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[pS],imports:[[b.ez,Lr,q0,U0,gt]]}),n})();var E=w(943);const x=["mat-menu-item",""];function H(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const j=["*"];function J(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ie={transformMenu:Ti("transformMenu",[ii("void",qe({opacity:0,transform:"scale(0.8)"})),Ht("void => enter",Ct("120ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:1,transform:"scale(1)"}))),Ht("* => void",Ct("100ms 25ms linear",qe({opacity:0})))]),fadeInItems:Ti("fadeInItems",[ii("showing",qe({opacity:1})),Ht("void => *",[qe({opacity:0}),Ct("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ne=new i.OlP("MatMenuContent"),ps=new i.OlP("MAT_MENU_PANEL"),Uc=to(ir(class{}));let Gc=(()=>{class n extends Uc{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new De.xQ,this._focused=new De.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new De.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+W0++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=je(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=je(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new od(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ci(this._directDescendantItems),(0,mi.w)(e=>(0,Li.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ci(this._directDescendantItems),(0,mi.w)(t=>(0,Li.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:cn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ci(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Xf))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ne,5),i.Suo(s,Gc,5),i.Suo(s,Gc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Qf=(()=>{class n extends Vc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Xf))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:ps,useExisting:n}]),i.qOj],ngContentSelectors:j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,J,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[ie.transformMenu,ie.fadeInItems]},changeDetection:0}),n})();const Jf=new i.OlP("mat-menu-scroll-strategy"),Z0={provide:Jf,deps:[$i],useFactory:function K0(n){return()=>n.scrollStrategies.reposition()}},mS=Ko({passive:!0});let TD=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=g=>{ad(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof Vc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,mS),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mS),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Vc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(it(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Vc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,qt.h)(s=>"void"===s.toState),(0,$t.q)(1),it(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Gn({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],O=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",O="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:O},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:O},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-O},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-O}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ke.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,qt.h)(r=>r!==this._menuItemInstance),(0,qt.h)(()=>this._menuOpen)):(0,Ke.of)();return(0,Li.T)(e,s,a,t)}_handleMousedown(e){Pl(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,qt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,E.g)(0,Yi)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Vc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,$t.q)(1),(0,E.g)(0,Yi),it(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new _c(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(Jf),i.Y36(ps,8),i.Y36(Gc,10),i.Y36(Hn,8),i.Y36(So))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),_S=(()=>{class n extends TD{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),Tv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Z0],imports:[[b.ez,gt,io,Ll],Cn,gt]}),n})();var my=w(1737),CD=w(2474);const SD=["*"];let _y;function $0(n){var o;return(null===(o=function ED(){if(void 0===_y&&(_y=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(_y=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return _y}())||void 0===o?void 0:o.createHTML(n))||n}function bS(n){return Error(`Unable to find icon with the name "${n}"`)}function yS(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function AS(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Ud{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let X0=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new Ud(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw AS(s);const c=$0(r);return this._addSvgIconConfig(e,t,new Ud("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new Ud(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw AS(t);const r=$0(a);return this._addSvgIconSetConfig(e,new Ud("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw yS(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ke.of)(by(s)):this._loadSvgIconFromConfig(new Ud(e,null)).pipe((0,qi.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,pt.U)(a=>by(a)))}getNamedSvgIcon(e,t=""){const s=wS(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,my._)(bS(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ke.of)(by(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,pt.U)(t=>by(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ke.of)(s):bf(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,On.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ke.of)(null)})))).pipe((0,pt.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw bS(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,qi.b)(t=>e.svgText=t),(0,pt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ke.of)(null):this._fetchIcon(e).pipe((0,qi.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString($0(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString($0("")),s=e.attributes;for(let a=0;a$0(g)),G(()=>this._inProgressUrlFetches.delete(c)),(0,CD.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(wS(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),MS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],PD=MS.map(n=>`[${n}]`).join(", "),zD=/^url\(['"]?#(.*?)['"]?\)$/;let xn=(()=>{class n extends LD{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=P.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=je(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(PD),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(zD):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,$t.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(X0),i.$8M("aria-hidden"),i.Y36(RD),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:SD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})(),vS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[C,Tv,ep,Lr,Tf,b.ez]]}),n})();var ID=w(655),ND=w(9441);const Q0=[5,10,25,100];function Ri(){const n=new gf;return n.disableClose=!0,n.autoFocus=!1,n}function Gd(n){return"virt"===n.namespace.split(":")[4]}const WD=new Intl.Collator("cs",{numeric:!0});function yy(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return WD.compare(d,h)*("asc"===a?1:-1)}):n}function Ay(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function J0(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function e1(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,ND.saveAs)(c,`${e}.${o}`)}}const TS="GUI_CONFIG.PREF_PAGE_SIZE.";let ZD=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$D=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(TS+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(TS+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ZD))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),XD=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Yt,_S,xn,Qf,Gc],pipes:[dt],styles:[""]}),n})();function QD(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function JD(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const e2=["*"];let La=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Q0,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($D))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(y,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:e2,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,QD,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,JD,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[y,b.O5,XD],styles:[""]}),n})();class t2{static passwordMatchValidator(o){const e=o.get("passwordCtrl").value,t=o.get("passwordAgainCtrl").value;return o.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(o){return e=>{if(!e.value)return null;let t=0;for(const s of o)t+=s.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let Cv=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Ri();this.dialog.open(ib,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(nr),i.LFG(ti),i.LFG(Ga),i.LFG(Ki),i.LFG(Ii),i.LFG(ji))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),CS=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(X0),i.LFG(_s))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),n2=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})(),Sv=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),or=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ai))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),SS=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&-1!==e.url.toString().indexOf(s)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const c=Ri();c.width="450px",this.dialog.open(n2,c).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,qi.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,my._)(c):a?void this.notificator.showRPCError(d):(0,my._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(nr),i.LFG(Sv),i.LFG(or),i.LFG(ti),i.LFG(Ii),i.LFG(Cv))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),ES=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),s2=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,my._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,On.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,On.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,On.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,On.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(or),i.LFG(nr),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kS=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(O)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xn),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DS=(()=>{class n{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const s of e)if(s.newApps.admin===t||s.newApps.profile===t||s.newApps.pwdReset===t)return s;return e[0]}getUrlForOtherApplication(e,t){const a=window.location.href.split("/"),r=a[0]+"//"+a[2],c=n.getBrandContainingDomain(this.storeService.getAppsConfig().brands,r);let d;if(c.newApps[e])d=c.newApps[e],"pwdReset"===e&&(d+=`?login-namespace=${t}`);else switch(d=c.oldGuiDomain+"/fed",e){case"admin":d+="/gui/";break;case"profile":d+="/profile/";break;case"pwdReset":d+=`/pwd-reset/?login-namespace=${t}`}return d}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();Ti("openClose",[ii("open",qe({overflow:"hidden"})),ii("closed",qe({height:"0px",overflow:"hidden"})),Ht("open <=> closed",[Ct(".3s ease-in")])]);const o2=Ti("flyInOut",[Ht(":enter",[qe({transform:"translateX(100%)"}),Ct(".25s")]),Ht(":leave",[Ct(".5s",qe({transform:"translateX(100%)"}))])]);Ti("rollInOut",[Ht(":enter",[qe({height:"0px"}),Ct(".25s")]),Ht(":leave",[Ct(".25s",qe({height:"0px"}))])]),Ti("routeAnimations",[Ht("* => *",[qe({position:"relative"}),Eo(":enter",[qe({width:"100%",opacity:0})],{optional:!0}),Eo(":leave",[qe({position:"absolute",width:"100%",opacity:1}),Ct("0.15s",qe({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Eo(":enter",[qe({position:"absolute",width:"100%",opacity:0}),Ct("0.15s",qe({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Ti("tagsOpenClose",[ii("open",qe({})),ii("closed",qe({width:"0px",height:"0px"})),Ht("open <=> closed",[Ct(".3s ease-in")])]),Ti("switchAnimations",[Ht("true => false",[Eo(":enter, :leave",qe({})),pg([Eo(":enter",[qe({transform:"translateX(-100%)"}),Ct("1s ease-in-out",qe({transform:"translateX(0%)"}))],{optional:!0}),Eo(":leave",[qe({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",qe({transform:"translateX(100%)"}))],{optional:!0})])]),Ht("false => true",[Eo(":enter, :leave",qe({})),pg([Eo(":enter",[qe({transform:"translateX(100%)"}),Ct("1s ease-in-out",qe({transform:"translateX(0%)"}))],{optional:!0}),Eo(":leave",[qe({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",qe({transform:"translateX(-100%)"}))],{optional:!0})])])]),Ti("slideInOutLeft",[Ht(":enter",[qe({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",qe({transform:"translateX(0%)"}))]),Ht(":leave",[Ct("0.5s ease-in",qe({transform:"translateX(-100%)"}))])]),Ti("slideInOutRight",[Ht(":enter",[qe({transform:"translateX(100%)",position:"fixed"}),Ct("0.5s ease-in",qe({transform:"translateX(0%)"}))]),Ht(":leave",[qe({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",qe({transform:"translateX(100%)"}))])]);let xS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})(),wy=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})(),Ci=(()=>{class n{constructor(e,t){this.translate=e,this.storage=t}transform(e,t="en"){const s=this.storage.get("custom_labels");if(s){const a=Object.keys(s);for(const r of a){const c=this.storage.get("custom_labels",r);if(c.label===e)return c[t]}}return e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai,16),i.Y36(ti,16))},n.\u0275pipe=i.Yjl({name:"customTranslate",type:n,pure:!0}),n})();class r2{isErrorState(o){return!!(o&&o.invalid&&o.dirty)}}const a2=(n,o,e,t=500)=>s=>C1(t).pipe((0,mi.w)(()=>(e.dontHandleErrorForNext(),n&&"No namespace"!==n?o.checkPasswordStrength(s.value,n):(0,Ke.of)(null))),(0,pt.U)(()=>null),(0,On.K)(a=>(0,Ke.of)({backendError:a.error.message.substr(a.error.message.indexOf(":")+1)}))),LS=Ko({passive:!0});let c2=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return rs.E;const t=oi(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new De.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,LS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,LS)}}),a}stopMonitoring(e){const t=oi(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),My=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._platform=t,this._ngZone=s,this._destroyed=new De.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=r=>{this._hasFocus="focus"===r.type},this._document=a,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=on(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=on(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=je(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{ha(this._getWindow(),"resize").pipe(S1(16),it(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,t=e.style.marginBottom||"",s=this._platform.FIREFOX,a=s&&this._hasFocus,r=s?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(r);const c=e.scrollHeight-4;return e.classList.remove(r),a&&(e.style.marginBottom=t),c}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const t=this._elementRef.nativeElement,s=t.value;if(!e&&this._minRows===this._previousMinRows&&s===this._previousValue)return;const a=this._measureScrollHeight(),r=Math.max(a,this._cachedPlaceholderHeight||0);t.style.height=`${r}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=s,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:s}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(i.R0b),i.Y36(b.K0,8))},n.\u0275dir=i.lG2({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&i.NdJ("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),RS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl]]}),n})();const OS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),l2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let u2=0;const d2=qg(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let qn=(()=>{class n extends d2{constructor(e,t,s,a,r,c,d,h,g,O){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=O,this._uid="mat-input-"+u2++,this.focused=!1,this.stateChanges=new De.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(be=>Dh().has(be));const $=this._elementRef.nativeElement,oe=$.nodeName.toLowerCase();this._inputValueAccessor=d||$,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",be=>{const ve=be.target;!ve.value&&0===ve.selectionStart&&0===ve.selectionEnd&&(ve.setSelectionRange(1,1),ve.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===oe,this._isTextarea="textarea"===oe,this._isInFormField=!!O,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=je(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Dh().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=je(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){l2.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(Ro,10),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Nc),i.Y36(OS,10),i.Y36(c2),i.Y36(i.R0b),i.Y36(Rd,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:xd,useExisting:n}]),i.qOj,i.TTD]}),n})(),kv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Nc],imports:[[RS,xo,gt],RS,xo]}),n})();function h2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function f2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function p2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function g2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const b2=va(class{constructor(n){this._elementRef=n}},"primary"),PS=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function y2(){return{diameter:100}}});class Wc extends b2{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=P.w.EMPTY,this.mode="determinate";const h=Wc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=on(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=on(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,on(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Sl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Wc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Wc._diameters=new WeakMap,Wc.\u0275fac=function(o){return new(o||Wc)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0,8),i.Y36(Bn,8),i.Y36(PS),i.Y36(i.sBO),i.Y36(Ms),i.Y36(i.R0b))},Wc.\u0275cmp=i.Xpm({type:Wc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,h2,1,11,"circle",2),i.YNc(3,f2,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let Jn=(()=>{class n extends Wc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0,8),i.Y36(Bn,8),i.Y36(PS),i.Y36(i.sBO),i.Y36(Ms),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,p2,1,11,"circle",2),i.YNc(3,g2,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),xv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt,b.ez],gt]}),n})();function w2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function M2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function v2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function T2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const C2=["*"];let es=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:C2,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,w2,2,0,"mat-icon",1),i.YNc(2,M2,2,0,"mat-icon",1),i.YNc(3,v2,2,0,"mat-icon",1),i.YNc(4,T2,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,xn],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})();function S2(n,o){1&n&&i._UZ(0,"mat-spinner",12),2&n&&i.Q6J("diameter",18)}function E2(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1," error "),i.qZA()),2&n){const e=i.oxw();i.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function k2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function D2(n,o){if(1&n&&(i.TgZ(0,"mat-error",14),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("matTooltip",e.getErrorTooltip()),i.xp6(1),i.Oqu(e.getErrorTooltip())}}function x2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function L2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let R2=(()=>{class n{constructor(e,t,s){this.translator=e,this.usersManagerService=t,this.store=s,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new r2}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(s=>"preferredLanguage"===s.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai),i.Y36(Tt),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[i.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.YNc(4,S2,1,1,"mat-spinner",3),i.TgZ(5,"mat-icon",4),i.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),i._uU(6),i.qZA(),i.YNc(7,E2,2,2,"mat-icon",5),i.YNc(8,k2,3,3,"mat-error",6),i.YNc(9,D2,2,2,"mat-error",7),i.qZA(),i.TgZ(10,"mat-form-field",8),i.TgZ(11,"mat-label"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i._UZ(14,"input",9),i.TgZ(15,"mat-icon",4),i.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),i._uU(16),i.qZA(),i.YNc(17,x2,3,3,"mat-error",6),i.YNc(18,L2,3,3,"mat-error",6),i.qZA(),i.TgZ(19,"app-alert",10),i._UZ(20,"div",11),i.qZA(),i.qZA()),2&e&&(i.Q6J("formGroup",t.formGroup),i.xp6(1),i.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),i.xp6(1),i.s9C("placeholder",i.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),i.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),i.xp6(2),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),i.xp6(2),i.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),i.xp6(3),i.Oqu(i.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),i.xp6(2),i.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),i.xp6(2),i.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),i.xp6(2),i.Q6J("innerHTML",t.passwordRequirement,i.oJD))},directives:[Jl,Ir,un,fs,qn,bn,dn,R0,vs,b.O5,Jn,pb,xn,Zl,no,es],pipes:[dt],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),n})();function B2(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function F2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function q2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function j2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,F2,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,q2,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let Y2=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ai),i.Y36(or),i.Y36(ni),i.Y36(Xi),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,B2,1,0,"mat-spinner",1),i.YNc(4,j2,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[Sn,b.O5,Jn,Fn,un,no,qn,bn,vs,dn,zr,Zl,En,Yt],pipes:[dt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),U2=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Ri();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(Y2,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ii),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})();const G2=[[["caption"]],[["colgroup"],["col"]]],V2=["caption","colgroup, col"];function Lv(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=je(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const tp=new i.OlP("CDK_TABLE");let ip=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),np=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),vy=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class $2{}const X2=Lv($2);let Kc=(()=>{class n extends X2{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=je(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ip,5),i.Suo(s,np,5),i.Suo(s,vy,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class Rv{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let Ov=(()=>{class n extends Rv{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),Pv=(()=>{class n extends Rv{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class IS{constructor(){this.tasks=[],this.endTasks=[]}}const zv=new i.OlP("_COALESCED_STYLE_SCHEDULER");let NS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new De.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new IS,this._getScheduleObservable().pipe(it(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new IS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Mn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,$t.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Iv=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof t1?e.headerCell.template:this instanceof n1?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class Q2 extends Iv{}const J2=Lv(Q2);let t1=(()=>{class n extends J2{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class ex extends Iv{}const tx=Lv(ex);let n1=(()=>{class n extends tx{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),Ty=(()=>{class n extends Iv{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(tp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Zc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Nv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Bv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Cy=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const HS=["top","bottom","left","right"];class ix{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some($=>$)&&!t.some($=>$))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),O=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const $="rtl"===this.direction,oe=$?"right":"left",be=$?"left":"right";for(const ve of o)for(let Le=0;Lee[Le]?ve:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===O?[]:c.slice(O).map((ve,Le)=>t[Le+O]?ve:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,O=0;g{var g,O;for(let $=0;${e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);HS.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of HS)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const Fv=new i.OlP("CDK_SPL");let Sy=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),Ey=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),ky=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Dy=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),xy=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=O,this._stickyPositioningListener=$,this._ngZone=oe,this._onDestroy=new De.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new Bi({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=je(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=je(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(it(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Rr(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,$t.q)(1),it(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ly(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Ly(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ly(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ly(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Rr(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Rr(this.dataSource)?e=this.dataSource.connect(this):sr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ke.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(it(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Zc.mostRecentCellOutlet&&Zc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ix(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ke.of)()).pipe(it(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(Hn,8),i.Y36(b.K0),i.Y36(Ei),i.Y36($l),i.Y36(zv),i.Y36(Ms),i.Y36(Fv,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Cy,5),i.Suo(s,Kc,5),i.Suo(s,Ty,5),i.Suo(s,t1,5),i.Suo(s,n1,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(Sy,7),i.Gf(Ey,7),i.Gf(ky,7),i.Gf(Dy,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:tp,useExisting:n},{provide:$l,useClass:a0},{provide:zv,useClass:NS},{provide:Fv,useValue:null}])],ngContentSelectors:V2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(G2),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[Ey,Sy,Dy,ky],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function Ly(n,o){return n.concat(Array.from(o))}let sx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[kl]]}),n})();const ox=[[["caption"]],[["colgroup"],["col"]]],rx=["caption","colgroup, col"];let Ra=(()=>{class n extends xy{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:$l,useClass:a0},{provide:xy,useExisting:n},{provide:tp,useExisting:n},{provide:zv,useClass:NS},{provide:Fv,useValue:null}]),i.qOj],ngContentSelectors:rx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(ox),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[Ey,Sy,Dy,ky],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Nr=(()=>{class n extends ip{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:ip,useExisting:n}]),i.qOj]}),n})(),Hr=(()=>{class n extends np{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:np,useExisting:n}]),i.qOj]}),n})(),Br=(()=>{class n extends Kc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Kc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Fr=(()=>{class n extends Ov{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),qr=(()=>{class n extends Pv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),Oa=(()=>{class n extends t1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:t1,useExisting:n}]),i.qOj]}),n})(),Pa=(()=>{class n extends Ty{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:Ty,useExisting:n}]),i.qOj]}),n})(),za=(()=>{class n extends Nv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:Nv,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Ia=(()=>{class n extends Bv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:Bv,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),FS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[sx,gt],gt]}),n})();class $c extends class _x extends class mb{}{constructor(o=[]){super(),this._renderData=new Bi([]),this._filter=new Bi(""),this._internalPageChanges=new De.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(b1(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,O=typeof h;g!==O&&("number"===g&&(d+=""),"number"===O&&(h+=""));let $=0;return null!=d&&null!=h?d>h?$=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new Bi(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Li.T)(this._sort.sortChange,this._sort.initialized):(0,Ke.of)(null),t=this._paginator?(0,Li.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ke.of)(null),a=(0,Gr.aj)([this._data,this._filter]).pipe((0,pt.U)(([d])=>this._filterData(d))),r=(0,Gr.aj)([a,e]).pipe((0,pt.U)(([d])=>this._orderData(d))),c=(0,Gr.aj)([r,t]).pipe((0,pt.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function bx(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function yx(n,o){1&n&&i._UZ(0,"th",15)}function Ax(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function wx(n,o){1&n&&i._UZ(0,"tr",17)}function Mx(n,o){1&n&&i._UZ(0,"tr",18)}function vx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",4),i.TgZ(2,"p"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.TgZ(6,"div",5),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"table",6),i.ynx(11,7),i.YNc(12,yx,1,0,"th",8),i.YNc(13,Ax,2,1,"td",9),i.BQk(),i.YNc(14,wx,1,0,"tr",10),i.YNc(15,Mx,1,0,"tr",11),i.qZA(),i.qZA(),i.TgZ(16,"div",12),i.TgZ(17,"button",13),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(18),i.ALo(19,"translate"),i.ALo(20,"customTranslate"),i.qZA(),i.TgZ(21,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(22),i.ALo(23,"translate"),i.ALo(24,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",i.lcZ(4,7,i.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),i.xp6(4),i.hij(" ",i.lcZ(8,11,i.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),i.xp6(3),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns),i.xp6(3),i.hij(" ",i.lcZ(19,15,i.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(23,19,i.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let Tx=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.usersManagerService=s,this.translate=a,this.notificator=r,this.force=!1,this.displayedColumns=["name"],a.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new $c(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Tt),i.Y36(Ai),i.Y36(or))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div"),i.YNc(5,bx,1,0,"mat-spinner",1),i.YNc(6,vx,25,23,"div",2),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,6,i.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),i.xp6(3),i.Tol(t.theme),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();class Cx{constructor(o,e){this._document=e;const t=this._textarea=this._document.createElement("textarea"),s=t.style;s.position="fixed",s.top=s.opacity="0",s.left="-999em",t.setAttribute("aria-hidden","true"),t.value=o,this._document.body.appendChild(t)}copy(){const o=this._textarea;let e=!1;try{if(o){const t=this._document.activeElement;o.select(),o.setSelectionRange(0,o.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch(t){}return e}destroy(){const o=this._textarea;o&&(o.remove(),this._textarea=void 0)}}let Sx=(()=>{class n{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),s=t.copy();return t.destroy(),s}beginCopy(e){return new Cx(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ex=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let qv=(()=>{class n{constructor(e,t,s){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,s&&null!=s.attempts&&(this.attempts=s.attempts)}copy(e=this.attempts){if(e>1){let t=e;const s=this._clipboard.beginCopy(this.text);this._pending.add(s);const a=()=>{const r=s.copy();r||!--t||this._destroyed?(this._currentTimeout=null,this._pending.delete(s),s.destroy(),this.copied.emit(r)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Sx),i.Y36(i.R0b),i.Y36(Ex,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),n})(),qS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Ry=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i.TgZ(3,"textarea",2),i._uU(4),i.qZA(),i.qZA(),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.title),i.xp6(3),i.Oqu(t.value),i.xp6(3),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),i.xp6(2),i.Q6J("cdkCopyToClipboard",t.value),i.xp6(1),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[Sn,Fn,My,qn,En,Yt,qv],pipes:[dt],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),n})(),kx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h5",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"textarea",2),i.NdJ("ngModelChange",function(a){return t.attributeValue=a}),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.submit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),i.xp6(4),i.Q6J("ngModel",t.attributeValue),i.xp6(3),i.hij(" ",i.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[Sn,Fn,un,My,qn,bn,dn,zr,En,Yt],pipes:[dt],styles:[""]}),n})(),Dx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h5",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"div"),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",2),i._uU(8),i.qZA(),i.qZA(),i.TgZ(9,"div",3),i.TgZ(10,"button",4),i.NdJ("click",function(){return t.cancel()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"button",5),i.NdJ("click",function(){return t.submit()}),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),i.xp6(4),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),i.xp6(3),i.hij(" ",t.data.name," "),i.xp6(3),i.hij(" ",i.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})();function xx(n,o){if(1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.pendingEmailsMessage)}}function Lx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let Rx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.data=t,this.translate=s,this.notificator=a,this.usersManagerService=r,this.authService=c,this.pendingMails=[],s.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(d=>this.successMessage=d),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(d=>this.pendingEmailsMessageStart=d),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(d=>this.pendingEmailsMessageEnd=d)}ngOnInit(){this.emailControl=new ds(null,[kn.required,kn.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(e=>{this.pendingMails=e.filter((s,a,r)=>a===r.indexOf(s));let t="";this.pendingMails.forEach(s=>t+=`${s===this.pendingMails[0]?"":", "}${s}`),console.log(t),this.pendingEmailsMessage=this.pendingEmailsMessageStart+t+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const t=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",t[0]+"//"+t[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Ai),i.Y36(or),i.Y36(Tt),i.Y36(nr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,xx,2,1,"app-alert",2),i.TgZ(6,"mat-form-field",3),i.TgZ(7,"label",3),i._UZ(8,"input",4),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.YNc(11,Lx,4,5,"mat-error",5),i.qZA(),i.qZA(),i.TgZ(12,"div",6),i.TgZ(13,"button",7),i.NdJ("click",function(){return t.onCancel()}),i._uU(14),i.ALo(15,"translate"),i.ALo(16,"customTranslate"),i.qZA(),i.TgZ(17,"button",8),i.NdJ("click",function(){return t.onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.ALo(20,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,8,i.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.pendingMails.length),i.xp6(3),i.s9C("placeholder",i.lcZ(9,12,i.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.emailControl),i.xp6(3),i.Q6J("ngIf",t.emailControl.invalid),i.xp6(3),i.hij(" ",i.lcZ(15,16,i.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",!t.emailControl.valid),i.xp6(1),i.hij(" ",i.lcZ(19,20,i.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[Sn,Fn,b.O5,es,un,qn,bn,vs,dn,so,Zl,En,Yt],pipes:[dt,Ci],styles:[""]}),n})(),qx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.router=t}onClose(){this.router.navigate([]),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(ji))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"app-alert",2),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.onClose()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),i.xp6(4),i.Oqu(i.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),i.xp6(4),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[Sn,Fn,es,En,Yt],pipes:[dt],styles:[""]}),n})();function jx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function Yx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"form",5),i.TgZ(1,"div",6),i.TgZ(2,"mat-form-field"),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i._UZ(6,"input",7),i.TgZ(7,"mat-icon",8),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.showOldPassword=!s.showOldPassword}),i._uU(8),i.qZA(),i.YNc(9,jx,3,3,"mat-error",9),i.qZA(),i._UZ(10,"perun-web-apps-password-form",10),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("formGroup",e.formGroup),i.xp6(4),i.Oqu(i.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),i.xp6(2),i.Q6J("type",e.showOldPassword?"text":"password"),i.xp6(2),i.hij(" ",e.showOldPassword?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",e.oldPwd.hasError("required")),i.xp6(1),i.Q6J("formGroup",e.formGroup)("namespace",e.data.namespace)}}function Ux(n,o){1&n&&i._UZ(0,"mat-spinner",11)}function Gx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",12),i.TgZ(1,"div",13),i.TgZ(2,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().close()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"button",15),i.NdJ("click",function(){return i.CHM(e),i.oxw().changePassword()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",i.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.formGroup.invalid||e.formGroup.pending),i.xp6(1),i.hij(" ",i.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Vx=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this._formBuilder=s,this.usersManagerService=a,this.apiRequestConfiguration=r,this.notificator=c,this.translate=d,this.showOldPassword=!1,d.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(h=>this.successMessage=h)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",kn.required],passwordCtrl:["",kn.required,[a2(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:t2.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(KC),i.Y36(Tt),i.Y36(Sv),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.YNc(4,Yx,11,9,"form",2),i.YNc(5,Ux,1,0,"mat-spinner",3),i.qZA(),i.YNc(6,Gx,8,7,"div",4)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,Fn,b.O5,tu,Jl,Ir,un,no,bn,qn,dn,R0,vs,xn,pb,Zl,R2,Jn,En,Yt],pipes:[dt],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),n})();const Wx=["input"],Kx=function(n){return{enterDuration:n}},Zx=["*"],$x=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function Xx(){return{color:"accent"}}});let YS=0;const Qx={provide:Wn,useExisting:(0,i.Gpc)(()=>VS),multi:!0};class US{constructor(o,e){this.source=o,this.value=e}}const GS=new i.OlP("MatRadioGroup");let Jx=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+YS++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.vpe}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=je(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new US(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),VS=(()=>{class n extends Jx{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,WS,5),2&e){let a;i.iGM(a=i.CRH())&&(t._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([Qx,{provide:GS,useExisting:n}]),i.qOj]}),n})();class eL{constructor(o){this._elementRef=o}}const tL=to(Ic(eL));let iL=(()=>{class n extends tL{constructor(e,t,s,a,r,c,d,h){super(t),this._changeDetector=s,this._focusMonitor=a,this._radioDispatcher=r,this._providerOverride=d,this._uniqueId="mat-radio-"+ ++YS,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===c,h&&(this.tabIndex=on(h,0)),this._removeUniqueSelectionListener=r.listen((g,O)=>{g!==this.id&&O===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=je(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(je(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=je(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new US(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Wx,5),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[i.qOj]}),n})(),WS=(()=>{class n extends iL{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(GS,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(So),i.Y36(bb),i.Y36(Bn,8),i.Y36($x,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(i.uIk("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.ekj("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable",t._noopAnimations)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.qOj],ngContentSelectors:Zx,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i._UZ(3,"span",3),i._UZ(4,"span",4),i.TgZ(5,"input",5,6),i.NdJ("change",function(a){return t._onInputInteraction(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(7,"span",7),i._UZ(8,"span",8),i.qZA(),i.qZA(),i.TgZ(9,"span",9),i.TgZ(10,"span",10),i._uU(11,"\xa0"),i.qZA(),i.Hsn(12),i.qZA(),i.qZA()),2&e){const s=i.MAs(1);i.uIk("for",t.inputId),i.xp6(5),i.Q6J("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),i.uIk("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,Kx,t._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==t.labelPosition)}},directives:[Ns],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),KS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt],gt]}),n})();function nL(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function sL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function oL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function rL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-radio-group",12),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(2).asyncValidation=s}),i.TgZ(1,"span",13),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-radio-button",14),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"mat-radio-button",14),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("ngModel",e.asyncValidation),i.xp6(2),i.hij(" ",i.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),i.xp6(2),i.Q6J("value",!1),i.xp6(1),i.hij(" ",i.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),i.xp6(2),i.Q6J("value",!0),i.xp6(1),i.hij(" ",i.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function aL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function cL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function lL(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"p",6),i._uU(2),i.TgZ(3,"span",7),i._uU(4),i.qZA(),i._uU(5),i.TgZ(6,"span",7),i._uU(7),i.qZA(),i.qZA(),i.TgZ(8,"p"),i.TgZ(9,"strong",8),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._uU(12),i.qZA(),i.TgZ(13,"p"),i.TgZ(14,"strong",8),i._uU(15),i.ALo(16,"translate"),i.qZA(),i._uU(17),i.qZA(),i.YNc(18,sL,3,3,"span",9),i.YNc(19,oL,3,3,"span",9),i.YNc(20,rL,10,12,"mat-radio-group",10),i.YNc(21,aL,3,3,"span",9),i.YNc(22,cL,3,3,"span",9),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e.group.name," "),i.xp6(2),i.hij("#",e.group.id,""),i.xp6(1),i.hij(" - ",e.resource.name," "),i.xp6(2),i.hij("#",e.resource.id,""),i.xp6(3),i.hij(" ",i.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),i.xp6(2),i.hij(" ",e.status," "),i.xp6(3),i.hij(" ",i.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),i.xp6(2),i.hij(" ",e.getReversedStatus()," "),i.xp6(1),i.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),i.xp6(1),i.Q6J("ngIf","ACTIVE"===e.status),i.xp6(1),i.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),i.xp6(1),i.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!1===e.asyncValidation),i.xp6(1),i.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!0===e.asyncValidation)}}function uL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",15),i.TgZ(1,"button",16),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",17),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===e.status?"DEACTIVATE":"ACTIVATE"))," ")}}let dL=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.data=t,this.resourceService=s,this.groupService=a,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(e=>{this.resource=e,this.groupService.getGroupById(this.data.groupId).subscribe(t=>{this.group=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(ei),i.Y36(An))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,nL,1,0,"mat-spinner",1),i.YNc(5,lL,23,17,"div",2),i.YNc(6,uL,7,7,"div",3),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.hij(" ",i.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,VS,dn,zr,WS,En,Yt],pipes:[dt],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),n})();function hL(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function fL(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let pL=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=Ri();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(U2,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function HD(n,o){return(0,ID.mG)(this,void 0,void 0,function*(){yield function BD(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii),i.Y36(ES))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,hL,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,fL,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,xn],pipes:[dt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function gL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const mL=function(n){return{top:n}};let _L=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(or),i.Y36(ES))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,gL,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,mL,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,pL],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[o2]}}),n})();const bL=["*",[["mat-toolbar-row"]]],yL=["*","mat-toolbar-row"],AL=va(class{constructor(n){this._elementRef=n}});let wL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),ML=(()=>{class n extends AL{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,wL,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:yL,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(bL),i.Hsn(0),i.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),vL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();function ZS(n){for(let o in n){let e=n[o]||"";switch(o){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+o]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+o]=isNaN(+e)?"0":e}}return n}const jv="inline",Oy=["row","column","row-reverse","column-reverse"];function $S(n){let[o,e,t]=function XS(n){var o;n=null!==(o=null==n?void 0:n.toLowerCase())&&void 0!==o?o:"";let[e,t,s]=n.split(" ");return Oy.find(a=>a===e)||(e=Oy[0]),t===jv&&(t=s!==jv?s:"",s=jv),[e,TL(t),!!s]}(n);return function CL(n,o=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":o||null}}(o,e,t)}function TL(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}const EL={provide:i.tb,useFactory:function SL(n,o){return()=>{if((0,b.NF)(o)){const e=Array.from(n.querySelectorAll(`[class*=${QS}]`)),t=/\bflex-layout-.+?\b/g;e.forEach(s=>{s.classList.contains(`${QS}ssr`)&&s.parentNode?s.parentNode.removeChild(s):s.className.replace(t,"")})}}},deps:[b.K0,i.Lbi],multi:!0},QS="flex-layout-";let Yv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[EL]}),n})();class Vd{constructor(o=!1,e="all",t="",s="",a=0){this.matches=o,this.mediaQuery=e,this.mqAlias=t,this.suffix=s,this.priority=a,this.property=""}clone(){return new Vd(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let kL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,s){const a=this.stylesheet.get(e);a?a.set(t,s):this.stylesheet.set(e,new Map([[t,s]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const s=this.stylesheet.get(e);let a="";if(s){const r=s.get(t);("number"==typeof r||"string"==typeof r)&&(a=r+"")}return a}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Uv={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},jr=new i.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Uv}),sp=new i.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Gv=new i.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function JS(n,o){return n=n?n.clone():new Vd,o&&(n.mqAlias=o.alias,n.mediaQuery=o.mediaQuery,n.suffix=o.suffix,n.priority=o.priority),n}class yn{constructor(){this.shouldCache=!0}sideEffect(o,e,t){}}let Vi=(()=>{class n{constructor(e,t,s,a){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=s,this.layoutConfig=a}applyStyleToElement(e,t,s=null){let a={};"string"==typeof t&&(a[t]=s,t=a),a=this.layoutConfig.disableVendorPrefixes?t:ZS(t),this._applyMultiValueStyleToElement(a,e)}applyStyleToElements(e,t=[]){const s=this.layoutConfig.disableVendorPrefixes?e:ZS(e);t.forEach(a=>{this._applyMultiValueStyleToElement(s,a)})}getFlowDirection(e){const t="flex-direction";let s=this.lookupStyle(e,t);return[s||"row",this.lookupInlineStyle(e,t)||(0,b.PM)(this._platformId)&&this._serverModuleLoaded?s:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){var s;return null!==(s=e.getAttribute(t))&&void 0!==s?s:""}lookupInlineStyle(e,t){return(0,b.NF)(this._platformId)?e.style.getPropertyValue(t):function DL(n,o){var e;return null!==(e=eE(n)[o])&&void 0!==e?e:""}(e,t)}lookupStyle(e,t,s=!1){let a="";return e&&((a=this.lookupInlineStyle(e,t))||((0,b.NF)(this._platformId)?s||(a=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(a=this._serverStylesheet.getStyleForElement(e,t)))),a?a.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(s=>{const a=e[s],r=Array.isArray(a)?a:[a];r.sort();for(let c of r)c=c?c+"":"",(0,b.NF)(this._platformId)||!this._serverModuleLoaded?(0,b.NF)(this._platformId)?t.style.setProperty(s,c):xL(t,s,c):this._serverStylesheet.addStyleToElement(t,s,c)})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(kL),i.LFG(sp),i.LFG(i.Lbi),i.LFG(jr))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function xL(n,o,e){o=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const t=eE(n);t[o]=null!=e?e:"",function LL(n,o){let e="";for(const t in o)o[t]&&(e+=`${t}:${o[t]};`);n.setAttribute("style",e)}(n,t)}function eE(n){const o={},e=n.getAttribute("style");if(e){const t=e.split(/;+/g);for(let s=0;s0){const r=a.indexOf(":");if(-1===r)throw new Error(`Invalid CSS style: ${a}`);o[a.substr(0,r).trim()]=a.substr(r+1).trim()}}}return o}function o1(n,o){return(o&&o.priority||0)-(n&&n.priority||0)}function RL(n,o){return(n.priority||0)-(o.priority||0)}let Vv=(()=>{class n{constructor(e,t,s){this._zone=e,this._platformId=t,this._document=s,this.source=new Bi(new Vd(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,s)=>{t.matches&&e.push(s)}),e}isActive(e){var t;const s=this.registry.get(e);return null!==(t=null==s?void 0:s.matches)&&void 0!==t?t:this.registerQuery(e).some(a=>a.matches)}observe(e,t=!1){if(e&&e.length){const s=this._observable$.pipe((0,qt.h)(r=>!t||e.indexOf(r.mediaQuery)>-1)),a=new Fi.y(r=>{const c=this.registerQuery(e);if(c.length){const d=c.pop();c.forEach(h=>{r.next(h)}),this.source.next(d)}r.complete()});return(0,Li.T)(a,s)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],s=[];return function OL(n,o){const e=n.filter(t=>!tE[t]);if(e.length>0){const t=e.join(", ");try{const s=o.createElement("style");s.setAttribute("type","text/css"),s.styleSheet||s.appendChild(o.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),o.head.appendChild(s),e.forEach(a=>tE[a]=s)}catch(s){console.error(s)}}}(t,this._document),t.forEach(a=>{const r=d=>{this._zone.run(()=>this.source.next(new Vd(d.matches,a)))};let c=this.registry.get(a);c||(c=this.buildMQL(a),c.addListener(r),this.pendingRemoveListenerFns.push(()=>c.removeListener(r)),this.registry.set(a,c)),c.matches&&s.push(new Vd(!0,a))}),s}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function PL(n,o){return o&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,(0,b.NF)(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(i.Lbi),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const tE={},zL=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],iE="(orientation: portrait) and (max-width: 599.98px)",nE="(orientation: landscape) and (max-width: 959.98px)",sE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",oE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",rE="(orientation: portrait) and (min-width: 840px)",aE="(orientation: landscape) and (min-width: 1280px)",Qc={HANDSET:`${iE}, ${nE}`,TABLET:`${sE} , ${oE}`,WEB:`${rE}, ${aE} `,HANDSET_PORTRAIT:`${iE}`,TABLET_PORTRAIT:`${sE} `,WEB_PORTRAIT:`${rE}`,HANDSET_LANDSCAPE:`${nE}`,TABLET_LANDSCAPE:`${oE}`,WEB_LANDSCAPE:`${aE}`},IL=[{alias:"handset",priority:2e3,mediaQuery:Qc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Qc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Qc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Qc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Qc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Qc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Qc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Qc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Qc.WEB_PORTRAIT,overlapping:!0}],NL=/(\.|-|_)/g;function HL(n){let o=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return o.toUpperCase()+e}const jL=new i.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=(0,i.f3M)(Gv),o=(0,i.f3M)(jr),e=[].concat.apply([],(n||[]).map(s=>Array.isArray(s)?s:[s]));return function qL(n,o=[]){const e={};return n.forEach(t=>{e[t.alias]=t}),o.forEach(t=>{e[t.alias]?function Xc(n,...o){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of o)if(null!=e)for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(e[t.alias],t):e[t.alias]=t}),function FL(n){return n.forEach(o=>{o.suffix||(o.suffix=function BL(n){return n.replace(NL,"|").split("|").map(HL).join("")}(o.alias),o.overlapping=!!o.overlapping)}),n}(Object.keys(e).map(t=>e[t]))}((o.disableDefaultBps?[]:zL).concat(o.addOrientationBps?IL:[]),e)}});let Wv=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(RL)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias===e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var t;return null!==(t=null==e?void 0:e.suffix)&&void 0!==t?t:""})}findWithPredicate(e,t){var s;let a=this.findByMap.get(e);return a||(a=null!==(s=this.items.find(t))&&void 0!==s?s:null,this.findByMap.set(e,a)),null!=a?a:null}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(jL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const op="print",YL={alias:op,mediaQuery:op,priority:1e3};let UL=(()=>{class n{constructor(e,t,s){this.breakpoints=e,this.layoutConfig=t,this._document=s,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new GL,this.deactivations=[]}withPrintQuery(e){return[...e,op]}isPrintEvent(e){return e.mediaQuery.startsWith(op)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(o1)}updateEvent(e){var t;let s=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(s=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(t=null==s?void 0:s.mediaQuery)&&void 0!==t?t:""),JS(e,s)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Vd(!0,op))),e.updateStyles())},s=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",s),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(s)}interceptEvents(e){return t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):!t.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!t.matches){const s=this.breakpoints.findByQuery(t.mediaQuery);if(s){const a=this.formerActivations&&this.formerActivations.includes(s),r=!this.formerActivations&&e.activatedBreakpoints.includes(s);(a||r)&&(this.deactivations.push(s),this.deactivations.sort(o1))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Wv),i.LFG(jr),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class GL{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(o){return o.push(YL),o.sort(o1),o.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(o){o&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===o.mediaQuery)&&(this.printBreakpoints=function VL(n){var o;return null!==(o=null==n?void 0:n.mediaQuery.startsWith(op))&&void 0!==o&&o}(o)?[o,...this.printBreakpoints]:[...this.printBreakpoints,o])}clear(){this.printBreakpoints=[]}}let Qi=(()=>{class n{constructor(e,t,s){this.matchMedia=e,this.breakpoints=t,this.hook=s,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new De.xQ,this.observeActivations()}get activatedAlias(){var e,t;return null!==(t=null===(e=this.activatedBreakpoints[0])||void 0===e?void 0:e.alias)&&void 0!==t?t:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);if(t){e=JS(e,t);const s=this.activatedBreakpoints.indexOf(t);e.matches&&-1===s?(this._activatedBreakpoints.push(t),this._activatedBreakpoints.sort(o1),this.updateStyles()):!e.matches&&-1!==s&&(this._activatedBreakpoints.splice(s,1),this._activatedBreakpoints.sort(o1),this.updateStyles())}}init(e,t,s,a,r=[]){cE(this.updateMap,e,t,s),cE(this.clearMap,e,t,a),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}getValue(e,t,s){const a=this.elementMap.get(e);if(a){const r=void 0!==s?a.get(s):this.getActivatedValues(a,t);if(r)return r.get(t)}}hasValue(e,t){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,t);if(a)return void 0!==a.get(t)||!1}return!1}setValue(e,t,s,a){var r;let c=this.elementMap.get(e);if(c){const h=(null!==(r=c.get(a))&&void 0!==r?r:new Map).set(t,s);c.set(a,h),this.elementMap.set(e,c)}else c=(new Map).set(a,(new Map).set(t,s)),this.elementMap.set(e,c);const d=this.getValue(e,t);void 0!==d&&this.updateElement(e,t,d)}trackValue(e,t){return this.subject.asObservable().pipe((0,qt.h)(s=>s.element===e&&s.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const s=new Set(this.elementKeyMap.get(t));let a=this.getActivatedValues(e);a&&a.forEach((r,c)=>{this.updateElement(t,c,r),s.delete(c)}),s.forEach(r=>{if(a=this.getActivatedValues(e,r),a){const c=a.get(r);this.updateElement(t,r,c)}else this.clearElement(t,r)})})}clearElement(e,t){const s=this.clearMap.get(e);if(s){const a=s.get(t);a&&(a(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,s){const a=this.updateMap.get(e);if(a){const r=a.get(t);r&&(r(s),this.subject.next({element:e,key:t,value:s}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(a=>a.unsubscribe()),this.watcherMap.delete(e));const s=this.elementMap.get(e);s&&(s.forEach((a,r)=>s.delete(r)),this.elementMap.delete(e))}triggerUpdate(e,t){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,t);a&&(t?this.updateElement(e,t,a.get(t)):a.forEach((r,c)=>this.updateElement(e,c,r)))}}buildElementKeyMap(e,t){let s=this.elementKeyMap.get(e);s||(s=new Set,this.elementKeyMap.set(e,s)),s.add(t)}watchExtraTriggers(e,t,s){if(s&&s.length){let a=this.watcherMap.get(e);if(a||(a=new Map,this.watcherMap.set(e,a)),!a.get(t)){const c=(0,Li.T)(...s).subscribe(()=>{const d=this.getValue(e,t);this.updateElement(e,t,d)});a.set(t,c)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let a=0;at.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,qi.b)(this.hook.interceptEvents(this)),(0,qt.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Vv),i.LFG(Wv),i.LFG(UL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function cE(n,o,e,t){var s;if(void 0!==t){const a=null!==(s=n.get(o))&&void 0!==s?s:new Map;a.set(e,t),n.set(o,a)}}let hn=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.styleBuilder=t,this.styler=s,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new De.xQ,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const s=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,s)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const s=this.styleBuilder,a=s.shouldCache;let r=this.styleCache.get(e);(!r||!a)&&(r=s.buildStyles(e,t),a&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),s.sideEffect(e,r,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[s,a]=this.styler.getFlowDirection(e);if(!a&&t){const r=$S(s);this.styler.applyStyleToElements(r,[e])}return s.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,s=this.nativeElement){this.styler.applyStyleToElement(s,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(yn),i.Y36(Vi),i.Y36(Qi))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class aR{constructor(o,e,t=!0){this.key=o,this.value=e,this.key=t?o.replace(/['"]/g,"").trim():o.trim(),this.value=t?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function hE(n){let o=typeof n;return"object"===o?n.constructor===Array?"array":n.constructor===Set?"set":"object":o}function pE(n){const[o,...e]=n.split(":");return new aR(o,e.join(":"))}function gE(n,o){return o.key&&(n[o.key]=o.value),n}let uR=(()=>{class n extends hn{constructor(e,t,s,a,r,c,d,h,g){var O;super(e,null,t,s),this.sanitizer=a,this.ngStyleInstance=d,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new b.PC(e,r,c)),this.init();const $=null!==(O=this.nativeElement.getAttribute("style"))&&void 0!==O?O:"";this.fallbackStyles=this.buildStyleMap($),this.isServer=h&&(0,b.PM)(g)}updateWithValue(e){const t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const t=s=>{var a;return null!==(a=this.sanitizer.sanitize(i.q3G.STYLE,s))&&void 0!==a?a:""};if(e)switch(hE(e)){case"string":return mE(function cR(n,o=";"){return String(n).trim().split(o).map(e=>e.trim()).filter(e=>""!==e)}(e),t);case"array":return mE(e,t);default:return function fE(n,o){let e=[];return"set"===hE(n)?n.forEach(t=>e.push(t)):Object.keys(n).forEach(t=>{e.push(`${t}:${n[t]}`)}),function lR(n,o){return n.map(pE).filter(t=>!!t).map(t=>(o&&(t.value=o(t.value)),t)).reduce(gE,{})}(e,o)}(e,t)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(Qi),i.Y36(_s),i.Y36(i.aQg),i.Y36(i.Qsj),i.Y36(b.PC,10),i.Y36(sp),i.Y36(i.Lbi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const dR=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let zy=(()=>{class n extends uR{constructor(){super(...arguments),this.inputs=dR}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[i.qOj]}),n})();function mE(n,o){return n.map(pE).filter(t=>!!t).map(t=>(o&&(t.value=o(t.value)),t)).reduce(gE,{})}let _E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv]]}),n})();const Zv=function(n){return{color:n}};function hR(n,o){if(1&n&&(i.TgZ(0,"button",8),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",4),i._uU(3," apps "),i.qZA(),i.qZA()),2&n){const e=i.oxw(),t=i.MAs(2);i.Q6J("matMenuTriggerFor",t)("matTooltip",i.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),i.xp6(2),i.Q6J("ngStyle",i.VKq(5,Zv,e.iconColor))}}function fR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().onLogOut()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"NAV.LOGOUT")," "))}let pR=(()=>{class n{constructor(e,t,s,a){this.authService=e,this.authzResolverService=t,this.notificator=s,this.translateService=a}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nr),i.Y36(Ki),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(e,t){if(1&e&&(i.YNc(0,hR,4,7,"button",0),i.TgZ(1,"mat-menu",null,1),i.TgZ(3,"button",2),i.NdJ("click",function(){return t.redirectToUrl()}),i.TgZ(4,"span"),i._uU(5),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"button",3),i.TgZ(7,"mat-icon",4),i._uU(8," person "),i.qZA(),i.TgZ(9,"span",5),i._uU(10),i.qZA(),i.qZA(),i.TgZ(11,"mat-menu",null,6),i.YNc(13,fR,3,3,"button",7),i.qZA()),2&e){const s=i.MAs(12);i.Q6J("ngIf",t.url),i.xp6(5),i.Oqu(t.label),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,Zv,t.iconColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(13,Zv,t.textColor)),i.xp6(1),i.xDo(" ",t.user.titleBefore," ",t.user.firstName," ",t.user.middleName," ",t.user.lastName," ",t.user.titleAfter," "),i.xp6(3),i.Q6J("ngIf",t.logoutEnabled)}},directives:[b.O5,Yt,_S,fs,xn,b.PC,Qf,Gc],pipes:[dt],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),n})();const bE=function(n){return{color:n}};function gR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onToggleSidenav()}),i.TgZ(1,"mat-icon"),i._uU(2,"menu"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(1,bE,e.iconColor))}}function mR(n,o){1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"span",9),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",10),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",9),i._uU(6," \u{1f5f2} ~ "),i.qZA(),i.qZA())}const _R=function(n){return{background:n}},bR=function(){return[]},yR=function(){return["/"]};let AR=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.translate=s,this.otherApplicationService=a,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new i.vpe,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1,this.activeLink=!1,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.translate.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`),this.adminLabel=this.storeService.get(`admin_gui_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.isLinkToGuiActive()}isLinkToGuiActive(){this.linkRoles=this.storeService.get("link_to_admin_gui_by_roles");for(const e in this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(e)&&(this.activeLink=!0);this.activeLink&&(this.adminGuiUrl=this.otherApplicationService.getUrlForOtherApplication("admin"))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(_s),i.Y36(Ai),i.Y36(DS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:8,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],["id","nav-menu-icons"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"logo-container","mt-auto","mb-auto",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.YNc(2,gR,3,3,"button",2),i._UZ(3,"a",3),i.TgZ(4,"p",4),i._uU(5),i.qZA(),i.qZA(),i.YNc(6,mR,7,0,"div",5),i._UZ(7,"perun-web-apps-header-menu",6),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(13,_R,t.bgColor)),i.xp6(2),i.Q6J("ngIf",!t.hideToggle),i.xp6(1),i.Q6J("innerHTML",t.logo,i.oJD)("routerLink",t.disableLogo?i.DdM(15,bR):i.DdM(16,yR)),i.xp6(1),i.Q6J("ngStyle",i.VKq(17,bE,t.textColor)),i.xp6(1),i.Oqu(t.label),i.xp6(1),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("url",t.adminGuiUrl)("label",t.adminLabel)("user",t.principal.user)("logoutEnabled",t.logoutEnabled)("iconColor",t.iconColor)("textColor",t.textColor))},directives:[ML,b.PC,zy,b.O5,Yt,xn,_,pR],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;padding:0 0 0 8px;z-index:999}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px;margin-left:auto;margin-right:0}@media (max-width: 570px){.hide-label[_ngcontent-%COMP%]{display:none}}#nav-devel-info[_ngcontent-%COMP%]{margin-left:auto;font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function yE(n){return o=>o.lift(new wR(n))}class wR{constructor(o){this.value=o}call(o,e){return e.subscribe(new MR(o,this.value))}}class MR extends Ys.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const Iy=["*"],vR=["content"];function TR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function CR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const SR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ER=["mat-drawer","mat-drawer-content","*"];function kR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function DR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const xR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],LR=["mat-sidenav","mat-sidenav-content","*"],AE={transformDrawer:Ti("transform",[ii("open, open-instant",qe({transform:"none",visibility:"visible"})),ii("void",qe({"box-shadow":"none",visibility:"hidden"})),Ht("void => open-instant",Ct("0ms")),Ht("void <=> open, open-instant => void",Ct("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},OR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function PR(){return!1}}),$v=new i.OlP("MAT_DRAWER_CONTAINER");let Ny=(()=>{class n extends Xu{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>ME)),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Xu,useExisting:n}]),i.qOj],ngContentSelectors:Iy,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),wE=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new De.xQ,this._animationEnd=new De.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,qt.h)(g=>g),(0,pt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,qt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),yE(void 0)),this._closedStream=this.openedChange.pipe((0,qt.h)(g=>!g),(0,pt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,qt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),yE(void 0)),this._destroyed=new De.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new De.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{ha(this._elementRef.nativeElement,"keydown").pipe((0,qt.h)(g=>27===g.keyCode&&!this.disableClose&&!cn(g)),it(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(Yh((g,O)=>g.fromState===O.fromState&&g.toState===O.toState)).subscribe(g=>{const{fromState:O,toState:$}=g;(0===$.indexOf("open")&&"void"===O||"void"===$&&0===O.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=je(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=je(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(je(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,$t.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(km),i.Y36(So),i.Y36(Ei),i.Y36(i.R0b),i.Y36(Tc),i.Y36(b.K0,8),i.Y36($v,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(vR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Iy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Xu],encapsulation:2,data:{animation:[AE.transformDrawer]},changeDetection:0}),n})(),ME=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new De.xQ,this._doCheckSubject=new De.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new De.xQ,e&&e.change.pipe(it(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(it(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=je(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:je(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(ci(this._allDrawers),it(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(ci(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,qh.b)(10),it(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,qt.h)(t=>t.fromState!==t.toState),it(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(it(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(it(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,$t.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(it((0,Li.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hn,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(Ms),i.Y36(OR),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ny,5),i.Suo(s,wE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(Ny,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:$v,useExisting:n}])],ngContentSelectors:ER,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(SR),i.YNc(0,TR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,CR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[Ny,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),Xv=(()=>{class n extends Ny{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>TE)),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Xu,useExisting:n}]),i.qOj],ngContentSelectors:Iy,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),vE=(()=>{class n extends wE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=je(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=on(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=on(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:Iy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Xu],encapsulation:2,data:{animation:[AE.transformDrawer]},changeDetection:0}),n})(),TE=(()=>{class n extends ME{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Xv,5),i.Suo(s,vE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:$v,useExisting:n}]),i.qOj],ngContentSelectors:LR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(xR),i.YNc(0,kR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,DR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[Xv,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),zR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,vl,Cn],Cn,gt]}),n})(),IR=(()=>{class n{constructor(e){this.store=e}getSideMenuItems(){const e=this.store.get("displayed_tabs"),t=[];return e.forEach(a=>{switch(a){case"profile":t.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":t.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":t.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":t.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":t.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":t.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":t.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(a=>{const r={icon:"insert_link",link:a.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(c=>{var d;r[`label_${c}`]=null!==(d=a[`label_${c}`])&&void 0!==d?d:a.label_en}),t.push(r)}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();const Qv=["*"],HR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],BR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],SE=ir(to(class{})),UR=to(class{}),EE=new i.OlP("MatList"),kE=new i.OlP("MatNavList");let GR=(()=>{class n extends SE{constructor(){super(...arguments),this._stateChanges=new De.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:kE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Qv,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Jv=(()=>{class n extends SE{constructor(e){super(),this._elementRef=e,this._stateChanges=new De.xQ,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i._Bn([{provide:EE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Qv,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),DE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),Hy=(()=>{class n extends UR{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new De.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(it(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=je(e)}ngAfterContentInit(){!function Ta(n,o,e="mat"){n.changes.pipe(ci(n)).subscribe(({length:t})=>{vd(o,`${e}-2-line`,!1),vd(o,`${e}-3-line`,!1),vd(o,`${e}-multi-line`,!1),2===t||3===t?vd(o,`${e}-${t}-line`,!0):t>3&&vd(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(kE,8),i.Y36(EE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,DE,5),i.Suo(s,xE,5),i.Suo(s,pf,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:BR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t(HR),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Ns],encapsulation:2,changeDetection:0}),n})(),XR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[z_,io,gt,Ul,b.ez],z_,gt,Ul,NR]}),n})(),RE=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})();const QR=function(n){return{color:n}};function JR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return a.external?r.goToURL(a.link):r.shouldHideMenu()}),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"localisedText"),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.external?null:e.link),i.Q6J("ngStyle",i.VKq(16,QR,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(2),i.Oqu(e.icon),i.xp6(2),i.Oqu(e.external?i.Dn7(5,7,e,t.lang,"label"):i.lcZ(6,11,i.xi3(7,13,e.label,t.lang)))}}let eO=(()=>{class n{constructor(e,t,s,a){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.translateService=a,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(r=>{r instanceof Te&&(this.currentUrl=r.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:s}=t;this.lang=s});const e=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(t=>e.includes(t.tabName))}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}goToURL(e){window.open(e,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(IR),i.Y36(ti),i.Y36(ji),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height","queryParamsHandling","merge",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","","queryParamsHandling","merge",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],[1,"nav-caption","ml-3"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,JR,8,18,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[GR,b.sg,Hy,Ns,b.PC,zy,It,xn],pipes:[RE,dt,Ci],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function tO(n,o){if(1&n&&(i.TgZ(0,"span",1),i.TgZ(1,"a",2),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("routerLink",e.routerLink),i.xp6(1),i.Oqu(e.label)}}let iO=(()=>{class n{constructor(e,t,s){this.router=e,this.activatedRoute=t,this.translate=s,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,qt.h)(e=>e instanceof Te)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,t=""){const s=e.children;0===s.length||"service-access"===s[0].snapshot.routeConfig.path||s.forEach(a=>{const r=a.snapshot.url.map(d=>d.path).join("/");""!==r&&(t+=`/${r}`);const c=this.translate.instant(a.snapshot.data[n.ROUTE_DATA_BREADCRUMB]);return c&&(!this.menuItems[this.menuItems.length-1]||c!==this.menuItems[this.menuItems.length-1].label)&&this.menuItems.push({label:c,routerLink:t}),this.createBreadcrumbs(a,t)})}}return n.ROUTE_DATA_BREADCRUMB="breadcrumb",n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-breadcrumbs"]],decls:1,vars:1,consts:[["class","custom-breadcrumb",4,"ngFor","ngForOf"],[1,"custom-breadcrumb"],["queryParamsHandling","merge",1,"breadcrumb-text",3,"routerLink"]],template:function(e,t){1&e&&i.YNc(0,tO,3,2,"span",0),2&e&&i.Q6J("ngForOf",t.menuItems)},directives:[b.sg,_],styles:['.custom-breadcrumb[_ngcontent-%COMP%]{display:inline-block}.custom-breadcrumb[_ngcontent-%COMP%]:first-child:before{display:none}.custom-breadcrumb[_ngcontent-%COMP%]:before{content:">";vertical-align:center;display:inline-block;margin:0 10px 10px 8px;-webkit-font-smoothing:antialiased}.breadcrumb-text[_ngcontent-%COMP%]{text-decoration:none!important;color:#2c2c2c}']}),n})();function nO(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let sO=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ai),i.Y36(or),i.Y36(ni),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,nO,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Sn,Fn,un,no,qn,bn,vs,dn,zr,b.O5,Zl,o0,En,Yt],pipes:[dt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),oO=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),rO=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function aO(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function cO(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function lO(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,aO,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,cO,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const uO=function(n){return{"min-height":n}};function dO(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,lO,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,uO,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const ru=function(n){return{color:n}};function hO(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,ru,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function fO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,ru,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function pO(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,ru,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function gO(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,ru,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function mO(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,hO,2,4,"i",17),i.YNc(2,fO,3,8,"span",18),i.YNc(3,pO,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,gO,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const _O=function(n){return{height:n}};function bO(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,mO,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,_O,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function yO(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,dO,2,4,"div",9),i.YNc(5,bO,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,ru,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function AO(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,ru,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const wO=function(n){return{background:n}};let OE=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Ri();"reportIssue"===e&&(t.width="550px",this.dialog.open(sO,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,yO,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,AO,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,wO,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,ru,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,ru,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[RE,oO,rO],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),n})();function MO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function vO(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function TO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const CO=function(n){return{color:n}};function SO(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,CO,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const EO=function(n,o){return{background:n,color:o}},kO=function(n,o){return{"min-height":n,"background-color":o}};let DO=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(_s),i.Y36(Ev),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,MO,2,1,"div",1),i.YNc(2,vO,3,1,"div",2),i.YNc(3,TO,2,1,"div",1),i.YNc(4,SO,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,EO,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,kO,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,xn,Vo,OE],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const xO=["footer"],PE=function(n){return{background:n}},LO=function(n){return{"min-height":n}};function RO(n,o){if(1&n){const e=i.EpF();i._UZ(0,"perun-web-apps-notificator"),i.TgZ(1,"div",2),i.TgZ(2,"perun-web-apps-header",3),i.NdJ("sidenavToggle",function(){return i.CHM(e),i.MAs(5).toggle()}),i.qZA(),i.TgZ(3,"mat-sidenav-container"),i.TgZ(4,"mat-sidenav",4,5),i._UZ(6,"perun-web-apps-side-menu",6),i.qZA(),i.TgZ(7,"mat-sidenav-content",7),i.TgZ(8,"div",8),i._UZ(9,"perun-web-apps-breadcrumbs"),i._UZ(10,"router-outlet"),i.qZA(),i.TgZ(11,"div",null,9),i._UZ(13,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(5),t=i.oxw();i.xp6(4),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(6,PE,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(8,PE,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,LO,t.contentHeight))}}function OO(n,o){if(1&n&&i._UZ(0,"perun-web-apps-login-screen-base",10),2&n){const e=i.oxw();i.Q6J("application","user-profile")("headerTitle",e.headerLabel)}}let PO=(()=>{class n{constructor(e,t,s,a,r,c){this.store=e,this.attributesManagerService=t,this.translateService=s,this.initAuth=a,this.changeDetector=r,this.preferredLangService=c,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 84px)",this.headerLabel=this.store.get("header_label_en"),this.getScreenSize()}ngOnInit(){this.isLoginScreenShown=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),this.isLoginScreenShown?this.headerLabel=this.store.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`):this.isServiceAccess||this.attributesManagerService.getUserAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.find(r=>"preferredLanguage"===r.friendlyName),s=t&&t.value?t.value.toString():null,a=this.preferredLangService.getPreferredLanguage(s);this.translateService.use(a)})}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ai),i.Y36(Cv),i.Y36(i.sBO),i.Y36(Ev))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(xO,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:2,vars:2,consts:[[3,"ngIf"],[3,"application","headerTitle",4,"ngIf"],[1,"app-min-width"],[3,"sidenavToggle"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i.YNc(0,RO,14,12,"ng-template",0),i.YNc(1,OO,1,2,"perun-web-apps-login-screen-base",1)),2&e&&(i.Q6J("ngIf",!t.isLoginScreenShown&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShown||t.isServiceAccess||t.isServiceLogin()))},directives:[b.O5,_L,AR,TE,vE,b.PC,zy,eO,Xv,iO,Vo,OE,DO],styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();var zO=w(1158);function IO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",15),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().index;return i.oxw().removeValue(s)}),i.TgZ(1,"mat-icon"),i._uU(2," indeterminate_check_box "),i.qZA(),i.qZA()}}function NO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",9),i.TgZ(1,"mat-form-field",10),i._UZ(2,"label",11),i.TgZ(3,"input",12),i.NdJ("click",function(){const a=i.CHM(e).index,r=i.oxw();return r.readonly&&r.attribute.displayName&&r.showValue(r.keys[a],r.attribute.displayName)})("ngModelChange",function(s){const r=i.CHM(e).index;return i.oxw().keys[r]=s}),i.qZA(),i.qZA(),i.TgZ(4,"mat-form-field",10),i._UZ(5,"label",11),i.TgZ(6,"input",13),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)})("ngModelChange",function(s){const r=i.CHM(e).index;return i.oxw().values[r]=s}),i.qZA(),i.qZA(),i.YNc(7,IO,3,0,"button",14),i.qZA()}if(2&n){const e=o.index,t=i.oxw();i.xp6(1),i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.hYB("for","",t.attribute.id,"-key-",e,""),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.hYB("id","",t.attribute.id,"-key-",e,""),i.MGl("name","key-",e,""),i.Q6J("ngModel",t.keys[e])("readonly",t.readonly),i.xp6(1),i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.hYB("for","",t.attribute.id,"-value-",e,""),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.MGl("name","value-",e,""),i.hYB("id","",t.attribute.id,"-value-",e,""),i.Q6J("readonly",t.readonly)("ngModel",t.values[e]),i.xp6(1),i.Q6J("ngIf",!t.readonly)}}function HO(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function BO(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function FO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){return i.CHM(e),i.oxw().onShowChange()}),i.YNc(1,HO,2,0,"mat-icon",17),i.YNc(2,BO,2,0,"mat-icon",17),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.showMore),i.xp6(1),i.Q6J("ngIf",e.showMore)}}function qO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",18),i.NdJ("click",function(){return i.CHM(e),i.oxw().addValue()}),i.TgZ(1,"mat-icon"),i._uU(2," add_box "),i.qZA(),i.qZA()}}let jO=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const e=this.attribute.value;for(const[t,s]of Object.entries(e))this.keys.push(t),this.values.push(s)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Gd(this.attribute))}customTrackBy(e){return e}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(e){this.keys.splice(e,1),this.values.splice(e,1)}updateAttribute(){const e={};for(let t=0;tt.defaultItemsShown),i.xp6(1),i.Q6J("ngIf",!t.readonly))},directives:[tu,Jl,Bc,b.sg,un,qn,bn,vs,dn,zr,b.O5,Yt,xn,fs],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),n})();const YO=["input"],UO=function(n){return{enterDuration:n}},GO=["*"],VO=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:zE});function zE(){return{color:"accent",clickAction:"check-indeterminate"}}let WO=0;const IE=zE(),KO={provide:Wn,useExisting:(0,i.Gpc)(()=>au),multi:!0};class ZO{}const $O=Ic(va(to(ir(class{constructor(n){this._elementRef=n}}))));let au=(()=>{class n extends $O{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++WO,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||IE,this.color=this.defaultColor=this._options.color||IE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=je(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=je(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=je(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new ZO;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(So),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Bn,8),i.Y36(VO,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(YO,5),i.Gf(Ns,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([KO]),i.qOj],ngContentSelectors:GO,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,UO,"NoopAnimations"===t._animationMode?0:150))}},directives:[Ns,ag],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),NE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),eT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt,Rl,NE],gt,NE]}),n})(),tT=(()=>{class n{transform(e){return e.replace(/\s/g,"-").toLowerCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"multiWordDataCy",type:n,pure:!0}),n})();function JO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-checkbox",2),i.NdJ("change",function(){return i.CHM(e),i.oxw()._sendEventToParent()})("ngModelChange",function(s){return i.CHM(e),i.oxw().attribute.value=s}),i.ALo(1,"multiWordDataCy"),i.qZA()}if(2&n){const e=i.oxw();i.Q2q("data-cy","",i.lcZ(1,2,e.attribute.displayName),"-value"),i.Q6J("ngModel",e.attribute.value)}}function eP(n,o){if(1&n&&(i.TgZ(0,"mat-label"),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.attribute.value)}}let tP=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,JO,2,4,"mat-checkbox",0),i.YNc(2,eP,2,1,"mat-label",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.readonly),i.xp6(1),i.Q6J("ngIf",t.readonly))},directives:[b.O5,au,dn,zr,no],pipes:[tT],styles:[""]}),n})();function nP(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function iT(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function rp(n,o){const e=o?"":"none";iT(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function HE(n,o,e){iT(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function By(n,o){return o&&"none"!=o?n+" "+o:n}function BE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function nT(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function sT(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function oT(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function r1(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function FE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,O=h*o;return t>s-O&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:sT(e)})})}handleScroll(o){const e=$s(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&r1(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function jE(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const oe=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),be=this._dropContainer;if(!oe)return void this._endDragSequence(c);(!be||!be.isDragging()&&!be.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new qE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=je(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>rp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>oi(t)),this._handles.forEach(t=>rp(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=oi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,WE),e.addEventListener("touchstart",this._pointerDown,VE)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?oi(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),rp(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),rp(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){a1(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),HE(t,!1,rT),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=a1(e),a=!s&&0!==e.button,r=this._rootElement,c=$s(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?ad(e):Pl(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const $=r.style;this._rootElementTapHighlight=$.webkitTapHighlightColor||"",$.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($=>this._updateOnScroll($)),this._boundaryElement&&(this._boundaryRect=sT(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const O=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:O.x,y:O.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){HE(this._rootElement,!0,rT),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=ZE(r,this._document),this._previewRef=r,o.matchSize?$E(s,a):s.style.transform=Fy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=jE(a),$E(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return iT(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},rT),rp(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function sP(n){const o=getComputedStyle(n),e=nT(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=nT(o,"transition-duration"),r=nT(o,"transition-delay");return BE(a[s])+BE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||$s(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=ZE(this._placeholderRef,this._document)):t=jE(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=a1(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=a1(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=KE(t,c.left+a,c.right-(d.width-a)),s=KE(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,rp(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,WE),o.removeEventListener("touchstart",this._pointerDown,VE)}_applyRootElementTransform(o,e){const t=Fy(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=By(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=Fy(o,e);this._preview.style.transform=By(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:a1(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=$s(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&r1(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return oi(t)}}function Fy(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function KE(n,o,e){return Math.max(o,Math.min(e,n))}function a1(n){return"t"===n.type[0]}function ZE(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function $E(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=Fy(o.left,o.top)}function XE(n,o,e){const t=c1(o,n.length-1),s=c1(e,n.length-1);if(t===s)return;const a=n[t],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new De.xQ,this.entered=new De.xQ,this.exited=new De.xQ,this.dropped=new De.xQ,this.sorted=new De.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new De.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function iP(n=0,o=Gu.P){return(!qp(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Gu.P),new Fi.y(e=>(e.add(o.schedule(nP,n,{subscriber:e,counter:0,period:n})),e))}(0,M1).pipe(it(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=oi(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new qE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else oi(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=oi(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!FE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Le=>Le.drag===o),h=a[r],O=h.clientRect,$=d>r?1:-1,oe=this._getItemOffsetPx(a[d].clientRect,O,$),be=this._getSiblingOffsetPx(d,a,$),ve=a.slice();XE(a,d,r),this.sorted.next({previousIndex:d,currentIndex:r,container:this,item:o}),a.forEach((Le,et)=>{if(ve[et]===Le)return;const Vt=Le.drag===o,Bt=Vt?oe:be,pi=Vt?o.getPlaceholderElement():Le.drag.getRootElement();Le.offset+=Bt,c?(pi.style.transform=By(`translate3d(${Math.round(Le.offset)}px, 0, 0)`,Le.initialTransform),r1(Le.clientRect,0,Bt)):(pi.style.transform=By(`translate3d(0, ${Math.round(Le.offset)}px, 0)`,Le.initialTransform),r1(Le.clientRect,Bt,0))}),this._previousSwap.overlaps=oT(O,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||FE(r.clientRect,.05,o,e)&&([s,a]=function lP(n,o,e,t){const s=ek(o,t),a=tk(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=ek(d,e),a=tk(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=oi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=oi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:sT(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=oi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!oT(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=oi(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{r1(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=Sl(oi(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function ek(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function tk(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const qy=Ko({passive:!1,capture:!0});let uP=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new De.xQ,this.pointerUp=new De.xQ,this.scroll=new De.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,qy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,qy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:qy}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:qy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Fi.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Li.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let aT=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=dP){return new aP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new cP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(Ms),i.LFG(uP))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ik=new i.OlP("CDK_DRAG_PARENT"),nk=new i.OlP("CdkDropListGroup"),sk=new i.OlP("CDK_DRAG_CONFIG");let hP=0;const ok=new i.OlP("CdkDropList");let fP=(()=>{class n{constructor(e,t,s,a,r,c,d){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=a,this._dir=r,this._group=c,this._destroyed=new De.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+hP++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.sorted=new i.vpe,this._unsortedItems=new Set,this._dropListRef=t.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,g)=>this.enterPredicate(h.data,g.data),this._dropListRef.sortPredicate=(h,g,O)=>this.sortPredicate(h,g.data,O.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=je(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(ci(this._dir.value),it(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=vr(this.connectedTo).map(s=>"string"==typeof s?n._dropLists.find(r=>r.id===s):s);if(this._group&&this._group._items.forEach(s=>{-1===t.indexOf(s)&&t.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=je(this.sortingDisabled),e.autoScrollDisabled=je(this.autoScrollDisabled),e.autoScrollStep=on(this.autoScrollStep,2),e.connectedTo(t.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:t,draggingDisabled:s,sortingDisabled:a,listAutoScrollDisabled:r,listOrientation:c}=e;this.disabled=null!=s&&s,this.sortingDisabled=null!=a&&a,this.autoScrollDisabled=null!=r&&r,this.orientation=c||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(aT),i.Y36(i.sBO),i.Y36(mc),i.Y36(Hn,8),i.Y36(nk,12),i.Y36(sk,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id),i.ekj("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[i._Bn([{provide:nk,useValue:void 0},{provide:ok,useExisting:n}])]}),n})();const rk=new i.OlP("CdkDragHandle"),pP=new i.OlP("CdkDragPlaceholder"),gP=new i.OlP("CdkDragPreview");let _P=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.element=e,this.dropContainer=t,this._ngZone=a,this._viewContainerRef=r,this._dir=d,this._changeDetectorRef=g,this._selfHandle=O,this._parentDrag=$,this._destroyed=new De.xQ,this.started=new i.vpe,this.released=new i.vpe,this.ended=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.dropped=new i.vpe,this.moved=new Fi.y(oe=>{const be=this._dragRef.moved.pipe((0,pt.U)(ve=>({source:this,pointerPosition:ve.pointerPosition,event:ve.event,delta:ve.delta,distance:ve.distance}))).subscribe(oe);return()=>{be.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:null==c?void 0:c.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=je(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,$t.q)(1),it(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,s=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var e;const t=this.element.nativeElement;let s=t;this.rootElementSelector&&(s=void 0!==t.closest?t.closest(this.rootElementSelector):null===(e=t.parentElement)||void 0===e?void 0:e.closest(this.rootElementSelector)),this._dragRef.withRootElement(s||t)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):oi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,s=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:on(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,$t.q)(1)).subscribe(()=>{var t;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(s.classList.contains("cdk-drag")){e.withParent((null===(t=n._dragInstances.find(a=>a.element.nativeElement===s))||void 0===t?void 0:t._dragRef)||null);break}s=s.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance,dropPoint:t.dropPoint})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:s,constrainPosition:a,previewClass:r,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:g}=e;this.disabled=null!=d&&d,this.dragStartDelay=s||0,t&&(this.lockAxis=t),a&&(this.constrainPosition=a),r&&(this.previewClass=r),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),g&&(this.previewContainer=g)}_setupHandlesListener(){this._handles.changes.pipe(ci(this._handles),(0,qi.b)(e=>{const t=e.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),(0,mi.w)(e=>(0,Li.T)(...e.map(t=>t._stateChanges.pipe(ci(t))))),it(this._destroyed)).subscribe(e=>{const t=this._dragRef,s=e.element.nativeElement;e.disabled?t.disableHandle(s):t.enableHandle(s)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ok,12),i.Y36(b.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(sk,8),i.Y36(Hn,8),i.Y36(aT),i.Y36(i.sBO),i.Y36(rk,10),i.Y36(ik,12))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,gP,5),i.Suo(s,pP,5),i.Suo(s,rk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._previewTemplate=a.first),i.iGM(a=i.CRH())&&(t._placeholderTemplate=a.first),i.iGM(a=i.CRH())&&(t._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[i._Bn([{provide:ik,useExisting:n}]),i.TTD]}),n})(),bP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[aT],imports:[Cn]}),n})();const yP=["*"],ak=new i.OlP("MatChipRemove"),ck=new i.OlP("MatChipAvatar"),lk=new i.OlP("MatChipTrailingIcon");class AP{constructor(o){this._elementRef=o}}const wP=Ic(va(to(AP),"primary"),-1);let jy=(()=>{class n extends wP{constructor(e,t,s,a,r,c,d,h){super(e),this._ngZone=t,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new De.xQ,this._onBlur=new De.xQ,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=c.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new Jw(this,t,this._chipRippleTarget,s),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=a||{},this._animationsDisabled="NoopAnimations"===d,this.tabIndex=null!=h&&parseInt(h)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=je(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=je(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=je(e)}get removable(){return this._removable}set removable(e){this._removable=je(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",t=this._elementRef.nativeElement;t.hasAttribute(e)||t.tagName.toLowerCase()===e?t.classList.add(e):t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ei),i.Y36(N_,8),i.Y36(i.sBO),i.Y36(b.K0),i.Y36(Bn,8),i.$8M("tabindex"))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ck,5),i.Suo(s,lk,5),i.Suo(s,ak,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.avatar=a.first),i.iGM(a=i.CRH())&&(t.trailingIcon=a.first),i.iGM(a=i.CRH())&&(t.removeIcon=a.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(i.uIk("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),i.ekj("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[i.qOj]}),n})();const uk=new i.OlP("mat-chips-default-options");let CP=0,dk=(()=>{class n{constructor(e,t){this._elementRef=e,this._defaultOptions=t,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new i.vpe,this.placeholder="",this.id="mat-chip-list-input-"+CP++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(e){e&&(this._chipList=e,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=je(e)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(e){this._disabled=je(e)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(9===e.keyCode&&!cn(e,"shiftKey")&&this._chipList._allowFocusEscape(),8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(e){!this.inputElement.value&&!!e&&this._chipList._keydown(e),(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==e||e.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(e){this.inputElement.focus(e)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(e){return!cn(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(uk))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._keydown(a)})("keyup",function(a){return t._keyup(a)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(i.Ikx("id",t.id),i.uIk("disabled",t.disabled||null)("placeholder",t.placeholder||null)("aria-invalid",t._chipList&&t._chipList.ngControl?t._chipList.ngControl.invalid:null)("aria-required",t._chipList&&t._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[i.TTD]}),n})();const SP=qg(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let EP=0;class kP{constructor(o,e){this.source=o,this.value=e}}let hk=(()=>{class n extends SP{constructor(e,t,s,a,r,c,d){super(c,a,r,d),this._elementRef=e,this._changeDetectorRef=t,this._dir=s,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new De.xQ,this._uid="mat-chip-list-"+EP++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(h,g)=>h===g,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=je(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=je(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=je(e),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,Li.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,Li.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,Li.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,Li.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new od(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(it(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(it(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(ci(null),it(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Vn(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&es.deselect()),Array.isArray(e))e.forEach(s=>this._selectValue(s,t)),this._sortValues();else{const s=this._selectValue(e,t);s&&t&&this._keyManager.setActiveItem(s)}}_selectValue(e,t=!0){const s=this.chips.find(a=>null!=a.value&&this._compareWith(a.value,e));return s&&(t?s.selectViaInteraction():s.select(),this._selectionModel.select(s)),s}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;t=Array.isArray(this.selected)?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new kP(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const t=e.chip,s=this.chips.toArray().indexOf(e.chip);this._isValidIndex(s)&&t._hasFocus&&(this._lastDestroyedChipIndex=s)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn,8),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Nc),i.Y36(Ro,10))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,jy,5),2&e){let a;i.iGM(a=i.CRH())&&(t.chips=a)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.Ikx("id",t._uid),i.uIk("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),i.ekj("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[i._Bn([{provide:xd,useExisting:n}]),i.qOj],ngContentSelectors:yP,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n})(),DP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Nc,{provide:uk,useValue:{separatorKeyCodes:[13]}}],imports:[[gt]]}),n})();function xP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",9),i.NdJ("mousedown",function(){return i.CHM(e),i.oxw(2).dragDisabled=!1}),i._uU(1,"drag_indicator"),i.qZA()}}function LP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().edit(s)}),i._uU(1,"edit"),i.qZA()}}function RP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",11),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().remove(s)}),i._uU(1,"cancel"),i.qZA()}}function OP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-chip",4),i.NdJ("removed",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.remove(a),r._sendEventToParent()}),i.YNc(1,xP,2,0,"mat-icon",5),i.TgZ(2,"div",6),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)}),i._uU(3),i.qZA(),i.YNc(4,LP,2,0,"mat-icon",7),i.YNc(5,RP,2,0,"mat-icon",8),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.Q6J("selectable",t.selectable)("cdkDragData",e)("removable",t.removable),i.xp6(1),i.Q6J("ngIf",t.removable),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.xp6(1),i.hij(" ",e," "),i.xp6(1),i.Q6J("ngIf",t.removable),i.xp6(1),i.Q6J("ngIf",t.removable)}}function PP(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function zP(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function IP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",12),i.TgZ(1,"span",13),i.TgZ(2,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().onShowChange()}),i.YNc(3,PP,2,0,"mat-icon",15),i.YNc(4,zP,2,0,"mat-icon",15),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),i.xp6(2),i.Q6J("ngIf",!e.showMore),i.xp6(1),i.Q6J("ngIf",e.showMore)}}function NP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",12),i.TgZ(1,"input",16),i.NdJ("matChipInputTokenEnd",function(s){return i.CHM(e),i.oxw().add(s)})("change",function(){return i.CHM(e),i.oxw()._sendEventToParent()}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(),t=i.MAs(2);i.xp6(1),i.Q6J("matChipInputFor",t)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}}let HP=(()=>{class n{constructor(e){this.dialog=e,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new i.vpe,this.readonly=!1}ngOnInit(){this.removable=!Gd(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(e){const t=e.input,s=e.value;(s||"").trim()&&(this.attribute.value.push(s.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}remove(e){const t=Ri();t.width="400px",t.data={name:e},this.dialog.open(Dx,t).afterClosed().subscribe(a=>{if(a){const r=this.attribute.value.indexOf(e);this.attribute.value.splice(r,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(e){this.dragDisabled=!0,XE(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}edit(e){const t=this.attribute.value.indexOf(e),s=Ri();s.width="600px",s.data={attribute:this.attribute,index:t},this.dialog.open(kx,s).afterClosed().subscribe(r=>{r&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(e,t){const s=Ri();s.width="350px",s.data={value:e,title:t},this.dialog.open(Ry,s)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"mat-chip-list",0,1),i.NdJ("cdkDropListDropped",function(a){return t.drop(a),t._sendEventToParent()}),i.YNc(3,OP,6,9,"mat-chip",2),i.YNc(4,IP,5,4,"div",3),i.YNc(5,NP,2,3,"mat-form-field",3),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Q6J("cdkDropListDisabled",t.dragDisabled),i.xp6(2),i.Q6J("ngForOf",t.values.slice(0,t.itemsShown)),i.xp6(1),i.Q6J("ngIf",t.values.length>t.defaultItemsShown),i.xp6(1),i.Q6J("ngIf",!t.readonly))},directives:[hk,fP,b.sg,jy,_P,b.O5,xn,fs,Yt,un,qn,dk],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),BP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e,t){const s=Ri();s.width="350px",s.data={value:e,title:t},this.dialog.open(Ry,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"input",1),i.NdJ("click",function(){return t.readonly&&void 0!==t.value&&t.showValue(t.value,t.attribute.displayName)})("ngModelChange",function(a){return t.attribute.value=a})("keydown",function(){return t._sendEventToParent()}),i.ALo(2,"multiWordDataCy"),i.qZA(),i.qZA()),2&e&&(i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.value),i.Q2q("data-cy","",i.lcZ(2,6,t.attribute.displayName),"-value"),i.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[un,qn,bn,dn,zr],pipes:[tT],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),FP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Gd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e){const t=Ri();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(Ry,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"input",1),i.NdJ("click",function(){return t.readonly&&void 0!==t.attribute.value&&t.showValue(t.attribute)})("ngModelChange",function(a){return t.attribute.value=a})("keydown",function(){return t._sendEventToParent()}),i.qZA(),i.qZA()),2&e&&(i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.value),i.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[un,qn,iu,bn,dn,zr],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();const qP=["map"];function jP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-boolean",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function YP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-list",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function UP(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function GP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-string",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function VP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-integer",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}let cT=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent2=new i.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){if(1&e&&i.Gf(qP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.mapComponent=s.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,jP,1,2,"perun-web-apps-attribute-value-boolean",0),i.YNc(2,YP,1,2,"perun-web-apps-attribute-value-list",0),i.TgZ(3,"div",1),i.NdJ("click",function(){return t._sendEventToParent2()}),i.YNc(4,UP,2,2,"perun-web-apps-attribute-value-map",2),i.qZA(),i.YNc(5,GP,1,2,"perun-web-apps-attribute-value-string",0),i.YNc(6,VP,1,2,"perun-web-apps-attribute-value-integer",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf","java.lang.Boolean"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.util.ArrayList"===t.attribute.type),i.xp6(2),i.Q6J("ngIf","java.util.LinkedHashMap"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.lang.Integer"===t.attribute.type))},directives:[b.O5,tP,HP,jO,BP,FP],styles:[""]}),n})();function WP(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function KP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw(4).changeLanguage(a)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"uppercase"),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",i.lcZ(2,2,i.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function ZP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",14),i.NdJ("valueChange",function(s){return i.CHM(e),i.oxw(3).currentLang=s}),i.YNc(2,KP,4,6,"mat-option",15),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("value",e.currentLang),i.xp6(1),i.Q6J("ngForOf",e.languages)}}function $P(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"a",17),i._uU(2),i.qZA(),i.TgZ(3,"button",18),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).changeEmail()}),i.TgZ(4,"mat-icon"),i._uU(5," edit "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.MGl("href","mailto:",e.email,"",i.LSH),i.xp6(1),i.Oqu(e.email)}}function XP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw(4).changeTimeZone(a)}),i._uU(1),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function QP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",19),i.NdJ("valueChange",function(s){return i.CHM(e),i.oxw(3).currentTimezone=s}),i.YNc(2,XP,2,2,"mat-option",15),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("value",e.currentTimezone),i.xp6(1),i.Q6J("ngForOf",e.timeZones)}}function JP(n,o){1&n&&(i.TgZ(0,"p"),i._uU(1,"-"),i.qZA())}function ez(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attribute-value",22),2&n){const e=i.oxw(2).$implicit;i.Q6J("attribute",e.attribute)("readonly",!0)}}function tz(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,JP,2,0,"p",20),i.YNc(2,ez,1,2,"perun-web-apps-attribute-value",21),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",!e.attribute.value),i.xp6(1),i.Q6J("ngIf",e.attribute.value)}}function iz(n,o){if(1&n&&(i.TgZ(0,"tr"),i.TgZ(1,"td",7),i.TgZ(2,"div",8),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"td",9),i.YNc(5,ZP,3,2,"mat-form-field",10),i.YNc(6,$P,6,2,"div",11),i.YNc(7,QP,3,2,"mat-form-field",10),i.YNc(8,tz,3,2,"div",12),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(2),i.Q6J("matTooltip",e["tooltip_"+t.currentLang]),i.xp6(1),i.hij(" ",e["displayName_"+t.currentLang]," "),i.xp6(1),i.Q6J("ngSwitch",e.attribute.friendlyName),i.xp6(1),i.Q6J("ngSwitchCase","preferredLanguage"),i.xp6(1),i.Q6J("ngSwitchCase","preferredMail"),i.xp6(1),i.Q6J("ngSwitchCase","timezone")}}function nz(n,o){if(1&n&&(i.TgZ(0,"table",4),i.TgZ(1,"tbody"),i.TgZ(2,"tr"),i.TgZ(3,"td",5),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"td"),i._uU(8),i.qZA(),i.qZA(),i.YNc(9,iz,9,6,"tr",6),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,3,i.lcZ(6,5,"PROFILE_PAGE.NAME"))),i.xp6(4),i.Oqu(e.fullName),i.xp6(1),i.Q6J("ngForOf",e.additionalAttributes)}}let sz=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.translateService=e,this.dialog=t,this.authzResolverService=s,this.attributesManagerService=a,this.usersManagerService=r,this.route=c,this.router=d,this.notificator=h,this.storeService=g,this.apiRequestConfiguration=O,this.preferredLangService=$,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=zO.tz.names().filter(oe=>!oe.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",e.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(oe=>this.successMessage=oe)}ngOnInit(){const e=this.route.snapshot.queryParamMap,t=e.get("token"),s=e.get("u");this.loading=!0,t&&s?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(t,Number.parseInt(s,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const a=Ri();a.width="600px",this.dialog.open(qx,a).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(e=>{this.userId=e.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.fullName=(new wy).transform(t);const s=t.userAttributes.find(g=>"preferredMail"===g.friendlyName);this.email=s.value,this.languageAttribute=t.userAttributes.find(g=>"preferredLanguage"===g.friendlyName);const a=this.languageAttribute&&this.languageAttribute.value?this.languageAttribute.value.toString():null,r=this.preferredLangService.getPreferredLanguage(a);this.translateService.use(r),this.currentLang=r,this.timezoneAttribute=t.userAttributes.find(g=>"timezone"===g.friendlyName),this.currentTimezone=this.timezoneAttribute&&this.timezoneAttribute.value?this.timezoneAttribute.value:"-";const c=this.storeService.get("profile_page_attributes");let d=0;const h=this.storeService.get("supported_languages");c.forEach(g=>{const O=t.userAttributes.find($=>$.friendlyName===g.friendly_name);O?(d++,this.addAttribute(O,g,h)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${g.is_virtual?"virt":"def"}:${g.friendly_name}`).subscribe($=>{this.addAttribute($,g,h),d++,this.loading=d!==c.length}),this.loading=d!==c.length})})})}addAttribute(e,t,s){var a;const r={attribute:e};for(const c of s)r[`displayName_${c}`]=t[`display_name_${c}`]&&t[`display_name_${c}`].length?t[`display_name_${c}`]:e.displayName,r[`tooltip_${c}`]=null!==(a=t[`tooltip_${c}`])&&void 0!==a?a:"";this.additionalAttributes.push(r)}changeLanguage(e){this.currentLang=e,this.translateService.use(this.currentLang),this.languageAttribute?this.setLanguage():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:preferredLanguage").subscribe(t=>{this.languageAttribute=t,this.setLanguage()})}setLanguage(){this.languageAttribute.value=this.currentLang,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.languageAttribute}).subscribe(()=>{this.router.navigate([],{queryParams:{lang:null},queryParamsHandling:"merge"})})}changeTimeZone(e){this.currentTimezone=e,this.timezoneAttribute?this.setTimeZone():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:timezone").subscribe(t=>{this.timezoneAttribute=t,this.setTimeZone()})}setTimeZone(){this.timezoneAttribute.value=this.currentTimezone,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.timezoneAttribute}).subscribe(()=>{})}changeEmail(){const e=Ri();e.width="350px",e.data={userId:this.userId},this.dialog.open(Rx,e).afterClosed().subscribe(s=>{s&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(e=>{this.email=e.value})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai),i.Y36(Ii),i.Y36(Ki),i.Y36(si),i.Y36(Tt),i.Y36(Xn),i.Y36(ji),i.Y36(or),i.Y36(ti),i.Y36(Sv),i.Y36(Ev))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-profile-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3 word-break-all",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"mt-3","word-break-all"],[1,"font-weight-bold"],[4,"ngFor","ngForOf"],[1,"font-weight-bold","att-name-width"],["matTooltipPosition","above",3,"matTooltip"],[1,"w-100",3,"ngSwitch"],["class","center-self",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"center-self"],[1,"mb-auto",3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"center-self",3,"href"],["mat-icon-button","",1,"ml-2",3,"click"],[3,"value","valueChange"],[4,"ngIf"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,WP,1,0,"mat-spinner",1),i.YNc(2,nz,10,7,"table",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Jn,b.sg,fs,b.RF,b.n9,un,Zf,Ca,Yt,xn,b.ED,cT],pipes:[dt,Ci,b.gd],styles:[".center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.word-break-all[_ngcontent-%COMP%]{word-break:break-all}td[_ngcontent-%COMP%]{padding-right:1rem!important}.att-name-width[_ngcontent-%COMP%]{min-width:200px}"]}),n})();const oz=["mat-sort-header",""];function rz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const az=["*"],cu=Yw.ENTERING+" "+jw.STANDARD_CURVE,ap={indicator:Ti("indicator",[ii("active-asc, asc",qe({transform:"translateY(0px)"})),ii("active-desc, desc",qe({transform:"translateY(10px)"})),Ht("active-asc <=> active-desc",Ct(cu))]),leftPointer:Ti("leftPointer",[ii("active-asc, asc",qe({transform:"rotate(-45deg)"})),ii("active-desc, desc",qe({transform:"rotate(45deg)"})),Ht("active-asc <=> active-desc",Ct(cu))]),rightPointer:Ti("rightPointer",[ii("active-asc, asc",qe({transform:"rotate(45deg)"})),ii("active-desc, desc",qe({transform:"rotate(-45deg)"})),Ht("active-asc <=> active-desc",Ct(cu))]),arrowOpacity:Ti("arrowOpacity",[ii("desc-to-active, asc-to-active, active",qe({opacity:1})),ii("desc-to-hint, asc-to-hint, hint",qe({opacity:.54})),ii("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",qe({opacity:0})),Ht("* => asc, * => desc, * => active, * => hint, * => void",Ct("0ms")),Ht("* <=> *",Ct(cu))]),arrowPosition:Ti("arrowPosition",[Ht("* => desc-to-hint, * => desc-to-active",Ct(cu,Er([qe({transform:"translateY(-25%)"}),qe({transform:"translateY(0)"})]))),Ht("* => hint-to-desc, * => active-to-desc",Ct(cu,Er([qe({transform:"translateY(0)"}),qe({transform:"translateY(25%)"})]))),Ht("* => asc-to-hint, * => asc-to-active",Ct(cu,Er([qe({transform:"translateY(25%)"}),qe({transform:"translateY(0)"})]))),Ht("* => hint-to-asc, * => active-to-asc",Ct(cu,Er([qe({transform:"translateY(0)"}),qe({transform:"translateY(-25%)"})]))),ii("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",qe({transform:"translateY(0)"})),ii("hint-to-desc, active-to-desc, desc",qe({transform:"translateY(-25%)"})),ii("hint-to-asc, active-to-asc, asc",qe({transform:"translateY(25%)"}))]),allowChildren:Ti("allowChildren",[Ht("* <=> *",[Eo("@*",zm(),{optional:!0})])])};let Yy=(()=>{class n{constructor(){this.changes=new De.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lz={provide:Yy,deps:[[new i.FiY,new i.tp0,Yy]],useFactory:function cz(n){return n||new Yy}},uz=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),dz=R_(ir(class{}));let Na=(()=>{class n extends dz{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new De.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=je(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function hz(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uz,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const fz=ir(class{});let Uy=(()=>{class n extends fz{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=je(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Li.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Yy),i.Y36(i.sBO),i.Y36(Na,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(So),i.Y36(i.SBq),i.Y36(sd,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:oz,ngContentSelectors:az,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,rz,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[ap.indicator,ap.leftPointer,ap.rightPointer,ap.arrowOpacity,ap.arrowPosition,ap.allowChildren]},changeDetection:0}),n})(),fk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[lz],imports:[[b.ez,gt]]}),n})(),pz=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),pk=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),gz=(()=>{class n{transform(e){const t=e.find(s=>"mail"===s.friendlyName);return t?t.value.toString():"N/A"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getMailFromAttributes",type:n,pure:!0}),n})();function mz(n,o){1&n&&i._UZ(0,"th",18)}function _z(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"span",20),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.TgZ(4,"mat-checkbox",21),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",i.lcZ(2,6,i.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",!e.userExtSource.persistent),i.xp6(3),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled",e.userExtSource.persistent)}}function bz(n,o){1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function yz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.id," ")}}function Az(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function wz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.ALo(2,"getMailFromAttributes"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.attributes)," ")}}function Mz(n,o){if(1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,e.extSourceNameHeader?e.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function vz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function Tz(n,o){if(1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,e.loginHeader?e.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function Cz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.login," ")}}function Sz(n,o){1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Ez(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function kz(n,o){1&n&&i._UZ(0,"tr",26)}const gk=function(n,o){return["/admin","users",n,"identities",o]};function Dz(n,o){if(1&n&&i._UZ(0,"tr",27),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.WLB(6,gk,t.userId,e.userExtSource.id))("routerLink",t.disableRouting?null:i.WLB(9,gk,t.userId,e.userExtSource.id))}}function xz(n,o){1&n&&(i.TgZ(0,"app-alert",28),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Lz(n,o){1&n&&(i.TgZ(0,"app-alert",28),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Rz=(()=>{class n{constructor(e,t){this.route=e,this.authResolver=t,this.selection=new Vn,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(e=>{this.userId=e.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new $c(this.userExtSources),this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":{const s=e.attributes.find(a=>"mail"===a.friendlyName);return s?s.value.toString():"N/A"}case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return e[t]}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e.userExtSource)?"deselect":"select"} row ${e.userExtSource.id+1}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xn),i.Y36(Ga))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(La,7),i.Gf(Na,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[i.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,mz,1,0,"th",4),i.YNc(5,_z,5,10,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,bz,4,5,"th",7),i.YNc(8,yz,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,Az,4,5,"th",10),i.YNc(11,wz,3,3,"td",8),i.BQk(),i.ynx(12,11),i.YNc(13,Mz,4,5,"th",7),i.YNc(14,vz,2,1,"td",8),i.BQk(),i.ynx(15,12),i.YNc(16,Tz,4,5,"th",7),i.YNc(17,Cz,2,1,"td",8),i.BQk(),i.ynx(18,13),i.YNc(19,Sz,4,5,"th",7),i.YNc(20,Ez,3,4,"td",14),i.BQk(),i.YNc(21,kz,1,0,"tr",15),i.YNc(22,Dz,1,12,"tr",16),i.qZA(),i.qZA(),i.qZA(),i.YNc(23,xz,3,3,"app-alert",17),i.YNc(24,Lz,4,5,"app-alert",17)),2&e&&(i.Q6J("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(19),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.userExtSources.length),i.xp6(1),i.Q6J("ngIf",0===t.userExtSources.length))},directives:[La,Ra,Na,Br,Hr,Fr,Nr,qr,fs,au,Uy,Oa,za,Pa,Ia,pk,It,b.O5,es],pipes:[dt,Ci,gz,b.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),n})();function Oz(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function Pz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).addIdentity()}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"button",6),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.removeIdentity(s.certSelection)}),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i._UZ(13,"perun-web-apps-user-ext-sources-list",11),i.qZA()}if(2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,10,i.lcZ(4,12,"IDENTITIES.CERT"))),i.xp6(4),i.hij(" ",i.lcZ(7,14,i.lcZ(8,16,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.certSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(11,18,i.lcZ(12,20,"IDENTITIES.REMOVE"))," "),i.xp6(3),i.Q6J("userExtSources",e.certExtSources)("selection",e.certSelection)("extSourceNameHeader",e.extSourceNameCert)("loginHeader",e.loginCert)("displayedColumns",e.displayedColumnsCert)("disableRouting",!0)}}function zz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",4),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().addIdentity()}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"button",6),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.removeIdentity(s.idpSelection)}),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i._UZ(13,"perun-web-apps-user-ext-sources-list",7),i.YNc(14,Pz,14,22,"div",2),i.TgZ(15,"h1",8),i._uU(16),i.ALo(17,"translate"),i.ALo(18,"customTranslate"),i.TgZ(19,"mat-icon",9),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i._uU(22," info_outline "),i.qZA(),i.qZA(),i._UZ(23,"perun-web-apps-user-ext-sources-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,17,i.lcZ(4,19,"IDENTITIES.IDP"))),i.xp6(4),i.hij(" ",i.lcZ(7,21,i.lcZ(8,23,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.idpSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(11,25,i.lcZ(12,27,"IDENTITIES.REMOVE"))," "),i.xp6(3),i.Q6J("userExtSources",e.idpExtSources)("selection",e.idpSelection)("displayedColumns",e.displayedColumnsIdp)("loginHeader",e.loginIdp)("disableRouting",!0),i.xp6(1),i.Q6J("ngIf",e.displayCertificates),i.xp6(2),i.hij(" ",i.lcZ(17,29,i.lcZ(18,31,"IDENTITIES.OTHER"))," "),i.xp6(3),i.Q6J("matTooltip",i.lcZ(20,33,i.lcZ(21,35,"IDENTITIES.OTHER_TOOLTIP"))),i.xp6(4),i.Q6J("userExtSources",e.otherExtSources)("selection",e.otherSelection)("extSourceNameHeader",e.extSourceNameOther)("displayedColumns",e.displayedColumnsOther)("disableRouting",!0)}}let Iz=(()=>{class n{constructor(e,t,s,a,r){this.usersManagerService=e,this.storage=t,this.registrarManagerService=s,this.dialog=a,this.attributesManagerService=r,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new Vn(!0,[]),this.certSelection=new Vn(!0,[]),this.otherSelection=new Vn(!0,[]),this.loginIdp="IDENTITIES.LOGIN_IDP",this.extSourceNameCert="IDENTITIES.EXT_SOURCE_NAME_CERT",this.loginCert="IDENTITIES.LOGIN_CERT",this.extSourceNameOther="IDENTITIES.EXT_SOURCE_NAME_OTHER",this.displayedColumnsIdp=["select","extSourceName","login","lastAccess"],this.displayedColumnsCert=["select","extSourceName","login","lastAccess"],this.displayedColumnsOther=["extSourceName","login","lastAccess"]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.displayCertificates=this.storage.get("display_identity_certificates"),this.refreshTables()}refreshTables(){this.loading=!0,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.usersManagerService.getRichUserExtSources(this.userId).subscribe(e=>{let t=e.length;e.forEach(s=>{this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(a=>{a&&a.value?(s.userExtSource.extSource.name=a.value,t--,this.loading=0!==t,this.addToList(s)):this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(r=>{t--,r&&r.value&&(s.userExtSource.extSource.name=r.value),this.loading=0!==t,this.addToList(s)})})})})}addIdentity(){this.registrarManagerService.getConsolidatorToken().subscribe(e=>{const t=this.storage.getPerunPrincipal().extSourceType,s=this.storage.get("consolidator_base_url");window.location.href=`${s}${t&&t.endsWith("X509")?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${e}`})}removeIdentity(e){const t=Ri();t.width="600px",t.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(Tx,t).afterClosed().subscribe(a=>{a&&(e.clear(),this.refreshTables())})}addToList(e){e.userExtSource.extSource.type.endsWith("Idp")?this.idpExtSources.push(e):e.userExtSource.extSource.type.endsWith("X509")?this.certExtSources.push(e):this.otherExtSources.push(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(ti),i.Y36(Rn),i.Y36(Ii),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"userExtSources","selection","displayedColumns","loginHeader","disableRouting"],[1,"page-title","mt-5"],["matTooltipPosition","above",1,"center-icon",3,"matTooltip"],[3,"userExtSources","selection","extSourceNameHeader","displayedColumns","disableRouting"],[3,"userExtSources","selection","extSourceNameHeader","loginHeader","displayedColumns","disableRouting"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,Oz,1,0,"mat-spinner",1),i.YNc(2,zz,24,37,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,Jn,Yt,Rz,xn,fs],pipes:[dt,Ci],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n})();const Nz=["panel"];function Hz(n,o){if(1&n&&(i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA()),2&n){const e=o.id,t=i.oxw();i.Q6J("id",t.id)("ngClass",t._classList),i.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}const Bz=["*"];let Fz=0;class qz{constructor(o,e){this.source=o,this.option=e}}const jz=to(class{}),mk=new i.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Yz(){return{autoActiveFirstOption:!1}}});let Uz=(()=>{class n extends jz{constructor(e,t,s,a){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=P.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new i.vpe,this.opened=new i.vpe,this.closed=new i.vpe,this.optionActivated=new i.vpe,this._classList={},this.id="mat-autocomplete-"+Fz++,this.inertGroups=(null==a?void 0:a.SAFARI)||!1,this._autoActiveFirstOption=!!s.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=je(e)}set classList(e){this._classList=e&&e.length?function qu(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e).reduce((t,s)=>(t[s]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Uh(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const t=new qz(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(mk),i.Y36(Ei))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(i.Rgc,7),i.Gf(Nz,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.template=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[i.qOj]}),n})(),Gz=(()=>{class n extends Uz{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Gg,5),i.Suo(s,Ca,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.optionGroups=a),i.iGM(a=i.CRH())&&(t.options=a)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[i._Bn([{provide:Gl,useExisting:n}]),i.qOj],ngContentSelectors:Bz,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Hz,3,4,"ng-template"))},directives:[b.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),n})();const _k=new i.OlP("mat-autocomplete-scroll-strategy"),Wz={provide:_k,deps:[$i],useFactory:function Vz(n){return()=>n.scrollStrategies.reposition()}},Kz={provide:Wn,useExisting:(0,i.Gpc)(()=>bk),multi:!0};let Zz=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this._element=e,this._overlay=t,this._viewContainerRef=s,this._zone=a,this._changeDetectorRef=r,this._dir=d,this._formField=h,this._document=g,this._viewportRuler=O,this._defaults=$,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=P.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new De.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Fo(()=>{const oe=this.autocomplete?this.autocomplete.options:null;return oe?oe.changes.pipe(ci(oe),(0,mi.w)(()=>(0,Li.T)(...oe.map(be=>be.onSelectionChange)))):this._zone.onStable.pipe((0,$t.q)(1),(0,mi.w)(()=>this.optionSelections))}),this._scrollStrategy=c}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=je(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Li.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,qt.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,qt.h)(()=>this._overlayAttached)):(0,Ke.of)()).pipe((0,pt.U)(e=>e instanceof Vg?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Li.T)(ha(this._document,"click"),ha(this._document,"auxclick"),ha(this._document,"touchend")).pipe((0,qt.h)(e=>{const t=$s(e),s=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&(!s||!s.contains(t))&&(!a||!a.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve().then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const t=e.keyCode;if(27===t&&!cn(e)&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen&&!cn(e))this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const s=this.autocomplete._keyManager.activeItem,a=38===t||40===t;this.panelOpen||9===t?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==s)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,s=t.value;"number"===t.type&&(s=""==s?null:parseFloat(s)),this._previousValue!==s&&(this._previousValue=s,this._onChange(s),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe((0,$t.q)(1)),t=this.autocomplete.options.changes.pipe((0,qi.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,E.g)(0));return(0,Li.T)(e,t).pipe((0,mi.w)(()=>{const s=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),s!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,$t.q)(1)).subscribe(s=>this._setValueAndClose(s))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,s=null!=t?t:"";this._formField?this._formField._control.value=s:this._element.nativeElement.value=s,this._previousValue=s}_setValueAndClose(e){const t=e&&e.source;t&&(this._clearPreviousSelectedOption(t),this._setTriggerValue(t.value),this._onChange(t.value),this.autocomplete._emitSelectEvent(t),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(t=>{t!==e&&t.selected&&t.deselect()})}_attachOverlay(){var e;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new _c(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(a=>{(27===a.keyCode&&!cn(a)||38===a.keyCode&&cn(a,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),a.stopPropagation(),a.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const s=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&s!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new Gn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],s=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:s},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:s}];let r;r="above"===this.position?a:"below"===this.position?t:[...t,...a],e.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const t=this.autocomplete,s=Wg(e,t.options,t.optionGroups);if(0===e&&1===s)t._setScrollTop(0);else if(t.panel){const a=t.options.toArray()[e];if(a){const r=a._getHostElement(),c=q_(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(c)}}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36($i),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(_k),i.Y36(Hn,8),i.Y36(Rd,9),i.Y36(b.K0,8),i.Y36(Ms),i.Y36(mk,8))},n.\u0275dir=i.lG2({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[i.TTD]}),n})(),bk=(()=>{class n extends Zz{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&i.NdJ("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(a){return t._handleInput(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[i._Bn([Kz]),i.qOj]}),n})(),$z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wz],imports:[[Ll,Td,gt,b.ez],Cn,Td,gt]}),n})(),Xz=(()=>{class n{transform(e){return e&&e.value?e.value:"never"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"validateExpiration",type:n,pure:!0}),n})();function Qz(n,o){1&n&&i._UZ(0,"th",17)}function Jz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.ALo(2,"validateExpiration"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled","never"===i.lcZ(2,3,e.expirationAttribute))}}function eI(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.NAME"))," "))}function tI(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.entity.name)}}function iI(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))," "))}function nI(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.entity.description)}}function sI(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.EXPIRATION"))," "))}function oI(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.ALo(2,"validateExpiration"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.expirationAttribute)," ")}}function rI(n,o){1&n&&i._UZ(0,"th",20)}function aI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"button",24),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().extend(a)}),i.ALo(2,"validateExpiration"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(1),i.Q6J("disabled","never"===i.lcZ(2,2,e.expirationAttribute)),i.xp6(2),i.hij(" ",i.lcZ(4,4,i.lcZ(5,6,"MEMBERSHIP_LIST.EXTEND"))," ")}}function cI(n,o){1&n&&i._UZ(0,"tr",25)}function lI(n,o){1&n&&i._UZ(0,"tr",26)}function uI(n,o){1&n&&(i.TgZ(0,"app-alert",27),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let yk=(()=>{class n{constructor(){this.members=[],this.searchString="",this.selection=new Vn(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.filterValue="",this.extendMembership=new i.vpe,this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new $c(this.members),this.setDataSource()}getDataForColumn(e,t){switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return e.expirationAttribute&&e.expirationAttribute.value?e.expirationAttribute.value:"never";default:return""}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.entity.id+1}`}extend(e){this.extendMembership.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["matColumnDef","expirationAttribute"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","extend"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell","","mat-sort-header",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Qz,1,0,"th",4),i.YNc(5,Jz,3,5,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,eI,4,5,"th",7),i.YNc(8,tI,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,iI,4,5,"th",7),i.YNc(11,nI,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,sI,4,5,"th",12),i.YNc(14,oI,3,3,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,rI,1,0,"th",7),i.YNc(17,aI,6,8,"td",10),i.BQk(),i.YNc(18,cI,1,0,"tr",14),i.YNc(19,lI,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,uI,4,5,"app-alert",16)),2&e&&(i.Q6J("hidden",!t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length))},directives:[La,Ra,Na,Br,Hr,Fr,Nr,qr,au,Uy,Yt,Oa,za,Pa,Ia,b.O5,es],pipes:[Xz,dt,Ci],styles:[""]}),n})();function dI(n,o){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function hI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",7),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",8),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.TgZ(7,"mat-autocomplete",9,10),i.NdJ("optionSelected",function(s){return i.CHM(e),i.oxw().filterByVo(s)}),i.TgZ(9,"mat-option",11),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i.YNc(13,dI,2,2,"mat-option",12),i.ALo(14,"async"),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(8),t=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,7,"GROUPS.SELECT_VO")),i.xp6(2),i.s9C("placeholder",i.lcZ(5,9,i.lcZ(6,11,"GROUPS.SELECT_VO"))),i.Q6J("formControl",t.myControl)("matAutocomplete",e),i.xp6(3),i.Q6J("displayWith",t.displayFn),i.xp6(3),i.Oqu(i.lcZ(11,13,i.lcZ(12,15,"GROUPS.ALL"))),i.xp6(3),i.Q6J("ngForOf",i.lcZ(14,17,t.filteredVos))}}function fI(n,o){1&n&&i._UZ(0,"mat-spinner",14)}function pI(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"GROUPS.NO_GROUPS"))))}const gI=function(){return["name","description","expirationAttribute","extend"]};function mI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h4",16),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-membership-list",17),i.NdJ("extendMembership",function(s){return i.CHM(e),i.oxw().extendMembership(s)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,4,i.lcZ(4,6,"GROUPS.MEMBER_GROUPS"))),i.xp6(3),i.Q6J("members",e.userMemberships)("selection",e.selection)("displayedColumns",i.DdM(8,gI))}}const _I=function(){return["name","description"]};function bI(n,o){if(1&n&&(i.TgZ(0,"div",18),i.TgZ(1,"h4",16),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i._UZ(5,"perun-web-apps-membership-list",19),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"GROUPS.ADMINS_GROUPS"))),i.xp6(3),i.Q6J("members",e.adminMemberships)("displayedColumns",i.DdM(7,_I))}}let yI=(()=>{class n{constructor(e,t,s,a,r,c){this.usersService=e,this.memberService=t,this.groupService=s,this.store=a,this.vosManagerService=r,this.attributesManagerService=c,this.loading=!1,this.vos=[],this.myControl=new ds,this.selection=new Vn(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}ngOnInit(){this.loading=!0,this.userId=this.store.getPerunPrincipal().userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=this.myControl.valueChanges.pipe(ci(""),(0,pt.U)(t=>this._filter(t))),this.getAllGroups()})}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(s=>s.name.toLowerCase().includes(t))}getAllGroups(){this.loading=!0;let e=0,t=0;this.userMemberships=[],this.adminMemberships=[];const s=this.store.getPerunPrincipal().roles.SELF.Member;s.length?t=s.length:this.loading=!1,s.forEach(a=>{t--,this.groupService.getMemberGroups(a).subscribe(r=>{e+=r.length,this.loading=0===e&&0!==t,r.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(a,c.id).subscribe(d=>{e--,this.userMemberships.push({entity:c,expirationAttribute:d.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==e})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(a=>{a.forEach(r=>{this.adminMemberships.push({entity:r,expirationAttribute:null})})})}displayFn(e){return e?e.name:null}filterByVo(e){if("all"===e.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;const t=e.option.value;this.memberService.getMemberByUser(t.id,this.userId).subscribe(s=>{this.groupService.getMemberGroups(s.id).subscribe(a=>{let r=a.length;this.loading=0!==r,a.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(s.id,c.id).subscribe(d=>{r--,this.userMemberships.push({entity:c,expirationAttribute:d.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==r})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,t.id).subscribe(s=>{s.forEach(a=>{this.adminMemberships.push({entity:a,expirationAttribute:null})})})}}extendMembership(e){const t=this.store.get("registrar_base_url"),s=e.entity,a=this.vos.find(r=>r.id===s.voId).shortName;window.location.href=`${t}?vo=${a}&group=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(An),i.Y36(ti),i.Y36(uo),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-groups-page"]],decls:10,vars:10,consts:[[1,"page-title","pt-2"],[1,"user-theme"],["class","mr-2 w-75",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mr-auto","ml-auto"],["alert_type","warn"],[1,"page-subtitle"],[3,"members","selection","displayedColumns","extendMembership"],[1,"mt-5"],[3,"members","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,hI,15,19,"mat-form-field",2),i.YNc(6,fI,1,0,"mat-spinner",3),i.YNc(7,pI,4,5,"app-alert",4),i.YNc(8,mI,6,9,"div",5),i.YNc(9,bI,6,8,"div",6),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,i.lcZ(3,8,"GROUPS.TITLE"))),i.xp6(4),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.userMemberships.length&&!t.adminMemberships.length&&!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading&&0!==t.userMemberships.length),i.xp6(1),i.Q6J("ngIf",!t.loading&&0!==t.adminMemberships.length))},directives:[b.O5,un,no,qn,bn,bk,dn,so,Gz,Ca,b.sg,Jn,es,yk],pipes:[dt,Ci,b.Ov],styles:[""]}),n})();function AI(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function wI(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let l1=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new ds}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,AI,2,4,"input",1),i.YNc(2,wI,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[un,b.O5,qn,bn,pz,dn,so],pipes:[dt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),n})(),MI=0;const lT=new i.OlP("CdkAccordion");let vI=(()=>{class n{constructor(){this._stateChanges=new De.xQ,this._openCloseAllActions=new De.xQ,this.id="cdk-accordion-"+MI++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=je(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:lT,useExisting:n}]),i.TTD]}),n})(),TI=0,CI=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+TI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=je(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lT,12),i.Y36(i.sBO),i.Y36(bb))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:lT,useValue:void 0}])]}),n})(),SI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const EI=["body"];function kI(n,o){}const DI=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],xI=["mat-expansion-panel-header","*","mat-action-row"];function LI(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const RI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],OI=["mat-panel-title","mat-panel-description","*"],uT=new i.OlP("MAT_ACCORDION"),Ak="225ms cubic-bezier(0.4,0.0,0.2,1)",wk={indicatorRotate:Ti("indicatorRotate",[ii("collapsed, void",qe({transform:"rotate(0deg)"})),ii("expanded",qe({transform:"rotate(180deg)"})),Ht("expanded <=> collapsed, void => collapsed",Ct(Ak))]),bodyExpansion:Ti("bodyExpansion",[ii("collapsed, void",qe({height:"0px",visibility:"hidden"})),ii("expanded",qe({height:"*",visibility:"visible"})),Ht("expanded <=> collapsed, void => collapsed",Ct(Ak))])};let u1=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),PI=0;const Mk=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let d1=(()=>{class n extends CI{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new De.xQ,this._headerId="mat-expansion-panel-header-"+PI++,this._bodyAnimationDone=new De.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(Yh((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=je(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(ci(null),(0,qt.h)(()=>this.expanded&&!this._portal),(0,$t.q)(1)).subscribe(()=>{this._portal=new _c(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uT,12),i.Y36(i.sBO),i.Y36(bb),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Bn,8),i.Y36(Mk,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,u1,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(EI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:uT,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:xI,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(DI),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,kI,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Up],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[wk.bodyExpansion]},changeDetection:0}),n})();class zI{}const II=Ic(zI);let h1=(()=>{class n extends II{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=P.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,qt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):rs.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Li.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,qt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,qt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:cn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(d1,1),i.Y36(i.SBq),i.Y36(So),i.Y36(i.sBO),i.Y36(Mk,8),i.Y36(Bn,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:OI,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(RI),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,LI,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[wk.indicatorRotate]},changeDetection:0}),n})(),Gy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),Vy=(()=>{class n extends vI{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=je(e)}ngAfterContentInit(){this._headers.changes.pipe(ci(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new od(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,h1,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:uT,useExisting:n}]),i.qOj]}),n})(),NI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,SI,Rh]]}),n})();function HI(n,o){1&n&&(i.TgZ(0,"mat-icon",1),i.ALo(1,"translate"),i._uU(2," visibility\n"),i.qZA()),2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let BI=(()=>{class n{constructor(){this.recentIds=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(e,t){1&e&&i.YNc(0,HI,3,3,"mat-icon",0),2&e&&i.Q6J("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[b.O5,xn,fs],pipes:[dt],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),n})();function FI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",4),i._uU(3,"check_circle_outline"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function qI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",5),i._uU(3,"block"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function jI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",6),i._uU(3,"report"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.hYB("matTooltip","",i.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",e.failureCause,"")}}function YI(n,o){1&n&&(i.TgZ(0,"span",7),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",8),i._uU(3,"autorenew"),i.qZA(),i.qZA()),2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let UI=(()=>{class n{constructor(e){this.dialog=e,this.status="",this.statusChange=new i.vpe}changeStatus(){const e=Ri();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(dL,e).afterClosed().subscribe(s=>{s&&this.statusChange.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,FI,4,3,"span",1),i.YNc(2,qI,4,3,"span",1),i.YNc(3,jI,4,4,"span",1),i.YNc(4,YI,4,3,"span",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf","ACTIVE"===t.status),i.xp6(1),i.Q6J("ngIf","INACTIVE"===t.status),i.xp6(1),i.Q6J("ngIf","FAILED"===t.status),i.xp6(1),i.Q6J("ngIf","PROCESSING"===t.status))},directives:[b.O5,fs,xn],pipes:[dt],styles:[""]}),n})(),GI=(()=>{class n{transform(e){if(null==e)return null;let s="";return e.forEach(function(a){s=s.concat(a.tagName)}),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"resourceTagsToString",type:n,pure:!0}),n})(),VI=(()=>{class n{transform(e,t){return t?`/organizations/${e.voId}/resources/${e.id}`:`/facilities/${e.facilityId}/resources/${e.id}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getResourceRoute",type:n,pure:!0}),n})();function WI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function KI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"span",25),i.ALo(2,"translate"),i.TgZ(3,"mat-checkbox",26),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",i.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",!t.disableSelect(e)),i.xp6(2),i.Q2q("data-cy","",e.name,"-checkbox"),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled",t.disableSelect(e))}}function ZI(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function $I(n,o){if(1&n&&(i.TgZ(0,"td",28),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function XI(n,o){1&n&&i._UZ(0,"th",29)}function QI(n,o){if(1&n&&(i.TgZ(0,"td",30),i._UZ(1,"perun-web-apps-recently-viewed-icon",31),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("recentIds",t.recentIds)("id",e.id)}}function JI(n,o){1&n&&i._UZ(0,"th",29)}function e3(n,o){1&n&&(i.TgZ(0,"mat-icon",33),i.ALo(1,"translate"),i._uU(2,"account_tree"),i.qZA()),2&n&&i.Q6J("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function t3(n,o){if(1&n&&(i.TgZ(0,"td",30),i.YNc(1,e3,3,3,"mat-icon",32),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.sourceGroupId)}}function n3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function s3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function o3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function r3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.vo.name)}}function a3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function c3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",30),i.TgZ(1,"perun-web-apps-group-resource-status",34),i.NdJ("mouseenter",function(){return i.CHM(e),i.oxw().disabledRouting=!0})("mouseleave",function(){i.CHM(e);const s=i.oxw();return s.disabledRouting=s.disableRouting})("statusChange",function(){return i.CHM(e),i.oxw().refreshTable.emit()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("theme","group-theme")("resourceId",e.id)("groupId",t.groupId)("failureCause",e.failureCause)("status",e.status)}}function l3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function u3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.facility.name)}}function d3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function h3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.ALo(2,"resourceTagsToString"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.resourceTags)," ")}}function f3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function p3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.description)}}function g3(n,o){1&n&&i._UZ(0,"tr",35)}const m3=function(n){return[n]};function _3(n,o){if(1&n&&(i._UZ(0,"tr",36),i.ALo(1,"getResourceRoute"),i.ALo(2,"getResourceRoute")),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",i.VKq(12,m3,t.disabledRouting?null:i.xi3(1,6,e,t.routingVo)))("routerLink",t.disabledRouting?null:i.xi3(2,9,e,t.routingVo))}}function b3(n,o){1&n&&(i.TgZ(0,"app-alert",37),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function y3(n,o){1&n&&(i.TgZ(0,"app-alert",37),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let A3=(()=>{class n{constructor(e,t){this.guiAuthResolver=e,this.tableCheckbox=t,this.resources=[],this.selection=new Vn(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=Q0,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new i.vpe,this.allSelected=new i.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=s=>!this.disableSelect(s)}set matSort(e){this.sort=e}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.setDataSource(),this.setAuth()}getDataForColumn(e,t,s){switch(t){case"id":return e.id.toString();case"vo":return e.vo.name;case"name":return e.name;case"facility":return e.facility.name;case"description":return e.description;case"recent":return s.recentIds&&s.recentIds.indexOf(e.id)>-1?"#".repeat(s.recentIds.indexOf(e.id)):e.name;case"tags":{if(!e.resourceTags)return e[t];let r="";return e.resourceTags.forEach(function(c){r=r.concat(c.tagName)}),r}case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource||(this.dataSource=new $c,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const e=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(e),e}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const e=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((t,s)=>t&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([s])),!0),this.addAuth=this.selection.selected.reduce((t,s)=>t&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([s])),!0)}itemSelectionToggle(e){this.selection.toggle(e),this.setAuth()}disableSelect(e){return this.resourcesToDisableCheckbox.has(e.id)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ga),i.Y36(kS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[i.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,WI,2,3,"th",4),i.YNc(5,KI,4,9,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,ZI,3,3,"th",7),i.YNc(8,$I,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,XI,1,0,"th",10),i.YNc(11,QI,2,2,"td",11),i.BQk(),i.ynx(12,12),i.YNc(13,JI,1,0,"th",10),i.YNc(14,t3,2,1,"td",11),i.BQk(),i.ynx(15,13),i.YNc(16,n3,3,3,"th",7),i.YNc(17,s3,2,1,"td",11),i.BQk(),i.ynx(18,14),i.YNc(19,o3,3,3,"th",7),i.YNc(20,r3,2,1,"td",11),i.BQk(),i.ynx(21,15),i.YNc(22,a3,3,3,"th",7),i.YNc(23,c3,2,5,"td",11),i.BQk(),i.ynx(24,16),i.YNc(25,l3,3,3,"th",7),i.YNc(26,u3,2,1,"td",11),i.BQk(),i.ynx(27,17),i.YNc(28,d3,3,3,"th",7),i.YNc(29,h3,3,3,"td",11),i.BQk(),i.ynx(30,18),i.YNc(31,f3,3,3,"th",7),i.YNc(32,p3,2,1,"td",11),i.BQk(),i.YNc(33,g3,1,0,"tr",19),i.YNc(34,_3,3,14,"tr",20),i.qZA(),i.qZA(),i.qZA(),i.YNc(35,b3,3,3,"app-alert",21),i.YNc(36,y3,3,3,"app-alert",21)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(31),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),i.xp6(1),i.Q6J("ngIf",0===t.resources.length))},directives:[La,Ra,Na,Br,Hr,Fr,au,Nr,qr,fs,Uy,BI,b.O5,xn,UI,Oa,za,Pa,Ia,pk,It,es],pipes:[dt,GI,VI],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),n})();function w3(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const M3=function(){return["name","description"]};function v3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-resources-list",9),2&n){const e=i.oxw(3);i.Q6J("resources",e.resources)("displayedColumns",i.DdM(3,M3))("disableRouting",!0)}}function T3(n,o){if(1&n&&(i.YNc(0,w3,1,0,"mat-spinner",6),i.YNc(1,v3,1,4,"perun-web-apps-resources-list",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function C3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",4),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMemberData(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,T3,2,2,"ng-template",5),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let S3=(()=>{class n{constructor(e,t,s,a){this.usersManagerService=e,this.membersManagerService=t,this.resourcesManagerService=s,this.storage=a,this.resources=[],this.filteredVos=[]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMemberData(e){this.loading=!0,this.membersManagerService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{this.resources=s,this.loading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-services-page"]],decls:10,vars:11,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"resources","displayedColumns","disableRouting",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"resources","displayedColumns","disableRouting"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"perun-web-apps-immediate-filter",2),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"mat-accordion"),i.YNc(9,C3,5,1,"mat-expansion-panel",3),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"SERVICES.TITLE"))),i.xp6(4),i.Q6J("placeholder",i.lcZ(6,7,i.lcZ(7,9,"SERVICES.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Vy,b.sg,d1,h1,Gy,u1,b.O5,Jn,A3],pipes:[dt,Ci],styles:[""]}),n})();function E3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().applyFilter(s)}),i.qZA()}2&n&&i.Q6J("placeholder","ORGANIZATIONS.FILTER")}function k3(n,o){1&n&&i._UZ(0,"mat-spinner",6)}const D3=function(){return["name","expirationAttribute","extend"]};function x3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-membership-list",11),i.NdJ("extendMembership",function(s){return i.CHM(e),i.oxw(2).extendMembership(s)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("members",e.userMemberships)("selection",e.selection)("filterValue",e.filterValue)("displayedColumns",i.DdM(4,D3))}}function L3(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function R3(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,x3,2,5,"div",9),i.YNc(6,L3,4,5,"app-alert",10),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"ORGANIZATIONS.IS_MEMBER"))),i.xp6(3),i.Q6J("ngIf",0!==e.userMemberships.length),i.xp6(1),i.Q6J("ngIf",0===e.userMemberships.length)}}function O3(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const P3=function(){return["name"]};function z3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-membership-list",14),2&n){const e=i.oxw(2);i.Q6J("members",e.adminMemberships)("filterValue",e.filterValue)("displayedColumns",i.DdM(3,P3))}}function I3(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,O3,4,5,"app-alert",10),i.YNc(6,z3,1,4,"perun-web-apps-membership-list",13),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"ORGANIZATIONS.IS_ADMIN"))),i.xp6(3),i.Q6J("ngIf",!e.adminMemberships.length),i.xp6(1),i.Q6J("ngIf",e.adminMemberships.length)}}let N3=(()=>{class n{constructor(e,t,s){this.usersService=e,this.store=t,this.membersService=s,this.filterValue="",this.selection=new Vn(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}ngOnInit(){this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.user.id,this.refreshTable()}refreshTable(){this.loading=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(t=>{this.vosCount=e.length+t.length,this.fillMemberships(e,this.userMemberships),this.fillMemberships(t,this.adminMemberships)})})}applyFilter(e){this.filterValue=e}isEverythingLoaded(){this.vosCount--,this.loading=0!==this.vosCount}fillMemberships(e,t){this.membersService.getMembersByUser(this.userId).subscribe(s=>{e.forEach(a=>{const r=s.find(c=>c.voId===a.id);r?this.membersService.getRichMemberWithAttributes(r.id).subscribe(c=>{const d=c.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName);t.push({entity:a,expirationAttribute:d}),this.isEverythingLoaded()}):(t.push({entity:a,expirationAttribute:null}),this.isEverythingLoaded())})})}extendMembership(e){const t=this.store.get("registrar_base_url");window.location.href=`${t}?vo=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(ti),i.Y36(Be))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-vos-page"]],decls:9,vars:9,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-5",4,"ngIf"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-5"],[1,"page-subtitle"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"members","selection","filterValue","displayedColumns","extendMembership"],["alert_type","warn"],[3,"members","filterValue","displayedColumns",4,"ngIf"],[3,"members","filterValue","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,E3,1,1,"perun-web-apps-immediate-filter",2),i.YNc(6,k3,1,0,"mat-spinner",3),i.YNc(7,R3,7,7,"div",4),i.YNc(8,I3,7,7,"div",4),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"ORGANIZATIONS.TITLE"))),i.xp6(4),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,l1,Jn,yk,es],pipes:[dt,Ci],styles:[""]}),n})(),H3=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._UZ(1,"router-outlet"),i.qZA())},directives:[Vo],styles:[""]}),n})(),B3=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.password=""}ngOnInit(){this.password=this.data.password}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-generated-password-dialog"]],decls:20,vars:22,consts:[["mat-dialog-title","",1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],["disabled","",1,"center-text",3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"label"),i._UZ(10,"input",2),i.qZA(),i.qZA(),i.TgZ(11,"div",3),i.TgZ(12,"button",4),i.NdJ("click",function(){return t.onClose()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.TgZ(16,"button",5),i._uU(17),i.ALo(18,"translate"),i.ALo(19,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,6,i.lcZ(3,8,"DIALOGS.SHOW_PASSWORD.TITLE")),"\n"),i.xp6(5),i.Oqu(i.lcZ(7,10,i.lcZ(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),i.xp6(4),i.Q6J("value",t.password),i.xp6(3),i.hij(" ",i.lcZ(14,14,i.lcZ(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),i.xp6(3),i.Q6J("cdkCopyToClipboard",t.password),i.xp6(1),i.hij(" ",i.lcZ(18,18,i.lcZ(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[Sn,Fn,En,Yt,qv],pipes:[dt,Ci],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),n})();function F3(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function q3(n,o){1&n&&i._UZ(0,"th",16)}function j3(n,o){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function Y3(n,o){1&n&&i._UZ(0,"tr",18)}function U3(n,o){1&n&&i._UZ(0,"tr",19)}function G3(n,o){if(1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"div",9),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"table",10),i.ynx(10,11),i.YNc(11,q3,1,0,"th",12),i.YNc(12,j3,2,1,"td",13),i.BQk(),i.YNc(13,Y3,1,0,"tr",14),i.YNc(14,U3,1,0,"tr",15),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,i.lcZ(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),i.xp6(4),i.hij(" ",i.lcZ(7,9,i.lcZ(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),i.xp6(3),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let V3=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.usersManagerService=s,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new $c(this.data.description)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.usersManagerService.deleteAlternativePassword(this.data.userId,"einfra",this.data.passwordId).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Tt))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-alt-password-dialog"]],decls:16,vars:17,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","user-theme",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","description"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,F3,1,0,"mat-spinner",2),i.qZA(),i.YNc(6,G3,15,13,"div",3),i.TgZ(7,"div",4),i.TgZ(8,"button",5),i.NdJ("click",function(){return t.onCancel()}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.TgZ(12,"button",6),i.NdJ("click",function(){return t.onSubmit()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(10,9,i.lcZ(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(14,13,i.lcZ(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[Sn,b.O5,Jn,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function W3(n,o){1&n&&i._UZ(0,"th",12)}function K3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",13),i.TgZ(1,"mat-checkbox",14),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function Z3(n,o){if(1&n&&(i.TgZ(0,"th",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.headerColumnText)}}function $3(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function X3(n,o){1&n&&i._UZ(0,"tr",17)}function Q3(n,o){1&n&&i._UZ(0,"tr",18)}function J3(n,o){if(1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.alertText,"\n")}}let vk=(()=>{class n{constructor(){this.values=[],this.selection=new Vn(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"]}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new $c(this.values),this.setDataSource()}getExportDataForColumn(e){return e}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}ngAfterViewInit(){this.setDataSource()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,t){if(1&e&&i.Gf(La,7),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[i.TTD],decls:12,vars:6,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","pl-3","mat-header-cell","",4,"matHeaderCellDef"],["class","truncate pl-3","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,W3,1,0,"th",4),i.YNc(5,K3,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Z3,2,1,"th",7),i.YNc(8,$3,2,1,"td",8),i.BQk(),i.YNc(9,X3,1,0,"tr",9),i.YNc(10,Q3,1,0,"tr",10),i.qZA(),i.qZA(),i.qZA(),i.YNc(11,J3,2,1,"app-alert",11)),2&e&&(i.Q6J("hidden",!t.values.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(7),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.values.length))},directives:[La,Ra,Br,Hr,Fr,Nr,qr,au,Oa,za,Pa,Ia,b.O5,es],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),n})();function eN(n,o){if(1&n&&i._UZ(0,"perun-web-apps-string-list",10),2&n){const e=i.oxw();i.Q6J("values",e.displayedValues)("selection",e.selection)("alertText",e.alertText)("headerColumnText",e.headerColumnText)}}function tN(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let iN=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.usersManagerService=r,this.altPasswordCtrl=new ds(null,[kn.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new Vn(!1,[]),a.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),a.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(c=>this.alertText=c),a.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}ngOnInit(){this.getAltPasswords()}createPassword(){const e=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",e).subscribe(()=>{const t=Ri();t.width="600px",t.data={password:e},this.dialog.open(B3,t),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let s="",a=0;const r=t.length;for(;a<16;++a)s+=t.charAt(Math.random()*r);return s.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),s}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(e=>{if(this.altPasswordsAttribute=e,e.value){const t=Object.keys(e.value);this.passwordDescriptions=new Set(t),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}alreadyContainsValue(e){return this.passwordDescriptions.has(e)}removeAltPasswords(){const e=Ri();e.width="600px",e.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(V3,e).afterClosed().subscribe(s=>{s&&(this.getAltPasswords(),this.selection.clear())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai),i.Y36(Tt))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-alternative-passwords"]],decls:28,vars:35,consts:[[1,"ml-3"],[1,"page-title"],[1,"input-width"],["matInput","","type","text",3,"placeholder","formControl"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["alert_type","info"],[1,"page-subtitle"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"values","selection","alertText","headerColumnText"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"mat-form-field",2),i.TgZ(6,"label",2),i._UZ(7,"input",3),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(10,"button",4),i.NdJ("click",function(){return t.createPassword()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"app-alert",5),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"h1",6),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.TgZ(22,"button",7),i.NdJ("click",function(){return t.removeAltPasswords()}),i._uU(23),i.ALo(24,"translate"),i.ALo(25,"customTranslate"),i.qZA(),i.YNc(26,eN,1,4,"perun-web-apps-string-list",8),i.YNc(27,tN,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,11,i.lcZ(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),i.xp6(5),i.s9C("placeholder",i.lcZ(8,15,i.lcZ(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.altPasswordCtrl),i.xp6(3),i.Q6J("disabled",!t.altPasswordCtrl.valid||t.alreadyContainsValue(t.altPasswordCtrl.value)),i.xp6(1),i.hij(" ",i.lcZ(12,19,i.lcZ(13,21,"ALT_PASSWORDS.GENERATE"))," "),i.xp6(4),i.Oqu(i.lcZ(16,23,i.lcZ(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),i.xp6(4),i.Oqu(i.lcZ(20,27,i.lcZ(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),i.xp6(3),i.Q6J("disabled",t.selection.isEmpty()),i.xp6(1),i.hij(" ",i.lcZ(24,31,i.lcZ(25,33,"ALT_PASSWORDS.REMOVE"))," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[un,qn,bn,dn,so,Yt,es,b.O5,vk,Jn],pipes:[dt,Ci],styles:[""]}),n})();function nN(n,o){if(1&n&&(i.TgZ(0,"mat-list-item",1),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.TgZ(3,"p",2),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.Q6J("routerLink",e.url),i.xp6(2),i.Oqu(e.icon),i.xp6(2),i.Oqu(i.lcZ(5,3,i.lcZ(6,5,e.label)))}}let sN=(()=>{class n{constructor(e){this.storeService=e,this.items=[]}ngOnInit(){this.initItems();const e=this.storeService.get("displayed_tabs");this.items=this.items.filter(t=>e.includes(t.tabName))}initItems(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","","queryParamsHandling","merge",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","","queryParamsHandling","merge",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-list"),i.YNc(1,nN,7,7,"mat-list-item",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Jv,b.sg,Hy,Ns,It,xn],pipes:[dt,Ci],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),n})(),oN=(()=>{class n extends yn{buildStyles(e,{display:t}){const s=$S(e);return Object.assign(Object.assign({},s),{display:"none"===t?t:s.display})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rN=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let aN=(()=>{class n extends hn{constructor(e,t,s,a,r){super(e,s,t,a),this._config=r,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var t;const a=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(t=Ck.get(a))&&void 0!==t?t:new Map,Ck.set(a,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:a}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(oN),i.Y36(Qi),i.Y36(jr))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),Tk=(()=>{class n extends aN{constructor(){super(...arguments),this.inputs=rN}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.qOj]}),n})();const Ck=new Map;let FN=(()=>{class n extends yn{buildStyles(e){const t={};switch(e=e||"stretch"){case"start":t["align-self"]="flex-start";break;case"end":t["align-self"]="flex-end";break;default:t["align-self"]=e}return t}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qN=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let jN=(()=>{class n extends hn{constructor(e,t,s,a){super(e,s,t,a),this.DIRECTIVE_KEY="flex-align",this.styleCache=YN,this.init()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(FN),i.Y36(Qi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const YN=new Map;let kk=(()=>{class n extends jN{constructor(){super(...arguments),this.inputs=qN}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[i.qOj]}),n})(),Dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv,El]]}),n})();function rH(n,o){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.Q6J("value",t.selectedUnit),i.xp6(1),i.hij(" ",e," ")}}let aH=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.rtMessagesService=s,this.notificator=a,this.translate=r,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",r.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new ds(null,[kn.required]),this.newValueControl=new ds(null,[kn.required,kn.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const s=`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${(new wy).transform(this.data.user)} (user ID: ${this.data.user.id})\u21b5 VO: ${this.data.vo.shortName} / ${this.data.vo.name} (vo ID: ${this.data.vo.id})\u21b5 Resource: ${this.data.resource.name} (resource ID: ${this.data.resource.id})\u21b5 Data quota\u21b5 Requested quota: ${this.newValueControl.value}\u21b5 Reason: ${this.reasonControl.value}\u21b5 \u21b5 \u21b5 -------------------------------------\u21b5 Sent from Perun GUI`;this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request",s).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(ni),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-request-change-data-quota-dialog"]],decls:42,vars:42,consts:[["mat-dialog-title","",1,"mb-3"],[1,"user-theme"],[1,"column-size"],["fxLayout","row","fxFlexAlign","center center"],[1,"label-width"],["matInput","","required","","type","number",3,"placeholder","formControl"],[1,"select-width","mt-auto","mb-auto","ml-2",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"form-width"],["matInput","","required","","rows","4",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"div"),i.TgZ(6,"p",2),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"p"),i._uU(11),i.qZA(),i.qZA(),i.TgZ(12,"div"),i.TgZ(13,"p",2),i._uU(14),i.ALo(15,"translate"),i.ALo(16,"customTranslate"),i.qZA(),i.TgZ(17,"p"),i._uU(18),i.qZA(),i.qZA(),i.TgZ(19,"div",3),i.TgZ(20,"mat-form-field"),i.TgZ(21,"label",4),i._UZ(22,"input",5),i.ALo(23,"translate"),i.ALo(24,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(25,"mat-select",6),i.NdJ("valueChange",function(a){return t.selectedUnit=a}),i.YNc(26,rH,2,2,"mat-option",7),i.qZA(),i.qZA(),i.TgZ(27,"div"),i.TgZ(28,"mat-form-field",8),i.TgZ(29,"label",4),i._UZ(30,"textarea",9),i.ALo(31,"translate"),i.ALo(32,"customTranslate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(33,"div",10),i.TgZ(34,"button",11),i.NdJ("click",function(){return t.onCancel()}),i._uU(35),i.ALo(36,"translate"),i.ALo(37,"customTranslate"),i.qZA(),i.TgZ(38,"button",12),i.NdJ("click",function(){return t.onSubmit()}),i._uU(39),i.ALo(40,"translate"),i.ALo(41,"customTranslate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,14,i.lcZ(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE")),"\n"),i.xp6(6),i.hij(" ",i.lcZ(8,18,i.lcZ(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))," "),i.xp6(4),i.Oqu(t.resource),i.xp6(3),i.hij(" ",i.lcZ(15,22,i.lcZ(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))," "),i.xp6(4),i.Oqu(t.currentQuota),i.xp6(4),i.s9C("placeholder",i.lcZ(23,26,i.lcZ(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),i.Q6J("formControl",t.newValueControl),i.xp6(3),i.Q6J("value",t.selectedUnit),i.xp6(1),i.Q6J("ngForOf",t.units),i.xp6(4),i.s9C("placeholder",i.lcZ(31,30,i.lcZ(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),i.Q6J("formControl",t.reasonControl),i.xp6(5),i.hij(" ",i.lcZ(36,34,i.lcZ(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",t.reasonControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(40,38,i.lcZ(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[Sn,Tk,kk,un,qn,iu,bn,vs,dn,so,Zf,b.sg,Ca,En,Yt],pipes:[dt,Ci],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.form-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}.label-width[_ngcontent-%COMP%]{width:100%}.select-width[_ngcontent-%COMP%]{width:4rem}.mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%], .mat-input-ripple.mat-form-field-ripple[_ngcontent-%COMP%]{display:none}"]}),n})();function cH(n,o){1&n&&i._UZ(0,"mat-spinner",8)}function lH(n,o){1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function uH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"p"),i.TgZ(2,"strong"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i._uU(6),i.qZA(),i.TgZ(7,"p",10),i._uU(8),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.TgZ(11,"button",11),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit,a=i.oxw(3).$implicit;return i.oxw().requestChangeQuota(a,s)}),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(5);i.xp6(3),i.Oqu(i.lcZ(4,4,i.lcZ(5,6,"DATA_QUOTAS.QUOTA"))),i.xp6(3),i.hij(" ",e.quotasMarkup," "),i.xp6(2),i.Oqu(i.lcZ(9,8,i.lcZ(10,10,"DATA_QUOTAS.QUOTA_INFO"))),i.xp6(4),i.hij(" ",i.lcZ(13,12,i.lcZ(14,14,"DATA_QUOTAS.CHANGE"))," ")}}function dH(n,o){1&n&&(i.TgZ(0,"p"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function hH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(4).getResAttributes(a.id)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,uH,15,16,"div",7),i.YNc(5,dH,4,5,"p",7),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw(4);i.xp6(3),i.hij(" ",e.name," "),i.xp6(1),i.Q6J("ngIf",t.defaultQuota),i.xp6(1),i.Q6J("ngIf",!t.defaultQuota)}}function fH(n,o){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,hH,6,3,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function pH(n,o){if(1&n&&(i.YNc(0,cH,1,0,"mat-spinner",5),i.YNc(1,lH,4,5,"app-alert",6),i.YNc(2,fH,2,1,"mat-accordion",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",0===e.resources.length&&!e.loading),i.xp6(1),i.Q6J("ngIf",e.resources.length&&!e.loading)}}function gH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMembersResources(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,pH,3,3,"ng-template",4),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let mH=(()=>{class n{constructor(e,t,s,a,r,c){this.store=e,this.usersManagerService=t,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.dialog=c,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMembersResources(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getResourceAttributes(r.id).subscribe(c=>{a--,c.find(d=>"defaultDataQuotas"===d.friendlyName)&&this.resources.push(r),this.loading=0!==a})})})})}getResAttributes(e){this.attributesManagerService.getResourceAttributes(e).subscribe(t=>{let s=t.find(a=>"dataQuotas"===a.friendlyName);if(s&&s.value){const a=Object.keys(s.value);this.currentQuota=s.value[a[0]]}else this.currentQuota="";if(s=t.find(a=>"defaultDataQuotas"===a.friendlyName),s){const a=Object.keys(s.value);this.defaultQuota=s.value[a[0]]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}parseMarkup(){let e="";e+=this.currentQuota,e+=` (default: ${this.defaultQuota})`,e=e.split(":").join(" : ").split("K").join(" KiB").split("M").join(" MiB").split("G").join(" GiB").split("T").join(" TiB").split("E").join(" EiB"),this.quotasMarkup=e}requestChangeQuota(e,t){const s=Ri();s.width="400px",s.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(aH,s)}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(si),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"perun-web-apps-immediate-filter",1),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,gH,5,1,"mat-expansion-panel",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"DATA_QUOTAS.TITLE"))),i.xp6(3),i.Q6J("placeholder",i.lcZ(5,7,i.lcZ(6,9,"DATA_QUOTAS.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Vy,b.sg,d1,h1,Gy,u1,b.O5,Jn,es,Yt],pipes:[dt,Ci],styles:[""]}),n})();function _H(n,o){1&n&&i._UZ(0,"mat-spinner",8)}function bH(n,o){1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function yH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(4).getOptOutAttribute(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"div",10),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"mat-checkbox",11),i.NdJ("change",function(){return i.CHM(e),i.oxw(4).setOptOut()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw(4);i.xp6(3),i.hij(" ",e.name," "),i.xp6(3),i.Oqu(i.lcZ(7,3,i.lcZ(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),i.xp6(3),i.Q6J("checked",t.optOutAttribute&&null!==t.optOutAttribute.value)}}function AH(n,o){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,yH,10,7,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function wH(n,o){if(1&n&&(i.YNc(0,_H,1,0,"mat-spinner",5),i.YNc(1,bH,4,5,"app-alert",6),i.YNc(2,AH,2,1,"mat-accordion",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",0===e.resources.length&&!e.loading),i.xp6(1),i.Q6J("ngIf",e.resources.length&&!e.loading)}}function MH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMailingLists(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,wH,3,3,"ng-template",4),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let vH=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.usersManagerService=t,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMailingLists(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,r.id).subscribe(c=>{this.attributesManagerService.getResourceAttributeByName(r.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(d=>{a--;const h=c.find(g=>"optOutMailingList"===g.friendlyName);h&&!(d&&"true"===d.value)&&(this.optOuts.push({resource:r.id,member:t.id,attribute:h}),this.resources.push(r)),this.loading=0!==a})})})})})}getOptOutAttribute(e){this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}setOptOut(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{console.log("done")})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"perun-web-apps-immediate-filter",1),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,MH,5,1,"mat-expansion-panel",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),i.xp6(3),i.Q6J("placeholder",i.lcZ(5,7,i.lcZ(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Vy,b.sg,d1,h1,Gy,u1,b.O5,Jn,es,au],pipes:[dt,Ci],styles:[""]}),n})();function TH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function CH(n,o){1&n&&i._UZ(0,"th",17)}function SH(n,o){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function EH(n,o){1&n&&i._UZ(0,"tr",19)}function kH(n,o){1&n&&i._UZ(0,"tr",20)}function DH(n,o){if(1&n&&(i.TgZ(0,"table",11),i.ynx(1,12),i.YNc(2,CH,1,0,"th",13),i.YNc(3,SH,2,1,"td",14),i.BQk(),i.YNc(4,EH,1,0,"tr",15),i.YNc(5,kH,1,0,"tr",16),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function xH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",1),i.TgZ(1,"div",5),i.TgZ(2,"p"),i._uU(3),i.qZA(),i.TgZ(4,"div",6),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,DH,6,3,"table",7),i.qZA(),i.TgZ(9,"div",8),i.TgZ(10,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",e.description," "),i.xp6(2),i.hij(" ",i.lcZ(6,5,i.lcZ(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),i.xp6(3),i.Q6J("ngIf",e.dataSource.data.length),i.xp6(3),i.hij(" ",i.lcZ(12,9,i.lcZ(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(16,13,i.lcZ(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let Ky=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new $c(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let e=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?e.splice(this.data.valueIndex,1):e=e.filter(t=>!this.data.values.find(s=>s===t)),this.data.attribute.value=e}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-string-value-dialog"]],decls:5,vars:3,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","user-theme",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["class","w-100","mat-table","",3,"dataSource",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i.YNc(3,TH,1,0,"mat-spinner",2),i.qZA(),i.YNc(4,xH,18,17,"div",3)),2&e&&(i.xp6(1),i.Oqu(t.title),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function LH(n,o){1&n&&(i.TgZ(0,"app-alert",5),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function RH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",11),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).changeValue()}),i._uU(1),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e)}}function OH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item"),i.TgZ(1,"mat-form-field",7),i.TgZ(2,"mat-select",8),i.NdJ("valueChange",function(s){const r=i.CHM(e).index;return i.oxw(2).shells[r]=s}),i.YNc(3,RH,2,2,"mat-option",9),i.qZA(),i.qZA(),i.TgZ(4,"button",10),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).removeShell(a)}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.index,t=i.oxw(2);i.xp6(2),i.Q6J("value",t.shells[e]),i.xp6(1),i.Q6J("ngForOf",t.defaultShells),i.xp6(2),i.hij(" ",i.lcZ(6,3,i.lcZ(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON"))," ")}}function PH(n,o){if(1&n&&(i.TgZ(0,"mat-list"),i.YNc(1,OH,8,7,"mat-list-item",6),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.shells)}}let zH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],a.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e)}),this.getAttribute()}addShell(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{console.log("done")})}removeShell(e){const t=Ri();t.width="600px",t.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,t).afterClosed().subscribe(a=>{a&&this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(e=>{this.prefShellsAttribute=e,this.shells=this.prefShellsAttribute.value?this.prefShellsAttribute.value:[],this.loading=!1})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-shells"]],decls:14,vars:17,consts:[[1,"page-title"],["alert_type","info"],["mat-flat-button","","color","accent",3,"click"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["alert_type","warn"],[4,"ngFor","ngForOf"],[1,"w-100"],[3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[3,"value","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"app-alert",1),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"button",2),i.NdJ("click",function(){return t.addShell()}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.YNc(12,LH,4,5,"app-alert",3),i.YNc(13,PH,2,1,"mat-list",4)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"PREFERRED_SHELLS.TITLE"))),i.xp6(4),i.hij(" ",i.lcZ(6,9,i.lcZ(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),i.xp6(4),i.hij(" ",i.lcZ(10,13,i.lcZ(11,15,"PREFERRED_SHELLS.NEW_BUTTON")),"\n"),i.xp6(3),i.Q6J("ngIf",!t.loading&&0===t.shells.length),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[es,Yt,b.O5,Jv,b.sg,Hy,un,Zf,Ca],pipes:[dt,Ci],styles:[""]}),n})();function IH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function NH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field",6),i.TgZ(3,"label",6),i._UZ(4,"input",7),i.qZA(),i.qZA(),i.qZA(),i.TgZ(5,"div",8),i.TgZ(6,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Q6J("formControl",e.inputControl),i.xp6(3),i.hij(" ",i.lcZ(8,4,i.lcZ(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",!e.inputControl.valid||e.groups.includes(e.inputControl.value)),i.xp6(1),i.hij(" ",i.lcZ(12,8,i.lcZ(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let HH=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.groups=[]}ngOnInit(){this.inputControl=new ds(null,kn.required),this.groups=this.data.groups}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.data.userId,`urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:${this.data.namespace}`).subscribe(e=>{const t=e.value?e.value:[];t.push(this.inputControl.value),e.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:e}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-unix-group-dialog"]],decls:7,vars:7,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","required","",1,"w-100",3,"formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,IH,1,0,"mat-spinner",2),i.YNc(6,NH,14,12,"div",3),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,Jn,Fn,un,qn,bn,vs,dn,so,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function BH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.TgZ(1,"h4"),i._uU(2),i.qZA(),i.TgZ(3,"button",3),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().addGroupName(a)}),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"button",4),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index;return i.oxw().removeGroupName(a,r)}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i._UZ(10,"perun-web-apps-string-list",5),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(2),i.Oqu(e),i.xp6(2),i.hij(" ",i.lcZ(5,8,i.lcZ(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))," "),i.xp6(3),i.Q6J("disabled",0===s.selectionList[t].selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")," "),i.xp6(2),i.Q6J("values",s.groupNames.get(e))("selection",s.selectionList[t])("alertText",s.alertText)("headerColumnText",s.headerColumnText)}}let FH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(r=>this.alertText=r),a.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.namespaces=this.store.get("preferred_unix_group_names"),this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(e=>this.alertText=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.initSelection(),this.namespaces.forEach(e=>{this.getAttribute(e)})}initSelection(){for(let e=0;e{this.groupNames.set(e,t.value?t.value:[]),this.groupNameAttributes.push(t)})}addGroupName(e){const t=this.groupNames.get(e),s=Ri();s.width="400px",s.data={groups:t,namespace:e,userId:this.userId},this.dialog.open(HH,s).afterClosed().subscribe(r=>{r&&this.getAttribute(e)})}removeGroupName(e,t){const s=Ri();s.width="600px",s.data={values:this.selectionList[t].selected,attribute:this.groupNameAttributes[t],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,s).afterClosed().subscribe(r=>{r&&(this.selectionList[t].clear(),this.getAttribute(e))})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-unix-group-names"]],decls:5,vars:6,consts:[[1,"page-title"],["class","mt-4",4,"ngFor","ngForOf"],[1,"mt-4"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,BH,11,14,"div",1)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,2,i.lcZ(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),i.xp6(3),i.Q6J("ngForOf",t.namespaces))},directives:[b.sg,Yt,vk],pipes:[dt,Ci],styles:[""]}),n})();function qH(n,o){1&n&&(i.TgZ(0,"app-alert",7),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"ALERTS.NO_SAMBA")),"\n"))}function jH(n,o){1&n&&(i.TgZ(0,"app-alert",7),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function YH(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let UH=(()=>{class n{constructor(e,t,s,a,r){this.attributesManagerService=e,this.store=t,this.usersManagerService=s,this.notificator=a,this.translate=r,r.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),r.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(c=>this.showPwdTooltip=c),r.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(c=>this.hidePwdTooltip=c)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new ds("",[kn.pattern("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")]),this.getSambaAttribute()}setSambaPassword(){this.sambaAttribute.value=this.sambaControl.value;const e=(new Date).getTime().toString();this.usersManagerService.createAlternativePassword(this.userId,e,"samba-du",this.sambaControl.value).subscribe(()=>{this.sambaControl.setValue(""),this.getSambaAttribute(),this.notificator.showSuccess(this.successMessage)})}getSambaAttribute(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:samba-du").subscribe(e=>{this.sambaExists=!!e.value,this.sambaAttribute=e})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(si),i.Y36(ti),i.Y36(Tt),i.Y36(or),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-samba-password"]],decls:19,vars:23,consts:[[1,"page-title"],["alert_type","warn",4,"ngIf"],[1,"input-width"],["matInput","",3,"formControl","type","placeholder"],["disableRipple","","mat-icon-button","",3,"matTooltip","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["alert_type","error",4,"ngIf"],["alert_type","warn"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,qH,4,5,"app-alert",1),i.YNc(5,jH,4,5,"app-alert",1),i.TgZ(6,"mat-form-field",2),i.TgZ(7,"label",2),i._UZ(8,"input",3),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(11,"button",4),i.NdJ("click",function(){return t.showPassword=!t.showPassword}),i.TgZ(12,"mat-icon"),i._uU(13),i.qZA(),i.qZA(),i.TgZ(14,"button",5),i.NdJ("click",function(){return t.setSambaPassword()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.YNc(18,YH,4,5,"app-alert",6)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,11,i.lcZ(3,13,"SAMBA_PASSWORD.TITLE"))),i.xp6(3),i.Q6J("ngIf",!t.sambaExists),i.xp6(1),i.Q6J("ngIf",t.sambaExists),i.xp6(3),i.s9C("placeholder",i.lcZ(9,15,i.lcZ(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.sambaControl)("type",t.showPassword?"text":"password"),i.xp6(3),i.Q6J("matTooltip",t.showPassword?t.hidePwdTooltip:t.showPwdTooltip),i.xp6(2),i.Oqu(t.showPassword?"visibility_off":"visibility"),i.xp6(1),i.Q6J("disabled",0===t.sambaControl.value.length||t.sambaControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(16,19,i.lcZ(17,21,"SAMBA_PASSWORD.SET_PASSWORD")),"\n"),i.xp6(3),i.Q6J("ngIf",t.sambaControl.invalid))},directives:[b.O5,es,un,qn,bn,dn,so,Yt,fs,xn],pipes:[dt,Ci],styles:[""]}),n})();function GH(n,o){1&n&&(i.TgZ(0,"mat-error",8),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_SSH.INVALID_TYPE"))))}class Ha{constructor(o,e,t){this.dialogRef=o,this.data=e,this.attributesManagerService=t}ngOnInit(){this.sshControl=new ds(null,[kn.required,kn.pattern(Ha.sshKeyPattern)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){const o=this.data.attribute.value?this.data.attribute.value:[];o.includes(this.sshControl.value)||o.push(this.sshControl.value),this.data.attribute.value=o,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)},()=>{o.pop()})}}Ha.allowedSshKeys=["ssh-ed25519","ssh-ed25519-cert-v01@openssh.com","sk-ssh-ed25519@openssh.com","sk-ssh-ed25519-cert-v01@openssh.com","ssh-rsa","ssh-dss","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521","sk-ecdsa-sha2-nistp256@openssh.com","ssh-rsa-cert-v01@openssh.com","ssh-dss-cert-v01@openssh.com","ecdsa-sha2-nistp256-cert-v01@openssh.com","ecdsa-sha2-nistp384-cert-v01@openssh.com","ecdsa-sha2-nistp521-cert-v01@openssh.com","sk-ecdsa-sha2-nistp256-cert-v01@openssh.com"],Ha.sshKeyPattern="^("+Ha.allowedSshKeys.join("|")+").+$",Ha.\u0275fac=function(o){return new(o||Ha)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},Ha.\u0275cmp=i.Xpm({type:Ha,selectors:[["perun-web-apps-add-ssh-dialog"]],decls:20,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[1,"input-width"],["matInput","","required","","cdkTextareaAutosize","","cdkAutosizeMinRows","4",3,"placeholder","formControl"],["class","white-space-pre",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"white-space-pre"]],template:function(o,e){1&o&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"mat-form-field",2),i.TgZ(6,"label",2),i._UZ(7,"textarea",3),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.YNc(10,GH,4,5,"mat-error",4),i.qZA(),i.qZA(),i.TgZ(11,"div",5),i.TgZ(12,"button",6),i.NdJ("click",function(){return e.onCancel()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.TgZ(16,"button",7),i.NdJ("click",function(){return e.onSubmit()}),i._uU(17),i.ALo(18,"translate"),i.ALo(19,"customTranslate"),i.qZA(),i.qZA()),2&o&&(i.xp6(1),i.Oqu(i.lcZ(2,7,i.lcZ(3,9,"DIALOGS.ADD_SSH.TITLE"))),i.xp6(6),i.s9C("placeholder",i.lcZ(8,11,i.lcZ(9,13,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),i.Q6J("formControl",e.sshControl),i.xp6(3),i.Q6J("ngIf",e.sshControl.invalid&&e.sshControl.dirty),i.xp6(3),i.hij(" ",i.lcZ(14,15,i.lcZ(15,17,"DIALOGS.ADD_SSH.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",e.sshControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(18,19,i.lcZ(19,21,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[Sn,Fn,un,qn,My,bn,vs,dn,so,b.O5,Zl,En,Yt],pipes:[dt,Ci],styles:[".input-width{width:100%}.white-space-pre{white-space:pre-wrap}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper{padding-bottom:0}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper,perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}\n"],encapsulation:2});let VH=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.sshKey=this.data.value}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-ssh-dialog"]],decls:8,vars:6,consts:[[1,"user-theme"],["matInput","","cdkTextareaAutosize","","readonly","",1,"w-100","display-fix"],["mat-flat-button","","color","warn",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"textarea",1),i._uU(2),i.qZA(),i.qZA(),i.TgZ(3,"mat-dialog-actions"),i.TgZ(4,"button",2),i.NdJ("click",function(){return t.onClose()}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(t.sshKey),i.xp6(3),i.hij(" ",i.lcZ(6,2,i.lcZ(7,4,"DIALOGS.SHOW_SSH.CLOSE"))," "))},directives:[qn,My,En,Yt],pipes:[dt,Ci],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}*[_ngcontent-%COMP%]:focus{outline:none}"]}),n})();function WH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"p",5),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showWholeKey(a)}),i._uU(2),i.qZA(),i.TgZ(3,"button",6),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.TgZ(6,"mat-icon"),i._uU(7," file_copy "),i.qZA(),i.qZA(),i.TgZ(8,"button",7),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().removeKey(a,!1)}),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.TgZ(11,"mat-icon"),i._uU(12," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.s9C("matTooltip",i.lcZ(4,4,i.lcZ(5,6,"SSH_KEYS.COPY_TOOLTIP"))),i.Q6J("cdkCopyToClipboard",e),i.xp6(5),i.s9C("matTooltip",i.lcZ(9,8,i.lcZ(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function KH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"label",8),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showWholeKey(a)}),i._uU(2),i.qZA(),i.TgZ(3,"button",9),i.TgZ(4,"mat-icon"),i._uU(5," file_copy "),i.qZA(),i.qZA(),i.TgZ(6,"button",10),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().removeKey(a,!0)}),i.TgZ(7,"mat-icon"),i._uU(8," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.Q6J("cdkCopyToClipboard",e)}}let ZH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.adminKeys=[],this.userKeys=[],this.userUrn="urn:perun:user:attribute-def:def:sshPublicKey",this.adminUrn="urn:perun:user:attribute-def:def:sshPublicAdminKey",this.selection=new Vn(!1,[]),this.selectionAdmin=new Vn(!1,[]),a.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(r=>this.alertText=r),a.get("SSH_KEYS.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_ALT_PASSWORDS").subscribe(e=>this.alertText=e),this.translateService.get("SSH_KEYS.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.loading=!0,this.getUserSSH(),this.getAdminSSH()}addKey(e){const t=Ri();t.width="850px",t.data={attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(Ha,t).afterClosed().subscribe(a=>{a&&(e?this.getAdminSSH():this.getUserSSH())})}removeKey(e,t){const s=Ri();s.width="600px",s.data={values:[e],attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,s).afterClosed().subscribe(r=>{r&&(this.loading=!0,t?(this.getAdminSSH(),this.selectionAdmin.clear()):(this.getUserSSH(),this.selection.clear()))})}getUserSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.userUrn).subscribe(e=>{this.userKeyAttribute=e,this.userKeys=e.value,this.loading=!1})}getAdminSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.adminUrn).subscribe(e=>{this.adminKeyAttribute=e,this.adminKeys=e.value,this.loading=!1})}showWholeKey(e){const t=Ri();t.width="600px",t.data={value:e},this.dialog.open(VH,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-ssh-keys"]],decls:28,vars:32,consts:[[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["class","dark-hover-list-item","matRipple","","style","width: auto",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item",2,"width","auto"],[1,"truncate","center-content","cursor-pointer",3,"click"],["color","accent","mat-icon-button","",1,"ml-auto","center-content",3,"cdkCopyToClipboard","matTooltip"],["color","warn","mat-icon-button","",1,"ml-2","center-content",3,"matTooltip","click"],[1,"truncate","center-content",3,"click"],["mat-icon-button","","color","accent",1,"ml-auto","center-content",3,"cdkCopyToClipboard"],["mat-icon-button","","color","warn",1,"ml-2","center-content",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"p"),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"button",1),i.NdJ("click",function(){return t.addKey(!1)}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.TgZ(12,"mat-list"),i.YNc(13,WH,13,12,"mat-list-item",2),i.qZA(),i.TgZ(14,"h1",3),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"p"),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.TgZ(22,"button",1),i.NdJ("click",function(){return t.addKey(!0)}),i._uU(23),i.ALo(24,"translate"),i.ALo(25,"customTranslate"),i.qZA(),i.TgZ(26,"mat-list"),i.YNc(27,KH,9,2,"mat-list-item",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,8,i.lcZ(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),i.xp6(4),i.Oqu(i.lcZ(6,12,i.lcZ(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),i.xp6(4),i.hij(" ",i.lcZ(10,16,i.lcZ(11,18,"SSH_KEYS.NEW_KEY")),"\n"),i.xp6(4),i.Q6J("ngForOf",t.userKeys),i.xp6(2),i.Oqu(i.lcZ(16,20,i.lcZ(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),i.xp6(4),i.Oqu(i.lcZ(20,24,i.lcZ(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),i.xp6(4),i.hij(" ",i.lcZ(24,28,i.lcZ(25,30,"SSH_KEYS.NEW_KEY")),"\n"),i.xp6(4),i.Q6J("ngForOf",t.adminKeys))},directives:[Yt,Jv,b.sg,Hy,Ns,qv,fs,xn],pipes:[dt,Ci],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}label[_ngcontent-%COMP%]:hover, .cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})(),$H=(()=>{class n{transform(e){return"virt"===e.namespace.split(":")[4]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"isVirtualAttribute",type:n,pure:!0}),n})();function XH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())("aria-label",e.checkboxLabel())}}function QH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"mat-checkbox",20),i.NdJ("click",function(s){return s.stopPropagation()})("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null}),i.ALo(2,"multiWordDataCy"),i.ALo(3,"isVirtualAttribute"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q2q("data-cy","",i.lcZ(2,4,e.displayName),"-checkbox"),i.Q6J("checked",t.selection.isSelected(e))("disabled",i.lcZ(3,6,e)||!e.writable)("aria-label",t.checkboxLabel(e))}}function JH(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function eB(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function tB(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function iB(n,o){if(1&n&&(i.TgZ(0,"td",23),i.TgZ(1,"div",24),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",t.getAttributeFullName(e)),i.xp6(1),i.hij(" ",e.displayName," ")}}function nB(n,o){1&n&&(i.TgZ(0,"th",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function sB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",23),i.TgZ(1,"perun-web-apps-attribute-value",26),i.NdJ("sendEventToParent2",function(){const a=i.CHM(e).$implicit;return i.oxw().onValueChange(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("attribute",e)("readonly",t.readonly||!e.writable)}}function oB(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function rB(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.description)}}function aB(n,o){1&n&&i._UZ(0,"tr",27)}function cB(n,o){if(1&n&&(i._UZ(0,"tr",28),i.ALo(1,"translate")),2&n){const e=o.$implicit,t=i.oxw();i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),i.Q6J("matTooltipPosition","before")("matTooltipDisabled",e.writable||t.readonly)}}function lB(n,o){1&n&&(i.TgZ(0,"app-alert",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function uB(n,o){if(1&n&&(i.TgZ(0,"app-alert",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,e.emptyListText),"\n")}}let dB=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.attributes=[],this.selection=new Vn(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new $c(function jD(n){return n.filter(o=>!o.namespace.includes("def:core"))}(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"displayName":return e.displayName;case"description":return e.description;case"value":return JSON.stringify(e.value);case"urn":return e.namespace+":"+e.baseFriendlyName;default:return""}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(e=>!this.hiddenColumns.includes(e)),this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const e of this.items.toArray())"java.util.LinkedHashMap"===e.attribute.type&&e.updateMapAttribute()}onValueChange(e){this.canBeSelected(e)&&this.selection.select(e)}canBeSelected(e){return!Gd(e)&&e.writable}getAttributeFullName(e){return`${e.namespace}:${e.friendlyName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ga),i.Y36(kS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7),i.Gf(cT,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.items=s)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,XH,2,3,"th",4),i.YNc(5,QH,4,8,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,JH,3,3,"th",7),i.YNc(8,eB,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,tB,3,3,"th",7),i.YNc(11,iB,3,2,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,nB,3,3,"th",12),i.YNc(14,sB,2,2,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,oB,3,3,"th",7),i.YNc(17,rB,2,1,"td",10),i.BQk(),i.YNc(18,aB,1,0,"tr",14),i.YNc(19,cB,2,5,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lB,3,3,"app-alert",16),i.YNc(21,uB,3,3,"app-alert",16)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.dataSource.data.length),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.data.length))},directives:[La,Ra,Na,Br,Hr,Fr,au,Nr,qr,Uy,fs,cT,Oa,za,Pa,Ia,b.O5,es],pipes:[tT,$H,dt],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),n})();function hB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function fB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function pB(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=i.oxw(3);i.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function gB(n,o){if(1&n&&(i.YNc(0,fB,1,0,"mat-spinner",3),i.YNc(1,pB,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function mB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function _B(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=i.oxw(4);i.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function bB(n,o){if(1&n&&(i.YNc(0,mB,1,0,"mat-spinner",3),i.YNc(1,_B,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=i.oxw(3);i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function yB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",6),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(2).getMemberData(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA(),i.YNc(6,bB,2,2,"ng-template",7),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.AsE(" ",i.lcZ(4,2,i.lcZ(5,4,"PRIVACY.DATA")),"",e.name," ")}}function AB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-accordion"),i.TgZ(1,"mat-expansion-panel",6),i.NdJ("opened",function(){return i.CHM(e),i.oxw().getUserData()}),i.TgZ(2,"mat-expansion-panel-header"),i.TgZ(3,"mat-panel-title"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA(),i.YNc(7,gB,2,2,"ng-template",7),i.qZA(),i.YNc(8,yB,7,6,"mat-expansion-panel",8),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.hij(" ",i.lcZ(5,2,i.lcZ(6,4,"PRIVACY.USER_INFO"))," "),i.xp6(4),i.Q6J("ngForOf",e.filteredVos)}}let wB=(()=>{class n{constructor(e,t,s,a){this.usersManagerService=e,this.membersService=t,this.attributesManagerService=s,this.storage=a,this.vos=[],this.attributes=[],this.username="",this.hiddenColumns=["select","id"],this.filteredVos=[]}ngOnInit(){this.outerLoading=!0,this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e,this.outerLoading=!1})}getUserData(){this.innerLoading=!0,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(e=>{this.user=e,this.attributes=e.userAttributes,this.username=(new wy).transform(e),this.innerLoading=!1})}getMemberData(e){this.innerLoading=!0,this.membersService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.membersService.getRichMemberWithAttributes(t.id).subscribe(s=>{this.attributes=s.memberAttributes,this.innerLoading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(si),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-privacy-page"]],decls:10,vars:12,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened"],["matExpansionPanelContent",""],[3,"opened",4,"ngFor","ngForOf"],[3,"attributes","readonly","hiddenColumns",4,"ngIf"],[3,"attributes","readonly","hiddenColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"perun-web-apps-immediate-filter",2),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,hB,1,0,"mat-spinner",3),i.YNc(9,AB,9,6,"mat-accordion",4),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,4,i.lcZ(3,6,"PRIVACY.TITLE"))),i.xp6(4),i.Q6J("placeholder",i.lcZ(6,8,i.lcZ(7,10,"SERVICES.FILTER"))),i.xp6(3),i.Q6J("ngIf",t.outerLoading),i.xp6(1),i.Q6J("ngIf",!t.outerLoading))},directives:[l1,b.O5,Jn,Vy,d1,h1,Gy,u1,dB,b.sg],pipes:[dt,Ci],styles:[""]}),n})(),MB=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Vo],styles:[""]}),n})(),dT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ep,b.ez]]}),n})(),EB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),zB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[EB,gt],gt]}),n})(),GB=(()=>{class n{constructor(){this.changes=new De.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const KB={provide:new i.OlP("mat-datepicker-scroll-strategy"),deps:[$i],useFactory:function WB(n){return()=>n.scrollStrategies.reposition()}};let JB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[GB,KB],imports:[[b.ez,Lr,Ll,yw,Rh,gt],Cn]}),n})(),iF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,su,Lr,eT,ep,xv,U0]]}),n})(),nF=(()=>{class n extends P_{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const sF={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ok=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Do,useClass:nF},{provide:hf,useValue:sF}],imports:[[b.ez,eT,FS,ny,DP,bP,Tf,Sh,fk,C,xv,dT,ep,Tv,Lr,U0,xo,su,kv,io,xS,qS,zB,JB,KS,Td,q0,iF,kl,oM,vS]]}),n})();function oF(n,o){1&n&&(i.TgZ(0,"app-alert"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function rF(n,o){1&n&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function aF(n,o){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyNameParameter)}}function cF(n,o){1&n&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function lF(n,o){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.value)}}function uF(n,o){1&n&&i._UZ(0,"th",16)}function dF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",20),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().resetPassword(a.friendlyNameParameter)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("disabled",!t.logins.includes(e)),i.xp6(1),i.hij(" ",i.lcZ(3,2,i.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function hF(n,o){1&n&&i._UZ(0,"th",16)}function fF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",21),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().changePassword(a)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("disabled",!t.logins.includes(e)),i.xp6(1),i.hij(" ",i.lcZ(3,2,i.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function pF(n,o){1&n&&i._UZ(0,"tr",22)}function gF(n,o){1&n&&i._UZ(0,"tr",23)}let mF=(()=>{class n{constructor(e,t,s,a,r,c){this.attributesManagerService=e,this.store=t,this.dialog=s,this.route=a,this.router=r,this.otherApplicationService=c,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(e=>{const t=this.nameSpaces.map(r=>{const c=r.split(":");return c[c.length-1]});this.logins=e.filter(r=>t.includes(r.friendlyNameParameter)),this.dataSource=new $c(e);const a=this.route.snapshot.queryParamMap.get("namespace");if(a){const r=this.logins.find(c=>c.friendlyNameParameter===a);r&&this.changePassword(r)}})}resetPassword(e){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",e),"_blank")}changePassword(e){this.router.navigate([],{queryParams:{namespace:e.friendlyNameParameter},queryParamsHandling:"merge"});const t=Ri();t.width="600px",t.data={login:e.value,namespace:e.friendlyName.split(":")[1]},this.dialog.open(Vx,t).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(si),i.Y36(ti),i.Y36(Ii),i.Y36(Xn),i.Y36(ji),i.Y36(DS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,oF,4,5,"app-alert",1),i.TgZ(5,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"div",4),i.TgZ(8,"table",5),i.ynx(9,6),i.YNc(10,rF,4,5,"th",7),i.YNc(11,aF,2,1,"td",8),i.BQk(),i.ynx(12,9),i.YNc(13,cF,4,5,"th",7),i.YNc(14,lF,2,1,"td",10),i.BQk(),i.ynx(15,11),i.YNc(16,uF,1,0,"th",7),i.YNc(17,dF,5,6,"td",12),i.BQk(),i.ynx(18,13),i.YNc(19,hF,1,0,"th",7),i.YNc(20,fF,5,6,"td",12),i.BQk(),i.YNc(21,pF,1,0,"tr",14),i.YNc(22,gF,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,5,i.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),i.xp6(3),i.Q6J("ngIf",!t.logins.length),i.xp6(4),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns))},directives:[b.O5,es,Ra,Na,Br,Hr,Fr,Nr,qr,Yt,Oa,za,Pa,Ia],pipes:[dt,Ci],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),n})();function OF(n,o){1&n&&(i.TgZ(0,"app-alert",11),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function PF(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function zF(n,o){if(1&n&&(i.TgZ(0,"div",13),i._UZ(1,"img",14),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("src",e.newImage,i.LSH)}}function IF(n,o){1&n&&(i.TgZ(0,"app-alert",11),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}let NF=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.store=a,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(e){const t=e.dataTransfer?e.dataTransfer.files[0]:e.target.files[0],a=new FileReader;t.type.match(/image-*/)?(a.onload=this._handleReaderLoaded.bind(this),a.readAsDataURL(t)):alert("invalid format")}_handleReaderLoaded(e){const t=e.target;this.imgTooLong=t.result.length>=5120,this.newImage=t.result}onAdd(){this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(()=>{this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}generateImg(){const c=100;function g(oe,be,ve,Le){Le.beginPath(),Le.rect(20*oe,20*be,20,20),Le.fillStyle="rgb("+ve.join(",")+")",Le.fill()}this.newImage=function $(){const oe=function h(){const oe=document.createElement("canvas");oe.width=c,oe.height=c;const be=oe.getContext("2d");return be.beginPath(),be.rect(0,0,c,c),be.fillStyle="#FFFFFF",be.fill(),oe}(),be=oe.getContext("2d"),ve=function O(){const oe=[];for(let be=0;be<3;be++){const ve=Math.floor(256*Math.random()),Le=Math.max(120,ve),et=Math.min(200,Le);oe.push(et)}return oe}();for(let Le=0;Le({disableToggleValue:!1})});let UF=0;const GF={provide:Wn,useExisting:(0,i.Gpc)(()=>zk),multi:!0};class VF{constructor(o,e){this.source=o,this.checked=e}}const WF=Ic(va(to(ir(class{constructor(n){this._elementRef=n}}))));let zk=(()=>{class n extends WF{constructor(e,t,s,a,r,c){super(e),this._focusMonitor=t,this._changeDetectorRef=s,this.defaults=r,this._onChange=d=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++UF,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new i.vpe,this.toggleChange=new i.vpe,this.tabIndex=parseInt(a)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===c}get required(){return this._required}set required(e){this._required=je(e)}get checked(){return this._checked}set checked(e){this._checked=je(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new VF(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(So),i.Y36(i.sBO),i.$8M("tabindex"),i.Y36(YF),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){if(1&e&&(i.Gf(HF,5),i.Gf(BF,5),i.Gf(FF,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._thumbEl=s.first),i.iGM(s=i.CRH())&&(t._thumbBarEl=s.first),i.iGM(s=i.CRH())&&(t._inputElement=s.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),i.ekj("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable",t._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[i._Bn([GF]),i.qOj],ngContentSelectors:jF,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2,3),i.TgZ(4,"input",4,5),i.NdJ("change",function(a){return t._onChangeEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(6,"span",6,7),i._UZ(8,"span",8),i.TgZ(9,"span",9),i._UZ(10,"span",10),i.qZA(),i.qZA(),i.qZA(),i.TgZ(11,"span",11,12),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(13,"span",13),i._uU(14,"\xa0"),i.qZA(),i.Hsn(15),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(12);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-slide-toggle-bar-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(2),i.Q6J("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),i.uIk("name",t.name)("aria-checked",t.checked)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.xp6(5),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,qF,t._noopAnimations?0:150))}},directives:[Ns,ag],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),n})(),Ik=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),$F=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ik,io,gt,Rl],Ik,gt]}),n})();const XF=["toggle"];function QF(n,o){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"img",12),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("src",e.imageSrc,i.LSH)}}function JF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"h1",2),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.YNc(9,QF,2,1,"div",9),i.TgZ(10,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onAddImg()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"button",11),i.NdJ("click",function(){return i.CHM(e),i.oxw().onDeleteImg()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,6,i.lcZ(4,8,"AUTHENTICATION.TITLE"))),i.xp6(4),i.Oqu(i.lcZ(7,10,i.lcZ(8,12,"AUTHENTICATION.ANTI_PHISHING_INFO"))),i.xp6(3),i.Q6J("ngIf",e.imageSrc&&e.imageSrc.length),i.xp6(2),i.hij(" ",i.lcZ(12,14,i.lcZ(13,16,"AUTHENTICATION.NEW_IMG"))," "),i.xp6(3),i.Q6J("disabled",!e.imgAtt||!e.imgAtt.value),i.xp6(1),i.hij(" ",i.lcZ(16,18,i.lcZ(17,20,"AUTHENTICATION.DELETE_IMG"))," ")}}function e4(n,o){1&n&&i._UZ(0,"mat-spinner",13)}let t4=(()=>{class n{constructor(e,t,s,a,r,c){this.dialog=e,this.attributesManagerService=t,this.store=s,this.translate=a,this.oauthService=r,this.authService=c,this.imageSrc="",this.mfaUrl="",this.mfaAvailable=!1,this.mfaApiUrl="",this.loadingMfa=!1,this.loadingImg=!1,a.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(d=>this.removeDialogTitle=d),a.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(d=>this.removeDialogDescription=d)}ngAfterViewInit(){this.toggle.change.subscribe(e=>{this.reAuthenticate(e.checked)})}ngOnInit(){this.loadingMfa=!0,this.loadingImg=!0,this.translate.onLangChange.subscribe(()=>{this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(e=>this.removeDialogDescription=e),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang)}),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang),this.mfaApiUrl=this.store.get("mfa","api_url"),fetch(this.mfaApiUrl+"mfaAvailable",{method:"GET",headers:{Authorization:"Bearer "+this.oauthService.getIdToken()}}).then(e=>e.text()).then(e=>{this.mfaAvailable="true"===e,this.mfaAvailable&&this.loadMfa()}).catch(e=>{console.error(e),this.loadingMfa=!1}),this.loadImage()}loadMfa(){if(sessionStorage.getItem("mfa_route")){const t=sessionStorage.getItem("enforce_mfa");this.enableMfa("true"===t).then(s=>{s.ok&&"true"===t&&this.toggle.toggle(),this.loadingMfa=!1}).catch(s=>{console.error(s),this.loadingMfa=!1})}else{const t=this.store.get("mfa","enforce_mfa_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(s=>{s.value&&this.toggle.toggle(),this.loadingMfa=!1})}sessionStorage.getItem("mfa_route")&&(sessionStorage.removeItem("enforce_mfa"),sessionStorage.removeItem("mfa_route"))}onAddImg(){const e=Ri();e.width="500px",e.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(NF,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}reAuthenticate(e){sessionStorage.setItem("enforce_mfa",e.toString()),sessionStorage.setItem("mfa_route","/profile/settings/auth"),localStorage.removeItem("refresh_token"),this.oauthService.logOut(!0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.loadConfigData(),this.oauthService.loadDiscoveryDocumentAndLogin()}enableMfa(e){const t=this.oauthService.getIdToken();return fetch(`${this.mfaApiUrl}mfaEnforced`,{method:"PUT",body:`value=${e}`,headers:{Authorization:`Bearer ${t}`}})}onDeleteImg(){const e=Ri();e.width="600px",e.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}loadImage(){const e=this.store.get("mfa","security_image_attribute");this.displayImageBlock=this.store.get("mfa","enable_security_image"),this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?(this.imgAtt=t,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(s=>{this.imgAtt=s}),this.loadingImg=!1},t=>{console.error(t),this.loadingImg=!1})}redirectToMfa(){window.open(this.mfaUrl,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii),i.Y36(si),i.Y36(ti),i.Y36(Ai),i.Y36(_f.Ct),i.Y36(nr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(e,t){if(1&e&&i.Gf(XF,5),2&e){let s;i.iGM(s=i.CRH())&&(t.toggle=s.first)}},decls:19,vars:23,consts:[[3,"hidden"],["class","mb-5",4,"ngIf"],[1,"page-subtitle"],["matTooltipPosition","right",3,"matTooltip","matTooltipDisabled"],["color","primary",3,"disabled"],["toggle",""],["mat-flat-button","","color","accent",1,"mt-3",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mb-5"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"m-1","action-button",3,"click"],["color","warn","mat-flat-button","",1,"m-1",3,"disabled","click"],["alt","",1,"img-size",3,"src"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,JF,18,22,"div",1),i.TgZ(2,"h1",2),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.TgZ(6,"span",3),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.TgZ(9,"mat-slide-toggle",4,5),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.qZA(),i._UZ(14,"br"),i.TgZ(15,"button",6),i.NdJ("click",function(){return t.redirectToMfa()}),i._uU(16),i.ALo(17,"translate"),i.qZA(),i.qZA(),i.YNc(18,e4,1,0,"mat-spinner",7)),2&e&&(i.Q6J("hidden",t.loadingMfa||t.loadingImg),i.xp6(1),i.Q6J("ngIf",t.displayImageBlock),i.xp6(2),i.Oqu(i.lcZ(4,9,i.lcZ(5,11,"AUTHENTICATION.MFA"))),i.xp6(3),i.Q6J("matTooltip",i.lcZ(7,13,i.lcZ(8,15,"AUTHENTICATION.MFA_DISABLED")))("matTooltipDisabled",t.mfaAvailable),i.xp6(3),i.Q6J("disabled",!t.mfaAvailable),i.xp6(2),i.Oqu(i.lcZ(12,17,i.lcZ(13,19,"AUTHENTICATION.MFA_TOGGLE"))),i.xp6(5),i.hij(" ",i.lcZ(17,21,"AUTHENTICATION.MFA_INFO")," "),i.xp6(2),i.Q6J("ngIf",t.loadingMfa||t.loadingImg))},directives:[b.O5,Yt,fs,zk,Jn],pipes:[dt,Ci],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),n})(),n4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,Lr,ep,Sh,Ok,Tf,xo,su,kv,dT]]}),n})();function o4(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const r4=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:(()=>{class n{constructor(e){this.auth=e}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Yt,xn],pipes:[dt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})()},{path:"service-access",component:(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new ds(null,[kn.required]),this.passwordCtrl=new ds(null,[kn.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ki),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,o4,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,es,un,no,qn,bn,vs,dn,so,Zl,Yt,xn],pipes:[dt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})()},{path:"profile",component:MB,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:sz,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:Iz,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:yI,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:S3,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:N3,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:wB,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"settings",component:H3,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:sN,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:iN,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:t4,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:mH,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:vH,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:zH,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:FH,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:UH,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:ZH,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:mF,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let a4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Sh.forRoot(r4,{preloadingStrategy:re,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),n})();class c4{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let l4=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function u4(n){return[oo(tinycolor(n).lighten(52),"50"),oo(tinycolor(n).lighten(37),"100"),oo(tinycolor(n).lighten(26),"200"),oo(tinycolor(n).lighten(12),"300"),oo(tinycolor(n).lighten(6),"400"),oo(tinycolor(n),"500"),oo(tinycolor(n).darken(6),"600"),oo(tinycolor(n).darken(12),"700"),oo(tinycolor(n).darken(18),"800"),oo(tinycolor(n).darken(24),"900"),oo(tinycolor(n).lighten(50).saturate(30),"A100"),oo(tinycolor(n).lighten(30).saturate(30),"A200"),oo(tinycolor(n).lighten(10).saturate(15),"A400"),oo(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ti),i.LFG(Ki),i.LFG(nt),i.LFG(js))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function oo(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let d4=(()=>{class n{constructor(e,t,s){this.initAuthService=e,this.appConfigService=t,this.location=s,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.appConfigService.loadAppsConfig()):this.initAuthService.handleAuthStart())}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Cv),i.LFG(l4),i.LFG(b.Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Uk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv]]}),n})(),Oq=(()=>{class n{constructor(e,t){(0,b.PM)(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,t=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:jr,useValue:Object.assign(Object.assign({},Uv),e)},{provide:Gv,useValue:t,multi:!0},{provide:sp,useValue:!0}]:[{provide:jr,useValue:Object.assign(Object.assign({},Uv),e)},{provide:Gv,useValue:t,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(sp),i.LFG(i.Lbi))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Dk,_E,Uk],Dk,_E,Uk]}),n})(),Pq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();const zq=new i.OlP("perun-api-service"),Iq={provide:D.TP,useExisting:(0,i.Gpc)(()=>SS),multi:!0};function Nq(n){return new c4(n,"./assets/i18n/",".json")}function Hq(n){const o={basePath:n.get("api_url")};return new Qe(o)}const Bq=n=>()=>n.initialize();let Fq=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(CS),i.LFG(Ai))},n.\u0275mod=i.oAB({type:n,bootstrap:[PO]}),n.\u0275inj=i.cJS({providers:[CS,{provide:i.ip1,useFactory:Bq,multi:!0,deps:[d4]},{provide:Qe,useFactory:Hq,deps:[ti]},wy,SS,Iq,{provide:zq,useClass:s2}],imports:[[le,S_,D.JF,Tf.forRoot({loader:{provide:Ed,useFactory:Nq,deps:[D.eN]}}),a4,ep,zR,XR,Sh,Lr,Oq,vL,Ok,dT,NI,xo,q0,oM,FS,kv,su,eT,C,xv,fk,Pq,qS,xS,$z,io,U0,$F,KS,ny,n4,vS,Tv,_f.zr.forRoot()]]}),n})();(0,i.G48)(),Fs().bootstrapModule(Fq).catch(n=>console.error(n))},1302:function(q,Y,w){var b;!function(i,T){var M={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function M(Q,ae,ee,ce,he){for(var ze,He,Ze,bt,St,$e,Wi,wt,mt,de,ge,Ae,_e;he>=64;){for(ze=ae[0],He=ae[1],Ze=ae[2],bt=ae[3],St=ae[4],$e=ae[5],Wi=ae[6],wt=ae[7],de=0;de<16;de++)Q[de]=(255&ee[ge=ce+4*de])<<24|(255&ee[ge+1])<<16|(255&ee[ge+2])<<8|255&ee[ge+3];for(de=16;de<64;de++)Q[de]=((Ae=((mt=Q[de-2])>>>17|mt<<15)^(mt>>>19|mt<<13)^mt>>>10)+Q[de-7]|0)+((_e=((mt=Q[de-15])>>>7|mt<<25)^(mt>>>18|mt<<14)^mt>>>3)+Q[de-16]|0);for(de=0;de<64;de++)Ae=(((St>>>6|St<<26)^(St>>>11|St<<21)^(St>>>25|St<<7))+(St&$e^~St&Wi)|0)+(wt+(T[de]+Q[de]|0)|0)|0,_e=((ze>>>2|ze<<30)^(ze>>>13|ze<<19)^(ze>>>22|ze<<10))+(ze&He^ze&Ze^He&Ze)|0,wt=Wi,Wi=$e,$e=St,St=bt+Ae|0,bt=Ze,Ze=He,He=ze,ze=Ae+_e|0;ae[0]+=ze,ae[1]+=He,ae[2]+=Ze,ae[3]+=bt,ae[4]+=St,ae[5]+=$e,ae[6]+=Wi,ae[7]+=wt,ce+=64,he-=64}return ce}var v=function(){function Q(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return Q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},Q.prototype.clean=function(){for(var ae=0;ae0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;64===this.bufferLength&&(M(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ce=M(this.temp,this.state,ae,ce,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;return this},Q.prototype.finish=function(ae){if(!this.finished){var ee=this.bytesHashed,ce=this.bufferLength,he=ee/536870912|0,ze=ee<<3,He=ee%64<56?64:128;this.buffer[ce]=128;for(var Ze=ce+1;Ze>>24&255,this.buffer[He-7]=he>>>16&255,this.buffer[He-6]=he>>>8&255,this.buffer[He-5]=he>>>0&255,this.buffer[He-4]=ze>>>24&255,this.buffer[He-3]=ze>>>16&255,this.buffer[He-2]=ze>>>8&255,this.buffer[He-1]=ze>>>0&255,M(this.temp,this.state,this.buffer,0,He),this.finished=!0}for(Ze=0;Ze<8;Ze++)ae[4*Ze+0]=this.state[Ze]>>>24&255,ae[4*Ze+1]=this.state[Ze]>>>16&255,ae[4*Ze+2]=this.state[Ze]>>>8&255,ae[4*Ze+3]=this.state[Ze]>>>0&255;return this},Q.prototype.digest=function(){var ae=new Uint8Array(this.digestLength);return this.finish(ae),ae},Q.prototype._saveState=function(ae){for(var ee=0;eethis.blockSize)(new v).update(ae).finish(ee).clean();else for(var ce=0;ce1&&ae.update(Q),ee&&ae.update(ee),ae.update(ce),ae.finish(Q),ce[0]++}i.HMAC=k,i.hash=L,i.default=L,i.hmac=I;var F=new Uint8Array(i.digestLength);i.hkdf=function U(Q,ae,ee,ce){void 0===ae&&(ae=F),void 0===ce&&(ce=32);for(var he=new Uint8Array([1]),ze=I(ae,Q),He=new k(ze),Ze=new Uint8Array(He.digestLength),bt=Ze.length,St=new Uint8Array(ce),$e=0;$e>>24&255,He[1]=Wi>>>16&255,He[2]=Wi>>>8&255,He[3]=Wi>>>0&255,he.reset(),he.update(ae),he.update(He),he.finish(bt);for(var wt=0;wt=U.status}function k(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(X){var U=document.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(U)}}var L="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,I=L.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=L.saveAs||("object"!=typeof window||window!==L?function(){}:"download"in HTMLAnchorElement.prototype&&!I?function(F,U,X){var Q=L.URL||L.webkitURL,ae=document.createElement("a");ae.download=U=U||F.name||"download",ae.rel="noopener","string"==typeof F?(ae.href=F,ae.origin===location.origin?k(ae):v(ae.href)?M(F,U,X):k(ae,ae.target="_blank")):(ae.href=Q.createObjectURL(F),setTimeout(function(){Q.revokeObjectURL(ae.href)},4e4),setTimeout(function(){k(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(F,U,X){if(U=U||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function T(F,U){return void 0===U?U={autoBom:!1}:"object"!=typeof U&&(console.warn("Deprecated: Expected third argument to be a object"),U={autoBom:!U}),U.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,X),U);else if(v(F))M(F,U,X);else{var Q=document.createElement("a");Q.href=F,Q.target="_blank",setTimeout(function(){k(Q)})}}:function(F,U,X,Q){if((Q=Q||open("","_blank"))&&(Q.document.title=Q.document.body.innerText="downloading..."),"string"==typeof F)return M(F,U,X);var ae="application/octet-stream"===F.type,ee=/constructor/i.test(L.HTMLElement)||L.safari,ce=/CriOS\/[\d]+/.test(navigator.userAgent);if((ce||ae&&ee||I)&&"undefined"!=typeof FileReader){var he=new FileReader;he.onloadend=function(){var Ze=he.result;Ze=ce?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),Q?Q.location.href=Ze:location=Ze,Q=null},he.readAsDataURL(F)}else{var ze=L.URL||L.webkitURL,He=ze.createObjectURL(F);Q?Q.location=He:location.href=He,Q=null,setTimeout(function(){ze.revokeObjectURL(He)},4e4)}});L.saveAs=B.saveAs=B,q.exports=B}.apply(Y,[]))&&(q.exports=i)},1158:(q,Y,w)=>{(q.exports=w(7867)).tz.load(w(1128))},7867:function(q,Y,w){var b,i,T;!function(M,v){"use strict";q.exports?q.exports=v(w(5439)):(i=[w(5439)],void 0!==(T="function"==typeof(b=v)?b.apply(Y,i):b)&&(q.exports=T))}(0,function(M){"use strict";void 0===M.version&&M.default&&(M=M.default);var U,k={},L={},I={},B={},F={};(!M||"string"!=typeof M.version)&&ui("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var X=M.version.split("."),Q=+X[0],ae=+X[1];function ee(le){return le>96?le-87:le>64?le-29:le-48}function ce(le){var xe=0,pe=le.split("."),Ue=pe[0],Ge=pe[1]||"",nt=1,we=0,te=1;for(45===le.charCodeAt(0)&&(xe=1,te=-1);xe= 2.6.0. You are using Moment.js "+M.version+". See momentjs.com"),bt.prototype={_set:function(le){this.name=le.name,this.abbrs=le.abbrs,this.untils=le.untils,this.offsets=le.offsets,this.population=le.population},_index:function(le){var Ue,xe=+le,pe=this.untils;for(Ue=0;Uewe&&Wt.moveInvalidForward&&(nt=we),xe3){var xe=B[fe(le)];if(xe)return xe;ui("Moment Timezone found "+le+" from the Intl api, but did not have that data loaded.")}}catch(se){}var Jt,we,te,pe=function mt(){var Ue,Ge,nt,le=(new Date).getFullYear()-2,xe=new $e(new Date(le,0,1)),pe=[xe];for(nt=1;nt<48;nt++)(Ge=new $e(new Date(le,nt,1))).offset!==xe.offset&&(Ue=wt(xe,Ge),pe.push(Ue),pe.push(new $e(new Date(Ue.at+6e4)))),xe=Ge;for(nt=0;nt<4;nt++)pe.push(new $e(new Date(le+nt,0,1))),pe.push(new $e(new Date(le+nt,6,1)));return pe}(),Ue=pe.length,Ge=function Ae(le){var Ge,nt,Jt,xe=le.length,pe={},Ue=[];for(Ge=0;Ge0?nt[0].zone.name:void 0}()),U},Wt.names=function wi(){var le,xe=[];for(le in B)B.hasOwnProperty(le)&&(k[le]||k[L[le]])&&B[le]&&xe.push(B[le]);return xe.sort()},Wt.Zone=bt,Wt.unpack=Ze,Wt.unpackBase60=ce,Wt.needsOffset=pn,Wt.moveInvalidForward=!0,Wt.moveAmbiguousForward=!1,Wt.countries=function ot(){return Object.keys(I)},Wt.zonesForCountry=function Xe(le,xe){if(!(le=function gi(le){return le=le.toUpperCase(),I[le]||null}(le)))return null;var pe=le.zones.sort();return xe?pe.map(function(Ue){return{name:Ue,offset:vt(Ue).utcOffset(new Date)}}):pe};var gn=M.fn;function ro(le){return function(){return this._z?this._z.abbr(this):le.call(this)}}function ao(le){return function(){return this._z=null,le.apply(this,arguments)}}M.tz=Wt,M.defaultZone=null,M.updateOffset=function(le,xe){var Ue,pe=M.defaultZone;if(void 0===le._z&&(pe&&pn(le)&&!le._isUTC&&(le._d=M.utc(le._a)._d,le.utc().add(pe.parse(le),"minutes")),le._z=pe),le._z)if(Ue=le._z.utcOffset(le),Math.abs(Ue)<16&&(Ue/=60),void 0!==le.utcOffset){var Ge=le._z;le.utcOffset(-Ue,xe),le._z=Ge}else le.zone(Ue,xe)},gn.tz=function(le,xe){if(le){if("string"!=typeof le)throw new Error("Time zone name must be a string, got "+le+" ["+typeof le+"]");return this._z=vt(le),this._z?M.updateOffset(this,xe):ui("Moment Timezone has no data for "+le+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},gn.zoneName=ro(gn.zoneName),gn.zoneAbbr=ro(gn.zoneAbbr),gn.utc=ao(gn.utc),gn.local=ao(gn.local),gn.utcOffset=function Fs(le){return function(){return arguments.length>0&&(this._z=null),le.apply(this,arguments)}}(gn.utcOffset),M.tz.setDefault=function(le){return(Q<2||2===Q&&ae<9)&&ui("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+M.version+"."),M.defaultZone=le?vt(le):null,M};var Yn=M.momentProperties;return"[object Array]"===Object.prototype.toString.call(Yn)?(Yn.push("_z"),Yn.push("_a")):Yn&&(Yn._z=null),M})},7088:function(q,Y,w){!function(b){"use strict";b.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(T){return/^nm$/i.test(T)},meridiem:function(T,M,v){return T<12?v?"vm":"VM":v?"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(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(q,Y,w){!function(b){"use strict";var i=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},T={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"]},M=function(L){return function(I,B,F,U){var X=i(I),Q=T[L][i(I)];return 2===X&&(Q=Q[B?0:1]),Q.replace(/%d/i,I)}},v=["\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"];b.defineLocale("ar-dz",{months:v,monthsShort:v,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(L){return"\u0645"===L},meridiem:function(L,I,B){return L<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:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},4519:function(q,Y,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(I){return 0===I?0:1===I?1:2===I?2:I%100>=3&&I%100<=10?3:I%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"]},v=function(I){return function(B,F,U,X){var Q=T(B),ae=M[I][T(B)];return 2===Q&&(ae=ae[F?0:1]),ae.replace(/%d/i,B)}},k=["\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"];b.defineLocale("ar-ly",{months:k,monthsShort:k,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(I){return"\u0645"===I},meridiem:function(I,B,F){return I<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:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(I){return I.replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},7642:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.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(v){return"\u0645"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return T[k]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(q,Y,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\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("_"),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}})}(w(5439))},7038:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},v={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"]},k=function(B){return function(F,U,X,Q){var ae=M(F),ee=v[B][M(F)];return 2===ae&&(ee=ee[U?0:1]),ee.replace(/%d/i,F)}},L=["\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"];b.defineLocale("ar",{months:L,monthsShort:L,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(B){return"\u0645"===B},meridiem:function(B,F,U){return B<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:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return T[F]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(F){return i[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(q,Y,w){!function(b){"use strict";var i={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"};b.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\u0259nb\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(M){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(M)},meridiem:function(M,v,k){return M<4?"gec\u0259":M<12?"s\u0259h\u0259r":M<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(M){if(0===M)return M+"-\u0131nc\u0131";var v=M%10;return M+(i[v]||i[M%100-v]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(q,Y,w){!function(b){"use strict";function T(v,k,L){return"m"===L?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":v+" "+function i(v,k){var L=v.split("_");return k%10==1&&k%100!=11?L[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?L[1]:L[2]}({ss:k?"\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:k?"\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:k?"\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"}[L],+v)}b.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".split("_"),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:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(v){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(v)},meridiem:function(v,k,L){return v<4?"\u043d\u043e\u0447\u044b":v<12?"\u0440\u0430\u043d\u0456\u0446\u044b":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(v,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return v%10!=2&&v%10!=3||v%100==12||v%100==13?v+"-\u044b":v+"-\u0456";case"D":return v+"-\u0433\u0430";default:return v}},week:{dow:1,doy:7}})}(w(5439))},322:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===M?T+"-\u0432\u0438":2===M?T+"-\u0440\u0438":7===M||8===M?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},5903:function(q,Y,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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_\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(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===k?v<4?v:v+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?v:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?v>=3?v:v+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u09b0\u09be\u09a4":v<6?"\u09ad\u09cb\u09b0":v<12?"\u09b8\u0995\u09be\u09b2":v<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<18?"\u09ac\u09bf\u0995\u09be\u09b2":v<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(q,Y,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===k&&v>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&v<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?v+12:v},meridiem:function(v,k,L){return v<4?"\u09b0\u09be\u09a4":v<10?"\u09b8\u0995\u09be\u09b2":v<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(q,Y,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.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_\u0f63\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(v){return v.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k){return 12===v&&(v=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&v>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&v<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?v+12:v},meridiem:function(v,k,L){return v<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":v<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":v<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":v<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(q,Y,w){!function(b){"use strict";function i(ee,ce,he){return ee+" "+function v(ee,ce){return 2===ce?function k(ee){var ce={m:"v",b:"v",d:"z"};return void 0===ce[ee.charAt(0)]?ee:ce[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[he],ee)}function M(ee){return ee>9?M(ee%10):ee}var L=[/^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],I=/^(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];b.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:I,monthsShortRegex:I,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:L,longMonthsParse:L,shortMonthsParse:L,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:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(M(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ce,he){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var L=M+" ";switch(k){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===M?"sat":2===M||3===M||4===M?"sata":"sati");case"dd":return L+(1===M?"dan":"dana");case"MM":return L+(1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci");case"yy":return L+(1===M?"godina":2===M||3===M||4===M?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(q,Y,w){!function(b){"use strict";b.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:"%d 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(T,M){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===M||"W"===M)&&(v="a"),T+v},week:{dow:1,doy:4}})}(w(5439))},7322:function(q,Y,w){!function(b){"use strict";var i="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),M=[/^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],v=/^(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 k(B){return B>1&&B<5&&1!=~~(B/10)}function L(B,F,U,X){var Q=B+" ";switch(U){case"s":return F||X?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return F||X?Q+(k(B)?"sekundy":"sekund"):Q+"sekundami";case"m":return F?"minuta":X?"minutu":"minutou";case"mm":return F||X?Q+(k(B)?"minuty":"minut"):Q+"minutami";case"h":return F?"hodina":X?"hodinu":"hodinou";case"hh":return F||X?Q+(k(B)?"hodiny":"hodin"):Q+"hodinami";case"d":return F||X?"den":"dnem";case"dd":return F||X?Q+(k(B)?"dny":"dn\xed"):Q+"dny";case"M":return F||X?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return F||X?Q+(k(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Q+"m\u011bs\xedci";case"y":return F||X?"rok":"rokem";case"yy":return F||X?Q+(k(B)?"roky":"let"):Q+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(q,Y,w){!function(b){"use strict";b.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(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\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}})}(w(5439))},2092:function(q,Y,w){!function(b){"use strict";b.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(T){var v="";return T>20?v=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(v=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+v},week:{dow:1,doy:4}})}(w(5439))},7387:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},9459:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(q,Y,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,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(v){return"\u0789\u078a"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(q,Y,w){!function(b){"use strict";b.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(M,v){return M?"string"==typeof v&&/D/.test(v.substring(0,v.indexOf("MMMM")))?this._monthsGenitiveEl[M.month()]:this._monthsNominativeEl[M.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(M,v,k){return M>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(M){return"\u03bc"===(M+"").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(M,v){var k=this._calendarEl[M],L=v&&v.hours();return function i(M){return"undefined"!=typeof Function&&M instanceof Function||"[object Function]"===Object.prototype.toString.call(M)}(k)&&(k=k.apply(v)),k.replace("{}",L%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}})}(w(5439))},4369:function(q,Y,w){!function(b){"use strict";b.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",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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(w(5439))},9998:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(w(5439))},9615:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(q,Y,w){!function(b){"use strict";b.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(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,M,v){return T>11?v?"p.t.m.":"P.T.M.":v?"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}})}(w(5439))},8944:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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}})}(w(5439))},9116:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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"})}(w(5439))},3609:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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}})}(w(5439))},6866:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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"})}(w(5439))},6725:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[M+"sekundi",M+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[M+" minuti",M+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[M+" tunni",M+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[M+" kuu",M+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[M+" aasta",M+" aastat"]};return v?I[k][2]?I[k][2]:I[k][1]:L?I[k][0]:I[k][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},6417:function(q,Y,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.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(v){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(v)},meridiem:function(v,k,L){return v<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"},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(v){return v.replace(/[\u06f0-\u06f9]/g,function(k){return T[k]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(q,Y,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function M(L,I,B,F){var U="";switch(B){case"s":return F?"muutaman sekunnin":"muutama sekunti";case"ss":U=F?"sekunnin":"sekuntia";break;case"m":return F?"minuutin":"minuutti";case"mm":U=F?"minuutin":"minuuttia";break;case"h":return F?"tunnin":"tunti";case"hh":U=F?"tunnin":"tuntia";break;case"d":return F?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":U=F?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return F?"kuukauden":"kuukausi";case"MM":U=F?"kuukauden":"kuukautta";break;case"y":return F?"vuoden":"vuosi";case"yy":U=F?"vuoden":"vuotta"}return function v(L,I){return L<10?I?T[L]:i[L]:L}(L,F)+" "+U}b.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(q,Y,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},6848:function(q,Y,w){!function(b){"use strict";b.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(T,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(q,Y,w){!function(b){"use strict";b.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(T,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(q,Y,w){!function(b){"use strict";var M=/(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,v=[/^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];b.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:M,monthsShortRegex:M,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:v,longMonthsParse:v,shortMonthsParse:v,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(L,I){switch(I){case"D":return L+(1===L?"er":"");default:case"M":case"Q":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(v,k){return v?/-MMM-/.test(k)?T[v.month()]:i[v.month()]:i},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(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(q,Y,w){!function(b){"use strict";b.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(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(q,Y,w){!function(b){"use strict";b.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(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(q,Y,w){!function(b){"use strict";b.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".split("_"),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(T){return 0===T.indexOf("un")?"n"+T:"en "+T},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}})}(w(5439))},2457:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={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:[M+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",M+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[M+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",M+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[M+" \u0935\u0930\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[M+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",M+" \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:[M+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",M+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[M+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return L?I[k][0]:I[k][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(M,v){return"D"===v?M+"\u0935\u0947\u0930":M},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(M,v){return 12===M&&(M=0),"\u0930\u093e\u0924\u0940"===v?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===v?M:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===v?M>12?M:M+12:"\u0938\u093e\u0902\u091c\u0947"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"\u0930\u093e\u0924\u0940":M<12?"\u0938\u0915\u093e\u0933\u0940\u0902":M<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":M<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["thoddea sekondamni","thodde sekond"],ss:[M+" sekondamni",M+" sekond"],m:["eka mintan","ek minut"],mm:[M+" mintamni",M+" mintam"],h:["eka voran","ek vor"],hh:[M+" voramni",M+" voram"],d:["eka disan","ek dis"],dd:[M+" disamni",M+" dis"],M:["eka mhoinean","ek mhoino"],MM:[M+" mhoineamni",M+" mhoine"],y:["eka vorsan","ek voros"],yy:[M+" vorsamni",M+" vorsam"]};return L?I[k][0]:I[k][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(M,v){return"D"===v?M+"er":M},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(M,v){return 12===M&&(M=0),"rati"===v?M<4?M:M+12:"sokallim"===v?M:"donparam"===v?M>12?M:M+12:"sanje"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"rati":M<12?"sokallim":M<16?"donparam":M<20?"sanje":"rati"}})}(w(5439))},2641:function(q,Y,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.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:"%d \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(v){return v.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0ab0\u0abe\u0aa4"===k?v<4?v:v+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?v:"\u0aac\u0aaa\u0acb\u0ab0"===k?v>=10?v:v+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0ab0\u0abe\u0aa4":v<10?"\u0ab8\u0ab5\u0abe\u0ab0":v<17?"\u0aac\u0aaa\u0acb\u0ab0":v<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(q,Y,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\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(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \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(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,M,v){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?v?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?v?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},M=[/^\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];b.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\u0932_\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:M,longMonthsParse:M,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(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return T[I]})},postformat:function(L){return L.replace(/\d/g,function(I){return i[I]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,I){return 12===L&&(L=0),"\u0930\u093e\u0924"===I?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===I?L:"\u0926\u094b\u092a\u0939\u0930"===I?L>=10?L:L+12:"\u0936\u093e\u092e"===I?L+12:void 0},meridiem:function(L,I,B){return L<4?"\u0930\u093e\u0924":L<10?"\u0938\u0941\u092c\u0939":L<17?"\u0926\u094b\u092a\u0939\u0930":L<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var L=M+" ";switch(k){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===M?"sat":2===M||3===M||4===M?"sata":"sati");case"dd":return L+(1===M?"dan":"dana");case"MM":return L+(1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci");case"yy":return L+(1===M?"godina":2===M||3===M||4===M?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(q,Y,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(k,L,I,B){var F=k;switch(I){case"s":return B||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return F+(B||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||L?" perc":" perce");case"mm":return F+(B||L?" perc":" perce");case"h":return"egy"+(B||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return F+(B||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||L?" nap":" napja");case"dd":return F+(B||L?" nap":" napja");case"M":return"egy"+(B||L?" h\xf3nap":" h\xf3napja");case"MM":return F+(B||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||L?" \xe9v":" \xe9ve");case"yy":return F+(B||L?" \xe9v":" \xe9ve")}return""}function M(k){return(k?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.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(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,L,I){return k<12?!0===I?"de":"DE":!0===I?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return M.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return M.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(q,Y,w){!function(b){"use strict";b.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(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<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(T,M){switch(M){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"pagi"===M?T:"siang"===M?T>=11?T:T+12:"sore"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"siang":T<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}})}(w(5439))},4205:function(q,Y,w){!function(b){"use strict";function i(v){return v%100==11||v%10!=1}function T(v,k,L,I){var B=v+" ";switch(L){case"s":return k||I?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(v)?B+(k||I?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(v)?B+(k||I?"m\xedn\xfatur":"m\xedn\xfatum"):k?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(v)?B+(k||I?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return k?"dagur":I?"dag":"degi";case"dd":return i(v)?k?B+"dagar":B+(I?"daga":"d\xf6gum"):k?B+"dagur":B+(I?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":I?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(v)?k?B+"m\xe1nu\xf0ir":B+(I?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?B+"m\xe1nu\xf0ur":B+(I?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||I?"\xe1r":"\xe1ri";case"yy":return i(v)?B+(k||I?"\xe1r":"\xe1rum"):B+(k||I?"\xe1r":"\xe1ri")}}b.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:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(q,Y,w){!function(b){"use strict";b.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(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},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}})}(w(5439))},4211:function(q,Y,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},1003:function(q,Y,w){!function(b){"use strict";b.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(T,M){return"\u5143"===M[1]?1:parseInt(M[1]||T,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(T){return"\u5348\u5f8c"===T},meridiem:function(T,M,v){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,M){switch(M){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},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"}})}(w(5439))},420:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"enjing"===M?T:"siyang"===M?T>=11?T:T+12:"sonten"===M||"ndalu"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"enjing":T<15?"siyang":T<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}})}(w(5439))},851:function(q,Y,w){!function(b){"use strict";b.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:"\u10d9\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(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(M,v,k){return"\u10d8"===k?v+"\u10e8\u10d8":v+k+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},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(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(q,Y,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.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:"\u17a2\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(v){return"\u179b\u17d2\u1784\u17b6\u1785"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(q,Y,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.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:"%d \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(v){return v.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k){return 12===v&&(v=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?v<4?v:v+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?v:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?v>=10?v:v+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":v<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":v<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":v<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(v){return v+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(q,Y,w){!function(b){"use strict";b.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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,M,v){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=["\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"];b.defineLocale("ku",{months:M,monthsShort:M,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(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,L,I){return k<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(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return T[L]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(L){return i[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(q,Y,w){!function(b){"use strict";function i(L,I,B,F){var U={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 I?U[B][0]:U[B][1]}function v(L){if(L=parseInt(L,10),isNaN(L))return!1;if(L<0)return!0;if(L<10)return 4<=L&&L<=7;if(L<100){var I=L%10;return v(0===I?L/10:I)}if(L<1e4){for(;L>=10;)L/=10;return v(L)}return v(L/=1e3)}b.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 T(L){return v(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function M(L){return v(L.substr(0,L.indexOf(" ")))?"viru "+L:"virun "+L},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(q,Y,w){!function(b){"use strict";b.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(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,M,v){return T<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(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(q,Y,w){!function(b){"use strict";var i={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_dien\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 M(B,F,U,X){return F?k(U)[0]:X?k(U)[1]:k(U)[2]}function v(B){return B%10==0||B>10&&B<20}function k(B){return i[B].split("_")}function L(B,F,U,X){var Q=B+" ";return 1===B?Q+M(0,F,U[0],X):F?Q+(v(B)?k(U)[1]:k(U)[0]):X?Q+k(U)[1]:Q+(v(B)?k(U)[1]:k(U)[2])}b.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 T(B,F,U,X){return F?"kelios sekund\u0117s":X?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:L,m:M,mm:L,h:M,hh:L,d:M,dd:L,M,MM:L,y:M,yy:L},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(q,Y,w){!function(b){"use strict";var i={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 T(I,B,F){return F?B%10==1&&B%100!=11?I[2]:I[3]:B%10==1&&B%100!=11?I[0]:I[1]}function M(I,B,F){return I+" "+T(i[F],I,B)}function v(I,B,F){return T(i[F],I,B)}b.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 k(I,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:M,m:v,mm:M,h:v,hh:M,d:v,dd:M,M:v,MM:M,y:v,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(q,Y,w){!function(b){"use strict";var i={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(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(q,Y,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5943:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===M?T+"-\u0432\u0438":2===M?T+"-\u0440\u0438":7===M||8===M?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(q,Y,w){!function(b){"use strict";b.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:"%d \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(T,M){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===M&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===M||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===M?T+12:T},meridiem:function(T,M,v){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){switch(k){case"s":return v?"\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 M+(v?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return M+(v?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return M+(v?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return M+(v?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return M+(v?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return M+(v?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return M}}b.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(M){return"\u04ae\u0425"===M},meridiem:function(M,v,k){return M<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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(M,v){switch(v){case"d":case"D":case"DDD":return M+" \u04e9\u0434\u04e9\u0440";default:return M}}})}(w(5439))},6184:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function M(k,L,I,B){var F="";if(L)switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":F="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":F="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":F="%d \u0924\u093e\u0938";break;case"d":F="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":F="%d \u0926\u093f\u0935\u0938";break;case"M":F="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":F="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u0947"}else switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":F="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":F="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":F="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":F="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":F="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":F="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":F="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return F.replace(/%d/i,k)}b.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return T[L]})},postformat:function(k){return k.replace(/\d/g,function(L){return i[L]})},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(k,L){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?k>=12?k:k+12:void 0},meridiem:function(k,L,I){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"pagi"===M?T:"tengahari"===M?T>=11?T:T+12:"petang"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},485:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"pagi"===M?T:"tengahari"===M?T>=11?T:T+12:"petang"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},6681:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2024:function(q,Y,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.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(v){return v.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},8914:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.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(v){return v.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0930\u093e\u0924\u093f"===k?v<4?v:v+12:"\u092c\u093f\u0939\u093e\u0928"===k?v:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?v>=10?v:v+12:"\u0938\u093e\u0901\u091d"===k?v+12:void 0},meridiem:function(v,k,L){return v<3?"\u0930\u093e\u0924\u093f":v<12?"\u092c\u093f\u0939\u093e\u0928":v<16?"\u0926\u093f\u0909\u0901\u0938\u094b":v<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}})}(w(5439))},2272:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^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],v=/^(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;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^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],v=/^(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;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2797:function(q,Y,w){!function(b){"use strict";b.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:"%d 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(T,M){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===M||"W"===M)&&(v="a"),T+v},week:{dow:1,doy:4}})}(w(5439))},7944:function(q,Y,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.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(v){return v.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0a30\u0a3e\u0a24"===k?v<4?v:v+12:"\u0a38\u0a35\u0a47\u0a30"===k?v:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?v>=10?v:v+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0a30\u0a3e\u0a24":v<10?"\u0a38\u0a35\u0a47\u0a30":v<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":v<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(q,Y,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),M=[/^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 v(I){return I%10<5&&I%10>1&&~~(I/10)%10!=1}function k(I,B,F){var U=I+" ";switch(F){case"ss":return U+(v(I)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return U+(v(I)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return U+(v(I)?"godziny":"godzin");case"ww":return U+(v(I)?"tygodnie":"tygodni");case"MM":return U+(v(I)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return U+(v(I)?"lata":"lat")}}b.defineLocale("pl",{months:function(I,B){return I?/D MMMM/.test(B)?T[I.month()]:i[I.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:M,longMonthsParse:M,shortMonthsParse:M,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:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(q,Y,w){!function(b){"use strict";b.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"})}(w(5439))},4225:function(q,Y,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5128:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var I=" ";return(M%100>=20||M>=100&&M%100==0)&&(I=" de "),M+I+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}b.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:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(q,Y,w){!function(b){"use strict";function T(k,L,I){return"m"===I?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function i(k,L){var I=k.split("_");return L%10==1&&L%100!=11?I[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?I[1]:I[2]}({ss:L?"\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:L?"\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"}[I],+k)}var M=[/^\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];b.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:M,longMonthsParse:M,shortMonthsParse:M,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?\.|\u043c\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(k){if(k.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(k){if(k.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:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,L,I){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,L){switch(L){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(w(5439))},2525:function(q,Y,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},3123:function(q,Y,w){!function(b){"use strict";b.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(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,M,v){return T>11?v?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":v?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(q,Y,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function M(L){return L>1&&L<5}function v(L,I,B,F){var U=L+" ";switch(B){case"s":return I||F?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return I||F?U+(M(L)?"sekundy":"sek\xfand"):U+"sekundami";case"m":return I?"min\xfata":F?"min\xfatu":"min\xfatou";case"mm":return I||F?U+(M(L)?"min\xfaty":"min\xfat"):U+"min\xfatami";case"h":return I?"hodina":F?"hodinu":"hodinou";case"hh":return I||F?U+(M(L)?"hodiny":"hod\xedn"):U+"hodinami";case"d":return I||F?"de\u0148":"d\u0148om";case"dd":return I||F?U+(M(L)?"dni":"dn\xed"):U+"d\u0148ami";case"M":return I||F?"mesiac":"mesiacom";case"MM":return I||F?U+(M(L)?"mesiace":"mesiacov"):U+"mesiacmi";case"y":return I||F?"rok":"rokom";case"yy":return I||F?U+(M(L)?"roky":"rokov"):U+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I=M+" ";switch(k){case"s":return v||L?"nekaj sekund":"nekaj sekundami";case"ss":return I+(1===M?v?"sekundo":"sekundi":2===M?v||L?"sekundi":"sekundah":M<5?v||L?"sekunde":"sekundah":"sekund");case"m":return v?"ena minuta":"eno minuto";case"mm":return I+(1===M?v?"minuta":"minuto":2===M?v||L?"minuti":"minutama":M<5?v||L?"minute":"minutami":v||L?"minut":"minutami");case"h":return v?"ena ura":"eno uro";case"hh":return I+(1===M?v?"ura":"uro":2===M?v||L?"uri":"urama":M<5?v||L?"ure":"urami":v||L?"ur":"urami");case"d":return v||L?"en dan":"enim dnem";case"dd":return I+(1===M?v||L?"dan":"dnem":2===M?v||L?"dni":"dnevoma":v||L?"dni":"dnevi");case"M":return v||L?"en mesec":"enim mesecem";case"MM":return I+(1===M?v||L?"mesec":"mesecem":2===M?v||L?"meseca":"mesecema":M<5?v||L?"mesece":"meseci":v||L?"mesecev":"meseci");case"y":return v||L?"eno leto":"enim letom";case"yy":return I+(1===M?v||L?"leto":"letom":2===M?v||L?"leti":"letoma":M<5?v||L?"leta":"leti":v||L?"let":"leti")}}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(q,Y,w){!function(b){"use strict";b.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(T){return"M"===T.charAt(0)},meridiem:function(T,M,v){return T<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}})}(w(5439))},2872:function(q,Y,w){!function(b){"use strict";var i={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(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.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\u0432._\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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"\u0434\u0430\u043d",dd:i.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:i.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(q,Y,w){!function(b){"use strict";var i={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(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(q,Y,w){!function(b){"use strict";b.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",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:"[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(T,M,v){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,M){return 12===T&&(T=0),"ekuseni"===M?T:"emini"===M?T>=11?T:T+12:"entsambama"===M||"ebusuku"===M?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?":e":1===M||2===M?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2732:function(q,Y,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.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(v){return v+"\u0bb5\u0ba4\u0bc1"},preparse:function(v){return v.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k,L){return v<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":v<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":v<10?" \u0b95\u0bbe\u0bb2\u0bc8":v<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":v<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":v<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(v,k){return 12===v&&(v=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?v<2?v:v+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&v>=10?v:v+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===M?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===M?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===M?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===M?T+12:void 0},meridiem:function(T,M,v){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M,v){return 12===M&&(M=0),"\u0448\u0430\u0431"===v?M<4?M:M+12:"\u0441\u0443\u0431\u04b3"===v?M:"\u0440\u04ef\u0437"===v?M>=11?M:M+12:"\u0431\u0435\u0433\u043e\u04b3"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"\u0448\u0430\u0431":M<11?"\u0441\u0443\u0431\u04b3":M<16?"\u0440\u04ef\u0437":M<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(q,Y,w){!function(b){"use strict";b.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(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,M,v){return T<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"}})}(w(5439))},1310:function(q,Y,w){!function(b){"use strict";var i={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"};b.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] LT",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(M,v){switch(v){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'unjy";var k=M%10;return M+(i[k]||i[M%100-k]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(q,Y,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(q,Y,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function v(I,B,F,U){var X=function k(I){var B=Math.floor(I%1e3/100),F=Math.floor(I%100/10),U=I%10,X="";return B>0&&(X+=i[B]+"vatlh"),F>0&&(X+=(""!==X?" ":"")+i[F]+"maH"),U>0&&(X+=(""!==X?" ":"")+i[U]),""===X?"pagh":X}(I);switch(F){case"ss":return X+" lup";case"mm":return X+" tup";case"hh":return X+" rep";case"dd":return X+" jaj";case"MM":return X+" jar";case"yy":return X+" DIS"}}b.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 T(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==I.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==I.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function M(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==I.indexOf("jar")?B.slice(0,-3)+"wen":-1!==I.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:v,m:"wa\u2019 tup",mm:v,h:"wa\u2019 rep",hh:v,d:"wa\u2019 jaj",dd:v,M:"wa\u2019 jar",MM:v,y:"wa\u2019 DIS",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M,v,k){return M<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(M){return"\xf6s"===M||"\xd6S"===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, 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(M,v){switch(v){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'\u0131nc\u0131";var k=M%10;return M+(i[k]||i[M%100-k]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(q,Y,w){!function(b){"use strict";function T(M,v,k,L){var I={s:["viensas secunds","'iensas secunds"],ss:[M+" secunds",M+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[M+" m\xeduts",M+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[M+" \xfeoras",M+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[M+" ziuas",M+" ziuas"],M:["'n mes","'iens mes"],MM:[M+" mesen",M+" mesen"],y:["'n ar","'iens ar"],yy:[M+" ars",M+" ars"]};return L||v?I[k][0]:I[k][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_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(M){return"d'o"===M.toLowerCase()},meridiem:function(M,v,k){return M>11?k?"d'o":"D'O":k?"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:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(q,Y,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\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}})}(w(5439))},1595:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},6050:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===M||"\u0633\u06d5\u06be\u06d5\u0631"===M||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===M?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===M||"\u0643\u06d5\u0686"===M?T+12:T>=11?T:T+12},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<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:"%d \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(T,M){switch(M){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(q,Y,w){!function(b){"use strict";function T(L,I,B){return"m"===B?I?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?I?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function i(L,I){var B=L.split("_");return I%10==1&&I%100!=11?B[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?B[1]:B[2]}({ss:I?"\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:I?"\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:I?"\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"}[B],+L)}function v(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.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 M(L,I){var B={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===L?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):L?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(I)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(I)?"genitive":"nominative"][L.day()]:B.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:v("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:v("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:v("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:v("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return v("[\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:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(L)},meridiem:function(L,I,B){return L<4?"\u043d\u043e\u0447\u0456":L<12?"\u0440\u0430\u043d\u043a\u0443":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(L,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return L+"-\u0439";case"D":return L+"-\u0433\u043e";default:return L}},week:{dow:1,doy:7}})}(w(5439))},6077:function(q,Y,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2862:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},8093:function(q,Y,w){!function(b){"use strict";b.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(T){return/^ch$/i.test(T)},meridiem:function(T,M,v){return T<12?v?"sa":"SA":v?"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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(q,Y,w){!function(b){"use strict";b.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_\u1eb8t_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}})}(w(5439))},7908:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:T>=11?T:T+12},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},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}})}(w(5439))},8867:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},1133:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},3291:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},5439:function(q,Y,w){(q=w.nmd(q)).exports=function(){"use strict";var b,ce;function i(){return b.apply(null,arguments)}function M(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function v(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function k(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function L(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(k(_,S))return!1;return!0}function I(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function F(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function U(_,S){var N,R=[];for(N=0;N<_.length;++N)R.push(S(_[N],N));return R}function X(_,S){for(var R in S)k(S,R)&&(_[R]=S[R]);return k(S,"toString")&&(_.toString=S.toString),k(S,"valueOf")&&(_.valueOf=S.valueOf),_}function Q(_,S,R,N){return mu(_,S,R,N,!0).utc()}function ee(_){return null==_._pf&&(_._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}),_._pf}function he(_){if(null==_._isValid){var S=ee(_),R=ce.call(S.parsedDateParts,function(V){return null!=V}),N=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&R);if(_._strict&&(N=N&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return N;_._isValid=N}return _._isValid}function ze(_){var S=Q(NaN);return null!=_?X(ee(S),_):ee(S).userInvalidated=!0,S}ce=Array.prototype.some?Array.prototype.some:function(_){var N,S=Object(this),R=S.length>>>0;for(N=0;N0)for(R=0;R=0?R?"+":"":"-")+Math.pow(10,Math.max(0,S-N.length)).toString().substr(1)+N}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}|x|X|zz?|ZZ?|.)/g,ft=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jn={},gi={};function Xe(_,S,R,N){var V=N;"string"==typeof N&&(V=function(){return this[N]()}),_&&(gi[_]=V),S&&(gi[S[0]]=function(){return wi(V.apply(this,arguments),S[1],S[2])}),R&&(gi[R]=function(){return this.localeData().ordinal(V.apply(this,arguments),_)})}function ai(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function pn(_,S){return _.isValid()?(S=ui(S,_.localeData()),jn[S]=jn[S]||function gs(_){var R,N,S=_.match(ot);for(R=0,N=S.length;R=0&&ft.test(_);)_=_.replace(ft,N),ft.lastIndex=0,R-=1;return _}var Ge={};function nt(_,S){var R=_.toLowerCase();Ge[R]=Ge[R+"s"]=Ge[S]=_}function Jt(_){return"string"==typeof _?Ge[_]||Ge[_.toLowerCase()]:void 0}function we(_){var R,N,S={};for(N in _)k(_,N)&&(R=Jt(N))&&(S[R]=_[N]);return S}var te={};function se(_,S){te[_]=S}function ke(_){return _%4==0&&_%100!=0||_%400==0}function Fe(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Ce(_){var S=+_,R=0;return 0!==S&&isFinite(S)&&(R=Fe(S)),R}function Ve(_,S){return function(R){return null!=R?(Ni(this,_,R),i.updateOffset(this,S),this):xt(this,_)}}function xt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function Ni(_,S,R){_.isValid()&&!isNaN(R)&&("FullYear"===S&&ke(_.year())&&1===_.month()&&29===_.date()?(R=Ce(R),_._d["set"+(_._isUTC?"UTC":"")+S](R,_.month(),Di(R,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](R))}var D,Hi=/\d/,ct=/\d\d/,We=/\d{3}/,Kn=/\d{4}/,Kt=/[+-]?\d{6}/,Mt=/\d\d?/,ms=/\d\d\d\d?/,is=/\d\d\d\d\d\d?/,Zn=/\d{1,3}/,nl=/\d{1,4}/,zo=/[+-]?\d{1,6}/,co=/\d+/,lo=/[+-]?\d+/,_s=/Z|[+-]\d\d:?\d\d/gi,rr=/Z|[+-]\d\d(?::?\d\d)?/gi,Yr=/[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 Ie(_,S,R){D[_]=ge(S)?S:function(N,V){return N&&R?R:S}}function ki(_,S){return k(D,_)?D[_](S._strict,S._locale):new RegExp(function mn(_){return Qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,R,N,V,re){return R||N||V||re}))}(_))}function Qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var si={};function At(_,S){var R,N=S;for("string"==typeof _&&(_=[_]),B(S)&&(N=function(V,re){re[S]=Ce(V)}),R=0;R<_.length;R++)si[_[R]]=N}function Ki(_,S){At(_,function(R,N,V,re){V._w=V._w||{},S(R,V._w,V,re)})}function ja(_,S,R){null!=S&&k(si,_)&&si[_](S,R._a,R,_)}var ei;function Di(_,S){if(isNaN(_)||isNaN(S))return NaN;var R=function Rn(_,S){return(_%S+S)%S}(S,12);return _+=(S-R)/12,1===R?ke(_)?29:28:31-R%7%2}ei=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Un=Ve("FullYear",!0);function Ua(_,S,R,N,V,re,ye){var rt;return _<100&&_>=0?(rt=new Date(_+400,S,R,N,V,re,ye),isFinite(rt.getFullYear())&&rt.setFullYear(_)):rt=new Date(_,S,R,N,V,re,ye),rt}function Bo(_){var S,R;return _<100&&_>=0?((R=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,R)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function ho(_,S,R){var N=7+S-R;return-(7+Bo(_,0,N).getUTCDay()-S)%7+N-1}function os(_,S,R,N,V){var Nt,bi,rt=1+7*(S-1)+(7+R-N)%7+ho(_,N,V);return rt<=0?bi=Ho(Nt=_-1)+rt:rt>Ho(_)?(Nt=_+1,bi=rt-Ho(_)):(Nt=_,bi=rt),{year:Nt,dayOfYear:bi}}function lr(_,S,R){var re,ye,N=ho(_.year(),S,R),V=Math.floor((_.dayOfYear()-N-1)/7)+1;return V<1?re=V+fo(ye=_.year()-1,S,R):V>fo(_.year(),S,R)?(re=V-fo(_.year(),S,R),ye=_.year()+1):(ye=_.year(),re=V),{week:re,year:ye}}function fo(_,S,R){var N=ho(_,S,R),V=ho(_+1,S,R);return(Ho(_)-N+V)/7}Xe("w",["ww",2],"wo","week"),Xe("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),se("week",5),se("isoWeek",5),Ie("w",Mt),Ie("ww",Mt,ct),Ie("W",Mt),Ie("WW",Mt,ct),Ki(["w","ww","W","WW"],function(_,S,R,N){S[N.substr(0,1)]=Ce(_)});function De(_,S){return _.slice(S,7).concat(_.slice(0,S))}Xe("d",0,"do","day"),Xe("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Xe("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Xe("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Xe("e",0,0,"weekday"),Xe("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Ie("d",Mt),Ie("e",Mt),Ie("E",Mt),Ie("dd",function(_,S){return S.weekdaysMinRegex(_)}),Ie("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Ie("dddd",function(_,S){return S.weekdaysRegex(_)}),Ki(["dd","ddd","dddd"],function(_,S,R,N){var V=R._locale.weekdaysParse(_,N,R._strict);null!=V?S.d=V:ee(R).invalidWeekday=_}),Ki(["d","e","E"],function(_,S,R,N){S[N]=Ce(_)});var hu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fi=Yr,fu=Yr,Va=Yr;function Fo(_,S,R){var N,V,re,ye=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],N=0;N<7;++N)re=Q([2e3,1]).day(N),this._minWeekdaysParse[N]=this.weekdaysMin(re,"").toLocaleLowerCase(),this._shortWeekdaysParse[N]=this.weekdaysShort(re,"").toLocaleLowerCase(),this._weekdaysParse[N]=this.weekdays(re,"").toLocaleLowerCase();return R?"dddd"===S?-1!==(V=ei.call(this._weekdaysParse,ye))?V:null:"ddd"===S?-1!==(V=ei.call(this._shortWeekdaysParse,ye))?V:null:-1!==(V=ei.call(this._minWeekdaysParse,ye))?V:null:"dddd"===S?-1!==(V=ei.call(this._weekdaysParse,ye))||-1!==(V=ei.call(this._shortWeekdaysParse,ye))||-1!==(V=ei.call(this._minWeekdaysParse,ye))?V:null:"ddd"===S?-1!==(V=ei.call(this._shortWeekdaysParse,ye))||-1!==(V=ei.call(this._weekdaysParse,ye))||-1!==(V=ei.call(this._minWeekdaysParse,ye))?V:null:-1!==(V=ei.call(this._minWeekdaysParse,ye))||-1!==(V=ei.call(this._weekdaysParse,ye))||-1!==(V=ei.call(this._shortWeekdaysParse,ye))?V:null}function Wa(){function _(Tn,Nn){return Nn.length-Tn.length}var re,ye,rt,Nt,bi,S=[],R=[],N=[],V=[];for(re=0;re<7;re++)ye=Q([2e3,1]).day(re),rt=Qe(this.weekdaysMin(ye,"")),Nt=Qe(this.weekdaysShort(ye,"")),bi=Qe(this.weekdays(ye,"")),S.push(rt),R.push(Nt),N.push(bi),V.push(rt),V.push(Nt),V.push(bi);S.sort(_),R.sort(_),N.sort(_),V.sort(_),this._weekdaysRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Vr(){return this.hours()%12||12}function On(_,S){Xe(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function Cs(_,S){return S._meridiemParse}Xe("H",["HH",2],0,"hour"),Xe("h",["hh",2],0,Vr),Xe("k",["kk",2],0,function Ka(){return this.hours()||24}),Xe("hmm",0,0,function(){return""+Vr.apply(this)+wi(this.minutes(),2)}),Xe("hmmss",0,0,function(){return""+Vr.apply(this)+wi(this.minutes(),2)+wi(this.seconds(),2)}),Xe("Hmm",0,0,function(){return""+this.hours()+wi(this.minutes(),2)}),Xe("Hmmss",0,0,function(){return""+this.hours()+wi(this.minutes(),2)+wi(this.seconds(),2)}),On("a",!0),On("A",!1),nt("hour","h"),se("hour",13),Ie("a",Cs),Ie("A",Cs),Ie("H",Mt),Ie("h",Mt),Ie("k",Mt),Ie("HH",Mt,ct),Ie("hh",Mt,ct),Ie("kk",Mt,ct),Ie("hmm",ms),Ie("hmmss",is),Ie("Hmm",ms),Ie("Hmmss",is),At(["H","HH"],3),At(["k","kk"],function(_,S,R){var N=Ce(_);S[3]=24===N?0:N}),At(["a","A"],function(_,S,R){R._isPm=R._locale.isPM(_),R._meridiem=_}),At(["h","hh"],function(_,S,R){S[3]=Ce(_),ee(R).bigHour=!0}),At("hmm",function(_,S,R){var N=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N)),ee(R).bigHour=!0}),At("hmmss",function(_,S,R){var N=_.length-4,V=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N,2)),S[5]=Ce(_.substr(V)),ee(R).bigHour=!0}),At("Hmm",function(_,S,R){var N=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N))}),At("Hmmss",function(_,S,R){var N=_.length-4,V=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N,2)),S[5]=Ce(_.substr(V))});var Za=Ve("Hours",!0);var mo,$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"},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:Ts,monthsShort:Tt,week:{dow:0,doy:6},weekdays:hu,weekdaysMin:Gr,weekdaysShort:Bi,meridiemParse:/[ap]\.?m?\.?/i},Mi={},ur={};function _o(_,S){var R,N=Math.min(_.length,S.length);for(R=0;R0;){if(V=hi(re.slice(0,R).join("-")))return V;if(N&&N.length>=R&&_o(re,N)>=R-1)break;R--}S++}return mo}(_)}function me(_){var S,R=_._a;return R&&-2===ee(_).overflow&&(S=R[1]<0||R[1]>11?1:R[2]<1||R[2]>Di(R[0],R[1])?2:R[3]<0||R[3]>24||24===R[3]&&(0!==R[4]||0!==R[5]||0!==R[6])?3:R[4]<0||R[4]>59?4:R[5]<0||R[5]>59?5:R[6]<0||R[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var Te=/^\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)?)?$/,tt=/^\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)?)?$/,li=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["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]],Ot=[["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/]],Zt=/^\/?Date\((-?\d+)/i,Zi=/^(?:(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}))$/,vi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _i(_){var S,R,re,ye,rt,Nt,N=_._i,V=Te.exec(N)||tt.exec(N);if(V){for(ee(_).iso=!0,S=0,R=Xt.length;S7)&&(Nt=!0)):(re=_._locale._week.dow,ye=_._locale._week.doy,bi=lr(Pt(),re,ye),R=fr(S.gg,_._a[0],bi.year),N=fr(S.w,bi.week),null!=S.d?((V=S.d)<0||V>6)&&(Nt=!0):null!=S.e?(V=S.e+re,(S.e<0||S.e>6)&&(Nt=!0)):V=re),N<1||N>fo(R,re,ye)?ee(_)._overflowWeeks=!0:null!=Nt?ee(_)._overflowWeekday=!0:(rt=os(R,N,V,re,ye),_._a[0]=rt.year,_._dayOfYear=rt.dayOfYear)}(_),null!=_._dayOfYear&&(ye=fr(_._a[0],V[0]),(_._dayOfYear>Ho(ye)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),R=Bo(ye,0,_._dayOfYear),_._a[1]=R.getUTCMonth(),_._a[2]=R.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=N[S]=V[S];for(;S<7;S++)_._a[S]=N[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?Bo:Ua).apply(null,N),re=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==re&&(ee(_).weekdayMismatch=!0)}}function Gt(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var R,N,V,re,ye,bi,S=""+_._i,rt=S.length,Nt=0;for(V=ui(_._f,_._locale).match(ot)||[],R=0;R0&&ee(_).unusedInput.push(ye),S=S.slice(S.indexOf(N)+N.length),Nt+=N.length),gi[re]?(N?ee(_).empty=!1:ee(_).unusedTokens.push(re),ja(re,N,_)):_._strict&&!N&&ee(_).unusedTokens.push(re);ee(_).charsLeftOver=rt-Nt,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function Qd(_,S,R){var N;return null==R?S:null!=_.meridiemHour?_.meridiemHour(S,R):(null!=_.isPM&&((N=_.isPM(R))&&S<12&&(S+=12),!N&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==(bi=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear(bi,_._a[0])),al(_),me(_)}else hr(_);else _i(_)}function ys(_){var S=_._i,R=_._f;return _._locale=_._locale||W(_._l),null===S||void 0===R&&""===S?ze({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),$e(S)?new St(me(S)):(F(S)?_._d=S:M(R)?function tn(_){var S,R,N,V,re,ye,rt=!1;if(0===_._f.length)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for(V=0;V<_._f.length;V++)re=0,ye=!1,S=bt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[V],Gt(S),he(S)&&(ye=!0),re+=ee(S).charsLeftOver,re+=10*ee(S).unusedTokens.length,ee(S).score=re,rt?rethis?this:_:ze()});function Xa(_,S){var R,N;if(1===S.length&&M(S[0])&&(S=S[0]),!S.length)return Pt();for(R=S[0],N=1;N=0?new Date(_+400,S,R)-na:new Date(_,S,R).valueOf()}function oc(_,S,R){return _<100&&_>=0?Date.UTC(_+400,S,R)-na:Date.UTC(_,S,R)}function Si(_,S){return S.erasAbbrRegex(_)}function xu(){var V,re,_=[],S=[],R=[],N=[],ye=this.eras();for(V=0,re=ye.length;V(re=fo(_,N,V))&&(S=re),Ap.call(this,_,S,R,N,V))}function Ap(_,S,R,N,V){var re=os(_,S,R,N,V),ye=Bo(re.year,0,re.dayOfYear);return this.year(ye.getUTCFullYear()),this.month(ye.getUTCMonth()),this.date(ye.getUTCDate()),this}Xe("N",0,0,"eraAbbr"),Xe("NN",0,0,"eraAbbr"),Xe("NNN",0,0,"eraAbbr"),Xe("NNNN",0,0,"eraName"),Xe("NNNNN",0,0,"eraNarrow"),Xe("y",["y",1],"yo","eraYear"),Xe("y",["yy",2],0,"eraYear"),Xe("y",["yyy",3],0,"eraYear"),Xe("y",["yyyy",4],0,"eraYear"),Ie("N",Si),Ie("NN",Si),Ie("NNN",Si),Ie("NNNN",function yp(_,S){return S.erasNameRegex(_)}),Ie("NNNNN",function ph(_,S){return S.erasNarrowRegex(_)}),At(["N","NN","NNN","NNNN","NNNNN"],function(_,S,R,N){var V=R._locale.erasParse(_,N,R._strict);V?ee(R).era=V:ee(R).invalidEra=_}),Ie("y",co),Ie("yy",co),Ie("yyy",co),Ie("yyyy",co),Ie("yo",function Ds(_,S){return S._eraYearOrdinalRegex||co}),At(["y","yy","yyy","yyyy"],0),At(["yo"],function(_,S,R,N){var V;R._locale._eraYearOrdinalRegex&&(V=_.match(R._locale._eraYearOrdinalRegex)),S[0]=R._locale.eraYearOrdinalParse?R._locale.eraYearOrdinalParse(_,V):parseInt(_,10)}),Xe(0,["gg",2],0,function(){return this.weekYear()%100}),Xe(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_l("gggg","weekYear"),_l("ggggg","weekYear"),_l("GGGG","isoWeekYear"),_l("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Ie("G",lo),Ie("g",lo),Ie("GG",Mt,ct),Ie("gg",Mt,ct),Ie("GGGG",nl,Kn),Ie("gggg",nl,Kn),Ie("GGGGG",zo,Kt),Ie("ggggg",zo,Kt),Ki(["gggg","ggggg","GGGG","GGGGG"],function(_,S,R,N){S[N.substr(0,2)]=Ce(_)}),Ki(["gg","GG"],function(_,S,R,N){S[N]=i.parseTwoDigitYear(_)}),Xe("Q",0,"Qo","quarter"),nt("quarter","Q"),se("quarter",7),Ie("Q",Hi),At("Q",function(_,S){S[1]=3*(Ce(_)-1)}),Xe("D",["DD",2],"Do","date"),nt("date","D"),se("date",9),Ie("D",Mt),Ie("DD",Mt,ct),Ie("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),At(["D","DD"],2),At("Do",function(_,S){S[2]=Ce(_.match(Mt)[0])});var vn=Ve("Date",!0);Xe("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),se("dayOfYear",4),Ie("DDD",Zn),Ie("DDDD",We),At(["DDD","DDDD"],function(_,S,R){R._dayOfYear=Ce(_)}),Xe("m",["mm",2],0,"minute"),nt("minute","m"),se("minute",14),Ie("m",Mt),Ie("mm",Mt,ct),At(["m","mm"],4);var ac=Ve("Minutes",!1);Xe("s",["ss",2],0,"second"),nt("second","s"),se("second",15),Ie("s",Mt),Ie("ss",Mt,ct),At(["s","ss"],5);var ws,Pu,cc=Ve("Seconds",!1);for(Xe("S",0,0,function(){return~~(this.millisecond()/100)}),Xe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Xe(0,["SSS",3],0,"millisecond"),Xe(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Xe(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Xe(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Xe(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Xe(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Xe(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),nt("millisecond","ms"),se("millisecond",16),Ie("S",Zn,Hi),Ie("SS",Zn,ct),Ie("SSS",Zn,We),ws="SSSS";ws.length<=9;ws+="S")Ie(ws,co);function wp(_,S){S[6]=Ce(1e3*("0."+_))}for(ws="S";ws.length<=9;ws+="S")At(ws,wp);Pu=Ve("Milliseconds",!1),Xe("z",0,0,"zoneAbbr"),Xe("zz",0,0,"zoneName");var Pe=St.prototype;function Ar(_){return _}Pe.add=dl,Pe.calendar=function Xn(_,S){1===arguments.length&&(arguments[0]?In(arguments[0])?(_=arguments[0],S=void 0):oh(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var R=_||Pt(),N=Qa(R,this).startOf("day"),V=i.calendarFormat(this,N)||"sameElse",re=S&&(ge(S[V])?S[V].call(this,R):S[V]);return this.format(re||this.localeData().calendar(V,this,Pt(R)))},Pe.clone=function rh(){return new St(this)},Pe.diff=function Xr(_,S,R){var N,V,re;if(!this.isValid())return NaN;if(!(N=Qa(_,this)).isValid())return NaN;switch(V=6e4*(N.utcOffset()-this.utcOffset()),S=Jt(S)){case"year":re=sc(this,N)/12;break;case"month":re=sc(this,N);break;case"quarter":re=sc(this,N)/3;break;case"second":re=(this-N)/1e3;break;case"minute":re=(this-N)/6e4;break;case"hour":re=(this-N)/36e5;break;case"day":re=(this-N-V)/864e5;break;case"week":re=(this-N-V)/6048e5;break;default:re=this-N}return R?re:Fe(re)},Pe.endOf=function Su(_){var S,R;if(void 0===(_=Jt(_))||"millisecond"===_||!this.isValid())return this;switch(R=this._isUTC?oc:lh,_){case"year":S=R(this.year()+1,0,1)-1;break;case"quarter":S=R(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=R(this.year(),this.month()+1,1)-1;break;case"week":S=R(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=R(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=R(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=ia-As(S+(this._isUTC?0:this.utcOffset()*Yo),ia)-1;break;case"minute":S=this._d.valueOf(),S+=Yo-As(S,Yo)-1;break;case"second":S=this._d.valueOf(),S+=1e3-As(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Pe.format=function ea(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=pn(this,_);return this.localeData().postformat(S)},Pe.from=function ta(_,S){return this.isValid()&&($e(_)&&_.isValid()||Pt(_).isValid())?$n({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.fromNow=function qo(_){return this.from(Pt(),_)},Pe.to=function ah(_,S){return this.isValid()&&($e(_)&&_.isValid()||Pt(_).isValid())?$n({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.toNow=function Cu(_){return this.to(Pt(),_)},Pe.get=function Ft(_){return ge(this[_=Jt(_)])?this[_]():this},Pe.invalidAt=function sa(){return ee(this).overflow},Pe.isAfter=function fp(_,S){var R=$e(_)?_:Pt(_);return!(!this.isValid()||!R.isValid())&&("millisecond"===(S=Jt(S)||"millisecond")?this.valueOf()>R.valueOf():R.valueOf()9999?pn(R,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",pn(R,"Z")):pn(R,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Pe.inspect=function gp(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var R,N,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),R="["+_+'("]',N=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(R+N+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Pe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Pe.toJSON=function Uo(){return this.isValid()?this.toISOString():null},Pe.toString=function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Pe.unix=function mp(){return Math.floor(this.valueOf()/1e3)},Pe.valueOf=function Eu(){return this._d.valueOf()-6e4*(this._offset||0)},Pe.creationData=function hh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Pe.eraName=function Zs(){var _,S,R,N=this.localeData().eras();for(_=0,S=N.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Pe.isLocal=function wo(){return!!this.isValid()&&!this._isUTC},Pe.isUtcOffset=function xi(){return!!this.isValid()&&this._isUTC},Pe.isUtc=Mu,Pe.isUTC=Mu,Pe.zoneAbbr=function Mp(){return this._isUTC?"UTC":""},Pe.zoneName=function m1(){return this._isUTC?"Coordinated Universal Time":""},Pe.dates=wt("dates accessor is deprecated. Use date instead.",vn),Pe.months=wt("months accessor is deprecated. Use month instead",No),Pe.years=wt("years accessor is deprecated. Use year instead",Un),Pe.zone=wt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ja(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Pe.isDSTShifted=wt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function _n(){if(!I(this._isDSTShifted))return this._isDSTShifted;var S,_={};return bt(_,this),(_=ys(_))._a?(S=_._isUTC?Q(_._a):Pt(_._a),this._isDSTShifted=this.isValid()&&function gr(_,S,R){var ye,N=Math.min(_.length,S.length),V=Math.abs(_.length-S.length),re=0;for(ye=0;ye0):this._isDSTShifted=!1,this._isDSTShifted});var jt=Re.prototype;function zu(_,S,R,N){var V=W(),re=Q().set(N,S);return V[R](re,_)}function ca(_,S,R){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return zu(_,S,R,"month");var N,V=[];for(N=0;N<12;N++)V[N]=zu(_,N,R,"month");return V}function Iu(_,S,R,N){"boolean"==typeof _?(B(S)&&(R=S,S=void 0),S=S||""):(R=S=_,_=!1,B(S)&&(R=S,S=void 0),S=S||"");var ye,V=W(),re=_?V._week.dow:0,rt=[];if(null!=R)return zu(S,(R+re)%7,N,"day");for(ye=0;ye<7;ye++)rt[ye]=zu(S,(ye+re)%7,N,"day");return rt}jt.calendar=function vt(_,S,R){var N=this._calendar[_]||this._calendar.sameElse;return ge(N)?N.call(S,R):N},jt.longDateFormat=function gn(_){var S=this._longDateFormat[_],R=this._longDateFormat[_.toUpperCase()];return S||!R?S:(this._longDateFormat[_]=R.match(ot).map(function(N){return"MMMM"===N||"MM"===N||"DD"===N||"dddd"===N?N.slice(1):N}).join(""),this._longDateFormat[_])},jt.invalidDate=function ao(){return this._invalidDate},jt.ordinal=function le(_){return this._ordinal.replace("%d",_)},jt.preparse=Ar,jt.postformat=Ar,jt.relativeTime=function pe(_,S,R,N){var V=this._relativeTime[R];return ge(V)?V(_,S,R,N):V.replace(/%d/i,_)},jt.pastFuture=function Ue(_,S){var R=this._relativeTime[_>0?"future":"past"];return ge(R)?R(S):R.replace(/%s/i,S)},jt.set=function Ae(_){var S,R;for(R in _)k(_,R)&&(ge(S=_[R])?this[R]=S:this["_"+R]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},jt.eras=function ku(_,S){var R,N,V,re=this._eras||W("en")._eras;for(R=0,N=re.length;R=0)return re[N]},jt.erasConvertYear=function Ks(_,S){var R=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*R},jt.erasAbbrRegex=function bp(_){return k(this,"_erasAbbrRegex")||xu.call(this),_?this._erasAbbrRegex:this._erasRegex},jt.erasNameRegex=function aa(_){return k(this,"_erasNameRegex")||xu.call(this),_?this._erasNameRegex:this._erasRegex},jt.erasNarrowRegex=function fh(_){return k(this,"_erasNarrowRegex")||xu.call(this),_?this._erasNarrowRegex:this._erasRegex},jt.months=function Ya(_,S){return _?M(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||js).test(S)?"format":"standalone"][_.month()]:M(this._months)?this._months:this._months.standalone},jt.monthsShort=function Io(_,S){return _?M(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[js.test(S)?"format":"standalone"][_.month()]:M(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},jt.monthsParse=function cr(_,S,R){var N,V,re;if(this._monthsParseExact)return sl.call(this,_,S,R);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),N=0;N<12;N++){if(V=Q([2e3,N]),R&&!this._longMonthsParse[N]&&(this._longMonthsParse[N]=new RegExp("^"+this.months(V,"").replace(".","")+"$","i"),this._shortMonthsParse[N]=new RegExp("^"+this.monthsShort(V,"").replace(".","")+"$","i")),!R&&!this._monthsParse[N]&&(re="^"+this.months(V,"")+"|^"+this.monthsShort(V,""),this._monthsParse[N]=new RegExp(re.replace(".",""),"i")),R&&"MMMM"===S&&this._longMonthsParse[N].test(_))return N;if(R&&"MMM"===S&&this._shortMonthsParse[N].test(_))return N;if(!R&&this._monthsParse[N].test(_))return N}},jt.monthsRegex=function di(_){return this._monthsParseExact?(k(this,"_monthsRegex")||ol.call(this),_?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},jt.monthsShortRegex=function ns(_){return this._monthsParseExact?(k(this,"_monthsRegex")||ol.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=uo),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},jt.week=function lp(_){return lr(_,this._week.dow,this._week.doy).week},jt.firstDayOfYear=function Rt(){return this._week.doy},jt.firstDayOfWeek=function up(){return this._week.dow},jt.weekdays=function $d(_,S){var R=M(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?De(R,this._week.dow):_?R[_.day()]:R},jt.weekdaysMin=function rs(_){return!0===_?De(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},jt.weekdaysShort=function po(_){return!0===_?De(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},jt.weekdaysParse=function pu(_,S,R){var N,V,re;if(this._weekdaysParseExact)return Fo.call(this,_,S,R);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),N=0;N<7;N++){if(V=Q([2e3,1]).day(N),R&&!this._fullWeekdaysParse[N]&&(this._fullWeekdaysParse[N]=new RegExp("^"+this.weekdays(V,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[N]=new RegExp("^"+this.weekdaysShort(V,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[N]=new RegExp("^"+this.weekdaysMin(V,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[N]||(re="^"+this.weekdays(V,"")+"|^"+this.weekdaysShort(V,"")+"|^"+this.weekdaysMin(V,""),this._weekdaysParse[N]=new RegExp(re.replace(".",""),"i")),R&&"dddd"===S&&this._fullWeekdaysParse[N].test(_))return N;if(R&&"ddd"===S&&this._shortWeekdaysParse[N].test(_))return N;if(R&&"dd"===S&&this._minWeekdaysParse[N].test(_))return N;if(!R&&this._weekdaysParse[N].test(_))return N}},jt.weekdaysRegex=function go(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Fi),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},jt.weekdaysShortRegex=function ci(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fu),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},jt.weekdaysMinRegex=function Ys(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Va),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},jt.isPM=function gu(_){return"p"===(_+"").toLowerCase().charAt(0)},jt.meridiem=function Xd(_,S,R){return _>11?R?"pm":"PM":R?"am":"AM"},P("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(_){var S=_%10;return _+(1===Ce(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=wt("moment.lang is deprecated. Use moment.locale instead.",P),i.langData=wt("moment.langData is deprecated. Use moment.localeData instead.",W);var Ls=Math.abs;function Cp(_,S,R,N){var V=$n(S,R);return _._milliseconds+=N*V._milliseconds,_._days+=N*V._days,_._months+=N*V._months,_._bubble()}function hc(_){return _<0?Math.floor(_):Math.ceil(_)}function bh(_){return 4800*_/146097}function yl(_){return 146097*_/4800}function as(_){return function(){return this.as(_)}}var Ah=as("ms"),kp=as("s"),sn=as("m"),Dp=as("h"),wh=as("d"),Al=as("w"),la=as("M"),Mh=as("Q"),xp=as("y");function cs(_){return function(){return this.isValid()?this._data[_]:NaN}}var Hu=cs("milliseconds"),ua=cs("seconds"),Bu=cs("minutes"),vh=cs("hours"),Fu=cs("days"),wl=cs("months"),Ml=cs("years");var vo=Math.round,Rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function pc(_,S,R,N,V){return V.relativeTime(S||1,!!R,_,N)}var ji=Math.abs;function da(_){return(_>0)-(_<0)||+_}function wr(){if(!this.isValid())return this.localeData().invalidDate();var N,V,re,ye,Nt,bi,Tn,Nn,_=ji(this._milliseconds)/1e3,S=ji(this._days),R=ji(this._months),rt=this.asSeconds();return rt?(N=Fe(_/60),V=Fe(N/60),_%=60,N%=60,re=Fe(R/12),R%=12,ye=_?_.toFixed(3).replace(/\.?0+$/,""):"",Nt=rt<0?"-":"",bi=da(this._months)!==da(rt)?"-":"",Tn=da(this._days)!==da(rt)?"-":"",Nn=da(this._milliseconds)!==da(rt)?"-":"",Nt+"P"+(re?bi+re+"Y":"")+(R?bi+R+"M":"")+(S?Tn+S+"D":"")+(V||N||_?"T":"")+(V?Nn+V+"H":"")+(N?Nn+N+"M":"")+(_?Nn+ye+"S":"")):"P0D"}var It=pr.prototype;return It.isValid=function eh(){return this._isValid},It.abs=function bl(){var _=this._data;return this._milliseconds=Ls(this._milliseconds),this._days=Ls(this._days),this._months=Ls(this._months),_.milliseconds=Ls(_.milliseconds),_.seconds=Ls(_.seconds),_.minutes=Ls(_.minutes),_.hours=Ls(_.hours),_.months=Ls(_.months),_.years=Ls(_.years),this},It.add=function dc(_,S){return Cp(this,_,S,1)},It.subtract=function Nu(_,S){return Cp(this,_,S,-1)},It.as=function yh(_){if(!this.isValid())return NaN;var S,R,N=this._milliseconds;if("month"===(_=Jt(_))||"quarter"===_||"year"===_)switch(S=this._days+N/864e5,R=this._months+bh(S),_){case"month":return R;case"quarter":return R/3;case"year":return R/12}else switch(S=this._days+Math.round(yl(this._months)),_){case"week":return S/7+N/6048e5;case"day":return S+N/864e5;case"hour":return 24*S+N/36e5;case"minute":return 1440*S+N/6e4;case"second":return 86400*S+N/1e3;case"millisecond":return Math.floor(864e5*S)+N;default:throw new Error("Unknown unit "+_)}},It.asMilliseconds=Ah,It.asSeconds=kp,It.asMinutes=sn,It.asHours=Dp,It.asDays=wh,It.asWeeks=Al,It.asMonths=la,It.asQuarters=Mh,It.asYears=xp,It.valueOf=function Ep(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ce(this._months/12):NaN},It._bubble=function Sp(){var V,re,ye,rt,Nt,_=this._milliseconds,S=this._days,R=this._months,N=this._data;return _>=0&&S>=0&&R>=0||_<=0&&S<=0&&R<=0||(_+=864e5*hc(yl(R)+S),S=0,R=0),N.milliseconds=_%1e3,V=Fe(_/1e3),N.seconds=V%60,re=Fe(V/60),N.minutes=re%60,ye=Fe(re/60),N.hours=ye%24,S+=Fe(ye/24),R+=Nt=Fe(bh(S)),S-=hc(yl(Nt)),rt=Fe(R/12),R%=12,N.days=S,N.months=R,N.years=rt,this},It.clone=function Lp(){return $n(this)},It.get=function fc(_){return _=Jt(_),this.isValid()?this[_+"s"]():NaN},It.milliseconds=Hu,It.seconds=ua,It.minutes=Bu,It.hours=vh,It.days=Fu,It.weeks=function Th(){return Fe(this.days()/7)},It.months=wl,It.years=Ml,It.humanize=function Pp(_,S){if(!this.isValid())return this.localeData().invalidDate();var V,re,R=!1,N=Rs;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(R=_),"object"==typeof S&&(N=Object.assign({},Rs,S),null!=S.s&&null==S.ss&&(N.ss=S.s-1)),re=function Rp(_,S,R,N){var V=$n(_).abs(),re=vo(V.as("s")),ye=vo(V.as("m")),rt=vo(V.as("h")),Nt=vo(V.as("d")),bi=vo(V.as("M")),Tn=vo(V.as("w")),Nn=vo(V.as("y")),Wo=re<=R.ss&&["s",re]||re0,Wo[4]=N,pc.apply(null,Wo)}(this,!R,N,V=this.localeData()),R&&(re=V.pastFuture(+this,re)),V.postformat(re)},It.toISOString=wr,It.toString=wr,It.toJSON=wr,It.locale=pl,It.localeData=gl,It.toIsoString=wt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wr),It.lang=ch,Xe("X",0,0,"unix"),Xe("x",0,0,"valueOf"),Ie("x",lo),Ie("X",/[+-]?\d+(\.\d{1,3})?/),At("X",function(_,S,R){R._d=new Date(1e3*parseFloat(_))}),At("x",function(_,S,R){R._d=new Date(Ce(_))}),i.version="2.29.1",function T(_){b=_}(Pt),i.fn=Pe,i.min=function zn(){return Xa("isBefore",[].slice.call(arguments,0))},i.max=function Gs(){return Xa("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=Q,i.unix=function mh(_){return Pt(1e3*_)},i.months=function lc(_,S){return ca(_,S,"months")},i.isDate=F,i.locale=P,i.invalid=ze,i.duration=$n,i.isMoment=$e,i.weekdays=function Tp(_,S,R){return Iu(_,S,R,"weekdays")},i.parseZone=function Qn(){return Pt.apply(null,arguments).parseZone()},i.localeData=W,i.isDuration=Vs,i.monthsShort=function vp(_,S){return ca(_,S,"monthsShort")},i.weekdaysMin=function _h(_,S,R){return Iu(_,S,R,"weekdaysMin")},i.defineLocale=G,i.updateLocale=function z(_,S){if(null!=S){var R,N,V=$a;null!=Mi[_]&&null!=Mi[_].parentLocale?Mi[_].set(_e(Mi[_]._config,S)):(null!=(N=hi(_))&&(V=N._config),S=_e(V,S),null==N&&(S.abbr=_),(R=new Re(S)).parentLocale=Mi[_],Mi[_]=R),P(_)}else null!=Mi[_]&&(null!=Mi[_].parentLocale?(Mi[_]=Mi[_].parentLocale,_===P()&&P(_)):null!=Mi[_]&&delete Mi[_]);return Mi[_]},i.locales=function ne(){return fe(Mi)},i.weekdaysShort=function uc(_,S,R){return Iu(_,S,R,"weekdaysShort")},i.normalizeUnits=Jt,i.relativeTimeRounding=function Op(_){return void 0===_?vo:"function"==typeof _&&(vo=_,!0)},i.relativeTimeThreshold=function Ch(_,S){return void 0!==Rs[_]&&(void 0===S?Rs[_]:(Rs[_]=S,"s"===_&&(Rs.ss=S-1),!0))},i.calendarFormat=function ic(_,S){var R=_.diff(S,"days",!0);return R<-6?"sameElse":R<-1?"lastWeek":R<0?"lastDay":R<1?"sameDay":R<2?"nextDay":R<7?"nextWeek":"sameElse"},i.prototype=Pe,i.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"},i}()},1869:(q,Y,w)=>{"use strict";w.d(Y,{d:()=>i});var b=w(3489);class i extends b.L{constructor(M,v,k){super(),this.parent=M,this.outerValue=v,this.outerIndex=k,this.index=0}_next(M){this.parent.notifyNext(this.outerValue,M,this.outerIndex,this.index++,this)}_error(M){this.parent.notifyError(M,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>v});var b=w(8896),i=w(1086),T=w(1737);class v{constructor(L,I,B){this.kind=L,this.value=I,this.error=B,this.hasValue="N"===L}observe(L){switch(this.kind){case"N":return L.next&&L.next(this.value);case"E":return L.error&&L.error(this.error);case"C":return L.complete&&L.complete()}}do(L,I,B){switch(this.kind){case"N":return L&&L(this.value);case"E":return I&&I(this.error);case"C":return B&&B()}}accept(L,I,B){return L&&"function"==typeof L.next?this.observe(L):this.do(L,I,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(L){return void 0!==L?new v("N",L):v.undefinedValueNotification}static createError(L){return new v("E",void 0,L)}static createComplete(){return v.completeNotification}}v.completeNotification=new v("C"),v.undefinedValueNotification=new v("N",void 0)},2916:(q,Y,w)=>{"use strict";w.d(Y,{y:()=>U});var b=w(3489),T=w(7668),M=w(3292),k=w(3821),L=w(5379);var F=w(2830);let U=(()=>{class Q{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ce=new Q;return ce.source=this,ce.operator=ee,ce}subscribe(ee,ce,he){const{operator:ze}=this,He=function v(Q,ae,ee){if(Q){if(Q instanceof b.L)return Q;if(Q[T.b])return Q[T.b]()}return Q||ae||ee?new b.L(Q,ae,ee):new b.L(M.c)}(ee,ce,he);if(He.add(ze?ze.call(He,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!He.syncErrorThrowable?this._subscribe(He):this._trySubscribe(He)),F.v.useDeprecatedSynchronousErrorHandling&&He.syncErrorThrowable&&(He.syncErrorThrowable=!1,He.syncErrorThrown))throw He.syncErrorValue;return He}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ce){F.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ce),function i(Q){for(;Q;){const{closed:ae,destination:ee,isStopped:ce}=Q;if(ae||ce)return!1;Q=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ce):console.warn(ce)}}forEach(ee,ce){return new(ce=X(ce))((he,ze)=>{let He;He=this.subscribe(Ze=>{try{ee(Ze)}catch(bt){ze(bt),He&&He.unsubscribe()}},ze,he)})}_subscribe(ee){const{source:ce}=this;return ce&&ce.subscribe(ee)}[k.L](){return this}pipe(...ee){return 0===ee.length?this:function B(Q){return 0===Q.length?L.y:1===Q.length?Q[0]:function(ee){return Q.reduce((ce,he)=>he(ce),ee)}}(ee)(this)}toPromise(ee){return new(ee=X(ee))((ce,he)=>{let ze;this.subscribe(He=>ze=He,He=>he(He),()=>ce(ze))})}}return Q.create=ae=>new Q(ae),Q})();function X(Q){if(Q||(Q=F.v.Promise||Promise),!Q)throw new Error("no Promise impl found");return Q}},3292:(q,Y,w)=>{"use strict";w.d(Y,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(M){},error(M){if(b.v.useDeprecatedSynchronousErrorHandling)throw M;(0,i.z)(M)},complete(){}}},826:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(M,v,k,L,I){this.destination.next(v)}notifyError(M,v){this.destination.error(M)}notifyComplete(M){this.destination.complete()}}},8929:(q,Y,w)=>{"use strict";w.d(Y,{Yc:()=>L,xQ:()=>I});var b=w(2916),i=w(3489),T=w(2654),M=w(5279),v=w(5283),k=w(7668);class L extends i.L{constructor(U){super(U),this.destination=U}}let I=(()=>{class F extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k.b](){return new L(this)}lift(X){const Q=new B(this,this);return Q.operator=X,Q}next(X){if(this.closed)throw new M.N;if(!this.isStopped){const{observers:Q}=this,ae=Q.length,ee=Q.slice();for(let ce=0;cenew B(U,X),F})();class B extends I{constructor(U,X){super(),this.destination=U,this.source=X}next(U){const{destination:X}=this;X&&X.next&&X.next(U)}error(U){const{destination:X}=this;X&&X.error&&this.destination.error(U)}complete(){const{destination:U}=this;U&&U.complete&&this.destination.complete()}_subscribe(U){const{source:X}=this;return X?this.source.subscribe(U):T.w.EMPTY}}},5283:(q,Y,w)=>{"use strict";w.d(Y,{W:()=>i});var b=w(2654);class i extends b.w{constructor(M,v){super(),this.subject=M,this.subscriber=v,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const M=this.subject,v=M.observers;if(this.subject=null,!v||0===v.length||M.isStopped||M.closed)return;const k=v.indexOf(this.subscriber);-1!==k&&v.splice(k,1)}}},3489:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>L});var b=w(7043),i=w(3292),T=w(2654),M=w(7668),v=w(2830),k=w(2782);class L extends T.w{constructor(F,U,X){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!F){this.destination=i.c;break}if("object"==typeof F){F instanceof L?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new I(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new I(this,F,U,X)}}[M.b](){return this}static create(F,U,X){const Q=new L(F,U,X);return Q.syncErrorThrowable=!1,Q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class I extends L{constructor(F,U,X,Q){super(),this._parentSubscriber=F;let ae,ee=this;(0,b.m)(U)?ae=U:U&&(ae=U.next,X=U.error,Q=U.complete,U!==i.c&&(ee=Object.create(U),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=ae,this._error=X,this._complete=Q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:U}=this;v.v.useDeprecatedSynchronousErrorHandling&&U.syncErrorThrowable?this.__tryOrSetError(U,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:U}=this,{useDeprecatedSynchronousErrorHandling:X}=v.v;if(this._error)X&&U.syncErrorThrowable?(this.__tryOrSetError(U,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(U.syncErrorThrowable)X?(U.syncErrorValue=F,U.syncErrorThrown=!0):(0,k.z)(F),this.unsubscribe();else{if(this.unsubscribe(),X)throw F;(0,k.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const U=()=>this._complete.call(this._context);v.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,U),this.unsubscribe()):(this.__tryOrUnsub(U),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,U){try{F.call(this._context,U)}catch(X){if(this.unsubscribe(),v.v.useDeprecatedSynchronousErrorHandling)throw X;(0,k.z)(X)}}__tryOrSetError(F,U,X){if(!v.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{U.call(this._context,X)}catch(Q){return v.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=Q,F.syncErrorThrown=!0,!0):((0,k.z)(Q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(q,Y,w)=>{"use strict";w.d(Y,{w:()=>k});var b=w(6688),i=w(7830),T=w(7043);const v=(()=>{function I(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((F,U)=>`${U+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return I.prototype=Object.create(Error.prototype),I})();class k{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:U,_subscriptions:X}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof k)F.remove(this);else if(null!==F)for(let Q=0;QB.concat(F instanceof v?F.errors:F),[])}k.EMPTY=((I=new k).closed=!0,I)},2830:(q,Y,w)=>{"use strict";w.d(Y,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const M=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+M.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(q,Y,w)=>{"use strict";w.d(Y,{c:()=>v,N:()=>k});var b=w(8929),i=w(2916),T=w(2654),M=w(4327);class v extends i.y{constructor(U,X){super(),this.source=U,this.subjectFactory=X,this._refCount=0,this._isComplete=!1}_subscribe(U){return this.getSubject().subscribe(U)}getSubject(){const U=this._subject;return(!U||U.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let U=this._connection;return U||(this._isComplete=!1,U=this._connection=new T.w,U.add(this.source.subscribe(new L(this.getSubject(),this))),U.closed&&(this._connection=null,U=T.w.EMPTY)),U}refCount(){return(0,M.x)()(this)}}const k=(()=>{const F=v.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class L extends b.Yc{constructor(U,X){super(U),this.connectable=X}_error(U){this._unsubscribe(),super._error(U)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const U=this.connectable;if(U){this.connectable=null;const X=U._connection;U._refCount=0,U._subject=null,U._connection=null,X&&X.unsubscribe()}}}},6053:(q,Y,w)=>{"use strict";w.d(Y,{aj:()=>L});var b=w(2866),i=w(6688),T=w(826),M=w(9054),v=w(3009);const k={};function L(...F){let U=null,X=null;return(0,b.K)(F[F.length-1])&&(X=F.pop()),"function"==typeof F[F.length-1]&&(U=F.pop()),1===F.length&&(0,i.k)(F[0])&&(F=F[0]),(0,v.n)(F,X).lift(new I(U))}class I{constructor(U){this.resultSelector=U}call(U,X){return X.subscribe(new B(U,this.resultSelector))}}class B extends T.L{constructor(U,X){super(U),this.resultSelector=X,this.active=0,this.values=[],this.observables=[]}_next(U){this.values.push(k),this.observables.push(U)}_complete(){const U=this.observables,X=U.length;if(0===X)this.destination.complete();else{this.active=X,this.toRespond=X;for(let Q=0;Q{"use strict";w.d(Y,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(v=>v.complete());function T(v){return v?function M(v){return new b.y(k=>v.schedule(()=>k.complete()))}(v):i}},5254:(q,Y,w)=>{"use strict";w.d(Y,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),M=w(3821),L=w(6454),I=w(5430),U=w(8955),X=w(8515);function ee(ce,he){return he?function ae(ce,he){if(null!=ce){if(function F(ce){return ce&&"function"==typeof ce[M.L]}(ce))return function v(ce,he){return new b.y(ze=>{const He=new T.w;return He.add(he.schedule(()=>{const Ze=ce[M.L]();He.add(Ze.subscribe({next(bt){He.add(he.schedule(()=>ze.next(bt)))},error(bt){He.add(he.schedule(()=>ze.error(bt)))},complete(){He.add(he.schedule(()=>ze.complete()))}}))})),He})}(ce,he);if((0,U.t)(ce))return function k(ce,he){return new b.y(ze=>{const He=new T.w;return He.add(he.schedule(()=>ce.then(Ze=>{He.add(he.schedule(()=>{ze.next(Ze),He.add(he.schedule(()=>ze.complete()))}))},Ze=>{He.add(he.schedule(()=>ze.error(Ze)))}))),He})}(ce,he);if((0,X.z)(ce))return(0,L.r)(ce,he);if(function Q(ce){return ce&&"function"==typeof ce[I.hZ]}(ce)||"string"==typeof ce)return function B(ce,he){if(!ce)throw new Error("Iterable cannot be null");return new b.y(ze=>{const He=new T.w;let Ze;return He.add(()=>{Ze&&"function"==typeof Ze.return&&Ze.return()}),He.add(he.schedule(()=>{Ze=ce[I.hZ](),He.add(he.schedule(function(){if(ze.closed)return;let bt,St;try{const $e=Ze.next();bt=$e.value,St=$e.done}catch($e){return void ze.error($e)}St?ze.complete():(ze.next(bt),this.schedule())}))})),He})}(ce,he)}throw new TypeError((null!==ce&&typeof ce||ce)+" is not observable")}(ce,he):ce instanceof b.y?ce:new b.y((0,i.s)(ce))}},3009:(q,Y,w)=>{"use strict";w.d(Y,{n:()=>M});var b=w(2916),i=w(3650),T=w(6454);function M(v,k){return k?(0,T.r)(v,k):new b.y((0,i.V)(v))}},6787:(q,Y,w)=>{"use strict";w.d(Y,{T:()=>v});var b=w(2916),i=w(2866),T=w(9146),M=w(3009);function v(...k){let L=Number.POSITIVE_INFINITY,I=null,B=k[k.length-1];return(0,i.K)(B)?(I=k.pop(),k.length>1&&"number"==typeof k[k.length-1]&&(L=k.pop())):"number"==typeof B&&(L=k.pop()),null===I&&1===k.length&&k[0]instanceof b.y?k[0]:(0,T.J)(L)((0,M.n)(k,I))}},1086:(q,Y,w)=>{"use strict";w.d(Y,{of:()=>M});var b=w(2866),i=w(3009),T=w(6454);function M(...v){let k=v[v.length-1];return(0,b.K)(k)?(v.pop(),(0,T.r)(v,k)):(0,i.n)(v)}},1946:(q,Y,w)=>{"use strict";w.d(Y,{S3:()=>v});var b=w(6688),i=w(3009),T=w(826),M=w(9054);function v(...I){if(1===I.length){if(!(0,b.k)(I[0]))return I[0];I=I[0]}return(0,i.n)(I,void 0).lift(new k)}class k{call(B,F){return F.subscribe(new L(B))}}class L extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,F=B.length;if(0===F)this.destination.complete();else{for(let U=0;U{"use strict";w.d(Y,{_:()=>i});var b=w(2916);function i(M,v){return new b.y(v?k=>v.schedule(T,0,{error:M,subscriber:k}):k=>k.error(M))}function T({error:M,subscriber:v}){v.error(M)}},7221:(q,Y,w)=>{"use strict";w.d(Y,{K:()=>M});var b=w(826),i=w(1869),T=w(9054);function M(L){return function(B){const F=new v(L),U=B.lift(F);return F.caught=U}}class v{constructor(I){this.selector=I}call(I,B){return B.subscribe(new k(I,this.selector,this.caught))}}class k extends b.L{constructor(I,B,F){super(I),this.selector=B,this.caught=F}error(I){if(!this.isStopped){let B;try{B=this.selector(I,this.caught)}catch(X){return void super.error(X)}this._unsubscribeAndRecycle();const F=new i.d(this,void 0,void 0);this.add(F);const U=(0,T.D)(this,B,void 0,void 0,F);U!==F&&this.add(U)}}}},1406:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>i});var b=w(1709);function i(T,M){return(0,b.zg)(T,M,1)}},13:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>T});var b=w(3489),i=w(353);function T(L,I=i.P){return B=>B.lift(new M(L,I))}class M{constructor(I,B){this.dueTime=I,this.scheduler=B}call(I,B){return B.subscribe(new v(I,this.dueTime,this.scheduler))}}class v extends b.L{constructor(I,B,F){super(I),this.dueTime=B,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(I){this.clearDebounce(),this.lastValue=I,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(k,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:I}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(I)}}clearDebounce(){const I=this.debouncedSubscription;null!==I&&(this.remove(I),I.unsubscribe(),this.debouncedSubscription=null)}}function k(L){L.debouncedNext()}},7314:(q,Y,w)=>{"use strict";w.d(Y,{d:()=>i});var b=w(3489);function i(v=null){return k=>k.lift(new T(v))}class T{constructor(k){this.defaultValue=k}call(k,L){return L.subscribe(new M(k,this.defaultValue))}}class M extends b.L{constructor(k,L){super(k),this.defaultValue=L,this.isEmpty=!0}_next(k){this.isEmpty=!1,this.destination.next(k)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(q,Y,w)=>{"use strict";w.d(Y,{g:()=>v});var b=w(353),i=w(2697),T=w(3489),M=w(9312);function v(B,F=b.P){const X=(0,i.J)(B)?+B-F.now():Math.abs(B);return Q=>Q.lift(new k(X,F))}class k{constructor(F,U){this.delay=F,this.scheduler=U}call(F,U){return U.subscribe(new L(F,this.delay,this.scheduler))}}class L extends T.L{constructor(F,U,X){super(F),this.delay=U,this.scheduler=X,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const U=F.source,X=U.queue,Q=F.scheduler,ae=F.destination;for(;X.length>0&&X[0].time-Q.now()<=0;)X.shift().notification.observe(ae);if(X.length>0){const ee=Math.max(0,X[0].time-Q.now());this.schedule(F,ee)}else this.unsubscribe(),U.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule(L.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const U=this.scheduler,X=new I(U.now()+this.delay,F);this.queue.push(X),!1===this.active&&this._schedule(U)}_next(F){this.scheduleNotification(M.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(M.P.createComplete()),this.unsubscribe()}}class I{constructor(F,U){this.time=F,this.notification=U}}},2198:(q,Y,w)=>{"use strict";w.d(Y,{h:()=>i});var b=w(3489);function i(v,k){return function(I){return I.lift(new T(v,k))}}class T{constructor(k,L){this.predicate=k,this.thisArg=L}call(k,L){return L.subscribe(new M(k,this.predicate,this.thisArg))}}class M extends b.L{constructor(k,L,I){super(k),this.predicate=L,this.thisArg=I,this.count=0}_next(k){let L;try{L=this.predicate.call(this.thisArg,k,this.count++)}catch(I){return void this.destination.error(I)}L&&this.destination.next(k)}}},7224:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>L});var b=w(4450),i=w(2198),T=w(2986),M=w(7314),v=w(4907),k=w(5379);function L(I,B){const F=arguments.length>=2;return U=>U.pipe(I?(0,i.h)((X,Q)=>I(X,Q,U)):k.y,(0,T.q)(1),F?(0,M.d)(B):(0,v.T)(()=>new b.K))}},4850:(q,Y,w)=>{"use strict";w.d(Y,{U:()=>i});var b=w(3489);function i(v,k){return function(I){if("function"!=typeof v)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return I.lift(new T(v,k))}}class T{constructor(k,L){this.project=k,this.thisArg=L}call(k,L){return L.subscribe(new M(k,this.project,this.thisArg))}}class M extends b.L{constructor(k,L,I){super(k),this.project=L,this.count=0,this.thisArg=I||this}_next(k){let L;try{L=this.project.call(this.thisArg,k,this.count++)}catch(I){return void this.destination.error(I)}this.destination.next(L)}}},9146:(q,Y,w)=>{"use strict";w.d(Y,{J:()=>T});var b=w(1709),i=w(5379);function T(M=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,M)}},1709:(q,Y,w)=>{"use strict";w.d(Y,{zg:()=>k});var b=w(9054),i=w(826),T=w(1869),M=w(4850),v=w(5254);function k(B,F,U=Number.POSITIVE_INFINITY){return"function"==typeof F?X=>X.pipe(k((Q,ae)=>(0,v.D)(B(Q,ae)).pipe((0,M.U)((ee,ce)=>F(Q,ee,ae,ce))),U)):("number"==typeof F&&(U=F),X=>X.lift(new L(B,U)))}class L{constructor(F,U=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=U}call(F,U){return U.subscribe(new I(F,this.project,this.concurrent))}}class I extends i.L{constructor(F,U,X=Number.POSITIVE_INFINITY){super(F),this.project=U,this.concurrent=X,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(U.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(q,Y,w)=>{"use strict";w.d(Y,{x:()=>i});var b=w(3489);function i(){return function(k){return k.lift(new T(k))}}class T{constructor(k){this.connectable=k}call(k,L){const{connectable:I}=this;I._refCount++;const B=new M(k,I),F=L.subscribe(B);return B.closed||(B.connection=I.connect()),F}}class M extends b.L{constructor(k,L){super(k),this.connectable=L}_unsubscribe(){const{connectable:k}=this;if(!k)return void(this.connection=null);this.connectable=null;const L=k._refCount;if(L<=0)return void(this.connection=null);if(k._refCount=L-1,L>1)return void(this.connection=null);const{connection:I}=this,B=k._connection;this.connection=null,B&&(!I||B===I)&&B.unsubscribe()}}},2474:(q,Y,w)=>{"use strict";w.d(Y,{B:()=>L});var b=w(1762);class T{constructor(B,F){this.subjectFactory=B,this.selector=F}call(B,F){const{selector:U}=this,X=this.subjectFactory(),Q=U(X).subscribe(B);return Q.add(F.subscribe(X)),Q}}var M=w(4327),v=w(8929);function k(){return new v.xQ}function L(){return I=>(0,M.x)()(function i(I,B){return function(U){let X;if(X="function"==typeof I?I:function(){return I},"function"==typeof B)return U.lift(new T(X,B));const Q=Object.create(U,b.N);return Q.source=U,Q.subjectFactory=X,Q}}(k)(I))}},7545:(q,Y,w)=>{"use strict";w.d(Y,{w:()=>k});var b=w(826),i=w(1869),T=w(9054),M=w(4850),v=w(5254);function k(B,F){return"function"==typeof F?U=>U.pipe(k((X,Q)=>(0,v.D)(B(X,Q)).pipe((0,M.U)((ae,ee)=>F(X,ae,Q,ee))))):U=>U.lift(new L(B))}class L{constructor(F){this.project=F}call(F,U){return U.subscribe(new I(F,this.project))}}class I extends b.L{constructor(F,U){super(F),this.project=U,this.index=0}_next(F){let U;const X=this.index++;try{U=this.project(F,X)}catch(Q){return void this.destination.error(Q)}this._innerSub(U,F,X)}_innerSub(F,U,X){const Q=this.innerSubscription;Q&&Q.unsubscribe();const ae=new i.d(this,U,X),ee=this.destination;ee.add(ae),this.innerSubscription=(0,T.D)(this,F,void 0,void 0,ae),this.innerSubscription!==ae&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,U,X,Q,ae){this.destination.next(U)}}},2986:(q,Y,w)=>{"use strict";w.d(Y,{q:()=>M});var b=w(3489),i=w(4231),T=w(8896);function M(L){return I=>0===L?(0,T.c)():I.lift(new v(L))}class v{constructor(I){if(this.total=I,this.total<0)throw new i.W}call(I,B){return B.subscribe(new k(I,this.total))}}class k extends b.L{constructor(I,B){super(I),this.total=B,this.count=0}_next(I){const B=this.total,F=++this.count;F<=B&&(this.destination.next(I),F===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>M});var b=w(3489);function i(){}var T=w(7043);function M(L,I,B){return function(U){return U.lift(new v(L,I,B))}}class v{constructor(I,B,F){this.nextOrObserver=I,this.error=B,this.complete=F}call(I,B){return B.subscribe(new k(I,this.nextOrObserver,this.error,this.complete))}}class k extends b.L{constructor(I,B,F,U){super(I),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=F||i,this._tapComplete=U||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(I){try{this._tapNext.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.next(I)}_error(I){try{this._tapError.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.error(I)}_complete(){try{this._tapComplete.call(this._context)}catch(I){return void this.destination.error(I)}return this.destination.complete()}}},4907:(q,Y,w)=>{"use strict";w.d(Y,{T:()=>T});var b=w(4450),i=w(3489);function T(L=k){return I=>I.lift(new M(L))}class M{constructor(I){this.errorFactory=I}call(I,B){return B.subscribe(new v(I,this.errorFactory))}}class v extends i.L{constructor(I,B){super(I),this.errorFactory=B,this.hasValue=!1}_next(I){this.hasValue=!0,this.destination.next(I)}_complete(){if(this.hasValue)return this.destination.complete();{let I;try{I=this.errorFactory()}catch(B){I=B}this.destination.error(I)}}}function k(){return new b.K}},6227:(q,Y,w)=>{"use strict";w.d(Y,{V:()=>U});var b=w(353);const T=(()=>{function X(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return X.prototype=Object.create(Error.prototype),X})();var M=w(2697),v=w(826),k=w(9054);class I{constructor(Q,ae,ee,ce){this.waitFor=Q,this.absoluteTimeout=ae,this.withObservable=ee,this.scheduler=ce}call(Q,ae){return ae.subscribe(new B(Q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends v.L{constructor(Q,ae,ee,ce,he){super(Q),this.absoluteTimeout=ae,this.waitFor=ee,this.withObservable=ce,this.scheduler=he,this.action=null,this.scheduleTimeout()}static dispatchTimeout(Q){const{withObservable:ae}=Q;Q._unsubscribeAndRecycle(),Q.add((0,k.D)(Q,ae))}scheduleTimeout(){const{action:Q}=this;Q?this.action=Q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(Q){this.absoluteTimeout||this.scheduleTimeout(),super._next(Q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=w(1737);function U(X,Q=b.P){return function L(X,Q,ae=b.P){return ee=>{let ce=(0,M.J)(X),he=ce?+X-ae.now():Math.abs(X);return ee.lift(new I(he,ce,Q,ae))}}(X,(0,F._)(new T),Q)}},6454:(q,Y,w)=>{"use strict";w.d(Y,{r:()=>T});var b=w(2916),i=w(2654);function T(M,v){return new b.y(k=>{const L=new i.w;let I=0;return L.add(v.schedule(function(){I!==M.length?(k.next(M[I++]),k.closed||L.add(this.schedule())):k.complete()})),L})}},6686:(q,Y,w)=>{"use strict";w.d(Y,{o:()=>T});var b=w(2654);class i extends b.w{constructor(v,k){super()}schedule(v,k=0){return this}}class T extends i{constructor(v,k){super(v,k),this.scheduler=v,this.work=k,this.pending=!1}schedule(v,k=0){if(this.closed)return this;this.state=v;const L=this.id,I=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(I,L,k)),this.pending=!0,this.delay=k,this.id=this.id||this.requestAsyncId(I,this.id,k),this}requestAsyncId(v,k,L=0){return setInterval(v.flush.bind(v,this),L)}recycleAsyncId(v,k,L=0){if(null!==L&&this.delay===L&&!1===this.pending)return k;clearInterval(k)}execute(v,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const L=this._execute(v,k);if(L)return L;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(v,k){let I,L=!1;try{this.work(v)}catch(B){L=!0,I=!!B&&B||new Error(B)}if(L)return this.unsubscribe(),I}_unsubscribe(){const v=this.id,k=this.scheduler,L=k.actions,I=L.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==I&&L.splice(I,1),null!=v&&(this.id=this.recycleAsyncId(k,v,null)),this.delay=null}}},2268:(q,Y,w)=>{"use strict";w.d(Y,{v:()=>i});let b=(()=>{class T{constructor(v,k=T.now){this.SchedulerAction=v,this.now=k}schedule(v,k=0,L){return new this.SchedulerAction(this,v).schedule(L,k)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(M,v=b.now){super(M,()=>i.delegate&&i.delegate!==this?i.delegate.now():v()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(M,v=0,k){return i.delegate&&i.delegate!==this?i.delegate.schedule(M,v,k):super.schedule(M,v,k)}flush(M){const{actions:v}=this;if(this.active)return void v.push(M);let k;this.active=!0;do{if(k=M.execute(M.state,M.delay))break}while(M=v.shift());if(this.active=!1,k){for(;M=v.shift();)M.unsubscribe();throw k}}}},353:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(q,Y,w)=>{"use strict";w.d(Y,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(q,Y,w)=>{"use strict";w.d(Y,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(q,Y,w)=>{"use strict";w.d(Y,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(q,Y,w)=>{"use strict";w.d(Y,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(q,Y,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(Y,{z:()=>b})},5379:(q,Y,w)=>{"use strict";function b(i){return i}w.d(Y,{y:()=>b})},6688:(q,Y,w)=>{"use strict";w.d(Y,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(q,Y,w)=>{"use strict";w.d(Y,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(q,Y,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(Y,{J:()=>b})},7043:(q,Y,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(Y,{m:()=>b})},7830:(q,Y,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(Y,{K:()=>b})},8955:(q,Y,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(Y,{t:()=>b})},2866:(q,Y,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(Y,{K:()=>b})},9249:(q,Y,w)=>{"use strict";w.d(Y,{s:()=>U});var b=w(3650),i=w(2782),M=w(5430),k=w(3821),I=w(8515),B=w(8955),F=w(7830);const U=X=>{if(X&&"function"==typeof X[k.L])return(X=>Q=>{const ae=X[k.L]();if("function"!=typeof ae.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ae.subscribe(Q)})(X);if((0,I.z)(X))return(0,b.V)(X);if((0,B.t)(X))return(X=>Q=>(X.then(ae=>{Q.closed||(Q.next(ae),Q.complete())},ae=>Q.error(ae)).then(null,i.z),Q))(X);if(X&&"function"==typeof X[M.hZ])return(X=>Q=>{const ae=X[M.hZ]();for(;;){const ee=ae.next();if(ee.done){Q.complete();break}if(Q.next(ee.value),Q.closed)break}return"function"==typeof ae.return&&Q.add(()=>{ae.return&&ae.return()}),Q})(X);{const ae=`You provided ${(0,F.K)(X)?"an invalid object":`'${X}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ae)}}},3650:(q,Y,w)=>{"use strict";w.d(Y,{V:()=>b});const b=i=>T=>{for(let M=0,v=i.length;M{"use strict";w.d(Y,{D:()=>M});var b=w(1869),i=w(9249),T=w(2916);function M(v,k,L,I,B=new b.d(v,L,I)){if(!B.closed)return k instanceof T.y?k.subscribe(B):(0,i.s)(k)(B)}},6700:(q,Y,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(M){var v=T(M);return w(v)}function T(M){if(!w.o(b,M)){var v=new Error("Cannot find module '"+M+"'");throw v.code="MODULE_NOT_FOUND",v}return b[M]}i.keys=function(){return Object.keys(b)},i.resolve=T,q.exports=i,i.id=6700},655:(q,Y,w)=>{"use strict";function I(de,ge,Ae,_e){return new(Ae||(Ae=Promise))(function(fe,yt){function vt(ft){try{ot(_e.next(ft))}catch(jn){yt(jn)}}function wi(ft){try{ot(_e.throw(ft))}catch(jn){yt(jn)}}function ot(ft){ft.done?fe(ft.value):function Re(fe){return fe instanceof Ae?fe:new Ae(function(yt){yt(fe)})}(ft.value).then(vt,wi)}ot((_e=_e.apply(de,ge||[])).next())})}w.d(Y,{mG:()=>I})},9808:(q,Y,w)=>{"use strict";w.d(Y,{mr:()=>He,Ov:()=>Mn,ez:()=>Vr,K0:()=>L,uU:()=>Fi,Do:()=>bt,V_:()=>F,Ye:()=>St,S$:()=>he,mk:()=>Io,sg:()=>wn,O5:()=>ns,PC:()=>lr,RF:()=>Un,n9:()=>ss,ED:()=>Ua,b0:()=>Ze,lw:()=>I,gd:()=>Bi,EM:()=>ur,JF:()=>hi,NF:()=>Pn,PM:()=>Za,w_:()=>k,bD:()=>Ka,q:()=>T,Mx:()=>Ya,HT:()=>v});var b=w(5e3);let i=null;function T(){return i}function v(P){i||(i=P)}class k{}const L=new b.OlP("DocumentToken");let I=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function B(){return(0,b.LFG)(U)}()},providedIn:"platform"}),P})();const F=new b.OlP("Location Initialized");let U=(()=>{class P extends I{constructor(z){super(),this._doc=z,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(z){const W=T().getGlobalEventTarget(this._doc,"window");return W.addEventListener("popstate",z,!1),()=>W.removeEventListener("popstate",z)}onHashChange(z){const W=T().getGlobalEventTarget(this._doc,"window");return W.addEventListener("hashchange",z,!1),()=>W.removeEventListener("hashchange",z)}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(z){this.location.pathname=z}pushState(z,W,ne){X()?this._history.pushState(z,W,ne):this.location.hash=ne}replaceState(z,W,ne){X()?this._history.replaceState(z,W,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(z=0){this._history.go(z)}getState(){return this._history.state}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(L))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function Q(){return new U((0,b.LFG)(L))}()},providedIn:"platform"}),P})();function X(){return!!window.history.pushState}function ae(P,G){if(0==P.length)return G;if(0==G.length)return P;let z=0;return P.endsWith("/")&&z++,G.startsWith("/")&&z++,2==z?P+G.substring(1):1==z?P+G:P+"/"+G}function ee(P){const G=P.match(/#|\?|$/),z=G&&G.index||P.length;return P.slice(0,z-("/"===P[z-1]?1:0))+P.slice(z)}function ce(P){return P&&"?"!==P[0]?"?"+P:P}let he=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function ze(P){const G=(0,b.LFG)(L).location;return new Ze((0,b.LFG)(I),G&&G.origin||"")}()},providedIn:"root"}),P})();const He=new b.OlP("appBaseHref");let Ze=(()=>{class P extends he{constructor(z,W){if(super(),this._platformLocation=z,this._removeListenerFns=[],null==W&&(W=this._platformLocation.getBaseHrefFromDOM()),null==W)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=W}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}prepareExternalUrl(z){return ae(this._baseHref,z)}path(z=!1){const W=this._platformLocation.pathname+ce(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&z?`${W}${ne}`:W}pushState(z,W,ne,me){const Te=this.prepareExternalUrl(ne+ce(me));this._platformLocation.pushState(z,W,Te)}replaceState(z,W,ne,me){const Te=this.prepareExternalUrl(ne+ce(me));this._platformLocation.replaceState(z,W,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformLocation).historyGo)||void 0===ne||ne.call(W,z)}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(I),b.LFG(He,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),bt=(()=>{class P extends he{constructor(z,W){super(),this._platformLocation=z,this._baseHref="",this._removeListenerFns=[],null!=W&&(this._baseHref=W)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}path(z=!1){let W=this._platformLocation.hash;return null==W&&(W="#"),W.length>0?W.substring(1):W}prepareExternalUrl(z){const W=ae(this._baseHref,z);return W.length>0?"#"+W:W}pushState(z,W,ne,me){let Te=this.prepareExternalUrl(ne+ce(me));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.pushState(z,W,Te)}replaceState(z,W,ne,me){let Te=this.prepareExternalUrl(ne+ce(me));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.replaceState(z,W,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformLocation).historyGo)||void 0===ne||ne.call(W,z)}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(I),b.LFG(He,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),St=(()=>{class P{constructor(z,W){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=z;const ne=this._platformStrategy.getBaseHref();this._platformLocation=W,this._baseHref=ee(wt(ne)),this._platformStrategy.onPopState(me=>{this._subject.emit({url:this.path(!0),pop:!0,state:me.state,type:me.type})})}path(z=!1){return this.normalize(this._platformStrategy.path(z))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(z,W=""){return this.path()==this.normalize(z+ce(W))}normalize(z){return P.stripTrailingSlash(function Wi(P,G){return P&&G.startsWith(P)?G.substring(P.length):G}(this._baseHref,wt(z)))}prepareExternalUrl(z){return z&&"/"!==z[0]&&(z="/"+z),this._platformStrategy.prepareExternalUrl(z)}go(z,W="",ne=null){this._platformStrategy.pushState(ne,"",z,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(W)),ne)}replaceState(z,W="",ne=null){this._platformStrategy.replaceState(ne,"",z,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(W)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformStrategy).historyGo)||void 0===ne||ne.call(W,z)}onUrlChange(z){this._urlChangeListeners.push(z),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(W=>{this._notifyUrlChangeListeners(W.url,W.state)}))}_notifyUrlChangeListeners(z="",W){this._urlChangeListeners.forEach(ne=>ne(z,W))}subscribe(z,W,ne){return this._subject.subscribe({next:z,error:W,complete:ne})}}return P.normalizeQueryParams=ce,P.joinWithSlash=ae,P.stripTrailingSlash=ee,P.\u0275fac=function(z){return new(z||P)(b.LFG(he),b.LFG(I))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function $e(){return new St((0,b.LFG)(he),(0,b.LFG)(I))}()},providedIn:"root"}),P})();function wt(P){return P.replace(/\/index.html$/,"")}var ge=(()=>((ge=ge||{})[ge.Zero=0]="Zero",ge[ge.One=1]="One",ge[ge.Two=2]="Two",ge[ge.Few=3]="Few",ge[ge.Many=4]="Many",ge[ge.Other=5]="Other",ge))(),Ae=(()=>((Ae=Ae||{})[Ae.Format=0]="Format",Ae[Ae.Standalone=1]="Standalone",Ae))(),_e=(()=>((_e=_e||{})[_e.Narrow=0]="Narrow",_e[_e.Abbreviated=1]="Abbreviated",_e[_e.Wide=2]="Wide",_e[_e.Short=3]="Short",_e))(),Re=(()=>((Re=Re||{})[Re.Short=0]="Short",Re[Re.Medium=1]="Medium",Re[Re.Long=2]="Long",Re[Re.Full=3]="Full",Re))(),fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Group=1]="Group",fe[fe.List=2]="List",fe[fe.PercentSign=3]="PercentSign",fe[fe.PlusSign=4]="PlusSign",fe[fe.MinusSign=5]="MinusSign",fe[fe.Exponential=6]="Exponential",fe[fe.SuperscriptingExponent=7]="SuperscriptingExponent",fe[fe.PerMille=8]="PerMille",fe[fe.Infinity=9]="Infinity",fe[fe.NaN=10]="NaN",fe[fe.TimeSeparator=11]="TimeSeparator",fe[fe.CurrencyDecimal=12]="CurrencyDecimal",fe[fe.CurrencyGroup=13]="CurrencyGroup",fe))();function ai(P,G){return Ge((0,b.cg1)(P)[b.wAp.DateFormat],G)}function gs(P,G){return Ge((0,b.cg1)(P)[b.wAp.TimeFormat],G)}function pn(P,G){return Ge((0,b.cg1)(P)[b.wAp.DateTimeFormat],G)}function ui(P,G){const z=(0,b.cg1)(P),W=z[b.wAp.NumberSymbols][G];if(void 0===W){if(G===fe.CurrencyDecimal)return z[b.wAp.NumberSymbols][fe.Decimal];if(G===fe.CurrencyGroup)return z[b.wAp.NumberSymbols][fe.Group]}return W}const Yn=b.kL8;function le(P){if(!P[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ge(P,G){for(let z=G;z>-1;z--)if(void 0!==P[z])return P[z];throw new Error("Locale data API: locale data undefined")}function nt(P){const[G,z]=P.split(":");return{hours:+G,minutes:+z}}const se=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Oe={},ke=/((?:[^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 Fe=(()=>((Fe=Fe||{})[Fe.Short=0]="Short",Fe[Fe.ShortGMT=1]="ShortGMT",Fe[Fe.Long=2]="Long",Fe[Fe.Extended=3]="Extended",Fe))(),Ce=(()=>((Ce=Ce||{})[Ce.FullYear=0]="FullYear",Ce[Ce.Month=1]="Month",Ce[Ce.Date=2]="Date",Ce[Ce.Hours=3]="Hours",Ce[Ce.Minutes=4]="Minutes",Ce[Ce.Seconds=5]="Seconds",Ce[Ce.FractionalSeconds=6]="FractionalSeconds",Ce[Ce.Day=7]="Day",Ce))(),Ve=(()=>((Ve=Ve||{})[Ve.DayPeriods=0]="DayPeriods",Ve[Ve.Days=1]="Days",Ve[Ve.Months=2]="Months",Ve[Ve.Eras=3]="Eras",Ve))();function xt(P,G,z,W){let ne=function Ie(P){if(mn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ne,me=1,Te=1]=P.split("-").map(tt=>+tt);return Ni(ne,me-1,Te)}const z=parseFloat(P);if(!isNaN(P-z))return new Date(z);let W;if(W=P.match(se))return function ki(P){const G=new Date(0);let z=0,W=0;const ne=P[8]?G.setUTCFullYear:G.setFullYear,me=P[8]?G.setUTCHours:G.setHours;P[9]&&(z=Number(P[9]+P[10]),W=Number(P[9]+P[11])),ne.call(G,Number(P[1]),Number(P[2])-1,Number(P[3]));const Te=Number(P[4]||0)-z,tt=Number(P[5]||0)-W,li=Number(P[6]||0),Xt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return me.call(G,Te,tt,li,Xt),G}(W)}const G=new Date(P);if(!mn(G))throw new Error(`Unable to convert "${P}" into a date`);return G}(P);G=Ft(z,G)||G;let tt,Te=[];for(;G;){if(tt=ke.exec(G),!tt){Te.push(G);break}{Te=Te.concat(tt.slice(1));const Ot=Te.pop();if(!Ot)break;G=Ot}}let li=ne.getTimezoneOffset();W&&(li=ar(W,li),ne=function D(P,G,z){const W=z?-1:1,ne=P.getTimezoneOffset();return function Yr(P,G){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+G),P}(P,W*(ar(G,ne)-ne))}(ne,W,!0));let Xt="";return Te.forEach(Ot=>{const Zt=function rr(P){if(_s[P])return _s[P];let G;switch(P){case"G":case"GG":case"GGG":G=Kt(Ve.Eras,_e.Abbreviated);break;case"GGGG":G=Kt(Ve.Eras,_e.Wide);break;case"GGGGG":G=Kt(Ve.Eras,_e.Narrow);break;case"y":G=We(Ce.FullYear,1,0,!1,!0);break;case"yy":G=We(Ce.FullYear,2,0,!0,!0);break;case"yyy":G=We(Ce.FullYear,3,0,!1,!0);break;case"yyyy":G=We(Ce.FullYear,4,0,!1,!0);break;case"Y":G=lo(1);break;case"YY":G=lo(2,!0);break;case"YYY":G=lo(3);break;case"YYYY":G=lo(4);break;case"M":case"L":G=We(Ce.Month,1,1);break;case"MM":case"LL":G=We(Ce.Month,2,1);break;case"MMM":G=Kt(Ve.Months,_e.Abbreviated);break;case"MMMM":G=Kt(Ve.Months,_e.Wide);break;case"MMMMM":G=Kt(Ve.Months,_e.Narrow);break;case"LLL":G=Kt(Ve.Months,_e.Abbreviated,Ae.Standalone);break;case"LLLL":G=Kt(Ve.Months,_e.Wide,Ae.Standalone);break;case"LLLLL":G=Kt(Ve.Months,_e.Narrow,Ae.Standalone);break;case"w":G=co(1);break;case"ww":G=co(2);break;case"W":G=co(1,!0);break;case"d":G=We(Ce.Date,1);break;case"dd":G=We(Ce.Date,2);break;case"c":case"cc":G=We(Ce.Day,1);break;case"ccc":G=Kt(Ve.Days,_e.Abbreviated,Ae.Standalone);break;case"cccc":G=Kt(Ve.Days,_e.Wide,Ae.Standalone);break;case"ccccc":G=Kt(Ve.Days,_e.Narrow,Ae.Standalone);break;case"cccccc":G=Kt(Ve.Days,_e.Short,Ae.Standalone);break;case"E":case"EE":case"EEE":G=Kt(Ve.Days,_e.Abbreviated);break;case"EEEE":G=Kt(Ve.Days,_e.Wide);break;case"EEEEE":G=Kt(Ve.Days,_e.Narrow);break;case"EEEEEE":G=Kt(Ve.Days,_e.Short);break;case"a":case"aa":case"aaa":G=Kt(Ve.DayPeriods,_e.Abbreviated);break;case"aaaa":G=Kt(Ve.DayPeriods,_e.Wide);break;case"aaaaa":G=Kt(Ve.DayPeriods,_e.Narrow);break;case"b":case"bb":case"bbb":G=Kt(Ve.DayPeriods,_e.Abbreviated,Ae.Standalone,!0);break;case"bbbb":G=Kt(Ve.DayPeriods,_e.Wide,Ae.Standalone,!0);break;case"bbbbb":G=Kt(Ve.DayPeriods,_e.Narrow,Ae.Standalone,!0);break;case"B":case"BB":case"BBB":G=Kt(Ve.DayPeriods,_e.Abbreviated,Ae.Format,!0);break;case"BBBB":G=Kt(Ve.DayPeriods,_e.Wide,Ae.Format,!0);break;case"BBBBB":G=Kt(Ve.DayPeriods,_e.Narrow,Ae.Format,!0);break;case"h":G=We(Ce.Hours,1,-12);break;case"hh":G=We(Ce.Hours,2,-12);break;case"H":G=We(Ce.Hours,1);break;case"HH":G=We(Ce.Hours,2);break;case"m":G=We(Ce.Minutes,1);break;case"mm":G=We(Ce.Minutes,2);break;case"s":G=We(Ce.Seconds,1);break;case"ss":G=We(Ce.Seconds,2);break;case"S":G=We(Ce.FractionalSeconds,1);break;case"SS":G=We(Ce.FractionalSeconds,2);break;case"SSS":G=We(Ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":G=ms(Fe.Short);break;case"ZZZZZ":G=ms(Fe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":G=ms(Fe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":G=ms(Fe.Long);break;default:return null}return _s[P]=G,G}(Ot);Xt+=Zt?Zt(ne,z,li):"''"===Ot?"'":Ot.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xt}function Ni(P,G,z){const W=new Date(0);return W.setFullYear(P,G,z),W.setHours(0,0,0),W}function Ft(P,G){const z=function vt(P){return(0,b.cg1)(P)[b.wAp.LocaleId]}(P);if(Oe[z]=Oe[z]||{},Oe[z][G])return Oe[z][G];let W="";switch(G){case"shortDate":W=ai(P,Re.Short);break;case"mediumDate":W=ai(P,Re.Medium);break;case"longDate":W=ai(P,Re.Long);break;case"fullDate":W=ai(P,Re.Full);break;case"shortTime":W=gs(P,Re.Short);break;case"mediumTime":W=gs(P,Re.Medium);break;case"longTime":W=gs(P,Re.Long);break;case"fullTime":W=gs(P,Re.Full);break;case"short":const ne=Ft(P,"shortTime"),me=Ft(P,"shortDate");W=qs(pn(P,Re.Short),[ne,me]);break;case"medium":const Te=Ft(P,"mediumTime"),tt=Ft(P,"mediumDate");W=qs(pn(P,Re.Medium),[Te,tt]);break;case"long":const li=Ft(P,"longTime"),Xt=Ft(P,"longDate");W=qs(pn(P,Re.Long),[li,Xt]);break;case"full":const Ot=Ft(P,"fullTime"),Zt=Ft(P,"fullDate");W=qs(pn(P,Re.Full),[Ot,Zt])}return W&&(Oe[z][G]=W),W}function qs(P,G){return G&&(P=P.replace(/\{([^}]+)}/g,function(z,W){return null!=G&&W in G?G[W]:z})),P}function Hi(P,G,z="-",W,ne){let me="";(P<0||ne&&P<=0)&&(ne?P=1-P:(P=-P,me=z));let Te=String(P);for(;Te.length0||tt>-z)&&(tt+=z),P===Ce.Hours)0===tt&&-12===z&&(tt=12);else if(P===Ce.FractionalSeconds)return function ct(P,G){return Hi(P,3).substr(0,G)}(tt,G);const li=ui(Te,fe.MinusSign);return Hi(tt,G,li,W,ne)}}function Kt(P,G,z=Ae.Format,W=!1){return function(ne,me){return function Mt(P,G,z,W,ne,me){switch(z){case Ve.Months:return function ft(P,G,z){const W=(0,b.cg1)(P),me=Ge([W[b.wAp.MonthsFormat],W[b.wAp.MonthsStandalone]],G);return Ge(me,z)}(G,ne,W)[P.getMonth()];case Ve.Days:return function ot(P,G,z){const W=(0,b.cg1)(P),me=Ge([W[b.wAp.DaysFormat],W[b.wAp.DaysStandalone]],G);return Ge(me,z)}(G,ne,W)[P.getDay()];case Ve.DayPeriods:const Te=P.getHours(),tt=P.getMinutes();if(me){const Xt=function xe(P){const G=(0,b.cg1)(P);return le(G),(G[b.wAp.ExtraData][2]||[]).map(W=>"string"==typeof W?nt(W):[nt(W[0]),nt(W[1])])}(G),Ot=function pe(P,G,z){const W=(0,b.cg1)(P);le(W);const me=Ge([W[b.wAp.ExtraData][0],W[b.wAp.ExtraData][1]],G)||[];return Ge(me,z)||[]}(G,ne,W),Zt=Xt.findIndex(Zi=>{if(Array.isArray(Zi)){const[vi,_i]=Zi,bo=Te>=vi.hours&&tt>=vi.minutes,Ss=Te<_i.hours||Te===_i.hours&&tt<_i.minutes;if(vi.hours<_i.hours){if(bo&&Ss)return!0}else if(bo||Ss)return!0}else if(Zi.hours===Te&&Zi.minutes===tt)return!0;return!1});if(-1!==Zt)return Ot[Zt]}return function wi(P,G,z){const W=(0,b.cg1)(P),me=Ge([W[b.wAp.DayPeriodsFormat],W[b.wAp.DayPeriodsStandalone]],G);return Ge(me,z)}(G,ne,W)[Te<12?0:1];case Ve.Eras:return function jn(P,G){return Ge((0,b.cg1)(P)[b.wAp.Eras],G)}(G,W)[P.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${z}`)}}(ne,me,P,G,z,W)}}function ms(P){return function(G,z,W){const ne=-1*W,me=ui(z,fe.MinusSign),Te=ne>0?Math.floor(ne/60):Math.ceil(ne/60);switch(P){case Fe.Short:return(ne>=0?"+":"")+Hi(Te,2,me)+Hi(Math.abs(ne%60),2,me);case Fe.ShortGMT:return"GMT"+(ne>=0?"+":"")+Hi(Te,1,me);case Fe.Long:return"GMT"+(ne>=0?"+":"")+Hi(Te,2,me)+":"+Hi(Math.abs(ne%60),2,me);case Fe.Extended:return 0===W?"Z":(ne>=0?"+":"")+Hi(Te,2,me)+":"+Hi(Math.abs(ne%60),2,me);default:throw new Error(`Unknown zone width "${P}"`)}}}function zo(P){return Ni(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function co(P,G=!1){return function(z,W){let ne;if(G){const me=new Date(z.getFullYear(),z.getMonth(),1).getDay()-1,Te=z.getDate();ne=1+Math.floor((Te+me)/7)}else{const me=zo(z),Te=function nl(P){const G=Ni(P,0,1).getDay();return Ni(P,0,1+(G<=4?4:11)-G)}(me.getFullYear()),tt=me.getTime()-Te.getTime();ne=1+Math.round(tt/6048e5)}return Hi(ne,P,ui(W,fe.MinusSign))}}function lo(P,G=!1){return function(z,W){return Hi(zo(z).getFullYear(),P,ui(W,fe.MinusSign),G)}}const _s={};function ar(P,G){P=P.replace(/:/g,"");const z=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(z)?G:z}function mn(P){return P instanceof Date&&!isNaN(P.valueOf())}class Tt{}let uo=(()=>{class P extends Tt{constructor(z){super(),this.locale=z}getPluralCategory(z,W){switch(Yn(W||this.locale)(z)){case ge.Zero:return"zero";case ge.One:return"one";case ge.Two:return"two";case ge.Few:return"few";case ge.Many:return"many";default:return"other"}}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(b.soG))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})();function Ya(P,G){G=encodeURIComponent(G);for(const z of P.split(";")){const W=z.indexOf("="),[ne,me]=-1==W?[z,""]:[z.slice(0,W),z.slice(W+1)];if(ne.trim()===G)return decodeURIComponent(me)}return null}let Io=(()=>{class P{constructor(z,W,ne,me){this._iterableDiffers=z,this._keyValueDiffers=W,this._ngEl=ne,this._renderer=me,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(z){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof z?z.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(z){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof z?z.split(/\s+/):z,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const z=this._iterableDiffer.diff(this._rawClass);z&&this._applyIterableChanges(z)}else if(this._keyValueDiffer){const z=this._keyValueDiffer.diff(this._rawClass);z&&this._applyKeyValueChanges(z)}}_applyKeyValueChanges(z){z.forEachAddedItem(W=>this._toggleClass(W.key,W.currentValue)),z.forEachChangedItem(W=>this._toggleClass(W.key,W.currentValue)),z.forEachRemovedItem(W=>{W.previousValue&&this._toggleClass(W.key,!1)})}_applyIterableChanges(z){z.forEachAddedItem(W=>{if("string"!=typeof W.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(W.item)}`);this._toggleClass(W.item,!0)}),z.forEachRemovedItem(W=>this._toggleClass(W.item,!1))}_applyClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(W=>this._toggleClass(W,!0)):Object.keys(z).forEach(W=>this._toggleClass(W,!!z[W])))}_removeClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(W=>this._toggleClass(W,!1)):Object.keys(z).forEach(W=>this._toggleClass(W,!1)))}_toggleClass(z,W){(z=z.trim())&&z.split(/\s+/g).forEach(ne=>{W?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class cr{constructor(G,z,W,ne){this.$implicit=G,this.ngForOf=z,this.index=W,this.count=ne}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 wn=(()=>{class P{constructor(z,W,ne){this._viewContainer=z,this._template=W,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(z){this._ngForOf=z,this._ngForOfDirty=!0}set ngForTrackBy(z){this._trackByFn=z}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(z){z&&(this._template=z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const z=this._ngForOf;!this._differ&&z&&(this._differ=this._differs.find(z).create(this.ngForTrackBy))}if(this._differ){const z=this._differ.diff(this._ngForOf);z&&this._applyChanges(z)}}_applyChanges(z){const W=this._viewContainer;z.forEachOperation((ne,me,Te)=>{if(null==ne.previousIndex)W.createEmbeddedView(this._template,new cr(ne.item,this._ngForOf,-1,-1),null===Te?void 0:Te);else if(null==Te)W.remove(null===me?void 0:me);else if(null!==me){const tt=W.get(me);W.move(tt,Te),No(tt,ne)}});for(let ne=0,me=W.length;ne{No(W.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(z,W){return!0}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function No(P,G){P.context.$implicit=G.item}let ns=(()=>{class P{constructor(z,W){this._viewContainer=z,this._context=new di,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=W}set ngIf(z){this._context.$implicit=this._context.ngIf=z,this._updateView()}set ngIfThen(z){ol("ngIfThen",z),this._thenTemplateRef=z,this._thenViewRef=null,this._updateView()}set ngIfElse(z){ol("ngIfElse",z),this._elseTemplateRef=z,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(z,W){return!0}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class di{constructor(){this.$implicit=null,this.ngIf=null}}function ol(P,G){if(G&&!G.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,b.AaK)(G)}'.`)}class Ho{constructor(G,z){this._viewContainerRef=G,this._templateRef=z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(G){G&&!this._created?this.create():!G&&this._created&&this.destroy()}}let Un=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(z){this._ngSwitch=z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(z){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(z)}_matchCase(z){const W=z==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||W,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),W}_updateDefaultCases(z){if(this._defaultViews&&z!==this._defaultUsed){this._defaultUsed=z;for(let W=0;W{class P{constructor(z,W,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Ho(z,W)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Un,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),Ua=(()=>{class P{constructor(z,W,ne){ne._addDefault(new Ho(z,W))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Un,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),lr=(()=>{class P{constructor(z,W,ne){this._ngEl=z,this._differs=W,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(z){this._ngStyle=z,!this._differ&&z&&(this._differ=this._differs.find(z).create())}ngDoCheck(){if(this._differ){const z=this._differ.diff(this._ngStyle);z&&this._applyChanges(z)}}_setStyle(z,W){const[ne,me]=z.split(".");null!=(W=null!=W&&me?`${W}${me}`:W)?this._renderer.setStyle(this._ngEl.nativeElement,ne,W):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(z){z.forEachRemovedItem(W=>this._setStyle(W.key,null)),z.forEachAddedItem(W=>this._setStyle(W.key,W.currentValue)),z.forEachChangedItem(W=>this._setStyle(W.key,W.currentValue))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})();function bs(P,G){return new b.vHH(2100,"")}class up{createSubscription(G,z){return G.subscribe({next:z,error:W=>{throw W}})}dispose(G){G.unsubscribe()}onDestroy(G){G.unsubscribe()}}class Rt{createSubscription(G,z){return G.then(z,W=>{throw W})}dispose(G){}onDestroy(G){}}const Ga=new Rt,qt=new up;let Mn=(()=>{class P{constructor(z){this._ref=z,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(z){return this._obj?z!==this._obj?(this._dispose(),this.transform(z)):this._latestValue:(z&&this._subscribe(z),this._latestValue)}_subscribe(z){this._obj=z,this._strategy=this._selectStrategy(z),this._subscription=this._strategy.createSubscription(z,W=>this._updateLatestValue(z,W))}_selectStrategy(z){if((0,b.QGY)(z))return Ga;if((0,b.F4k)(z))return qt;throw bs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(z,W){z===this._obj&&(this._latestValue=W,this._ref.markForCheck())}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.sBO,16))},P.\u0275pipe=b.Yjl({name:"async",type:P,pure:!1}),P})(),Bi=(()=>{class P{transform(z){if(null==z)return null;if("string"!=typeof z)throw bs();return z.toUpperCase()}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275pipe=b.Yjl({name:"uppercase",type:P,pure:!0}),P})();const Gr=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Fi=(()=>{class P{constructor(z,W){this.locale=z,this.defaultTimezone=W}transform(z,W="mediumDate",ne,me){var Te;if(null==z||""===z||z!=z)return null;try{return xt(z,W,me||this.locale,null!==(Te=null!=ne?ne:this.defaultTimezone)&&void 0!==Te?Te:void 0)}catch(tt){throw bs()}}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.soG,16),b.Y36(Gr,24))},P.\u0275pipe=b.Yjl({name:"date",type:P,pure:!0}),P})(),Vr=(()=>{class P{}return P.\u0275fac=function(z){return new(z||P)},P.\u0275mod=b.oAB({type:P}),P.\u0275inj=b.cJS({providers:[{provide:Tt,useClass:uo}]}),P})();const Ka="browser";function Pn(P){return P===Ka}function Za(P){return"server"===P}let ur=(()=>{class P{}return P.\u0275prov=(0,b.Yz7)({token:P,providedIn:"root",factory:()=>new mo((0,b.LFG)(L),window)}),P})();class mo{constructor(G,z){this.document=G,this.window=z,this.offset=()=>[0,0]}setOffset(G){this.offset=Array.isArray(G)?()=>G:G}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(G){this.supportsScrolling()&&this.window.scrollTo(G[0],G[1])}scrollToAnchor(G){if(!this.supportsScrolling())return;const z=function en(P,G){const z=P.getElementById(G)||P.getElementsByName(G)[0];if(z)return z;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const W=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ne=W.currentNode;for(;ne;){const me=ne.shadowRoot;if(me){const Te=me.getElementById(G)||me.querySelector(`[name="${G}"]`);if(Te)return Te}ne=W.nextNode()}}return null}(this.document,G);z&&(this.scrollToElement(z),z.focus())}setHistoryScrollRestoration(G){if(this.supportScrollRestoration()){const z=this.window.history;z&&z.scrollRestoration&&(z.scrollRestoration=G)}}scrollToElement(G){const z=G.getBoundingClientRect(),W=z.left+this.window.pageXOffset,ne=z.top+this.window.pageYOffset,me=this.offset();this.window.scrollTo(W-me[0],ne-me[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const G=_o(this.window.history)||_o(Object.getPrototypeOf(this.window.history));return!(!G||!G.writable&&!G.set)}catch(G){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(G){return!1}}}function _o(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class hi{}},520:(q,Y,w)=>{"use strict";w.d(Y,{TP:()=>vt,eN:()=>fe,JF:()=>Ge,WM:()=>F,LE:()=>he,Zn:()=>Ae});var b=w(9808),i=w(5e3),T=w(1086),M=w(2916),v=w(1406),k=w(2198),L=w(4850);class I{}class B{}class F{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?this.lazyInit="string"==typeof te?()=>{this.headers=new Map,te.split("\n").forEach(se=>{const Oe=se.indexOf(":");if(Oe>0){const ke=se.slice(0,Oe),Fe=ke.toLowerCase(),Ce=se.slice(Oe+1).trim();this.maybeSetNormalizedName(ke,Fe),this.headers.has(Fe)?this.headers.get(Fe).push(Ce):this.headers.set(Fe,[Ce])}})}:()=>{this.headers=new Map,Object.keys(te).forEach(se=>{let Oe=te[se];const ke=se.toLowerCase();"string"==typeof Oe&&(Oe=[Oe]),Oe.length>0&&(this.headers.set(ke,Oe),this.maybeSetNormalizedName(se,ke))})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const se=this.headers.get(te.toLowerCase());return se&&se.length>0?se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,se){return this.clone({name:te,value:se,op:"a"})}set(te,se){return this.clone({name:te,value:se,op:"s"})}delete(te,se){return this.clone({name:te,value:se,op:"d"})}maybeSetNormalizedName(te,se){this.normalizedNames.has(se)||this.normalizedNames.set(se,te)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(se=>{this.headers.set(se,te.headers.get(se)),this.normalizedNames.set(se,te.normalizedNames.get(se))})}clone(te){const se=new F;return se.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,se.lazyUpdate=(this.lazyUpdate||[]).concat([te]),se}applyUpdate(te){const se=te.name.toLowerCase();switch(te.op){case"a":case"s":let Oe=te.value;if("string"==typeof Oe&&(Oe=[Oe]),0===Oe.length)return;this.maybeSetNormalizedName(te.name,se);const ke=("a"===te.op?this.headers.get(se):void 0)||[];ke.push(...Oe),this.headers.set(se,ke);break;case"d":const Fe=te.value;if(Fe){let Ce=this.headers.get(se);if(!Ce)return;Ce=Ce.filter(Ve=>-1===Fe.indexOf(Ve)),0===Ce.length?(this.headers.delete(se),this.normalizedNames.delete(se)):this.headers.set(se,Ce)}else this.headers.delete(se),this.normalizedNames.delete(se)}}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(se=>te(this.normalizedNames.get(se),this.headers.get(se)))}}class U{encodeKey(te){return ee(te)}encodeValue(te){return ee(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const Q=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(we){return encodeURIComponent(we).replace(Q,(te,se)=>{var Oe;return null!==(Oe=ae[se])&&void 0!==Oe?Oe:te})}function ce(we){return`${we}`}class he{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new U,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function X(we,te){const se=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(ke=>{const Fe=ke.indexOf("="),[Ce,Ve]=-1==Fe?[te.decodeKey(ke),""]:[te.decodeKey(ke.slice(0,Fe)),te.decodeValue(ke.slice(Fe+1))],xt=se.get(Ce)||[];xt.push(Ve),se.set(Ce,xt)}),se}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(se=>{const Oe=te.fromObject[se];this.map.set(se,Array.isArray(Oe)?Oe:[Oe])})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const se=this.map.get(te);return se?se[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,se){return this.clone({param:te,value:se,op:"a"})}appendAll(te){const se=[];return Object.keys(te).forEach(Oe=>{const ke=te[Oe];Array.isArray(ke)?ke.forEach(Fe=>{se.push({param:Oe,value:Fe,op:"a"})}):se.push({param:Oe,value:ke,op:"a"})}),this.clone(se)}set(te,se){return this.clone({param:te,value:se,op:"s"})}delete(te,se){return this.clone({param:te,value:se,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const se=this.encoder.encodeKey(te);return this.map.get(te).map(Oe=>se+"="+this.encoder.encodeValue(Oe)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const se=new he({encoder:this.encoder});return se.cloneFrom=this.cloneFrom||this,se.updates=(this.updates||[]).concat(te),se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const se=("a"===te.op?this.map.get(te.param):void 0)||[];se.push(ce(te.value)),this.map.set(te.param,se);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Oe=this.map.get(te.param)||[];const ke=Oe.indexOf(ce(te.value));-1!==ke&&Oe.splice(ke,1),Oe.length>0?this.map.set(te.param,Oe):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(te,se){return this.map.set(te,se),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function bt(we){return"undefined"!=typeof ArrayBuffer&&we instanceof ArrayBuffer}function St(we){return"undefined"!=typeof Blob&&we instanceof Blob}function $e(we){return"undefined"!=typeof FormData&&we instanceof FormData}class wt{constructor(te,se,Oe,ke){let Fe;if(this.url=se,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function Ze(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==Oe?Oe:null,Fe=ke):Fe=Oe,Fe&&(this.reportProgress=!!Fe.reportProgress,this.withCredentials=!!Fe.withCredentials,Fe.responseType&&(this.responseType=Fe.responseType),Fe.headers&&(this.headers=Fe.headers),Fe.context&&(this.context=Fe.context),Fe.params&&(this.params=Fe.params)),this.headers||(this.headers=new F),this.context||(this.context=new He),this.params){const Ce=this.params.toString();if(0===Ce.length)this.urlWithParams=se;else{const Ve=se.indexOf("?");this.urlWithParams=se+(-1===Ve?"?":VeHi.set(ct,te.setHeaders[ct]),Ni)),te.setParams&&(Ft=Object.keys(te.setParams).reduce((Hi,ct)=>Hi.set(ct,te.setParams[ct]),Ft)),new wt(Oe,ke,Ce,{params:Ft,headers:Ni,context:qs,reportProgress:xt,responseType:Fe,withCredentials:Ve})}}var mt=(()=>((mt=mt||{})[mt.Sent=0]="Sent",mt[mt.UploadProgress=1]="UploadProgress",mt[mt.ResponseHeader=2]="ResponseHeader",mt[mt.DownloadProgress=3]="DownloadProgress",mt[mt.Response=4]="Response",mt[mt.User=5]="User",mt))();class de{constructor(te,se=200,Oe="OK"){this.headers=te.headers||new F,this.status=void 0!==te.status?te.status:se,this.statusText=te.statusText||Oe,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends de{constructor(te={}){super(te),this.type=mt.ResponseHeader}clone(te={}){return new ge({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class Ae extends de{constructor(te={}){super(te),this.type=mt.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new Ae({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class _e extends de{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function Re(we,te){return{body:te,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let fe=(()=>{class we{constructor(se){this.handler=se}request(se,Oe,ke={}){let Fe;if(se instanceof wt)Fe=se;else{let xt,Ni;xt=ke.headers instanceof F?ke.headers:new F(ke.headers),ke.params&&(Ni=ke.params instanceof he?ke.params:new he({fromObject:ke.params})),Fe=new wt(se,Oe,void 0!==ke.body?ke.body:null,{headers:xt,context:ke.context,params:Ni,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const Ce=(0,T.of)(Fe).pipe((0,v.b)(xt=>this.handler.handle(xt)));if(se instanceof wt||"events"===ke.observe)return Ce;const Ve=Ce.pipe((0,k.h)(xt=>xt instanceof Ae));switch(ke.observe||"body"){case"body":switch(Fe.responseType){case"arraybuffer":return Ve.pipe((0,L.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return Ve.pipe((0,L.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return Ve.pipe((0,L.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return Ve.pipe((0,L.U)(xt=>xt.body))}case"response":return Ve;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(se,Oe={}){return this.request("DELETE",se,Oe)}get(se,Oe={}){return this.request("GET",se,Oe)}head(se,Oe={}){return this.request("HEAD",se,Oe)}jsonp(se,Oe){return this.request("JSONP",se,{params:(new he).append(Oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(se,Oe={}){return this.request("OPTIONS",se,Oe)}patch(se,Oe,ke={}){return this.request("PATCH",se,Re(ke,Oe))}post(se,Oe,ke={}){return this.request("POST",se,Re(ke,Oe))}put(se,Oe,ke={}){return this.request("PUT",se,Re(ke,Oe))}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(I))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();class yt{constructor(te,se){this.next=te,this.interceptor=se}handle(te){return this.interceptor.intercept(te,this.next)}}const vt=new i.OlP("HTTP_INTERCEPTORS");let wi=(()=>{class we{intercept(se,Oe){return Oe.handle(se)}}return we.\u0275fac=function(se){return new(se||we)},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();const pn=/^\)\]\}',?\n/;let Wt=(()=>{class we{constructor(se){this.xhrFactory=se}handle(se){if("JSONP"===se.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new M.y(Oe=>{const ke=this.xhrFactory.build();if(ke.open(se.method,se.urlWithParams),se.withCredentials&&(ke.withCredentials=!0),se.headers.forEach((ct,We)=>ke.setRequestHeader(ct,We.join(","))),se.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!se.headers.has("Content-Type")){const ct=se.detectContentTypeHeader();null!==ct&&ke.setRequestHeader("Content-Type",ct)}if(se.responseType){const ct=se.responseType.toLowerCase();ke.responseType="json"!==ct?ct:"text"}const Fe=se.serializeBody();let Ce=null;const Ve=()=>{if(null!==Ce)return Ce;const ct=ke.statusText||"OK",We=new F(ke.getAllResponseHeaders()),Kn=function ui(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(ke)||se.url;return Ce=new ge({headers:We,status:ke.status,statusText:ct,url:Kn}),Ce},xt=()=>{let{headers:ct,status:We,statusText:Kn,url:Kt}=Ve(),Mt=null;204!==We&&(Mt=void 0===ke.response?ke.responseText:ke.response),0===We&&(We=Mt?200:0);let ms=We>=200&&We<300;if("json"===se.responseType&&"string"==typeof Mt){const is=Mt;Mt=Mt.replace(pn,"");try{Mt=""!==Mt?JSON.parse(Mt):null}catch(Zn){Mt=is,ms&&(ms=!1,Mt={error:Zn,text:Mt})}}ms?(Oe.next(new Ae({body:Mt,headers:ct,status:We,statusText:Kn,url:Kt||void 0})),Oe.complete()):Oe.error(new _e({error:Mt,headers:ct,status:We,statusText:Kn,url:Kt||void 0}))},Ni=ct=>{const{url:We}=Ve(),Kn=new _e({error:ct,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:We||void 0});Oe.error(Kn)};let Ft=!1;const qs=ct=>{Ft||(Oe.next(Ve()),Ft=!0);let We={type:mt.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(We.total=ct.total),"text"===se.responseType&&!!ke.responseText&&(We.partialText=ke.responseText),Oe.next(We)},Hi=ct=>{let We={type:mt.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(We.total=ct.total),Oe.next(We)};return ke.addEventListener("load",xt),ke.addEventListener("error",Ni),ke.addEventListener("timeout",Ni),ke.addEventListener("abort",Ni),se.reportProgress&&(ke.addEventListener("progress",qs),null!==Fe&&ke.upload&&ke.upload.addEventListener("progress",Hi)),ke.send(Fe),Oe.next({type:mt.Sent}),()=>{ke.removeEventListener("error",Ni),ke.removeEventListener("abort",Ni),ke.removeEventListener("load",xt),ke.removeEventListener("timeout",Ni),se.reportProgress&&(ke.removeEventListener("progress",qs),null!==Fe&&ke.upload&&ke.upload.removeEventListener("progress",Hi)),ke.readyState!==ke.DONE&&ke.abort()}})}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(b.JF))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();const gn=new i.OlP("XSRF_COOKIE_NAME"),ro=new i.OlP("XSRF_HEADER_NAME");class ao{}let Fs=(()=>{class we{constructor(se,Oe,ke){this.doc=se,this.platform=Oe,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const se=this.doc.cookie||"";return se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(se,this.cookieName),this.lastCookieString=se),this.lastToken}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(gn))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),Yn=(()=>{class we{constructor(se,Oe){this.tokenService=se,this.headerName=Oe}intercept(se,Oe){const ke=se.url.toLowerCase();if("GET"===se.method||"HEAD"===se.method||ke.startsWith("http://")||ke.startsWith("https://"))return Oe.handle(se);const Fe=this.tokenService.getToken();return null!==Fe&&!se.headers.has(this.headerName)&&(se=se.clone({headers:se.headers.set(this.headerName,Fe)})),Oe.handle(se)}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(ao),i.LFG(ro))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),le=(()=>{class we{constructor(se,Oe){this.backend=se,this.injector=Oe,this.chain=null}handle(se){if(null===this.chain){const Oe=this.injector.get(vt,[]);this.chain=Oe.reduceRight((ke,Fe)=>new yt(ke,Fe),this.backend)}return this.chain.handle(se)}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(B),i.LFG(i.zs3))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),Ue=(()=>{class we{static disable(){return{ngModule:we,providers:[{provide:Yn,useClass:wi}]}}static withOptions(se={}){return{ngModule:we,providers:[se.cookieName?{provide:gn,useValue:se.cookieName}:[],se.headerName?{provide:ro,useValue:se.headerName}:[]]}}}return we.\u0275fac=function(se){return new(se||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[Yn,{provide:vt,useExisting:Yn,multi:!0},{provide:ao,useClass:Fs},{provide:gn,useValue:"XSRF-TOKEN"},{provide:ro,useValue:"X-XSRF-TOKEN"}]}),we})(),Ge=(()=>{class we{}return we.\u0275fac=function(se){return new(se||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[fe,{provide:I,useClass:le},Wt,{provide:B,useExisting:Wt}],imports:[[Ue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),we})()},5e3:(q,Y,w)=>{"use strict";w.d(Y,{deG:()=>yp,tb:()=>Bf,AFp:()=>KM,ip1:()=>iu,CZH:()=>nu,hGG:()=>Mv,z2F:()=>Vf,sBO:()=>cv,Sil:()=>qf,_Vd:()=>kd,EJc:()=>Ir,SBq:()=>Dd,qLn:()=>$u,vpe:()=>Lo,tBr:()=>fc,XFs:()=>pe,OlP:()=>Si,zs3:()=>Co,ZZ4:()=>$f,aQg:()=>Y0,soG:()=>Ff,YKP:()=>mb,h0i:()=>xo,PXZ:()=>Gf,R0b:()=>hs,FiY:()=>cs,Lbi:()=>x0,g9A:()=>Vb,n_E:()=>Od,Qsj:()=>xd,FYo:()=>db,JOm:()=>Cn,q3G:()=>Yi,tp0:()=>ua,Rgc:()=>Ql,dDg:()=>Qb,GfV:()=>hb,s_b:()=>zd,ifc:()=>Fe,eFA:()=>z0,G48:()=>ZC,Gpc:()=>U,f3M:()=>wh,_c5:()=>mv,VLi:()=>tv,c2e:()=>so,zSh:()=>Am,wAp:()=>ut,vHH:()=>ee,EiD:()=>hA,mCW:()=>vr,qzn:()=>gc,JVY:()=>nA,pB0:()=>rA,eBb:()=>zp,L6k:()=>sA,LAX:()=>oA,cg1:()=>jg,kL8:()=>Yg,yhl:()=>_1,dqk:()=>Ft,sIi:()=>Cc,CqO:()=>kw,QGY:()=>n_,F4k:()=>ef,RDi:()=>_o,AaK:()=>I,z3N:()=>Mr,qOj:()=>Er,TTD:()=>go,_Bn:()=>ab,xp6:()=>NA,uIk:()=>Hm,Q2q:()=>hd,Tol:()=>wd,Gre:()=>x_,ekj:()=>cf,Suo:()=>NM,Xpm:()=>zo,lG2:()=>Ie,Yz7:()=>ai,cJS:()=>pn,oAB:()=>ar,Yjl:()=>ki,Y36:()=>wa,_UZ:()=>t_,GkF:()=>xg,BQk:()=>Dg,ynx:()=>ql,qZA:()=>bd,TgZ:()=>Sg,EpF:()=>i_,n5z:()=>hh,Ikx:()=>Nc,LFG:()=>sn,$8M:()=>Du,$Z:()=>e_,NdJ:()=>Lg,CRH:()=>HM,kcU:()=>ih,O4$:()=>Mu,oxw:()=>s_,ALo:()=>u0,lcZ:()=>d0,xi3:()=>h0,Dn7:()=>f0,Hsn:()=>r_,F$t:()=>o_,Q6J:()=>Tg,s9C:()=>Pg,MGl:()=>yd,hYB:()=>zg,DdM:()=>Ea,VKq:()=>Wn,WLB:()=>yb,iGM:()=>zM,MAs:()=>md,Jf7:()=>mc,CHM:()=>Qd,oJD:()=>Gu,LSH:()=>kh,Udp:()=>Bg,WFA:()=>Rg,d8E:()=>pf,YNc:()=>Aa,_uU:()=>T_,Oqu:()=>Bn,hij:()=>Md,AsE:()=>df,xDo:()=>E_,Gf:()=>IM});var b=w(8929),i=w(2654),T=w(2916),M=w(6787),v=w(2474);function k(l){for(let u in l)if(l[u]===k)return u;throw Error("Could not find renamed property on target object.")}function L(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function I(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(I).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const F=k({__forward_ref__:k});function U(l){return l.__forward_ref__=U,l.toString=function(){return I(this())},l}function X(l){return Q(l)?l():l}function Q(l){return"function"==typeof l&&l.hasOwnProperty(F)&&l.__forward_ref__===U}class ee extends Error{constructor(u,f){super(function ce(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function he(l){return"string"==typeof l?l:null==l?"":String(l)}function ze(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():he(l)}function St(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${ze(l)} found${f}`)}function ot(l,u){null==l&&function ft(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ai(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function pn(l){return{providers:l.providers||[],imports:l.imports||[]}}function ui(l){return Wt(l,Fs)||Wt(l,le)}function Wt(l,u){return l.hasOwnProperty(u)?l[u]:null}function ao(l){return l&&(l.hasOwnProperty(Yn)||l.hasOwnProperty(xe))?l[Yn]:null}const Fs=k({\u0275prov:k}),Yn=k({\u0275inj:k}),le=k({ngInjectableDef:k}),xe=k({ngInjectorDef:k});var pe=(()=>((pe=pe||{})[pe.Default=0]="Default",pe[pe.Host=1]="Host",pe[pe.Self=2]="Self",pe[pe.SkipSelf=4]="SkipSelf",pe[pe.Optional=8]="Optional",pe))();let Ue;function nt(l){const u=Ue;return Ue=l,u}function Jt(l,u,f){const p=ui(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&pe.Optional?null:void 0!==u?u:void St(I(l),"Injector")}function te(l){return{toString:l}.toString()}var se=(()=>((se=se||{})[se.OnPush=0]="OnPush",se[se.Default=1]="Default",se))(),Fe=(()=>{return(l=Fe||(Fe={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",Fe;var l})();const Ce="undefined"!=typeof globalThis&&globalThis,Ve="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ft=Ce||"undefined"!=typeof global&&global||Ve||xt,ct={},We=[],Kn=k({\u0275cmp:k}),Kt=k({\u0275dir:k}),Mt=k({\u0275pipe:k}),ms=k({\u0275mod:k}),is=k({\u0275fac:k}),Zn=k({__NG_ELEMENT_ID__:k});let nl=0;function zo(l){return te(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===se.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||We,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||Fe.Emulated,id:"c",styles:l.styles||We,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,C=l.pipes;return p.id+=nl++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(E=>E(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(lo):null,p.pipeDefs=C?()=>("function"==typeof C?C():C).map(_s):null,p})}function lo(l){return mn(l)||function Qe(l){return l[Kt]||null}(l)}function _s(l){return function si(l){return l[Mt]||null}(l)}const rr={};function ar(l){return te(()=>{const u={type:l.type,bootstrap:l.bootstrap||We,declarations:l.declarations||We,imports:l.imports||We,exports:l.exports||We,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(rr[l.id]=l.type),u})}function D(l,u){if(null==l)return ct;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Ie=zo;function ki(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function mn(l){return l[Kn]||null}function At(l,u){const f=l[ms]||null;if(!f&&!0===u)throw new Error(`Type ${I(l)} does not have '\u0275mod' property.`);return f}function Un(l){return Array.isArray(l)&&"object"==typeof l[1]}function ss(l){return Array.isArray(l)&&!0===l[1]}function Ua(l){return 0!=(8&l.flags)}function Bo(l){return 2==(2&l.flags)}function ho(l){return 1==(1&l.flags)}function os(l){return null!==l.template}function lr(l){return 0!=(512&l[2])}function mi(l,u){return l.hasOwnProperty(is)?l[is]:null}class $t{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function go(){return ci}function ci(l){return l.type.prototype.ngOnChanges&&(l.setInput=Wa),Ys}function Ys(){const l=Ka(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===ct)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Wa(l,u,f,p){const m=Ka(l)||function On(l,u){return l[Vr]=u}(l,{previous:ct,current:null}),y=m.current||(m.current={}),C=m.previous,E=this.declaredInputs[f],x=C[E];y[E]=new $t(x&&x.currentValue,u,C===ct),l[p]=u}go.ngInherit=!0;const Vr="__ngSimpleChanges__";function Ka(l){return l[Vr]||null}let mo;function _o(l){mo=l}function en(){return void 0!==mo?mo:"undefined"!=typeof document?document:void 0}function hi(l){return!!l.listen}const P={createRenderer:(l,u)=>en()};function z(l){for(;Array.isArray(l);)l=l[0];return l}function me(l,u){return z(u[l])}function Te(l,u){return z(u[l.index])}function li(l,u){return l.data[u]}function Xt(l,u){return l[u]}function Ot(l,u){const f=u[l];return Un(f)?f:f[0]}function Zt(l){return 4==(4&l[2])}function Zi(l){return 128==(128&l[2])}function _i(l,u){return null==u?null:l[u]}function bo(l){l[18]=0}function Ss(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const lt={lFrame:Ja(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function fr(){return lt.bindingsEnabled}function Ee(){return lt.lFrame.lView}function Gt(){return lt.lFrame.tView}function Qd(l){return lt.lFrame.contextLView=l,l[8]}function tn(){let l=Es();for(;null!==l&&64===l.type;)l=l.parent;return l}function Es(){return lt.lFrame.currentTNode}function ys(l,u){const f=lt.lFrame;f.currentTNode=l,f.isParent=u}function cl(){return lt.lFrame.isParent}function mu(){lt.lFrame.isParent=!1}function ll(){return lt.isInCheckNoChangesMode}function Xa(l){lt.isInCheckNoChangesMode=l}function zn(){const l=lt.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function Gs(){return lt.lFrame.bindingIndex}function ks(){return lt.lFrame.bindingIndex++}function yo(l){const u=lt.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function pr(l,u){const f=lt.lFrame;f.bindingIndex=f.bindingRootIndex=l,zt(u)}function zt(l){lt.lFrame.currentDirectiveIndex=l}function gr(l){const u=lt.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function bu(){return lt.lFrame.currentQueryIndex}function Ao(l){lt.lFrame.currentQueryIndex=l}function yu(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Qa(l,u,f){if(f&pe.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f&pe.Host||(m=yu(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=lt.lFrame=th();return p.currentTNode=u,p.lView=l,!0}function mr(l){const u=th(),f=l[1];lt.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function th(){const l=lt.lFrame,u=null===l?null:l.child;return null===u?Ja(l):u}function Ja(l){const u={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:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Zr(){const l=lt.lFrame;return lt.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const Au=Zr;function _r(){const l=Zr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function _n(){return lt.lFrame.selectedIndex}function wo(l){lt.lFrame.selectedIndex=l}function xi(){const l=lt.lFrame;return li(l.tView,l.selectedIndex)}function Mu(){lt.lFrame.currentNamespace="svg"}function ih(){!function $n(){lt.lFrame.currentNamespace=null}()}function ul(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(E>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(E)}finally{}}}else try{y.call(E)}finally{}}class Ws{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function $r(l,u,f){const p=hi(l);let m=0;for(;mu){C=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let ta=!0;function qo(l){const u=ta;return ta=l,u}let ch=0;function jo(l,u){const f=ia(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Yo(p.data,l),Yo(u,null),Yo(p.blueprint,null));const m=na(l,u),y=l.injectorIndex;if(Qr(m)){const C=Jr(m),E=ea(m,u),x=E[1].data;for(let H=0;H<8;H++)u[y+H]=E[C+H]|x[C+H]}return u[y+8]=m,y}function Yo(l,u){l.push(0,0,0,0,0,0,0,0,u)}function ia(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function na(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],C=y.type;if(p=2===C?y.declTNode:1===C?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function As(l,u,f){!function gl(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Zn)&&(p=f[Zn]),null==p&&(p=f[Zn]=ch++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:mp:u}(f);if("function"==typeof y){if(!Qa(u,l,p))return p&pe.Host?oc(m,f,p):uh(u,f,p,m);try{const C=y(p);if(null!=C||p&pe.Optional)return C;St(f)}finally{Au()}}else if("number"==typeof y){let C=null,E=ia(l,u),x=-1,H=p&pe.Host?u[16][6]:null;for((-1===E||p&pe.SkipSelf)&&(x=-1===E?na(l,u):u[E+8],-1!==x&&Go(p,!1)?(C=u[1],E=Jr(x),u=ea(x,u)):E=-1);-1!==E;){const j=u[1];if(dh(y,E,j.data)){const J=_p(E,u,f,C,p,H);if(J!==Eu)return J}x=u[E+8],-1!==x&&Go(p,u[1].data[E+8]===H)&&dh(y,E,u)?(C=j,E=Jr(x),u=ea(x,u)):E=-1}}}return uh(u,f,p,m)}const Eu={};function mp(){return new sa(tn(),Ee())}function _p(l,u,f,p,m,y){const C=u[1],E=C.data[l+8],j=ml(E,C,f,null==p?Bo(E)&&ta:p!=C&&0!=(3&E.type),m&pe.Host&&y===E);return null!==j?yr(u,C,j,E):Eu}function ml(l,u,f,p,m){const y=l.providerIndexes,C=u.data,E=1048575&y,x=l.directiveStart,j=y>>20,ie=m?E+j:l.directiveEnd;for(let ue=p?E:E+j;ue=x&&Me.type===f)return ue}if(m){const ue=C[x];if(ue&&os(ue)&&ue.type===f)return x}return null}function yr(l,u,f,p){let m=l[f];const y=u.data;if(function sh(l){return l instanceof Ws}(m)){const C=m;C.resolving&&function He(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(ze(y[f]));const E=qo(C.canSeeViewProviders);C.resolving=!0;const x=C.injectImpl?nt(C.injectImpl):null;Qa(l,p,pe.Default);try{m=l[f]=C.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function nh(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const C=ci(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,C),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,C)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&nt(x),qo(E),C.resolving=!1,Au()}}return m}function dh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[is]||ku(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[is]||ku(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ku(l){return Q(l)?()=>{const u=ku(X(l));return u&&u()}:mi(l)}function Du(l){return function lh(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function Vo(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const C=new m(...y);return E.annotation=C,E;function E(x,H,j){const J=x.hasOwnProperty(Zs)?x[Zs]:Object.defineProperty(x,Zs,{value:[]})[Zs];for(;J.length<=j;)J.push(null);return(J[j]=J[j]||[]).push(C),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class Si{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ai({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const yp=new Si("AnalyzeForEntryComponents");function vn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?xs(f,u):u(f))}function ac(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function cc(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function ws(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function Mp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function Ar(l,u){const f=jt(l,u);if(f>=0)return l[1|f]}function jt(l,u){return function ca(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),C=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),cs=la(aa("Optional"),8),ua=la(aa("SkipSelf"),4);let _,ye;function R(l){var u;return(null===(u=function S(){if(void 0===_&&(_=null,Ft.trustedTypes))try{_=Ft.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return _}())||void 0===u?void 0:u.createHTML(l))||l}function Nt(l){var u;return(null===(u=function rt(){if(void 0===ye&&(ye=null,Ft.trustedTypes))try{ye=Ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return ye}())||void 0===u?void 0:u.createHTML(l))||l}class Nn{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wo extends Nn{getTypeName(){return"HTML"}}class eA extends Nn{getTypeName(){return"Style"}}class Sh extends Nn{getTypeName(){return"Script"}}class tA extends Nn{getTypeName(){return"URL"}}class iA extends Nn{getTypeName(){return"ResourceURL"}}function Mr(l){return l instanceof Nn?l.changingThisBreaksApplicationSecurity:l}function gc(l,u){const f=_1(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function _1(l){return l instanceof Nn&&l.getTypeName()||null}function nA(l){return new Wo(l)}function sA(l){return new eA(l)}function zp(l){return new Sh(l)}function oA(l){return new tA(l)}function rA(l){return new iA(l)}class aA{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(R(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class _T{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=R(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=R(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0vr(u.trim())).join(", ")),this.buf.push(" ",C,'="',Bp(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();Np.hasOwnProperty(f)&&!ju.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push(Bp(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const dA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eh=/([^\#-~ |!])/g;function Bp(l){return l.replace(/&/g,"&").replace(dA,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Eh,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function hA(l,u){let f=null;try{Uu=Uu||function Ip(l){const u=new _T(l);return function ti(){try{return!!(new window.DOMParser).parseFromString(R(""),"text/html")}catch(l){return!1}}()?new aA(u):u}(l);let p=u?String(u):"";f=Uu.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=Uu.getInertBodyElement(p)}while(p!==y);return R((new uA).sanitizeChildren(Fp(f)||f))}finally{if(f){const p=Fp(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Fp(l){return"content"in l&&function fA(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Yi=(()=>((Yi=Yi||{})[Yi.NONE=0]="NONE",Yi[Yi.HTML=1]="HTML",Yi[Yi.STYLE=2]="STYLE",Yi[Yi.SCRIPT=3]="SCRIPT",Yi[Yi.URL=4]="URL",Yi[Yi.RESOURCE_URL=5]="RESOURCE_URL",Yi))();function Gu(l){const u=Vu();return u?Nt(u.sanitize(Yi.HTML,l)||""):gc(l,"HTML")?Nt(Mr(l)):hA(en(),he(l))}function kh(l){const u=Vu();return u?u.sanitize(Yi.URL,l)||"":gc(l,"URL")?Mr(l):vr(he(l))}function Vu(){const l=Ee();return l&&l[12]}const vl="__ngContext__";function an(l,u){l[vl]=u}function Dh(l){const u=function Tl(l){return l[vl]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function Zu(l){return l.ngOriginalError}function AA(l,...u){l.error(...u)}class $u{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function yA(l){return l&&l.ngErrorLogger||AA}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&Zu(u);for(;f&&Zu(f);)f=Zu(f);return f||null}}const k1=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ft))();function mc(l){return l.ownerDocument.defaultView}function Tr(l){return l instanceof Function?l():l}var Cn=(()=>((Cn=Cn||{})[Cn.Important=1]="Important",Cn[Cn.DashCase=2]="DashCase",Cn))();function D1(l,u){return undefined(l,u)}function Lh(l){const u=l[3];return ss(u)?u[3]:u}function Qu(l){return _c(l[13])}function Dl(l){return _c(l[4])}function _c(l){for(;null!==l&&!ss(l);)l=l[4];return l}function pa(l,u,f,p,m){if(null!=p){let y,C=!1;ss(p)?y=p:Un(p)&&(C=!0,p=p[0]);const E=z(p);0===l&&null!==f?null==m?I1(u,f,E):bc(u,f,E,m||null,!0):1===l&&null!==f?bc(u,f,E,m||null,!0):2===l?function LA(l,u,f){const p=Kp(l,u);p&&function RT(l,u,f,p){hi(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,E,C):3===l&&u.destroyNode(E),null!=y&&function OT(l,u,f,p,m){const y=f[7];y!==z(f)&&pa(u,l,p,y,m);for(let E=10;E0&&(l[f-1][4]=p[4]);const y=cc(l,10+u);!function DT(l,u){Oh(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const C=y[19];null!==C&&C.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function P1(l,u){if(!(256&u[2])){const f=u[11];hi(f)&&f.destroyNode&&Oh(l,u,f,3,null,null),function Rh(l){let u=l[13];if(!u)return z1(l[1],l);for(;u;){let f=null;if(Un(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Un(u)&&z1(u[1],u),u=u[3];null===u&&(u=l),Un(u)&&z1(u[1],u),f=u&&u[4]}u=f}}(u)}}function z1(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function Wp(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=H]():p[m=-H].unsubscribe(),y+=2}else{const C=p[m=f[y+1]];f[y].call(C)}if(null!==p){for(let y=m+1;yy?"":m[J+1].toLowerCase();const ue=8&p?ie:null;if(ue&&-1!==PA(ue,H,0)||2&p&&H!==ie){if($o(p))return!1;C=!0}}}}else{if(!C&&!$o(p)&&!$o(x))return!1;if(C&&$o(x))continue;C=!1,p=x|1&p}}return $o(p)||C}function $o(l){return 0==(1&l)}function HT(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+E+'"':"")+"]"}else 8&p?m+="."+C:4&p&&(m+=" "+C);else""!==m&&!$o(C)&&(u+=IA(y,m),m=""),p=C,y=y||!$o(p);f++}return""!==m&&(u+=IA(y,m)),u}const Dt={};function NA(l){HA(Gt(),Ee(),_n()+l,ll())}function HA(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&ec(u,y,f)}else{const y=l.preOrderHooks;null!==y&&tc(u,y,0,f)}wo(f)}function $p(l,u){return l<<17|u<<2}function Xo(l){return l>>17&32767}function Y1(l){return 2|l}function ga(l){return(131068&l)>>2}function U1(l,u){return-131069&l|u<<2}function G1(l){return 1|l}function ZA(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&HA(l,u,20,ll()),f(p,m)}finally{wo(y)}}function XA(l,u,f){if(Ua(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(E)!=x&&E.push(x),E.push(p,m,C)}}function tg(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function um(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function dm(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&Fh(f)}}function Fh(l){for(let p=Qu(l);null!==p;p=Dl(p))for(let m=10;m0&&Fh(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&Fh(m)}}function qh(l,u){const f=Ot(u,l),p=f[1];(function _m(l,u){for(let f=u.length;fPromise.resolve(null))();function bm(l){return l[7]||(l[7]=[])}function id(l){return l.cleanup||(l.cleanup=[])}function lw(l,u,f){return(null===l||os(l))&&(f=function W(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function cg(l,u){const f=l[9],p=f?f.get($u,null):null;p&&p.handleError(u)}function nd(l,u,f,p,m){for(let y=0;ythis.processProvider(E,u,f)),xs([u],E=>this.processInjectorType(E,[],y)),this.records.set(Uh,Ol(void 0,this));const C=this.records.get(Am);this.scope=null!=C?C.value:null,this.source=m||("object"==typeof u?null:I(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=dc,p=pe.Default){this.assertNotDestroyed();const m=Ah(this),y=nt(void 0);try{if(!(p&pe.SkipSelf)){let E=this.records.get(u);if(void 0===E){const x=function pC(l){return"function"==typeof l||"object"==typeof l&&l instanceof Si}(u)&&ui(u);E=x&&this.injectableDefInScope(x)?Ol(dg(u),Tc):null,this.records.set(u,E)}if(null!=E)return this.hydrate(u,E)}return(p&pe.Self?wm():this.parent).get(u,f=p&pe.Optional&&f===dc?null:f)}catch(C){if("NullInjectorError"===C.name){if((C[hc]=C[hc]||[]).unshift(I(u)),m)throw C;return function xp(l,u,f,p){const m=l[hc];throw u[yh]&&m.unshift(u[yh]),l.message=function Lp(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=I(u);if(Array.isArray(u))m=u.map(I).join(" -> ");else if("object"==typeof u){let y=[];for(let C in u)if(u.hasOwnProperty(C)){let E=u[C];y.push(C+":"+("string"==typeof E?JSON.stringify(E):I(E)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(bh,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[hc]=null,l}(C,u,"R3InjectorError",this.source)}throw C}finally{nt(y),Ah(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(I(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=X(u)))return!1;let m=ao(u);const y=null==m&&u.ngModule||void 0,C=void 0===y?u:y,E=-1!==p.indexOf(C);if(void 0!==y&&(m=ao(y)),null==m)return!1;if(null!=m.imports&&!E){let j;p.push(C);try{xs(m.imports,J=>{this.processInjectorType(J,f,p)&&(void 0===j&&(j=[]),j.push(J))})}finally{}if(void 0!==j)for(let J=0;Jthis.processProvider(Me,ie,ue||We))}}this.injectorDefTypes.add(C);const x=mi(C)||(()=>new C);this.records.set(C,Ol(x,Tc));const H=m.providers;if(null!=H&&!E){const j=u;xs(H,J=>this.processProvider(J,j,H))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=rd(u=X(u))?u:X(u&&u.provide);const y=function Cm(l,u,f){return Em(l)?Ol(void 0,l.useValue):Ol(Sm(l),Tc)}(u);if(rd(u)||!0!==u.multi)this.records.get(m);else{let C=this.records.get(m);C||(C=Ol(void 0,Tc,!0),C.factory=()=>Al(C.multi),this.records.set(m,C)),m=u,C.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===Tc&&(f.value=dw,f.value=f.factory()),"object"==typeof f.value&&f.value&&function fC(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=X(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function dg(l){const u=ui(l),f=null!==u?u.factory:mi(l);if(null!==f)return f;if(l instanceof Si)throw new ee(204,!1);if(l instanceof Function)return function Tm(l){const u=l.length;if(u>0)throw ws(u,"?"),new ee(204,!1);const f=function gn(l){const u=l&&(l[Fs]||l[le]);if(u){const f=function ro(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Sm(l,u,f){let p;if(rd(l)){const m=X(l);return mi(m)||dg(m)}if(Em(l))p=()=>X(l.useValue);else if(function km(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...Al(l.deps||[]));else if(function fw(l){return!(!l||!l.useExisting)}(l))p=()=>sn(X(l.useExisting));else{const m=X(l&&(l.useClass||l.provide));if(!function hC(l){return!!l.deps}(l))return mi(m)||dg(m);p=()=>new m(...Al(l.deps))}return p}function Ol(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function Em(l){return null!==l&&"object"==typeof l&&Ep in l}function rd(l){return"function"==typeof l}let Co=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return Mm({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return Mm({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=dc,l.NULL=new od,l.\u0275prov=ai({token:l,providedIn:"any",factory:()=>sn(Uh)}),l.__NG_ELEMENT_ID__=-1,l})();function Om(l,u){ul(Dh(l)[1],tn())}function Er(l){let u=function ii(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(os(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const C=l;C.inputs=Pm(l.inputs),C.declaredInputs=Pm(l.declaredInputs),C.outputs=Pm(l.outputs);const E=m.hostBindings;E&&Eo(l,E);const x=m.viewQuery,H=m.contentQueries;if(x&&zm(l,x),H&&_C(l,H),L(l.inputs,m.inputs),L(l.declaredInputs,m.declaredInputs),L(l.outputs,m.outputs),os(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let C=0;C=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=Xr(m.hostAttrs,f=Xr(f,m.hostAttrs))}}(p)}function Pm(l){return l===ct?{}:l===We?[]:l}function zm(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function _C(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function Eo(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let ld=null;function _a(){if(!ld){const l=Ft.Symbol;if(l&&l.iterator)ld=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fE(z(Qt[p.index])):p.index;if(hi(f)){let Qt=null;if(!E&&x&&(Qt=function Dw(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?E[x]:null}"string"==typeof C&&(y+=2)}return null}(l,u,m,p.index)),null!==Qt)(Qt.__ngLastListenerFn__||Qt).__ngNextListenerFn__=y,Qt.__ngLastListenerFn__=y,ue=!1;else{y=nf(p,u,J,y,!1);const fi=f.listen(Je,m,y);ie.push(y,fi),j&&j.push(m,at,Se,Se+1)}}else y=nf(p,u,J,y,!0),Je.addEventListener(m,y,C),ie.push(y),j&&j.push(m,at,Se,C)}else y=nf(p,u,J,y,!1);const Me=p.outputs;let Ne;if(ue&&null!==Me&&(Ne=Me[m])){const Ye=Ne.length;if(Ye)for(let Je=0;Je0;)u=u[15],l--;return u}(l,lt.lFrame.contextLView))[8]}(l)}function xw(l,u){let f=null;const p=function BT(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const Ui={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rf(l){return l.substring(Ui.key,Ui.keyEnd)}function af(l,u){const f=Ui.textEnd;return f===u?-1:(u=Ui.keyEnd=function p_(l,u,f){for(;u32;)u++;return u}(l,Ui.key=u,f),jl(l,u,f))}function jl(l,u,f){for(;u=0;f=af(u,f))Qn(l,rf(u),!0)}function ko(l,u,f,p){const m=Ee(),y=Gt(),C=yo(2);y.firstUpdatePass&&Fg(y,l,C,p),u!==Dt&&yi(m,C,u)&&w_(y,y.data[_n()],m,m[11],l,m[C+1]=function Bw(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=I(Mr(l)))),l}(u,f),p,C)}function Is(l,u,f,p){const m=Gt(),y=yo(2);m.firstUpdatePass&&Fg(m,null,y,p);const C=Ee();if(f!==Dt&&yi(C,y,f)){const E=m.data[_n()];if(v_(E,p)&&!__(m,y)){let x=p?E.classesWithoutHost:E.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Cg(m,E,C,f,p)}else!function A_(l,u,f,p,m,y,C,E){m===Dt&&(m=We);let x=0,H=0,j=0=l.expandoStartIndex}function Fg(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[_n()],C=__(l,f);v_(y,p)&&null===u&&!C&&(u=!1),u=function zw(l,u,f,p){const m=gr(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=Ma(f=lf(null,l,u,f,p),u.attrs,p),y=null);else{const C=u.directiveStylingLast;if(-1===C||l[C]!==m)if(f=lf(m,l,u,f,p),null===y){let x=function Iw(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==ga(p))return l[Xo(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=lf(null,l,u,x[1],p),x=Ma(x,u.attrs,p),function Nw(l,u,f,p){l[Xo(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function Hw(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(H=!0)}else j=f;if(m)if(0!==x){const ie=Xo(l[E+1]);l[p+1]=$p(ie,E),0!==ie&&(l[ie+1]=U1(l[ie+1],p)),l[E+1]=function VT(l,u){return 131071&l|u<<17}(l[E+1],p)}else l[p+1]=$p(E,0),0!==E&&(l[E+1]=U1(l[E+1],p)),E=p;else l[p+1]=$p(x,0),0===E?E=p:l[x+1]=U1(l[x+1],p),x=p;H&&(l[p+1]=Y1(l[p+1])),zs(l,j,p,!0),zs(l,j,p,!1),function Lw(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&jt(y,u)>=0&&(f[p+1]=G1(f[p+1]))}(u,j,l,p,y),C=$p(E,x),y?u.classBindings=C:u.styleBindings=C}(m,y,u,f,C,p)}}function lf(l,u,f,p,m){let y=null;const C=f.directiveEnd;let E=f.directiveStylingLast;for(-1===E?E=f.directiveStart:E++;E0;){const x=l[m],H=Array.isArray(x),j=H?x[1]:x,J=null===j;let ie=f[m+1];ie===Dt&&(ie=J?We:void 0);let ue=J?Ar(ie,p):j===p?ie:void 0;if(H&&!uf(ue)&&(ue=Ar(x,p)),uf(ue)&&(E=ue,C))return E;const Me=l[m+1];m=C?Xo(Me):ga(Me)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(E=Ar(x,p))}return E}function uf(l){return void 0!==l}function v_(l,u){return 0!=(l.flags&(u?16:32))}function T_(l,u=""){const f=Ee(),p=Gt(),m=l+20,y=p.firstCreatePass?xl(p,m,1,u,null):p.data[m],C=f[m]=function x1(l,u){return hi(l)?l.createText(u):l.createTextNode(u)}(f[11],u);Ac(p,f,C,y),ys(y,!1)}function Bn(l){return Md("",l,""),Bn}function Md(l,u,f){const p=Ee(),m=Js(p,l,u,f);return m!==Dt&&Qo(p,_n(),m),Md}function df(l,u,f,p,m){const y=Ee(),C=Ec(y,l,u,f,p,m);return C!==Dt&&Qo(y,_n(),C),df}function E_(l,u,f,p,m,y,C,E,x,H,j){const J=Ee(),ie=Dc(J,l,u,f,p,m,y,C,E,x,H,j);return ie!==Dt&&Qo(J,_n(),ie),E_}function x_(l,u,f){Is(Qn,tr,Js(Ee(),l,u,f),!0)}function Nc(l,u,f){const p=Ee();return yi(p,ks(),u)&&Gn(Gt(),xi(),p,l,u,p[11],f,!0),Nc}function pf(l,u,f){const p=Ee();if(yi(p,ks(),u)){const y=Gt(),C=xi();Gn(y,C,p,l,u,lw(gr(y.data),C,p),f,!0)}return pf}const Ta=void 0;var z_=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["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"]],Ta,[["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"]],Ta,[["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}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function vd(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Yl={};function jg(l){const u=function eM(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=Ug(u);if(f)return f;const p=u.split("-")[0];if(f=Ug(p),f)return f;if("en"===p)return z_;throw new Error(`Missing locale data for the locale "${l}".`)}function Yg(l){return jg(l)[ut.PluralCase]}function Ug(l){return l in Yl||(Yl[l]=Ft.ng&&Ft.ng.common&&Ft.ng.common.locales&&Ft.ng.common.locales[l]),Yl[l]}var ut=(()=>((ut=ut||{})[ut.LocaleId=0]="LocaleId",ut[ut.DayPeriodsFormat=1]="DayPeriodsFormat",ut[ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",ut[ut.DaysFormat=3]="DaysFormat",ut[ut.DaysStandalone=4]="DaysStandalone",ut[ut.MonthsFormat=5]="MonthsFormat",ut[ut.MonthsStandalone=6]="MonthsStandalone",ut[ut.Eras=7]="Eras",ut[ut.FirstDayOfWeek=8]="FirstDayOfWeek",ut[ut.WeekendRange=9]="WeekendRange",ut[ut.DateFormat=10]="DateFormat",ut[ut.TimeFormat=11]="TimeFormat",ut[ut.DateTimeFormat=12]="DateTimeFormat",ut[ut.NumberSymbols=13]="NumberSymbols",ut[ut.NumberFormats=14]="NumberFormats",ut[ut.CurrencyCode=15]="CurrencyCode",ut[ut.CurrencySymbol=16]="CurrencySymbol",ut[ut.CurrencyName=17]="CurrencyName",ut[ut.Currencies=18]="Currencies",ut[ut.Directionality=19]="Directionality",ut[ut.PluralCase=20]="PluralCase",ut[ut.ExtraData=21]="ExtraData",ut))();const io="en-US";let tM=io;function ob(l,u,f,p,m){if(l=X(l),Array.isArray(l))for(let y=0;y>20;if(rd(l)||!l.multi){const ue=new Ws(x,m,wa),Me=n0(E,u,m?j:j+ie,J);-1===Me?(As(jo(H,C),y,E),Lr(y,l,u.length),u.push(E),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(ue),C.push(ue)):(f[Me]=ue,C[Me]=ue)}else{const ue=n0(E,u,j+ie,J),Me=n0(E,u,j,j+ie),Ne=ue>=0&&f[ue],Ye=Me>=0&&f[Me];if(m&&!Ye||!m&&!Ne){As(jo(H,C),y,E);const Je=function _M(l,u,f,p,m){const y=new Ws(l,f,wa);return y.multi=[],y.index=u,y.componentProviders=0,rb(y,m,p&&!f),y}(m?mM:gM,f.length,m,p,x);!m&&Ye&&(f[Me].providerFactory=Je),Lr(y,l,u.length,0),u.push(E),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(Je),C.push(Je)}else Lr(y,l,ue>-1?ue:Me,rb(f[m?Me:ue],x,!m&&p));!m&&p&&Ye&&f[Me].componentProviders++}}}function Lr(l,u,f,p){const m=rd(u),y=function dC(l){return!!l.useClass}(u);if(m||y){const x=(y?X(u.useClass):u).prototype.ngOnDestroy;if(x){const H=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=H.indexOf(f);-1===j?H.push(f,[p,x]):H[j+1].push(p,x)}else H.push(f,x)}}}function rb(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function n0(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function Yt(l,u,f){const p=Gt();if(p.firstCreatePass){const m=os(l);ob(f,p.data,p.blueprint,m,!0),ob(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class cb{}class AM{resolveComponentFactory(u){throw function yM(l){const u=Error(`No component factory found for ${I(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let kd=(()=>{class l{}return l.NULL=new AM,l})();function wM(){return Kl(tn(),Ee())}function Kl(l,u){return new Dd(Te(l,u))}let Dd=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=wM,l})();function ub(l){return l instanceof Dd?l.nativeElement:l}class db{}let xd=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function NC(){const l=Ee(),f=Ot(tn().index,l);return function IC(l){return l[11]}(Un(f)?f:l)}(),l})(),HC=(()=>{class l{}return l.\u0275prov=ai({token:l,providedIn:"root",factory:()=>null}),l})();class hb{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const fb=new hb("13.2.2"),o0={};function no(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(z(y)),ss(y))for(let E=10;E-1&&(Gp(u,p),cc(f,p))}this._attachedToViewContainer=!1}P1(this._lView[1],this._lView)}onDestroy(u){Xp(this._lView[1],this._lView,null,u)}markForCheck(){ng(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){og(this._lView[1],this._lView,this.context)}checkNoChanges(){!function rw(l,u,f){Xa(!0);try{og(l,u,f)}finally{Xa(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function xT(l,u){Oh(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class MM extends Ld{constructor(u){super(u),this._view=u}detectChanges(){rg(this._view)}checkNoChanges(){!function ag(l){Xa(!0);try{rg(l)}finally{Xa(!1)}}(this._view)}get context(){return null}}class vM extends kd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=mn(u);return new Cf(f,this.ngModule)}}function r0(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const gb=new Si("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>k1});class Cf extends cb{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function UT(l){return l.map(YT).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return r0(this.componentDef.inputs)}get outputs(){return r0(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function TM(l,u){return{get:(f,p,m)=>{const y=l.get(f,o0,m);return y!==o0||p===o0?y:u.get(f,p,m)}}}(u,m.injector):u,C=y.get(db,P),E=y.get(HC,null),x=C.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",j=p?function rm(l,u,f){if(hi(l))return l.selectRootElement(u,f===Fe.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):R1(C.createRenderer(null,this.componentDef),H,function pb(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(H)),J=this.componentDef.onPush?576:528,ie=function pg(l,u){return{components:[],scheduler:l||k1,clean:cw,playerHandler:u||null,flags:0}}(),ue=cn(0,null,null,1,0,null,null,null,null,null),Me=Nh(null,ue,ie,J,null,null,C,x,E,y);let Ne,Ye;mr(Me);try{const Je=function Ti(l,u,f,p,m,y){const C=f[1];f[20]=l;const x=xl(C,20,2,"#host",null),H=x.mergedAttrs=u.hostAttrs;null!==H&&(sd(x,H,!0),null!==l&&($r(m,l,H),null!==x.classes&&q1(m,l,x.classes),null!==x.styles&&OA(m,l,x.styles)));const j=p.createRenderer(l,u),J=Nh(f,nm(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return C.firstCreatePass&&(As(jo(x,f),C,u.type),um(C,x),hm(x,f.length,1)),jh(f,J),f[20]=J}(j,this.componentDef,Me,C,x);if(j)if(p)$r(x,j,["ng-version",fb.full]);else{const{attrs:Se,classes:at}=function GT(l){const u=[],f=[];let p=1,m=2;for(;p0&&q1(x,j,at.join(" "))}if(Ye=li(ue,20),void 0!==f){const Se=Ye.projection=[];for(let at=0;atx(C,u)),u.contentQueries){const x=tn();u.contentQueries(1,C,x.directiveStart)}const E=tn();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(wo(E.index),am(f[1],E,0,E.directiveStart,E.directiveEnd,u),tg(u,C)),C}(Je,this.componentDef,Me,ie,[Om]),Hh(ue,Me,null)}finally{_r()}return new Rd(this.componentType,Ne,Kl(Ye,Me),Me,Ye)}}class Rd extends class bM{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new MM(m),this.componentType=u}get injector(){return new sa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class xo{}class mb{}const Rr=new Map;class $l extends xo{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new vM(this);const p=At(u);this._bootstrapComponents=Tr(p.bootstrap),this._r3Injector=vm(u,f,[{provide:xo,useValue:this},{provide:kd,useValue:this.componentFactoryResolver}],I(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=Co.THROW_IF_NOT_FOUND,p=pe.Default){return u===Co||u===xo||u===Uh?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class Sf extends mb{constructor(u){super(),this.moduleType=u,null!==At(u)&&function _b(l){const u=new Set;!function f(p){const m=At(p,!0),y=m.id;null!==y&&(function a0(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${I(u)} vs ${I(u.name)}`)}(y,Rr.get(y),p),Rr.set(y,p));const C=Tr(m.imports);for(const E of C)u.has(E)||(u.add(E),f(E))}(l)}(u)}create(u){return new $l(this.moduleType,u)}}function Ea(l,u,f){const p=zn()+l,m=Ee();return m[p]===Dt?Qs(m,p,f?u.call(f):u()):function Sc(l,u){return l[u]}(m,p)}function Wn(l,u,f,p){return Or(Ee(),zn(),l,u,f,p)}function yb(l,u,f,p,m){return Mb(Ee(),zn(),l,u,f,p,m)}function Gi(l,u){const f=l[u];return f===Dt?void 0:f}function Or(l,u,f,p,m,y){const C=u+f;return yi(l,C,m)?Qs(l,C+1,y?p.call(y,m):p(m)):Gi(l,C+1)}function Mb(l,u,f,p,m,y,C){const E=u+f;return ya(l,E,m,y)?Qs(l,E+2,C?p.call(C,m,y):p(m,y)):Gi(l,E+2)}function kn(l,u,f,p,m,y,C,E){const x=u+f;return function Il(l,u,f,p,m){const y=ya(l,u,f,p);return yi(l,u+2,m)||y}(l,x,m,y,C)?Qs(l,x+3,E?p.call(E,m,y,C):p(m,y,C)):Gi(l,x+3)}function u0(l,u){const f=Gt();let p;const m=l+20;f.firstCreatePass?(p=function vb(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=mi(p.type)),C=nt(wa);try{const E=qo(!1),x=y();return qo(E),function bg(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Ee(),m,x),x}finally{nt(C)}}function d0(l,u,f){const p=l+20,m=Ee(),y=Xt(m,p);return Xl(m,p)?Or(m,zn(),u,y.transform,f,y):y.transform(f)}function h0(l,u,f,p){const m=l+20,y=Ee(),C=Xt(y,m);return Xl(y,m)?Mb(y,zn(),u,C.transform,f,p,C):C.transform(f,p)}function f0(l,u,f,p,m){const y=l+20,C=Ee(),E=Xt(C,y);return Xl(C,y)?kn(C,zn(),u,E.transform,f,p,m,E):E.transform(f,p,m)}function Xl(l,u){return l[1].data[u].pure}function kf(l){return u=>{setTimeout(l,void 0,u)}}const Lo=class Cb extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,C;let E=u,x=f||(()=>null),H=p;if(u&&"object"==typeof u){const J=u;E=null===(m=J.next)||void 0===m?void 0:m.bind(J),x=null===(y=J.error)||void 0===y?void 0:y.bind(J),H=null===(C=J.complete)||void 0===C?void 0:C.bind(J)}this.__isAsync&&(x=kf(x),E&&(E=kf(E)),H&&(H=kf(H)));const j=super.subscribe({next:E,error:x,complete:H});return u instanceof i.w&&u.add(j),j}};function xM(){return this._results[_a()]()}class Od{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=_a(),p=Od.prototype;p[f]||(p[f]=xM)}get changes(){return this._changes||(this._changes=new Lo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=vn(u);(this._changesDetected=!function gh(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=g0,l})();const p0=Ql,Sb=class extends p0{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Nh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Hh(f,p,u),new Ld(p)}};function g0(){return Pd(tn(),Ee())}function Pd(l,u){return 4&l.type?new Sb(u,l,Kl(l,u)):null}let zd=(()=>{class l{}return l.__NG_ELEMENT_ID__=Eb,l})();function Eb(){return b0(tn(),Ee())}const m0=zd,Id=class extends m0{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return Kl(this._hostTNode,this._hostLView)}get injector(){return new sa(this._hostTNode,this._hostLView)}get parentInjector(){const u=na(this._hostTNode,this._hostLView);if(Qr(u)){const f=ea(u,this._hostLView),p=Jr(u);return new sa(f[1].data[p+8],f)}return new sa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=_0(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const C=u&&!function Mo(l){return"function"==typeof l}(u);let E;if(C)E=f;else{const J=f||{};E=J.index,p=J.injector,m=J.projectableNodes,y=J.ngModuleRef}const x=C?u:new Cf(mn(u)),H=p||this.parentInjector;if(!y&&null==x.ngModule&&H){const J=H.get(xo,null);J&&(y=J)}const j=x.create(H,m,void 0,y);return this.insert(j.hostView,E),j}insert(u,f){const p=u._lView,m=p[1];if(function vi(l){return ss(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const J=p[3],ie=new Id(J,J[6],J[3]);ie.detach(ie.indexOf(u))}}const y=this._adjustIndex(f),C=this._lContainer;!function LT(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(C[E/2]);else{const H=y[E+1],j=u[-x];for(let J=10;J{class l{constructor(f){this.appInits=f,this.resolve=tu,this.reject=tu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:E,error:x})});f.push(C)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(sn(iu,8))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const KM=new Si("AppId"),ZM={provide:KM,useFactory:function Gb(){return`${Hf()}${Hf()}${Hf()}`},deps:[]};function Hf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Vb=new Si("Platform Initializer"),x0=new Si("Platform ID"),Bf=new Si("appBootstrapListener");let so=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const Ff=new Si("LocaleId"),Ir=new Si("DefaultCurrencyCode");class L0{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let qf=(()=>{class l{compileModuleSync(f){return new Sf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=Tr(At(f).declarations).reduce((C,E)=>{const x=mn(E);return x&&C.push(new Cf(x)),C},[]);return new L0(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const XM=(()=>Promise.resolve(0))();function jf(l){"undefined"==typeof Zone?XM.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class hs{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Lo(!1),this.onMicrotaskEmpty=new Lo(!1),this.onStable=new Lo(!1),this.onError=new Lo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function QM(){let l=Ft.requestAnimationFrame,u=Ft.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function ev(l){const u=()=>{!function Kb(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Ft,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,Zb(l),l.isCheckStableRunning=!0,O0(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),Zb(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,C,E)=>{try{return Yf(l),f.invokeTask(m,y,C,E)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),$b(l)}},onInvoke:(f,p,m,y,C,E,x)=>{try{return Yf(l),f.invoke(m,y,C,E,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),$b(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,Zb(l),O0(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(hs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,C=y.scheduleEventTask("NgZoneEvent: "+m,u,JM,tu,tu);try{return y.runTask(C,f,p)}finally{y.cancelTask(C)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const JM={};function O0(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function Zb(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Yf(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function $b(l){l._nesting--,O0(l)}class Xb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Lo,this.onMicrotaskEmpty=new Lo,this.onStable=new Lo,this.onError=new Lo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let Qb=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{hs.assertNotInAngularZone(),jf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())jf(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!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(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(sn(hs))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})(),P0=(()=>{class l{constructor(){this._applications=new Map,Uf.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Uf.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();class Fc{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function tv(l){Uf=l}let Oo,Uf=new Fc;const vs=new Si("AllowMultipleToken");class Gf{constructor(u,f){this.name=u,this.token=f}}function z0(l,u,f=[]){const p=`Platform: ${u}`,m=new Si(p);return(y=[])=>{let C=ey();if(!C||C.injector.get(vs,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const E=f.concat(y).concat({provide:m,useValue:!0},{provide:Am,useValue:"platform"});!function nv(l){if(Oo&&!Oo.destroyed&&!Oo.injector.get(vs,!1))throw new ee(400,"");Oo=l.get(I0);const u=l.get(Vb,null);u&&u.forEach(f=>f())}(Co.create({providers:E,name:p}))}return function sv(l){const u=ey();if(!u)throw new ee(401,"");return u}()}}function ey(){return Oo&&!Oo.destroyed?Oo:null}let I0=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const E=function rv(l,u){let f;return f="noop"===l?new Xb:("zone.js"===l?void 0:l)||new hs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:hs,useValue:E}];return E.run(()=>{const H=Co.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(H),J=j.injector.get($u,null);if(!J)throw new ee(402,"");return E.runOutsideAngular(()=>{const ie=E.onError.subscribe({next:ue=>{J.handleError(ue)}});j.onDestroy(()=>{iy(this._modules,j),ie.unsubscribe()})}),function ty(l,u,f){try{const p=f();return n_(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(J,E,()=>{const ie=j.injector.get(nu);return ie.runInitializers(),ie.donePromise.then(()=>(function Gg(l){ot(l,"Expected localeId to be defined"),"string"==typeof l&&(tM=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(Ff,io)||io),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=av({},p);return function Jb(l,u,f){const p=new Sf(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Vf);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(sn(Co))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function av(l,u){return Array.isArray(u)?u.reduce(av,l):Object.assign(Object.assign({},l),u)}let Vf=(()=>{class l{constructor(f,p,m,y,C){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const E=new T.y(H=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{H.next(this._stable),H.complete()})}),x=new T.y(H=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{hs.assertNotInAngularZone(),jf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,H.next(!0))})})});const J=this._zone.onUnstable.subscribe(()=>{hs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{H.next(!1)}))});return()=>{j.unsubscribe(),J.unsubscribe()}});this.isStable=(0,M.T)(E,x.pipe((0,v.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof cb?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function iv(l){return l.isBoundToModule}(m)?void 0:this._injector.get(xo),E=m.create(Co.NULL,[],p||m.selector,y),x=E.location.nativeElement,H=E.injector.get(Qb,null),j=H&&E.injector.get(P0);return H&&j&&j.registerApplication(x,H),E.onDestroy(()=>{this.detachView(E.hostView),iy(this.components,E),j&&j.unregisterApplication(x)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;iy(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Bf,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(sn(hs),sn(Co),sn($u),sn(kd),sn(nu))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function iy(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let su=!0;function ZC(){su=!1}let cv=(()=>{class l{}return l.__NG_ELEMENT_ID__=lv,l})();function lv(l){return function uv(l,u,f){if(Bo(l)&&!f){const p=Ot(l.index,u);return new Ld(p,p)}return 47&l.type?new Ld(u[16],u):null}(tn(),Ee(),16==(16&l))}class ly{constructor(){}supports(u){return Cc(u)}create(u){return new q0(u)}}const Zf=(l,u)=>u;class q0{constructor(u){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=u||Zf}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const C=!p||f&&f.currentIndex{C=this._trackByFn(m,E),null!==f&&Object.is(f.trackById,C)?(p&&(f=this._verifyReinsertion(f,E,C,m)),Object.is(f.item,E)||this._addIdentityChange(f,E)):(f=this._mismatch(f,E,C,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new oS(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}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(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Yc),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class oS{constructor(u,f){this.item=u,this.trackById=f,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 uy{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Yc{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new uy,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dy(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,C=m._next;return y&&(y._next=C),C&&(C._prev=y),m._next=null,m._prev=null,m}const p=new fv(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class fv{constructor(u){this.key=u,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 j0(){return new $f([new ly])}let $f=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||j0()),deps:[[l,new ua,new cs]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:j0}),l})();function fy(){return new Y0([new hy])}let Y0=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||fy()),deps:[[l,new ua,new cs]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:fy}),l})();const py=[new hy],pv=new $f([new ly]),aS=new Y0(py),mv=z0(null,"core",[{provide:x0,useValue:"unknown"},{provide:I0,deps:[Co]},{provide:P0,deps:[]},{provide:so,deps:[]}]),fs=[{provide:Vf,useClass:Vf,deps:[hs,Co,$u,kd,nu]},{provide:gb,deps:[hs],useFactory:function wv(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:nu,useClass:nu,deps:[[new cs,iu]]},{provide:qf,useClass:qf,deps:[]},ZM,{provide:$f,useFactory:function _v(){return pv},deps:[]},{provide:Y0,useFactory:function bv(){return aS},deps:[]},{provide:Ff,useFactory:function yv(l){return l||function Av(){return"undefined"!=typeof $localize&&$localize.locale||io}()},deps:[[new fc(Ff),new cs,new ua]]},{provide:Ir,useValue:"USD"}];let Mv=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(sn(Vf))},l.\u0275mod=ar({type:l}),l.\u0275inj=pn({providers:fs}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class q extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return q.\u0275fac=function(){let Y;return function(b){return(Y||(Y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(q)))(b||q)}}(),q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class q{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class ReceivedTokens{}class OAuthEvent{constructor(Y){this.type=Y}}class OAuthSuccessEvent extends OAuthEvent{constructor(Y,w=null){super(Y),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(Y,w=null){super(Y),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(Y,w,b=null){super(Y),this.reason=w,this.params=b}}function b64DecodeUnicode(q){const Y=q.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Y).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(q){return btoa(q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(Y){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},Y&&Object.assign(this,Y)}}class WebHttpUrlEncodingCodec{encodeKey(Y){return encodeURIComponent(Y)}encodeValue(Y){return encodeURIComponent(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(Y){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(Y.idTokenHeader),b=yield this.calcHash(Y.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),M=Y.idTokenClaims.at_hash.replace(/=/g,"");return T!==M&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+M)),T===M})}inferHashAlgorithm(Y){let w=Y.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class q{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,M,v,k,L,I;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[v++]=128|63&k):k<55296||k>=57344?(T[v++]=224|k>>12,T[v++]=128|k>>6&63,T[v++]=128|63&k):(k=65536+((1023&k)<<10|1023&q.charCodeAt(++b)),T[v++]=240|k>>18,T[v++]=128|k>>12&63,T[v++]=128|k>>6&63,T[v++]=128|63&k);q=T}else{if("object"!==i)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR)}q.length>64&&(q=new Sha256(Y,!0).update(q).array());var L=[],I=[];for(b=0;b<64;++b){var B=q[b]||0;L[b]=92^B,I[b]=54^B}Sha256.call(this,Y,w),this.update(I),this.oKeyPad=L,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(q){if(!this.finalized){var Y,w=typeof q;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR);Y=!0}for(var b,T,i=0,M=q.length,v=this.blocks;i>2]|=q[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(v[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=v[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var q=this.blocks,Y=this.lastByteIndex;q[16]=this.block,q[Y>>2]|=EXTRA[3&Y],this.block=q[16],Y>=56&&(this.hashed||this.hash(),q[0]=this.block,q[16]=q[1]=q[2]=q[3]=q[4]=q[5]=q[6]=q[7]=q[8]=q[9]=q[10]=q[11]=q[12]=q[13]=q[14]=q[15]=0),q[14]=this.hBytes<<3|this.bytes>>>29,q[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var L,U,ae,ee,ce,he,q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=this.blocks;for(L=16;L<64;++L)k[L]=k[L-16]+(((U=k[L-15])>>>7|U<<25)^(U>>>18|U<<14)^U>>>3)+k[L-7]+(((U=k[L-2])>>>17|U<<15)^(U>>>19|U<<13)^U>>>10)<<0;for(he=Y&w,L=0;L<64;L+=4)this.first?(this.is224?(ae=300032,v=(U=k[0]-1413257819)-150054599<<0,b=U+24177077<<0):(ae=704751109,v=(U=k[0]-210244248)-1521486534<<0,b=U+143694565<<0),this.first=!1):(v=b+(U=v+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&M)+K[L]+k[L])<<0,b=U+(((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+((ae=q&Y)^q&w^he))<<0),M=w+(U=M+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&i^~v&T)+K[L+1]+k[L+1])<<0,w=U+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&q)^b&Y^ae))<<0,T=Y+(U=T+((M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7))+(M&v^~M&i)+K[L+2]+k[L+2])<<0,Y=U+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ce=w&b)^w&q^ee))<<0,i=q+(U=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&M^~T&v)+K[L+3]+k[L+3])<<0,q=U+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((he=Y&w)^Y&b^ce))<<0;this.h0=this.h0+q<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+M<<0,this.h7=this.h7+v<<0},Sha256.prototype.hex=function(){this.finalize();var q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=HEX_CHARS[q>>28&15]+HEX_CHARS[q>>24&15]+HEX_CHARS[q>>20&15]+HEX_CHARS[q>>16&15]+HEX_CHARS[q>>12&15]+HEX_CHARS[q>>8&15]+HEX_CHARS[q>>4&15]+HEX_CHARS[15&q]+HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[M>>28&15]+HEX_CHARS[M>>24&15]+HEX_CHARS[M>>20&15]+HEX_CHARS[M>>16&15]+HEX_CHARS[M>>12&15]+HEX_CHARS[M>>8&15]+HEX_CHARS[M>>4&15]+HEX_CHARS[15&M];return this.is224||(k+=HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]),k},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=[q>>24&255,q>>16&255,q>>8&255,255&q,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,M>>24&255,M>>16&255,M>>8&255,255&M];return this.is224||k.push(v>>24&255,v>>16&255,v>>8&255,255&v),k},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var q=new ArrayBuffer(this.is224?28:32),Y=new DataView(q);return Y.setUint32(0,this.h0),Y.setUint32(4,this.h1),Y.setUint32(8,this.h2),Y.setUint32(12,this.h3),Y.setUint32(16,this.h4),Y.setUint32(20,this.h5),Y.setUint32(24,this.h6),this.is224||Y.setUint32(28,this.h7),q},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var q=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(q),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(q){if("string"!=typeof q)throw new TypeError("expected string");var Y,w=q,b=new Uint8Array(w.length);for(Y=0;Y{class q{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})(),OAuthService=(()=>{class q extends AuthConfig{constructor(w,b,i,T,M,v,k,L,I,B){var F;super(),this.ngZone=w,this.http=b,this.config=M,this.urlHelper=v,this.logger=k,this.crypto=L,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=I,M||(M={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),M&&this.configure(M);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(U){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",U)}if(this.checkLocalStorageAccessable()){const U=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==U?void 0:U.includes("MSIE "))||(null==U?void 0:U.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(M=>{"token_received"===M.type?T=!0:"logout"===M.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_expires"===M.type&&(null==b||"any"===b||M.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(M=>{T&&this.refreshInternal(w,i).catch(v=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(M=>{const k=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:M});this.eventsSubject.next(k),b(k)}).catch(M=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",M)),i(M)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let M=JSON.parse(T.body);const v=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!v.sub||M.sub!==v.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");M=Object.assign({},v,M),this._storage.setItem("id_token_claims_obj",JSON.stringify(M)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:M})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(M,this.customQueryParams[M]);for(const M of Object.keys(b))T=T.set(M,b[M]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((M,v)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(k=>{this.debug("tokenResponse",k),this.storeAccessTokenResponse(k.access_token,k.refresh_token,k.expires_in||this.fallbackAccessTokenExpirationTimeInSec,k.scope,this.extractRecognizedCustomParameters(k)),this.oidc&&k.id_token&&this.processIdToken(k.id_token,k.access_token).then(L=>{this.storeIdToken(L),M(k)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),M(k)},k=>{this.logger.error("Error performing ${grantType} flow",k),this.eventsSubject.next(new OAuthErrorEvent("token_error",k)),v(k)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(M,this.customQueryParams[M]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(M=>M.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(M.id_token,M.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>this.storeIdToken(v)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>M)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(M))).subscribe(M=>{this.debug("refresh tokenResponse",M),this.storeAccessTokenResponse(M.access_token,M.refresh_token,M.expires_in||this.fallbackAccessTokenExpirationTimeInSec,M.scope,this.extractRecognizedCustomParameters(M)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(M)},M=>{this.logger.error("Error refreshing token",M),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",M)),b(M)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const M=this.document.createElement("iframe");M.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{M.setAttribute("src",B),this.silentRefreshShowIFrame||(M.style.display="none"),this.document.body.appendChild(M)});const k=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),L=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),I=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([k,L,I]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let k,v=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(v=w.windowRef,v.location.href=b):v=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const L=X=>{this.tryLogin({customHashFragment:X,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},Q=>{B(),T(Q)})};v?k=window.setInterval(()=>{(!v||v.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(k),window.removeEventListener("storage",U),window.removeEventListener("message",F),null!==v&&v.close(),v=null},F=X=>{const Q=this.processMessageEventMessage(X);Q&&null!==Q?(window.removeEventListener("storage",U),L(Q)):console.log("false event firing")},U=X=>{"auth_hash"===X.key&&(window.removeEventListener("message",F),L(X.newValue))};window.addEventListener("message",F),window.addEventListener("storage",U)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,M={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const v=this;let k;k=i||this.redirectUri;const L=yield this.createAndSaveNonce();if(w=w?L+this.config.nonceStateSeparator+encodeURIComponent(w):L,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const I=v.loginUrl.indexOf("?")>-1?"&":"?";let B=v.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let F=v.loginUrl+I+"response_type="+encodeURIComponent(v.responseType)+"&client_id="+encodeURIComponent(v.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(k)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[U,X]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",X):this._storage.setItem("PKCE_verifier",X),F+="&code_challenge="+U,F+="&code_challenge_method=S256"}b&&(F+="&login_hint="+encodeURIComponent(b)),v.resource&&(F+="&resource="+encodeURIComponent(v.resource)),v.oidc&&(F+="&nonce="+encodeURIComponent(L)),T&&(F+="&prompt=none");for(const U of Object.keys(M))F+="&"+encodeURIComponent(U)+"="+encodeURIComponent(M[U]);if(this.customQueryParams)for(const U of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+U+"="+encodeURIComponent(this.customQueryParams[U]);return F})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initImplicitFlow",M),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,M){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const v=1e3*i,L=this.dateTimeService.new().getTime()+v;this._storage.setItem("expires_at",""+L)}b&&this._storage.setItem("refresh_token",b),M&&M.forEach((v,k)=>{this._storage.setItem(k,v)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,M=i.state,v=i.session_state;if(!w.preventClearHashAfterLogin){const I=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,I)}let[k,L]=this.parseState(M);if(this.state=L,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const I=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(I),Promise.reject(I)}if(!w.disableNonceCheck){if(!k)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(k)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(v),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,M)=>{if(this.customQueryParams)for(let v of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.oidc&&v.id_token?this.processIdToken(v.id_token,v.access_token,b.disableNonceCheck).then(k=>{this.storeIdToken(k),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v)}).catch(k=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",k)),console.error("Error validating tokens"),console.error(k),M(k)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v))},v=>{console.error("Error getting token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),M(v)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,M]=this.parseState(i);if(this.state=M,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const v=b.access_token,k=b.id_token,L=b.session_state,I=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!v||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!k)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!L&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(v,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,I),this.oidc?this.processIdToken(k,v,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:v,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(F=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(L),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),v=b64DecodeUnicode(this.padBase64(T[0])),k=JSON.parse(v),I=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(I);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ce=>ce!==this.clientId)){const ce="Wrong audience: "+B.aud.join(",");return this.logger.warn(ce),Promise.reject(ce)}}else if(B.aud!==this.clientId){const ce="Wrong audience: "+B.aud;return this.logger.warn(ce),Promise.reject(ce)}if(!B.sub){const ce="No sub claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ce=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ce),Promise.reject(ce)}if(!B.iat){const ce="No iat claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ce="Wrong issuer: "+B.iss;return this.logger.warn(ce),Promise.reject(ce)}if(!i&&B.nonce!==F){const ce="Wrong nonce: "+B.nonce;return this.logger.warn(ce),Promise.reject(ce)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ce="An at_hash is needed!";return this.logger.warn(ce),Promise.reject(ce)}const U=this.dateTimeService.now(),X=1e3*B.iat,Q=1e3*B.exp,ae=this.getClockSkewInMsec();if(X-ae>=U||Q+ae<=U){const ce="Token has expired";return console.error(ce),console.error({now:U,issuedAtMSec:X,expiresAtMSec:Q}),Promise.reject(ce)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:k,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ce=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:k,idTokenHeaderJson:v,idTokenExpiresAt:Q})):this.checkAtHash(ee).then(ce=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ce){const he="Wrong at_hash";return this.logger.warn(he),Promise.reject(he)}return this.checkSignature(ee).then(he=>{const He={idToken:w,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:k,idTokenHeaderJson:v,idTokenExpiresAt:Q};return this.disableAtHashCheck?He:this.checkAtHash(ee).then(Ze=>{if(this.requestAccessToken&&!Ze){const bt="Wrong at_hash";return this.logger.warn(bt),Promise.reject(bt)}return He})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(v=>this._storage.removeItem(v)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let M;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)M=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(v=v.set("id_token_hint",T));const k=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";k&&(v=v.set("post_logout_redirect_uri",k),b&&(v=v.set("state",b)));for(let L in w)v=v.set(L,w[L]);M=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+v.toString()}this.config.openUri(M)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const M="undefined"==typeof self?null:self.crypto||self.msCrypto;if(M){let v=new Uint8Array(i);M.getRandomValues(v),v.map||(v.map=Array.prototype.map),v=v.map(k=>b.charCodeAt(k%b.length)),T=String.fromCharCode.apply(null,v)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initAuthorizationCodeFlow"),console.error(M)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),M=this.getRefreshToken();if(!T)return;let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(L,this.customQueryParams[L]);return new Promise((L,I)=>{let B,F;if(T){let U=v.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,U,{headers:k})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(M){let U=v.set("token",M).set("token_type_hint","refresh_token");F=this.http.post(i,U,{headers:k})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(U=>0===U.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(U=>0===U.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,F]).subscribe(U=>{this.logOut(w),L(U),this.logger.info("Token successfully revoked")},U=>{this.logger.error("Error revoking token",U),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",U)),I(U)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return q.\u0275fac=function(w){return new(w||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(Y){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Y)}}let DefaultOAuthInterceptor=(()=>{class q{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>!!M)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_received"===M.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(M=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(M=>{if(M){const k=w.headers.set("Authorization","Bearer "+M);w=w.clone({headers:k})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>this.errorHandler.handleError(M))):b.handle(w)}}return q.\u0275fac=function(w){return new(w||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class NullValidationHandler{validateSignature(Y){return Promise.resolve(null)}validateAtHash(Y){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class q{static forRoot(w=null,b=NullValidationHandler){return{ngModule:q,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:q}),q.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),q})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},1128:q=>{"use strict";q.exports=JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')},4147:q=>{"use strict";q.exports={i8:"6.1.0"}}},q=>{q(q.s=9510)}]); \ No newline at end of file diff --git a/dist/apps/user-profile/main.a4cd1e8c71cf15f8.js b/dist/apps/user-profile/main.a4cd1e8c71cf15f8.js deleted file mode 100644 index 55c3d62f1..000000000 --- a/dist/apps/user-profile/main.a4cd1e8c71cf15f8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkuser_profile=self.webpackChunkuser_profile||[]).push([[179],{9510:(q,Y,w)=>{"use strict";var b=w(9808),i=w(5e3);class T extends b.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class M extends T{static makeCurrent(){(0,b.HT)(new M)}onAndCancel(o,e,t){return o.addEventListener(e,t,!1),()=>{o.removeEventListener(e,t,!1)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function k(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==e?null:function I(n){L=L||document.createElement("a"),L.setAttribute("href",n);const o=L.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,b.Mx)(document.cookie,o)}}let L,v=null;const B=new i.OlP("TRANSITION_ID"),U=[{provide:i.ip1,useFactory:function F(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,b.q)(),s=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let a=0;a{const a=o.findTestabilityInTree(t,s);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const s=i.dqk.getAllAngularTestabilities();let a=s.length,r=!1;const c=function(d){r=r||d,a--,0==a&&t(r)};s.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const s=o.getTestability(e);return null!=s?s:t?(0,b.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let Q=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const ae=new i.OlP("EventManagerPlugins");let ee=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>s.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}addGlobalEventListener(e,t,s){return this._findPluginFor(t).addGlobalEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const s=this._plugins;for(let a=0;a{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(s=>{this._stylesSet.has(s)||(this._stylesSet.add(s),t.add(s))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),ze=(()=>{class n extends he{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(a=>{const r=this._doc.createElement("style");r.textContent=a,s.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(He),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(He))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function He(n){(0,b.q)().remove(n)}const Ze={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/"},bt=/%COMP%/g;function ge(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let Re=(()=>{class n{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new fe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new wi(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case i.ifc.ShadowDom:return new ot(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=ge(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(ze),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class fe{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(Ze[e]||e,o):document.createElement(o)}createComment(o){return document.createComment(o)}createText(o){return document.createTextNode(o)}appendChild(o,e){o.appendChild(e)}insertBefore(o,e,t){o&&o.insertBefore(e,t)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let t="string"==typeof o?document.querySelector(o):o;if(!t)throw new Error(`The selector "${o}" did not match any elements`);return e||(t.textContent=""),t}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,t,s){if(s){e=s+":"+e;const a=Ze[s];a?o.setAttributeNS(a,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const s=Ze[t];s?o.removeAttributeNS(s,e):o.removeAttribute(`${t}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,t,s){s&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,s&i.JOm.Important?"important":""):o.style[e]=t}removeStyle(o,e,t){t&i.JOm.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,t){o[e]=t}setValue(o,e){o.nodeValue=e}listen(o,e,t){return"string"==typeof o?this.eventManager.addGlobalEventListener(o,e,Ae(t)):this.eventManager.addEventListener(o,e,Ae(t))}}class wi extends fe{constructor(o,e,t,s){super(o),this.component=t;const a=ge(s+"-"+t.id,t.styles,[]);e.addStyles(a),this.contentAttr=function mt(n){return"_ngcontent-%COMP%".replace(bt,n)}(s+"-"+t.id),this.hostAttr=function de(n){return"_nghost-%COMP%".replace(bt,n)}(s+"-"+t.id)}applyToHost(o){super.setAttribute(o,this.hostAttr,"")}createElement(o,e){const t=super.createElement(o,e);return super.setAttribute(t,this.contentAttr,""),t}}class ot extends fe{constructor(o,e,t,s){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=ge(s.id,s.styles,[]);for(let r=0;r{class n extends ce{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const jn=["alt","control","meta","shift"],Xe={"\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"},ai={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ps={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let pn=(()=>{class n extends ce{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,s){const a=n.parseEventName(t),r=n.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,b.q)().onAndCancel(e,a.domEventName,r))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const a=n._normalizeKey(t.pop());let r="";if(jn.forEach(d=>{const h=t.indexOf(d);h>-1&&(t.splice(h,1),r+=d+".")}),r+=a,0!=t.length||0===a.length)return null;const c={};return c.domEventName=s,c.fullKey=r,c}static getEventFullKey(e){let t="",s=function ui(n){let o=n.key;if(null==o){if(o=n.keyIdentifier,null==o)return"Unidentified";o.startsWith("U+")&&(o=String.fromCharCode(parseInt(o.substring(2),16)),3===n.location&&ai.hasOwnProperty(o)&&(o=ai[o]))}return Xe[o]||o}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),jn.forEach(a=>{a!=s&&ps[a](e)&&(t+=a+".")}),t+=s,t}static eventCallback(e,t,s){return a=>{n.getEventFullKey(a)===e&&s.runGuarded(()=>t(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Fs=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:b.bD},{provide:i.g9A,useValue:function Wt(){M.makeCurrent(),X.init()},multi:!0},{provide:b.K0,useFactory:function ro(){return(0,i.RDi)(document),document},deps:[]}]),Yn=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function gn(){return new i.qLn},deps:[]},{provide:ae,useClass:ft,multi:!0,deps:[b.K0,i.R0b,i.Lbi]},{provide:ae,useClass:pn,multi:!0,deps:[b.K0]},{provide:Re,useClass:Re,deps:[ee,ze,i.AFp]},{provide:i.FYo,useExisting:Re},{provide:he,useExisting:ze},{provide:ze,useClass:ze,deps:[b.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:ee,useClass:ee,deps:[ae,i.R0b]},{provide:b.JF,useClass:Q,deps:[]}];let le=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:i.AFp,useValue:e.appId},{provide:B,useExisting:i.AFp},U]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Yn,imports:[b.ez,i.hGG]}),n})(),nt=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ve(){return new nt((0,i.LFG)(b.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let ms=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new(e||n):i.LFG(rr),t},providedIn:"root"}),n})(),rr=(()=>{class n extends ms{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function or(n){return new rr(n.get(b.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var D=w(520);class Ie{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const ki=new i.OlP("basePath");class Qe{constructor(o={}){this.apiKeys=o.apiKeys,this.username=o.username,this.password=o.password,this.accessToken=o.accessToken,this.basePath=o.basePath,this.withCredentials=o.withCredentials,this.encoder=o.encoder}selectHeaderContentType(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}selectHeaderAccept(o){if(0===o.length)return;const e=o.find(t=>this.isJsonMime(t));return void 0===e?o[0]:e}isJsonMime(o){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==o&&(e.test(o)||"application/json-patch+json"===o.toLowerCase())}}let si=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}convertAttributeToNonunique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attribute",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attributes[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAttribute(e,t,s,a,r,c,d,h,g,O,$,oe="body",be=!1){let ve=new D.LE({encoder:this.encoder});null!=e&&(ve=ve.set("attributeName",e)),null!=t&&(ve=ve.set("attributeId",t)),null!=s&&(ve=ve.set("facility",s)),null!=a&&(ve=ve.set("user",a)),null!=r&&(ve=ve.set("vo",r)),null!=c&&(ve=ve.set("resource",c)),null!=d&&(ve=ve.set("member",d)),null!=h&&(ve=ve.set("group",h)),null!=g&&(ve=ve.set("host",g)),null!=O&&(ve=ve.set("userExtSource",O)),null!=$&&(ve=ve.set("key",$));let Le=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(Le=Le.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(Le=Le.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;Le=Le.set("Authorization","Bearer "+Bt)}const Gt=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==Gt&&(Le=Le.set("Accept",Gt)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{params:ve,withCredentials:this.configuration.withCredentials,headers:Le,observe:oe,reportProgress:be})}getAttributeDefinitionById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("namespace",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==t)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("format",e)),null!=t&&(r=r.set("attrName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("format",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,a,r,c,d,h,g="body",O=!1){let $=new D.LE({encoder:this.encoder});null!=e&&($=$.set("member",e)),null!=t&&($=$.set("user",t)),null!=s&&($=$.set("vo",s)),null!=a&&($=$.set("group",a)),null!=r&&($=$.set("resource",r)),null!=c&&($=$.set("facility",c)),null!=d&&($=$.set("host",d)),null!=h&&($=$.set("userExtSource",h));let oe=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(oe=oe.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(oe=oe.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const Le="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;oe=oe.set("Authorization","Bearer "+Le)}const ve=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==ve&&(oe=oe.set("Accept",ve)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{params:$,withCredentials:this.configuration.withCredentials,headers:oe,observe:g,reportProgress:O})}getEntitylessAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessAttributesByKey(e,t="body",s=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("key",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attrName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attrName",e)),t&&t.forEach(g=>{r=r.append("keys[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEntitylessKeys(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("attributeDefinition",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacilityResourceUserMemberAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("facility",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("user",s)),null!=a&&(d=d.set("member",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getFacilityUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("host",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLogins(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==t)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAndUserAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAndUserAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberGroupAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroupAttributesByNames(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getMemberResourceAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("service",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesFacilityServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesGroupResourceService(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("service",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesHostService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==t)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("host",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("workWithUserAttributes",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesMemberGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberGroupResourceService(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==a)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("service",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("group",s)),null!=a&&(h=h.set("member",a)),null!=r&&(h=h.set("workWithUserAttributes",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getRequiredAttributesMemberGroupService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesMemberResource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRequiredAttributesMemberResourceService(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("service",e)),null!=t&&(d=d.set("resource",t)),null!=s&&(d=d.set("member",s)),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRequiredAttributesResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesResourceServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("services[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRequiredAttributesVoService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("service",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupAndGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==s)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("resource",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("workWithGroupAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourceGroupAndGroupAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attrNames[]",$)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getResourceGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceGroupMemberAttributesByNames(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==s)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==a)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),null!=t&&(d=d.set("group",t)),null!=s&&(d=d.set("member",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserFacilityAttributeById(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==s)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributeByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==s)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attributeName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getUserFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==t)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributeByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==t)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attributeName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==a)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==r)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("facility",e)),null!=t&&(g=g.set("resource",t)),null!=s&&(g=g.set("group",s)),null!=a&&(g=g.set("user",a)),null!=r&&(g=g.set("member",r)),c&&c.forEach(be=>{g=g.append("attributes[]",be)});let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}removeAttributesForFacilityResourceUserMember(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==a)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==r)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("facility",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("user",s)),null!=a&&(h=h.set("member",a)),r&&r.forEach(oe=>{h=h.append("attributes[]",oe)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}removeEntitylessAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("key",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeFacilityAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==a)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attributes[]",$)}),null!=a&&(d=d.set("workWithGroupAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeHostAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeHostAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("host",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMemberAttributesWorkWithUserAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),t&&t.forEach(O=>{c=c.append("attributes[]",O)}),null!=s&&(c=c.set("workWithUserAttributes",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==a)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("group",t)),s&&s.forEach($=>{d=d.append("attributes[]",$)}),null!=a&&(d=d.set("workWithUserAttributes",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}removeMemberResourceAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeMemberResourceAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("resource",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeResourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUesAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSourceAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userExtSource",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserFacilityAttribute(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==s)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("attribute",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeUserFacilityAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("facility",t)),s&&s.forEach(O=>{c=c.append("attributes[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeVoAttribute(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==t)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("attribute",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==t)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attributes[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setAttributeRights(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeRights was null or undefined when calling setAttributeRights.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttribute was null or undefined when calling setHostAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetHostAttributes was null or undefined when calling setHostAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttribute was null or undefined when calling setUserAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserAttributes was null or undefined when calling setUserAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttribute was null or undefined when calling setVoAttribute.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoAttributes was null or undefined when calling setVoAttributes.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ki=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}getAllPolicies(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("role",e)),null!=t&&(c=c.set("complementaryObjectId",t)),null!=s&&(c=c.set("complementaryObjectName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getAuthzRichAdmins(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==t)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==s)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==a)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("role",e)),null!=t&&(g=g.set("complementaryObjectId",t)),null!=s&&(g=g.set("complementaryObjectName",s)),a&&a.forEach(be=>{g=g.append("specificAttributes",be)}),null!=r&&(g=g.set("allUserAttributes",r)),null!=c&&(g=g.set("onlyDirectAdmins",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}getFacilitiesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("groupId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getLoggedUser(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getPerunPrincipal(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserRoleNames(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("user",t)),e&&e.forEach(g=>{r=r.append("roles[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}isFacilityAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("facility",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}keepAlive(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter setRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1){if(null==e)throw new Error("Required parameter unsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),An=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling addMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling addMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}canExtendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createGroupWithParentGroupNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("parentGroup",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}createGroupWithVoNameDescription(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==t)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==s)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("name",t)),null!=s&&(c=c.set("description",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deleteGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteGroups was null or undefined when calling deleteGroups.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}extendMembershipInGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}forceAllSubGroupsSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupStructureSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}forceGroupSynchronization(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllGroupsFromAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupByName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==t)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMemberById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==t)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByGroupStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupMembersCountsByVoStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupRichMembersByIds(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==t)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==s)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(O=>{c=c.append("members[]",O)}),s&&s.forEach(O=>{c=c.append("attrNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getGroupUnions(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==t)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("reverseDirection",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getIndirectMembershipPaths(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==t)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMemberGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberRichGroupsWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichGroupByIdWithAttributesByNames(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("groupId",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSubgroupsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}isGroupMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==t)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}moveGroupWithDestinationGroupMovingGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let r=new D.LE({encoder:this.encoder});null!=t&&(r=r.set("destinationGroup",t)),null!=e&&(r=r.set("movingGroup",e));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupUnion(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==t)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resultGroup",e)),null!=t&&(r=r.set("operandGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==t)throw new Error("Required parameter member was null or undefined when calling removeMember.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==t)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("members[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setGroupsMemberStatus(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==t)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==s)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("group",t)),null!=s&&(c=c.set("status",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateGroup was null or undefined when calling updateGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Be=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}canExtendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createMemberForCandidate(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberForUser was null or undefined when calling createMemberForUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createMemberFromExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSpecificMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSpecificMember was null or undefined when calling createSpecificMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMember1 was null or undefined when calling createSponsoredMembers.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createSponsoredMembersFromCSV(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("members[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}extendMembership(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findCompleteRichMembersByAttributes(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("attrsNames[]",O)}),null!=t&&(c=c.set("searchString",t)),s&&s.forEach(O=>{c=c.append("allowedStatuses[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCompleteRichMembersForGroup(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==a)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("group",e)),t&&t.forEach(be=>{g=g.append("attrsNames[]",be)}),r&&r.forEach(be=>{g=g.append("allowedStatuses[]",be)}),c&&c.forEach(be=>{g=g.append("allowedGroupStatuses[]",be)}),null!=s&&(g=g.set("searchString",s)),null!=a&&(g=g.set("lookingInParentGroup",a));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}findCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("attrsNames[]",$)}),a&&a.forEach($=>{d=d.append("allowedStatuses[]",$)}),null!=s&&(d=d.set("searchString",s));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}findMembersInVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findSponsoredCompleteRichMembersForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==t)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==a)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("attrsNames[]",$)}),null!=s&&(d=d.set("searchString",s)),null!=a&&(d=d.set("onlySponsored",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getAllMembers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getCompleteRichMembersForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==t)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),s&&s.forEach(oe=>{h=h.append("allowedStatuses[]",oe)}),a&&a.forEach(oe=>{h=h.append("allowedGroupStatuses[]",oe)}),null!=t&&(h=h.set("lookingInParentGroup",t)),r&&r.forEach(oe=>{h=h.append("attrsNames[]",oe)});let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getCompleteRichMembersForGroupResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==s)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==a)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),null!=t&&(d=d.set("resource",t)),s&&s.forEach($=>{d=d.append("attrsNames[]",$)}),a&&a.forEach($=>{d=d.append("allowedStatuses[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getCompleteRichMembersForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(O=>{c=c.append("allowedStatuses[]",O)}),s&&s.forEach(O=>{c=c.append("attrsNames[]",O)});let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberByExtSourceNameAndExtLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==s)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("extLogin",t)),null!=s&&(c=c.set("extSourceName",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMemberById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMemberByUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembers(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getMembersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersCount(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getMembersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedMembers was null or undefined when calling getMembersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getMembersWithStatusCount(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getRichMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMemberWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichMembersByIds(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("ids[]",g)}),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsoredMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsoredMembersAndTheirSponsors(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsByVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}moveMembership(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==t)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==s)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("sourceUser",t)),null!=s&&(c=c.set("targetUser",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}removeSponsor(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("sponsor",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendAccountActivationLinkEmail(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("member",e)),null!=t&&(d=d.set("namespace",t)),null!=s&&(d=d.set("emailAttributeURN",s)),null!=a&&(d=d.set("language",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendPasswordResetLinkEmail(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==s)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==a)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("member",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("emailAttributeURN",s)),null!=a&&(h=h.set("language",a)),null!=r&&(h=h.set("baseUrl",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}setSponsoredMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSponsorshipForMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("sponsoredMember",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}setStatus(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling setStatus.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("status",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sponsorMember(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}updateSponsorshipValidity(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==t)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("member",e)),null!=t&&(c=c.set("sponsor",t)),null!=s&&(c=c.set("validityTo",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}validateMemberAsync(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ni=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}sentMessageToRTWithMemberQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("memberId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sentMessageToRTWithQueue(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("queue",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==t)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==s)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("voId",e)),null!=t&&(c=c.set("subject",t)),null!=s&&(c=c.set("text",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sentMessageToRTWithVoQueue(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==t)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==s)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("voId",e)),null!=t&&(d=d.set("queue",t)),null!=s&&(d=d.set("subject",s)),null!=a&&(d=d.set("text",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rn=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addApplicationMailForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addApplicationMailForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}addGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}approveApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkForSimilarUsersWithAuthInfo(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}consolidateIdentityUsingToken(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}copyFormFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyFormFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromGroupToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromGroup",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToGroup(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyMailsFromVoToVo(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("fromVo",e)),null!=t&&(r=r.set("toVo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createApplicationFormInGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}createApplicationFormInVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteApplicationMailForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteApplicationMailForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==t)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("id",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteGroupsFromAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("groups[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationDataById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationMailsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getApplicationsForGroup(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("group",e)),t&&t.forEach($=>{d=d.append("state[]",$)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getApplicationsForVo(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),t&&t.forEach($=>{d=d.append("state[]",$)}),null!=s&&(d=d.set("dateFrom",s)),null!=a&&(d=d.set("dateTo",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getApplicationsPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getConsolidatorToken(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForGroupWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getFormItemsForVoWithType(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("type",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsToAutoRegistration(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoApplicationForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}rejectApplication(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),null!=t&&(r=r.set("reason",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendInvitation(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let d=new D.LE({encoder:this.encoder});null!=s&&(d=d.set("voId",s)),null!=a&&(d=d.set("name",a)),null!=e&&(d=d.set("email",e)),null!=t&&(d=d.set("language",t));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}sendInvitationForGroup(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==t)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let h=new D.LE({encoder:this.encoder});null!=s&&(h=h.set("voId",s)),null!=a&&(h=h.set("groupId",a)),null!=r&&(h=h.set("name",r)),null!=e&&(h=h.set("email",e)),null!=t&&(h=h.set("language",t));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}sendInvitationGroupToExistingUser(e,t,s,a="body",r=!1){let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("userId",e)),null!=t&&(c=c.set("voId",t)),null!=s&&(c=c.set("groupId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}sendInvitationToExistingUser(e,t,s="body",a=!1){let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("userId",e)),null!=t&&(r=r.set("voId",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}sendMessage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSendMessage was null or undefined when calling sendMessage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}setSendingEnabled(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}submitApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSubmitApplication was null or undefined when calling submitApplication.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateApplicationMail(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateForm(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateForm was null or undefined when calling updateForm.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData was null or undefined when calling updateFormItemData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsData(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputFormItemData1 was null or undefined when calling updateFormItemsData.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateFormItemsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}verifyApplication(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ei=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}activateGroupResourceAssignment(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),null!=t&&(c=c.set("resource",t)),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}addAdminToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addAdminToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}allowGroupsToResources(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let c=new D.LE({encoder:this.encoder});e&&e.forEach(O=>{c=c.append("groups[]",O)}),t&&t.forEach(O=>{c=c.append("resources[]",O)}),null!=s&&(c=c.set("async",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}assignGroupToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupToResources(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("group",e)),t&&t.forEach(oe=>{h=h.append("resources[]",oe)}),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignGroupsToResource(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let h=new D.LE({encoder:this.encoder});e&&e.forEach(oe=>{h=h.append("groups[]",oe)}),null!=t&&(h=h.set("resource",t)),null!=s&&(h=h.set("async",s)),null!=a&&(h=h.set("assignInactive",a)),null!=r&&(h=h.set("autoAssignSubgroups",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}assignResourceTagToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}assignService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling assignService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling assignServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}assignServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}copyResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResource(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==s)throw new Error("Required parameter name was null or undefined when calling createResource.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("facility",t)),null!=s&&(d=d.set("name",s)),null!=a&&(d=d.set("description",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createResourceTagWithResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}createResourceTagWithTagName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("tagName",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deactivateGroupResourceAssignment(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteAllResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}deleteResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAdminGroups(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAdmins(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==t)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("onlyDirectAdmins",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllResourcesByResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getAllResourcesTagsForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesTagsForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllResourcesWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAllowedUsersOfResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("member",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedMembersWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedResourcesWithStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichMembers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithGroup(e,t="body",s=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("group",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesWithMemberService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAssignedServicesToResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getBansForResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getEnrichedResourceById(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("id",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForFacility(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("facility",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getEnrichedResourcesForVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getFacility(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceAssignments(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBan(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourceByName(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==s)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("facility",t)),null!=s&&(c=c.set("name",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesCountForAll(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getResourcesFromVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getResourcesWhereGroupIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==s)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("group",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getResourcesWhereUserIsAdmin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==s)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("facility",e)),null!=t&&(c=c.set("vo",t)),null!=s&&(c=c.set("user",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getRichAdmins(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==t)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==s)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==a)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("resource",e)),t&&t.forEach($=>{d=d.append("specificAttributes",$)}),null!=s&&(d=d.set("allUserAttributes",s)),null!=a&&(d=d.set("onlyDirectAdmins",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getRichResourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichResourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeAllResourceTagsFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("resource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeBanByMemberAndResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeGroupsFromResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeResourceSelfServiceGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==t)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("group",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceSelfServiceUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeResourceTagFromResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}removeService(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==t)throw new Error("Required parameter service was null or undefined when calling removeService.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("service",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServices(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==t)throw new Error("Required parameter services was null or undefined when calling removeServices.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),t&&t.forEach(g=>{r=r.append("services[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeServicesPackage(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==t)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("servicesPackage",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserAdminResource(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("resource",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}setResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}unallowGroupsFromResources(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==t)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let r=new D.LE({encoder:this.encoder});e&&e.forEach(g=>{r=r.append("groups[]",g)}),t&&t.forEach(g=>{r=r.append("resources[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateResource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateResourceTag(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tt=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addUserExtSource(e,t="body",s=!1){if(null==e)throw new Error("Required parameter addUserExtSourceInput was null or undefined when calling addUserExtSource.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}anonymizeUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}changeNonAuthzPasswordByToken(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling changeNonAuthzPasswordByToken.");if(null==t)throw new Error("Required parameter password was null or undefined when calling changeNonAuthzPasswordByToken.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("token",e)),null!=t&&(c=c.set("password",t)),null!=s&&(c=c.set("lang",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changeNonAuthzPassword/token`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}changePasswordForLogin(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling changePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForLogin.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForLogin.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("login",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/login`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}changePasswordForUser(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling changePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling changePasswordForUser.");if(null==s)throw new Error("Required parameter newPassword was null or undefined when calling changePasswordForUser.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("user",e)),null!=t&&(h=h.set("namespace",t)),null!=s&&(h=h.set("newPassword",s)),null!=a&&(h=h.set("oldPassword",a)),null!=r&&(h=h.set("checkOldPassword",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/changePassword/user`,null,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("token",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}checkPasswordStrength(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter password was null or undefined when calling checkPasswordStrength.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling checkPasswordStrength.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("password",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createAlternativePassword(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling createAlternativePassword.");if(null==t)throw new Error("Required parameter description was null or undefined when calling createAlternativePassword.");if(null==s)throw new Error("Required parameter loginNamespace was null or undefined when calling createAlternativePassword.");if(null==a)throw new Error("Required parameter password was null or undefined when calling createAlternativePassword.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("user",e)),null!=t&&(d=d.set("description",t)),null!=s&&(d=d.set("loginNamespace",s)),null!=a&&(d=d.set("password",a));let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/createAlternativePassword`,null,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}createServiceUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateServiceUser was null or undefined when calling createServiceUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==t)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==s)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("loginNamespace",t)),null!=s&&(c=c.set("passwordId",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}deletePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deletePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}deleteUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findRichUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("searchString",e)),t&&t.forEach(g=>{r=r.append("attrsNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findUsers(e,t="body",s=!1){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("searchString",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("namespace",e)),null!=t&&(r=r.set("name",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllRichUsersWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("includedSpecificUsers",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==t)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("facility",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsForResourceWhereUserIsActive(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==t)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("resource",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("vo",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getGroupsWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("attrsNames[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("member",e)),t&&t.forEach(g=>{r=r.append("attrNames[]",g)});let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getSponsorsForMemberByVoAndLogin(e,t,s,a,r="body",c=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==s)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let d=new D.LE({encoder:this.encoder});null!=e&&(d=d.set("vo",e)),null!=t&&(d=d.set("extSourceName",t)),null!=s&&(d=d.set("extLogin",s)),a&&a.forEach($=>{d=d.append("attrNames[]",$)});let h=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(h=h.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(h=h.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const $="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+$)}const O=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==O&&(h=h.set("Accept",O)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:r,reportProgress:c})}getUserByExtSourceNameAndExtLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==t)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("extLogin",e)),null!=t&&(r=r.set("extSourceName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("userExtSource",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeId",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==t)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("attributeName",e)),null!=t&&(r=r.set("attributeValue",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getUserExtSources(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsers(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("specificUser",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputGetPaginatedUsers was null or undefined when calling getUsersPage.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("user",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==t)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("loginNamespace",e)),null!=t&&(r=r.set("login",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}loginExist(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSpecificUserOwner(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==t)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("specificUser",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeUserExtSource(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==t)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("userExtSource",t)),null!=s&&(c=c.set("force",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}requestPreferredEmailChange(e,t,s,a,r,c,d="body",h=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==t)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let g=new D.LE({encoder:this.encoder});null!=e&&(g=g.set("user",e)),null!=t&&(g=g.set("email",t)),null!=s&&(g=g.set("lang",s)),null!=a&&(g=g.set("linkPath",a)),null!=r&&(g=g.set("customUrl",r)),null!=c&&(g=g.set("idpFilter",c));let O=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(O=O.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(O=O.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const be="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;O=O.set("Authorization","Bearer "+be)}const oe=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==oe&&(O=O.set("Accept",oe)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{params:g,withCredentials:this.configuration.withCredentials,headers:O,observe:d,reportProgress:h})}reservePasswordForLogin(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling reservePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForLogin.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForLogin.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("login",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/login`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reservePasswordForUser(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reservePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reservePasswordForUser.");if(null==s)throw new Error("Required parameter password was null or undefined when calling reservePasswordForUser.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("user",e)),null!=t&&(c=c.set("namespace",t)),null!=s&&(c=c.set("password",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reservePassword/user`,null,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}reserveRandomPassword(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}updateUser(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateUser was null or undefined when calling updateUser.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("login",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePasswordForUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==t)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("user",e)),null!=t&&(r=r.set("namespace",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}validatePreferredEmailChangeWithToken(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==t)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("token",e)),null!=t&&(r=r.set("u",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),js=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}getAppsConfig(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["text/plain"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uo=(()=>{class n{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new D.WM,this.configuration=new Qe,s&&(this.configuration=s),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new Ie}addSponsorRoleToGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addSponsorRoleToUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}addVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithName(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==t)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("name",e)),null!=t&&(r=r.set("shortName",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}createVoWithVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputCreateVoWithVo was null or undefined when calling createVoWithVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}deleteVo(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("force",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}findCandidates(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("id",e)),null!=t&&(c=c.set("searchString",t)),null!=s&&(c=c.set("maxNumOfResults",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}findCandidatesForGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==t)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("group",e)),null!=t&&(r=r.set("searchString",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getAllVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("group",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getCompleteCandidatesForVo(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==t)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==s)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),t&&t.forEach(O=>{c=c.append("attrNames[]",O)}),null!=s&&(c=c.set("searchString",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getMyVos(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}getRichAdminsForVo(e,t,s,a,r,c="body",d=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==a)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==r)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let h=new D.LE({encoder:this.encoder});null!=e&&(h=h.set("vo",e)),null!=t&&(h=h.set("role",t)),s&&s.forEach(oe=>{h=h.append("specificAttributes",oe)}),null!=a&&(h=h.set("allUserAttributes",a)),null!=r&&(h=h.set("onlyDirectAdmins",r));let g=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(g=g.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(g=g.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const oe="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;g=g.set("Authorization","Bearer "+oe)}const $=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==$&&(g=g.set("Accept",$)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{params:h,withCredentials:this.configuration.withCredentials,headers:g,observe:c,reportProgress:d})}getVoAdminGroups(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("role",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}getVoAdminUsers(e,t,s,a="body",r=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==t)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let c=new D.LE({encoder:this.encoder});null!=e&&(c=c.set("vo",e)),null!=t&&(c=c.set("role",t)),null!=s&&(c=c.set("onlyDirectAdmins",s));let d=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(d=d.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(d=d.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const O="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;d=d.set("Authorization","Bearer "+O)}const g=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==g&&(d=d.set("Accept",g)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{params:c,withCredentials:this.configuration.withCredentials,headers:d,observe:a,reportProgress:r})}getVoBanById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoBansForVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoById(e,t="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("id",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoByShortName(e,t="body",s=!1){let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("shortName",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVoMembersCountsByStatus(e,t="body",s=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("vo",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosByIds(e,t="body",s=!1){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let a=new D.LE({encoder:this.encoder});e&&e.forEach(h=>{a=a.append("ids[]",h)});let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}getVosCount(e="body",t=!1){let s=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(s=s.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(s=s.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const c="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+c)}const r=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==r&&(s=s.set("Accept",r)),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{withCredentials:this.configuration.withCredentials,headers:s,observe:e,reportProgress:t})}removeSponsorRoleFromGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeSponsorRoleFromUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminGroup(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==t)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("authorizedGroup",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoAdminUser(e,t,s="body",a=!1){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==t)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let r=new D.LE({encoder:this.encoder});null!=e&&(r=r.set("vo",e)),null!=t&&(r=r.set("user",t));let c=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(c=c.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(c=c.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;c=c.set("Authorization","Bearer "+g)}const h=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==h&&(c=c.set("Accept",h)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{params:r,withCredentials:this.configuration.withCredentials,headers:c,observe:s,reportProgress:a})}removeVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("banId",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}removeVoBanForMember(e,t="body",s=!1){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let a=new D.LE({encoder:this.encoder});null!=e&&(a=a.set("member",e));let r=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(r=r.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(r=r.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const h="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;r=r.set("Authorization","Bearer "+h)}const d=this.configuration.selectHeaderAccept(["application/json"]);return void 0!==d&&(r=r.set("Accept",d)),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{params:a,withCredentials:this.configuration.withCredentials,headers:r,observe:t,reportProgress:s})}setVoBan(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputSetVoBan was null or undefined when calling setVoBan.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}updateVo(e,t="body",s=!1){if(null==e)throw new Error("Required parameter inputUpdateVo was null or undefined when calling updateVo.");let a=this.defaultHeaders;if(this.configuration.apiKeys&&this.configuration.apiKeys.Authorization&&(a=a.set("Authorization",this.configuration.apiKeys.Authorization)),(this.configuration.username||this.configuration.password)&&(a=a.set("Authorization","Basic "+btoa(this.configuration.username+":"+this.configuration.password))),this.configuration.accessToken){const g="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;a=a.set("Authorization","Bearer "+g)}const c=this.configuration.selectHeaderAccept(["application/json"]);void 0!==c&&(a=a.set("Accept",c));const h=this.configuration.selectHeaderContentType(["application/json"]);return void 0!==h&&(a=a.set("Content-Type",h)),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{withCredentials:this.configuration.withCredentials,headers:a,observe:t,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ki,8),i.LFG(Qe,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Rt=(()=>{return(n=Rt||(Rt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.SELF="SELF",n.FACILITYADMIN="FACILITYADMIN",n.FACILITIYOBSERVER="FACILITYOBSERVER",n.RESOURCEADMIN="RESOURCEADMIN",n.RESOURCESELFSERVICE="RESOURCESELFSERVICE",n.REGISTRAR="REGISTRAR",n.ENGINE="ENGINE",n.RPC="RPC",n.NOTIFICATIONS="NOTIFICATIONS",n.SERVICEUSER="SERVICEUSER",n.SPONSOR="SPONSOR",n.VOOBSERVER="VOOBSERVER",n.TOPGROUPCREATOR="TOPGROUPCREATOR",n.SECURITYADMIN="SECURITYADMIN",n.CABINETADMIN="CABINETADMIN",n.UNKNOWNROLENAME="UNKNOWNROLENAME",Rt;var n})();let Va=(()=>{class n{constructor(e){this.authzSevice=e,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(e){this.principal=e,this.initData(e)}setPerunPolicies(e){this.perunPolicies=e}getPerunPolicies(){return this.perunPolicies}isAuthorized(e,t){if(null===this.principal.roles)return!1;const s=this.fetchPolicyWithAllIncludedPolicies(e);let a=[];for(const c of s)a=a.concat(c.perunRoles);const r=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(a,r)}resolveAuthorization(e,t){for(const s of e){let a=!0;for(const r of Object.keys(s)){const c=s[r];if(null===c)this.principalRoles.has(r)||(a=!1);else if(t[c]){for(const d of t[c])if(!this.principalHasRole(r,c,d)){a=!1;break}}else a=!1;if(!a)break}if(a)return!0}return!1}fetchAllRelatedObjects(e){const t={};for(const s of e){let a=s.beanName;switch(s.beanName.startsWith("Rich")&&(a=s.beanName.substring(4)),t[a]?t[a].push(s.id):t[a]=[s.id],a){case"Member":t.User?t.User.push(s.userId):t.User=[s.userId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId];break;case"Resource":t.Facility?t.Facility.push(s.facilityId):t.Facility=[s.facilityId],t.Vo?t.Vo.push(s.voId):t.Vo=[s.voId]}}return t}principalHasRole(e,t,s){let a=t;return t.startsWith("Rich")&&(a=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][a])&&this.principal.roles[e][a].includes(Number(s.toString()))}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const r=s.shift();if(t.has(r)){console.log("Policy {} creates a cycle in the included policies of the policy {}",r,e);continue}const c=this.getPerunPolicy(r);if(!c)return[];t.set(r,c),s=s.concat(c.includePolicies)}const a=[];for(const r of t.values())a.push(r);return a}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return console.log("policy with name"+e+"was not found"),null}canManageFacilities(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER,Rt.FACILITYADMIN,Rt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(Rt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(Rt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(Rt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(Rt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.VOOBSERVER,Rt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(Rt.PERUNADMIN,Rt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(s=>{this.allRolesManagementRules=s,e()},s=>t(s))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(s=>{s.primaryObject===t&&e.push(s.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let s=e.beanName;s.startsWith("Rich")&&(s=s.substr(4)),this.assignAvailableRoles(t,s);const a=new Map;this.getRolesAuthorization(t,e,a);for(const r of a.values())if(r.readAuth||r.manageAuth)return!0;return!1}getRolesAuthorization(e,t,s){for(const a of e){let r=[],c=[],d=[];for(const $ of this.allRolesManagementRules)if($.roleName===a){r=r.concat($.privilegedRolesToRead),c=c.concat($.privilegedRolesToManage);for(const oe of Object.keys($.entitiesToManage))d="User"===oe?[oe].concat(d):d.concat(oe);break}const h=this.fetchAllRelatedObjects([t]),g=this.resolveAuthorization(r,h),O=this.resolveAuthorization(c,h);s.set(a,{readAuth:g,manageAuth:O,modes:d})}}voCustomSort(e){for(let t=0;t{let e;try{e=n()}catch(s){return void o.error(s)}return(e?(0,Mn.D)(e):(0,os.c)()).subscribe(o)})}var pu=w(1762),pt=w(4850),mi=w(7545),$t=w(2986),go=w(2866);function ci(...n){const o=n[n.length-1];return(0,go.K)(o)?(n.pop(),e=>po(n,e,o)):e=>po(n,e)}var Ys=w(3489);function Wa(n,o){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Gr(n,o,e))}}class Gr{constructor(o,e,t=!1){this.accumulator=o,this.seed=e,this.hasSeed=t}call(o,e){return e.subscribe(new Ka(o,this.accumulator,this.seed,this.hasSeed))}}class Ka extends Ys.L{constructor(o,e,t,s){super(o),this.accumulator=e,this._seed=t,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const e=this.index++;let t;try{t=this.accumulator(this.seed,o,e)}catch(s){this.destination.error(s)}this.seed=t,this.destination.next(t)}}var On=w(7221),Cs=w(1406),gu=w(4231);function Pn(n){return function(e){return 0===n?(0,os.c)():e.lift(new Za(n))}}class Za{constructor(o){if(this.total=o,this.total<0)throw new gu.W}call(o,e){return e.subscribe(new Xd(o,this.total))}}class Xd extends Ys.L{constructor(o,e){super(o),this.total=e,this.ring=new Array,this.count=0}_next(o){const e=this.ring,t=this.total,s=this.count++;e.length0){const t=this.count>=this.total?this.total:this.count,s=this.ring;for(let a=0;ao.lift(new z(n))}class z{constructor(o){this.callback=o}call(o,e){return e.subscribe(new W(o,this.callback))}}class W extends Ys.L{constructor(o,e){super(o),this.add(new P.w(e))}}class ne{constructor(o,e){this.id=o,this.url=e}}class me extends ne{constructor(o,e,t="imperative",s=null){super(o,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Te extends ne{constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tt extends ne{constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class li extends ne{constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xt extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ot extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zt extends ne{constructor(o,e,t,s,a){super(o,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zi extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vi extends ne{constructor(o,e,t,s){super(o,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _i{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bo{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ss{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lt{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ur{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rl{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dr{constructor(o,e,t){this.routerEvent=o,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const kt="primary";class hr{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Wr(n){return new hr(n)}const al="ngNavigationCancelingError";function Ee(n){const o=Error("NavigationCancelingError: "+n);return o[al]=!0,o}function Qd(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[a]===s)}return n===o}function bs(n){return Array.prototype.concat.apply([],n)}function cl(n){return n.length>0?n[n.length-1]:null}function Pt(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function Us(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,Mn.D)(Promise.resolve(n)):(0,Ke.of)(n)}const Xa={exact:function ks(n,o,e){if(!Ao(n.segments,o.segments)||!fr(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!ks(n.children[t],o.children[t],e))return!1;return!0},subset:eh},zn={exact:function Jd(n,o){return Es(n,o)},subset:function yo(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>Kr(n[e],o[e]))},ignored:()=>!0};function Vs(n,o,e){return Xa[e.paths](n.root,o.root,e.matrixParams)&&zn[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function eh(n,o,e){return _u(n,o,o.segments,e)}function _u(n,o,e,t){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!Ao(s,e)||o.hasChildren()||!fr(s,e,t))}if(n.segments.length===e.length){if(!Ao(n.segments,e)||!fr(n.segments,e,t))return!1;for(const s in o.children)if(!n.children[s]||!eh(n.children[s],o.children[s],t))return!1;return!0}{const s=e.slice(0,n.segments.length),a=e.slice(n.segments.length);return!!(Ao(n.segments,s)&&fr(n.segments,s,t)&&n.children[kt])&&_u(n.children[kt],o,a,t)}}function fr(n,o,e){return o.every((t,s)=>zn[e](n[s].parameters,t.parameters))}class Gs{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wr(this.queryParams)),this._queryParamMap}toString(){return th.serialize(this)}}class zt{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Pt(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ja(this)}}class pr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Wr(this.parameters)),this._parameterMap}toString(){return xi(this)}}function Ao(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Qa{}class gr{parse(o){const e=new tc(o);return new Gs(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${Zr(o.root,!0)}`,t=function dp(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(s=>`${mr(e)}=${mr(s)}`).join("&"):`${mr(e)}=${mr(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function up(n){return encodeURI(n)}(o.fragment)}`:""}`}}const th=new gr;function Ja(n){return n.segments.map(o=>xi(o)).join("/")}function Zr(n,o){if(!n.hasChildren())return Ja(n);if(o){const e=n.children[kt]?Zr(n.children[kt],!1):"",t=[];return Pt(n.children,(s,a)=>{a!==kt&&t.push(`${a}:${Zr(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function yu(n,o){let e=[];return Pt(n.children,(t,s)=>{s===kt&&(e=e.concat(o(t,s)))}),Pt(n.children,(t,s)=>{s!==kt&&(e=e.concat(o(t,s)))}),e}(n,(t,s)=>s===kt?[Zr(n.children[kt],!1)]:[`${s}:${Zr(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[kt]?`${Ja(n)}/${e[0]}`:`${Ja(n)}/(${e.join("//")})`}}function Au(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mr(n){return Au(n).replace(/%3B/gi,";")}function wu(n){return Au(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _n(n){return decodeURIComponent(n)}function wo(n){return _n(n.replace(/\+/g,"%20"))}function xi(n){return`${wu(n.path)}${function Mu(n){return Object.keys(n).map(o=>`;${wu(o)}=${wu(n[o])}`).join("")}(n.parameters)}`}const ih=/^[^\/()?;=#]+/;function $n(n){const o=n.match(ih);return o?o[0]:""}const _r=/^[^=?&#]+/,ul=/^[^&#]+/;class tc{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new zt([],{}):new zt([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(t[kt]=new zt(o,e)),t}parseSegment(){const o=$n(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new pr(_n(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=$n(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=$n(this.remaining);s&&(t=s,this.capture(t))}o[_n(e)]=_n(t)}parseQueryParam(o){const e=function nh(n){const o=n.match(_r);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=function ec(n){const o=n.match(ul);return o?o[0]:""}(this.remaining);r&&(t=r,this.capture(t))}const s=wo(e),a=wo(t);if(o.hasOwnProperty(s)){let r=o[s];Array.isArray(r)||(r=[r],o[s]=r),r.push(a)}else o[s]=a}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=$n(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let a;t.indexOf(":")>-1?(a=t.substr(0,t.indexOf(":")),this.capture(a),this.capture(":")):o&&(a=kt);const r=this.parseChildren();e[a]=1===Object.keys(r).length?r[kt]:new zt([],r),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class dl{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=hl(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=hl(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=fl(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return fl(o,this._root).map(e=>e.value)}}function hl(n,o){if(n===o.value)return o;for(const e of o.children){const t=hl(n,e);if(t)return t}return null}function fl(n,o){if(n===o.value)return[o];for(const e of o.children){const t=fl(n,e);if(t.length)return t.unshift(o),t}return[]}class In{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ws(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class sh extends dl{constructor(o,e){super(o),this.snapshot=e,$r(this,o)}toString(){return this.snapshot.toString()}}function oh(n,o){const e=function ic(n,o){const r=new vu([],{},{},"",{},kt,o,null,n.root,-1,{});return new fp("",new In(r,[]))}(n,o),t=new Bi([new pr("",{})]),s=new Bi({}),a=new Bi({}),r=new Bi({}),c=new Bi(""),d=new Xn(t,s,r,c,a,kt,o,e.root);return d.snapshot=e.root,new sh(new In(d,[]),e)}class Xn{constructor(o,e,t,s,a,r,c,d){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this._futureSnapshot=d}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._paramMap=this.params.pipe((0,pt.U)(o=>Wr(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)(o=>Wr(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function rh(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const s=e[t],a=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(a.component)break;t--}}return function hp(n){return n.reduce((o,e)=>({params:Object.assign(Object.assign({},o.params),e.params),data:Object.assign(Object.assign({},o.data),e.data),resolve:Object.assign(Object.assign({},o.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class vu{constructor(o,e,t,s,a,r,c,d,h,g,O){this.url=o,this.params=e,this.queryParams=t,this.fragment=s,this.data=a,this.outlet=r,this.component=c,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=g,this._resolve=O}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._paramMap=Wr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Wr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fp extends dl{constructor(o,e){super(e),this.url=o,$r(this,e)}toString(){return Tu(this._root)}}function $r(n,o){o.value._routerState=n,o.children.forEach(e=>$r(n,e))}function Tu(n){const o=n.children.length>0?` { ${n.children.map(Tu).join(", ")} } `:"";return`${n.value}${o}`}function nc(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Es(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),Es(o.params,e.params)||n.params.next(e.params),function tn(n,o){if(n.length!==o.length)return!1;for(let e=0;eEs(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||Xr(n.parent,o.parent))}function Qr(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const s=function Jr(n,o,e){return o.children.map(t=>{for(const s of e.children)if(n.shouldReuseRoute(t.value,s.value.snapshot))return Qr(n,t,s);return Qr(n,t)})}(n,o,e);return new In(t,s)}{if(n.shouldAttach(o.value)){const a=n.retrieve(o.value);if(null!==a){const r=a.route;return r.value._futureSnapshot=o.value,r.children=o.children.map(c=>Qr(n,c)),r}}const t=function pp(n){return new Xn(new Bi(n.url),new Bi(n.params),new Bi(n.queryParams),new Bi(n.fragment),new Bi(n.data),n.outlet,n.component,n)}(o.value),s=o.children.map(a=>Qr(n,a));return new In(t,s)}}function ta(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function qo(n){return"object"==typeof n&&null!=n&&n.outlets}function ah(n,o,e,t,s){let a={};return t&&Pt(t,(r,c)=>{a[c]=Array.isArray(r)?r.map(d=>`${d}`):`${r}`}),new Gs(e.root===n?o:Cu(e.root,n,o),a,s)}function Cu(n,o,e){const t={};return Pt(n.children,(s,a)=>{t[a]=s===o?e:Cu(s,o,e)}),new zt(n.segments,t)}class pl{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&ta(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(qo);if(s&&s!==cl(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gl{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function na(n,o,e){if(n||(n=new zt([],{})),0===n.segments.length&&n.hasChildren())return ys(n,o,e);const t=function lh(n,o,e){let t=0,s=o;const a={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return a;const r=n.segments[s],c=e[t];if(qo(c))break;const d=`${c}`,h=t0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!Eu(d,h,r))return a;t+=2}else{if(!Eu(d,{},r))return a;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(n,o,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(s[r]=na(n.children[r],o,a))}),Pt(n.children,(a,r)=>{void 0===t[r]&&(s[r]=a)}),new zt(n.segments,s)}}function oc(n,o,e){const t=n.segments.slice(0,o);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=oc(new zt([],{}),0,e))}),o}function Su(n){const o={};return Pt(n,(e,t)=>o[t]=`${e}`),o}function Eu(n,o,e){return n==e.path&&Es(o,e.parameters)}class mp{constructor(o,e,t,s){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),nc(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const s=Ws(e);o.children.forEach(a=>{const r=a.value.outlet;this.deactivateRoutes(a,s[r],t),delete s[r]}),Pt(s,(a,r)=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(s===a)if(s.component){const r=t.getContext(s.outlet);r&&this.deactivateChildRoutes(o,e,r.children)}else this.deactivateChildRoutes(o,e,t);else a&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Ws(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);if(t&&t.outlet){const r=t.outlet.detach(),c=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:r,route:o,contexts:c})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),s=t&&o.value.component?t.children:e,a=Ws(o);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const s=Ws(e);o.children.forEach(a=>{this.activateRoutes(a,s[a.value.outlet],t),this.forwardEvent(new rl(a.value.snapshot))}),o.children.length&&this.forwardEvent(new lt(o.value.snapshot))}activateRoutes(o,e,t){const s=o.value,a=e?e.value:null;if(nc(s),s===a)if(s.component){const r=t.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,r.children)}else this.activateChildRoutes(o,e,t);else if(s.component){const r=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const c=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),r.children.onOutletReAttached(c.contexts),r.attachRef=c.componentRef,r.route=c.route.value,r.outlet&&r.outlet.attach(c.componentRef,c.route.value),nc(c.route.value),this.activateChildRoutes(o,null,r.children)}else{const c=function ml(n){for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),d=c?c.module.componentFactoryResolver:null;r.attachRef=null,r.route=s,r.resolver=d,r.outlet&&r.outlet.activateWith(s,d),this.activateChildRoutes(o,null,r.children)}}else this.activateChildRoutes(o,null,t)}}class br{constructor(o,e){this.routes=o,this.module=e}}function Uo(n){return"function"==typeof n}function Vo(n){return n instanceof Gs}const Ks=Symbol("INITIAL_VALUE");function Zs(){return(0,mi.w)(n=>(0,Vr.aj)(n.map(o=>o.pipe((0,$t.q)(1),ci(Ks)))).pipe(Wa((o,e)=>{let t=!1;return e.reduce((s,a,r)=>s!==Ks?s:(a===Ks&&(t=!0),t||!1!==a&&r!==e.length-1&&!Vo(a)?s:a),o)},Ks),(0,qt.h)(o=>o!==Ks),(0,pt.U)(o=>Vo(o)?o:!0===o),(0,$t.q)(1)))}class oa{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ra,this.attachRef=null}}class ra{constructor(){this.contexts=new Map}onChildOutletCreated(o,e){const t=this.getOrCreateContext(o);t.outlet=e,this.contexts.set(o,t)}onChildOutletDestroyed(o){const e=this.getContext(o);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let e=this.getContext(o);return e||(e=new oa,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let Go=(()=>{class n{constructor(e,t,s,a,r){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=a||kt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),c=this.parentContexts.getOrCreateContext(this.name).children,d=new aa(e,c,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,d),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ra),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class aa{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===Xn?this.route:o===ra?this.childContexts:this.parent.get(o,e)}}let _p=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Go],encapsulation:2}),n})();function fh(n,o=""){for(let e=0;eDs(t)===o);return e.push(...n.filter(t=>Ds(t)!==o)),e}const _l={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Lu(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},_l):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(o.matcher||Qd)(e,n,o);if(!a)return Object.assign({},_l);const r={};Pt(a.posParams,(d,h)=>{r[h]=d.path});const c=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:c,positionalParamSegments:null!==(t=a.posParams)&&void 0!==t?t:{}}}function Ru(n,o,e,t,s="corrected"){if(e.length>0&&function nn(n,o,e){return e.some(t=>Mo(n,o,t)&&Ds(t)!==kt)}(n,e,t)){const r=new zt(o,function g1(n,o,e,t){const s={};s[kt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const a of e)if(""===a.path&&Ds(a)!==kt){const r=new zt([],{});r._sourceSegment=n,r._segmentIndexShift=o.length,s[Ds(a)]=r}return s}(n,o,t,new zt(e,n.children)));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function Ou(n,o,e){return e.some(t=>Mo(n,o,t))}(n,e,t)){const r=new zt(n.segments,function rc(n,o,e,t,s,a){const r={};for(const c of t)if(Mo(n,e,c)&&!s[Ds(c)]){const d=new zt([],{});d._sourceSegment=n,d._segmentIndexShift="legacy"===a?n.segments.length:o.length,r[Ds(c)]=d}return Object.assign(Object.assign({},s),r)}(n,o,e,t,n.children,s));return r._sourceSegment=n,r._segmentIndexShift=o.length,{segmentGroup:r,slicedSegments:e}}const a=new zt(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=o.length,{segmentGroup:a,slicedSegments:e}}function Mo(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function yp(n,o,e,t){return!!(Ds(n)===t||t!==kt&&Mo(o,e,n))&&("**"===n.path||Lu(o,n,e).matched)}function gh(n,o,e){return 0===o.length&&!n.children[e]}class vn{constructor(o){this.segmentGroup=o||null}}class xs{constructor(o){this.urlTree=o}}function ac(n){return new Fi.y(o=>o.error(new vn(n)))}function cc(n){return new Fi.y(o=>o.error(new xs(n)))}function As(n){return new Fi.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class wp{constructor(o,e,t,s,a){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=a,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=Ru(this.urlTree.root,[],[],this.config).segmentGroup,e=new zt(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,kt).pipe((0,pt.U)(a=>this.createUrlTree(Pe(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,On.K)(a=>{if(a instanceof xs)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof vn?this.noMatchError(a):a}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,kt).pipe((0,pt.U)(s=>this.createUrlTree(Pe(s),o.queryParams,o.fragment))).pipe((0,On.K)(s=>{throw s instanceof vn?this.noMatchError(s):s}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const s=o.segments.length>0?new zt([],{[kt]:o}):o;return new Gs(s,e,t)}expandSegmentGroup(o,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,pt.U)(a=>new zt([],a))):this.expandSegment(o,t,e,t.segments,s,!0)}expandChildren(o,e,t){const s=[];for(const a of Object.keys(t.children))"primary"===a?s.unshift(a):s.push(a);return(0,Mn.D)(s).pipe((0,Cs.b)(a=>{const r=t.children[a],c=xu(e,a);return this.expandSegmentGroup(o,c,r,a).pipe((0,pt.U)(d=>({segment:d,outlet:a})))}),Wa((a,r)=>(a[r.outlet]=r.segment,a),{}),function mo(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,qt.h)((s,a)=>n(s,a,t)):lr.y,Pn(1),e?(0,Mi.d)(o):(0,$a.T)(()=>new fu.K))}())}expandSegment(o,e,t,s,a,r){return(0,Mn.D)(t).pipe((0,Cs.b)(c=>this.expandSegmentAgainstRoute(o,e,t,c,s,a,r).pipe((0,On.K)(h=>{if(h instanceof vn)return(0,Ke.of)(null);throw h}))),(0,_o.P)(c=>!!c),(0,On.K)((c,d)=>{if(c instanceof fu.K||"EmptyError"===c.name){if(gh(e,s,a))return(0,Ke.of)(new zt([],{}));throw new vn(e)}throw c}))}expandSegmentAgainstRoute(o,e,t,s,a,r,c){return yp(s,e,a,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(o,e,s,a,r):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r):ac(e):ac(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,s){const a=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?cc(a):this.lineralizeSegments(t,a).pipe((0,en.zg)(r=>{const c=new zt(r,{});return this.expandSegment(o,c,e,r,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,s,a,r){const{matched:c,consumedSegments:d,lastChild:h,positionalParamSegments:g}=Lu(e,s,a);if(!c)return ac(e);const O=this.applyRedirectCommands(d,s.redirectTo,g);return s.redirectTo.startsWith("/")?cc(O):this.lineralizeSegments(s,O).pipe((0,en.zg)($=>this.expandSegment(o,e,t,$.concat(a.slice(h)),r,!1)))}matchSegmentAgainstRoute(o,e,t,s,a){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ke.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,pt.U)($=>(t._loadedConfig=$,new zt(s,{})))):(0,Ke.of)(new zt(s,{}));const{matched:r,consumedSegments:c,lastChild:d}=Lu(e,t,s);if(!r)return ac(e);const h=s.slice(d);return this.getChildConfig(o,t,s).pipe((0,en.zg)(O=>{const $=O.module,oe=O.routes,{segmentGroup:be,slicedSegments:ve}=Ru(e,c,h,oe),Le=new zt(be.segments,be.children);if(0===ve.length&&Le.hasChildren())return this.expandChildren($,oe,Le).pipe((0,pt.U)(pi=>new zt(c,pi)));if(0===oe.length&&0===ve.length)return(0,Ke.of)(new zt(c,{}));const et=Ds(t)===a;return this.expandSegment($,Le,oe,ve,et?kt:a,!0).pipe((0,pt.U)(Bt=>new zt(c.concat(Bt.segments),Bt.children)))}))}getChildConfig(o,e,t){return e.children?(0,Ke.of)(new br(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Ke.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,en.zg)(s=>s?this.configLoader.load(o.injector,e).pipe((0,pt.U)(a=>(e._loadedConfig=a,a))):function Pu(n){return new Fi.y(o=>o.error(Ee(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Ke.of)(new br([],o))}runCanLoadGuards(o,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ke.of)(!0);const a=s.map(r=>{const c=o.get(r);let d;if(function sa(n){return n&&Uo(n.canLoad)}(c))d=c.canLoad(e,t);else{if(!Uo(c))throw new Error("Invalid CanLoad guard");d=c(e,t)}return Us(d)});return(0,Ke.of)(a).pipe(Zs(),(0,qi.b)(r=>{if(!Vo(r))return;const c=Ee(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw c.url=r,c}),(0,pt.U)(r=>!0===r))}lineralizeSegments(o,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ke.of)(t);if(s.numberOfChildren>1||!s.children[kt])return As(o.redirectTo);s=s.children[kt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,s){const a=this.createSegmentGroup(o,e.root,t,s);return new Gs(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return Pt(o,(s,a)=>{if("string"==typeof s&&s.startsWith(":")){const c=s.substring(1);t[a]=e[c]}else t[a]=s}),t}createSegmentGroup(o,e,t,s){const a=this.createSegments(o,e.segments,t,s);let r={};return Pt(e.children,(c,d)=>{r[d]=this.createSegmentGroup(o,c,t,s)}),new zt(a,r)}createSegments(o,e,t,s){return e.map(a=>a.path.startsWith(":")?this.findPosParam(o,a,s):this.findOrReturn(a,t))}findPosParam(o,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return s}findOrReturn(o,e){let t=0;for(const s of e){if(s.path===o.path)return e.splice(t),s;t++}return o}}function Pe(n){const o={};for(const t of Object.keys(n.children)){const a=Pe(n.children[t]);(a.segments.length>0||a.hasChildren())&&(o[t]=a)}return function m1(n){if(1===n.numberOfChildren&&n.children[kt]){const o=n.children[kt];return new zt(n.segments.concat(o.segments),o.children)}return n}(new zt(n.segments,o))}class Qn{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class yr{constructor(o,e){this.component=o,this.route=e}}function jt(n,o,e){const t=n._root;return lc(t,o?o._root:null,e,[t.value])}function ca(n,o,e){const t=function Iu(n){if(!n)return null;for(let o=n.parent;o;o=o.parent){const e=o.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(o);return(t?t.module.injector:e).get(n)}function lc(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=Ws(o);return n.children.forEach(r=>{(function Mp(n,o,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=n.value,r=o?o.value:null,c=e?e.getContext(n.value.outlet):null;if(r&&a.routeConfig===r.routeConfig){const d=function vp(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!Ao(n.url,o.url);case"pathParamsOrQueryParamsChange":return!Ao(n.url,o.url)||!Es(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xr(n,o)||!Es(n.queryParams,o.queryParams);default:return!Xr(n,o)}}(r,a,a.routeConfig.runGuardsAndResolvers);d?s.canActivateChecks.push(new Qn(t)):(a.data=r.data,a._resolvedData=r._resolvedData),lc(n,o,a.component?c?c.children:null:e,t,s),d&&c&&c.outlet&&c.outlet.isActivated&&s.canDeactivateChecks.push(new yr(c.outlet.component,r))}else r&&uc(o,c,s),s.canActivateChecks.push(new Qn(t)),lc(n,null,a.component?c?c.children:null:e,t,s)})(r,a[r.value.outlet],e,t.concat([r.value]),s),delete a[r.value.outlet]}),Pt(a,(r,c)=>uc(r,e.getContext(c),s)),s}function uc(n,o,e){const t=Ws(n),s=n.value;Pt(t,(a,r)=>{uc(a,s.component?o?o.children.getContext(r):null:o,e)}),e.canDeactivateChecks.push(new yr(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}class bh{}function yl(n){return new Fi.y(o=>o.error(n))}class Sp{constructor(o,e,t,s,a,r){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const o=Ru(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,kt);if(null===e)return null;const t=new vu([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},kt,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new In(t,e),a=new fp(this.url,s);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(o){const e=o.value,t=rh(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(o,e):this.processSegment(o,e,e.segments,t)}processChildren(o,e){const t=[];for(const a of Object.keys(e.children)){const r=e.children[a],c=xu(o,a),d=this.processSegmentGroup(c,r,a);if(null===d)return null;t.push(...d)}const s=sn(t);return function rs(n){n.sort((o,e)=>o.value.outlet===kt?-1:e.value.outlet===kt?1:o.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(o,e,t,s){for(const a of o){const r=this.processSegmentAgainstRoute(a,e,t,s);if(null!==r)return r}return gh(e,t,s)?[]:null}processSegmentAgainstRoute(o,e,t,s){if(o.redirectTo||!yp(o,e,t,s))return null;let a,r=[],c=[];if("**"===o.path){const oe=t.length>0?cl(t).parameters:{};a=new vu(t,oe,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,la(o),Ds(o),o.component,o,wh(e),Al(e)+t.length,Mh(o))}else{const oe=Lu(e,o,t);if(!oe.matched)return null;r=oe.consumedSegments,c=t.slice(oe.lastChild),a=new vu(r,oe.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,la(o),Ds(o),o.component,o,wh(e),Al(e)+r.length,Mh(o))}const d=function Ah(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:h,slicedSegments:g}=Ru(e,r,c,d.filter(oe=>void 0===oe.redirectTo),this.relativeLinkResolution);if(0===g.length&&h.hasChildren()){const oe=this.processChildren(d,h);return null===oe?null:[new In(a,oe)]}if(0===d.length&&0===g.length)return[new In(a,[])];const O=Ds(o)===s,$=this.processSegment(d,h,g,O?kt:s);return null===$?null:[new In(a,$)]}}function Ep(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function sn(n){const o=[],e=new Set;for(const t of n){if(!Ep(t)){o.push(t);continue}const s=o.find(a=>t.value.routeConfig===a.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):o.push(t)}for(const t of e){const s=sn(t.children);o.push(new In(t.value,s))}return o.filter(t=>!e.has(t))}function wh(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Al(n){let o=n,e=o._segmentIndexShift?o._segmentIndexShift:0;for(;o._sourceSegment;)o=o._sourceSegment,e+=o._segmentIndexShift?o._segmentIndexShift:0;return e-1}function la(n){return n.data||{}}function Mh(n){return n.resolve||{}}function Hu(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Bu(n){return(0,mi.w)(o=>{const e=n(o);return e?(0,Mn.D)(e).pipe((0,pt.U)(()=>o)):(0,Ke.of)(o)})}class wl extends class Fu{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const Ml=new i.OlP("ROUTES");class Th{constructor(o,e,t,s){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,pt.U)(a=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=a.create(o);return new br(bs(r.injector.get(Ml,void 0,i.XFs.Self|i.XFs.Optional)).map(ph),r)}),(0,On.K)(a=>{throw e._loader$=void 0,a}));return e._loader$=new pu.c(s,()=>new De.xQ).pipe((0,hi.x)()),e._loader$}loadModuleFactory(o){return Us(o()).pipe((0,en.zg)(e=>e instanceof i.YKP?(0,Ke.of)(e):(0,Mn.D)(this.compiler.compileModuleAsync(e))))}}class Rs{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function pc(n){throw n}function Lp(n,o,e){return o.parse("/")}function Rp(n,o){return(0,Ke.of)(null)}const Ch={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Op={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ji=(()=>{class n{constructor(e,t,s,a,r,c,d){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=a,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new De.xQ,this.errorHandler=pc,this.malformedUriErrorHandler=Lp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Rp,afterPreactivation:Rp},this.urlHandlingStrategy=new Rs,this.routeReuseStrategy=new wl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const O=r.get(i.R0b);this.isNgZoneEnabled=O instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=function ll(){return new Gs(new zt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Th(r,c,$=>this.triggerEvent(new _i($)),$=>this.triggerEvent(new bo($))),this.routerState=oh(this.currentUrlTree,this.rootComponentType),this.transitions=new Bi({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,qt.h)(s=>0!==s.id),(0,pt.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,mi.w)(s=>{let a=!1,r=!1;return(0,Ke.of)(s).pipe((0,qi.b)(c=>{this.currentNavigation={id:c.id,initialUrl:c.currentRawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,mi.w)(c=>{const d=this.browserUrlTree.toString(),h=!this.navigated||c.extractedUrl.toString()!==d||d!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||h)&&this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return Ar(c.source)&&(this.browserUrlTree=c.extractedUrl),(0,Ke.of)(c).pipe((0,mi.w)(O=>{const $=this.transitions.getValue();return t.next(new me(O.id,this.serializeUrl(O.extractedUrl),O.source,O.restoredState)),$!==this.transitions.getValue()?os.E:Promise.resolve(O)}),function mh(n,o,e,t){return(0,mi.w)(s=>function Ap(n,o,e,t,s){return new wp(n,o,e,t,s).apply()}(n,o,e,s.extractedUrl,t).pipe((0,pt.U)(a=>Object.assign(Object.assign({},s),{urlAfterRedirects:a}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,qi.b)(O=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:O.urlAfterRedirects})}),function Dp(n,o,e,t,s){return(0,en.zg)(a=>function yh(n,o,e,t,s="emptyOnly",a="legacy"){try{const r=new Sp(n,o,e,t,s,a).recognize();return null===r?yl(new bh):(0,Ke.of)(r)}catch(r){return yl(r)}}(n,o,a.urlAfterRedirects,e(a.urlAfterRedirects),t,s).pipe((0,pt.U)(r=>Object.assign(Object.assign({},a),{targetSnapshot:r}))))}(this.rootComponentType,this.config,O=>this.serializeUrl(O),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,qi.b)(O=>{if("eager"===this.urlUpdateStrategy){if(!O.extras.skipLocationChange){const oe=this.urlHandlingStrategy.merge(O.urlAfterRedirects,O.rawUrl);this.setBrowserUrl(oe,O)}this.browserUrlTree=O.urlAfterRedirects}const $=new Xt(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);t.next($)}));if(h&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:$,extractedUrl:oe,source:be,restoredState:ve,extras:Le}=c,et=new me($,this.serializeUrl(oe),be,ve);t.next(et);const Gt=oh(oe,this.rootComponentType).snapshot;return(0,Ke.of)(Object.assign(Object.assign({},c),{targetSnapshot:Gt,urlAfterRedirects:oe,extras:Object.assign(Object.assign({},Le),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=c.rawUrl,c.resolve(null),os.E}),Bu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:oe}}=c;return this.hooks.beforePreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!oe})}),(0,qi.b)(c=>{const d=new Ot(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),(0,pt.U)(c=>Object.assign(Object.assign({},c),{guards:jt(c.targetSnapshot,c.currentSnapshot,this.rootContexts)})),function _h(n,o){return(0,en.zg)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:r}}=e;return 0===r.length&&0===a.length?(0,Ke.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function Ls(n,o,e,t){return(0,Mn.D)(n).pipe((0,en.zg)(s=>function Cp(n,o,e,t,s){const a=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,Ke.of)(!0);const r=a.map(c=>{const d=ca(c,o,s);let h;if(function Du(n){return n&&Uo(n.canDeactivate)}(d))h=Us(d.canDeactivate(n,o,e,t));else{if(!Uo(d))throw new Error("Invalid CanDeactivate guard");h=Us(d(n,o,e,t))}return h.pipe((0,_o.P)())});return(0,Ke.of)(r).pipe(Zs())}(s.component,s.route,e,o,t)),(0,_o.P)(s=>!0!==s,!0))}(r,t,s,n).pipe((0,en.zg)(c=>c&&function dh(n){return"boolean"==typeof n}(c)?function bl(n,o,e,t){return(0,Mn.D)(o).pipe((0,Cs.b)(s=>po(function dc(n,o){return null!==n&&o&&o(new Ss(n)),(0,Ke.of)(!0)}(s.route.parent,t),function Tp(n,o){return null!==n&&o&&o(new ur(n)),(0,Ke.of)(!0)}(s.route,t),function hc(n,o,e){const t=o[o.length-1],a=o.slice(0,o.length-1).reverse().map(r=>function zu(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(r)).filter(r=>null!==r).map(r=>Fo(()=>{const c=r.guards.map(d=>{const h=ca(d,r.node,e);let g;if(function ku(n){return n&&Uo(n.canActivateChild)}(h))g=Us(h.canActivateChild(t,n));else{if(!Uo(h))throw new Error("Invalid CanActivateChild guard");g=Us(h(t,n))}return g.pipe((0,_o.P)())});return(0,Ke.of)(c).pipe(Zs())}));return(0,Ke.of)(a).pipe(Zs())}(n,s.path,e),function Nu(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ke.of)(!0);const s=t.map(a=>Fo(()=>{const r=ca(a,o,e);let c;if(function hh(n){return n&&Uo(n.canActivate)}(r))c=Us(r.canActivate(o,n));else{if(!Uo(r))throw new Error("Invalid CanActivate guard");c=Us(r(o,n))}return c.pipe((0,_o.P)())}));return(0,Ke.of)(s).pipe(Zs())}(n,s.route,e))),(0,_o.P)(s=>!0!==s,!0))}(t,a,n,o):(0,Ke.of)(c)),(0,pt.U)(c=>Object.assign(Object.assign({},e),{guardsResult:c})))})}(this.ngModule.injector,c=>this.triggerEvent(c)),(0,qi.b)(c=>{if(Vo(c.guardsResult)){const h=Ee(`Redirecting to "${this.serializeUrl(c.guardsResult)}"`);throw h.url=c.guardsResult,h}const d=new Zt(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.triggerEvent(d)}),(0,qt.h)(c=>!!c.guardsResult||(this.restoreHistory(c),this.cancelNavigationTransition(c,""),!1)),Bu(c=>{if(c.guards.canActivateChecks.length)return(0,Ke.of)(c).pipe((0,qi.b)(d=>{const h=new Zi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}),(0,mi.w)(d=>{let h=!1;return(0,Ke.of)(d).pipe(function xp(n,o){return(0,en.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ke.of)(e);let a=0;return(0,Mn.D)(s).pipe((0,Cs.b)(r=>function fc(n,o,e,t){return function as(n,o,e,t){const s=Hu(n);if(0===s.length)return(0,Ke.of)({});const a={};return(0,Mn.D)(s).pipe((0,en.zg)(r=>function ua(n,o,e,t){const s=ca(n,o,t);return Us(s.resolve?s.resolve(o,e):s(o,e))}(n[r],o,e,t).pipe((0,qi.b)(c=>{a[r]=c}))),Pn(1),(0,en.zg)(()=>Hu(a).length===s.length?(0,Ke.of)(a):os.E))}(n._resolve,n,o,t).pipe((0,pt.U)(a=>(n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),rh(n,e).resolve),null)))}(r.route,t,n,o)),(0,qi.b)(()=>a++),Pn(1),(0,en.zg)(r=>a===s.length?(0,Ke.of)(e):os.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,qi.b)({next:()=>h=!0,complete:()=>{h||(this.restoreHistory(d),this.cancelNavigationTransition(d,"At least one route resolver didn't emit any value."))}}))}),(0,qi.b)(d=>{const h=new vi(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);this.triggerEvent(h)}))}),Bu(c=>{const{targetSnapshot:d,id:h,extractedUrl:g,rawUrl:O,extras:{skipLocationChange:$,replaceUrl:oe}}=c;return this.hooks.afterPreactivation(d,{navigationId:h,appliedUrlTree:g,rawUrlTree:O,skipLocationChange:!!$,replaceUrl:!!oe})}),(0,pt.U)(c=>{const d=function sc(n,o,e){const t=Qr(n,o._root,e?e._root:void 0);return new sh(t,o)}(this.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return Object.assign(Object.assign({},c),{targetRouterState:d})}),(0,qi.b)(c=>{this.currentUrlTree=c.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl),this.routerState=c.targetRouterState,"deferred"===this.urlUpdateStrategy&&(c.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,c),this.browserUrlTree=c.urlAfterRedirects)}),((n,o,e)=>(0,pt.U)(t=>(new mp(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,c=>this.triggerEvent(c)),(0,qi.b)({next(){a=!0},complete(){a=!0}}),V(()=>{var c;a||r||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(c=this.currentNavigation)||void 0===c?void 0:c.id)===s.id&&(this.currentNavigation=null)}),(0,On.K)(c=>{if(r=!0,function Vt(n){return n&&n[al]}(c)){const d=Vo(c.url);d||(this.navigated=!0,this.restoreHistory(s,!0));const h=new tt(s.id,this.serializeUrl(s.extractedUrl),c.message);t.next(h),d?setTimeout(()=>{const g=this.urlHandlingStrategy.merge(c.url,this.rawUrlTree),O={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ar(s.source)};this.scheduleNavigation(g,"imperative",null,O,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const d=new li(s.id,this.serializeUrl(s.extractedUrl),c);t.next(d);try{s.resolve(this.errorHandler(c))}catch(h){s.reject(h)}}return os.E}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{var s;const a={replaceUrl:!0},r=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(r){const d=Object.assign({},r);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(a.state=d)}const c=this.parseUrl(e.url);this.scheduleNavigation(c,t,r,a)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){fh(e),this.config=e.map(ph),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:s,queryParams:a,fragment:r,queryParamsHandling:c,preserveFragment:d}=t,h=s||this.routerState.root,g=d?this.currentUrlTree.fragment:r;let O=null;switch(c){case"merge":O=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":O=this.currentUrlTree.queryParams;break;default:O=a||null}return null!==O&&(O=this.removeEmptyProps(O)),function ea(n,o,e,t,s){if(0===e.length)return ah(o.root,o.root,o,t,s);const a=function ch(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new pl(!0,0,n);let o=0,e=!1;const t=n.reduce((s,a,r)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Pt(a.outlets,(d,h)=>{c[h]="string"==typeof d?d.split("/"):d}),[...s,{outlets:c}]}if(a.segmentPath)return[...s,a.segmentPath]}return"string"!=typeof a?[...s,a]:0===r?(a.split("/").forEach((c,d)=>{0==d&&"."===c||(0==d&&""===c?e=!0:".."===c?o++:""!=c&&s.push(c))}),s):[...s,a]},[]);return new pl(e,o,t)}(e);if(a.toRoot())return ah(o.root,new zt([],{}),o,t,s);const r=function jo(n,o,e){if(n.isAbsolute)return new gl(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const a=e.snapshot._urlSegment;return new gl(a,a===o.root,0)}const t=ta(n.commands[0])?0:1;return function Yo(n,o,e){let t=n,s=o,a=e;for(;a>s;){if(a-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new gl(t,!1,s-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(a,o,n),c=r.processChildren?ys(r.segmentGroup,r.index,a.commands):na(r.segmentGroup,r.index,a.commands);return ah(r.segmentGroup,c,o,t,s)}(h,this.currentUrlTree,e,O,null!=g?g:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Vo(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function da(n){for(let o=0;o{const a=e[s];return null!=a&&(t[s]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Te(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,t,s,a,r){var c,d,h;if(this.disposed)return Promise.resolve(!1);const g=this.transitions.value,O=Ar(t)&&g&&!Ar(g.source),$=g.rawUrl.toString()===e.toString(),oe=g.id===(null===(c=this.currentNavigation)||void 0===c?void 0:c.id);if(O&&$&&oe)return Promise.resolve(!0);let ve,Le,et;r?(ve=r.resolve,Le=r.reject,et=r.promise):et=new Promise((pi,lu)=>{ve=pi,Le=lu});const Gt=++this.navigationId;let Bt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),Bt=s&&s.\u0275routerPageId?s.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?null!==(d=this.browserPageId)&&void 0!==d?d:0:(null!==(h=this.browserPageId)&&void 0!==h?h:0)+1):Bt=0,this.setTransition({id:Gt,targetPageId:Bt,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:ve,reject:Le,promise:et,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),et.catch(pi=>Promise.reject(pi))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",a):this.location.go(s,"",a)}restoreHistory(e,t=!1){var s,a;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===r?this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const s=new tt(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Ar(n){return"imperative"!==n}let It=(()=>{class n{constructor(e,t,s,a,r){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=a,this.el=r,this.commands=null,this.onChanges=new De.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,s=this.el.nativeElement;null!==e?t.setAttribute(s,"tabindex",e):t.removeAttribute(s,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})(),_=(()=>{class n{constructor(e,t,s){this.router=e,this.route=t,this.locationStrategy=s,this.commands=null,this.href=null,this.onChanges=new De.xQ,this.subscription=e.events.subscribe(a=>{a instanceof Te&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,s,a,r){if(0!==e||t||s||a||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const c={skipLocationChange:S(this.skipLocationChange),replaceUrl:S(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:S(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.Y36(b.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&i.uIk("target",t.target)("href",t.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),n})();function S(n){return""===n||!!n}class G{}class re{preload(o,e){return e().pipe((0,On.K)(()=>(0,Ke.of)(null)))}}class ye{preload(o,e){return(0,Ke.of)(null)}}let rt=(()=>{class n{constructor(e,t,s,a){this.router=e,this.injector=s,this.preloadingStrategy=a,this.loader=new Th(s,t,d=>e.triggerEvent(new _i(d)),d=>e.triggerEvent(new bo(d)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,qt.h)(e=>e instanceof Te),(0,Cs.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const r=a._loadedConfig;s.push(this.processRoutes(r.module,r.routes))}else a.loadChildren&&!a.canLoad?s.push(this.preloadConfig(e,a)):a.children&&s.push(this.processRoutes(e,a.children));return(0,Mn.D)(s).pipe((0,Ga.J)(),(0,pt.U)(a=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ke.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,en.zg)(a=>(t._loadedConfig=a,this.processRoutes(a.module,a.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ji),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(G))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Nt=(()=>{class n{constructor(e,t,s={}){this.router=e,this.viewportScroller=t,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof me?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Te&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof dr&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new dr(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Tn=new i.OlP("ROUTER_CONFIGURATION"),Nn=new i.OlP("ROUTER_FORROOT_GUARD"),Wo=[b.Ye,{provide:Qa,useClass:gr},{provide:ji,useFactory:function _1(n,o,e,t,s,a,r={},c,d){const h=new ji(null,n,o,e,t,s,bs(a));return c&&(h.urlHandlingStrategy=c),d&&(h.routeReuseStrategy=d),function nA(n,o){n.errorHandler&&(o.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(o.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(o.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(o.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(o.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(o.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(o.canceledNavigationResolution=n.canceledNavigationResolution)}(r,h),r.enableTracing&&h.events.subscribe(g=>{var O,$;null===(O=console.group)||void 0===O||O.call(console,`Router Event: ${g.constructor.name}`),console.log(g.toString()),console.log(g),null===($=console.groupEnd)||void 0===$||$.call(console)}),h},deps:[Qa,ra,b.Ye,i.zs3,i.Sil,Ml,Tn,[class vo{},new i.FiY],[class vh{},new i.FiY]]},ra,{provide:Xn,useFactory:function sA(n){return n.routerState.root},deps:[ji]},rt,ye,re,{provide:Tn,useValue:{enableTracing:!1}}];function eA(){return new i.PXZ("Router",ji)}let Sh=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[Wo,gc(e),{provide:Nn,useFactory:wr,deps:[[ji,new i.FiY,new i.tp0]]},{provide:Tn,useValue:t||{}},{provide:b.S$,useFactory:iA,deps:[b.lw,[new i.tBr(b.mr),new i.FiY],Tn]},{provide:Nt,useFactory:tA,deps:[ji,b.EM,Tn]},{provide:G,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:ye},{provide:i.PXZ,multi:!0,useFactory:eA},[Pp,{provide:i.ip1,multi:!0,useFactory:oA,deps:[Pp]},{provide:zp,useFactory:rA,deps:[Pp]},{provide:i.tb,multi:!0,useExisting:zp}]]}}static forChild(e){return{ngModule:n,providers:[gc(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Nn,8),i.LFG(ji,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function tA(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new Nt(n,o,e)}function iA(n,o,e={}){return e.useHash?new b.Do(n,o):new b.b0(n,o)}function wr(n){return"guarded"}function gc(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Ml,multi:!0,useValue:n}]}let Pp=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new De.xQ}appInitializer(){return this.injector.get(b.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(c=>t=c),a=this.injector.get(ji),r=this.injector.get(Tn);return"disabled"===r.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(a.hooks.afterPreactivation=()=>this.initNavigation?(0,Ke.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),a.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(Tn),s=this.injector.get(rt),a=this.injector.get(Nt),r=this.injector.get(ji),c=this.injector.get(i.z2F);e===c.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&r.initialNavigation(),s.setUpPreloading(),a.init(),r.resetRootComponentType(c.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function oA(n){return n.appInitializer.bind(n)}function rA(n){return n.bootstrapListener.bind(n)}const zp=new i.OlP("Router Initializer");let ti=(()=>{class n{constructor(){this.branding=""}setInstanceConfig(e){this.instanceConfig=e}setDefaultConfig(e){this.defaultConfig=e}getAppsConfig(){return this.appsConfig}setAppsConfig(e){this.appsConfig=e}setPerunPrincipal(e){this.principal=e}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(e){this.initialPageId=e}getLoginAttributeNames(){return this.get("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.get("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.get("skip_oidc")}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let a=0;a(0,ju.k)(s)?t(...s):t(s))):new Fi.y(s=>{lA(n,o,function a(r){s.next(arguments.length>1?Array.prototype.slice.call(arguments):r)},s,e)})}function lA(n,o,e,t,s){let a;if(function Np(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const r=n;n.addEventListener(o,e,s),a=()=>r.removeEventListener(o,e,s)}else if(function Ip(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const r=n;n.on(o,e),a=()=>r.off(o,e)}else if(function bT(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const r=n;n.addListener(o,e),a=()=>r.removeListener(o,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let r=0,c=n.length;r0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=requestAnimationFrame(()=>o.flush(null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(cancelAnimationFrame(e),o.scheduled=void 0)}});let uA=1;const dA=Promise.resolve(),Eh={};function Hp(n){return n in Eh&&(delete Eh[n],!0)}const Uu={setImmediate(n){const o=uA++;return Eh[o]=!0,dA.then(()=>Hp(o)&&n()),o},clearImmediate(n){Hp(n)}},Yi=new class fA extends A1.v{flush(o){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let t,s=-1,a=e.length;o=o||e.shift();do{if(t=o.execute(o.state,o.delay))break}while(++s0?super.requestAsyncId(o,e,t):(o.actions.push(this),o.scheduled||(o.scheduled=Uu.setImmediate(o.flush.bind(o,null))))}recycleAsyncId(o,e,t=0){if(null!==t&&t>0||null===t&&this.delay>0)return super.recycleAsyncId(o,e,t);0===o.actions.length&&(Uu.clearImmediate(e),o.scheduled=void 0)}});var Vu=w(353),v1=w(826),kh=w(9054);class pA{constructor(o){this.durationSelector=o}call(o,e){return e.subscribe(new gA(o,this.durationSelector))}}class gA extends v1.L{constructor(o,e){super(o),this.durationSelector=e,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:s}=this;e=s(o)}catch(s){return this.destination.error(s)}const t=(0,kh.D)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}clearThrottle(){const{value:o,hasValue:e,throttled:t}=this;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(o))}notifyNext(o,e,t,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Fp(n){return!(0,ju.k)(n)&&n-parseFloat(n)+1>=0}function C1(n=0,o,e){let t=-1;return Fp(o)?t=Number(o)<1?1:Number(o):(0,go.K)(o)&&(e=o),(0,go.K)(e)||(e=Vu.P),new Fi.y(s=>{const a=Fp(n)?n:+n-e.now();return e.schedule(mA,a,{index:0,period:t,subscriber:s})})}function mA(n){const{index:o,period:e,subscriber:t}=n;if(t.next(o),!t.closed){if(-1===e)return t.complete();n.index=o+1,this.schedule(n,e)}}function S1(n,o=Vu.P){return function T1(n){return function(e){return e.lift(new pA(n))}}(()=>C1(n,o))}function it(n){return o=>o.lift(new Gu(n))}class Gu{constructor(o){this.notifier=o}call(o,e){const t=new cs(o),s=(0,kh.D)(t,this.notifier);return s&&!t.seenValue?(t.add(s),e.subscribe(t)):t}}class cs extends v1.L{constructor(o){super(o),this.seenValue=!1}notifyNext(o,e,t,s,a){this.seenValue=!0,this.complete()}notifyComplete(){}}let Wu;try{Wu="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Wu=!1}let an,Ei=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,b.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Wu)&&"undefined"!=typeof CSS&&!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}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.Lbi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Tl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Dh(){if(an)return an;if("object"!=typeof document||!document)return an=new Set(Tl),an;let n=document.createElement("input");return an=new Set(Tl.filter(o=>(n.setAttribute("type",o),n.type===o))),an}let Ku,xh,fa,qp;function Ko(n){return function _A(){if(null==Ku&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ku=!0}))}finally{Ku=Ku||!1}return Ku}()?n:!!n.capture}function E1(){if(null==fa){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return fa=!1,fa;if("scrollBehavior"in document.documentElement.style)fa=!0;else{const n=Element.prototype.scrollTo;fa=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return fa}function Cl(){if("object"!=typeof document||!document)return 0;if(null==xh){const n=document.createElement("div"),o=n.style;n.dir="rtl",o.width="1px",o.overflow="auto",o.visibility="hidden",o.pointerEvents="none",o.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),xh=0,0===n.scrollLeft&&(n.scrollLeft=1,xh=0===n.scrollLeft?1:2),n.remove()}return xh}function Sl(n){if(function bA(){if(null==qp){const n="undefined"!=typeof document?document.head:null;qp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return qp}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function jp(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const o=n.shadowRoot.activeElement;if(o===n)break;n=o}return n}function $s(n){return n.composedPath?n.composedPath()[0]:n.target}function Zu(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const yA=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function AA(){return(0,i.f3M)(b.K0)}}),$u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Hn=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function wA(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?$u.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(yA,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),El=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),mc=(()=>{class n{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new De.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Fi.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(S1(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ke.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,qt.h)(a=>!a||s.indexOf(a)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=oi(t),a=e.getElementRef().nativeElement;do{if(s==a)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ha(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(Ei),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xu=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=a,this._destroyed=new De.xQ,this._elementScrolled=new Fi.y(r=>this.ngZone.runOutsideAngular(()=>ha(this.elementRef.nativeElement,"scroll").pipe(it(this._destroyed)).subscribe(r)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&0!=Cl()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Cl()?e.left=e.right:1==Cl()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;E1()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",s="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?s:t:"end"==e&&(e=r?t:s),r&&2==Cl()?e==t?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:r&&1==Cl()?e==t?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==t?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b),i.Y36(Hn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),ws=(()=>{class n{constructor(e,t,s){this._platform=e,this._change=new De.xQ,this._changeListener=a=>{this._change.next(a)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,a=s.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(S1(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b),i.LFG(b.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),kl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El,vl,Cn],El,Cn]}),n})();class Qu{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class Dl extends Qu{constructor(o,e,t,s){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class _c extends Qu{constructor(o,e,t){super(),this.templateRef=o,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class ET extends Qu{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class pa{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof Dl?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof _c?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof ET?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class L1 extends pa{constructor(o,e,t,s,a){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=r=>{const c=r.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=a}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let s;return o.viewContainerRef?(s=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(o.injector||this._defaultInjector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=o,s}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(s=>this.outletElement.appendChild(s)),t.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(t);-1!==s&&e.remove(s)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Yp=(()=>{class n extends pa{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=a=>{const r=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(c,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(r,c)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(a,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),Rh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Li=w(6787);class Up{constructor(o,e){this.predicate=o,this.inclusive=e}call(o,e){return e.subscribe(new P1(o,this.predicate,this.inclusive))}}class P1 extends Ys.L{constructor(o,e,t){super(o),this.predicate=e,this.inclusive=t,this.index=0}_next(o){const e=this.destination;let t;try{t=this.predicate(o,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(o,t)}nextOrComplete(o,e){const t=this.destination;Boolean(e)?t.next(o):(this.inclusive&&t.next(o),t.complete())}}function cn(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const sm=E1();class om{constructor(o,e){this._viewportRuler=o,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=rn(-this._previousScrollPosition.left),o.style.top=rn(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,s=this._document.body.style,a=t.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),sm&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sm&&(t.scrollBehavior=a,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class rm{constructor(o,e,t,s){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(o){this._overlayRef=o}enable(){if(this._scrollSubscription)return;const o=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=o.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class $p{enable(){}disable(){}attach(){}}function Xp(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function Qp(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class QA{constructor(o,e,t,s){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(o){this._overlayRef=o}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:s}=this._viewportRuler.getViewportSize();Xp(e,[{width:t,height:s,bottom:s,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let JA=(()=>{class n{constructor(e,t,s,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new $p,this.close=r=>new rm(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new om(this._viewportRuler,this._document),this.reposition=r=>new QA(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(mc),i.LFG(ws),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Vn{constructor(o){if(this.scrollStrategy=new $p,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,o){const e=Object.keys(o);for(const t of e)void 0!==o[t]&&(this[t]=o[t])}}}class cC{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class lC{constructor(o,e,t,s,a,r,c,d,h){this._portalOutlet=o,this._host=e,this._pane=t,this._config=s,this._ngZone=a,this._keyboardDispatcher=r,this._document=c,this._location=d,this._outsideClickDispatcher=h,this._backdropElement=null,this._backdropClick=new De.xQ,this._attachments=new De.xQ,this._detachments=new De.xQ,this._locationChanges=P.w.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._keydownEvents=new De.xQ,this._outsidePointerEvents=new De.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){let e=this._portalOutlet.attach(o);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const o=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){var o;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(o=this._host)||void 0===o||o.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=Object.assign(Object.assign({},this._config),o),this._updateElementSize()}setDirection(o){this._config=Object.assign(Object.assign({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){const o=this._config.direction;return o?"string"==typeof o?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const o=this._pane.style;o.width=rn(this._config.width),o.height=rn(this._config.height),o.minWidth=rn(this._config.minWidth),o.minHeight=rn(this._config.minHeight),o.maxWidth=rn(this._config.maxWidth),o.maxHeight=rn(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachBackdrop(){const o="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(o)})}):this._backdropElement.classList.add(o)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const o=this._backdropElement;if(!o)return;let e;const t=()=>{o&&(o.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",t),this._disposeBackdrop(o)),this._config.backdropClass&&this._toggleClasses(o,this._config.backdropClass,!1),clearTimeout(e)};o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",t)}),o.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(t,500))}_toggleClasses(o,e,t){const s=Mr(e||[]).filter(a=>!!a);s.length&&(t?o.classList.add(...s):o.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(it((0,Li.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),o.unsubscribe())})})}_disposeScrollStrategy(){const o=this._scrollStrategy;o&&(o.disable(),o.detach&&o.detach())}_disposeBackdrop(o){o&&(o.remove(),this._backdropElement===o&&(this._backdropElement=null))}}let Jp=(()=>{class n{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Zu()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const o=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,a=[];let r;for(let c of this._preferredPositions){let d=this._getOriginPoint(o,s,c),h=this._getOverlayPoint(d,e,c),g=this._getOverlayFit(h,e,t,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(g,h,t)?a.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!r||r.overlayFit.visibleAread&&(d=g,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Bh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const o=this._lastPosition;if(o){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,o);this._applyPosition(o,e)}else this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,-1===o.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}_getOriginPoint(o,e,t){let s,a;if("center"==t.originX)s=o.left+o.width/2;else{const r=this._isRtl()?o.right:o.left,c=this._isRtl()?o.left:o.right;s="start"==t.originX?r:c}return e.left<0&&(s-=e.left),a="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(a-=e.top),{x:s,y:a}}_getOverlayPoint(o,e,t){let s,a;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+s,y:o.y+a}}_getOverlayFit(o,e,t,s){const a=eg(e);let{x:r,y:c}=o,d=this._getOffset(s,"x"),h=this._getOffset(s,"y");d&&(r+=d),h&&(c+=h);let $=0-c,oe=c+a.height-t.height,be=this._subtractOverflows(a.width,0-r,r+a.width-t.width),ve=this._subtractOverflows(a.height,$,oe),Le=be*ve;return{visibleArea:Le,isCompletelyWithinViewport:a.width*a.height===Le,fitsInViewportVertically:ve===a.height,fitsInViewportHorizontally:be==a.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,a=t.right-e.x,r=cm(this._overlayRef.getConfig().minHeight),c=cm(this._overlayRef.getConfig().minWidth),h=o.fitsInViewportHorizontally||null!=c&&c<=a;return(o.fitsInViewportVertically||null!=r&&r<=s)&&h}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};const s=eg(e),a=this._viewportRect,r=Math.max(o.x+s.width-a.width,0),c=Math.max(o.y+s.height-a.height,0),d=Math.max(a.top-t.top-o.y,0),h=Math.max(a.left-t.left-o.x,0);let g=0,O=0;return g=s.width<=a.width?h||-r:o.xbe&&!this._isInitialRender&&!this._growAfterOpen&&(r=o.y-be/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)$=t.width-o.x+this._viewportMargin,g=o.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)O=o.x,g=t.right-o.x;else{const oe=Math.min(t.right-o.x+t.left,o.x),be=this._lastBoundingBoxSize.width;g=2*oe,O=o.x-oe,g>be&&!this._isInitialRender&&!this._growAfterOpen&&(O=o.x-be/2)}return{top:r,left:O,bottom:c,right:$,width:g,height:a}}_setBoundingBoxStyles(o,e){const t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=rn(t.height),s.top=rn(t.top),s.bottom=rn(t.bottom),s.width=rn(t.width),s.left=rn(t.left),s.right=rn(t.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(s.maxHeight=rn(a)),r&&(s.maxWidth=rn(r))}this._lastBoundingBoxSize=t,vc(this._boundingBox.style,s)}_resetBoundingBoxStyles(){vc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},s=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const g=this._viewportRuler.getViewportScrollPosition();vc(t,this._getExactOverlayY(e,o,g)),vc(t,this._getExactOverlayX(e,o,g))}else t.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),t.transform=c.trim(),r.maxHeight&&(s?t.maxHeight=rn(r.maxHeight):a&&(t.maxHeight="")),r.maxWidth&&(s?t.maxWidth=rn(r.maxWidth):a&&(t.maxWidth="")),vc(this._pane.style,t)}_getExactOverlayY(o,e,t){let s={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),"bottom"===o.overlayY?s.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":s.top=rn(a.y),s}_getExactOverlayX(o,e,t){let r,s={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),r=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===r?s.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":s.left=rn(a.x),s}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Qp(o,t),isOriginOutsideView:Xp(o,t),isOverlayClipped:Qp(e,t),isOverlayOutsideView:Xp(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,s)=>t-Math.max(s,0),o)}_getNarrowedViewportRect(){const o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+o-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:o-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return"x"===e?null==o.offsetX?this._offsetX:o.offsetX:null==o.offsetY?this._offsetY:o.offsetY}_validatePositions(){}_addPanelClasses(o){this._pane&&Mr(o).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getOriginRect(){const o=this._origin;if(o instanceof i.SBq)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();const e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}}function vc(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function cm(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(am);return e&&"px"!==e?null:parseFloat(o)}return n||null}function eg(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const lm="cdk-global-overlay-wrapper";class um{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(o){const e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(lm),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._rightOffset="",this._leftOffset=o,this._justifyContent="flex-start",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._leftOffset="",this._rightOffset=o,this._justifyContent="flex-end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._justifyContent="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:a,maxWidth:r,maxHeight:c}=t,d=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),h=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c);o.position=this._cssPosition,o.marginLeft=d?"0":this._leftOffset,o.marginTop=h?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,d?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(lm),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let iw=(()=>{class n{constructor(e,t,s,a){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=a}global(){return new um}flexibleConnectedTo(e){return new tw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ws),i.LFG(b.K0),i.LFG(Ei),i.LFG(Jp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dm=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hm=(()=>{class n extends dm{constructor(e){super(e),this._keydownListener=t=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){s[a]._keydownEvents.next(t);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fm=(()=>{class n extends dm{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=$s(s)},this._clickListener=s=>{const a=$s(s),r="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){const h=c[d];if(!(h._outsidePointerEvents.observers.length<1)&&h.hasAttached()){if(h.overlayElement.contains(a)||h.overlayElement.contains(r))break;h._outsidePointerEvents.next(s)}}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nw=0,$i=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=c,this._ngZone=d,this._document=h,this._directionality=g,this._location=O,this._outsideClickDispatcher=$}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),a=this._createPortalOutlet(s),r=new Vn(e);return r.direction=r.direction||this._directionality.value,new lC(a,t,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+nw++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(i.z2F)),new L1(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(JA),i.LFG(Jp),i.LFG(i._Vd),i.LFG(iw),i.LFG(hm),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Hn),i.LFG(b.Ye),i.LFG(fm))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const tg=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],pm=new i.OlP("cdk-connected-overlay-scroll-strategy");let gm=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),sw=(()=>{class n{constructor(e,t,s,a,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=P.w.EMPTY,this._attachSubscription=P.w.EMPTY,this._detachSubscription=P.w.EMPTY,this._positionSubscription=P.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.vpe,this.positionChange=new i.vpe,this.attach=new i.vpe,this.detach=new i.vpe,this.overlayKeydown=new i.vpe,this.overlayOutsideClick=new i.vpe,this._templatePortal=new _c(t,s),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=je(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=je(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=je(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=je(e)}get push(){return this._push}set push(e){this._push=je(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tg);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!cn(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Vn({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof gm?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function O1(n,o=!1){return e=>e.lift(new Up(n,o))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(pm),i.Y36(Hn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.TTD]}),n})();const ow={provide:pm,deps:[$i],useFactory:function mm(n){return()=>n.scrollStrategies.reposition()}};let Ll=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[$i,ow],imports:[[El,Rh,kl],kl]}),n})();var qh=w(13);function _m(n){return o=>o.lift(new jh(n))}class jh{constructor(o){this.total=o}call(o,e){return e.subscribe(new ig(o,this.total))}}class ig extends Ys.L{constructor(o,e){super(o),this.total=e,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}function Yh(n,o){return e=>e.lift(new ng(n,o))}class ng{constructor(o,e){this.compare=o,this.keySelector=e}call(o,e){return e.subscribe(new sg(o,this.compare,this.keySelector))}}class sg extends Ys.L{constructor(o,e,t){super(o),this.keySelector=t,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(o,e){return o===e}_next(o){let e;try{const{keySelector:s}=this;e=s?s(o):o}catch(s){return this.destination.error(s)}let t=!1;if(this.hasKey)try{const{compare:s}=this;t=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;t||(this.key=e,this.destination.next(o))}}let og=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rw=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=oi(e);return new Fi.y(s=>{const r=this._observeElement(t).subscribe(s);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new De.xQ,s=this._mutationObserverFactory.create(a=>t.next(a));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(og))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rg=(()=>{class n{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=on(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe((0,qh.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rw),i.Y36(i.SBq),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),Rl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[og]}),n})();function id(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const ag="cdk-describedby-message",nd="cdk-describedby-host";let Qo=0,sd=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Qo++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const a=cg(t,s);"string"!=typeof t?(ym(t),this._messageRegistry.set(a,{messageElement:t,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,t,s){var a;if(!t||!this._isElementNode(e))return;const r=cg(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const c=this._messageRegistry.get(r);c&&0===c.referenceCount&&this._deleteMessageElement(r)}0===(null===(a=this._messagesContainer)||void 0===a?void 0:a.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${nd}="${this._id}"]`);for(let s=0;s0!=s.indexOf(ag));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function cw(n,o,e){const t=id(n,o);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(nd,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function bm(n,o,e){const s=id(n,o).filter(a=>a!=e.trim());s.length?n.setAttribute(o,s.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(nd)}_isElementDescribedByMessage(e,t){const s=id(e,"aria-describedby"),a=this._messageRegistry.get(t),r=a&&a.messageElement.id;return!!r&&-1!=s.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),a=e.getAttribute("aria-label");return!(!s||a&&a.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function cg(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function ym(n){n.id||(n.id=`${ag}-${Qo++}`)}class uw{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new De.xQ,this._typeaheadSubscription=P.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new De.xQ,this.change=new De.xQ,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,qi.b)(e=>this._pressedLetters.push(e)),(0,qh.b)(o),(0,qt.h)(()=>this._pressedLetters.length>0),(0,pt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||cn(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),t="number"==typeof o?o:e.indexOf(o),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const t=this._getItemsArray();if(t[o]){for(;this._skipPredicateFn(t[o]);)if(!t[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class Uh extends uw{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class od extends uw{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}let Tc=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function lg(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function dw(n){try{return n.frameElement}catch(o){return null}}(function Em(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===Cm(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),a=Cm(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Sm(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==a:"video"===s?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function Ol(n){return!function Mm(n){return function hw(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function wm(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function vm(n){return function ug(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Tm(n))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Tm(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function Cm(n){if(!Tm(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class fw{constructor(o,e,t,s,a=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(o){this._enabled=o,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}destroy(){const o=this._startAnchor,e=this._endAnchor;o&&(o.removeEventListener("focus",this.startAnchorListener),o.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(o)))})}focusFirstTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(o)))})}focusLastTabbableElementWhenReady(o){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(o)))})}_getRegionBoundary(o){const e=this._element.querySelectorAll(`[cdk-focus-region-${o}], [cdkFocusRegion${o}], [cdk-focus-${o}]`);return"start"==o?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(o){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(o),!!t}return e.focus(o),!0}return this.focusFirstTabbableElement(o)}focusFirstTabbableElement(o){const e=this._getRegionBoundary("start");return e&&e.focus(o),!!e}focusLastTabbableElement(o){const e=this._getRegionBoundary("end");return e&&e.focus(o),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(o){if(this._checker.isFocusable(o)&&this._checker.isTabbable(o))return o;const e=o.children;for(let t=0;t=0;t--){const s=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(s)return s}return null}_createAnchor(){const o=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,o),o.classList.add("cdk-visually-hidden"),o.classList.add("cdk-focus-trap-anchor"),o.setAttribute("aria-hidden","true"),o}_toggleAnchorTabIndex(o,e){o?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(o){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(o,this._startAnchor),this._toggleAnchorTabIndex(o,this._endAnchor))}_executeOnStable(o){this._ngZone.isStable?o():this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(o)}}let km=(()=>{class n{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new fw(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Tc),i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Pl(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function ad(n){const o=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const Dm=new i.OlP("cdk-input-modality-detector-options"),xm={ignoreKeys:[18,17,224,91,16]},zl=Ko({passive:!0,capture:!0});let pw=(()=>{class n{constructor(e,t,s,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Bi(null),this._lastTouchMs=0,this._onKeydown=r=>{var c,d;(null===(d=null===(c=this._options)||void 0===c?void 0:c.ignoreKeys)||void 0===d?void 0:d.some(h=>h===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=$s(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Pl(r)?"keyboard":"mouse"),this._mostRecentTarget=$s(r))},this._onTouchstart=r=>{ad(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$s(r))},this._options=Object.assign(Object.assign({},xm),a),this.modalityDetected=this._modality.pipe(_m(1)),this.modalityChanged=this.modalityDetected.pipe(Yh()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,zl),s.addEventListener("mousedown",this._onMousedown,zl),s.addEventListener("touchstart",this._onTouchstart,zl)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,zl),document.removeEventListener("mousedown",this._onMousedown,zl),document.removeEventListener("touchstart",this._onTouchstart,zl))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b),i.LFG(b.K0),i.LFG(Dm,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gw=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function mw(){return null}}),Lm=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gC=(()=>{class n{constructor(e,t,s,a){this._ngZone=t,this._defaultOptions=a,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let a,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[a,r]=t,this.clear(),clearTimeout(this._previousTimeout),a||(a=s&&s.politeness?s.politeness:"polite"),null==r&&s&&(r=s.duration),this._liveElement.setAttribute("aria-live",a),this._ngZone.runOutsideAngular(()=>new Promise(c=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,c(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let a=0;a{class n{constructor(e,t,s,a,r){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,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 De.xQ,this._rootNodeFocusAndBlurListener=c=>{const d=$s(c),h="focus"===c.type?this._onFocus:this._onBlur;for(let g=d;g;g=g.parentElement)h.call(this,c,g)},this._document=a,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,t=!1){const s=oi(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ke.of)(null);const a=Sl(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return t&&(r.checkChildren=!0),r.subject;const c={checkChildren:t,subject:new De.xQ,rootNode:a};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=oi(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const a=oi(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const s=this._elementInfo.get(t),a=$s(e);!s||!s.checkChildren&&t!==a||this._originChanged(t,this._getFocusOrigin(a),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vh)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(it(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,a)=>{(a===e||s.checkChildren&&a.contains(e))&&t.push([a,s])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(Ei),i.LFG(pw),i.LFG(b.K0,8),i.LFG(bw,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gh="cdk-high-contrast-black-on-white",Rm="cdk-high-contrast-white-on-black",Wh="cdk-high-contrast-active";let hg=(()=>{class n{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,a=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Wh),e.remove(Gh),e.remove(Rm),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(Wh),e.add(Gh)):2===t&&(e.add(Wh),e.add(Rm))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yw=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(hg))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl,Rl]]}),n})();class Xs{}const ma="*";function Ti(n,o){return{type:7,name:n,definitions:o,options:{}}}function Ct(n,o=null){return{type:4,styles:o,timings:n}}function fg(n,o=null){return{type:3,steps:n,options:o}}function Om(n,o=null){return{type:2,steps:n,options:o}}function qe(n){return{type:6,styles:n,offset:null}}function ii(n,o,e){return{type:0,name:n,styles:o,options:e}}function Sr(n){return{type:5,steps:n}}function Ht(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function zm(n=null){return{type:9,options:n}}function Eo(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function Im(n){Promise.resolve(null).then(n)}class cd{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Im(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ld{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,t=0,s=0;const a=this.players.length;0==a?Im(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++t==a&&this._onDestroy()}),r.onStart(()=>{++s==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,c)=>Math.max(r,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const o=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Aw(){return"undefined"!=typeof window&&void 0!==window.document}function Cc(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ba(n){switch(n.length){case 0:return new cd;case 1:return n[0];default:return new ld(n)}}function Nm(n,o,e,t,s={},a={}){const r=[],c=[];let d=-1,h=null;if(t.forEach(g=>{const O=g.offset,$=O==d,oe=$&&h||{};Object.keys(g).forEach(be=>{let ve=be,Le=g[be];if("offset"!==be)switch(ve=o.normalizePropertyName(ve,r),Le){case"!":Le=s[be];break;case ma:Le=a[be];break;default:Le=o.normalizeStyleValue(be,ve,Le,r)}oe[ve]=Le}),$||c.push(oe),h=oe,d=O}),r.length){const g="\n - ";throw new Error(`Unable to animate due to the following errors:${g}${r.join(g)}`)}return c}function ud(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Qs(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Qs(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Qs(e,"destroy",n)))}}function Qs(n,o,e){const t=e.totalTime,a=Sc(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),r=n._data;return null!=r&&(a._data=r),a}function Sc(n,o,e,t,s="",a=0,r){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:s,totalTime:a,disabled:!!r}}function yi(n,o,e){let t;return n instanceof Map?(t=n.get(o),t||n.set(o,t=e)):(t=n[o],t||(t=n[o]=e)),t}function ya(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Il=(n,o)=>!1,Os=(n,o,e)=>[];(Cc()||"undefined"!=typeof Element)&&(Il=Aw()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),Os=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Js=null,Ec=!1;function kc(n){Js||(Js=function Hl(){return"undefined"!=typeof document?document.body:null}()||{},Ec=!!Js.style&&"WebkitAppearance"in Js.style);let o=!0;return Js.style&&!function Nl(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Js.style,!o&&Ec&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Js.style)),o}const Dc=Il,xc=Os;let Lc=(()=>{class n{validateStyleProperty(e){return kc(e)}matchesElement(e,t){return!1}containsElement(e,t){return Dc(e,t)}query(e,t,s){return xc(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,a,r,c=[],d){return new cd(s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),hd=(()=>{class n{}return n.NOOP=new Lc,n})();const Kh="ng-enter",fd="ng-leave",pd="ng-trigger",gd=".ng-trigger",gg="ng-animating",mg=".ng-animating";function Aa(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:_g(parseFloat(o[1]),o[2])}function _g(n,o){return"s"===o?1e3*n:n}function md(n,o,e){return n.hasOwnProperty("duration")?n:function qm(n,o,e){let s,a=0,r="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};s=_g(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(a=_g(parseFloat(d),c[4]));const h=c[5];h&&(r=h)}else s=n;if(!e){let c=!1,d=o.length;s<0&&(o.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(o.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&o.splice(d,0,`The provided timing value "${n}" is invalid.`)}return{duration:s,delay:a,easing:r}}(n,o,e)}function Bl(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Er(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else Bl(n,e);return e}function Ym(n,o,e){return e?o+":"+e+";":""}function bg(n){let o="";for(let e=0;e{const s=Um(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[s]),n.style[s]=o[t]}),Cc()&&bg(n))}function Rc(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=Um(e);n.style[t]=""}),Cc()&&bg(n))}function Zh(n){return Array.isArray(n)?1==n.length?n[0]:Om(n):n}const _d=new RegExp("{{\\s*(.+?)\\s*}}","g");function $h(n){let o=[];if("string"==typeof n){let e;for(;e=_d.exec(n);)o.push(e[1]);_d.lastIndex=0}return o}function Xh(n,o,e){const t=n.toString(),s=t.replace(_d,(a,r)=>{let c=o[r];return o.hasOwnProperty(r)||(e.push(`Please provide a value for the animation param ${r}`),c=""),c.toString()});return s==t?n:s}function yg(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const yC=/-+([a-z0-9])/g;function Um(n){return n.replace(yC,(...o)=>o[1].toUpperCase())}function Mw(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ps(n,o,e){switch(o.type){case 7:return n.visitTrigger(o,e);case 0:return n.visitState(o,e);case 1:return n.visitTransition(o,e);case 2:return n.visitSequence(o,e);case 3:return n.visitGroup(o,e);case 4:return n.visitAnimate(o,e);case 5:return n.visitKeyframes(o,e);case 6:return n.visitStyle(o,e);case 8:return n.visitReference(o,e);case 9:return n.visitAnimateChild(o,e);case 10:return n.visitAnimateRef(o,e);case 11:return n.visitQuery(o,e);case 12:return n.visitStagger(o,e);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Oc(n,o){return window.getComputedStyle(n)[o]}function Gm(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function vw(n,o,e){if(":"==n[0]){const d=function Wm(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(n,e);if("function"==typeof d)return void o.push(d);n=d}const t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${n}" is not supported`),o;const s=t[1],a=t[2],r=t[3];o.push(Ag(s,r));"<"==a[0]&&!("*"==s&&"*"==r)&&o.push(Ag(r,s))}(t,e,o)):e.push(n),e}const Pc=new Set(["true","1"]),Jh=new Set(["false","0"]);function Ag(n,o){const e=Pc.has(n)||Jh.has(n),t=Pc.has(o)||Jh.has(o);return(s,a)=>{let r="*"==n||n==s,c="*"==o||o==a;return!r&&e&&"boolean"==typeof s&&(r=s?Pc.has(n):Jh.has(n)),!c&&t&&"boolean"==typeof a&&(c=a?Pc.has(o):Jh.has(o)),r&&c}}const Tw=new RegExp("s*:selfs*,?","g");function wg(n,o,e){return new Cw(n).build(o,e)}class Cw{constructor(o){this._driver=o}build(o,e){const t=new Xm(e);return this._resetContextStyleTimingState(t),Ps(this,Zh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,s=e.depCount=0;const a=[],r=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(g=>{d.name=g,a.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);t+=d.queryCount,s+=d.depCount,r.push(d)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:a,transitions:r,queryCount:t,depCount:s,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(t.containsDynamicStyles){const a=new Set,r=s||{};if(t.styles.forEach(c=>{if(Fl(c)){const d=c;Object.keys(d).forEach(h=>{$h(d[h]).forEach(g=>{r.hasOwnProperty(g)||a.add(g)})})}}),a.size){const c=yg(a.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${c.join(", ")}`)}}return{type:0,name:o.name,style:t,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=Ps(this,Zh(o.animation),e);return{type:1,matchers:Gm(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:kr(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>Ps(this,t,e)),options:kr(o.options)}}visitGroup(o,e){const t=e.currentTime;let s=0;const a=o.steps.map(r=>{e.currentTime=t;const c=Ps(this,r,e);return s=Math.max(s,e.currentTime),c});return e.currentTime=s,{type:3,steps:a,options:kr(o.options)}}visitAnimate(o,e){const t=function wC(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Mg(md(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=Mg(0,0,"");return a.dynamic=!0,a.strValue=t,a}return e=e||md(t,o),Mg(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let s,a=o.styles?o.styles:qe({});if(5==a.type)s=this.visitKeyframes(a,e);else{let r=o.styles,c=!1;if(!r){c=!0;const h={};t.easing&&(h.easing=t.easing),r=qe(h)}e.currentTime+=t.duration+t.delay;const d=this.visitStyle(r,e);d.isEmptyStep=c,s=d}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(o,e){const t=this._makeStyleAst(o,e);return this._validateStyleAst(t,e),t}_makeStyleAst(o,e){const t=[];Array.isArray(o.styles)?o.styles.forEach(r=>{"string"==typeof r?r==ma?t.push(r):e.errors.push(`The provided style string value ${r} is not allowed.`):t.push(r)}):t.push(o.styles);let s=!1,a=null;return t.forEach(r=>{if(Fl(r)){const c=r,d=c.easing;if(d&&(a=d,delete c.easing),!s)for(let h in c)if(c[h].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:a,offset:o.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let s=e.currentTime,a=e.currentTime;t&&a>0&&(a-=t.duration+t.delay),o.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(c=>{if(!this._driver.validateStyleProperty(c))return void e.errors.push(`The provided animation property "${c}" is not a supported CSS property for animations`);const d=e.collectedStyles[e.currentQuerySelector],h=d[c];let g=!0;h&&(a!=s&&a>=h.startTime&&s<=h.endTime&&(e.errors.push(`The CSS property "${c}" that exists between the times of "${h.startTime}ms" and "${h.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${s}ms"`),g=!1),a=h.startTime),g&&(d[c]={startTime:a,endTime:s}),e.options&&function ww(n,o,e){const t=o.params||{},s=$h(n);s.length&&s.forEach(a=>{t.hasOwnProperty(a)||e.push(`Unable to resolve the local animation param ${a} in the given list of values`)})}(r[c],e.options,e.errors)})})}visitKeyframes(o,e){const t={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),t;let a=0;const r=[];let c=!1,d=!1,h=0;const g=o.steps.map(et=>{const Gt=this._makeStyleAst(et,e);let Bt=null!=Gt.offset?Gt.offset:function Qm(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Fl(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Fl(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Gt.styles),pi=0;return null!=Bt&&(a++,pi=Gt.offset=Bt),d=d||pi<0||pi>1,c=c||pi0&&a{const Bt=$>0?Gt==oe?1:$*Gt:r[Gt],pi=Bt*Le;e.currentTime=be+ve.delay+pi,ve.duration=pi,this._validateStyleAst(et,e),et.offset=Bt,t.styles.push(et)}),t}visitReference(o,e){return{type:8,animation:Ps(this,Zh(o.animation),e),options:kr(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:kr(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:kr(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[a,r]=function $m(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(Tw,"")),n=n.replace(/@\*/g,gd).replace(/@\w+/g,e=>gd+"-"+e.substr(1)).replace(/:animating/g,mg),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+a:a,yi(e.collectedStyles,e.currentQuerySelector,{});const c=Ps(this,Zh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:a,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:c,originalSelector:o.selector,options:kr(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===o.timings?{duration:0,delay:0,easing:"full"}:md(o.timings,e.errors,!0);return{type:12,animation:Ps(this,Zh(o.animation),e),timings:t,options:null}}}class Xm{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Fl(n){return!Array.isArray(n)&&"object"==typeof n}function kr(n){return n?(n=Bl(n)).params&&(n.params=function Sw(n){return n?Bl(n):null}(n.params)):n={},n}function Mg(n,o,e){return{duration:n,delay:o,easing:e}}function Jm(n,o,e,t,s,a,r=null,c=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:s,delay:a,totalTime:s+a,easing:r,subTimeline:c}}class wa{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let t=this._map.get(o);t||this._map.set(o,t=[]),t.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Tg=new RegExp(":enter","g"),Cg=new RegExp(":leave","g");function bd(n,o,e,t,s,a={},r={},c,d,h=[]){return(new t_).buildKeyframes(n,o,e,t,s,a,r,c,d,h)}class t_{buildKeyframes(o,e,t,s,a,r,c,d,h,g=[]){h=h||new wa;const O=new Eg(o,e,h,s,a,g,[]);O.options=d,O.currentTimeline.setStyles([r],null,O.errors,d),Ps(this,t,O);const $=O.timelines.filter(oe=>oe.containsAnimation());if(Object.keys(c).length){let oe;for(let be=$.length-1;be>=0;be--){const ve=$[be];if(ve.element===e){oe=ve;break}}oe&&!oe.allowOnlyTimelineStyles()&&oe.setStyles([c],null,O.errors,d)}return $.length?$.map(oe=>oe.buildKeyframes()):[Jm(e,[],[],[],0,0,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(o.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,s,s.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=o}visitAnimateRef(o,e){const t=e.createSubContext(o.options);t.transformIntoNewTimeline(),this.visitReference(o.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=o}_visitSubInstructions(o,e,t){let a=e.currentTimeline.currentTime;const r=null!=t.duration?Aa(t.duration):null,c=null!=t.delay?Aa(t.delay):null;return 0!==r&&o.forEach(d=>{const h=e.appendInstructionToTimeline(d,r,c);a=Math.max(a,h.duration+h.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),Ps(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let s=e;const a=o.options;if(a&&(a.params||a.delay)&&(s=e.createSubContext(a),s.transformIntoNewTimeline(),null!=a.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Sg);const r=Aa(a.delay);s.delayNextStep(r)}o.steps.length&&(o.steps.forEach(r=>Ps(this,r,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let s=e.currentTimeline.currentTime;const a=o.options&&o.options.delay?Aa(o.options.delay):0;o.steps.forEach(r=>{const c=e.createSubContext(o.options);a&&c.delayNextStep(a),Ps(this,r,c),s=Math.max(s,c.currentTimeline.currentTime),t.push(c.currentTimeline)}),t.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return md(e.params?Xh(t,e.params,e.errors):t,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const t=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const a=o.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(t.duration),this.visitStyle(a,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const a=s&&s.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(a):t.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,a=t.duration,c=e.createSubContext().currentTimeline;c.easing=t.easing,o.styles.forEach(d=>{c.forwardTime((d.offset||0)*a),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(s+a),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,s=o.options||{},a=s.delay?Aa(s.delay):0;a&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Sg);let r=t;const c=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,g)=>{e.currentQueryIndex=g;const O=e.createSubContext(o.options,h);a&&O.delayNextStep(a),h===e.element&&(d=O.currentTimeline),Ps(this,o.animation,O),O.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,O.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,s=e.currentTimeline,a=o.timings,r=Math.abs(a.duration),c=r*(e.currentQueryTotal-1);let d=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":d=c-d;break;case"full":d=t.currentStaggerTime}const g=e.currentTimeline;d&&g.delayNextStep(d);const O=g.currentTime;Ps(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=s.currentTime-O+(s.startTime-t.currentTimeline.startTime)}}const Sg={};class Eg{constructor(o,e,t,s,a,r,c,d){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=a,this.errors=r,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Sg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new ql(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let s=this.options;null!=t.duration&&(s.duration=Aa(t.duration)),null!=t.delay&&(s.delay=Aa(t.delay));const a=t.params;if(a){let r=s.params;r||(r=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!r.hasOwnProperty(c))&&(r[c]=Xh(a[c],r,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return o}createSubContext(o=null,e,t){const s=e||this.element,a=new Eg(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=Sg,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const s={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},a=new kg(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(a),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,s,a,r){let c=[];if(s&&c.push(this.element),o.length>0){o=(o=o.replace(Tg,"."+this._enterClassName)).replace(Cg,"."+this._leaveClassName);let h=this._driver.query(this.element,o,1!=t);0!==t&&(h=t<0?h.slice(h.length+t,h.length):h.slice(0,t)),c.push(...h)}return!a&&0==c.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),c}}class ql{constructor(o,e,t,s){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new ql(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles[o]=e,this._globalTimelineStyles[o]=e,this._styleSummary[o]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||ma,this._currentKeyframe[e]=ma}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,s){e&&(this._previousKeyframe.easing=e);const a=s&&s.params||{},r=function i_(n,o){const e={};let t;return n.forEach(s=>{"*"===s?(t=t||Object.keys(o),t.forEach(a=>{e[a]=ma})):Er(s,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(r).forEach(c=>{const d=Xh(r[c],a,t);this._pendingStyles[c]=d,this._localTimelineStyles.hasOwnProperty(c)||(this._backFill[c]=this._globalTimelineStyles.hasOwnProperty(c)?this._globalTimelineStyles[c]:ma),this._updateStyle(c,d)})}applyStylesToKeyframe(){const o=this._pendingStyles,e=Object.keys(o);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=o[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const e=this._localTimelineStyles[o];this._pendingStyles[o]=e,this._updateStyle(o,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=o._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((c,d)=>{const h=Er(c,!0);Object.keys(h).forEach(g=>{const O=h[g];"!"==O?o.add(g):O==ma&&e.add(g)}),t||(h.offset=d/this.duration),s.push(h)});const a=o.size?yg(o.values()):[],r=e.size?yg(e.values()):[];if(t){const c=s[0],d=Bl(c);c.offset=0,d.offset=1,s=[c,d]}return Jm(this.element,s,a,r,this.duration,this.startTime,this.easing,!1)}}class kg extends ql{constructor(o,e,t,s,a,r,c=!1){super(o,e,r.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=t+e,c=e/r,d=Er(o[0],!1);d.offset=0,a.push(d);const h=Er(o[0],!1);h.offset=Dg(c),a.push(h);const g=o.length-1;for(let O=1;O<=g;O++){let $=Er(o[O],!1);$.offset=Dg((e+$.offset*t)/r),a.push($)}t=r,e=0,s="",o=a}return Jm(this.element,o,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function Dg(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class ef{}class xg extends ef{normalizePropertyName(o,e){return Um(o)}normalizeStyleValue(o,e,t,s){let a="";const r=t.toString().trim();if(Lg[e]&&0!==t&&"0"!==t)if("number"==typeof t)a="px";else{const c=t.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push(`Please provide a CSS unit value for ${o}:${t}`)}return r+a}}const Lg=(()=>function Dw(n){const o={};return n.forEach(e=>o[e]=!0),o}("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".split(",")))();function Rg(n,o,e,t,s,a,r,c,d,h,g,O,$){return{type:0,element:n,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:a,toState:t,toStyles:r,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:g,totalTime:O,errors:$}}const tf={};class nf{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,s){return function s_(n,o,e,t,s){return n.some(a=>a(o,e,t,s))}(this.ast.matchers,o,e,t,s)}buildStyles(o,e,t){const s=this._stateStyles["*"],a=this._stateStyles[o],r=s?s.buildStyles(e,t):{};return a?a.buildStyles(e,t):r}build(o,e,t,s,a,r,c,d,h,g){const O=[],$=this.ast.options&&this.ast.options.params||tf,be=this.buildStyles(t,c&&c.params||tf,O),ve=d&&d.params||tf,Le=this.buildStyles(s,ve,O),et=new Set,Gt=new Map,Bt=new Map,pi="void"===s,lu={params:Object.assign(Object.assign({},$),ve)},Fa=g?[]:bd(o,e,this.ast.animation,a,r,be,Le,lu,h,O);let Hs=0;if(Fa.forEach(tl=>{Hs=Math.max(tl.duration+tl.delay,Hs)}),O.length)return Rg(e,this._triggerName,t,s,pi,be,Le,[],[],Gt,Bt,Hs,O);Fa.forEach(tl=>{const il=tl.element,Uk=yi(Gt,il,{});tl.preStyleProps.forEach(Wd=>Uk[Wd]=!0);const p1=yi(Bt,il,{});tl.postStyleProps.forEach(Wd=>p1[Wd]=!0),il!==e&&et.add(il)});const el=yg(et.values());return Rg(e,this._triggerName,t,s,pi,be,Le,Fa,el,Gt,Bt,Hs)}}class xw{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},s=Bl(this.defaultParams);return Object.keys(o).forEach(a=>{const r=o[a];null!=r&&(s[a]=r)}),this.styles.styles.forEach(a=>{if("string"!=typeof a){const r=a;Object.keys(r).forEach(c=>{let d=r[c];d.length>1&&(d=Xh(d,s,e));const h=this.normalizer.normalizePropertyName(c,e);d=this.normalizer.normalizeStyleValue(c,h,d,e),t[h]=d})}}),t}}class r_{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new xw(s.style,s.options&&s.options.params||{},t)}),yd(this.states,"true","1"),yd(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new nf(o,s,this.states))}),this.fallbackTransition=function Og(n,o,e){return new nf(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,c)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,s){return this.transitionFactories.find(r=>r.match(o,e,t,s))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function yd(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const Pg=new wa;class a_{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],s=wg(this._driver,e,t);if(t.length)throw new Error(`Unable to build the animation due to the following errors: ${t.join("\n")}`);this._animations[o]=s}_buildPlayer(o,e,t){const s=o.element,a=Nm(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(s,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const s=[],a=this._animations[o];let r;const c=new Map;if(a?(r=bd(this._driver,e,a,Kh,fd,{},{},t,Pg,s),r.forEach(g=>{const O=yi(c,g.element,{});g.postStyleProps.forEach($=>O[$]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((g,O)=>{Object.keys(g).forEach($=>{g[$]=this._driver.computeStyle(O,$,ma)})});const h=ba(r.map(g=>{const O=c.get(g.element);return this._buildPlayer(g,{},O)}));return this._playersById[o]=h,h.onDestroy(()=>this.destroy(o)),this.players.push(h),h}destroy(o){const e=this._getPlayer(o);e.destroy(),delete this._playersById[o];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(o){const e=this._playersById[o];if(!e)throw new Error(`Unable to find the timeline player referenced by ${o}`);return e}listen(o,e,t,s){const a=Sc(e,"","","");return ud(this._getPlayer(o),t,a,s),()=>{}}command(o,e,t,s){if("register"==t)return void this.register(o,s[0]);if("create"==t)return void this.create(o,e,s[0]||{});const a=this._getPlayer(o);switch(t){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const zg="ng-animate-queued",sf="ng-animate-disabled",MC=[],h_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Lw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zs="__ng_removed";class Ig{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function f_(n){return null!=n?n:null}(t?o.value:o),t){const a=Bl(o);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const e=o.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const Ui="void",rf=new Ig(Ui);class Rw{constructor(o,e,t){this.id=o,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,eo(e,this._hostClassName)}listen(o,e,t,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${t}" because the animation trigger "${e}" doesn't exist!`);if(null==t||0==t.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function jl(n){return"start"==n||"done"==n}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const a=yi(this._elementListeners,o,[]),r={name:e,phase:t,callback:s};a.push(r);const c=yi(this._engine.statesByElement,o,{});return c.hasOwnProperty(e)||(eo(o,pd),eo(o,pd+"-"+e),c[e]=rf),()=>{this._engine.afterFlush(()=>{const d=a.indexOf(r);d>=0&&a.splice(d,1),this._triggers[e]||delete c[e]})}}register(o,e){return!this._triggers[o]&&(this._triggers[o]=e,!0)}_getTrigger(o){const e=this._triggers[o];if(!e)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return e}trigger(o,e,t,s=!0){const a=this._getTrigger(e),r=new af(this.id,e,o);let c=this._engine.statesByElement.get(o);c||(eo(o,pd),eo(o,pd+"-"+e),this._engine.statesByElement.set(o,c={}));let d=c[e];const h=new Ig(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c[e]=h,d||(d=rf),h.value!==Ui&&d.value===h.value){if(!function er(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let s=0;s{Rc(o,Le),Jo(o,et)})}return}const $=yi(this._engine.playersByElement,o,[]);$.forEach(ve=>{ve.namespaceId==this.id&&ve.triggerName==e&&ve.queued&&ve.destroy()});let oe=a.matchTransition(d.value,h.value,o,h.params),be=!1;if(!oe){if(!s)return;oe=a.fallbackTransition,be=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:oe,fromState:d,toState:h,player:r,isFallbackTransition:be}),be||(eo(o,zg),r.onStart(()=>{zc(o,zg)})),r.onDone(()=>{let ve=this.players.indexOf(r);ve>=0&&this.players.splice(ve,1);const Le=this._engine.playersByElement.get(o);if(Le){let et=Le.indexOf(r);et>=0&&Le.splice(et,1)}}),this.players.push(r),$.push(r),r}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((e,t)=>{delete e[o]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const t=this._engine.driver.query(o,gd,!0);t.forEach(s=>{if(s[zs])return;const a=this._engine.fetchNamespacesByElement(s);a.size?a.forEach(r=>r.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,t,s){const a=this._engine.statesByElement.get(o),r=new Map;if(a){const c=[];if(Object.keys(a).forEach(d=>{if(r.set(d,a[d].value),this._triggers[d]){const h=this.trigger(o,d,Ui,s);h&&c.push(h)}}),c.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,r),t&&ba(c).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),t=this._engine.statesByElement.get(o);if(e&&t){const s=new Set;e.forEach(a=>{const r=a.name;if(s.has(r))return;s.add(r);const d=this._triggers[r].fallbackTransition,h=t[r]||rf,g=new Ig(Ui),O=new af(this.id,r,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:r,transition:d,fromState:h,toState:g,player:O,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(t.totalAnimations){const a=t.players.length?t.playersByQueriedElement.get(o):[];if(a&&a.length)s=!0;else{let r=o;for(;r=r.parentNode;)if(t.statesByElement.get(r)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)t.markElementAsRemoved(this.id,o,!1,e);else{const a=o[zs];(!a||a===h_)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){eo(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const a=t.element,r=this._elementListeners.get(a);r&&r.forEach(c=>{if(c.name==t.triggerName){const d=Sc(a,t.triggerName,t.fromState.value,t.toState.value);d._data=o,ud(t.player,c.phase,d,c.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const a=t.transition.ast.depCount,r=s.transition.ast.depCount;return 0==a||0==r?a-r:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let e=!1;return this._elementListeners.has(o)&&(e=!0),e=!!this._queue.find(t=>t.element===o)||e,e}}class Ow{constructor(o,e,t){this.bodyNode=o,this.driver=e,this._normalizer=t,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=(s,a)=>{}}_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&o.push(t)})}),o}createNamespace(o,e){const t=new Rw(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[o]=t}_balanceNamespaceList(o,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let a=t;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,o),s=!0;break}s||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(e,o),o}register(o,e){let t=this._namespaceLookup[o];return t||(t=this.createNamespace(o,e)),t}registerTrigger(o,e,t){let s=this._namespaceLookup[o];s&&s.register(e,t)&&this.totalAnimations++}destroy(o,e){if(!o)return;const t=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[o];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,t=this.statesByElement.get(o);if(t){const s=Object.keys(t);for(let a=0;a=0&&this.collectedLeaveElements.splice(r,1)}if(o){const r=this._fetchNamespace(o);r&&r.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),eo(o,sf)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),zc(o,sf))}removeNode(o,e,t,s){if(Ad(e)){const a=o?this._fetchNamespace(o):null;if(a?a.removeNode(e,s):this.markElementAsRemoved(o,e,!1,s),t){const r=this.namespacesByHostElement.get(e);r&&r.id!==o&&r.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(o,e,t,s,a){this.collectedLeaveElements.push(e),e[zs]={namespaceId:o,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,t,s,a){return Ad(e)?this._fetchNamespace(o).listen(e,t,s,a):()=>{}}_buildInstruction(o,e,t,s,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,s,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,gd,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,mg,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ba(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[zs];if(t&&t.setForRemoval){if(o[zs]=h_,t.namespaceId){this.destroyInnerAnimations(o);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(sf))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,s)=>this._balanceNamespaceList(t,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?ba(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,e){const t=new wa,s=[],a=new Map,r=[],c=new Map,d=new Map,h=new Map,g=new Set;this.disabledNodes.forEach(st=>{g.add(st);const ht=this.driver.query(st,".ng-animate-queued",!0);for(let _t=0;_t{const _t=Kh+ve++;be.set(ht,_t),st.forEach(ri=>eo(ri,_t))});const Le=[],et=new Set,Gt=new Set;for(let st=0;stet.add(ri)):Gt.add(ht))}const Bt=new Map,pi=Ng($,Array.from(et));pi.forEach((st,ht)=>{const _t=fd+ve++;Bt.set(ht,_t),st.forEach(ri=>eo(ri,_t))}),o.push(()=>{oe.forEach((st,ht)=>{const _t=be.get(ht);st.forEach(ri=>zc(ri,_t))}),pi.forEach((st,ht)=>{const _t=Bt.get(ht);st.forEach(ri=>zc(ri,_t))}),Le.forEach(st=>{this.processLeaveNode(st)})});const lu=[],Fa=[];for(let st=this._namespaceList.length-1;st>=0;st--)this._namespaceList[st].drainQueuedTransitions(e).forEach(_t=>{const ri=_t.player,es=_t.element;if(lu.push(ri),this.collectedEnterElements.length){const Bs=es[zs];if(Bs&&Bs.setForMove){if(Bs.previousTriggersValues&&Bs.previousTriggersValues.has(_t.triggerName)){const Kd=Bs.previousTriggersValues.get(_t.triggerName),du=this.statesByElement.get(_t.element);du&&du[_t.triggerName]&&(du[_t.triggerName].value=Kd)}return void ri.destroy()}}const qa=!O||!this.driver.containsElement(O,es),Po=Bt.get(es),uu=be.get(es),fn=this._buildInstruction(_t,t,uu,Po,qa);if(fn.errors&&fn.errors.length)return void Fa.push(fn);if(qa)return ri.onStart(()=>Rc(es,fn.fromStyles)),ri.onDestroy(()=>Jo(es,fn.toStyles)),void s.push(ri);if(_t.isFallbackTransition)return ri.onStart(()=>Rc(es,fn.fromStyles)),ri.onDestroy(()=>Jo(es,fn.toStyles)),void s.push(ri);const Wk=[];fn.timelines.forEach(Bs=>{Bs.stretchStartingKeyframe=!0,this.disabledNodes.has(Bs.element)||Wk.push(Bs)}),fn.timelines=Wk,t.append(es,fn.timelines),r.push({instruction:fn,player:ri,element:es}),fn.queriedElements.forEach(Bs=>yi(c,Bs,[]).push(ri)),fn.preStyleProps.forEach((Bs,Kd)=>{const du=Object.keys(Bs);if(du.length){let Zd=d.get(Kd);Zd||d.set(Kd,Zd=new Set),du.forEach(mT=>Zd.add(mT))}}),fn.postStyleProps.forEach((Bs,Kd)=>{const du=Object.keys(Bs);let Zd=h.get(Kd);Zd||h.set(Kd,Zd=new Set),du.forEach(mT=>Zd.add(mT))})});if(Fa.length){const st=[];Fa.forEach(ht=>{st.push(`@${ht.triggerName} has failed due to:\n`),ht.errors.forEach(_t=>st.push(`- ${_t}\n`))}),lu.forEach(ht=>ht.destroy()),this.reportError(st)}const Hs=new Map,el=new Map;r.forEach(st=>{const ht=st.element;t.has(ht)&&(el.set(ht,ht),this._beforeAnimationBuild(st.player.namespaceId,st.instruction,Hs))}),s.forEach(st=>{const ht=st.element;this._getPreviousPlayers(ht,!1,st.namespaceId,st.triggerName,null).forEach(ri=>{yi(Hs,ht,[]).push(ri),ri.destroy()})});const tl=Le.filter(st=>m_(st,d,h)),il=new Map;g_(il,this.driver,Gt,h,ma).forEach(st=>{m_(st,d,h)&&tl.push(st)});const p1=new Map;oe.forEach((st,ht)=>{g_(p1,this.driver,new Set(st),d,"!")}),tl.forEach(st=>{const ht=il.get(st),_t=p1.get(st);il.set(st,Object.assign(Object.assign({},ht),_t))});const Wd=[],Vk=[],Gk={};r.forEach(st=>{const{element:ht,player:_t,instruction:ri}=st;if(t.has(ht)){if(g.has(ht))return _t.onDestroy(()=>Jo(ht,ri.toStyles)),_t.disabled=!0,_t.overrideTotalTime(ri.totalTime),void s.push(_t);let es=Gk;if(el.size>1){let Po=ht;const uu=[];for(;Po=Po.parentNode;){const fn=el.get(Po);if(fn){es=fn;break}uu.push(Po)}uu.forEach(fn=>el.set(fn,es))}const qa=this._buildAnimation(_t.namespaceId,ri,Hs,a,p1,il);if(_t.setRealPlayer(qa),es===Gk)Wd.push(_t);else{const Po=this.playersByElement.get(es);Po&&Po.length&&(_t.parentPlayer=ba(Po)),s.push(_t)}}else Rc(ht,ri.fromStyles),_t.onDestroy(()=>Jo(ht,ri.toStyles)),Vk.push(_t),g.has(ht)&&s.push(_t)}),Vk.forEach(st=>{const ht=a.get(st.element);if(ht&&ht.length){const _t=ba(ht);st.setRealPlayer(_t)}}),s.forEach(st=>{st.parentPlayer?st.syncPlayerEvents(st.parentPlayer):st.destroy()});for(let st=0;st!qa.destroyed);es.length?vC(this,ht,es):this.processLeaveNode(ht)}return Le.length=0,Wd.forEach(st=>{this.players.push(st),st.onDone(()=>{st.destroy();const ht=this.players.indexOf(st);this.players.splice(ht,1)}),st.play()}),Wd}elementContainsData(o,e){let t=!1;const s=e[zs];return s&&s.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(o).elementContainsData(e)||t}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,t,s,a){let r=[];if(e){const c=this.playersByQueriedElement.get(o);c&&(r=c)}else{const c=this.playersByElement.get(o);if(c){const d=!a||a==Ui;c.forEach(h=>{h.queued||!d&&h.triggerName!=s||r.push(h)})}}return(t||s)&&(r=r.filter(c=>!(t&&t!=c.namespaceId||s&&s!=c.triggerName))),r}_beforeAnimationBuild(o,e,t){const a=e.element,r=e.isRemovalTransition?void 0:o,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,g=h!==a,O=yi(t,h,[]);this._getPreviousPlayers(h,g,r,c,e.toState).forEach(oe=>{const be=oe.getRealPlayer();be.beforeDestroy&&be.beforeDestroy(),oe.destroy(),O.push(oe)})}Rc(a,e.fromStyles)}_buildAnimation(o,e,t,s,a,r){const c=e.triggerName,d=e.element,h=[],g=new Set,O=new Set,$=e.timelines.map(be=>{const ve=be.element;g.add(ve);const Le=ve[zs];if(Le&&Le.removedBeforeQueried)return new cd(be.duration,be.delay);const et=ve!==d,Gt=function Hg(n){const o=[];return cf(n,o),o}((t.get(ve)||MC).map(Hs=>Hs.getRealPlayer())).filter(Hs=>!!Hs.element&&Hs.element===ve),Bt=a.get(ve),pi=r.get(ve),lu=Nm(0,this._normalizer,0,be.keyframes,Bt,pi),Fa=this._buildPlayer(be,lu,Gt);if(be.subTimeline&&s&&O.add(ve),et){const Hs=new af(o,c,ve);Hs.setRealPlayer(Fa),h.push(Hs)}return Fa});h.forEach(be=>{yi(this.playersByQueriedElement,be.element,[]).push(be),be.onDone(()=>function Pw(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,be.element,be))}),g.forEach(be=>eo(be,gg));const oe=ba($);return oe.onDestroy(()=>{g.forEach(be=>zc(be,gg)),Jo(d,e.toStyles)}),O.forEach(be=>{yi(s,be,[]).push(oe)}),oe}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new cd(o.duration,o.delay)}}class af{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new cd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>ud(o,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){yi(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function Ad(n){return n&&1===n.nodeType}function p_(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function g_(n,o,e,t,s){const a=[];e.forEach(d=>a.push(p_(d)));const r=[];t.forEach((d,h)=>{const g={};d.forEach(O=>{const $=g[O]=o.computeStyle(h,O,s);(!$||0==$.length)&&(h[zs]=Lw,r.push(h))}),n.set(h,g)});let c=0;return e.forEach(d=>p_(d,a[c++])),r}function Ng(n,o){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==o.length)return e;const s=new Set(o),a=new Map;function r(c){if(!c)return 1;let d=a.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:s.has(h)?1:r(h),a.set(c,d),d}return o.forEach(c=>{const d=r(c);1!==d&&e.get(d).push(c)}),e}function eo(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function zc(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function vC(n,o,e){ba(e).onDone(()=>n.processLeaveNode(o))}function cf(n,o){for(let e=0;es.add(a)):o.set(n,t),e.delete(n),!0}class wd{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,a)=>{},this._transitionEngine=new Ow(o,e,t),this._timelineEngine=new a_(o,e,t),this._transitionEngine.onRemovalComplete=(s,a)=>this.onRemovalComplete(s,a)}registerTrigger(o,e,t,s,a){const r=o+"-"+s;let c=this._triggerCache[r];if(!c){const d=[],h=wg(this._driver,a,d);if(d.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${d.join("\n - ")}`);c=function o_(n,o,e){return new r_(n,o,e)}(s,h,this._normalizer),this._triggerCache[r]=c}this._transitionEngine.registerTrigger(e,s,c)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,s){this._transitionEngine.insertNode(o,e,t,s)}onRemove(o,e,t,s){this._transitionEngine.removeNode(o,e,s||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,s){if("@"==t.charAt(0)){const[a,r]=ya(t);this._timelineEngine.command(a,e,r,s)}else this._transitionEngine.trigger(o,e,t,s)}listen(o,e,t,s,a){if("@"==t.charAt(0)){const[r,c]=ya(t);return this._timelineEngine.listen(r,e,c,a)}return this._transitionEngine.listen(o,e,t,s,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ko=(()=>{class n{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let a=n.initialStylesByElement.get(e);a||n.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Jo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jo(this._element,this._initialStyles),this._endStyles&&(Jo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Rc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Rc(this._element,this._endStyles),this._endStyles=null),Jo(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Is(n){let o=null;const e=Object.keys(n);for(let t=0;to()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,e,t){return o.animate(e,t)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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}_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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(o[t]=this._finished?e[t]:Oc(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class zw{validateStyleProperty(o){return kc(o)}matchesElement(o,e){return!1}containsElement(o,e){return Dc(o,e)}query(o,e,t){return xc(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,s,a,r=[]){const d={duration:t,delay:s,fill:0==s?"both":"forwards"};a&&(d.easing=a);const h={},g=r.filter($=>$ instanceof Bg);(function Vm(n,o){return 0===n||0===o})(t,s)&&g.forEach($=>{let oe=$.currentSnapshot;Object.keys(oe).forEach(be=>h[be]=oe[be])}),e=function AC(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let a=o[0],r=[];if(t.forEach(c=>{a.hasOwnProperty(c)||r.push(c),a[c]=e[c]}),r.length)for(var s=1;sEr($,!1)),h);const O=function tr(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Is(o[0]),o.length>1&&(t=Is(o[o.length-1]))):o&&(e=Is(o)),e||t?new ko(n,e,t):null}(o,e);return new Bg(o,e,d,O)}}let Iw=(()=>{class n extends Xs{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?Om(e):e;return lf(this._renderer,null,t,"register",[s]),new Nw(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Nw extends class mC{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new Hw(this._id,o,e||{},this._renderer)}}class Hw{constructor(o,e,t,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return lf(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,e;return null!==(e=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==e?e:0}}function lf(n,o,e,t,s){return n.setProperty(o,`@@${e}:${t}`,s)}const b_="@.disabled";let y_=(()=>{class n{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(a,r)=>{const c=null==r?void 0:r.parentNode(a);c&&r.removeChild(c,a)}}createRenderer(e,t){const a=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let g=this._rendererCache.get(a);return g||(g=new A_("",a,this.engine),this._rendererCache.set(a,g)),g}const r=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=g=>{Array.isArray(g)?g.forEach(d):this.engine.registerTrigger(r,c,e,g.name,g)};return t.data.animation.forEach(d),new w_(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){e>=0&&et(s)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[r,c]=a;r(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,s]))}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()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(wd),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class A_{constructor(o,e,t){this.namespaceId=o,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,t,s=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,t,s){this.delegate.setAttribute(o,e,t,s)}removeAttribute(o,e,t){this.delegate.removeAttribute(o,e,t)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,t,s){this.delegate.setStyle(o,e,t,s)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==b_?this.disableAnimations(o,!!t):this.delegate.setProperty(o,e,t)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,t){return this.delegate.listen(o,e,t)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class w_ extends A_{constructor(o,e,t,s){super(e,t,s),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==b_?this.disableAnimations(o,t=void 0===t||!!t):this.engine.process(this.namespaceId,o,e.substr(1),t):this.delegate.setProperty(o,e,t)}listen(o,e,t){if("@"==e.charAt(0)){const s=function M_(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function uf(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(a)),this.engine.listen(this.namespaceId,s,a,r,c=>{this.factory.scheduleListenerCallback(c._data||-1,t,c)})}return this.delegate.listen(o,e,t)}}let Bw=(()=>{class n extends wd{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(hd),i.LFG(ef))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Bn=new i.OlP("AnimationModuleType"),Md=[{provide:Xs,useClass:Iw},{provide:ef,useFactory:function v_(){return new xg}},{provide:wd,useClass:Bw},{provide:i.FYo,useFactory:function T_(n,o,e){return new y_(n,o,e)},deps:[Re,wd,i.R0b]}],df=[{provide:hd,useFactory:()=>new zw},{provide:Bn,useValue:"BrowserAnimations"},...Md],C_=[{provide:hd,useClass:Lc},{provide:Bn,useValue:"NoopAnimations"},...Md];let S_=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?C_:df}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:df,imports:[le]}),n})();function k_(n,o){if(1&n&&i._UZ(0,"mat-pseudo-checkbox",4),2&n){const e=i.oxw();i.Q6J("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D_(n,o){if(1&n&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij("(",e.group.label,")")}}const x_=["*"];let jw=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),Yw=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const Vw=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function Uw(){return!0}});let gt=(()=>{class n{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Zu()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(hg),i.LFG(Vw,8),i.LFG(b.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[El],El]}),n})();function ir(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=je(o)}}}function va(n,o){return class extends n{constructor(...e){super(...e),this.defaultColor=o,this.color=o}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function to(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=je(o)}}}function Ic(n,o=0){return class extends n{constructor(...e){super(...e),this._tabIndex=o,this.defaultTabIndex=o}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?on(e):this.defaultTabIndex}}}function Fg(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new De.xQ,this.errorState=!1}updateErrorState(){const o=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==o&&(this.errorState=a,this.stateChanges.next())}}}function R_(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Fi.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(o){o.next(),o.complete()}}}const Gw=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ww(){return(0,i.f3M)(i.soG)}});class Do{constructor(){this._localeChanges=new De.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return null==o||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),s=this.isValid(e);return t&&s?!this.compareDate(o,e):t==s}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const hf=new i.OlP("mat-date-formats"),O_=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ff(n,o){const e=Array(n);for(let t=0;t{class n extends Do{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return ff(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ff(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return ff(7,s=>this._format(t,new Date(2017,0,s+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,s){let a=this._createDateWithOverflow(e,t,s);return a.getMonth(),a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(s,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let s=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(s)!=((this.getMonth(e)+t)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(O_.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,s){const a=new Date;return a.setFullYear(e,t,s),a.setHours(0,0,0,0),a}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const s=new Date;return s.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),s.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(s)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Gw,8),i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Nc=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function vd(n,o,e){n.nativeElement.classList.toggle(o,e)}let z_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();class Yl{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Qw={enterDuration:225,exitDuration:150},I_=Ko({passive:!0}),jg=["mousedown","touchstart"],Yg=["mouseup","mouseleave","touchend","touchcancel"];class Jw{constructor(o,e,t,s){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=oi(t))}fadeInRipple(o,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Qw),t.animation);t.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const r=t.radius||function eM(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+s*s)}(o,e,s),c=o-s.left,d=e-s.top,h=a.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-r+"px",g.style.top=d-r+"px",g.style.height=2*r+"px",g.style.width=2*r+"px",null!=t.color&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(g),function ut(n){window.getComputedStyle(n).getPropertyValue("opacity")}(g),g.style.transform="scale(1)";const O=new Yl(this,g,t);return O.state=0,this._activeRipples.add(O),t.persistent||(this._mostRecentTransientRipple=O),this._runTimeoutOutsideZone(()=>{const $=O===this._mostRecentTransientRipple;O.state=1,!t.persistent&&(!$||!this._isPointerDown)&&O.fadeOut()},h),O}fadeOutRipple(o){const e=this._activeRipples.delete(o);if(o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=o.element,s=Object.assign(Object.assign({},Qw),o.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=oi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(jg))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Yg),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=Pl(o),t=this._lastTouchStartEvent&&Date.now(){!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_runTimeoutOutsideZone(o,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(o,e))}_registerEvents(o){this._ngZone.runOutsideAngular(()=>{o.forEach(e=>{this._triggerElement.addEventListener(e,this,I_)})})}_removeTriggerEvents(){this._triggerElement&&(jg.forEach(o=>{this._triggerElement.removeEventListener(o,this,I_)}),this._pointerUpEventsRegistered&&Yg.forEach(o=>{this._triggerElement.removeEventListener(o,this,I_)}))}}const N_=new i.OlP("mat-ripple-global-options");let Ns=(()=>{class n{constructor(e,t,s,a,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Jw(this,t,e,s)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ei),i.Y36(N_,8),i.Y36(Bn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),io=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt,vl],gt]}),n})(),H_=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),Ul=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt]]}),n})();const Vl=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Ug=new i.OlP("MatOptgroup");let B_=0;class Vg{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let F_=(()=>{class n{constructor(e,t,s,a){this._element=e,this._changeDetectorRef=t,this._parent=s,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+B_++,this.onSelectionChange=new i.vpe,this._stateChanges=new De.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=je(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!cn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Vg(this,e))}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Ca=(()=>{class n extends F_{constructor(e,t,s,a){super(e,t,s,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Vl,8),i.Y36(Ug,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(a){return t._handleKeydown(a)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:x_,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,k_,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,D_,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[H_,b.O5,Ns],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})();function Gg(n,o,e){if(e.length){let t=o.toArray(),s=e.toArray(),a=0;for(let r=0;re+t?Math.max(0,n-t+o):e}let Td=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,b.ez,gt,Ul]]}),n})();function Cd(n,o){}class gf{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const iM={dialogContainer:Ti("dialogContainer",[ii("void, exit",qe({opacity:0,transform:"scale(0.7)"})),ii("enter",qe({transform:"none"})),Ht("* => enter",Ct("150ms cubic-bezier(0, 0, 0.2, 1)",qe({transform:"none",opacity:1}))),Ht("* => void, * => exit",Ct("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",qe({opacity:0})))])};let mf=(()=>{class n extends pa{constructor(e,t,s,a,r,c,d,h){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=r,this._interactivityChecker=c,this._ngZone=d,this._focusMonitor=h,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=g=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(g)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=a}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=jp(),s=this._elementRef.nativeElement;(!t||t===this._document.body||t===s||s.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=jp())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=jp();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(km),i.Y36(i.sBO),i.Y36(b.K0,8),i.Y36(gf),i.Y36(Tc),i.Y36(i.R0b),i.Y36(So))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Yp,7),2&e){let s;i.iGM(s=i.CRH())&&(t._portalOutlet=s.first)}},features:[i.qOj]}),n})(),j_=(()=>{class n extends mf{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&i.WFA("@dialogContainer.start",function(a){return t._onAnimationStart(a)})("@dialogContainer.done",function(a){return t._onAnimationDone(a)}),2&e&&(i.Ikx("id",t._id),i.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),i.d8E("@dialogContainer",t._state))},features:[i.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&i.YNc(0,Cd,0,0,"ng-template",0)},directives:[Yp],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[iM.dialogContainer]}}),n})(),Y_=0;class zi{constructor(o,e,t="mat-dialog-"+Y_++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new De.xQ,this._afterClosed=new De.xQ,this._beforeClosed=new De.xQ,this._state=0,e._id=t,e._animationStateChanged.pipe((0,qt.h)(s=>"opened"===s.state),(0,$t.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,qt.h)(s=>"closed"===s.state),(0,$t.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),o.keydownEvents().pipe((0,qt.h)(s=>27===s.keyCode&&!this.disableClose&&!cn(s))).subscribe(s=>{s.preventDefault(),U_(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():U_(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,qt.h)(e=>"closing"===e.state),(0,$t.q)(1)).subscribe(e=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(o){let e=this._getPositionStrategy();return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(o="",e=""){return this._overlayRef.updateSize({width:o,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(o){return this._overlayRef.addPanelClass(o),this}removePanelClass(o){return this._overlayRef.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function U_(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const Xi=new i.OlP("MatDialogData"),Sd=new i.OlP("mat-dialog-default-options"),V_=new i.OlP("mat-dialog-scroll-strategy"),G_={provide:V_,deps:[$i],useFactory:function nM(n){return()=>n.scrollStrategies.block()}};let W_=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=a,this._overlayContainer=r,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=g,this._animationMode=O,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new De.xQ,this._afterOpenedAtThisLevel=new De.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=Fo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ci(void 0))),this._scrollStrategy=c}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){if(t=function sM(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new gf),t.id&&this.getDialogById(t.id),this._dialogAnimatingOpen)return this._lastDialogRef;const s=this._createOverlay(t),a=this._attachDialogContainer(s,t);if("NoopAnimations"!==this._animationMode){const c=a._animationStateChanged.subscribe(d=>{"opening"===d.state&&(this._dialogAnimatingOpen=!0),"opened"===d.state&&(this._dialogAnimatingOpen=!1,c.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new P.w),this._animationStateSubscriptions.add(c)}const r=this._attachDialogContent(e,a,s,t);return this._lastDialogRef=r,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),a._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new Vn({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:gf,useValue:t}]}),r=new Dl(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,t,s,a){const r=new this._dialogRefConstructor(s,t,a.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new _c(e,null,{$implicit:a.data,dialogRef:r}));else{const c=this._createInjector(a,r,t),d=t.attachComponentPortal(new Dl(e,a.viewContainerRef,c));r.componentInstance=d.instance}return r.updateSize(a.width,a.height).updatePosition(a.position),r}_createInjector(e,t,s){const a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!a||!a.get(Hn,null,i.XFs.Optional))&&r.push({provide:Hn,useValue:{value:e.direction,change:(0,Ke.of)()}}),i.zs3.create({parent:a||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let s=t.length-1;s>-1;s--){let a=t[s];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n}),n})(),Ii=(()=>{class n extends W_{constructor(e,t,s,a,r,c,d,h){super(e,t,a,c,d,r,zi,j_,Xi,h)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($i),i.LFG(i.zs3),i.LFG(b.Ye,8),i.LFG(Sd,8),i.LFG(V_),i.LFG(n,12),i.LFG(Jp),i.LFG(Bn,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),K_=0,Sn=(()=>{class n{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+K_++}ngOnInit(){this._dialogRef||(this._dialogRef=function LC(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?o.find(t=>t.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi,8),i.Y36(i.SBq),i.Y36(Ii))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&i.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Fn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),En=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n})(),oM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ii,G_],imports:[[Ll,Rh,gt],gt]}),n})();var Wg=w(6114);let Dr=(()=>{class n{constructor(e,t,s,a,r){this.injector=e,this.store=t,this.dialog=s,this.route=a,this.oauthService=r,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(ji),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(c=>{c.idpFilter&&(this.filterShortname=c.idpFilter)})}getClientConfig(){const e=this.setIdpFilter(),t=e?{acr_values:e}:{};return this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(t.prompt="consent"),{requestAccessToken:!0,issuer:this.store.get("oidc_client","oauth_authority"),clientId:this.store.get("oidc_client","oauth_client_id"),redirectUri:this.store.get("oidc_client","oauth_redirect_uri"),postLogoutRedirectUri:this.store.get("oidc_client","oauth_post_logout_redirect_uri"),responseType:this.store.get("oidc_client","oauth_response_type"),scope:this.store.get("oidc_client","oauth_scopes"),customQueryParams:t}}setIdpFilter(){const e=location.search.substr(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(a=>{const r=a.split("=");"idpFilter"===r[0]&&t[r[1]]&&(this.filterShortname=r[1],s=t[r[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}startIdpFilterKeeper(){this.router.events.pipe((0,qt.h)(e=>e instanceof Te)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substr(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(()=>this.startRefreshToken())}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,qt.h)(t=>"token_expires"===t.type)).subscribe(()=>{this.oauthService.refreshToken().then(t=>{localStorage.setItem("refresh_token",t.refresh_token)})}),!0))}logout(){sessionStorage.getItem("baPrincipal")?(sessionStorage.removeItem("baPrincipal"),sessionStorage.removeItem("basicUsername"),sessionStorage.removeItem("basicPassword"),sessionStorage.setItem("baLogout","true"),this.router.navigate(["/service-access"])):(localStorage.removeItem("refresh_token"),this.oauthService.logOut())}isLoggedInPromise(){return Promise.resolve(this.isLoggedIn())}isLoggedIn(){return this.oauthService.hasValidAccessToken()}getAuthorizationHeaderValue(){return this.oauthService.hasValidAccessToken()?"Bearer "+this.oauthService.getAccessToken():""}startAuthentication(){this.oauthService.loadDiscoveryDocumentAndLogin()}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const s of t)if(e.startsWith(s))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")?(sessionStorage.setItem("refresh_token",localStorage.getItem("refresh_token")),this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(()=>Promise.resolve()).catch(e=>e)):Promise.resolve()}verifyAuthentication(e,t){return this.tryRefreshToken().then(()=>this.isLoggedInPromise()).then(s=>s?(this.oauthService.loadDiscoveryDocument().then(()=>localStorage.setItem("refresh_token",this.oauthService.getRefreshToken())),!0):this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((a,r)=>r("Invalid path")))}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const e=sessionStorage.getItem("mfa_route");if(e)return this.router.navigate([e],{replaceUrl:!0});let t=sessionStorage.getItem("auth:redirect");const s=sessionStorage.getItem("auth:queryParams");let a=[];s&&(a=s.split("&"));const r={};return a.forEach(c=>{const d=c.split("=");r[d[0]]=d[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),r.idpFilter&&(this.filterShortname=r.idpFilter),this.router.navigate([t],{queryParams:r,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(ti),i.LFG(Ii),i.LFG(Xn),i.LFG(Wg.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function nr(n){return!!n&&(n instanceof Fi.y||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var rM=w(7830);function _f(...n){if(1===n.length){const o=n[0];if((0,ju.k)(o))return Sa(o,null);if((0,rM.K)(o)&&Object.getPrototypeOf(o)===Object.prototype){const e=Object.keys(o);return Sa(e.map(t=>o[t]),e)}}if("function"==typeof n[n.length-1]){const o=n.pop();return Sa(n=1===n.length&&(0,ju.k)(n[0])?n[0]:n,null).pipe((0,pt.U)(e=>o(...e)))}return Sa(n,null)}function Sa(n,o){return new Fi.y(e=>{const t=n.length;if(0===t)return void e.complete();const s=new Array(t);let a=0,r=0;for(let c=0;c{h||(h=!0,r++),s[c]=g},error:g=>e.error(g),complete:()=>{a++,(a===t||!h)&&(r===t&&e.next(o?o.reduce((g,O,$)=>(g[O]=s[$],g),{}):s),e.complete())}}))}})}const lM=new class cM extends A1.v{}(class aM extends Yu.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}schedule(o,e=0){return e>0?super.schedule(o,e):(this.delay=e,this.state=o,this.scheduler.flush(this),this)}execute(o,e){return e>0||this.closed?super.execute(o,e):this._execute(o,e)}requestAsyncId(o,e,t=0){return null!==t&&t>0||null===t&&this.delay>0?super.requestAsyncId(o,e,t):o.flush(this)}});var Kg=w(9312);class bf extends Ys.L{constructor(o,e,t=0){super(o),this.scheduler=e,this.delay=t}static dispatch(o){const{notification:e,destination:t}=o;e.observe(t),this.unsubscribe()}scheduleMessage(o){this.destination.add(this.scheduler.schedule(bf.dispatch,this.delay,new uM(o,this.destination)))}_next(o){this.scheduleMessage(Kg.P.createNext(o))}_error(o){this.scheduleMessage(Kg.P.createError(o)),this.unsubscribe()}_complete(){this.scheduleMessage(Kg.P.createComplete()),this.unsubscribe()}}class uM{constructor(o,e){this.notification=o,this.destination=e}}var Gl=w(5283);class dM extends De.xQ{constructor(o=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,t){super(),this.scheduler=t,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=o<1?1:o,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(o){const e=this._events;e.push(o),e.length>this._bufferSize&&e.shift(),super.next(o)}nextTimeWindow(o){this._events.push(new $_(this._getNow(),o)),this._trimBufferThenGetEvents(),super.next(o)}_subscribe(o){const e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,a=t.length;let r;if(this.closed)throw new hu.N;if(this.isStopped||this.hasError?r=P.w.EMPTY:(this.observers.push(o),r=new Gl.W(this,o)),s&&o.add(o=new bf(o,s)),e)for(let c=0;ce&&(r=Math.max(r,a-e)),r>0&&s.splice(0,r),s}}class $_{constructor(o,e){this.time=o,this.value=e}}function X_(n,o,e){let t;return t=n&&"object"==typeof n?n:{bufferSize:n,windowTime:o,refCount:!1,scheduler:e},s=>s.lift(function Q_({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:o=Number.POSITIVE_INFINITY,refCount:e,scheduler:t}){let s,r,a=0,c=!1,d=!1;return function(g){a++,(!s||c)&&(c=!1,s=new dM(n,o,t),r=g.subscribe({next($){s.next($)},error($){c=!0,s.error($)},complete(){d=!0,r=void 0,s.complete()}}));const O=s.subscribe(this);this.add(()=>{a--,O.unsubscribe(),r&&!d&&e&&0===a&&(r.unsubscribe(),r=void 0,s=void 0)})}}(t))}class Ed{}let Zg=(()=>{class n extends Ed{getTranslation(e){return(0,Ke.of)({})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class $g{}let yf=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Af(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let s,a,r,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(a in r=Object.create(null),n){if(!Af(n[a],o[a]))return!1;r[a]=!0}for(a in o)if(!(a in r)&&void 0!==o[a])return!1;return!0}if(!Array.isArray(o))return!1;if((s=n.length)==o.length){for(a=0;a{wf(o[t])?t in n?e[t]=J_(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class Mf{}let eb=(()=>{class n extends Mf{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let s;return s="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,s}getValue(e,t){let s="string"==typeof t?t.split("."):[t];t="";do{t+=s.shift(),!xr(e)||!xr(e[t])||"object"!=typeof e[t]&&s.length?s.length?t+=".":e=void 0:(e=e[t],t="")}while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,a)=>{let r=this.getValue(t,a);return xr(r)?r:s}):e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Wl{}let tb=(()=>{class n extends Wl{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Xg{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const Qg=new i.OlP("USE_STORE"),Jg=new i.OlP("USE_DEFAULT_LANG"),e0=new i.OlP("DEFAULT_LANGUAGE"),t0=new i.OlP("USE_EXTEND");let Ai=(()=>{class n{constructor(e,t,s,a,r,c=!0,d=!1,h=!1,g){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=c,this.isolate=d,this.extend=h,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},g&&this.setDefaultLang(g)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,$t.q)(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ke.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,$t.q)(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ke.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(X_(1),(0,$t.q)(1));return this.loadingTranslations=t.pipe((0,pt.U)(s=>this.compiler.compileTranslations(s,e)),X_(1),(0,$t.q)(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(s||this.extend)&&this.translations[e]?J_(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let a;if(t instanceof Array){let r={},c=!1;for(let d of t)r[d]=this.getParsedResult(e,d,s),nr(r[d])&&(c=!0);return c?_f(t.map(h=>nr(r[h])?r[h]:(0,Ke.of)(r[h]))).pipe((0,pt.U)(h=>{let g={};return h.forEach((O,$)=>{g[t[$]]=O}),g})):r}if(e&&(a=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===a&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===a){let r={key:t,translateService:this};void 0!==s&&(r.interpolateParams=s),a=this.missingTranslationHandler.handle(r)}return void 0!==a?a:t}get(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Cs.b)(s=>nr(s=this.getParsedResult(s,e,t))?s:(0,Ke.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return nr(s)?s:(0,Ke.of)(s)}}getStreamOnTranslationChange(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');return po(Fo(()=>this.get(e,t)),this.onTranslationChange.pipe((0,mi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return"function"==typeof a.subscribe?a:(0,Ke.of)(a)})))}stream(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');return po(Fo(()=>this.get(e,t)),this.onLangChange.pipe((0,mi.w)(s=>{const a=this.getParsedResult(s.translations,e,t);return nr(a)?a:(0,Ke.of)(a)})))}instant(e,t){if(!xr(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(nr(s)){if(e instanceof Array){let a={};return e.forEach((r,c)=>{a[e[c]]=e[c]}),a}return e}return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xg),i.LFG(Ed),i.LFG(Wl),i.LFG(Mf),i.LFG($g),i.LFG(Jg),i.LFG(Qg),i.LFG(t0),i.LFG(e0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),dt=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let a=r=>{this.value=void 0!==r?r:e,this.lastKey=e,this._ref.markForCheck()};if(s){let r=this.translate.getParsedResult(s,e,t);nr(r.subscribe)?r.subscribe(a):a(r)}this.translate.get(e,t).subscribe(a)}transform(e,...t){if(!e||!e.length)return e;if(Af(e,this.lastKey)&&Af(t,this.lastParams))return this.value;let s;if(xr(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let a=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(a)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(a=>{this.lastKey&&a.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(a=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,a.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai,16),i.Y36(i.sBO,16))},n.\u0275pipe=i.Yjl({name:"translate",type:n,pure:!1}),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),vf=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Ed,useClass:Zg},e.compiler||{provide:Wl,useClass:tb},e.parser||{provide:Mf,useClass:eb},e.missingTranslationHandler||{provide:$g,useClass:yf},Xg,{provide:Qg,useValue:e.isolate},{provide:Jg,useValue:e.useDefaultLang},{provide:t0,useValue:e.extend},{provide:e0,useValue:e.defaultLanguage},Ai]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Ed,useClass:Zg},e.compiler||{provide:Wl,useClass:tb},e.parser||{provide:Mf,useClass:eb},e.missingTranslationHandler||{provide:$g,useClass:yf},{provide:Qg,useValue:e.isolate},{provide:Jg,useValue:e.useDefaultLang},{provide:t0,useValue:e.extend},{provide:e0,useValue:e.defaultLanguage},Ai]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ib=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(e,t){1&e&&(i.TgZ(0,"h2",0),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Fn],pipes:[dt],styles:[""]}),n})();const nb=["mat-button",""],hM=["*"],fM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],pM=va(ir(to(class{constructor(n){this._elementRef=n}})));let Yt=(()=>{class n extends pM{constructor(e,t,s){super(e),this._focusMonitor=t,this._animationMode=s,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const a of fM)this._hasHostAttributes(a)&&this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(t=>this._getHostElement().hasAttribute(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(So),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&i.Gf(Ns,5),2&e){let s;i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(i.uIk("disabled",t.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:nb,ngContentSelectors:hM,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1),i._UZ(3,"span",2)),2&e&&(i.xp6(2),i.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),i.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Ns],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),Lr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt],gt]}),n})();const rb=["connectionContainer"],n0=["inputContainer"],gM=["label"];function mM(n,o){1&n&&(i.ynx(0),i.TgZ(1,"div",14),i._UZ(2,"div",15),i._UZ(3,"div",16),i._UZ(4,"div",17),i.qZA(),i.TgZ(5,"div",18),i._UZ(6,"div",15),i._UZ(7,"div",16),i._UZ(8,"div",17),i.qZA(),i.BQk())}function s0(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",19),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.Hsn(1,1),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function _M(n,o){if(1&n&&(i.ynx(0),i.Hsn(1,2),i.TgZ(2,"span"),i._uU(3),i.qZA(),i.BQk()),2&n){const e=i.oxw(2);i.xp6(3),i.Oqu(e._control.placeholder)}}function ab(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function bM(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function cb(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"label",20,21),i.NdJ("cdkObserveContent",function(){return i.CHM(e),i.oxw().updateOutlineGap()}),i.YNc(2,_M,4,1,"ng-container",12),i.YNc(3,ab,1,0,"ng-content",12),i.YNc(4,bM,2,0,"span",22),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),i.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),i.uIk("for",e._control.id)("aria-owns",e._control.id),i.xp6(2),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function yM(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function lb(n,o){if(1&n&&(i.TgZ(0,"div",25),i._UZ(1,"span",26),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function zC(n,o){if(1&n&&(i.TgZ(0,"div"),i.Hsn(1,5),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState)}}function AM(n,o){if(1&n&&(i.TgZ(0,"div",30),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("id",e._hintLabelId),i.xp6(1),i.Oqu(e.hintLabel)}}function kd(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,AM,2,2,"div",28),i.Hsn(2,6),i._UZ(3,"div",29),i.Hsn(4,7),i.qZA()),2&n){const e=i.oxw();i.Q6J("@transitionMessages",e._subscriptAnimationState),i.xp6(1),i.Q6J("ngIf",e.hintLabel)}}const wM=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Kl=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Dd=0;const ub=new i.OlP("MatError");let Zl=(()=>{class n{constructor(e,t){this.id="mat-error-"+Dd++,e||t.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(i.$8M("aria-live"),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("id",t.id)},inputs:{id:"id"},features:[i._Bn([{provide:ub,useExisting:n}])]}),n})();const db={transitionMessages:Ti("transitionMessages",[ii("enter",qe({opacity:1,transform:"translateY(0%)"})),Ht("void => enter",[qe({opacity:0,transform:"translateY(-5px)"}),Ct("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),hb=0;const fb=new i.OlP("MatHint");let o0=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+hb++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id)("align",null),i.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[i._Bn([{provide:fb,useExisting:n}])]}),n})(),no=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),Ld=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const MM=new i.OlP("MatPrefix"),r0=new i.OlP("MatSuffix");let pb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:r0,useExisting:n}])]}),n})(),gb=0;const CM=va(class{constructor(n){this._elementRef=n}},"primary"),BC=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Rd=new i.OlP("MatFormField");let un=(()=>{class n extends CM{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=a,this._platform=r,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new De.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+gb++,this._labelId="mat-form-field-label-"+gb++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==d,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=je(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(ci(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(it(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(it(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Li.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ci(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ci(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(it(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ha(this._label.nativeElement,"transitionend").pipe((0,$t.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const g=t.querySelectorAll(`${s}, ${a}`);for(let O=0;O0?.75*be+10:0}for(let g=0;g{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,Rl],gt]}),n})();function Rr(n){return n&&"function"==typeof n.connect}class a0{applyChanges(o,e,t,s,a){o.forEachOperation((r,c,d)=>{let h,g;if(null==r.previousIndex){const O=t(r,c,d);h=e.createEmbeddedView(O.templateRef,O.context,O.index),g=1}else null==d?(e.remove(c),g=3):(h=e.get(c),e.move(h,d),g=2);a&&a({context:null==h?void 0:h.context,operation:g,record:r})})}detach(){}}class Gn{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new De.xQ,e&&e.length&&(o?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...o){this._verifyValueAssignment(o),o.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...o){this._verifyValueAssignment(o),o.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(o){this.isSelected(o)?this.deselect(o):this.select(o)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(o){return this._selection.has(o)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(o){this.isSelected(o)||(this._multiple||this._unmarkAll(),this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){}}let bb=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let s of this._listeners)s(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $l=new i.OlP("_ViewRepeater");let Cf=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ea=(()=>{class n extends Cf{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Wn=new i.OlP("NgValueAccessor"),EM={provide:Wn,useExisting:(0,i.Gpc)(()=>bn),multi:!0},DM=new i.OlP("CompositionEventMode");let bn=(()=>{class n extends Cf{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function kM(){const n=(0,b.q)()?(0,b.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(DM,8))},n.\u0275dir=i.lG2({type:n,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(e,t){1&e&&i.NdJ("input",function(a){return t._handleInput(a.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(a){return t._compositionEnd(a.target.value)})},features:[i._Bn([EM]),i.qOj]}),n})();function ka(n){return null==n||0===n.length}function wb(n){return null!=n&&"number"==typeof n.length}const Vi=new i.OlP("NgValidators"),Or=new i.OlP("NgAsyncValidators"),Mb=/^(?=.{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 kn{static min(o){return function c0(n){return o=>{if(ka(o.value)||ka(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(ka(o.value)||ka(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return u0(o)}static requiredTrue(o){return function vb(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function d0(n){return ka(n.value)||Mb.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function h0(n){return o=>ka(o.value)||!wb(o.value)?null:o.value.lengthwb(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function Tb(n){if(!n)return Sf;let o,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),o=new RegExp(e)):(e=n.toString(),o=n),t=>{if(ka(t.value))return null;const s=t.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return Ql(o)}static composeAsync(o){return Sb(o)}}function u0(n){return ka(n.value)?{required:!0}:null}function Sf(n){return null}function Xl(n){return null!=n}function Cb(n){const o=(0,i.QGY)(n)?(0,Mn.D)(n):n;return(0,i.CqO)(o),o}function Ef(n){let o={};return n.forEach(e=>{o=null!=e?Object.assign(Object.assign({},o),e):o}),0===Object.keys(o).length?null:o}function Lo(n,o){return o.map(e=>e(n))}function Od(n){return n.map(o=>function xM(n){return!n.validate}(o)?o:e=>o.validate(e))}function Ql(n){if(!n)return null;const o=n.filter(Xl);return 0==o.length?null:function(e){return Ef(Lo(e,o))}}function p0(n){return null!=n?Ql(Od(n)):null}function Sb(n){if(!n)return null;const o=n.filter(Xl);return 0==o.length?null:function(e){return _f(Lo(e,o).map(Cb)).pipe((0,pt.U)(Ef))}}function g0(n){return null!=n?Sb(Od(n)):null}function Pd(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function zd(n){return n._rawValidators}function Eb(n){return n._rawAsyncValidators}function m0(n){return n?Array.isArray(n)?n:[n]:[]}function Id(n,o){return Array.isArray(n)?n.includes(o):n===o}function _0(n,o){const e=m0(o);return m0(n).forEach(s=>{Id(e,s)||e.push(s)}),e}function kf(n,o){return m0(o).filter(e=>!Id(n,e))}class b0{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(o){this._rawValidators=o||[],this._composedValidatorFn=p0(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=g0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class Ro extends b0{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ls extends b0{get formDirective(){return null}get path(){return null}}class LM{constructor(o){this._cd=o}is(o){var e,t,s;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(s=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===s?void 0:s[o])}}let dn=(()=>{class n extends LM{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ro,2))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.qOj]}),n})(),Jl=(()=>{class n extends LM{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ls,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[i.qOj]}),n})();function xf(n,o){return[...o.path,n]}function Dn(n,o){Ob(n,o),o.valueAccessor.writeValue(n.value),function jM(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Pb(n,o)})}(n,o),function zb(n,o){const e=(t,s)=>{o.valueAccessor.writeValue(t),s&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function w0(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Pb(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function qM(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Pr(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),Da(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Lf(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Ob(n,o){const e=zd(n);null!==o.validator?n.setValidators(Pd(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=Eb(n);null!==o.asyncValidator?n.setAsyncValidators(Pd(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const s=()=>n.updateValueAndValidity();Lf(o._rawValidators,s),Lf(o._rawAsyncValidators,s)}function Da(n,o){let e=!1;if(null!==n){if(null!==o.validator){const s=zd(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.validator);a.length!==s.length&&(e=!0,n.setValidators(a))}}if(null!==o.asyncValidator){const s=Eb(n);if(Array.isArray(s)&&s.length>0){const a=s.filter(r=>r!==o.asyncValidator);a.length!==s.length&&(e=!0,n.setAsyncValidators(a))}}}const t=()=>{};return Lf(o._rawValidators,t),Lf(o._rawAsyncValidators,t),e}function Pb(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ib(n,o){Ob(n,o)}function Rf(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function Pf(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Bb(n,o){if(!o)return null;let e,t,s;return Array.isArray(o),o.forEach(a=>{a.constructor===bn?e=a:function Of(n){return Object.getPrototypeOf(n.constructor)===Ea}(a)?t=a:s=a}),s||t||e||null}function zf(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const xa="VALID",Hd="INVALID",eu="PENDING",Hc="DISABLED";function Fb(n){return(Bd(n)?n.validators:n)||null}function qb(n){return Array.isArray(n)?p0(n):n||null}function v0(n,o){return(Bd(o)?o.asyncValidators:n)||null}function T0(n){return Array.isArray(n)?g0(n):n||null}function Bd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const C0=n=>n instanceof us,Fd=n=>n instanceof qd,S0=n=>n instanceof D0;function jb(n){return C0(n)?n.value:n.getRawValue()}function Yb(n,o){const e=Fd(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[o])throw new i.vHH(1001,"")}function E0(n,o){Fd(n),n._forEachChild((t,s)=>{if(void 0===o[s])throw new i.vHH(1002,"")})}class k0{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=e,this._composedValidatorFn=qb(this._rawValidators),this._composedAsyncValidatorFn=T0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===xa}get invalid(){return this.status===Hd}get pending(){return this.status==eu}get disabled(){return this.status===Hc}get enabled(){return this.status!==Hc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=qb(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=T0(o)}addValidators(o){this.setValidators(_0(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(_0(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(kf(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(kf(o,this._rawAsyncValidators))}hasValidator(o){return Id(this._rawValidators,o)}hasAsyncValidator(o){return Id(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=eu,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=Hc,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=xa,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xa||this.status===eu)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Hc:xa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=eu,this._hasOwnPendingAsyncValidator=!0;const e=Cb(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){return function M0(n,o,e){if(null==o||(Array.isArray(o)||(o=o.split(e)),Array.isArray(o)&&0===o.length))return null;let t=n;return o.forEach(s=>{t=Fd(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:S0(t)&&t.at(s)||null}),t}(this,o,".")}getError(o,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Hc:this.errors?Hd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(eu)?eu:this._anyControlsHaveStatus(Hd)?Hd:xa}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){Bd(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class us extends k0{constructor(o=null,e,t){super(Fb(e),v0(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bd(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){zf(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){zf(this._onDisabledChange,o)}_forEachChild(o){}_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(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class qd extends k0{constructor(o,e,t){super(Fb(e),v0(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,t={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){E0(this,o),Object.keys(o).forEach(t=>{Yb(this,t),this.controls[t].setValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(o[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=jb(e),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&o(t,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&o(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,e,t)=>((e.enabled||this.disabled)&&(o[t]=e.value),o))}_reduceChildren(o,e){let t=o;return this._forEachChild((s,a)=>{t=e(t,s,a)}),t}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class D0 extends k0{constructor(o,e,t){super(Fb(e),v0(t,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,t={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){E0(this,o),o.forEach((t,s)=>{Yb(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,s)=>{t.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>jb(o))}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,t)=>{o(e,t)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Ub={provide:ls,useExisting:(0,i.Gpc)(()=>Bc)},jd=(()=>Promise.resolve(null))();let Bc=(()=>{class n extends ls{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new qd({},p0(e),g0(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){jd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Dn(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){jd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){jd.then(()=>{const t=this._findContainer(e.path),s=new qd({});Ib(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){jd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){jd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Pf(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Vi,10),i.Y36(Or,10))},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Ub]),i.qOj]}),n})();const jC={provide:Ro,useExisting:(0,i.Gpc)(()=>zr)},WM=(()=>Promise.resolve(null))();let zr=(()=>{class n extends Ro{constructor(e,t,s,a,r){super(),this._changeDetectorRef=r,this.control=new us,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Bb(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Rf(e,this.viewModel)&&(this._updateValue(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(e){this.viewModel=e,this.update.emit(e)}_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(){Dn(this.control,this),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(e){WM.then(()=>{var t;this.control.setValue(e,{emitViewToModelChange:!1}),null===(t=this._changeDetectorRef)||void 0===t||t.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=""===t||t&&"false"!==t;WM.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(e){return this._parent?xf(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ls,9),i.Y36(Vi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(i.sBO,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([jC]),i.qOj,i.TTD]}),n})(),tu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const YC={provide:Wn,useExisting:(0,i.Gpc)(()=>iu),multi:!0};let iu=(()=>{class n extends Ea{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.NdJ("input",function(a){return t.onChange(a.target.value)})("blur",function(){return t.onTouched()})},features:[i._Bn([YC]),i.qOj]}),n})(),Vb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Hf=new i.OlP("NgModelWithFormControlWarning"),UC={provide:Ro,useExisting:(0,i.Gpc)(()=>so)};let so=(()=>{class n extends Ro{constructor(e,t,s,a){super(),this._ngModelWarningConfig=a,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Bb(0,s)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Pr(t,this,!1),Dn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Rf(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(Vi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(Hf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([UC]),i.qOj,i.TTD]}),n})();const Bf={provide:ls,useExisting:(0,i.Gpc)(()=>Ir)};let Ir=(()=>{class n extends ls{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Da(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Dn(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Pr(e.control||null,e,!1),zf(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Pf(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(Pr(t||null,e),C0(s)&&(Dn(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Ib(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function YM(n,o){return Da(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ob(this.form,this),this._oldForm&&Da(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Vi,10),i.Y36(Or,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(a){return t.onSubmit(a)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Bf]),i.qOj,i.TTD]}),n})();const $M={provide:Ro,useExisting:(0,i.Gpc)(()=>R0)};let R0=(()=>{class n extends Ro{constructor(e,t,s,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Bb(0,a)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Rf(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return xf(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(i.Y36(ls,13),i.Y36(Vi,10),i.Y36(Or,10),i.Y36(Wn,10),i.Y36(Hf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([$M]),i.qOj,i.TTD]}),n})(),Fc=(()=>{class n{constructor(){this._validator=Sf}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Sf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();const WC={provide:Vi,useExisting:(0,i.Gpc)(()=>Ms),multi:!0};let Ms=(()=>{class n extends Fc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function Qb(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>u0}enabled(e){return e}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([WC]),i.qOj]}),n})(),N0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Vb]]}),n})(),ny=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[N0]}),n})(),su=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Hf,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[N0]}),n})(),KC=(()=>{class n{group(e,t=null){const s=this._reduceControls(e);let c,a=null,r=null;return null!=t&&(function sy(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(a=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,c=null!=t.updateOn?t.updateOn:void 0):(a=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new qd(s,{asyncValidators:r,updateOn:c,validators:a})}control(e,t,s){return new us(e,t,s)}array(e,t,s){const a=e.map(r=>this._createControl(r));return new D0(a,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return C0(e)||Fd(e)||S0(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:su}),n})();const $C=["trigger"],XC=["panel"];function oy(n,o){if(1&n&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.placeholder)}}function cv(n,o){if(1&n&&(i.TgZ(0,"span",12),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.triggerValue)}}function lv(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function uv(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,cv,2,1,"span",10),i.YNc(2,lv,1,0,"ng-content",11),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngSwitch",!!e.customTrigger),i.xp6(2),i.Q6J("ngSwitchCase",!0)}}function QC(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(s){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(s.toState)})("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)}),i.Hsn(3,1),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@transformPanelWrap",void 0),i.xp6(1),i.Gre("mat-select-panel ",e._getPanelTheme(),""),i.Udp("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),i.Q6J("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),i.uIk("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const JC=[[["mat-select-trigger"]],"*"],eS=["mat-select-trigger","*"],dv={transformPanelWrap:Ti("transformPanelWrap",[Ht("* => void",Eo("@transformPanel",[zm()],{optional:!0}))]),transformPanel:Ti("transformPanel",[ii("void",qe({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ii("showing",qe({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ii("showing-multiple",qe({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ht("void => *",Ct("120ms cubic-bezier(0, 0, 0.2, 1)")),Ht("* => void",Ct("100ms 25ms linear",qe({opacity:0})))])};let ry=0;const cy=new i.OlP("mat-select-scroll-strategy"),F0=new i.OlP("MAT_SELECT_CONFIG"),Wf={provide:cy,deps:[$i],useFactory:function B0(n){return()=>n.scrollStrategies.reposition()}};class iS{constructor(o,e){this.source=o,this.value=e}}const nS=to(Ic(ir(Fg(class{constructor(n,o,e,t,s){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=s}})))),sS=new i.OlP("MatSelectTrigger");let ly=(()=>{class n extends nS{constructor(e,t,s,a,r,c,d,h,g,O,$,oe,be,ve){var Le,et,Gt;super(r,a,d,h,O),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=s,this._dir=c,this._parentFormField=g,this._liveAnnouncer=be,this._defaultOptions=ve,this._panelOpen=!1,this._compareWith=(Bt,pi)=>Bt===pi,this._uid="mat-select-"+ry++,this._triggerAriaLabelledBy=null,this._destroy=new De.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ry++,this._panelDoneAnimatingStream=new De.xQ,this._overlayPanelClass=(null===(Le=this._defaultOptions)||void 0===Le?void 0:Le.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Gt=null===(et=this._defaultOptions)||void 0===et?void 0:et.disableOptionCentering)&&void 0!==Gt&&Gt,this.ariaLabel="",this.optionSelectionChanges=Fo(()=>{const Bt=this.options;return Bt?Bt.changes.pipe(ci(Bt),(0,mi.w)(()=>(0,Li.T)(...Bt.map(pi=>pi.onSelectionChange)))):this._ngZone.onStable.pipe((0,$t.q)(1),(0,mi.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,qt.h)(Bt=>Bt),(0,pt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,qt.h)(Bt=>!Bt),(0,pt.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ve?void 0:ve.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ve.typeaheadDebounceInterval),this._scrollStrategyFactory=oe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt($)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=je(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=je(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=on(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Gn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Yh(),it(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(it(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ci(null),it(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,s=40===t||38===t||37===t||39===t,a=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&a&&!cn(e)||(this.multiple||e.altKey)&&s)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;r.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,s=e.keyCode,a=40===s||38===s,r=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(r||13!==s&&32!==s||!t.activeItem||cn(e))if(!r&&this._multiple&&65===s&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,$t.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectValue(t)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,e)}catch(a){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new Uh(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(it(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(it(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=(0,Li.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(it(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Li.T)(...this.options.map(t=>t._stateChanges)).pipe(it(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const s=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(s!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),s!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,s)=>this.sortComparator?this.sortComparator(t,s,e):e.indexOf(t)-e.indexOf(s)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let s=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ws),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Nc),i.Y36(i.SBq),i.Y36(Hn,8),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Rd,8),i.Y36(Ro,10),i.$8M("tabindex"),i.Y36(cy),i.Y36(gC),i.Y36(F0,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf($C,5),i.Gf(XC,5),i.Gf(sw,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.trigger=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first),i.iGM(s=i.CRH())&&(t._overlayDir=s.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.qOj,i.TTD]}),n})(),Kf=(()=>{class n extends ly{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,s){const a=this._getItemHeight();return Math.min(Math.max(0,a*e-t+a/2),s)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(it(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Gg(e,this.options,this.optionGroups),s=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:q_((e+t)*s,s,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new iS(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),s=this._isRtl(),a=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let h=this._selectionModel.selected[0]||this.options.first;r=h&&h.group?32:16}s||(r*=-1);const c=0-(e.left+r-(s?a:0)),d=e.right+r-t.width+(s?0:a);c>0?r+=c+8:d>0&&(r-=d+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,s){const a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,c=Math.floor(256/a);let d;return this.disableOptionCentering?0:(d=0===this._scrollTop?e*a:this._scrollTop===s?(e-(this._getItemCount()-c))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*d-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),s=this._viewportRuler.getViewportSize(),a=this._triggerRect.top-8,r=s.height-this._triggerRect.bottom-8,c=Math.abs(this._offsetY),h=Math.min(this._getItemCount()*t,256)-c-this._triggerRect.height;h>r?this._adjustPanelUp(h,r):c>a?this._adjustPanelDown(c,a,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const s=Math.round(e-t);this._scrollTop-=s,this._offsetY-=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,s){const a=Math.round(e-t);if(this._scrollTop+=a,this._offsetY+=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=s)return this._scrollTop=s,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),s=Math.min(t*e,256),r=t*e-s;let c;c=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),c+=Gg(c,this.options,this.optionGroups);const d=s/2;this._scrollTop=this._calculateOverlayScroll(c,d,r),this._offsetY=this._calculateOverlayOffsetY(c,d,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,sS,5),i.Suo(s,Ca,5),i.Suo(s,Ug,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.customTrigger=a.first),i.iGM(a=i.CRH())&&(t.options=a),i.iGM(a=i.CRH())&&(t.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(i.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),i.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i._Bn([{provide:xd,useExisting:n},{provide:Vl,useExisting:n}]),i.qOj],ngContentSelectors:eS,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(i.F$t(JC),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,oy,2,1,"span",3),i.YNc(5,uv,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,QC,4,14,"ng-template",7),i.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const s=i.MAs(1);i.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),i.xp6(3),i.Q6J("ngSwitch",t.empty),i.uIk("id",t._valueId),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(3),i.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[gm,b.RF,b.n9,b.ED,sw,b.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[dv.transformPanelWrap,dv.transformPanel]},changeDetection:0}),n})(),q0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wf],imports:[[b.ez,Ll,Td,gt],Cn,xo,Td,gt]}),n})();const uy=new Set;let Yc,dy=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hv}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function hy(n){if(!uy.has(n))try{Yc||(Yc=document.createElement("style"),Yc.setAttribute("type","text/css"),document.head.appendChild(Yc)),Yc.sheet&&(Yc.sheet.insertRule(`@media ${n} {body{ }}`,0),uy.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function hv(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let fv=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new De.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return j0(Mr(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=j0(Mr(e)).map(r=>this._registerQuery(r).observable);let a=(0,Vr.aj)(s);return a=po(a.pipe((0,$t.q)(1)),a.pipe(_m(1),(0,qh.b)(0))),a.pipe((0,pt.U)(r=>{const c={matches:!1,breakpoints:{}};return r.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),a={observable:new Fi.y(r=>{const c=d=>this._zone.run(()=>r.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(ci(t),(0,pt.U)(({matches:r})=>({query:e,matches:r})),it(this._destroySubject)),mql:t};return this._queries.set(e,a),a}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(dy),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function j0(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const rS={tooltipState:Ti("state",[ii("initial, void, hidden",qe({opacity:0,transform:"scale(0)"})),ii("visible",qe({transform:"scale(1)"})),Ht("* => visible",Ct("200ms cubic-bezier(0, 0, 0.2, 1)",Sr([qe({opacity:0,transform:"scale(0)",offset:0}),qe({opacity:.5,transform:"scale(0.99)",offset:.5}),qe({opacity:1,transform:"scale(1)",offset:1})]))),Ht("* => hidden",Ct("100ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:0})))])},py="tooltip-panel",gy=Ko({passive:!0}),gv=new i.OlP("mat-tooltip-scroll-strategy"),_v={provide:gv,deps:[$i],useFactory:function mv(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},bv=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function yv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Av=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=a,this._ngZone=r,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=O,this._defaultOptions=$,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new De.xQ,this._scrollStrategy=g,this._document=oe,$&&($.position&&(this.position=$.position),$.touchGestures&&(this.touchGestures=$.touchGestures)),O.change.pipe(it(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=on(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=on(e)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(it(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,s])=>{e.removeEventListener(t,s,gy)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Dl(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return t.positionChanges.pipe(it(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:`${this._cssClassPrefix}-${py}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(it(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(it(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(it(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!cn(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),a=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),a.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),a.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t||"below"==t?s={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={originX:"end",originY:"center"});const{x:a,y:r}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:a,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let s;"above"==t?s={overlayX:"center",overlayY:"bottom"}:"below"==t?s={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?s={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(s={overlayX:"start",overlayY:"center"});const{x:a,y:r}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:a,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,$t.q)(1),it(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){const{overlayY:t,originX:s,originY:a}=e;let r;if(r="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===a?"above":"below",r!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${py}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,s])=>{this._elementRef.nativeElement.addEventListener(t,s,gy)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),s=this._elementRef.nativeElement;t!==s&&!s.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,s=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===e||!t.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),vs=(()=>{class n extends Av{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){super(e,t,s,a,r,c,d,h,g,O,$,oe),this._tooltipComponent=Mv}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(Ei),i.Y36(sd),i.Y36(So),i.Y36(gv),i.Y36(Hn,8),i.Y36(bv,8),i.Y36(b.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),wv=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new De.xQ}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n}),n})(),Mv=(()=>{class n extends wv{constructor(e,t){super(e),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(fv))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&i.Udp("zoom","visible"===t._visibility?1:null)},features:[i.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(a){return t._animationDone(a)}),i.ALo(1,"async"),i._uU(2),i.qZA()),2&e){let s;i.ekj("mat-tooltip-handset",null==(s=i.lcZ(1,5,t._isHandset))?null:s.matches),i.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),i.xp6(2),i.Oqu(t.message)}},directives:[b.mk],pipes:[b.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[rS.tooltipState]},changeDetection:0}),n})(),U0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[_v],imports:[[yw,b.ez,Ll,gt],gt,Cn]}),n})();function cS(n,o){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function lS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(s){return i.CHM(e),i.oxw(2)._changePageSize(s.value)}),i.YNc(2,cS,2,2,"mat-option",18),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("appearance",e._formFieldAppearance)("color",e.color),i.xp6(1),i.Q6J("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",e._displayedPageSizeOptions)}}function uS(n,o){if(1&n&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Oqu(e.pageSize)}}function dS(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,lS,3,6,"mat-form-field",14),i.YNc(4,uS,2,1,"div",15),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",e._displayedPageSizeOptions.length<=1)}}function vv(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){return i.CHM(e),i.oxw().firstPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i.uIk("aria-label",e._intl.firstPageLabel)}}function hS(n,o){if(1&n){const e=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().lastPage()}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i.uIk("aria-label",e._intl.lastPageLabel)}}let V0=(()=>{class n{constructor(){this.changes=new De.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,s)=>{if(0==s||0==t)return`0 of ${s}`;const a=e*t;return`${a+1} \u2013 ${a<(s=Math.max(s,0))?Math.min(a+t,s):a+t} of ${s}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pS={provide:V0,deps:[[new i.FiY,new i.tp0,V0]],useFactory:function fS(n){return n||new V0}},f=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),p=ir(R_(class{}));let m=(()=>{class n extends p{constructor(e,t,s){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.vpe,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:a,pageSizeOptions:r,hidePageSize:c,showFirstLastButtons:d}=s;null!=a&&(this._pageSize=a),null!=r&&(this._pageSizeOptions=r),null!=c&&(this._hidePageSize=c),null!=d&&(this._showFirstLastButtons=d)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(on(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=on(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(on(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>on(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=je(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=je(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[i.qOj]}),n})(),y=(()=>{class n extends m{constructor(e,t,s){super(e,t,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(V0),i.Y36(i.sBO),i.Y36(f,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,dS,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,vv,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return t.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return t.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA(),i.qZA(),i.YNc(13,hS,3,5,"button",11),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",!t.hidePageSize),i.xp6(3),i.hij(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),i.xp6(1),i.Q6J("ngIf",t.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i.uIk("aria-label",t._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i.uIk("aria-label",t._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",t.showFirstLastButtons))},directives:[un,Kf,Ca,Yt,b.O5,b.sg,vs],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n})(),C=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[pS],imports:[[b.ez,Lr,q0,U0,gt]]}),n})();var E=w(943);const x=["mat-menu-item",""];function H(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const j=["*"];function J(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(s){return i.CHM(e),i.oxw()._handleKeydown(s)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(s){return i.CHM(e),i.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return i.CHM(e),i.oxw()._onAnimationDone(s)}),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),i.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ie={transformMenu:Ti("transformMenu",[ii("void",qe({opacity:0,transform:"scale(0.8)"})),Ht("void => enter",Ct("120ms cubic-bezier(0, 0, 0.2, 1)",qe({opacity:1,transform:"scale(1)"}))),Ht("* => void",Ct("100ms 25ms linear",qe({opacity:0})))]),fadeInItems:Ti("fadeInItems",[ii("showing",qe({opacity:1})),Ht("void => *",[qe({opacity:0}),Ct("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ne=new i.OlP("MatMenuContent"),hs=new i.OlP("MAT_MENU_PANEL"),Uc=to(ir(class{}));let Vc=(()=>{class n extends Uc{constructor(e,t,s,a,r){var c;super(),this._elementRef=e,this._focusMonitor=s,this._parentMenu=a,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new De.xQ,this._focused=new De.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(c=null==a?void 0:a.addItem)||void 0===c||c.call(a,this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const t=this._elementRef.nativeElement.cloneNode(!0),s=t.querySelectorAll("mat-icon, .material-icons");for(let a=0;a{class n{constructor(e,t,s){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=P.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new De.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+W0++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=je(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=je(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new od(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ci(this._directDescendantItems),(0,mi.w)(e=>(0,Li.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ci(this._directDescendantItems),(0,mi.w)(t=>(0,Li.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:cn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===t||40===t)&&s.setFocusOrigin("keyboard"),void s.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let s=this._directDescendantItems.first._getHostElement().parentElement;for(;s;){if("menu"===s.getAttribute("role")){s.focus();break}s=s.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,a=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===t,s["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ci(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36($f))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ne,5),i.Suo(s,Vc,5),i.Suo(s,Vc,4)),2&e){let a;i.iGM(a=i.CRH())&&(t.lazyContent=a.first),i.iGM(a=i.CRH())&&(t._allItems=a),i.iGM(a=i.CRH())&&(t.items=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let s;i.iGM(s=i.CRH())&&(t.templateRef=s.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Xf=(()=>{class n extends Gc{constructor(e,t,s){super(e,t,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36($f))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&i.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i._Bn([{provide:hs,useExisting:n}]),i.qOj],ngContentSelectors:j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,J,3,6,"ng-template"))},directives:[b.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[ie.transformMenu,ie.fadeInItems]},changeDetection:0}),n})();const Qf=new i.OlP("mat-menu-scroll-strategy"),Z0={provide:Qf,deps:[$i],useFactory:function K0(n){return()=>n.scrollStrategies.reposition()}},mS=Ko({passive:!0});let vD=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.w.EMPTY,this._hoverSubscription=P.w.EMPTY,this._menuCloseSubscription=P.w.EMPTY,this._handleTouchStart=g=>{ad(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new i.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=r instanceof Gc?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,mS),c&&(c._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mS),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig(),s=t.positionStrategy;this._setPosition(s),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Gc&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(it(this.menu.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Gc?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,qt.h)(s=>"void"===s.toState),(0,$t.q)(1),it(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Vn({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[a,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[c,d]=[a,r],[h,g]=[t,s],O=0;this.triggersSubmenu()?(g=t="before"===this.menu.xPosition?"start":"end",s=h="end"===t?"start":"end",O="bottom"===a?8:-8):this.menu.overlapTrigger||(c="top"===a?"bottom":"top",d="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:c,overlayX:h,overlayY:a,offsetY:O},{originX:s,originY:c,overlayX:g,overlayY:a,offsetY:O},{originX:t,originY:d,overlayX:h,overlayY:r,offsetY:-O},{originX:s,originY:d,overlayX:g,overlayY:r,offsetY:-O}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ke.of)(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,qt.h)(r=>r!==this._menuItemInstance),(0,qt.h)(()=>this._menuOpen)):(0,Ke.of)();return(0,Li.T)(e,s,a,t)}_handleMousedown(e){Pl(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;(13===t||32===t)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,qt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,E.g)(0,Yi)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Gc&&this.menu._isAnimating?this.menu._animationDone.pipe((0,$t.q)(1),(0,E.g)(0,Yi),it(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new _c(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($i),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(Qf),i.Y36(hs,8),i.Y36(Vc,10),i.Y36(Hn,8),i.Y36(So))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("mousedown",function(a){return t._handleMousedown(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),_S=(()=>{class n extends vD{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[i.qOj]}),n})(),Tv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Z0],imports:[[b.ez,gt,io,Ll],Cn,gt]}),n})();var my=w(1737),TD=w(2474);const CD=["*"];let _y;function $0(n){var o;return(null===(o=function SD(){if(void 0===_y&&(_y=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(_y=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return _y}())||void 0===o?void 0:o.createHTML(n))||n}function bS(n){return Error(`Unable to find icon with the name "${n}"`)}function yS(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function AS(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Ud{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let X0=(()=>{class n{constructor(e,t,s,a){this._httpClient=e,this._sanitizer=t,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=s}addSvgIcon(e,t,s){return this.addSvgIconInNamespace("",e,t,s)}addSvgIconLiteral(e,t,s){return this.addSvgIconLiteralInNamespace("",e,t,s)}addSvgIconInNamespace(e,t,s,a){return this._addSvgIconConfig(e,t,new Ud(s,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,a){const r=this._sanitizer.sanitize(i.q3G.HTML,s);if(!r)throw AS(s);const c=$0(r);return this._addSvgIconConfig(e,t,new Ud("",c,a))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,s){return this._addSvgIconSetConfig(e,new Ud(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const a=this._sanitizer.sanitize(i.q3G.HTML,t);if(!a)throw AS(t);const r=$0(a);return this._addSvgIconSetConfig(e,new Ud("",r,s))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,e);if(!t)throw yS(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ke.of)(by(s)):this._loadSvgIconFromConfig(new Ud(e,null)).pipe((0,qi.b)(a=>this._cachedIconsByUrl.set(t,a)),(0,pt.U)(a=>by(a)))}getNamedSvgIcon(e,t=""){const s=wS(t,e);let a=this._svgIconConfigs.get(s);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(t,e),a)return this._svgIconConfigs.set(s,a),this._getSvgFromConfig(a);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,my._)(bS(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ke.of)(by(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,pt.U)(t=>by(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ke.of)(s):_f(t.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,On.K)(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),(0,Ke.of)(null)})))).pipe((0,pt.U)(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw bS(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const a=t[s];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(r,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,qi.b)(t=>e.svgText=t),(0,pt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ke.of)(null):this._fetchIcon(e).pipe((0,qi.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const a=e.querySelector(`[id="${t}"]`);if(!a)return null;const r=a.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,s);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),s);const c=this._svgElementFromString($0(""));return c.appendChild(r),this._setSvgAttributes(c,s)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const s=t.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(e){const t=this._svgElementFromString($0("")),s=e.attributes;for(let a=0;a$0(g)),V(()=>this._inProgressUrlFetches.delete(c)),(0,TD.B)());return this._inProgressUrlFetches.set(c,h),h}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(wS(e,t),s),this}_addSvgIconSetConfig(e,t){const s=this._iconSetConfigs.get(e);return s?s.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let s=0;so?o.pathname+o.search:""}}}),MS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],OD=MS.map(n=>`[${n}]`).join(", "),PD=/^url\(['"]?#(.*?)['"]?\)$/;let xn=(()=>{class n extends xD{constructor(e,t,s,a,r){super(e),this._iconRegistry=t,this._location=a,this._errorHandler=r,this._inline=!1,this._currentIconFetch=P.w.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=je(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let a=0;a{s.forEach(r=>{a.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(OD),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=t[a],d=c.getAttribute(r),h=d?d.match(PD):null;if(h){let g=s.get(c);g||(g=[],s.set(c,g)),g.push({name:r,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,s]=this._splitIconName(e);t&&(this._svgNamespace=t),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,t).pipe((0,$t.q)(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${a.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(X0),i.$8M("aria-hidden"),i.Y36(LD),i.Y36(i.qLn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),i.ekj("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:CD,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),Jf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})(),vS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[C,Tv,Jf,Lr,vf,b.ez]]}),n})();var zD=w(655),ID=w(9441);const Q0=[5,10,25,100];function Ri(){const n=new gf;return n.disableClose=!0,n.autoFocus=!1,n}function Vd(n){return"virt"===n.namespace.split(":")[4]}const GD=new Intl.Collator("cs",{numeric:!0});function yy(n,o,e,t){const s=o.active,a=o.direction;return s&&""!==a?n.sort((r,c)=>{const d=e(r,s,t),h=e(c,s,t);return GD.compare(d,h)*("asc"===a?1:-1)}):n}function Ay(n,o,e,t,s,a){o=o.toLowerCase();let r="";return e.forEach(c=>{r+=";"+t(n,c,s)}),a&&(r+=";"+t(n,"uuid",s)),-1!==r.toLowerCase().indexOf(o)}function J0(n,o,e,t){const s=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(r=>!a.includes(r)),n.forEach(r=>{const c={};o.forEach(d=>{var h;c[d]=(null!==(h=e(r,d,t))&&void 0!==h?h:"").split('"').join("''").trim()}),s.push(c)}),s}function e1(n,o="csv",e="export"){if("csv"===o){const t=(d,h)=>null===h?"":h,s=Object.keys(n[0]),a=n.map(d=>s.map(h=>JSON.stringify(d[h],t)).join(","));a.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const r=a.join("\r\n"),c=new Blob([r],{type:"text/csv"});(0,ID.saveAs)(c,`${e}.${o}`)}}const TS="GUI_CONFIG.PREF_PAGE_SIZE.";let KD=(()=>{class n{constructor(){}getString(e){return localStorage.getItem(e)}getNumber(e){return parseInt(localStorage.getItem(e),10)}setNumber(e,t){localStorage.setItem(e,t.toString())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ZD=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(TS+e);if(!isNaN(t))return t;const s=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(s)?10:s}setTablePageSize(e,t){this.guiConfigService.setNumber(TS+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(KD))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$D=(()=>{class n{constructor(){this.exportData=new i.vpe}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-options"]],outputs:{exportData:"exportData"},decls:13,vars:5,consts:[[1,"position-right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["exportOptions","matMenu"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.TgZ(2,"mat-icon"),i._uU(3,"more_vert"),i.qZA(),i.qZA(),i.TgZ(4,"mat-menu",null,2),i.TgZ(6,"button",3),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA(),i.TgZ(9,"mat-menu",null,4),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.exportData.emit("csv")}),i._uU(12,"Csv"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(5),a=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(5),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[Yt,_S,xn,Xf,Vc],pipes:[dt],styles:[""]}),n})();function XD(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}function QD(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(s){return i.CHM(e),i.oxw().exportData.emit(s)}),i.qZA()}}const JD=["*"];let La=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Q0,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}set matPaginator(e){this.paginator=e}pageChangedTop(e){this.pageSize=e.pageSize,this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}pageChangedBottom(e){this.paginator.pageSize=e.pageSize,this.paginator.pageIndex=e.pageIndex,this.paginator.page.emit(e),this.pageSize=e.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,e.pageSize)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ZD))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(y,7),2&e){let s;i.iGM(s=i.CRH())&&(t.matPaginator=s.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:JD,decls:9,vars:9,consts:[[1,"card-body","pt-0"],[1,"row","justify-content-end","align-items-center"],[3,"length","pageSizeOptions","pageSize","page"],[3,"exportData",4,"ngIf"],[1,"overflow-auto","border-top"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[3,"exportData"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"mat-paginator",2),i.NdJ("page",function(a){return t.pageChangedTop(a)}),i.qZA(),i.YNc(3,XD,1,0,"perun-web-apps-table-options",3),i.qZA(),i.TgZ(4,"div",4),i.Hsn(5),i.qZA(),i.TgZ(6,"div",1),i.TgZ(7,"mat-paginator",5),i.NdJ("page",function(a){return t.pageChangedBottom(a)}),i.qZA(),i.YNc(8,QD,1,0,"perun-web-apps-table-options",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("length",t.dataLength)("pageSizeOptions",t.pageSizeOptions)("pageSize",t.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport),i.xp6(4),i.Q6J("length",t.paginator.length)("pageIndex",t.paginator.pageIndex)("pageSizeOptions",t.paginator.pageSizeOptions)("pageSize",t.paginator.pageSize),i.xp6(1),i.Q6J("ngIf",!t.hideExport))},directives:[y,b.O5,$D],styles:[""]}),n})();class e2{static passwordMatchValidator(o){const e=o.get("passwordCtrl").value,t=o.get("passwordAgainCtrl").value;return o.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(o){return e=>{if(!e.value)return null;let t=0;for(const s of o)t+=s.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let Cv=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=a,this.dialog=r,this.router=c,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(e){this.loginScreenShown=e}isLoginScreenShown(){return this.loginScreenShown}isServiceAccess(){return this.serviceAccess}isServiceAccessLoginScreenShown(){return this.serviceAccessLoginScreen}verifyAuth(){return sessionStorage.getItem("baPrincipal")?(this.serviceAccess=!0,"/service-access"===location.pathname?this.router.navigate([]).then(()=>!0):this.router.navigate([location.pathname]).then(()=>!0)):(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth())}startAuth(){return this.authService.startAuthentication(),new Promise(()=>{})}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Ri();this.dialog.open(ib,t)}else this.storeService.setPerunPrincipal(e),this.authResolver.init(e)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(e=>{e()});if(this.storeService.get("auto_auth_redirect"))return this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0);const e=location.search.substr(1).split("&"),t={};for(const s of e){const a=s.split("=");t[a[0]]=a[1]}return this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"}).then(()=>null)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Dr),i.LFG(ti),i.LFG(Va),i.LFG(Ki),i.LFG(Ii),i.LFG(ji))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),CS=(()=>{class n{constructor(e,t){this.matIconRegistry=e,this.domSanitizer=t,this.customIcons=[{url:"assets/img/PerunWebImages/refresh_tab-black.svg",name:"perun-refresh-enabled"},{url:"assets/img/PerunWebImages/refresh_tab-grey.svg",name:"perun-refresh-disabled"},{url:"assets/img/PerunWebImages/manage_facility_white.svg",name:"perun-manage-facility"},{url:"assets/img/PerunWebImages/vo-white.svg",name:"perun-vo"},{url:"assets/img/PerunWebImages/user-white.svg",name:"perun-user"},{url:"assets/img/PerunWebImages/perun_admin-white.svg",name:"perun-perun-admin"},{url:"assets/img/PerunWebImages/group-white.svg",name:"perun-group"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/preview-white.svg",name:"perun-preview"},{url:"assets/img/PerunWebImages/module_dependencies.svg",name:"perun-module-dependencies"},{url:"assets/img/PerunWebImages/user_destination_relationship.svg",name:"perun-user-destination-relationship"},{url:"assets/img/PerunWebImages/settings2-white.svg",name:"perun-settings2"},{url:"assets/img/PerunWebImages/attributes-white.svg",name:"perun-attributes"},{url:"assets/img/PerunWebImages/applications-white.svg",name:"perun-applications"},{url:"assets/img/PerunWebImages/manager-white.svg",name:"perun-manager"},{url:"assets/img/PerunWebImages/application_form-white.svg",name:"perun-application-form"},{url:"assets/img/PerunWebImages/notification-white.svg",name:"perun-notification"},{url:"assets/img/PerunWebImages/invite_member-white.svg",name:"perun-invite-member"},{url:"assets/img/PerunWebImages/service_identity-white.svg",name:"perun-service-identity"},{url:"assets/img/PerunWebImages/service_identity-black.svg",name:"perun-service-identity-black"},{url:"assets/img/PerunWebImages/create1-white.svg",name:"perun-create1"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource"},{url:"assets/img/PerunWebImages/resource_tags-white.svg",name:"perun-resource-tags"},{url:"assets/img/PerunWebImages/resources_state-white.svg",name:"perun-resources-state"},{url:"assets/img/PerunWebImages/external_sources-white.svg",name:"perun-external-sources"},{url:"assets/img/PerunWebImages/vo-dark.svg",name:"perun-vo-black"},{url:"assets/img/PerunWebImages/group-dark.svg",name:"perun-group-black"},{url:"assets/img/PerunWebImages/facility-dark.svg",name:"perun-facility-black"},{url:"assets/img/publications.svg",name:"perun-publications-white"},{url:"assets/img/PerunWebImages/owner-grey.svg",name:"perun-owner-grey"},{url:"assets/img/settings1-blue.svg",name:"settings-blue"},{url:"assets/img/PerunWebImages/service_destination-blue.svg",name:"perun-service_destination"},{url:"assets/img/PerunWebImages/host-blue.svg",name:"perun-hosts"},{url:"assets/img/PerunWebImages/home.svg",name:"perun-home-white"},{url:"assets/img/PerunWebImages/security_admin-blue.svg",name:"perun-security-teams"},{url:"assets/img/PerunWebImages/black_list-white.svg",name:"perun-black-list"},{url:"assets/img/PerunWebImages/facility-white.svg",name:"perun-facility-white"},{url:"assets/img/PerunWebImages/resource-white.svg",name:"perun-resource-white"},{url:"assets/img/PerunWebImages/service-white.svg",name:"perun-service"},{url:"assets/img/PerunWebImages/resource-black.svg",name:"perun-resource-black"},{url:"assets/img/PerunWebImages/service_status-grey.svg",name:"perun-service-status"},{url:"assets/img/PerunWebImages/user-dark.svg",name:"perun-user-dark"},{url:"assets/img/PerunWebImages/statistics-blue.svg",name:"perun-statistics"},{url:"assets/img/PerunWebImages/audit_log-blue.svg",name:"perun-audit-log"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(X0),i.LFG(ms))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),t2=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-session-expiration-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["color","accent","mat-flat-button","",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div",2),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.close()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),i.xp6(3),i.hij(" ",i.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),i.xp6(5),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})(),Sv=(()=>{class n{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),sr=(()=>{class n{constructor(e){this.translate=e,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3,this.addNotification=new i.vpe}getDefaultActionMessage(){return void 0===this.defaultAction?this.defaultAction=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_ACTION"):this.defaultAction}getDefaultRpcMessage(){return void 0===this.defaultRpcMessage?this.defaultRpcMessage=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DEFAULT_RPC_ERROR_MESSAGE"):this.defaultRpcMessage}showRPCError(e,t=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===e.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===e.name?t:t+"\n"+e.name,e,e.message)}showRouteError(){const e=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),t=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(e,null,t)}showError(e,t,s,a,r){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===a&&void 0!==s?this.getDefaultActionMessage():a,delay:this.defaultErrorDelayMs,icon:"error_outline",action:r,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,a){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===s&&void 0!==t?this.getDefaultActionMessage():s,delay:this.defaultSuccessDelayMs,icon:"done",action:a,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ai))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),SS=(()=>{class n{constructor(e,t,s,a,r,c){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=a,this.dialog=r,this.initAuthService=c}intercept(e,t){const s=this.store.get("api_url");if(-1!==e.url.indexOf("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&-1!==e.url.toString().indexOf(s)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()){const c=Ri();c.width="450px",this.dialog.open(t2,c).afterClosed().subscribe(()=>{sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substr(1)),this.authService.startAuthentication()})}e=this.initAuthService.isServiceAccess()?e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}});const a=this.apiRequestConfiguration.shouldHandleError(),r="POST"===e.method&&!this.store.skipOidc()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,qi.b)(c=>{c instanceof D.Zn&&r&&this.initAuthService.loadPrincipal()},c=>{const d=this.formatErrors(c,e);return void 0===d?(0,my._)(c):a?void this.notificator.showRPCError(d):(0,my._)(d)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;if(console.error(e),e.error.errorId?s=e.error:e.errorId&&(s=JSON.parse(e.error)),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Dr),i.LFG(Sv),i.LFG(sr),i.LFG(ti),i.LFG(Ii),i.LFG(Cv))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),ES=(()=>{class n{constructor(){this.notificationData=[],this.newNotificationsCount=0}storeNotification(e){this.newNotificationsCount++,this.notificationData.push(e)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),n2=(()=>{class n{constructor(e,t,s,a){this.http=e,this.notificator=t,this.authService=s,this.storeService=a}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}formatErrors(e,t,s,a){const r=e.error;return r.call=t,r.payload=s,a&&this.notificator.showRPCError(e.error),(0,my._)(r)}getHeaders(){let e=new D.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.get(s,{headers:this.getHeaders()}).pipe((0,On.K)(a=>this.formatErrors(a,s,null,t)))}put(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);return this.http.put(a,r,{headers:this.getHeaders()}).pipe((0,On.K)(c=>this.formatErrors(c,a,r,s)))}post(e,t={},s=!0){const a=`${this.getApiUrl()}${e}`,r=JSON.stringify(t);let c=this.getHeaders();return c=c.set("Content-Type","application/json; charset=utf-8"),this.http.post(a,r,{headers:c}).pipe((0,On.K)(d=>this.formatErrors(d,a,r,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,On.K)(a=>this.formatErrors(a,s,null,t)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(sr),i.LFG(Dr),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kS=(()=>{class n{constructor(){}isAllSelectedWithDisabledCheckbox(e,t,s,a,r,c,d,h){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=r*s,this.pageEnd=this.pageStart+s,this.pageIterator=0,this.dataLength=""===t?c.data.length:c.filteredData.length,a||(this.modulo=this.dataLength%s,this.pageEnd=0===this.modulo?this.pageStart+s:this.pageStart+this.modulo),c.sortData(c.filteredData,d).forEach(g=>{this.pageStart<=this.pageIterator&&this.pageIterator{h?g(O)&&this.pageStart<=this.pageIterator&&this.pageIterator{class n{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(c=>c.split("-")[0]),a=location.search.substr(1).split("&");let r=null;for(const c of a){const d=c.split("=");"lang"===d[0]&&(r=d[1])}return r&&t.includes(r)?r:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xn),i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DS=(()=>{class n{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const s of e)if(s.newApps.admin===t||s.newApps.profile===t||s.newApps.pwdReset===t)return s;return e[0]}getUrlForOtherApplication(e,t){const a=window.location.href.split("/"),r=a[0]+"//"+a[2],c=n.getBrandContainingDomain(this.storeService.getAppsConfig().brands,r);let d;if(c.newApps[e])d=c.newApps[e],"pwdReset"===e&&(d+=`?login-namespace=${t}`);else switch(d=c.oldGuiDomain+"/fed",e){case"admin":d+="/gui/";break;case"profile":d+="/profile/";break;case"pwdReset":d+=`/pwd-reset/?login-namespace=${t}`}return d}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();Ti("openClose",[ii("open",qe({overflow:"hidden"})),ii("closed",qe({height:"0px",overflow:"hidden"})),Ht("open <=> closed",[Ct(".3s ease-in")])]);const s2=Ti("flyInOut",[Ht(":enter",[qe({transform:"translateX(100%)"}),Ct(".25s")]),Ht(":leave",[Ct(".5s",qe({transform:"translateX(100%)"}))])]);Ti("rollInOut",[Ht(":enter",[qe({height:"0px"}),Ct(".25s")]),Ht(":leave",[Ct(".25s",qe({height:"0px"}))])]),Ti("routeAnimations",[Ht("* => *",[qe({position:"relative"}),Eo(":enter",[qe({width:"100%",opacity:0})],{optional:!0}),Eo(":leave",[qe({position:"absolute",width:"100%",opacity:1}),Ct("0.15s",qe({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),Eo(":enter",[qe({position:"absolute",width:"100%",opacity:0}),Ct("0.15s",qe({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Ti("tagsOpenClose",[ii("open",qe({})),ii("closed",qe({width:"0px",height:"0px"})),Ht("open <=> closed",[Ct(".3s ease-in")])]),Ti("switchAnimations",[Ht("true => false",[Eo(":enter, :leave",qe({})),fg([Eo(":enter",[qe({transform:"translateX(-100%)"}),Ct("1s ease-in-out",qe({transform:"translateX(0%)"}))],{optional:!0}),Eo(":leave",[qe({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",qe({transform:"translateX(100%)"}))],{optional:!0})])]),Ht("false => true",[Eo(":enter, :leave",qe({})),fg([Eo(":enter",[qe({transform:"translateX(100%)"}),Ct("1s ease-in-out",qe({transform:"translateX(0%)"}))],{optional:!0}),Eo(":leave",[qe({transform:"translateX(0%)",position:"absolute"}),Ct("1s ease-in-out",qe({transform:"translateX(-100%)"}))],{optional:!0})])])]),Ti("slideInOutLeft",[Ht(":enter",[qe({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",qe({transform:"translateX(0%)"}))]),Ht(":leave",[Ct("0.5s ease-in",qe({transform:"translateX(-100%)"}))])]),Ti("slideInOutRight",[Ht(":enter",[qe({transform:"translateX(100%)",position:"fixed"}),Ct("0.5s ease-in",qe({transform:"translateX(0%)"}))]),Ht(":leave",[qe({transform:"translateX(-100%)",position:"relative"}),Ct("0.5s ease-in",qe({transform:"translateX(100%)"}))])]);let xS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez]]}),n})(),wy=(()=>{class n{transform(e){let s="";return null!==e.titleBefore&&(s+=e.titleBefore+" "),null!==e.firstName&&(s+=e.firstName+" "),null!==e.middleName&&(s+=e.middleName+" "),null!==e.lastName&&(s+=e.lastName+" "),null!==e.titleAfter&&(s+=e.titleAfter+" "),s.endsWith(" ")&&(s=s.substring(0,s.length-1)),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})(),Ci=(()=>{class n{constructor(e,t){this.translate=e,this.storage=t}transform(e,t="en"){const s=this.storage.get("custom_labels");if(s){const a=Object.keys(s);for(const r of a){const c=this.storage.get("custom_labels",r);if(c.label===e)return c[t]}}return e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai,16),i.Y36(ti,16))},n.\u0275pipe=i.Yjl({name:"customTranslate",type:n,pure:!0}),n})();class o2{isErrorState(o){return!!(o&&o.invalid&&o.dirty)}}const r2=(n,o,e,t=500)=>s=>C1(t).pipe((0,mi.w)(()=>(e.dontHandleErrorForNext(),n&&"No namespace"!==n?o.checkPasswordStrength(s.value,n):(0,Ke.of)(null))),(0,pt.U)(()=>null),(0,On.K)(a=>(0,Ke.of)({backendError:a.error.message.substr(a.error.message.indexOf(":")+1)}))),LS=Ko({passive:!0});let a2=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return os.E;const t=oi(e),s=this._monitoredElements.get(t);if(s)return s.subject;const a=new De.xQ,r="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===d.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",c,LS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:a,unlisten:()=>{t.removeEventListener("animationstart",c,LS)}}),a}stopMonitoring(e){const t=oi(e),s=this._monitoredElements.get(t);s&&(s.unlisten(),s.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ei),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),My=(()=>{class n{constructor(e,t,s,a){this._elementRef=e,this._platform=t,this._ngZone=s,this._destroyed=new De.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=r=>{this._hasFocus="focus"===r.type},this._document=a,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=on(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=on(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=je(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{ha(this._getWindow(),"resize").pipe(S1(16),it(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,t=e.style.marginBottom||"",s=this._platform.FIREFOX,a=s&&this._hasFocus,r=s?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";a&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(r);const c=e.scrollHeight-4;return e.classList.remove(r),a&&(e.style.marginBottom=t),c}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const t=this._elementRef.nativeElement,s=t.value;if(!e&&this._minRows===this._previousMinRows&&s===this._previousValue)return;const a=this._measureScrollHeight(),r=Math.max(a,this._cachedPlaceholderHeight||0);t.style.height=`${r}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=s,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:s}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(i.R0b),i.Y36(b.K0,8))},n.\u0275dir=i.lG2({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&i.NdJ("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),RS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl]]}),n})();const OS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),c2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let l2=0;const u2=Fg(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let qn=(()=>{class n extends u2{constructor(e,t,s,a,r,c,d,h,g,O){super(c,a,r,s),this._elementRef=e,this._platform=t,this._autofillMonitor=h,this._formField=O,this._uid="mat-input-"+l2++,this.focused=!1,this.stateChanges=new De.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(be=>Dh().has(be));const $=this._elementRef.nativeElement,oe=$.nodeName.toLowerCase();this._inputValueAccessor=d||$,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",be=>{const ve=be.target;!ve.value&&0===ve.selectionStart&&0===ve.selectionEnd&&(ve.setSelectionRange(1,1),ve.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===oe,this._isTextarea="textarea"===oe,this._isInFormField=!!O,this._isNativeSelect&&(this.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=je(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Dh().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=je(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const s=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(s!==this._previousPlaceholder){const a=this._elementRef.nativeElement;this._previousPlaceholder=s,s?a.setAttribute("placeholder",s):a.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){c2.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(Ro,10),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Nc),i.Y36(OS,10),i.Y36(a2),i.Y36(i.R0b),i.Y36(Rd,8))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(i.Ikx("disabled",t.disabled)("required",t.required),i.uIk("id",t.id)("data-placeholder",t.placeholder)("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),i.ekj("mat-input-server",t._isServer)("mat-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[i._Bn([{provide:xd,useExisting:n}]),i.qOj,i.TTD]}),n})(),kv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Nc],imports:[[RS,xo,gt],RS,xo]}),n})();function d2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function h2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function f2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}function p2(n,o){if(1&n&&(i.O4$(),i._UZ(0,"circle",4)),2&n){const e=i.oxw(),t=i.MAs(1);i.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),i.uIk("r",e._getCircleRadius())}}const _2=va(class{constructor(n){this._elementRef=n}},"primary"),PS=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function b2(){return{diameter:100}}});class Wc extends _2{constructor(o,e,t,s,a,r,c,d){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=P.w.EMPTY,this.mode="determinate";const h=Wc._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),h.has(t.head)||h.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth)),e.isBrowser&&e.SAFARI&&c&&r&&d&&(this._resizeSubscription=c.change(150).subscribe(()=>{"indeterminate"===this.mode&&d.run(()=>r.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=on(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=on(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,on(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Sl(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var e;const t=50*(null!==(e=o.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const o=this._styleRoot,e=this._diameter,t=Wc._diameters;let s=t.get(o);if(!s||!s.has(e)){const a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),o.appendChild(a),s||(s=new Set,t.set(o,s)),s.add(e)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Wc._diameters=new WeakMap,Wc.\u0275fac=function(o){return new(o||Wc)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0,8),i.Y36(Bn,8),i.Y36(PS),i.Y36(i.sBO),i.Y36(ws),i.Y36(i.R0b))},Wc.\u0275cmp=i.Xpm({type:Wc,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(o,e){2&o&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,e){1&o&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,d2,1,11,"circle",2),i.YNc(3,h2,1,9,"circle",3),i.qZA()),2&o&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let fs=(()=>{class n extends Wc{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0,8),i.Y36(Bn,8),i.Y36(PS),i.Y36(i.sBO),i.Y36(ws),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,f2,1,11,"circle",2),i.YNc(3,p2,1,9,"circle",3),i.qZA()),2&e&&(i.Udp("width",t.diameter,"px")("height",t.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===t.mode),i.uIk("viewBox",t._getViewBox()),i.xp6(2),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[b.RF,b.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),xv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt,b.ez],gt]}),n})();function A2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function w2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function M2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function v2(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const T2=["*"];let Jn=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:T2,decls:6,vars:12,consts:[[1,"perun-alert","d-flex","align-items-flex-start"],["class","perun-alert-icon",4,"ngIf"],[1,"perun-alert-icon"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,A2,2,0,"mat-icon",1),i.YNc(2,w2,2,0,"mat-icon",1),i.YNc(3,M2,2,0,"mat-icon",1),i.YNc(4,v2,2,0,"mat-icon",1),i.Hsn(5),i.qZA()),2&e&&(i.ekj("warn-alert","warn"===t.alert_type)("error-alert","error"===t.alert_type)("success-alert","success"===t.alert_type)("info-alert","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","info"===t.alert_type),i.xp6(1),i.Q6J("ngIf","warn"===t.alert_type),i.xp6(1),i.Q6J("ngIf","error"===t.alert_type),i.xp6(1),i.Q6J("ngIf","success"===t.alert_type))},directives:[b.O5,xn],styles:[".perun-alert[_ngcontent-%COMP%]{position:relative;padding:.75rem 1.25rem;margin-top:1rem;margin-bottom:1rem}.perun-alert.info-alert[_ngcontent-%COMP%]{font-style:italic;color:gray;text-align:left;border:1px #b3b3b3 solid;border-radius:10px}.perun-alert.warn-alert[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:1px #ececec solid;border-radius:10px;background-color:#ececec}.perun-alert-icon[_ngcontent-%COMP%]{padding-right:2rem}.perun-alert.error-alert[_ngcontent-%COMP%]{text-align:left;border:1px #fedcda solid;border-radius:10px;background-color:#fedcda}.perun-alert.success-alert[_ngcontent-%COMP%]{text-align:left;border:1px #d7ffd7 solid;border-radius:10px;background-color:#d7ffd7}"]}),n})();function C2(n,o){1&n&&i._UZ(0,"mat-spinner",12),2&n&&i.Q6J("diameter",18)}function S2(n,o){if(1&n&&(i.TgZ(0,"mat-icon",13),i._uU(1," error "),i.qZA()),2&n){const e=i.oxw();i.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function E2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function k2(n,o){if(1&n&&(i.TgZ(0,"mat-error",14),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("matTooltip",e.getErrorTooltip()),i.xp6(1),i.Oqu(e.getErrorTooltip())}}function D2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function x2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let L2=(()=>{class n{constructor(e,t,s){this.translator=e,this.usersManagerService=t,this.store=s,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.multiLanguage=!1,this.language="en",this.allPasswordRequirements=this.store.get("password_requirements_help"),this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new o2}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.userAttributes.find(s=>"preferredLanguage"===s.friendlyName);this.language=t&&t.value?t.value.toString():"en","en"!==this.language&&(this.allPasswordRequirements=this.store.get(`password_requirements_help_${this.language}`)),this.changeHelp()}):this.changeHelp()}ngOnChanges(){this.allPasswordRequirements=this.store.get("en"!==this.language?`password_requirements_help_${this.language}`:"password_requirements_help"),this.changeHelp()}getPasswordDisabledTooltip(){return this.translator.instant(this.tooltipPwdViaEmail?"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_VIA_EMAIL":"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.TOOLTIP_PASSWORD_DISABLED")}getErrorTooltip(){let e=this.formGroup.get("passwordCtrl").getError("backendError");return e&&(e=e.replace(":null","")),e}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(e=>e.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(e=>"default"===e.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai),i.Y36(Tt),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[i.TTD],decls:21,vars:23,consts:[[3,"formGroup"],["matTooltipPosition","left",1,"max-width",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","passwordCtrl",3,"type","required","errorStateMatcher","placeholder"],["matSuffix","","class","input-spinner",3,"diameter",4,"ngIf"],["matSuffix","",3,"click"],["color","warn","matSuffix","","class","error-icon",3,"matTooltip","matTooltipDisabled",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","after",3,"matTooltip",4,"ngIf"],[1,"max-width"],["matInput","","formControlName","passwordAgainCtrl",3,"type","required"],["alert_type","info"],[3,"innerHTML"],["matSuffix","",1,"input-spinner",3,"diameter"],["color","warn","matSuffix","",1,"error-icon",3,"matTooltip","matTooltipDisabled"],["matTooltipPosition","after",3,"matTooltip"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"mat-form-field",1),i._UZ(2,"input",2),i.ALo(3,"translate"),i.YNc(4,C2,1,1,"mat-spinner",3),i.TgZ(5,"mat-icon",4),i.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),i._uU(6),i.qZA(),i.YNc(7,S2,2,2,"mat-icon",5),i.YNc(8,E2,3,3,"mat-error",6),i.YNc(9,k2,2,2,"mat-error",7),i.qZA(),i.TgZ(10,"mat-form-field",8),i.TgZ(11,"mat-label"),i._uU(12),i.ALo(13,"translate"),i.qZA(),i._UZ(14,"input",9),i.TgZ(15,"mat-icon",4),i.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),i._uU(16),i.qZA(),i.YNc(17,D2,3,3,"mat-error",6),i.YNc(18,x2,3,3,"mat-error",6),i.qZA(),i.TgZ(19,"app-alert",10),i._UZ(20,"div",11),i.qZA(),i.qZA()),2&e&&(i.Q6J("formGroup",t.formGroup),i.xp6(1),i.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled),i.xp6(1),i.s9C("placeholder",i.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),i.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),i.xp6(2),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),i.xp6(2),i.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),i.xp6(3),i.Oqu(i.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),i.xp6(2),i.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),i.xp6(2),i.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),i.xp6(1),i.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),i.xp6(2),i.Q6J("innerHTML",t.passwordRequirement,i.oJD))},directives:[Jl,Ir,un,vs,qn,bn,dn,R0,Ms,b.O5,fs,pb,xn,Zl,no,Jn],pipes:[dt],styles:[".max-width[_ngcontent-%COMP%]{width:100%!important}.input-spinner[_ngcontent-%COMP%]{float:right;margin-left:5px}.error-icon[_ngcontent-%COMP%]{margin-left:5px}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper, [_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}[_nghost-%COMP%] .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}"]}),n})();function H2(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function B2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function F2(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function q2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",8),i.TgZ(1,"mat-form-field"),i.TgZ(2,"mat-label"),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"input",9,10),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().subject=s}),i.qZA(),i.YNc(7,B2,3,3,"mat-error",11),i.qZA(),i.TgZ(8,"mat-form-field"),i.TgZ(9,"mat-label"),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.TgZ(12,"textarea",12,13),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw().message=s}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,F2,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),s=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",s.subject),i.xp6(2),i.Q6J("ngIf",e.invalid),i.xp6(3),i.Oqu(i.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",s.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let j2=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.data=r,this.storeService=c,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){this.data.error&&this.data.error.errorId&&(this.subject=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_VALUE")+this.parseMethod(this.data.error.call)+" ("+this.data.error.errorId+")")}sendBugReport(){this.loading=!0,this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>{this.notificator.showSuccess(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1")+e.ticketNumber+this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"))}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const e=this.storeService.get("config");let t=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(t=t.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),t=t.concat(this.data.error.message+"\nPerun instance: "+e+"\nRequest:\n"+this.data.error.urlWithParams+"\n\n"),this.data.error.payload){const s=/"password":".+?"/;let a=JSON.stringify(this.data.error.payload);a=a.replace(s,'"password":"####"'),t=t.concat("Payload:\n"+a+"\n\n")}return t=t.concat("Sended from new Perun Gui, version: "+w(4147).i8),t.split("\n").join("\n ")}parseMethod(e){return e&&this.methodRegexp.exec(e)[1]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ai),i.Y36(sr),i.Y36(ni),i.Y36(Xi),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-bug-report-dialog"]],decls:13,vars:12,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","","required","",3,"ngModel","placeholder","ngModelChange"],["messageModel","ngModel"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.YNc(3,H2,1,0,"mat-spinner",1),i.YNc(4,q2,17,13,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"div",4),i.TgZ(7,"button",5),i.NdJ("click",function(){return t.dialogRef.close()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",6),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(4),i.hij(" ",i.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),i.xp6(2),i.Q6J("disabled",""===t.message||""===t.subject||t.loading),i.xp6(1),i.hij(" ",i.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[Sn,b.O5,fs,Fn,un,no,qn,bn,Ms,dn,zr,Zl,En,Yt],pipes:[dt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),Y2=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.dialog=t,this.data=s}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Ri();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(j2,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ii),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"hidden","click"],["autofocus","","mat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i._uU(3),i.qZA(),i.TgZ(4,"div",2),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onBugReportClick()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i.NdJ("click",function(){return t.onCloseClick()}),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.data.title),i.xp6(2),i.hij(" ",t.data.description,"\n"),i.xp6(3),i.Q6J("hidden","error"!==t.data.type),i.xp6(1),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),i.xp6(3),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})();const U2=[[["caption"]],[["colgroup"],["col"]]],V2=["caption","colgroup, col"];function Lv(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const e=this._sticky;this._sticky=je(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const ep=new i.OlP("CDK_TABLE");let tp=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),ip=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),vy=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class Z2{}const $2=Lv(Z2);let Kc=(()=>{class n extends $2{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=je(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ep,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,tp,5),i.Suo(s,ip,5),i.Suo(s,vy,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.cell=a.first),i.iGM(a=i.CRH())&&(t.headerCell=a.first),i.iGM(a=i.CRH())&&(t.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class Rv{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let Ov=(()=>{class n extends Rv{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),n})(),Pv=(()=>{class n extends Rv{constructor(e,t){var s;if(super(e,t),1===(null===(s=e._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){const a=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kc),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),n})();class IS{constructor(){this.tasks=[],this.endTasks=[]}}const zv=new i.OlP("_COALESCED_STYLE_SCHEDULER");let NS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new De.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new IS,this._getScheduleObservable().pipe(it(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new IS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Mn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,$t.q)(1))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Iv=(()=>{class n{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof t1?e.headerCell.template:this instanceof n1?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class X2 extends Iv{}const Q2=Lv(X2);let t1=(()=>{class n extends Q2{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ep,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class J2 extends Iv{}const ex=Lv(J2);let n1=(()=>{class n extends ex{constructor(e,t,s){super(e,t),this._table=s}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ep,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),Ty=(()=>{class n extends Iv{constructor(e,t,s){super(e,t),this._table=s}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ep,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),Zc=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Nv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Bv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Cy=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const HS=["top","bottom","left","right"];class tx{constructor(o,e,t,s,a=!0,r=!0,c){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=s,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=c,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){const t=[];for(const s of o)if(s.nodeType===s.ELEMENT_NODE){t.push(s);for(let a=0;a{for(const s of t)this._removeStickyStyle(s,e)})}updateStickyColumns(o,e,t,s=!0){if(!o.length||!this._isBrowser||!e.some($=>$)&&!t.some($=>$))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=o[0],r=a.children.length,c=this._getCellWidths(a,s),d=this._getStickyStartColumnPositions(c,e),h=this._getStickyEndColumnPositions(c,t),g=e.lastIndexOf(!0),O=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const $="rtl"===this.direction,oe=$?"right":"left",be=$?"left":"right";for(const ve of o)for(let Le=0;Lee[Le]?ve:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===O?[]:c.slice(O).map((ve,Le)=>t[Le+O]?ve:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const s="bottom"===t?o.slice().reverse():o,a="bottom"===t?e.slice().reverse():e,r=[],c=[],d=[];for(let g=0,O=0;g{var g,O;for(let $=0;${e.some(s=>!s)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const s of e)o.style[s]="",o.classList.remove(this._borderCellCss[s]);HS.some(s=>-1===e.indexOf(s)&&o.style[s])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,s){o.classList.add(this._stickCellCss),s&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const s of HS)o.style[s]&&(t+=e[s]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],s=o.children;for(let a=0;a0;a--)e[a]&&(t[a]=s,s+=o[a]);return t}}const Fv=new i.OlP("CDK_SPL");let Sy=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),Ey=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),ky=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Dy=(()=>{class n{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.s_b),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),xy=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$,oe){this._differs=e,this._changeDetectorRef=t,this._elementRef=s,this._dir=r,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=g,this._viewportRuler=O,this._stickyPositioningListener=$,this._ngZone=oe,this._onDestroy=new De.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new Bi({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=c,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=je(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=je(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(it(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Rr(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(s,a,r)=>this._getEmbeddedViewArgs(s.item,r),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(s=>{t.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,$t.q)(1),it(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=e.length?"":"none");const a=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,a,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=e.length?"":"none");const a=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,r)=>{this._addStickyColumnStyles([a],this._headerRowDefs[r])}),this._rowDefs.forEach(a=>{const r=[];for(let c=0;c{this._addStickyColumnStyles([a],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const c=s&&s.has(r)?s.get(r):[];if(c.length){const d=c.shift();return d.dataIndex=t,d}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ly(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Ly(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ly(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ly(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,c)=>r||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(e,!1);s&&this._forceRenderHeaderRows();const a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),t||s||a}_switchDataSource(e){this._data=[],Rr(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Rr(this.dataSource)?e=this.dataSource.connect(this):nr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ke.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(it(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const s=Array.from(t.columns||[]).map(c=>this._columnDefsByName.get(c)),a=s.map(c=>c.sticky),r=s.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let s=0;s!a.when||a.when(t,e));else{let a=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;a&&s.push(a)}return s}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,s,a={}){const r=e.viewContainer.createEmbeddedView(t.template,a,s);return this._renderCellTemplateForItem(t,a),r}_renderCellTemplateForItem(e,t){for(let s of this._getCellTemplates(e))Zc.mostRecentCellOutlet&&Zc.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,s=e.length;t{const s=this._columnDefsByName.get(t);return e.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of t){const a=this._document.createElement(s.tag);a.setAttribute("role","rowgroup");for(const r of s.outlets)a.appendChild(r.elementRef.nativeElement);e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,s)=>t||s.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new tx(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ke.of)()).pipe(it(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(t){const a=s.createEmbeddedView(e.templateRef),r=a.rootNodes[0];1===a.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else s.clear();this._isShowingNoDataRow=t}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(Hn,8),i.Y36(b.K0),i.Y36(Ei),i.Y36($l),i.Y36(zv),i.Y36(ws),i.Y36(Fv,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Cy,5),i.Suo(s,Kc,5),i.Suo(s,Ty,5),i.Suo(s,t1,5),i.Suo(s,n1,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._noDataRow=a.first),i.iGM(a=i.CRH())&&(t._contentColumnDefs=a),i.iGM(a=i.CRH())&&(t._contentRowDefs=a),i.iGM(a=i.CRH())&&(t._contentHeaderRowDefs=a),i.iGM(a=i.CRH())&&(t._contentFooterRowDefs=a)}},viewQuery:function(e,t){if(1&e&&(i.Gf(Sy,7),i.Gf(Ey,7),i.Gf(ky,7),i.Gf(Dy,7)),2&e){let s;i.iGM(s=i.CRH())&&(t._rowOutlet=s.first),i.iGM(s=i.CRH())&&(t._headerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._footerRowOutlet=s.first),i.iGM(s=i.CRH())&&(t._noDataRowOutlet=s.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:ep,useExisting:n},{provide:$l,useClass:a0},{provide:zv,useClass:NS},{provide:Fv,useValue:null}])],ngContentSelectors:V2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(U2),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[Ey,Sy,Dy,ky],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function Ly(n,o){return n.concat(Array.from(o))}let nx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[kl]]}),n})();const sx=[[["caption"]],[["colgroup"],["col"]]],ox=["caption","colgroup, col"];let Ra=(()=>{class n extends xy{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:$l,useClass:a0},{provide:xy,useExisting:n},{provide:ep,useExisting:n},{provide:zv,useClass:NS},{provide:Fv,useValue:null}]),i.qOj],ngContentSelectors:ox,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(sx),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[Ey,Sy,Dy,ky],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Nr=(()=>{class n extends tp{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:tp,useExisting:n}]),i.qOj]}),n})(),Hr=(()=>{class n extends ip{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:ip,useExisting:n}]),i.qOj]}),n})(),Br=(()=>{class n extends Kc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Kc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Fr=(()=>{class n extends Ov{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),n})(),qr=(()=>{class n extends Pv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),n})(),Oa=(()=>{class n extends t1{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:t1,useExisting:n}]),i.qOj]}),n})(),Pa=(()=>{class n extends Ty{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:Ty,useExisting:n}]),i.qOj]}),n})(),za=(()=>{class n extends Nv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:Nv,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),Ia=(()=>{class n extends Bv{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:Bv,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[Zc],encapsulation:2}),n})(),FS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[nx,gt],gt]}),n})();class $c extends class mx extends class mb{}{constructor(o=[]){super(),this._renderData=new Bi([]),this._filter=new Bi(""),this._internalPageChanges=new De.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const s=e[t];if(b1(s)){const a=Number(s);return a<9007199254740991?a:s}return s},this.sortData=(e,t)=>{const s=t.active,a=t.direction;return s&&""!=a?e.sort((r,c)=>{let d=this.sortingDataAccessor(r,s),h=this.sortingDataAccessor(c,s);const g=typeof d,O=typeof h;g!==O&&("number"===g&&(d+=""),"number"===O&&(h+=""));let $=0;return null!=d&&null!=h?d>h?$=1:d{const s=Object.keys(e).reduce((r,c)=>r+e[c]+"\u25ec","").toLowerCase(),a=t.trim().toLowerCase();return-1!=s.indexOf(a)},this._data=new Bi(o),this._updateChangeSubscription()}get data(){return this._data.value}set data(o){o=Array.isArray(o)?o:[],this._data.next(o),this._renderChangesSubscription||this._filterData(o)}get filter(){return this._filter.value}set filter(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(o){this._sort=o,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(o){this._paginator=o,this._updateChangeSubscription()}_updateChangeSubscription(){var o;const e=this._sort?(0,Li.T)(this._sort.sortChange,this._sort.initialized):(0,Ke.of)(null),t=this._paginator?(0,Li.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ke.of)(null),a=(0,Vr.aj)([this._data,this._filter]).pipe((0,pt.U)(([d])=>this._filterData(d))),r=(0,Vr.aj)([a,e]).pipe((0,pt.U)(([d])=>this._orderData(d))),c=(0,Vr.aj)([r,t]).pipe((0,pt.U)(([d])=>this._pageData(d)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=c.subscribe(d=>this._renderData.next(d))}_filterData(o){return this.filteredData=null==this.filter||""===this.filter?o:o.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(o){return this.sort?this.sortData(o.slice(),this.sort):o}_pageData(o){if(!this.paginator)return o;const e=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(e,e+this.paginator.pageSize)}_updatePaginator(o){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=o,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,s=Math.min(e.pageIndex,t);s!==e.pageIndex&&(e.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}{}function _x(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function bx(n,o){1&n&&i._UZ(0,"th",15)}function yx(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function Ax(n,o){1&n&&i._UZ(0,"tr",17)}function wx(n,o){1&n&&i._UZ(0,"tr",18)}function Mx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",4),i.TgZ(2,"p"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.TgZ(6,"div",5),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"table",6),i.ynx(11,7),i.YNc(12,bx,1,0,"th",8),i.YNc(13,yx,2,1,"td",9),i.BQk(),i.YNc(14,Ax,1,0,"tr",10),i.YNc(15,wx,1,0,"tr",11),i.qZA(),i.qZA(),i.TgZ(16,"div",12),i.TgZ(17,"button",13),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(18),i.ALo(19,"translate"),i.ALo(20,"customTranslate"),i.qZA(),i.TgZ(21,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(22),i.ALo(23,"translate"),i.ALo(24,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",i.lcZ(4,7,i.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),i.xp6(4),i.hij(" ",i.lcZ(8,11,i.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),i.xp6(3),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns),i.xp6(3),i.hij(" ",i.lcZ(19,15,i.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(23,19,i.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let vx=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.usersManagerService=s,this.translate=a,this.notificator=r,this.force=!1,this.displayedColumns=["name"],a.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new $c(this.data.extSources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.data.extSources.length?this.usersManagerService.removeUserExtSource(this.data.userId,this.data.extSources.pop().userExtSource.id,this.force).subscribe(()=>{this.onSubmit()},()=>this.loading=!1):(this.loading=!1,this.data.showSuccess&&this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Tt),i.Y36(Ai),i.Y36(sr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-user-ext-source-dialog"]],decls:7,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div"),i.YNc(5,_x,1,0,"mat-spinner",1),i.YNc(6,Mx,25,23,"div",2),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,6,i.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),i.xp6(3),i.Tol(t.theme),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,fs,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();class Tx{constructor(o,e){this._document=e;const t=this._textarea=this._document.createElement("textarea"),s=t.style;s.position="fixed",s.top=s.opacity="0",s.left="-999em",t.setAttribute("aria-hidden","true"),t.value=o,this._document.body.appendChild(t)}copy(){const o=this._textarea;let e=!1;try{if(o){const t=this._document.activeElement;o.select(),o.setSelectionRange(0,o.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch(t){}return e}destroy(){const o=this._textarea;o&&(o.remove(),this._textarea=void 0)}}let Cx=(()=>{class n{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),s=t.copy();return t.destroy(),s}beginCopy(e){return new Tx(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Sx=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let qv=(()=>{class n{constructor(e,t,s){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,s&&null!=s.attempts&&(this.attempts=s.attempts)}copy(e=this.attempts){if(e>1){let t=e;const s=this._clipboard.beginCopy(this.text);this._pending.add(s);const a=()=>{const r=s.copy();r||!--t||this._destroyed?(this._currentTimeout=null,this._pending.delete(s),s.destroy(),this.copied.emit(r)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cx),i.Y36(i.R0b),i.Y36(Sx,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),n})(),qS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Ry=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-value-dialog"]],decls:12,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","overflow-hidden"],["cdkTextareaAutosize","","matInput","","readonly","",1,"w-100","display-fix"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i.TgZ(3,"textarea",2),i._uU(4),i.qZA(),i.qZA(),i.TgZ(5,"div",3),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.onCancel()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.TgZ(9,"button",5),i._uU(10),i.ALo(11,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(t.title),i.xp6(3),i.Oqu(t.value),i.xp6(3),i.hij(" ",i.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),i.xp6(2),i.Q6J("cdkCopyToClipboard",t.value),i.xp6(1),i.hij(" ",i.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[Sn,Fn,My,qn,En,Yt,qv],pipes:[dt],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),n})(),Ex=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.attributeValue=""}ngOnInit(){this.attributeValue=this.data.attribute.value[this.data.index]}cancel(){this.dialogRef.close()}submit(){this.data.attribute.value[this.data.index]=this.attributeValue,this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-edit-dialog"]],decls:13,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["cdkTextareaAutosize","true","matInput","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h5",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"textarea",2),i.NdJ("ngModelChange",function(a){return t.attributeValue=a}),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"div",3),i.TgZ(7,"button",4),i.NdJ("click",function(){return t.cancel()}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.submit()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),i.xp6(4),i.Q6J("ngModel",t.attributeValue),i.xp6(3),i.hij(" ",i.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[Sn,Fn,un,My,qn,bn,dn,zr,En,Yt],pipes:[dt],styles:[""]}),n})(),kx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list-delete-dialog"]],decls:16,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],[1,"mt-2","font-weight-bold"],["mat-dialog-actions","",1,"d-flex"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h5",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"div"),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"div",2),i._uU(8),i.qZA(),i.qZA(),i.TgZ(9,"div",3),i.TgZ(10,"button",4),i.NdJ("click",function(){return t.cancel()}),i._uU(11),i.ALo(12,"translate"),i.qZA(),i.TgZ(13,"button",5),i.NdJ("click",function(){return t.submit()}),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),i.xp6(4),i.hij(" ",i.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),i.xp6(3),i.hij(" ",t.data.name," "),i.xp6(3),i.hij(" ",i.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),i.xp6(3),i.hij(" ",i.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[Sn,Fn,En,Yt],pipes:[dt],styles:[""]}),n})();function Dx(n,o){if(1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.pendingEmailsMessage)}}function xx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let Lx=(()=>{class n{constructor(e,t,s,a,r,c){this.dialogRef=e,this.data=t,this.translate=s,this.notificator=a,this.usersManagerService=r,this.authService=c,this.pendingMails=[],s.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(d=>this.successMessage=d),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(d=>this.pendingEmailsMessageStart=d),s.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(d=>this.pendingEmailsMessageEnd=d)}ngOnInit(){this.emailControl=new us(null,[kn.required,kn.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(e=>{this.pendingMails=e.filter((s,a,r)=>a===r.indexOf(s));let t="";this.pendingMails.forEach(s=>t+=`${s===this.pendingMails[0]?"":", "}${s}`),console.log(t),this.pendingEmailsMessage=this.pendingEmailsMessageStart+t+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const t=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",t[0]+"//"+t[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Ai),i.Y36(sr),i.Y36(Tt),i.Y36(Dr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-email-dialog"]],decls:21,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],["alert_type","warn",4,"ngIf"],[1,"w-100"],["matInput","","required","",3,"placeholder","formControl"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,Dx,2,1,"app-alert",2),i.TgZ(6,"mat-form-field",3),i.TgZ(7,"label",3),i._UZ(8,"input",4),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.YNc(11,xx,4,5,"mat-error",5),i.qZA(),i.qZA(),i.TgZ(12,"div",6),i.TgZ(13,"button",7),i.NdJ("click",function(){return t.onCancel()}),i._uU(14),i.ALo(15,"translate"),i.ALo(16,"customTranslate"),i.qZA(),i.TgZ(17,"button",8),i.NdJ("click",function(){return t.onSubmit()}),i._uU(18),i.ALo(19,"translate"),i.ALo(20,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,8,i.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.pendingMails.length),i.xp6(3),i.s9C("placeholder",i.lcZ(9,12,i.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.emailControl),i.xp6(3),i.Q6J("ngIf",t.emailControl.invalid),i.xp6(3),i.hij(" ",i.lcZ(15,16,i.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",!t.emailControl.valid),i.xp6(1),i.hij(" ",i.lcZ(19,20,i.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[Sn,Fn,b.O5,Jn,un,qn,bn,Ms,dn,so,Zl,En,Yt],pipes:[dt,Ci],styles:[""]}),n})(),Fx=(()=>{class n{constructor(e,t){this.dialogRef=e,this.router=t}onClose(){this.router.navigate([]),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(ji))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-mail-change-failed-dialog"]],decls:11,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["alert_type","error"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"app-alert",2),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA(),i.TgZ(7,"div",3),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.onClose()}),i._uU(9),i.ALo(10,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),i.xp6(4),i.Oqu(i.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),i.xp6(4),i.hij(" ",i.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[Sn,Fn,Jn,En,Yt],pipes:[dt],styles:[""]}),n})();function qx(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function jx(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"form",5),i.TgZ(1,"div",6),i.TgZ(2,"mat-form-field"),i.TgZ(3,"mat-label"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i._UZ(6,"input",7),i.TgZ(7,"mat-icon",8),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.showOldPassword=!s.showOldPassword}),i._uU(8),i.qZA(),i.YNc(9,qx,3,3,"mat-error",9),i.qZA(),i._UZ(10,"perun-web-apps-password-form",10),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("formGroup",e.formGroup),i.xp6(4),i.Oqu(i.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),i.xp6(2),i.Q6J("type",e.showOldPassword?"text":"password"),i.xp6(2),i.hij(" ",e.showOldPassword?"visibility_off":"visibility"," "),i.xp6(1),i.Q6J("ngIf",e.oldPwd.hasError("required")),i.xp6(1),i.Q6J("formGroup",e.formGroup)("namespace",e.data.namespace)}}function Yx(n,o){1&n&&i._UZ(0,"mat-spinner",11)}function Ux(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",12),i.TgZ(1,"div",13),i.TgZ(2,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().close()}),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.TgZ(5,"button",15),i.NdJ("click",function(){return i.CHM(e),i.oxw().changePassword()}),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",i.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.formGroup.invalid||e.formGroup.pending),i.xp6(1),i.hij(" ",i.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Vx=(()=>{class n{constructor(e,t,s,a,r,c,d){this.dialogRef=e,this.data=t,this._formBuilder=s,this.usersManagerService=a,this.apiRequestConfiguration=r,this.notificator=c,this.translate=d,this.showOldPassword=!1,d.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(h=>this.successMessage=h)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",kn.required],passwordCtrl:["",kn.required,[r2(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:e2.passwordMatchValidator}),this.oldPwd=this.formGroup.get("oldPasswordCtrl"),this.newPwd=this.formGroup.get("passwordCtrl"),this.newPwdAgain=this.formGroup.get("passwordAgainCtrl")}close(){this.dialogRef.close(!1)}changePassword(){this.loading=!0,this.usersManagerService.changePasswordForLogin(this.data.login,this.data.namespace,this.newPwd.value,this.oldPwd.value,!0).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(KC),i.Y36(Tt),i.Y36(Sv),i.Y36(sr),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-password-dialog"]],decls:7,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[3,"formGroup"],[1,"display-flex"],["formControlName","oldPasswordCtrl","matInput","","required","",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],[3,"formGroup","namespace"],[1,"ml-auto","mr-auto"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.YNc(4,jx,11,9,"form",2),i.YNc(5,Yx,1,0,"mat-spinner",3),i.qZA(),i.YNc(6,Ux,8,7,"div",4)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,Fn,b.O5,tu,Jl,Ir,un,no,bn,qn,dn,R0,Ms,xn,pb,Zl,L2,fs,En,Yt],pipes:[dt],styles:[".display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:column}.white-space-pre[_ngcontent-%COMP%]{white-space:pre}mat-icon[_ngcontent-%COMP%]:hover{cursor:default}"]}),n})();const Gx=["input"],Wx=function(n){return{enterDuration:n}},Kx=["*"],Zx=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function $x(){return{color:"accent"}}});let YS=0;const Xx={provide:Wn,useExisting:(0,i.Gpc)(()=>GS),multi:!0};class US{constructor(o,e){this.source=o,this.value=e}}const VS=new i.OlP("MatRadioGroup");let Qx=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+YS++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.vpe}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=je(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new US(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),GS=(()=>{class n extends Qx{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,WS,5),2&e){let a;i.iGM(a=i.CRH())&&(t._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([Xx,{provide:VS,useExisting:n}]),i.qOj]}),n})();class Jx{constructor(o){this._elementRef=o}}const eL=to(Ic(Jx));let tL=(()=>{class n extends eL{constructor(e,t,s,a,r,c,d,h){super(t),this._changeDetector=s,this._focusMonitor=a,this._radioDispatcher=r,this._providerOverride=d,this._uniqueId="mat-radio-"+ ++YS,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===c,h&&(this.tabIndex=on(h,0)),this._removeUniqueSelectionListener=r.listen((g,O)=>{g!==this.id&&O===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=je(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(je(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=je(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new US(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(Gx,5),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[i.qOj]}),n})(),WS=(()=>{class n extends tL{constructor(e,t,s,a,r,c,d,h){super(e,t,s,a,r,c,d,h)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(VS,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(So),i.Y36(bb),i.Y36(Bn,8),i.Y36(Zx,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(i.uIk("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.ekj("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable",t._noopAnimations)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.qOj],ngContentSelectors:Kx,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i._UZ(3,"span",3),i._UZ(4,"span",4),i.TgZ(5,"input",5,6),i.NdJ("change",function(a){return t._onInputInteraction(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(7,"span",7),i._UZ(8,"span",8),i.qZA(),i.qZA(),i.TgZ(9,"span",9),i.TgZ(10,"span",10),i._uU(11,"\xa0"),i.qZA(),i.Hsn(12),i.qZA(),i.qZA()),2&e){const s=i.MAs(1);i.uIk("for",t.inputId),i.xp6(5),i.Q6J("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),i.uIk("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,Wx,t._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==t.labelPosition)}},directives:[Ns],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),KS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt],gt]}),n})();function iL(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function nL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function sL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function oL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-radio-group",12),i.NdJ("ngModelChange",function(s){return i.CHM(e),i.oxw(2).asyncValidation=s}),i.TgZ(1,"span",13),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-radio-button",14),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.TgZ(7,"mat-radio-button",14),i._uU(8),i.ALo(9,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.Q6J("ngModel",e.asyncValidation),i.xp6(2),i.hij(" ",i.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),i.xp6(2),i.Q6J("value",!1),i.xp6(1),i.hij(" ",i.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),i.xp6(2),i.Q6J("value",!0),i.xp6(1),i.hij(" ",i.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function rL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function aL(n,o){1&n&&(i.TgZ(0,"span",11),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function cL(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"p",6),i._uU(2),i.TgZ(3,"span",7),i._uU(4),i.qZA(),i._uU(5),i.TgZ(6,"span",7),i._uU(7),i.qZA(),i.qZA(),i.TgZ(8,"p"),i.TgZ(9,"strong",8),i._uU(10),i.ALo(11,"translate"),i.qZA(),i._uU(12),i.qZA(),i.TgZ(13,"p"),i.TgZ(14,"strong",8),i._uU(15),i.ALo(16,"translate"),i.qZA(),i._uU(17),i.qZA(),i.YNc(18,nL,3,3,"span",9),i.YNc(19,sL,3,3,"span",9),i.YNc(20,oL,10,12,"mat-radio-group",10),i.YNc(21,rL,3,3,"span",9),i.YNc(22,aL,3,3,"span",9),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",e.group.name," "),i.xp6(2),i.hij("#",e.group.id,""),i.xp6(1),i.hij(" - ",e.resource.name," "),i.xp6(2),i.hij("#",e.resource.id,""),i.xp6(3),i.hij(" ",i.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),i.xp6(2),i.hij(" ",e.status," "),i.xp6(3),i.hij(" ",i.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),i.xp6(2),i.hij(" ",e.getReversedStatus()," "),i.xp6(1),i.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),i.xp6(1),i.Q6J("ngIf","ACTIVE"===e.status),i.xp6(1),i.Q6J("ngIf","INACTIVE"===e.status||"FAILED"===e.status),i.xp6(1),i.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!1===e.asyncValidation),i.xp6(1),i.Q6J("ngIf",("INACTIVE"===e.status||"FAILED"===e.status)&&!0===e.asyncValidation)}}function lL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",15),i.TgZ(1,"button",16),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"button",17),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(5),i.ALo(6,"translate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),i.xp6(2),i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===e.status?"DEACTIVATE":"ACTIVATE"))," ")}}let uL=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.data=t,this.resourceService=s,this.groupService=a,this.loading=!1,this.asyncValidation=!1,this.resource=null,this.group=null}ngOnInit(){this.loading=!0,this.status=this.data.status,this.theme=this.data.theme,this.resourceService.getResourceById(this.data.resourceId).subscribe(e=>{this.resource=e,this.groupService.getGroupById(this.data.groupId).subscribe(t=>{this.group=t,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,"ACTIVE"===this.status?this.resourceService.deactivateGroupResourceAssignment(this.data.groupId,this.data.resourceId).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1):this.resourceService.activateGroupResourceAssignment(this.data.groupId,this.data.resourceId,this.asyncValidation).subscribe(()=>{this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}getReversedStatus(){return"ACTIVE"===this.status?"INACTIVE":"ACTIVE"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(ei),i.Y36(An))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-change-group-resource-assigment-dialog"]],decls:7,vars:9,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"mb-4"],[1,"text-muted","id-font"],[1,"mr-2"],["class","text-muted",4,"ngIf"],["class","d-flex flex-column mt-3",3,"ngModel","ngModelChange",4,"ngIf"],[1,"text-muted"],[1,"d-flex","flex-column","mt-3",3,"ngModel","ngModelChange"],[1,"font-weight-bold"],[3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"h1",0),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,iL,1,0,"mat-spinner",1),i.YNc(5,cL,23,17,"div",2),i.YNc(6,lL,7,7,"div",3),i.qZA()),2&e&&(i.Tol(t.theme),i.xp6(2),i.hij(" ",i.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,fs,Fn,GS,dn,zr,WS,En,Yt],pipes:[dt],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),n})();function dL(n,o){if(1&n&&(i.TgZ(0,"div",5),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(e.data.icon)}}function hL(n,o){if(1&n&&(i.TgZ(0,"div",6),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.showTimestamp()," ")}}let fL=(()=>{class n{constructor(e,t){this.dialog=e,this.notificationStorageService=t,this.newNotification=!1,this.closeNotification=new i.vpe,this.alreadyPressed=!1,this.alreadyClosed=!1,this.waiting=!1}doAction(){if(this.newNotification&&(this.alreadyPressed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,void 0!==this.data.action)this.data.action();else{const e=Ri();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(Y2,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function ND(n,o){return(0,zD.mG)(this,void 0,void 0,function*(){yield function HD(n){return new Promise(o=>setTimeout(o,n))}(n),o()})}(this.data.delay,()=>{!this.alreadyClosed&&!this.waiting&&this.closeSelf()})}showTimestamp(){const[e,t]=this.data.timeStamp.split(":");return t.length<2?e+":0"+t:this.data.timeStamp}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii),i.Y36(ES))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notification"]],inputs:{data:"data",inDialog:"inDialog",newNotification:"newNotification"},outputs:{closeNotification:"closeNotification"},decls:9,vars:14,consts:[[1,"notification-container",3,"click"],["class","notification-icon",4,"ngIf"],[1,"notification-text","clickable"],["class","ml-auto mr-5 mt-auto mb-auto",4,"ngIf"],[1,"notification-action","mt-auto","mb-auto",3,"hidden","click"],[1,"notification-icon"],[1,"ml-auto","mr-5","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",0),i.NdJ("click",function(){return t.alreadyClosed||t.waiting?"":t.closeSelf()}),i.YNc(2,dL,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,hL,2,1,"div",3),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.waiting=!0,t.doAction()}),i._uU(8),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Gre("notification ",t.inDialog?"":"mat-elevation-z7",""),i.ekj("error","error"===t.data.type)("success","success"===t.data.type),i.xp6(2),i.Q6J("ngIf",null!==t.data.icon),i.xp6(2),i.hij(" ",i.lcZ(5,12,t.data.title)," "),i.xp6(2),i.Q6J("ngIf",t.inDialog),i.xp6(1),i.Q6J("hidden",t.alreadyPressed),i.xp6(1),i.hij(" ",t.data.actionText," "))},directives:[b.O5,xn],pipes:[dt],styles:[".notification[_ngcontent-%COMP%]{width:450px;margin-bottom:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff}.notification-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;padding:16px}.notification-text[_ngcontent-%COMP%]{font-size:1.1em}.notification-action[_ngcontent-%COMP%]{margin-left:auto;text-decoration:underline;cursor:pointer}@media (max-width: 768px){.notification[_ngcontent-%COMP%]{width:100%}}.notification.error[_ngcontent-%COMP%]{background-color:#d32f2f}.notification.success[_ngcontent-%COMP%]{background-color:#288619}.notification-icon[_ngcontent-%COMP%]{padding-right:8px;color:#fff}"]}),n})();function pL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const a=i.CHM(e).index;return i.oxw().removeNotification(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const gL=function(n){return{top:n}};let mL=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.mobileView=!1,this.minWidth=992,this.displayWarning=!1,this.notifications=[],this.notificator.addNotification.subscribe(s=>{this.processNotification(s)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sr),i.Y36(ES))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,pL,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,gL,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[b.PC,b.sg,fL],styles:["#notificator[_ngcontent-%COMP%]{position:fixed;right:0;z-index:1001;padding:8px}@media (max-width: 768px){#notificator[_ngcontent-%COMP%]{width:100%;top:auto;top:initial;bottom:0}}"],data:{animation:[s2]}}),n})();const _L=["*",[["mat-toolbar-row"]]],bL=["*","mat-toolbar-row"],yL=va(class{constructor(n){this._elementRef=n}});let AL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),wL=(()=>{class n extends yL{constructor(e,t,s){super(e),this._platform=t,this._document=s}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ei),i.Y36(b.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,AL,5),2&e){let a;i.iGM(a=i.CRH())&&(t._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:bL,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(_L),i.Hsn(0),i.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),ML=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();function ZS(n){for(let o in n){let e=n[o]||"";switch(o){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+o]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+o]=isNaN(+e)?"0":e}}return n}const jv="inline",Oy=["row","column","row-reverse","column-reverse"];function $S(n){let[o,e,t]=function XS(n){var o;n=null!==(o=null==n?void 0:n.toLowerCase())&&void 0!==o?o:"";let[e,t,s]=n.split(" ");return Oy.find(a=>a===e)||(e=Oy[0]),t===jv&&(t=s!==jv?s:"",s=jv),[e,vL(t),!!s]}(n);return function TL(n,o=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":o||null}}(o,e,t)}function vL(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}const SL={provide:i.tb,useFactory:function CL(n,o){return()=>{if((0,b.NF)(o)){const e=Array.from(n.querySelectorAll(`[class*=${QS}]`)),t=/\bflex-layout-.+?\b/g;e.forEach(s=>{s.classList.contains(`${QS}ssr`)&&s.parentNode?s.parentNode.removeChild(s):s.className.replace(t,"")})}}},deps:[b.K0,i.Lbi],multi:!0},QS="flex-layout-";let Yv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[SL]}),n})();class Gd{constructor(o=!1,e="all",t="",s="",a=0){this.matches=o,this.mediaQuery=e,this.mqAlias=t,this.suffix=s,this.priority=a,this.property=""}clone(){return new Gd(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let EL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,s){const a=this.stylesheet.get(e);a?a.set(t,s):this.stylesheet.set(e,new Map([[t,s]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const s=this.stylesheet.get(e);let a="";if(s){const r=s.get(t);("number"==typeof r||"string"==typeof r)&&(a=r+"")}return a}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Uv={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},jr=new i.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Uv}),np=new i.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Vv=new i.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function JS(n,o){return n=n?n.clone():new Gd,o&&(n.mqAlias=o.alias,n.mediaQuery=o.mediaQuery,n.suffix=o.suffix,n.priority=o.priority),n}class yn{constructor(){this.shouldCache=!0}sideEffect(o,e,t){}}let Gi=(()=>{class n{constructor(e,t,s,a){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=s,this.layoutConfig=a}applyStyleToElement(e,t,s=null){let a={};"string"==typeof t&&(a[t]=s,t=a),a=this.layoutConfig.disableVendorPrefixes?t:ZS(t),this._applyMultiValueStyleToElement(a,e)}applyStyleToElements(e,t=[]){const s=this.layoutConfig.disableVendorPrefixes?e:ZS(e);t.forEach(a=>{this._applyMultiValueStyleToElement(s,a)})}getFlowDirection(e){const t="flex-direction";let s=this.lookupStyle(e,t);return[s||"row",this.lookupInlineStyle(e,t)||(0,b.PM)(this._platformId)&&this._serverModuleLoaded?s:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){var s;return null!==(s=e.getAttribute(t))&&void 0!==s?s:""}lookupInlineStyle(e,t){return(0,b.NF)(this._platformId)?e.style.getPropertyValue(t):function kL(n,o){var e;return null!==(e=eE(n)[o])&&void 0!==e?e:""}(e,t)}lookupStyle(e,t,s=!1){let a="";return e&&((a=this.lookupInlineStyle(e,t))||((0,b.NF)(this._platformId)?s||(a=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(a=this._serverStylesheet.getStyleForElement(e,t)))),a?a.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(s=>{const a=e[s],r=Array.isArray(a)?a:[a];r.sort();for(let c of r)c=c?c+"":"",(0,b.NF)(this._platformId)||!this._serverModuleLoaded?(0,b.NF)(this._platformId)?t.style.setProperty(s,c):DL(t,s,c):this._serverStylesheet.addStyleToElement(t,s,c)})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(EL),i.LFG(np),i.LFG(i.Lbi),i.LFG(jr))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DL(n,o,e){o=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const t=eE(n);t[o]=null!=e?e:"",function xL(n,o){let e="";for(const t in o)o[t]&&(e+=`${t}:${o[t]};`);n.setAttribute("style",e)}(n,t)}function eE(n){const o={},e=n.getAttribute("style");if(e){const t=e.split(/;+/g);for(let s=0;s0){const r=a.indexOf(":");if(-1===r)throw new Error(`Invalid CSS style: ${a}`);o[a.substr(0,r).trim()]=a.substr(r+1).trim()}}}return o}function o1(n,o){return(o&&o.priority||0)-(n&&n.priority||0)}function LL(n,o){return(n.priority||0)-(o.priority||0)}let Gv=(()=>{class n{constructor(e,t,s){this._zone=e,this._platformId=t,this._document=s,this.source=new Bi(new Gd(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,s)=>{t.matches&&e.push(s)}),e}isActive(e){var t;const s=this.registry.get(e);return null!==(t=null==s?void 0:s.matches)&&void 0!==t?t:this.registerQuery(e).some(a=>a.matches)}observe(e,t=!1){if(e&&e.length){const s=this._observable$.pipe((0,qt.h)(r=>!t||e.indexOf(r.mediaQuery)>-1)),a=new Fi.y(r=>{const c=this.registerQuery(e);if(c.length){const d=c.pop();c.forEach(h=>{r.next(h)}),this.source.next(d)}r.complete()});return(0,Li.T)(a,s)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],s=[];return function RL(n,o){const e=n.filter(t=>!tE[t]);if(e.length>0){const t=e.join(", ");try{const s=o.createElement("style");s.setAttribute("type","text/css"),s.styleSheet||s.appendChild(o.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),o.head.appendChild(s),e.forEach(a=>tE[a]=s)}catch(s){console.error(s)}}}(t,this._document),t.forEach(a=>{const r=d=>{this._zone.run(()=>this.source.next(new Gd(d.matches,a)))};let c=this.registry.get(a);c||(c=this.buildMQL(a),c.addListener(r),this.pendingRemoveListenerFns.push(()=>c.removeListener(r)),this.registry.set(a,c)),c.matches&&s.push(new Gd(!0,a))}),s}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function OL(n,o){return o&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,(0,b.NF)(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(i.Lbi),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const tE={},PL=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],iE="(orientation: portrait) and (max-width: 599.98px)",nE="(orientation: landscape) and (max-width: 959.98px)",sE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",oE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",rE="(orientation: portrait) and (min-width: 840px)",aE="(orientation: landscape) and (min-width: 1280px)",Qc={HANDSET:`${iE}, ${nE}`,TABLET:`${sE} , ${oE}`,WEB:`${rE}, ${aE} `,HANDSET_PORTRAIT:`${iE}`,TABLET_PORTRAIT:`${sE} `,WEB_PORTRAIT:`${rE}`,HANDSET_LANDSCAPE:`${nE}`,TABLET_LANDSCAPE:`${oE}`,WEB_LANDSCAPE:`${aE}`},zL=[{alias:"handset",priority:2e3,mediaQuery:Qc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Qc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Qc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Qc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Qc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Qc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Qc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Qc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Qc.WEB_PORTRAIT,overlapping:!0}],IL=/(\.|-|_)/g;function NL(n){let o=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return o.toUpperCase()+e}const qL=new i.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=(0,i.f3M)(Vv),o=(0,i.f3M)(jr),e=[].concat.apply([],(n||[]).map(s=>Array.isArray(s)?s:[s]));return function FL(n,o=[]){const e={};return n.forEach(t=>{e[t.alias]=t}),o.forEach(t=>{e[t.alias]?function Xc(n,...o){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of o)if(null!=e)for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(e[t.alias],t):e[t.alias]=t}),function BL(n){return n.forEach(o=>{o.suffix||(o.suffix=function HL(n){return n.replace(IL,"|").split("|").map(NL).join("")}(o.alias),o.overlapping=!!o.overlapping)}),n}(Object.keys(e).map(t=>e[t]))}((o.disableDefaultBps?[]:PL).concat(o.addOrientationBps?zL:[]),e)}});let Wv=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(LL)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias===e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>{var t;return null!==(t=null==e?void 0:e.suffix)&&void 0!==t?t:""})}findWithPredicate(e,t){var s;let a=this.findByMap.get(e);return a||(a=null!==(s=this.items.find(t))&&void 0!==s?s:null,this.findByMap.set(e,a)),null!=a?a:null}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(qL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const sp="print",jL={alias:sp,mediaQuery:sp,priority:1e3};let YL=(()=>{class n{constructor(e,t,s){this.breakpoints=e,this.layoutConfig=t,this._document=s,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new UL,this.deactivations=[]}withPrintQuery(e){return[...e,sp]}isPrintEvent(e){return e.mediaQuery.startsWith(sp)}get printAlias(){var e;return[...null!==(e=this.layoutConfig.printWithBreakpoints)&&void 0!==e?e:[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(o1)}updateEvent(e){var t;let s=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(s=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(t=null==s?void 0:s.mediaQuery)&&void 0!==t?t:""),JS(e,s)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Gd(!0,sp))),e.updateStyles())},s=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",s),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(s)}interceptEvents(e){return t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):!t.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!t.matches){const s=this.breakpoints.findByQuery(t.mediaQuery);if(s){const a=this.formerActivations&&this.formerActivations.includes(s),r=!this.formerActivations&&e.activatedBreakpoints.includes(s);(a||r)&&(this.deactivations.push(s),this.deactivations.sort(o1))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Wv),i.LFG(jr),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class UL{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(o){return o.push(jL),o.sort(o1),o.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(o){o&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===o.mediaQuery)&&(this.printBreakpoints=function VL(n){var o;return null!==(o=null==n?void 0:n.mediaQuery.startsWith(sp))&&void 0!==o&&o}(o)?[o,...this.printBreakpoints]:[...this.printBreakpoints,o])}clear(){this.printBreakpoints=[]}}let Qi=(()=>{class n{constructor(e,t,s){this.matchMedia=e,this.breakpoints=t,this.hook=s,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new De.xQ,this.observeActivations()}get activatedAlias(){var e,t;return null!==(t=null===(e=this.activatedBreakpoints[0])||void 0===e?void 0:e.alias)&&void 0!==t?t:""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);if(t){e=JS(e,t);const s=this.activatedBreakpoints.indexOf(t);e.matches&&-1===s?(this._activatedBreakpoints.push(t),this._activatedBreakpoints.sort(o1),this.updateStyles()):!e.matches&&-1!==s&&(this._activatedBreakpoints.splice(s,1),this._activatedBreakpoints.sort(o1),this.updateStyles())}}init(e,t,s,a,r=[]){cE(this.updateMap,e,t,s),cE(this.clearMap,e,t,a),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}getValue(e,t,s){const a=this.elementMap.get(e);if(a){const r=void 0!==s?a.get(s):this.getActivatedValues(a,t);if(r)return r.get(t)}}hasValue(e,t){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,t);if(a)return void 0!==a.get(t)||!1}return!1}setValue(e,t,s,a){var r;let c=this.elementMap.get(e);if(c){const h=(null!==(r=c.get(a))&&void 0!==r?r:new Map).set(t,s);c.set(a,h),this.elementMap.set(e,c)}else c=(new Map).set(a,(new Map).set(t,s)),this.elementMap.set(e,c);const d=this.getValue(e,t);void 0!==d&&this.updateElement(e,t,d)}trackValue(e,t){return this.subject.asObservable().pipe((0,qt.h)(s=>s.element===e&&s.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const s=new Set(this.elementKeyMap.get(t));let a=this.getActivatedValues(e);a&&a.forEach((r,c)=>{this.updateElement(t,c,r),s.delete(c)}),s.forEach(r=>{if(a=this.getActivatedValues(e,r),a){const c=a.get(r);this.updateElement(t,r,c)}else this.clearElement(t,r)})})}clearElement(e,t){const s=this.clearMap.get(e);if(s){const a=s.get(t);a&&(a(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,s){const a=this.updateMap.get(e);if(a){const r=a.get(t);r&&(r(s),this.subject.next({element:e,key:t,value:s}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(a=>a.unsubscribe()),this.watcherMap.delete(e));const s=this.elementMap.get(e);s&&(s.forEach((a,r)=>s.delete(r)),this.elementMap.delete(e))}triggerUpdate(e,t){const s=this.elementMap.get(e);if(s){const a=this.getActivatedValues(s,t);a&&(t?this.updateElement(e,t,a.get(t)):a.forEach((r,c)=>this.updateElement(e,c,r)))}}buildElementKeyMap(e,t){let s=this.elementKeyMap.get(e);s||(s=new Set,this.elementKeyMap.set(e,s)),s.add(t)}watchExtraTriggers(e,t,s){if(s&&s.length){let a=this.watcherMap.get(e);if(a||(a=new Map,this.watcherMap.set(e,a)),!a.get(t)){const c=(0,Li.T)(...s).subscribe(()=>{const d=this.getValue(e,t);this.updateElement(e,t,d)});a.set(t,c)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let a=0;at.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,qi.b)(this.hook.interceptEvents(this)),(0,qt.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Gv),i.LFG(Wv),i.LFG(YL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function cE(n,o,e,t){var s;if(void 0!==t){const a=null!==(s=n.get(o))&&void 0!==s?s:new Map;a.set(e,t),n.set(o,a)}}let hn=(()=>{class n{constructor(e,t,s,a){this.elementRef=e,this.styleBuilder=t,this.styler=s,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new De.xQ,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const s=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,s)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const s=this.styleBuilder,a=s.shouldCache;let r=this.styleCache.get(e);(!r||!a)&&(r=s.buildStyles(e,t),a&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),s.sideEffect(e,r,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[s,a]=this.styler.getFlowDirection(e);if(!a&&t){const r=$S(s);this.styler.applyStyleToElements(r,[e])}return s.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,s=this.nativeElement){this.styler.applyStyleToElement(s,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(yn),i.Y36(Gi),i.Y36(Qi))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class rR{constructor(o,e,t=!0){this.key=o,this.value=e,this.key=t?o.replace(/['"]/g,"").trim():o.trim(),this.value=t?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function hE(n){let o=typeof n;return"object"===o?n.constructor===Array?"array":n.constructor===Set?"set":"object":o}function pE(n){const[o,...e]=n.split(":");return new rR(o,e.join(":"))}function gE(n,o){return o.key&&(n[o.key]=o.value),n}let lR=(()=>{class n extends hn{constructor(e,t,s,a,r,c,d,h,g){var O;super(e,null,t,s),this.sanitizer=a,this.ngStyleInstance=d,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new b.PC(e,r,c)),this.init();const $=null!==(O=this.nativeElement.getAttribute("style"))&&void 0!==O?O:"";this.fallbackStyles=this.buildStyleMap($),this.isServer=h&&(0,b.PM)(g)}updateWithValue(e){const t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const t=s=>{var a;return null!==(a=this.sanitizer.sanitize(i.q3G.STYLE,s))&&void 0!==a?a:""};if(e)switch(hE(e)){case"string":return mE(function aR(n,o=";"){return String(n).trim().split(o).map(e=>e.trim()).filter(e=>""!==e)}(e),t);case"array":return mE(e,t);default:return function fE(n,o){let e=[];return"set"===hE(n)?n.forEach(t=>e.push(t)):Object.keys(n).forEach(t=>{e.push(`${t}:${n[t]}`)}),function cR(n,o){return n.map(pE).filter(t=>!!t).map(t=>(o&&(t.value=o(t.value)),t)).reduce(gE,{})}(e,o)}(e,t)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Gi),i.Y36(Qi),i.Y36(ms),i.Y36(i.aQg),i.Y36(i.Qsj),i.Y36(b.PC,10),i.Y36(np),i.Y36(i.Lbi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const uR=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let zy=(()=>{class n extends lR{constructor(){super(...arguments),this.inputs=uR}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[i.qOj]}),n})();function mE(n,o){return n.map(pE).filter(t=>!!t).map(t=>(o&&(t.value=o(t.value)),t)).reduce(gE,{})}let _E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv]]}),n})();const Zv=function(n){return{color:n}};function dR(n,o){if(1&n&&(i.TgZ(0,"button",8),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",4),i._uU(3," apps "),i.qZA(),i.qZA()),2&n){const e=i.oxw(),t=i.MAs(2);i.Q6J("matMenuTriggerFor",t)("matTooltip",i.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),i.xp6(2),i.Q6J("ngStyle",i.VKq(5,Zv,e.iconColor))}}function hR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().onLogOut()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"NAV.LOGOUT")," "))}let fR=(()=>{class n{constructor(e,t,s,a){this.authService=e,this.authzResolverService=t,this.notificator=s,this.translateService=a}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dr),i.Y36(Ki),i.Y36(sr),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header-menu"]],inputs:{user:"user",iconColor:"iconColor",textColor:"textColor",logoutEnabled:"logoutEnabled",url:"url",label:"label"},decls:14,vars:15,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip",4,"ngIf"],["appsMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","",3,"matMenuTriggerFor"],[3,"ngStyle"],[1,"d-none","d-lg-inline",3,"ngStyle"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"]],template:function(e,t){if(1&e&&(i.YNc(0,dR,4,7,"button",0),i.TgZ(1,"mat-menu",null,1),i.TgZ(3,"button",2),i.NdJ("click",function(){return t.redirectToUrl()}),i.TgZ(4,"span"),i._uU(5),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"button",3),i.TgZ(7,"mat-icon",4),i._uU(8," person "),i.qZA(),i.TgZ(9,"span",5),i._uU(10),i.qZA(),i.qZA(),i.TgZ(11,"mat-menu",null,6),i.YNc(13,hR,3,3,"button",7),i.qZA()),2&e){const s=i.MAs(12);i.Q6J("ngIf",t.url),i.xp6(5),i.Oqu(t.label),i.xp6(1),i.Q6J("matMenuTriggerFor",s),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,Zv,t.iconColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(13,Zv,t.textColor)),i.xp6(1),i.xDo(" ",t.user.titleBefore," ",t.user.firstName," ",t.user.middleName," ",t.user.lastName," ",t.user.titleAfter," "),i.xp6(3),i.Q6J("ngIf",t.logoutEnabled)}},directives:[b.O5,Yt,_S,vs,xn,b.PC,Xf,Vc],pipes:[dt],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),n})();const bE=function(n){return{color:n}};function pR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){return i.CHM(e),i.oxw().onToggleSidenav()}),i.TgZ(1,"mat-icon"),i._uU(2,"menu"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(1,bE,e.iconColor))}}function gR(n,o){1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"span",9),i._uU(2," ~ \u{1f5f2}\xa0 "),i.qZA(),i.TgZ(3,"span",10),i._uU(4," DEVEL "),i.qZA(),i.TgZ(5,"span",9),i._uU(6," \u{1f5f2} ~ "),i.qZA(),i.qZA())}const mR=function(n){return{background:n}},_R=function(){return[]},bR=function(){return["/"]};let yR=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.translate=s,this.otherApplicationService=a,this.label=this.storeService.get("header_label_en"),this.logoutEnabled=this.storeService.get("log_out_enabled"),this.adminLabel=this.storeService.get("admin_gui_label_en"),this.principal=this.storeService.getPerunPrincipal(),this.sidenavToggle=new i.vpe,this.hideToggle=!1,this.disableLogo=!1,this.bgColor=this.storeService.get("theme","nav_bg_color"),this.textColor=this.storeService.get("theme","nav_text_color"),this.iconColor=this.storeService.get("theme","nav_icon_color"),this.isDevel=!1,this.activeLink=!1,this.onToggleSidenav=()=>{this.sidenavToggle.emit()}}ngOnInit(){this.isDevel=this.storeService.get("is_devel"),this.translate.onLangChange.subscribe(e=>{this.label=this.storeService.get(`header_label_${e.lang}`),this.adminLabel=this.storeService.get(`admin_gui_label_${e.lang}`)}),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.isLinkToGuiActive()}isLinkToGuiActive(){this.linkRoles=this.storeService.get("link_to_admin_gui_by_roles");for(const e in this.storeService.getPerunPrincipal().roles)this.linkRoles.includes(e)&&(this.activeLink=!0);this.activeLink&&(this.adminGuiUrl=this.otherApplicationService.getUrlForOtherApplication("admin"))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(ms),i.Y36(Ai),i.Y36(DS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-header"]],inputs:{hideToggle:"hideToggle",disableLogo:"disableLogo"},outputs:{sidenavToggle:"sidenavToggle"},decls:8,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],["id","nav-menu-icons"],["mat-icon-button","",3,"ngStyle","click",4,"ngIf"],["queryParamsHandling","merge",1,"logo-container","mt-auto","mb-auto",3,"innerHTML","routerLink"],[1,"ml-3","mt-auto","mb-auto","hide-label",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-menu-user-info",3,"url","label","user","logoutEnabled","iconColor","textColor"],["mat-icon-button","",3,"ngStyle","click"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-toolbar",0),i.TgZ(1,"div",1),i.YNc(2,pR,3,3,"button",2),i._UZ(3,"a",3),i.TgZ(4,"p",4),i._uU(5),i.qZA(),i.qZA(),i.YNc(6,gR,7,0,"div",5),i._UZ(7,"perun-web-apps-header-menu",6),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(13,mR,t.bgColor)),i.xp6(2),i.Q6J("ngIf",!t.hideToggle),i.xp6(1),i.Q6J("innerHTML",t.logo,i.oJD)("routerLink",t.disableLogo?i.DdM(15,_R):i.DdM(16,bR)),i.xp6(1),i.Q6J("ngStyle",i.VKq(17,bE,t.textColor)),i.xp6(1),i.Oqu(t.label),i.xp6(1),i.Q6J("ngIf",t.isDevel),i.xp6(1),i.Q6J("url",t.adminGuiUrl)("label",t.adminLabel)("user",t.principal.user)("logoutEnabled",t.logoutEnabled)("iconColor",t.iconColor)("textColor",t.textColor))},directives:[wL,b.PC,zy,b.O5,Yt,xn,_,fR],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;padding:0 0 0 8px;z-index:999}#nav-menu-user-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding-right:16px;margin-left:auto;margin-right:0}@media (max-width: 570px){.hide-label[_ngcontent-%COMP%]{display:none}}#nav-devel-info[_ngcontent-%COMP%]{margin-left:auto;font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#nav-menu-icons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();function yE(n){return o=>o.lift(new AR(n))}class AR{constructor(o){this.value=o}call(o,e){return e.subscribe(new wR(o,this.value))}}class wR extends Ys.L{constructor(o,e){super(o),this.value=e}_next(o){this.destination.next(this.value)}}const Iy=["*"],MR=["content"];function vR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function TR(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const CR=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],SR=["mat-drawer","mat-drawer-content","*"];function ER(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&n){const e=i.oxw();i.ekj("mat-drawer-shown",e._isShowingBackdrop())}}function kR(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const DR=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],xR=["mat-sidenav","mat-sidenav-content","*"],AE={transformDrawer:Ti("transform",[ii("open, open-instant",qe({transform:"none",visibility:"visible"})),ii("void",qe({"box-shadow":"none",visibility:"hidden"})),Ht("void => open-instant",Ct("0ms")),Ht("void <=> open, open-instant => void",Ct("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},RR=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function OR(){return!1}}),$v=new i.OlP("MAT_DRAWER_CONTAINER");let Ny=(()=>{class n extends Xu{constructor(e,t,s,a,r){super(s,a,r),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>ME)),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Xu,useExisting:n}]),i.qOj],ngContentSelectors:Iy,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),wE=(()=>{class n{constructor(e,t,s,a,r,c,d,h){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=s,this._platform=a,this._ngZone=r,this._interactivityChecker=c,this._doc=d,this._container=h,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new De.xQ,this._animationEnd=new De.xQ,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,qt.h)(g=>g),(0,pt.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,qt.h)(g=>g.fromState!==g.toState&&0===g.toState.indexOf("open")),yE(void 0)),this._closedStream=this.openedChange.pipe((0,qt.h)(g=>!g),(0,pt.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,qt.h)(g=>g.fromState!==g.toState&&"void"===g.toState),yE(void 0)),this._destroyed=new De.xQ,this.onPositionChanged=new i.vpe,this._modeChanged=new De.xQ,this.openedChange.subscribe(g=>{g?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{ha(this._elementRef.nativeElement,"keydown").pipe((0,qt.h)(g=>27===g.keyCode&&!this.disableClose&&!cn(g)),it(this._destroyed)).subscribe(g=>this._ngZone.run(()=>{this.close(),g.stopPropagation(),g.preventDefault()}))}),this._animationEnd.pipe(Yh((g,O)=>g.fromState===O.fromState&&g.toState===O.toState)).subscribe(g=>{const{fromState:O,toState:$}=g;(0===$.indexOf("open")&&"void"===O||"void"===$&&0===O.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=je(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=je(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(je(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(t)}_focusByCssSelector(e,t){let s=this._elementRef.nativeElement.querySelector(e);s&&this._forceFocus(s,t)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);const s=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),s}_setOpen(e,t,s){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(s)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe((0,$t.q)(1)).subscribe(r=>a(r?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const t=this._elementRef.nativeElement,s=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),s.insertBefore(this._anchor,t)),s.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(km),i.Y36(So),i.Y36(Ei),i.Y36(i.R0b),i.Y36(Tc),i.Y36(b.K0,8),i.Y36($v,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(MR,5),2&e){let s;i.iGM(s=i.CRH())&&(t._content=s.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(a){return t._animationStarted.next(a)})("@transform.done",function(a){return t._animationEnd.next(a)}),2&e&&(i.uIk("align",null),i.d8E("@transform",t._animationState),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Iy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Xu],encapsulation:2,data:{animation:[AE.transformDrawer]},changeDetection:0}),n})(),ME=(()=>{class n{constructor(e,t,s,a,r,c=!1,d){this._dir=e,this._element=t,this._ngZone=s,this._changeDetectorRef=a,this._animationMode=d,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new De.xQ,this._doCheckSubject=new De.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new De.xQ,e&&e.change.pipe(it(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(it(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=je(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:je(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(ci(this._allDrawers),it(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(ci(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,qh.b)(10),it(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const s=this._left._getWidth();e+=s,t-=s}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const s=this._right._getWidth();t+=s,e-=s}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe((0,qt.h)(t=>t.fromState!==t.toState),it(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(it(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(it(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,$t.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(it((0,Li.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,s="mat-drawer-container-has-open";e?t.add(s):t.remove(s)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hn,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(ws),i.Y36(RR),i.Y36(Bn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ny,5),i.Suo(s,wE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},viewQuery:function(e,t){if(1&e&&i.Gf(Ny,5),2&e){let s;i.iGM(s=i.CRH())&&(t._userContent=s.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:$v,useExisting:n}])],ngContentSelectors:SR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(CR),i.YNc(0,vR,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,TR,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[Ny,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),Xv=(()=>{class n extends Ny{constructor(e,t,s,a,r){super(e,t,s,a,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>TE)),i.Y36(i.SBq),i.Y36(mc),i.Y36(i.R0b))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&i.Udp("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[i._Bn([{provide:Xu,useExisting:n}]),i.qOj],ngContentSelectors:Iy,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),vE=(()=>{class n extends wE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=je(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=on(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=on(e)}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(i.uIk("align",null),i.Udp("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:Iy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA())},directives:[Xu],encapsulation:2,data:{animation:[AE.transformDrawer]},changeDetection:0}),n})(),TE=(()=>{class n extends ME{}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Xv,5),i.Suo(s,vE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first),i.iGM(a=i.CRH())&&(t._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:$v,useExisting:n}]),i.qOj],ngContentSelectors:xR,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(DR),i.YNc(0,ER,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,kR,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[Xv,b.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),PR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,vl,Cn],Cn,gt]}),n})(),zR=(()=>{class n{constructor(e){this.store=e}getSideMenuItems(){const e=this.store.get("displayed_tabs"),t=[];return e.forEach(a=>{switch(a){case"profile":t.push({label:"MENU_ITEMS.PROFILE",icon:"account_box",link:"/profile",activatedRegex:"^/profile$",tabName:"profile"});break;case"identities":t.push({label:"MENU_ITEMS.IDENTITIES",icon:"remove_red_eye",link:"/profile/identities",activatedRegex:"^/profile/identities$",tabName:"identities"});break;case"services":t.push({label:"MENU_ITEMS.SERVICES",icon:"build",link:"/profile/services",activatedRegex:"^/profile/services$",tabName:"services"});break;case"groups":t.push({label:"MENU_ITEMS.GROUPS",icon:"group",link:"/profile/groups",activatedRegex:"^/profile/groups$",tabName:"groups"});break;case"vos":t.push({label:"MENU_ITEMS.VOS",icon:"account_balance",link:"/profile/organizations",activatedRegex:"^/profile/organizations$",tabName:"vos"});break;case"privacy":t.push({label:"MENU_ITEMS.PRIVACY",icon:"vpn_key",link:"/profile/privacy",activatedRegex:"^/profile/privacy$",tabName:"privacy"});break;case"settings":t.push({label:"MENU_ITEMS.SETTINGS",icon:"settings",link:"/profile/settings",activatedRegex:"^/profile/settings",tabName:"settings"})}}),this.store.get("external_services").forEach(a=>{const r={icon:"insert_link",link:a.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(c=>{var d;r[`label_${c}`]=null!==(d=a[`label_${c}`])&&void 0!==d?d:a.label_en}),t.push(r)}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(ti))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),IR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();const Qv=["*"],NR=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],HR=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],SE=ir(to(class{})),YR=to(class{}),EE=new i.OlP("MatList"),kE=new i.OlP("MatNavList");let UR=(()=>{class n extends SE{constructor(){super(...arguments),this._stateChanges=new De.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:kE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Qv,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),Jv=(()=>{class n extends SE{constructor(e){super(),this._elementRef=e,this._stateChanges=new De.xQ,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i._Bn([{provide:EE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:Qv,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),n})(),DE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),Hy=(()=>{class n extends YR{constructor(e,t,s,a){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new De.xQ,this._disabled=!1,this._isInteractiveList=!!(s||a&&"action-list"===a._getListType()),this._list=s||a;const r=this._getHostElement();"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(it(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=je(e)}ngAfterContentInit(){!function Ta(n,o,e="mat"){n.changes.pipe(ci(n)).subscribe(({length:t})=>{vd(o,`${e}-2-line`,!1),vd(o,`${e}-3-line`,!1),vd(o,`${e}-multi-line`,!1),2===t||3===t?vd(o,`${e}-${t}-line`,!0):t>3&&vd(o,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(kE,8),i.Y36(EE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,DE,5),i.Suo(s,xE,5),i.Suo(s,pf,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._avatar=a.first),i.iGM(a=i.CRH())&&(t._icon=a.first),i.iGM(a=i.CRH())&&(t._lines=a)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:HR,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(i.F$t(NR),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Ns],encapsulation:2,changeDetection:0}),n})(),$R=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[z_,io,gt,Ul,b.ez],z_,gt,Ul,IR]}),n})(),RE=(()=>{class n{transform(e,t,s){return e[`${s}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})();const XR=function(n){return{color:n}};function QR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return a.external?r.goToURL(a.link):r.shouldHideMenu()}),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.TgZ(3,"span",3),i._uU(4),i.ALo(5,"localisedText"),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.ekj("activated",t.isActive(e.activatedRegex)),i.s9C("routerLink",e.external?null:e.link),i.Q6J("ngStyle",i.VKq(16,XR,t.textColor))("matRippleColor","rgba(255, 255, 255, 0.1)"),i.xp6(2),i.Oqu(e.icon),i.xp6(2),i.Oqu(e.external?i.Dn7(5,7,e,t.lang,"label"):i.lcZ(6,11,i.xi3(7,13,e.label,t.lang)))}}let JR=(()=>{class n{constructor(e,t,s,a){this.sideMenuItemService=e,this.storeService=t,this.router=s,this.translateService=a,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=s.url,s.events.subscribe(r=>{r instanceof Te&&(this.currentUrl=r.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:s}=t;this.lang=s});const e=this.storeService.get("displayed_tabs");this.items=this.sideMenuItemService.getSideMenuItems(),this.items=this.items.filter(t=>e.includes(t.tabName))}isActive(e){return new RegExp(e).test(this.currentUrl)}shouldHideMenu(){"over"===this.sideNav.mode&&this.sideNav.close()}goToURL(e){window.open(e,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zR),i.Y36(ti),i.Y36(ji),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-side-menu"]],inputs:{sideNav:"sideNav"},decls:2,vars:1,consts:[[1,"pt-0"],["mat-ripple","","class","side-menu-item-height","queryParamsHandling","merge",3,"activated","ngStyle","matRippleColor","routerLink","click",4,"ngFor","ngForOf"],["mat-ripple","","queryParamsHandling","merge",1,"side-menu-item-height",3,"ngStyle","matRippleColor","routerLink","click"],[1,"nav-caption","ml-3"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,QR,8,18,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[UR,b.sg,Hy,Ns,b.PC,zy,It,xn],pipes:[RE,dt,Ci],styles:[".nav-caption[_ngcontent-%COMP%]{display:inline-block;padding-left:6px}.side-menu-item-height[_ngcontent-%COMP%]{height:40px!important}mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important}.activated[_ngcontent-%COMP%]{background:var(--side-active)!important;color:var(--side-text-active)!important}"]}),n})();function eO(n,o){if(1&n&&(i.TgZ(0,"span",1),i.TgZ(1,"a",2),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("routerLink",e.routerLink),i.xp6(1),i.Oqu(e.label)}}let tO=(()=>{class n{constructor(e,t,s){this.router=e,this.activatedRoute=t,this.translate=s,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,qt.h)(e=>e instanceof Te)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,t=""){const s=e.children;0===s.length||"service-access"===s[0].snapshot.routeConfig.path||s.forEach(a=>{const r=a.snapshot.url.map(d=>d.path).join("/");""!==r&&(t+=`/${r}`);const c=this.translate.instant(a.snapshot.data[n.ROUTE_DATA_BREADCRUMB]);return c&&(!this.menuItems[this.menuItems.length-1]||c!==this.menuItems[this.menuItems.length-1].label)&&this.menuItems.push({label:c,routerLink:t}),this.createBreadcrumbs(a,t)})}}return n.ROUTE_DATA_BREADCRUMB="breadcrumb",n.\u0275fac=function(e){return new(e||n)(i.Y36(ji),i.Y36(Xn),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-breadcrumbs"]],decls:1,vars:1,consts:[["class","custom-breadcrumb",4,"ngFor","ngForOf"],[1,"custom-breadcrumb"],["queryParamsHandling","merge",1,"breadcrumb-text",3,"routerLink"]],template:function(e,t){1&e&&i.YNc(0,eO,3,2,"span",0),2&e&&i.Q6J("ngForOf",t.menuItems)},directives:[b.sg,_],styles:['.custom-breadcrumb[_ngcontent-%COMP%]{display:inline-block}.custom-breadcrumb[_ngcontent-%COMP%]:first-child:before{display:none}.custom-breadcrumb[_ngcontent-%COMP%]:before{content:">";vertical-align:center;display:inline-block;margin:0 10px 10px 8px;-webkit-font-smoothing:antialiased}.breadcrumb-text[_ngcontent-%COMP%]{text-decoration:none!important;color:#2c2c2c}']}),n})();function iO(n,o){1&n&&(i.TgZ(0,"mat-error"),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let nO=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=a,this.storeService=r,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(e=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+e.ticketNumber)),this.dialogRef.close()})}getFullEmailBody(){return this.message+"\n ------------------------\n Perun instance: "+this.instanceName+"\n Sended from new Perun Gui, version: "+w(4147).i8}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Ai),i.Y36(sr),i.Y36(ni),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-report-issue-dialog"]],decls:29,vars:25,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container"],["matInput","","required","","type","text",3,"ngModel","ngModelChange"],["subjectModel","ngModel"],[4,"ngIf"],["matInput","",3,"placeholder","ngModel","ngModelChange"],["mat-dialog-actions",""],[1,"ml-auto"],["mat-button","",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){if(1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.qZA(),i.TgZ(3,"div",1),i.TgZ(4,"mat-form-field"),i.TgZ(5,"mat-label"),i._uU(6),i.ALo(7,"translate"),i.qZA(),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(a){return t.subject=a}),i.qZA(),i.YNc(10,iO,3,3,"mat-error",4),i.qZA(),i.TgZ(11,"mat-form-field"),i.TgZ(12,"mat-label"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.TgZ(15,"textarea",5),i.NdJ("ngModelChange",function(a){return t.message=a}),i.ALo(16,"translate"),i._uU(17," "),i.qZA(),i.TgZ(18,"mat-hint"),i._uU(19),i.ALo(20,"translate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(21,"div",6),i.TgZ(22,"div",7),i.TgZ(23,"button",8),i.NdJ("click",function(){return t.close()}),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.TgZ(26,"button",9),i.NdJ("click",function(){return t.sendBugReport()}),i._uU(27),i.ALo(28,"translate"),i.qZA(),i.qZA(),i.qZA()),2&e){const s=i.MAs(9);i.xp6(1),i.Oqu(i.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),i.xp6(5),i.Oqu(i.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),i.xp6(2),i.Q6J("ngModel",t.subject),i.xp6(2),i.Q6J("ngIf",s.invalid),i.xp6(3),i.Oqu(i.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),i.xp6(2),i.s9C("placeholder",i.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),i.Q6J("ngModel",t.message),i.xp6(4),i.Oqu(i.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),i.xp6(5),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),i.xp6(2),i.Q6J("disabled",s.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Sn,Fn,un,no,qn,bn,Ms,dn,zr,b.O5,Zl,o0,En,Yt],pipes:[dt],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),sO=(()=>{class n{transform(e,t){return e["link_"+t]||e.link_en}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedLink",type:n,pure:!0}),n})(),oO=(()=>{class n{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"footerLogoPath",type:n,pure:!0}),n})();function rO(n,o){if(1&n&&(i.TgZ(0,"a",13),i.ALo(1,"localisedLink"),i._UZ(2,"img",14),i.ALo(3,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,2,e,t.language),i.LSH),i.xp6(2),i.s9C("src",i.lcZ(3,5,e.logo),i.LSH)}}function aO(n,o){if(1&n&&(i.TgZ(0,"span"),i._UZ(1,"img",14),i.ALo(2,"footerLogoPath"),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.s9C("src",i.lcZ(2,1,e.logo),i.LSH)}}function cO(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,rO,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,aO,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",i.xi3(2,2,e,t.language)),i.xp6(2),i.Q6J("ngIf",!i.xi3(4,5,e,t.language))}}const lO=function(n){return{"min-height":n}};function uO(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,cO,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,lO,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const ru=function(n){return{color:n}};function dO(n,o){if(1&n&&(i.TgZ(0,"i",20),i._uU(1),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(2,ru,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function hO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw(3).openDialog(s.dialog)}),i._uU(1),i.ALo(2,"localisedText"),i.qZA()}if(2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,ru,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function fO(n,o){if(1&n&&(i.TgZ(0,"a",22),i.ALo(1,"localisedLink"),i._uU(2),i.ALo(3,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("href",i.xi3(1,3,e,t.language),i.LSH)("ngStyle",i.VKq(10,ru,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function pO(n,o){if(1&n&&(i.TgZ(0,"span",10),i._uU(1),i.ALo(2,"localisedText"),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw(3);i.Q6J("ngStyle",i.VKq(6,ru,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function gO(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,dO,2,4,"i",17),i.YNc(2,hO,3,8,"span",18),i.YNc(3,fO,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,pO,3,8,"span",9),i.ALo(6,"localisedLink"),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(3);i.xp6(1),i.Q6J("ngIf",e.icon),i.xp6(1),i.Q6J("ngIf",e.dialog),i.xp6(1),i.Q6J("ngIf",i.xi3(4,4,e,t.language)&&!e.dialog),i.xp6(2),i.Q6J("ngIf",!i.xi3(6,7,e,t.language)&&!e.dialog)}}const mO=function(n){return{height:n}};function _O(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,gO,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,mO,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function bO(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h6",8),i._uU(2),i.ALo(3,"localisedText"),i.qZA(),i.YNc(4,uO,2,4,"div",9),i.YNc(5,_O,2,4,"div",9),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,ru,t.headersTextColor)),i.xp6(1),i.hij(" ",i.Dn7(3,6,e,t.language,"title")," "),i.xp6(2),i.Q6J("ngIf",e.logos),i.xp6(1),i.Q6J("ngIf",e.elements&&!e.logos)}}function yO(n,o){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,ru,s.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const AO=function(n){return{background:n}};let OE=(()=>{class n{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.items=[],this.copyrightItems=[],this.currentYear=(new Date).getFullYear(),this.containsLogos=!1,this.headersTextColor=this.storeService.get("theme","footer_headers_text_color"),this.linksTextColor=this.storeService.get("theme","footer_links_text_color"),this.githubRepository=this.storeService.get("footer","github_releases"),this.iconColor=this.storeService.get("theme","footer_icon_color"),this.bgColor=this.storeService.get("theme","footer_bg_color"),this.version="",this.language="en",this.columnContentHeight=0}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{this.language=e.lang}),this.version=w(4147).i8,this.items=this.storeService.get("footer","columns");for(const e of this.items)e.logos?this.containsLogos=!0:25*e.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*e.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(e){const t=Ri();"reportIssue"===e&&(t.width="550px",this.dialog.open(nO,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Ai),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-footer"]],decls:10,vars:14,consts:[[1,"footer-container",3,"ngStyle"],[1,"footer-columns-container"],["class","footer-col mx-auto",3,"my-auto",4,"ngFor","ngForOf"],[1,"my-0","mt-3"],[1,"font-fix","text-center",3,"ngStyle"],[4,"ngFor","ngForOf"],["target","_blank",1,"text-decoration-none",3,"href","ngStyle"],[1,"footer-col","mx-auto"],[1,"font-weight-bold",3,"ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"href"],["alt","image",3,"src"],["class","row-height",4,"ngFor","ngForOf"],[1,"row-height"],["class","material-icons align-bottom mr-1",3,"ngStyle",4,"ngIf"],["id","clickable",3,"ngStyle","click",4,"ngIf"],["target","_blank",3,"href","ngStyle",4,"ngIf"],[1,"material-icons","align-bottom","mr-1",3,"ngStyle"],["id","clickable",3,"ngStyle","click"],["target","_blank",3,"href","ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"footer",0),i.TgZ(1,"div",1),i.YNc(2,bO,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,yO,3,5,"span",5),i._uU(7," Version "),i.TgZ(8,"a",6),i._uU(9),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(8,AO,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.items),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,ru,t.copyrightTextColor)),i.xp6(1),i.hij(" \xa9 ",t.currentYear," Copyright: "),i.xp6(1),i.Q6J("ngForOf",t.copyrightItems),i.xp6(2),i.Q6J("href",t.githubRepository,i.LSH)("ngStyle",i.VKq(12,ru,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[b.PC,b.sg,b.O5],pipes:[RE,sO,oO],styles:["a[_ngcontent-%COMP%]{text-decoration:none}.font-fix[_ngcontent-%COMP%]{font-size:.8rem}.row-height[_ngcontent-%COMP%]{height:25px!important}.footer-col[_ngcontent-%COMP%]{padding-top:35px;white-space:nowrap;text-align:center}.wrap-content[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}#clickable[_ngcontent-%COMP%]{cursor:pointer}.footer-columns-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column}@media (min-width: 768px){.footer-columns-container[_ngcontent-%COMP%]{flex-direction:row}}.footer-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}"]}),n})();function wO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"div",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function MO(n,o){if(1&n&&(i.TgZ(0,"div",10),i._UZ(1,"div",11),i._UZ(2,"mat-icon",12),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}function vO(n,o){if(1&n&&(i.TgZ(0,"div",8),i._UZ(1,"a",9),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("innerHTML",e.logo,i.oJD)}}const TO=function(n){return{color:n}};function CO(n,o){if(1&n&&(i.TgZ(0,"p",13),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.Q6J("ngStyle",i.VKq(2,TO,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const SO=function(n,o){return{background:n,color:o}},EO=function(n,o){return{"min-height":n,"background-color":o}};let kO=(()=>{class n{constructor(e,t,s,a){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=a,this.contentBackgroundColor=this.storeService.get("theme","content_bg_color")}ngOnInit(){if(this.headerBackgroundColor=this.storeService.get("theme","nav_bg_color"),this.headerTextColor=this.storeService.get("theme","nav_text_color"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("logo")),this.textColor=this.headerTitle?this.storeService.get("theme","header_text_color"):"","user-profile"===this.application){const e=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(e)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(ms),i.Y36(Ev),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:11,vars:12,consts:[["id","login-nav",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["style"," display: flex; flex-direction: row;",4,"ngIf"],["class","ml-3 mt-auto mb-auto page-subtitle",3,"ngStyle",4,"ngIf"],["id","content"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[2,"display","flex","flex-direction","row"],[1,"logo-container","mt-auto","mb-auto",3,"innerHTML"],["svgIcon","perun-publications-white",1,"mt-auto","mb-auto","router-icon","ml-2","mr-2"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,wO,2,1,"div",1),i.YNc(2,MO,3,1,"div",2),i.YNc(3,vO,2,1,"div",1),i.YNc(4,CO,2,4,"p",3),i.qZA(),i.TgZ(5,"div",4),i.TgZ(6,"div",5),i.TgZ(7,"div",6),i._UZ(8,"router-outlet"),i.qZA(),i.TgZ(9,"div",7),i._UZ(10,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(6,SO,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf","user-profile"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(9,EO,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[b.PC,b.O5,xn,Go,OE],styles:["#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}#footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}#content[_ngcontent-%COMP%]{width:100%;min-height:calc(100vh - 64px);margin-top:64px}#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:250px;padding-top:10px}@media (max-width: 768px){#content-wrap[_ngcontent-%COMP%]{padding-bottom:500px}}.router-icon[_ngcontent-%COMP%]{height:2.5rem;width:2.5rem;cursor:pointer;outline:0}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}"]}),n})();const DO=["footer"],PE=function(n){return{background:n}},xO=function(n){return{"min-height":n}};function LO(n,o){if(1&n){const e=i.EpF();i._UZ(0,"perun-web-apps-notificator"),i.TgZ(1,"div",2),i.TgZ(2,"perun-web-apps-header",3),i.NdJ("sidenavToggle",function(){return i.CHM(e),i.MAs(5).toggle()}),i.qZA(),i.TgZ(3,"mat-sidenav-container"),i.TgZ(4,"mat-sidenav",4,5),i._UZ(6,"perun-web-apps-side-menu",6),i.qZA(),i.TgZ(7,"mat-sidenav-content",7),i.TgZ(8,"div",8),i._UZ(9,"perun-web-apps-breadcrumbs"),i._UZ(10,"router-outlet"),i.qZA(),i.TgZ(11,"div",null,9),i._UZ(13,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(5),t=i.oxw();i.xp6(4),i.Q6J("mode",t.sidebarMode)("ngStyle",i.VKq(6,PE,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(8,PE,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,xO,t.contentHeight))}}function RO(n,o){if(1&n&&i._UZ(0,"perun-web-apps-login-screen-base",10),2&n){const e=i.oxw();i.Q6J("application","user-profile")("headerTitle",e.headerLabel)}}let OO=(()=>{class n{constructor(e,t,s,a,r,c){this.store=e,this.attributesManagerService=t,this.translateService=s,this.initAuth=a,this.changeDetector=r,this.preferredLangService=c,this.sidebarMode="side",this.sideMenuBgColor=this.store.get("theme","sidemenu_bg_color"),this.contentBackgroundColor=this.store.get("theme","content_bg_color"),this.contentHeight="calc(100vh - 84px)",this.headerLabel=this.store.get("header_label_en"),this.getScreenSize()}ngOnInit(){this.isLoginScreenShown=this.initAuth.isLoginScreenShown(),this.isServiceAccess=this.initAuth.isServiceAccessLoginScreenShown(),sessionStorage.removeItem("baLogout"),this.isLoginScreenShown?this.headerLabel=this.store.get(`header_label_${this.preferredLangService.getPreferredLanguage(null)}`):this.isServiceAccess||this.attributesManagerService.getUserAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{const t=e.find(r=>"preferredLanguage"===r.friendlyName),s=t&&t.value?t.value.toString():null,a=this.preferredLangService.getPreferredLanguage(s);this.translateService.use(a)})}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}isMobile(){return window.innerWidth<=n.minWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){this.contentHeight="calc(100vh - 84px - "+this.footer.nativeElement.offsetHeight+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ai),i.Y36(Cv),i.Y36(i.sBO),i.Y36(Ev))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(DO,5),2&e){let s;i.iGM(s=i.CRH())&&(t.footer=s.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(a){return t.getScreenSize(a)},!1,i.Jf7)},decls:2,vars:2,consts:[[3,"ngIf"],[3,"application","headerTitle",4,"ngIf"],[1,"app-min-width"],[3,"sidenavToggle"],["fixedInViewport","","fixedTopGap","64",1,"side-menu-size",3,"mode","ngStyle","opened"],["sidenav",""],[1,"overflow-hidden",3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application","headerTitle"]],template:function(e,t){1&e&&(i.YNc(0,LO,14,12,"ng-template",0),i.YNc(1,RO,1,2,"perun-web-apps-login-screen-base",1)),2&e&&(i.Q6J("ngIf",!t.isLoginScreenShown&&!t.isServiceAccess&&!t.isServiceLogin()),i.xp6(1),i.Q6J("ngIf",t.isLoginScreenShown||t.isServiceAccess||t.isServiceLogin()))},directives:[b.O5,mL,yR,TE,vE,b.PC,zy,JR,Xv,tO,Go,OE,kO],styles:["#content-inner[_ngcontent-%COMP%]{position:relative}#content-wrap[_ngcontent-%COMP%]{padding-bottom:25px;padding-top:10px;margin:10px}@media (min-width: 600px){#content-wrap[_ngcontent-%COMP%]{padding-left:25px;padding-right:25px}}a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.side-menu-size[_ngcontent-%COMP%]{width:300px;height:auto}"]}),n})();var PO=w(1158);function zO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",15),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().index;return i.oxw().removeValue(s)}),i.TgZ(1,"mat-icon"),i._uU(2," indeterminate_check_box "),i.qZA(),i.qZA()}}function IO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",9),i.TgZ(1,"mat-form-field",10),i._UZ(2,"label",11),i.TgZ(3,"input",12),i.NdJ("click",function(){const a=i.CHM(e).index,r=i.oxw();return r.readonly&&r.attribute.displayName&&r.showValue(r.keys[a],r.attribute.displayName)})("ngModelChange",function(s){const r=i.CHM(e).index;return i.oxw().keys[r]=s}),i.qZA(),i.qZA(),i.TgZ(4,"mat-form-field",10),i._UZ(5,"label",11),i.TgZ(6,"input",13),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)})("ngModelChange",function(s){const r=i.CHM(e).index;return i.oxw().values[r]=s}),i.qZA(),i.qZA(),i.YNc(7,zO,3,0,"button",14),i.qZA()}if(2&n){const e=o.index,t=i.oxw();i.xp6(1),i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.hYB("for","",t.attribute.id,"-key-",e,""),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.hYB("id","",t.attribute.id,"-key-",e,""),i.MGl("name","key-",e,""),i.Q6J("ngModel",t.keys[e])("readonly",t.readonly),i.xp6(1),i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.hYB("for","",t.attribute.id,"-value-",e,""),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.MGl("name","value-",e,""),i.hYB("id","",t.attribute.id,"-value-",e,""),i.Q6J("readonly",t.readonly)("ngModel",t.values[e]),i.xp6(1),i.Q6J("ngIf",!t.readonly)}}function NO(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function HO(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function BO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){return i.CHM(e),i.oxw().onShowChange()}),i.YNc(1,NO,2,0,"mat-icon",17),i.YNc(2,HO,2,0,"mat-icon",17),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngIf",!e.showMore),i.xp6(1),i.Q6J("ngIf",e.showMore)}}function FO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",18),i.NdJ("click",function(){return i.CHM(e),i.oxw().addValue()}),i.TgZ(1,"mat-icon"),i._uU(2," add_box "),i.qZA(),i.qZA()}}let qO=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const e=this.attribute.value;for(const[t,s]of Object.entries(e))this.keys.push(t),this.values.push(s)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Vd(this.attribute))}customTrackBy(e){return e}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(e){this.keys.splice(e,1),this.values.splice(e,1)}updateAttribute(){const e={};for(let t=0;tt.defaultItemsShown),i.xp6(1),i.Q6J("ngIf",!t.readonly))},directives:[tu,Jl,Bc,b.sg,un,qn,bn,Ms,dn,zr,b.O5,Yt,xn,vs],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}.input-margin[_ngcontent-%COMP%]{margin-bottom:-30px}.btn-margin[_ngcontent-%COMP%]{margin-top:10px}"]}),n})();const jO=["input"],YO=function(n){return{enterDuration:n}},UO=["*"],VO=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:zE});function zE(){return{color:"accent",clickAction:"check-indeterminate"}}let GO=0;const IE=zE(),WO={provide:Wn,useExisting:(0,i.Gpc)(()=>au),multi:!0};class KO{}const ZO=Ic(va(to(ir(class{constructor(n){this._elementRef=n}}))));let au=(()=>{class n extends ZO{constructor(e,t,s,a,r,c,d){super(e),this._changeDetectorRef=t,this._focusMonitor=s,this._ngZone=a,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++GO,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||IE,this.color=this.defaultColor=this._options.color||IE.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=je(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=je(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=je(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,s=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(a)},1e3)})}}_emitChangeEvent(){const e=new KO;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const s=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===s?!this.disabled&&"noop"===s&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==s&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let s="";switch(e){case 0:if(1===t)s="unchecked-checked";else{if(3!=t)return"";s="unchecked-indeterminate"}break;case 2:s=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:s=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:s=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${s}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(So),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(Bn,8),i.Y36(VO,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(jO,5),i.Gf(Ns,5)),2&e){let s;i.iGM(s=i.CRH())&&(t._inputElement=s.first),i.iGM(s=i.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null),i.ekj("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([WO]),i.qOj],ngContentSelectors:UO,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i.TgZ(3,"input",3,4),i.NdJ("change",function(a){return t._onInteractionEvent(a)})("click",function(a){return t._onInputClick(a)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA(),i.qZA(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return t._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA(),i.qZA()),2&e){const s=i.MAs(1),a=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),i.xp6(1),i.Q6J("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),i.uIk("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",s)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,YO,"NoopAnimations"===t._animationMode?0:150))}},directives:[Ns,rg],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),NE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),eT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[io,gt,Rl,NE],gt,NE]}),n})(),tT=(()=>{class n{transform(e){return e.replace(/\s/g,"-").toLowerCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"multiWordDataCy",type:n,pure:!0}),n})();function QO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-checkbox",2),i.NdJ("change",function(){return i.CHM(e),i.oxw()._sendEventToParent()})("ngModelChange",function(s){return i.CHM(e),i.oxw().attribute.value=s}),i.ALo(1,"multiWordDataCy"),i.qZA()}if(2&n){const e=i.oxw();i.Q2q("data-cy","",i.lcZ(1,2,e.attribute.displayName),"-value"),i.Q6J("ngModel",e.attribute.value)}}function JO(n,o){if(1&n&&(i.TgZ(0,"mat-label"),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.attribute.value)}}let eP=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Vd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-boolean"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:2,consts:[[3,"ngModel","change","ngModelChange",4,"ngIf"],[4,"ngIf"],[3,"ngModel","change","ngModelChange"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,QO,2,4,"mat-checkbox",0),i.YNc(2,JO,2,1,"mat-label",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",!t.readonly),i.xp6(1),i.Q6J("ngIf",t.readonly))},directives:[b.O5,au,dn,zr,no],pipes:[tT],styles:[""]}),n})();function iP(n){const{subscriber:o,counter:e,period:t}=n;o.next(e),this.schedule({subscriber:o,counter:e+1,period:t},t)}function iT(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const s=o[t];s?n.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function op(n,o){const e=o?"":"none";iT(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function HE(n,o,e){iT(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function By(n,o){return o&&"none"!=o?n+" "+o:n}function BE(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function nT(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function sT(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function oT(n,o,e){const{top:t,bottom:s,left:a,right:r}=n;return e>=t&&e<=s&&o>=a&&o<=r}function r1(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function FE(n,o,e,t){const{top:s,right:a,bottom:r,left:c,width:d,height:h}=n,g=d*o,O=h*o;return t>s-O&&tc-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:sT(e)})})}handleScroll(o){const e=$s(o),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let a,r;if(e===this._document){const h=this._viewportRuler.getViewportScrollPosition();a=h.top,r=h.left}else a=e.scrollTop,r=e.scrollLeft;const c=s.top-a,d=s.left-r;return this.positions.forEach((h,g)=>{h.clientRect&&e!==g&&e.contains(g)&&r1(h.clientRect,c,d)}),s.top=a,s.left=r,{top:c,left:d}}}function jE(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const d=this._handles.find(h=>c.target&&(c.target===h||h.contains(c.target)));d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const oe=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),be=this._dropContainer;if(!oe)return void this._endDragSequence(c);(!be||!be.isDragging()&&!be.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}this._boundaryElement&&(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const g=this._activeTransform;g.x=h.x-this._pickupPositionOnPage.x+this._passiveTransform.x,g.y=h.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new qE(t,a),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=je(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>op(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(t=>oi(t)),this._handles.forEach(t=>op(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const e=oi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,WE),e.addEventListener("touchstart",this._pointerDown,GE)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?oi(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(e=this._anchor)||void 0===e||e.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),op(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),op(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,e;null===(o=this._preview)||void 0===o||o.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,e;null===(o=this._placeholder)||void 0===o||o.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){a1(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,a=this._placeholder=this._createPlaceholderElement(),r=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();s.insertBefore(r,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),HE(t,!1,rT),this._document.body.appendChild(s.replaceChild(a,t)),this._getPreviewInsertionPoint(s,c).appendChild(this._preview),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(o,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=a1(e),a=!s&&0!==e.button,r=this._rootElement,c=$s(e),d=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=s?ad(e):Pl(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),t||a||d||h)return;if(this._handles.length){const $=r.style;this._rootElementTapHighlight=$.webkitTapHighlightColor||"",$.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($=>this._updateOnScroll($)),this._boundaryElement&&(this._boundaryRect=sT(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const O=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:O.x,y:O.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){HE(this._rootElement,!0,rT),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,t=e.getItemIndex(this),s=this._getPointerPositionOnPage(o),a=this._getDragDistance(s),r=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:a,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:a,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,r,a,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:s}){let a=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,o,e,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,o,e,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,e=this.previewClass,t=o?o.template:null;let s;if(t&&o){const a=o.matchSize?this._rootElement.getBoundingClientRect():null,r=o.viewContainer.createEmbeddedView(t,o.context);r.detectChanges(),s=ZE(r,this._document),this._previewRef=r,o.matchSize?$E(s,a):s.style.transform=Fy(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const a=this._rootElement;s=jE(a),$E(s,a.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return iT(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},rT),op(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>s.classList.add(a)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const e=function nP(n){const o=getComputedStyle(n),e=nT(o,"transition-property"),t=e.find(c=>"transform"===c||"all"===c);if(!t)return 0;const s=e.indexOf(t),a=nT(o,"transition-duration"),r=nT(o,"transition-delay");return BE(a[s])+BE(r[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=r=>{var c;(!r||$s(r)===this._preview&&"transform"===r.propertyName)&&(null===(c=this._preview)||void 0===c||c.removeEventListener("transitionend",s),t(),clearTimeout(a))},a=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,e=o?o.template:null;let t;return e?(this._placeholderRef=o.viewContainer.createEmbeddedView(e,o.context),this._placeholderRef.detectChanges(),t=ZE(this._placeholderRef,this._document)):t=jE(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),s=o===this._rootElement?null:o,a=s?s.getBoundingClientRect():t,r=a1(e)?e.targetTouches[0]:e,c=this._getViewportScrollPosition();return{x:a.left-t.left+(r.pageX-a.left-c.left),y:a.top-t.top+(r.pageY-a.top-c.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=a1(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,s=t.pageX-e.left,a=t.pageY-e.top;if(this._ownerSVGElement){const r=this._ownerSVGElement.getScreenCTM();if(r){const c=this._ownerSVGElement.createSVGPoint();return c.x=s,c.y=a,c.matrixTransform(r.inverse())}}return{x:s,y:a}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:a,y:r}=this._pickupPositionInElement,c=this._boundaryRect,d=this._previewRect,h=c.top+r,g=c.bottom-(d.height-r);t=KE(t,c.left+a,c.right-(d.width-a)),s=KE(s,h,g)}return{x:t,y:s}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,s=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,r=Math.abs(e-a.x),c=Math.abs(t-a.y);return r>this._config.pointerDirectionChangeThreshold&&(s.x=e>a.x?1:-1,a.x=e),c>this._config.pointerDirectionChangeThreshold&&(s.y=t>a.y?1:-1,a.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,op(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,WE),o.removeEventListener("touchstart",this._pointerDown,GE)}_applyRootElementTransform(o,e){const t=Fy(o,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=By(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,a=Fy(o,e);this._preview.style.transform=By(a,s)}_getDragDistance(o){const e=this._pickupPositionOnPage;return e?{x:o.x-e.x,y:o.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:e}=this._passiveTransform;if(0===o&&0===e||this.isDragging()||!this._boundaryElement)return;const t=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===s.width&&0===s.height)return;const a=t.left-s.left,r=s.right-t.right,c=t.top-s.top,d=s.bottom-t.bottom;t.width>s.width?(a>0&&(o+=a),r>0&&(o-=r)):o=0,t.height>s.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(o!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:o})}_getDragStartDelay(o){const e=this.dragStartDelay;return"number"==typeof e?e:a1(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=$s(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&r1(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const o=this._parentPositions.positions.get(this._document);return o?o.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Sl(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return oi(t)}}function Fy(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function KE(n,o,e){return Math.max(o,Math.min(e,n))}function a1(n){return"t"===n.type[0]}function ZE(n,o){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===o.ELEMENT_NODE)return e[0];const t=o.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function $E(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=Fy(o.left,o.top)}function XE(n,o,e){const t=c1(o,n.length-1),s=c1(e,n.length-1);if(t===s)return;const a=n[t],r=s!0,this.sortPredicate=()=>!0,this.beforeStarted=new De.xQ,this.entered=new De.xQ,this.exited=new De.xQ,this.dropped=new De.xQ,this.sorted=new De.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=P.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new De.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function tP(n=0,o=Vu.P){return(!Fp(n)||n<0)&&(n=0),(!o||"function"!=typeof o.schedule)&&(o=Vu.P),new Fi.y(e=>(e.add(o.schedule(iP,n,{subscriber:e,counter:0,period:n})),e))}(0,M1).pipe(it(this._stopScrollTimers)).subscribe(()=>{const r=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?r.scrollBy(0,-c):2===this._verticalScrollDirection&&r.scrollBy(0,c),1===this._horizontalScrollDirection?r.scrollBy(-c,0):2===this._horizontalScrollDirection&&r.scrollBy(c,0)})},this.element=oi(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new qE(t,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,e,t,s){let a;this._draggingStarted(),null==s?(a=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(o,e,t))):a=s;const r=this._activeDraggables,c=r.indexOf(o),d=o.getPlaceholderElement();let h=r[a];if(h===o&&(h=r[a+1]),!h&&(null==a||-1===a||a-1&&r.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const g=h.getRootElement();g.parentElement.insertBefore(d,g),r.splice(a,0,o)}else oi(this.element).appendChild(d),r.push(o);d.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,e,t,s,a,r,c){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:a,distance:r,dropPoint:c})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===o.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(o){return this._direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._orientation=o,this}withScrollableParents(o){const e=oi(this.element);return this._scrollableElements=-1===o.indexOf(e)?[e,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,e,t,s){if(this.sortingDisabled||!this._clientRect||!FE(this._clientRect,.05,e,t))return;const a=this._itemPositions,r=this._getItemIndexFromPointerPosition(o,e,t,s);if(-1===r&&a.length>0)return;const c="horizontal"===this._orientation,d=a.findIndex(Le=>Le.drag===o),h=a[r],O=h.clientRect,$=d>r?1:-1,oe=this._getItemOffsetPx(a[d].clientRect,O,$),be=this._getSiblingOffsetPx(d,a,$),ve=a.slice();XE(a,d,r),this.sorted.next({previousIndex:d,currentIndex:r,container:this,item:o}),a.forEach((Le,et)=>{if(ve[et]===Le)return;const Gt=Le.drag===o,Bt=Gt?oe:be,pi=Gt?o.getPlaceholderElement():Le.drag.getRootElement();Le.offset+=Bt,c?(pi.style.transform=By(`translate3d(${Math.round(Le.offset)}px, 0, 0)`,Le.initialTransform),r1(Le.clientRect,0,Bt)):(pi.style.transform=By(`translate3d(0, ${Math.round(Le.offset)}px, 0)`,Le.initialTransform),r1(Le.clientRect,Bt,0))}),this._previousSwap.overlaps=oT(O,e,t),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?s.x:s.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,s=0,a=0;if(this._parentPositions.positions.forEach((r,c)=>{c===this._document||!r.clientRect||t||FE(r.clientRect,.05,o,e)&&([s,a]=function cP(n,o,e,t){const s=ek(o,t),a=tk(o,e);let r=0,c=0;if(s){const d=n.scrollTop;1===s?d>0&&(r=1):n.scrollHeight-d>n.clientHeight&&(r=2)}if(a){const d=n.scrollLeft;1===a?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[r,c]}(c,r.clientRect,o,e),(s||a)&&(t=c))}),!s&&!a){const{width:r,height:c}=this._viewportRuler.getViewportSize(),d={width:r,height:c,top:0,right:r,bottom:c,left:0};s=ek(d,e),a=tk(d,o),t=window}t&&(s!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=a,this._scrollNode=t,(s||a)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=oi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=oi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_cacheItemPositions(){const o="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:sT(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=oi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const a=null===(t=this._itemPositions.find(r=>r.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=a||""}}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(o,e,t){const s="horizontal"===this._orientation,a=e[o].clientRect,r=e[o+-1*t];let c=a[s?"width":"height"]*t;if(r){const d=s?"left":"top",h=s?"right":"bottom";-1===t?c-=r.clientRect[d]-a[h]:c+=a[d]-r.clientRect[h]}return c}_getItemOffsetPx(o,e,t){const s="horizontal"===this._orientation;let a=s?e.left-o.left:e.top-o.top;return-1===t&&(a+=s?e.width-o.width:e.height-o.height),a}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const r=t[t.length-1].clientRect;return s?o>=r.right:e>=r.bottom}{const r=t[0].clientRect;return s?o<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(o,e,t,s){const a="horizontal"===this._orientation,r=this._itemPositions.findIndex(({drag:c,clientRect:d})=>{if(c===o)return!1;if(s){const h=a?s.x:s.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&ts._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!oT(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const a=oi(this.element);return s===a||a.contains(s)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(o);e&&(this._itemPositions.forEach(({clientRect:t})=>{r1(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=Sl(oi(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,o))}}function ek(n,o){const{top:e,bottom:t,height:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}function tk(n,o){const{left:e,right:t,width:s}=n,a=.05*s;return o>=e-a&&o<=e+a?1:o>=t-a&&o<=t+a?2:0}const qy=Ko({passive:!1,capture:!0});let lP=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new De.xQ,this.pointerUp=new De.xQ,this.scroll=new De.xQ,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,qy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,qy)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:a=>this.pointerUp.next(a),options:!0}).set("scroll",{handler:a=>this.scroll.next(a),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:qy}),s||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:qy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,r)=>{this._document.addEventListener(r,a.handler,a.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Fi.y(s=>this._ngZone.runOutsideAngular(()=>{const r=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",r,!0),()=>{e.removeEventListener("scroll",r,!0)}}))),(0,Li.T)(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(b.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const uP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let aT=(()=>{class n{constructor(e,t,s,a){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=a}createDrag(e,t=uP){return new rP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new aP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(b.K0),i.LFG(i.R0b),i.LFG(ws),i.LFG(lP))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ik=new i.OlP("CDK_DRAG_PARENT"),nk=new i.OlP("CdkDropListGroup"),sk=new i.OlP("CDK_DRAG_CONFIG");let dP=0;const ok=new i.OlP("CdkDropList");let hP=(()=>{class n{constructor(e,t,s,a,r,c,d){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=a,this._dir=r,this._group=c,this._destroyed=new De.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+dP++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.sorted=new i.vpe,this._unsortedItems=new Set,this._dropListRef=t.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,g)=>this.enterPredicate(h.data,g.data),this._dropListRef.sortPredicate=(h,g,O)=>this.sortPredicate(h,g.data,O.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=je(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(ci(this._dir.value),it(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=Mr(this.connectedTo).map(s=>"string"==typeof s?n._dropLists.find(r=>r.id===s):s);if(this._group&&this._group._items.forEach(s=>{-1===t.indexOf(s)&&t.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=je(this.sortingDisabled),e.autoScrollDisabled=je(this.autoScrollDisabled),e.autoScrollStep=on(this.autoScrollStep,2),e.connectedTo(t.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:t,draggingDisabled:s,sortingDisabled:a,listAutoScrollDisabled:r,listOrientation:c}=e;this.disabled=null!=s&&s,this.sortingDisabled=null!=a&&a,this.autoScrollDisabled=null!=r&&r,this.orientation=c||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(aT),i.Y36(i.sBO),i.Y36(mc),i.Y36(Hn,8),i.Y36(nk,12),i.Y36(sk,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(i.uIk("id",t.id),i.ekj("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[i._Bn([{provide:nk,useValue:void 0},{provide:ok,useExisting:n}])]}),n})();const rk=new i.OlP("CdkDragHandle"),fP=new i.OlP("CdkDragPlaceholder"),pP=new i.OlP("CdkDragPreview");let mP=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.element=e,this.dropContainer=t,this._ngZone=a,this._viewContainerRef=r,this._dir=d,this._changeDetectorRef=g,this._selfHandle=O,this._parentDrag=$,this._destroyed=new De.xQ,this.started=new i.vpe,this.released=new i.vpe,this.ended=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.dropped=new i.vpe,this.moved=new Fi.y(oe=>{const be=this._dragRef.moved.pipe((0,pt.U)(ve=>({source:this,pointerPosition:ve.pointerPosition,event:ve.event,delta:ve.delta,distance:ve.distance}))).subscribe(oe);return()=>{be.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:null==c?void 0:c.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=je(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,$t.q)(1),it(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,s=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var e;const t=this.element.nativeElement;let s=t;this.rootElementSelector&&(s=void 0!==t.closest?t.closest(this.rootElementSelector):null===(e=t.parentElement)||void 0===e?void 0:e.closest(this.rootElementSelector)),this._dragRef.withRootElement(s||t)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):oi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,s=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:on(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(r).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,$t.q)(1)).subscribe(()=>{var t;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(s.classList.contains("cdk-drag")){e.withParent((null===(t=n._dragInstances.find(a=>a.element.nativeElement===s))||void 0===t?void 0:t._dragRef)||null);break}s=s.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance,dropPoint:t.dropPoint})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:s,constrainPosition:a,previewClass:r,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:g}=e;this.disabled=null!=d&&d,this.dragStartDelay=s||0,t&&(this.lockAxis=t),a&&(this.constrainPosition=a),r&&(this.previewClass=r),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),g&&(this.previewContainer=g)}_setupHandlesListener(){this._handles.changes.pipe(ci(this._handles),(0,qi.b)(e=>{const t=e.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),(0,mi.w)(e=>(0,Li.T)(...e.map(t=>t._stateChanges.pipe(ci(t))))),it(this._destroyed)).subscribe(e=>{const t=this._dragRef,s=e.element.nativeElement;e.disabled?t.disableHandle(s):t.enableHandle(s)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(ok,12),i.Y36(b.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(sk,8),i.Y36(Hn,8),i.Y36(aT),i.Y36(i.sBO),i.Y36(rk,10),i.Y36(ik,12))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,pP,5),i.Suo(s,fP,5),i.Suo(s,rk,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._previewTemplate=a.first),i.iGM(a=i.CRH())&&(t._placeholderTemplate=a.first),i.iGM(a=i.CRH())&&(t._handles=a)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&i.ekj("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[i._Bn([{provide:ik,useExisting:n}]),i.TTD]}),n})(),_P=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[aT],imports:[Cn]}),n})();const bP=["*"],ak=new i.OlP("MatChipRemove"),ck=new i.OlP("MatChipAvatar"),lk=new i.OlP("MatChipTrailingIcon");class yP{constructor(o){this._elementRef=o}}const AP=Ic(va(to(yP),"primary"),-1);let jy=(()=>{class n extends AP{constructor(e,t,s,a,r,c,d,h){super(e),this._ngZone=t,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new De.xQ,this._onBlur=new De.xQ,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=c.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new Jw(this,t,this._chipRippleTarget,s),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=a||{},this._animationsDisabled="NoopAnimations"===d,this.tabIndex=null!=h&&parseInt(h)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=je(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=je(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=je(e)}get removable(){return this._removable}set removable(e){this._removable=je(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e="mat-basic-chip",t=this._elementRef.nativeElement;t.hasAttribute(e)||t.tagName.toLowerCase()===e?t.classList.add(e):t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,$t.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ei),i.Y36(N_,8),i.Y36(i.sBO),i.Y36(b.K0),i.Y36(Bn,8),i.$8M("tabindex"))},n.\u0275dir=i.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,ck,5),i.Suo(s,lk,5),i.Suo(s,ak,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.avatar=a.first),i.iGM(a=i.CRH())&&(t.trailingIcon=a.first),i.iGM(a=i.CRH())&&(t.removeIcon=a.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&i.NdJ("click",function(a){return t._handleClick(a)})("keydown",function(a){return t._handleKeydown(a)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(i.uIk("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),i.ekj("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[i.qOj]}),n})();const uk=new i.OlP("mat-chips-default-options");let TP=0,dk=(()=>{class n{constructor(e,t){this._elementRef=e,this._defaultOptions=t,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new i.vpe,this.placeholder="",this.id="mat-chip-list-input-"+TP++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(e){e&&(this._chipList=e,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=je(e)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(e){this._disabled=je(e)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(9===e.keyCode&&!cn(e,"shiftKey")&&this._chipList._allowFocusEscape(),8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(e){!this.inputElement.value&&!!e&&this._chipList._keydown(e),(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==e||e.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(e){this.inputElement.focus(e)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(e){return!cn(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(uk))},n.\u0275dir=i.lG2({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(a){return t._keydown(a)})("keyup",function(a){return t._keyup(a)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(i.Ikx("id",t.id),i.uIk("disabled",t.disabled||null)("placeholder",t.placeholder||null)("aria-invalid",t._chipList&&t._chipList.ngControl?t._chipList.ngControl.invalid:null)("aria-required",t._chipList&&t._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[i.TTD]}),n})();const CP=Fg(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let SP=0;class EP{constructor(o,e){this.source=o,this.value=e}}let hk=(()=>{class n extends CP{constructor(e,t,s,a,r,c,d){super(c,a,r,d),this._elementRef=e,this._changeDetectorRef=t,this._dir=s,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new De.xQ,this._uid="mat-chip-list-"+SP++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(h,g)=>h===g,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var e,t;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(t=this._selectionModel)||void 0===t?void 0:t.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=je(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var e,t,s,a;return null!==(a=null!==(e=this._required)&&void 0!==e?e:null===(s=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===s?void 0:s.hasValidator(kn.required))&&void 0!==a&&a}set required(e){this._required=je(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=je(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=je(e),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,Li.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,Li.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,Li.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,Li.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new od(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(it(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(it(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(ci(null),it(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Gn(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&es.deselect()),Array.isArray(e))e.forEach(s=>this._selectValue(s,t)),this._sortValues();else{const s=this._selectValue(e,t);s&&t&&this._keyManager.setActiveItem(s)}}_selectValue(e,t=!0){const s=this.chips.find(a=>null!=a.value&&this._compareWith(a.value,e));return s&&(t?s.selectViaInteraction():s.select(),this._selectionModel.select(s)),s}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;t=Array.isArray(this.selected)?this.selected.map(s=>s.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new EP(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const t=e.chip,s=this.chips.toArray().indexOf(e.chip);this._isValidIndex(s)&&t._hasFocus&&(this._lastDestroyedChipIndex=s)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Hn,8),i.Y36(Bc,8),i.Y36(Ir,8),i.Y36(Nc),i.Y36(Ro,10))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,jy,5),2&e){let a;i.iGM(a=i.CRH())&&(t.chips=a)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.Ikx("id",t._uid),i.uIk("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),i.ekj("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[i._Bn([{provide:xd,useExisting:n}]),i.qOj],ngContentSelectors:bP,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n})(),kP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Nc,{provide:uk,useValue:{separatorKeyCodes:[13]}}],imports:[[gt]]}),n})();function DP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",9),i.NdJ("mousedown",function(){return i.CHM(e),i.oxw(2).dragDisabled=!1}),i._uU(1,"drag_indicator"),i.qZA()}}function xP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",10),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().edit(s)}),i._uU(1,"edit"),i.qZA()}}function LP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",11),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit;return i.oxw().remove(s)}),i._uU(1,"cancel"),i.qZA()}}function RP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-chip",4),i.NdJ("removed",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.remove(a),r._sendEventToParent()}),i.YNc(1,DP,2,0,"mat-icon",5),i.TgZ(2,"div",6),i.NdJ("click",function(){const a=i.CHM(e).$implicit,r=i.oxw();return r.readonly&&void 0!==r.attribute.displayName&&r.showValue(a,r.attribute.displayName)}),i._uU(3),i.qZA(),i.YNc(4,xP,2,0,"mat-icon",7),i.YNc(5,LP,2,0,"mat-icon",8),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.Q6J("selectable",t.selectable)("cdkDragData",e)("removable",t.removable),i.xp6(1),i.Q6J("ngIf",t.removable),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.displayName),i.xp6(1),i.hij(" ",e," "),i.xp6(1),i.Q6J("ngIf",t.removable),i.xp6(1),i.Q6J("ngIf",t.removable)}}function OP(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function PP(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function zP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",12),i.TgZ(1,"span",13),i.TgZ(2,"button",14),i.NdJ("click",function(){return i.CHM(e),i.oxw().onShowChange()}),i.YNc(3,OP,2,0,"mat-icon",15),i.YNc(4,PP,2,0,"mat-icon",15),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("matTooltip",e.showMore?"Show less":"Show more")("matTooltipPosition","above"),i.xp6(2),i.Q6J("ngIf",!e.showMore),i.xp6(1),i.Q6J("ngIf",e.showMore)}}function IP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",12),i.TgZ(1,"input",16),i.NdJ("matChipInputTokenEnd",function(s){return i.CHM(e),i.oxw().add(s)})("change",function(){return i.CHM(e),i.oxw()._sendEventToParent()}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(),t=i.MAs(2);i.xp6(1),i.Q6J("matChipInputFor",t)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}}let NP=(()=>{class n{constructor(e){this.dialog=e,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5,this.sendEventToParent=new i.vpe,this.readonly=!1}ngOnInit(){this.removable=!Vd(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=Object.values(this.attribute.value),this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Vd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(e){const t=e.input,s=e.value;(s||"").trim()&&(this.attribute.value.push(s.trim()),this.values=Object.values(this.attribute.value),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}remove(e){const t=Ri();t.width="400px",t.data={name:e},this.dialog.open(kx,t).afterClosed().subscribe(a=>{if(a){const r=this.attribute.value.indexOf(e);this.attribute.value.splice(r,1),this.values=Object.values(this.attribute.value),this.sendEventToParent.emit()}})}drop(e){this.dragDisabled=!0,XE(this.attribute.value,e.previousIndex,e.currentIndex),this.values=Object.values(this.attribute.value)}edit(e){const t=this.attribute.value.indexOf(e),s=Ri();s.width="600px",s.data={attribute:this.attribute,index:t},this.dialog.open(Ex,s).afterClosed().subscribe(r=>{r&&(this.values=Object.values(this.attribute.value),this.sendEventToParent.emit())})}showValue(e,t){const s=Ri();s.width="350px",s.data={value:e,title:t},this.dialog.open(Ry,s)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-list"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:6,vars:4,consts:[["cdkDropList","","cdkDropListOrientation","vertical",1,"mat-chip-list-stacked",3,"cdkDropListDisabled","cdkDropListDropped"],["chipList",""],["class","chip-word-break","cdkDrag","",3,"selectable","cdkDragData","removable","removed",4,"ngFor","ngForOf"],["class","w-100",4,"ngIf"],["cdkDrag","",1,"chip-word-break",3,"selectable","cdkDragData","removable","removed"],["class","handle-icon",3,"mousedown",4,"ngIf"],[1,"chip-text","overflow-ellipsis",3,"click"],["class","edit-delete-icon ml-2",3,"click",4,"ngIf"],["class","edit-delete-icon",3,"click",4,"ngIf"],[1,"handle-icon",3,"mousedown"],[1,"edit-delete-icon","ml-2",3,"click"],[1,"edit-delete-icon",3,"click"],[1,"w-100"],[3,"matTooltip","matTooltipPosition"],["mat-icon-button","",1,"ml-auto",3,"click"],[4,"ngIf"],["matInput","","placeholder","New value",1,"w-100","m-0",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd","change"]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"mat-chip-list",0,1),i.NdJ("cdkDropListDropped",function(a){return t.drop(a),t._sendEventToParent()}),i.YNc(3,RP,6,9,"mat-chip",2),i.YNc(4,zP,5,4,"div",3),i.YNc(5,IP,2,3,"mat-form-field",3),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Q6J("cdkDropListDisabled",t.dragDisabled),i.xp6(2),i.Q6J("ngForOf",t.values.slice(0,t.itemsShown)),i.xp6(1),i.Q6J("ngIf",t.values.length>t.defaultItemsShown),i.xp6(1),i.Q6J("ngIf",!t.readonly))},directives:[hk,hP,b.sg,jy,mP,b.O5,xn,vs,Yt,un,qn,dk],styles:[".chip-word-break[_ngcontent-%COMP%]{word-break:break-all}.chip-text[_ngcontent-%COMP%]{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical;overflow:hidden}.mat-chip-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{width:auto;min-width:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.chip-word-break[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.example-box[_ngcontent-%COMP%]:last-child{border:none}.edit-delete-icon[_ngcontent-%COMP%]{font-size:18px;justify-content:center;align-items:center;display:flex}.handle-icon[_ngcontent-%COMP%]{font-size:22px;justify-content:center;align-items:center;display:flex;margin-right:4px}.mat-standard-chip[_ngcontent-%COMP%]{padding:7px 5px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),HP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=Vd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e,t){const s=Ri();s.width="350px",s.data={value:e,title:t},this.dialog.open(Ry,s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-string"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:3,vars:8,consts:[[1,"w-100",3,"appearance"],["matInput","","type","text",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"input",1),i.NdJ("click",function(){return t.readonly&&void 0!==t.value&&t.showValue(t.value,t.attribute.displayName)})("ngModelChange",function(a){return t.attribute.value=a})("keydown",function(){return t._sendEventToParent()}),i.ALo(2,"multiWordDataCy"),i.qZA(),i.qZA()),2&e&&(i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.value),i.Q2q("data-cy","",i.lcZ(2,6,t.attribute.displayName),"-value"),i.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[un,qn,bn,dn,zr],pipes:[tT],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),BP=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Vd(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e){const t=Ri();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(Ry,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value-integer"]],inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent:"sendEventToParent"},decls:2,vars:5,consts:[[1,"w-100",3,"appearance"],["matInput","","type","number",1,"overflow-ellipsis",3,"readonly","ngModel","click","ngModelChange","keydown"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.TgZ(1,"input",1),i.NdJ("click",function(){return t.readonly&&void 0!==t.attribute.value&&t.showValue(t.attribute)})("ngModelChange",function(a){return t.attribute.value=a})("keydown",function(){return t._sendEventToParent()}),i.qZA(),i.qZA()),2&e&&(i.s9C("appearance",t.readonly?"none":"standard"),i.xp6(1),i.ekj("cursor-pointer",t.readonly&&void 0!==t.attribute.value),i.Q6J("readonly",t.readonly)("ngModel",t.attribute.value))},directives:[un,qn,iu,bn,dn,zr],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();const FP=["map"];function qP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-boolean",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function jP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-list",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function YP(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function UP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-string",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}function VP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-attribute-value-integer",3),i.NdJ("sendEventToParent",function(){return i.CHM(e),i.oxw()._sendEventToParent2()}),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("attribute",e.attribute)("readonly",e.readonly)}}let cT=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent2=new i.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(e,t){if(1&e&&i.Gf(FP,5),2&e){let s;i.iGM(s=i.CRH())&&(t.mapComponent=s.first)}},inputs:{attribute:"attribute",readonly:"readonly"},outputs:{sendEventToParent2:"sendEventToParent2"},decls:7,vars:5,consts:[[3,"attribute","readonly","sendEventToParent",4,"ngIf"],[3,"click"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly","sendEventToParent"],[3,"attribute","readonly"],["map",""]],template:function(e,t){1&e&&(i.TgZ(0,"div"),i.YNc(1,qP,1,2,"perun-web-apps-attribute-value-boolean",0),i.YNc(2,jP,1,2,"perun-web-apps-attribute-value-list",0),i.TgZ(3,"div",1),i.NdJ("click",function(){return t._sendEventToParent2()}),i.YNc(4,YP,2,2,"perun-web-apps-attribute-value-map",2),i.qZA(),i.YNc(5,UP,1,2,"perun-web-apps-attribute-value-string",0),i.YNc(6,VP,1,2,"perun-web-apps-attribute-value-integer",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf","java.lang.Boolean"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.util.ArrayList"===t.attribute.type),i.xp6(2),i.Q6J("ngIf","java.util.LinkedHashMap"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.lang.String"===t.attribute.type||"java.lang.LargeString"===t.attribute.type),i.xp6(1),i.Q6J("ngIf","java.lang.Integer"===t.attribute.type))},directives:[b.O5,eP,NP,qO,HP,BP],styles:[""]}),n})();function GP(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function WP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw(4).changeLanguage(a)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"uppercase"),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",i.lcZ(2,2,i.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function KP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",14),i.NdJ("valueChange",function(s){return i.CHM(e),i.oxw(3).currentLang=s}),i.YNc(2,WP,4,6,"mat-option",15),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("value",e.currentLang),i.xp6(1),i.Q6J("ngForOf",e.languages)}}function ZP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"a",17),i._uU(2),i.qZA(),i.TgZ(3,"button",18),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).changeEmail()}),i.TgZ(4,"mat-icon"),i._uU(5," edit "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.MGl("href","mailto:",e.email,"",i.LSH),i.xp6(1),i.Oqu(e.email)}}function $P(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw(4).changeTimeZone(a)}),i._uU(1),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function XP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",19),i.NdJ("valueChange",function(s){return i.CHM(e),i.oxw(3).currentTimezone=s}),i.YNc(2,$P,2,2,"mat-option",15),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("value",e.currentTimezone),i.xp6(1),i.Q6J("ngForOf",e.timeZones)}}function QP(n,o){1&n&&(i.TgZ(0,"p"),i._uU(1,"-"),i.qZA())}function JP(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attribute-value",22),2&n){const e=i.oxw(2).$implicit;i.Q6J("attribute",e.attribute)("readonly",!0)}}function ez(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,QP,2,0,"p",20),i.YNc(2,JP,1,2,"perun-web-apps-attribute-value",21),i.qZA()),2&n){const e=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf",!e.attribute.value),i.xp6(1),i.Q6J("ngIf",e.attribute.value)}}function tz(n,o){if(1&n&&(i.TgZ(0,"tr"),i.TgZ(1,"td",7),i.TgZ(2,"div",8),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"td",9),i.YNc(5,KP,3,2,"mat-form-field",10),i.YNc(6,ZP,6,2,"div",11),i.YNc(7,XP,3,2,"mat-form-field",10),i.YNc(8,ez,3,2,"div",12),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=i.oxw(2);i.xp6(2),i.Q6J("matTooltip",e["tooltip_"+t.currentLang]),i.xp6(1),i.hij(" ",e["displayName_"+t.currentLang]," "),i.xp6(1),i.Q6J("ngSwitch",e.attribute.friendlyName),i.xp6(1),i.Q6J("ngSwitchCase","preferredLanguage"),i.xp6(1),i.Q6J("ngSwitchCase","preferredMail"),i.xp6(1),i.Q6J("ngSwitchCase","timezone")}}function iz(n,o){if(1&n&&(i.TgZ(0,"table",4),i.TgZ(1,"tbody"),i.TgZ(2,"tr"),i.TgZ(3,"td",5),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"td"),i._uU(8),i.qZA(),i.qZA(),i.YNc(9,tz,9,6,"tr",6),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(4),i.Oqu(i.lcZ(5,3,i.lcZ(6,5,"PROFILE_PAGE.NAME"))),i.xp6(4),i.Oqu(e.fullName),i.xp6(1),i.Q6J("ngForOf",e.additionalAttributes)}}let nz=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this.translateService=e,this.dialog=t,this.authzResolverService=s,this.attributesManagerService=a,this.usersManagerService=r,this.route=c,this.router=d,this.notificator=h,this.storeService=g,this.apiRequestConfiguration=O,this.preferredLangService=$,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=PO.tz.names().filter(oe=>!oe.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",e.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(oe=>this.successMessage=oe)}ngOnInit(){const e=this.route.snapshot.queryParamMap,t=e.get("token"),s=e.get("u");this.loading=!0,t&&s?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(t,Number.parseInt(s,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const a=Ri();a.width="600px",this.dialog.open(Fx,a).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(e=>{this.userId=e.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{this.fullName=(new wy).transform(t);const s=t.userAttributes.find(g=>"preferredMail"===g.friendlyName);this.email=s.value,this.languageAttribute=t.userAttributes.find(g=>"preferredLanguage"===g.friendlyName);const a=this.languageAttribute&&this.languageAttribute.value?this.languageAttribute.value.toString():null,r=this.preferredLangService.getPreferredLanguage(a);this.translateService.use(r),this.currentLang=r,this.timezoneAttribute=t.userAttributes.find(g=>"timezone"===g.friendlyName),this.currentTimezone=this.timezoneAttribute&&this.timezoneAttribute.value?this.timezoneAttribute.value:"-";const c=this.storeService.get("profile_page_attributes");let d=0;const h=this.storeService.get("supported_languages");c.forEach(g=>{const O=t.userAttributes.find($=>$.friendlyName===g.friendly_name);O?(d++,this.addAttribute(O,g,h)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${g.is_virtual?"virt":"def"}:${g.friendly_name}`).subscribe($=>{this.addAttribute($,g,h),d++,this.loading=d!==c.length}),this.loading=d!==c.length})})})}addAttribute(e,t,s){var a;const r={attribute:e};for(const c of s)r[`displayName_${c}`]=t[`display_name_${c}`]&&t[`display_name_${c}`].length?t[`display_name_${c}`]:e.displayName,r[`tooltip_${c}`]=null!==(a=t[`tooltip_${c}`])&&void 0!==a?a:"";this.additionalAttributes.push(r)}changeLanguage(e){this.currentLang=e,this.translateService.use(this.currentLang),this.languageAttribute?this.setLanguage():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:preferredLanguage").subscribe(t=>{this.languageAttribute=t,this.setLanguage()})}setLanguage(){this.languageAttribute.value=this.currentLang,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.languageAttribute}).subscribe(()=>{this.router.navigate([],{queryParams:{lang:null},queryParamsHandling:"merge"})})}changeTimeZone(e){this.currentTimezone=e,this.timezoneAttribute?this.setTimeZone():this.attributesManagerService.getAttributeDefinitionByName("urn:perun:user:attribute-def:def:timezone").subscribe(t=>{this.timezoneAttribute=t,this.setTimeZone()})}setTimeZone(){this.timezoneAttribute.value=this.currentTimezone,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.timezoneAttribute}).subscribe(()=>{})}changeEmail(){const e=Ri();e.width="350px",e.data={userId:this.userId},this.dialog.open(Lx,e).afterClosed().subscribe(s=>{s&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(e=>{this.email=e.value})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ai),i.Y36(Ii),i.Y36(Ki),i.Y36(si),i.Y36(Tt),i.Y36(Xn),i.Y36(ji),i.Y36(sr),i.Y36(ti),i.Y36(Sv),i.Y36(Ev))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-profile-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","mt-3 word-break-all",4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"mt-3","word-break-all"],[1,"font-weight-bold"],[4,"ngFor","ngForOf"],[1,"font-weight-bold","att-name-width"],["matTooltipPosition","above",3,"matTooltip"],[1,"w-100",3,"ngSwitch"],["class","center-self",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"center-self"],[1,"mb-auto",3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"center-self",3,"href"],["mat-icon-button","",1,"ml-2",3,"click"],[3,"value","valueChange"],[4,"ngIf"],[3,"attribute","readonly",4,"ngIf"],[3,"attribute","readonly"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,GP,1,0,"mat-spinner",1),i.YNc(2,iz,10,7,"table",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,fs,b.sg,vs,b.RF,b.n9,un,Kf,Ca,Yt,xn,b.ED,cT],pipes:[dt,Ci,b.gd],styles:[".center-self[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.word-break-all[_ngcontent-%COMP%]{word-break:break-all}td[_ngcontent-%COMP%]{padding-right:1rem!important}.att-name-width[_ngcontent-%COMP%]{min-width:200px}"]}),n})();const sz=["mat-sort-header",""];function oz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(e),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",e._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",e._getArrowDirectionState())}}const rz=["*"],cu=Yw.ENTERING+" "+jw.STANDARD_CURVE,rp={indicator:Ti("indicator",[ii("active-asc, asc",qe({transform:"translateY(0px)"})),ii("active-desc, desc",qe({transform:"translateY(10px)"})),Ht("active-asc <=> active-desc",Ct(cu))]),leftPointer:Ti("leftPointer",[ii("active-asc, asc",qe({transform:"rotate(-45deg)"})),ii("active-desc, desc",qe({transform:"rotate(45deg)"})),Ht("active-asc <=> active-desc",Ct(cu))]),rightPointer:Ti("rightPointer",[ii("active-asc, asc",qe({transform:"rotate(45deg)"})),ii("active-desc, desc",qe({transform:"rotate(-45deg)"})),Ht("active-asc <=> active-desc",Ct(cu))]),arrowOpacity:Ti("arrowOpacity",[ii("desc-to-active, asc-to-active, active",qe({opacity:1})),ii("desc-to-hint, asc-to-hint, hint",qe({opacity:.54})),ii("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",qe({opacity:0})),Ht("* => asc, * => desc, * => active, * => hint, * => void",Ct("0ms")),Ht("* <=> *",Ct(cu))]),arrowPosition:Ti("arrowPosition",[Ht("* => desc-to-hint, * => desc-to-active",Ct(cu,Sr([qe({transform:"translateY(-25%)"}),qe({transform:"translateY(0)"})]))),Ht("* => hint-to-desc, * => active-to-desc",Ct(cu,Sr([qe({transform:"translateY(0)"}),qe({transform:"translateY(25%)"})]))),Ht("* => asc-to-hint, * => asc-to-active",Ct(cu,Sr([qe({transform:"translateY(25%)"}),qe({transform:"translateY(0)"})]))),Ht("* => hint-to-asc, * => active-to-asc",Ct(cu,Sr([qe({transform:"translateY(0)"}),qe({transform:"translateY(-25%)"})]))),ii("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",qe({transform:"translateY(0)"})),ii("hint-to-desc, active-to-desc, desc",qe({transform:"translateY(-25%)"})),ii("hint-to-asc, active-to-asc, asc",qe({transform:"translateY(25%)"}))]),allowChildren:Ti("allowChildren",[Ht("* <=> *",[Eo("@*",zm(),{optional:!0})])])};let Yy=(()=>{class n{constructor(){this.changes=new De.xQ}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const cz={provide:Yy,deps:[[new i.FiY,new i.tp0,Yy]],useFactory:function az(n){return n||new Yy}},lz=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),uz=R_(ir(class{}));let Na=(()=>{class n extends uz{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new De.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=je(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,s,a;if(!e)return"";const r=null!==(s=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==s?s:!!(null===(a=this._defaultOptions)||void 0===a?void 0:a.disableClear);let c=function dz(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,r),d=c.indexOf(this.direction)+1;return d>=c.length&&(d=0),c[d]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lz,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),n})();const hz=ir(class{});let Uy=(()=>{class n extends hz{constructor(e,t,s,a,r,c,d){super(),this._intl=e,this._changeDetectorRef=t,this._sort=s,this._columnDef=a,this._focusMonitor=r,this._elementRef=c,this._ariaDescriber=d,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=je(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var t,s;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(s=this._ariaDescriber)||void 0===s||s.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Li.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Yy),i.Y36(i.sBO),i.Y36(Na,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(So),i.Y36(i.SBq),i.Y36(sd,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._handleClick()})("keydown",function(a){return t._handleKeydown(a)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(i.uIk("aria-sort",t._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:sz,ngContentSelectors:rz,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,oz,6,6,"div",2),i.qZA()),2&e&&(i.ekj("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),i.uIk("tabindex",t._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[b.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[rp.indicator,rp.leftPointer,rp.rightPointer,rp.arrowOpacity,rp.arrowPosition,rp.allowChildren]},changeDetection:0}),n})(),fk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[cz],imports:[[b.ez,gt]]}),n})(),fz=(()=>{class n{constructor(e){this.elementRef=e}ngOnInit(){this.elementRef.nativeElement.focus()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsAutoFocus",""]]}),n})(),pk=(()=>{class n{constructor(){}onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),s=location.search;window.open(t+s)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(e,t){1&e&&i.NdJ("mouseup",function(a){return t.onClick(a)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),pz=(()=>{class n{transform(e){const t=e.find(s=>"mail"===s.friendlyName);return t?t.value.toString():"N/A"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getMailFromAttributes",type:n,pure:!0}),n})();function gz(n,o){1&n&&i._UZ(0,"th",18)}function mz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"span",20),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.TgZ(4,"mat-checkbox",21),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",i.lcZ(2,6,i.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",!e.userExtSource.persistent),i.xp6(3),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled",e.userExtSource.persistent)}}function _z(n,o){1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function bz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.id," ")}}function yz(n,o){1&n&&(i.TgZ(0,"th",24),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function Az(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.ALo(2,"getMailFromAttributes"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.attributes)," ")}}function wz(n,o){if(1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,e.extSourceNameHeader?e.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function Mz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function vz(n,o){if(1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,e.loginHeader?e.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function Tz(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.login," ")}}function Cz(n,o){1&n&&(i.TgZ(0,"th",22),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Sz(n,o){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Ez(n,o){1&n&&i._UZ(0,"tr",26)}const gk=function(n,o){return["/admin","users",n,"identities",o]};function kz(n,o){if(1&n&&i._UZ(0,"tr",27),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.WLB(6,gk,t.userId,e.userExtSource.id))("routerLink",t.disableRouting?null:i.WLB(9,gk,t.userId,e.userExtSource.id))}}function Dz(n,o){1&n&&(i.TgZ(0,"app-alert",28),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function xz(n,o){1&n&&(i.TgZ(0,"app-alert",28),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Lz=(()=>{class n{constructor(e,t){this.route=e,this.authResolver=t,this.selection=new Gn,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(e=>{this.userId=e.userId}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new $c(this.userExtSources),this.setDataSource()}getDataForColumn(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":{const s=e.attributes.find(a=>"mail"===a.friendlyName);return s?s.value.toString():"N/A"}case"extSourceName":return e.userExtSource.extSource.name;case"login":return e.userExtSource.login;case"lastAccess":return e.userExtSource.lastAccess.split(".")[0];default:return e[t]}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e.userExtSource)?"deselect":"select"} row ${e.userExtSource.id+1}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Xn),i.Y36(Va))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(La,7),i.Gf(Na,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.matSort=s.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[i.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","lastAccess","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["class","truncate","mat-cell","",4,"matCellDef"],["matColumnDef","mail"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","extSourceName"],["matColumnDef","login"],["matColumnDef","lastAccess",1,"pl-3"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"truncate"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,gz,1,0,"th",4),i.YNc(5,mz,5,10,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,_z,4,5,"th",7),i.YNc(8,bz,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,yz,4,5,"th",10),i.YNc(11,Az,3,3,"td",8),i.BQk(),i.ynx(12,11),i.YNc(13,wz,4,5,"th",7),i.YNc(14,Mz,2,1,"td",8),i.BQk(),i.ynx(15,12),i.YNc(16,vz,4,5,"th",7),i.YNc(17,Tz,2,1,"td",8),i.BQk(),i.ynx(18,13),i.YNc(19,Cz,4,5,"th",7),i.YNc(20,Sz,3,4,"td",14),i.BQk(),i.YNc(21,Ez,1,0,"tr",15),i.YNc(22,kz,1,12,"tr",16),i.qZA(),i.qZA(),i.qZA(),i.YNc(23,Dz,3,3,"app-alert",17),i.YNc(24,xz,4,5,"app-alert",17)),2&e&&(i.Q6J("hidden",0===t.userExtSources.length||0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(19),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.userExtSources.length),i.xp6(1),i.Q6J("ngIf",0===t.userExtSources.length))},directives:[La,Ra,Na,Br,Hr,Fr,Nr,qr,vs,au,Uy,Oa,za,Pa,Ia,pk,It,b.O5,Jn],pipes:[dt,Ci,pz,b.uU],styles:[".static-column-size[_ngcontent-%COMP%]{width:80px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:10rem}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}"]}),n})();function Rz(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function Oz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).addIdentity()}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"button",6),i.NdJ("click",function(){i.CHM(e);const s=i.oxw(2);return s.removeIdentity(s.certSelection)}),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i._UZ(13,"perun-web-apps-user-ext-sources-list",11),i.qZA()}if(2&n){const e=i.oxw(2);i.xp6(2),i.Oqu(i.lcZ(3,10,i.lcZ(4,12,"IDENTITIES.CERT"))),i.xp6(4),i.hij(" ",i.lcZ(7,14,i.lcZ(8,16,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.certSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(11,18,i.lcZ(12,20,"IDENTITIES.REMOVE"))," "),i.xp6(3),i.Q6J("userExtSources",e.certExtSources)("selection",e.certSelection)("extSourceNameHeader",e.extSourceNameCert)("loginHeader",e.loginCert)("displayedColumns",e.displayedColumnsCert)("disableRouting",!0)}}function Pz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",4),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().addIdentity()}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"button",6),i.NdJ("click",function(){i.CHM(e);const s=i.oxw();return s.removeIdentity(s.idpSelection)}),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i._UZ(13,"perun-web-apps-user-ext-sources-list",7),i.YNc(14,Oz,14,22,"div",2),i.TgZ(15,"h1",8),i._uU(16),i.ALo(17,"translate"),i.ALo(18,"customTranslate"),i.TgZ(19,"mat-icon",9),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i._uU(22," info_outline "),i.qZA(),i.qZA(),i._UZ(23,"perun-web-apps-user-ext-sources-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,17,i.lcZ(4,19,"IDENTITIES.IDP"))),i.xp6(4),i.hij(" ",i.lcZ(7,21,i.lcZ(8,23,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.idpSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(11,25,i.lcZ(12,27,"IDENTITIES.REMOVE"))," "),i.xp6(3),i.Q6J("userExtSources",e.idpExtSources)("selection",e.idpSelection)("displayedColumns",e.displayedColumnsIdp)("loginHeader",e.loginIdp)("disableRouting",!0),i.xp6(1),i.Q6J("ngIf",e.displayCertificates),i.xp6(2),i.hij(" ",i.lcZ(17,29,i.lcZ(18,31,"IDENTITIES.OTHER"))," "),i.xp6(3),i.Q6J("matTooltip",i.lcZ(20,33,i.lcZ(21,35,"IDENTITIES.OTHER_TOOLTIP"))),i.xp6(4),i.Q6J("userExtSources",e.otherExtSources)("selection",e.otherSelection)("extSourceNameHeader",e.extSourceNameOther)("displayedColumns",e.displayedColumnsOther)("disableRouting",!0)}}let zz=(()=>{class n{constructor(e,t,s,a,r){this.usersManagerService=e,this.storage=t,this.registrarManagerService=s,this.dialog=a,this.attributesManagerService=r,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new Gn(!0,[]),this.certSelection=new Gn(!0,[]),this.otherSelection=new Gn(!0,[]),this.loginIdp="IDENTITIES.LOGIN_IDP",this.extSourceNameCert="IDENTITIES.EXT_SOURCE_NAME_CERT",this.loginCert="IDENTITIES.LOGIN_CERT",this.extSourceNameOther="IDENTITIES.EXT_SOURCE_NAME_OTHER",this.displayedColumnsIdp=["select","extSourceName","login","lastAccess"],this.displayedColumnsCert=["select","extSourceName","login","lastAccess"],this.displayedColumnsOther=["extSourceName","login","lastAccess"]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.displayCertificates=this.storage.get("display_identity_certificates"),this.refreshTables()}refreshTables(){this.loading=!0,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.usersManagerService.getRichUserExtSources(this.userId).subscribe(e=>{let t=e.length;e.forEach(s=>{this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(a=>{a&&a.value?(s.userExtSource.extSource.name=a.value,t--,this.loading=0!==t,this.addToList(s)):this.attributesManagerService.getUserExtSourceAttributeByName(s.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(r=>{t--,r&&r.value&&(s.userExtSource.extSource.name=r.value),this.loading=0!==t,this.addToList(s)})})})})}addIdentity(){this.registrarManagerService.getConsolidatorToken().subscribe(e=>{const t=this.storage.getPerunPrincipal().extSourceType,s=this.storage.get("consolidator_base_url");window.location.href=`${s}${t&&t.endsWith("X509")?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${e}`})}removeIdentity(e){const t=Ri();t.width="600px",t.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(vx,t).afterClosed().subscribe(a=>{a&&(e.clear(),this.refreshTables())})}addToList(e){e.userExtSource.extSource.type.endsWith("Idp")?this.idpExtSources.push(e):e.userExtSource.extSource.type.endsWith("X509")?this.certExtSources.push(e):this.otherExtSources.push(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(ti),i.Y36(Rn),i.Y36(Ii),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-identities-page"]],decls:3,vars:2,consts:[[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[3,"userExtSources","selection","displayedColumns","loginHeader","disableRouting"],[1,"page-title","mt-5"],["matTooltipPosition","above",1,"center-icon",3,"matTooltip"],[3,"userExtSources","selection","extSourceNameHeader","displayedColumns","disableRouting"],[3,"userExtSources","selection","extSourceNameHeader","loginHeader","displayedColumns","disableRouting"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,Rz,1,0,"mat-spinner",1),i.YNc(2,Pz,24,37,"div",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,fs,Yt,Lz,xn,vs],pipes:[dt,Ci],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n})();const Iz=["panel"];function Nz(n,o){if(1&n&&(i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA()),2&n){const e=o.id,t=i.oxw();i.Q6J("id",t.id)("ngClass",t._classList),i.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}const Hz=["*"];let Bz=0;class Fz{constructor(o,e){this.source=o,this.option=e}}const qz=to(class{}),mk=new i.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function jz(){return{autoActiveFirstOption:!1}}});let Yz=(()=>{class n extends qz{constructor(e,t,s,a){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=P.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new i.vpe,this.opened=new i.vpe,this.closed=new i.vpe,this.optionActivated=new i.vpe,this._classList={},this.id="mat-autocomplete-"+Bz++,this.inertGroups=(null==a?void 0:a.SAFARI)||!1,this._autoActiveFirstOption=!!s.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=je(e)}set classList(e){this._classList=e&&e.length?function qu(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const s of t){const a=`${s}`.trim();a&&e.push(a)}}return e}(e).reduce((t,s)=>(t[s]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Uh(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const t=new Fz(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(mk),i.Y36(Ei))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(i.Rgc,7),i.Gf(Iz,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.template=s.first),i.iGM(s=i.CRH())&&(t.panel=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[i.qOj]}),n})(),Uz=(()=>{class n extends Yz{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,s){if(1&e&&(i.Suo(s,Ug,5),i.Suo(s,Ca,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.optionGroups=a),i.iGM(a=i.CRH())&&(t.options=a)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[i._Bn([{provide:Vl,useExisting:n}]),i.qOj],ngContentSelectors:Hz,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,Nz,3,4,"ng-template"))},directives:[b.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),n})();const _k=new i.OlP("mat-autocomplete-scroll-strategy"),Gz={provide:_k,deps:[$i],useFactory:function Vz(n){return()=>n.scrollStrategies.reposition()}},Wz={provide:Wn,useExisting:(0,i.Gpc)(()=>bk),multi:!0};let Kz=(()=>{class n{constructor(e,t,s,a,r,c,d,h,g,O,$){this._element=e,this._overlay=t,this._viewContainerRef=s,this._zone=a,this._changeDetectorRef=r,this._dir=d,this._formField=h,this._document=g,this._viewportRuler=O,this._defaults=$,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=P.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new De.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Fo(()=>{const oe=this.autocomplete?this.autocomplete.options:null;return oe?oe.changes.pipe(ci(oe),(0,mi.w)(()=>(0,Li.T)(...oe.map(be=>be.onSelectionChange)))):this._zone.onStable.pipe((0,$t.q)(1),(0,mi.w)(()=>this.optionSelections))}),this._scrollStrategy=c}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=je(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Li.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,qt.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,qt.h)(()=>this._overlayAttached)):(0,Ke.of)()).pipe((0,pt.U)(e=>e instanceof Vg?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Li.T)(ha(this._document,"click"),ha(this._document,"auxclick"),ha(this._document,"touchend")).pipe((0,qt.h)(e=>{const t=$s(e),s=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&(!s||!s.contains(t))&&(!a||!a.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve().then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const t=e.keyCode;if(27===t&&!cn(e)&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen&&!cn(e))this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const s=this.autocomplete._keyManager.activeItem,a=38===t||40===t;this.panelOpen||9===t?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==s)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,s=t.value;"number"===t.type&&(s=""==s?null:parseFloat(s)),this._previousValue!==s&&(this._previousValue=s,this._onChange(s),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe((0,$t.q)(1)),t=this.autocomplete.options.changes.pipe((0,qi.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,E.g)(0));return(0,Li.T)(e,t).pipe((0,mi.w)(()=>{const s=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),s!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,$t.q)(1)).subscribe(s=>this._setValueAndClose(s))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,s=null!=t?t:"";this._formField?this._formField._control.value=s:this._element.nativeElement.value=s,this._previousValue=s}_setValueAndClose(e){const t=e&&e.source;t&&(this._clearPreviousSelectedOption(t),this._setTriggerValue(t.value),this._onChange(t.value),this.autocomplete._emitSelectEvent(t),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(t=>{t!==e&&t.selected&&t.deselect()})}_attachOverlay(){var e;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new _c(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(a=>{(27===a.keyCode&&!cn(a)||38===a.keyCode&&cn(a,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),a.stopPropagation(),a.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})})),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const s=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&s!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new Vn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],s=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:s},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:s}];let r;r="above"===this.position?a:"below"===this.position?t:[...t,...a],e.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const t=this.autocomplete,s=Gg(e,t.options,t.optionGroups);if(0===e&&1===s)t._setScrollTop(0);else if(t.panel){const a=t.options.toArray()[e];if(a){const r=a._getHostElement(),c=q_(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(c)}}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36($i),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(_k),i.Y36(Hn,8),i.Y36(Rd,9),i.Y36(b.K0,8),i.Y36(ws),i.Y36(mk,8))},n.\u0275dir=i.lG2({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[i.TTD]}),n})(),bk=(()=>{class n extends Kz{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&i.NdJ("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(a){return t._handleInput(a)})("keydown",function(a){return t._handleKeydown(a)}),2&e&&i.uIk("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[i._Bn([Wz]),i.qOj]}),n})(),Zz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Gz],imports:[[Ll,Td,gt,b.ez],Cn,Td,gt]}),n})(),$z=(()=>{class n{transform(e){return e&&e.value?e.value:"never"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"validateExpiration",type:n,pure:!0}),n})();function Xz(n,o){1&n&&i._UZ(0,"th",17)}function Qz(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.ALo(2,"validateExpiration"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled","never"===i.lcZ(2,3,e.expirationAttribute))}}function Jz(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.NAME"))," "))}function eI(n,o){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.entity.name)}}function tI(n,o){1&n&&(i.TgZ(0,"th",20),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.DESCRIPTION"))," "))}function iI(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.entity.description)}}function nI(n,o){1&n&&(i.TgZ(0,"th",23),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.EXPIRATION"))," "))}function sI(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.ALo(2,"validateExpiration"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.expirationAttribute)," ")}}function oI(n,o){1&n&&i._UZ(0,"th",20)}function rI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"button",24),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().extend(a)}),i.ALo(2,"validateExpiration"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(1),i.Q6J("disabled","never"===i.lcZ(2,2,e.expirationAttribute)),i.xp6(2),i.hij(" ",i.lcZ(4,4,i.lcZ(5,6,"MEMBERSHIP_LIST.EXTEND"))," ")}}function aI(n,o){1&n&&i._UZ(0,"tr",25)}function cI(n,o){1&n&&i._UZ(0,"tr",26)}function lI(n,o){1&n&&(i.TgZ(0,"app-alert",27),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"MEMBERSHIP_LIST.NO_MEMBERSHIPS"))))}let yk=(()=>{class n{constructor(){this.members=[],this.searchString="",this.selection=new Gn(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.filterValue="",this.extendMembership=new i.vpe,this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new $c(this.members),this.setDataSource()}getDataForColumn(e,t){switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return e.expirationAttribute&&e.expirationAttribute.value?e.expirationAttribute.value:"never";default:return""}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(e){return`${this.selection.isSelected(e)?"deselect":"select"} row ${e.entity.id+1}`}extend(e){this.extendMembership.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-membership-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",tableId:"tableId",filterValue:"filterValue"},outputs:{extendMembership:"extendMembership"},features:[i.TTD],decls:21,vars:8,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","expirationAttribute","matSortDirection","desc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","checkbox"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","static-column-size","mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["matColumnDef","expirationAttribute"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","extend"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["mat-header-cell","","mat-sort-header",""],["color","accent","mat-flat-button","",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Xz,1,0,"th",4),i.YNc(5,Qz,3,5,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Jz,4,5,"th",7),i.YNc(8,eI,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,tI,4,5,"th",7),i.YNc(11,iI,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,nI,4,5,"th",12),i.YNc(14,sI,3,3,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,oI,1,0,"th",7),i.YNc(17,rI,6,8,"td",10),i.BQk(),i.YNc(18,aI,1,0,"tr",14),i.YNc(19,cI,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lI,4,5,"app-alert",16)),2&e&&(i.Q6J("hidden",!t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",!t.dataSource.filteredData.length))},directives:[La,Ra,Na,Br,Hr,Fr,Nr,qr,au,Uy,Yt,Oa,za,Pa,Ia,b.O5,Jn],pipes:[$z,dt,Ci],styles:[""]}),n})();function uI(n,o){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function dI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",7),i.TgZ(1,"mat-label"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i._UZ(4,"input",8),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.TgZ(7,"mat-autocomplete",9,10),i.NdJ("optionSelected",function(s){return i.CHM(e),i.oxw().filterByVo(s)}),i.TgZ(9,"mat-option",11),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i.YNc(13,uI,2,2,"mat-option",12),i.ALo(14,"async"),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(8),t=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,7,"GROUPS.SELECT_VO")),i.xp6(2),i.s9C("placeholder",i.lcZ(5,9,i.lcZ(6,11,"GROUPS.SELECT_VO"))),i.Q6J("formControl",t.myControl)("matAutocomplete",e),i.xp6(3),i.Q6J("displayWith",t.displayFn),i.xp6(3),i.Oqu(i.lcZ(11,13,i.lcZ(12,15,"GROUPS.ALL"))),i.xp6(3),i.Q6J("ngForOf",i.lcZ(14,17,t.filteredVos))}}function hI(n,o){1&n&&i._UZ(0,"mat-spinner",14)}function fI(n,o){1&n&&(i.TgZ(0,"app-alert",15),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"GROUPS.NO_GROUPS"))))}const pI=function(){return["name","description","expirationAttribute","extend"]};function gI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h4",16),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-membership-list",17),i.NdJ("extendMembership",function(s){return i.CHM(e),i.oxw().extendMembership(s)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,4,i.lcZ(4,6,"GROUPS.MEMBER_GROUPS"))),i.xp6(3),i.Q6J("members",e.userMemberships)("selection",e.selection)("displayedColumns",i.DdM(8,pI))}}const mI=function(){return["name","description"]};function _I(n,o){if(1&n&&(i.TgZ(0,"div",18),i.TgZ(1,"h4",16),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i._UZ(5,"perun-web-apps-membership-list",19),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"GROUPS.ADMINS_GROUPS"))),i.xp6(3),i.Q6J("members",e.adminMemberships)("displayedColumns",i.DdM(7,mI))}}let bI=(()=>{class n{constructor(e,t,s,a,r,c){this.usersService=e,this.memberService=t,this.groupService=s,this.store=a,this.vosManagerService=r,this.attributesManagerService=c,this.loading=!1,this.vos=[],this.myControl=new us,this.selection=new Gn(!1,[]),this.displayedColumns=["id","name"],this.userMemberships=[],this.adminMemberships=[]}ngOnInit(){this.loading=!0,this.userId=this.store.getPerunPrincipal().userId,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=this.myControl.valueChanges.pipe(ci(""),(0,pt.U)(t=>this._filter(t))),this.getAllGroups()})}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase;return this.vos.filter(s=>s.name.toLowerCase().includes(t))}getAllGroups(){this.loading=!0;let e=0,t=0;this.userMemberships=[],this.adminMemberships=[];const s=this.store.getPerunPrincipal().roles.SELF.Member;s.length?t=s.length:this.loading=!1,s.forEach(a=>{t--,this.groupService.getMemberGroups(a).subscribe(r=>{e+=r.length,this.loading=0===e&&0!==t,r.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(a,c.id).subscribe(d=>{e--,this.userMemberships.push({entity:c,expirationAttribute:d.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==e})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(a=>{a.forEach(r=>{this.adminMemberships.push({entity:r,expirationAttribute:null})})})}displayFn(e){return e?e.name:null}filterByVo(e){if("all"===e.option.value)this.getAllGroups();else{this.userMemberships=[],this.adminMemberships=[],this.loading=!0;const t=e.option.value;this.memberService.getMemberByUser(t.id,this.userId).subscribe(s=>{this.groupService.getMemberGroups(s.id).subscribe(a=>{let r=a.length;this.loading=0!==r,a.forEach(c=>{this.attributesManagerService.getMemberGroupAttributes(s.id,c.id).subscribe(d=>{r--,this.userMemberships.push({entity:c,expirationAttribute:d.find(h=>"groupMembershipExpiration"===h.friendlyName)}),this.loading=0!==r})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,t.id).subscribe(s=>{s.forEach(a=>{this.adminMemberships.push({entity:a,expirationAttribute:null})})})}}extendMembership(e){const t=this.store.get("registrar_base_url"),s=e.entity,a=this.vos.find(r=>r.id===s.voId).shortName;window.location.href=`${t}?vo=${a}&group=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(An),i.Y36(ti),i.Y36(uo),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-groups-page"]],decls:10,vars:10,consts:[[1,"page-title","pt-2"],[1,"user-theme"],["class","mr-2 w-75",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["class","mt-5",4,"ngIf"],[1,"mr-2","w-75"],["type","text","aria-label","Assignee","matInput","",3,"placeholder","formControl","matAutocomplete"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mr-auto","ml-auto"],["alert_type","warn"],[1,"page-subtitle"],[3,"members","selection","displayedColumns","extendMembership"],[1,"mt-5"],[3,"members","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,dI,15,19,"mat-form-field",2),i.YNc(6,hI,1,0,"mat-spinner",3),i.YNc(7,fI,4,5,"app-alert",4),i.YNc(8,gI,6,9,"div",5),i.YNc(9,_I,6,8,"div",6),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,i.lcZ(3,8,"GROUPS.TITLE"))),i.xp6(4),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.userMemberships.length&&!t.adminMemberships.length&&!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading&&0!==t.userMemberships.length),i.xp6(1),i.Q6J("ngIf",!t.loading&&0!==t.adminMemberships.length))},directives:[b.O5,un,no,qn,bn,bk,dn,so,Uz,Ca,b.sg,fs,Jn,yk],pipes:[dt,Ci,b.Ov],styles:[""]}),n})();function yI(n,o){if(1&n&&(i._UZ(0,"input",3),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}function AI(n,o){if(1&n&&(i._UZ(0,"input",4),i.ALo(1,"translate")),2&n){const e=i.oxw();i.s9C("placeholder",i.lcZ(1,2,e.placeholder)),i.Q6J("formControl",e.formControl)}}let l1=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new us}ngOnInit(){this.formControl.valueChanges.subscribe(e=>{let t=e.trim();t=t.toLowerCase(),this.filter.emit(t)})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-immediate-filter"]],inputs:{placeholder:"placeholder",autoFocus:"autoFocus"},outputs:{filter:"filter"},decls:3,vars:2,consts:[[1,"filter-field","mr-2"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,yI,2,4,"input",1),i.YNc(2,AI,2,4,"input",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf",t.autoFocus),i.xp6(1),i.Q6J("ngIf",!t.autoFocus))},directives:[un,b.O5,qn,bn,fz,dn,so],pipes:[dt],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),n})(),wI=0;const lT=new i.OlP("CdkAccordion");let MI=(()=>{class n{constructor(){this._stateChanges=new De.xQ,this._openCloseAllActions=new De.xQ,this.id="cdk-accordion-"+wI++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=je(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:lT,useExisting:n}]),i.TTD]}),n})(),vI=0,TI=(()=>{class n{constructor(e,t,s){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=s,this._openCloseAllSubscription=P.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+vI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=s.listen((a,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=je(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=je(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lT,12),i.Y36(i.sBO),i.Y36(bb))},n.\u0275dir=i.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:lT,useValue:void 0}])]}),n})(),CI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const SI=["body"];function EI(n,o){}const kI=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],DI=["mat-expansion-panel-header","*","mat-action-row"];function xI(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const LI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],RI=["mat-panel-title","mat-panel-description","*"],uT=new i.OlP("MAT_ACCORDION"),Ak="225ms cubic-bezier(0.4,0.0,0.2,1)",wk={indicatorRotate:Ti("indicatorRotate",[ii("collapsed, void",qe({transform:"rotate(0deg)"})),ii("expanded",qe({transform:"rotate(180deg)"})),Ht("expanded <=> collapsed, void => collapsed",Ct(Ak))]),bodyExpansion:Ti("bodyExpansion",[ii("collapsed, void",qe({height:"0px",visibility:"hidden"})),ii("expanded",qe({height:"*",visibility:"visible"})),Ht("expanded <=> collapsed, void => collapsed",Ct(Ak))])};let u1=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc))},n.\u0275dir=i.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),OI=0;const Mk=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let d1=(()=>{class n extends TI{constructor(e,t,s,a,r,c,d){super(e,t,s),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new De.xQ,this._headerId="mat-expansion-panel-header-"+OI++,this._bodyAnimationDone=new De.xQ,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(Yh((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{"void"!==h.fromState&&("expanded"===h.toState?this.afterExpand.emit():"collapsed"===h.toState&&this.afterCollapse.emit())}),d&&(this.hideToggle=d.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=je(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(ci(null),(0,qt.h)(()=>this.expanded&&!this._portal),(0,$t.q)(1)).subscribe(()=>{this._portal=new _c(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(uT,12),i.Y36(i.sBO),i.Y36(bb),i.Y36(i.s_b),i.Y36(b.K0),i.Y36(Bn,8),i.Y36(Mk,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,u1,5),2&e){let a;i.iGM(a=i.CRH())&&(t._lazyContent=a.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(SI,5),2&e){let s;i.iGM(s=i.CRH())&&(t._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:uT,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:DI,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(kI),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(a){return t._bodyAnimationDone.next(a)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,EI,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),i.uIk("aria-labelledby",t._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",t._portal))},directives:[Yp],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[wk.bodyExpansion]},changeDetection:0}),n})();class PI{}const zI=Ic(PI);let h1=(()=>{class n extends zI{constructor(e,t,s,a,r,c,d){super(),this.panel=e,this._element=t,this._focusMonitor=s,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=P.w.EMPTY;const h=e.accordion?e.accordion._stateChanges.pipe((0,qt.h)(g=>!(!g.hideToggle&&!g.togglePosition))):os.E;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=(0,Li.T)(e.opened,e.closed,h,e._inputChanges.pipe((0,qt.h)(g=>!!(g.hideToggle||g.disabled||g.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,qt.h)(()=>e._containsFocus())).subscribe(()=>s.focusVia(t,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:cn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(d1,1),i.Y36(i.SBq),i.Y36(So),i.Y36(i.sBO),i.Y36(Mk,8),i.Y36(Bn,8),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._toggle()})("keydown",function(a){return t._keydown(a)}),2&e&&(i.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Udp("height",t._getHeaderHeight()),i.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:RI,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.F$t(LI),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,xI,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[wk.indicatorRotate]},changeDetection:0}),n})(),Vy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),Gy=(()=>{class n extends MI{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=je(e)}ngAfterContentInit(){this._headers.changes.pipe(ci(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new od(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,s){if(1&e&&i.Suo(s,h1,5),2&e){let a;i.iGM(a=i.CRH())&&(t._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i._Bn([{provide:uT,useExisting:n}]),i.qOj]}),n})(),II=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,gt,CI,Rh]]}),n})();function NI(n,o){1&n&&(i.TgZ(0,"mat-icon",1),i.ALo(1,"translate"),i._uU(2," visibility\n"),i.qZA()),2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let HI=(()=>{class n{constructor(){this.recentIds=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-recently-viewed-icon"]],inputs:{recentIds:"recentIds",id:"id"},decls:1,vars:1,consts:[["class","align-bottom disabled-icon",3,"matTooltip",4,"ngIf"],[1,"align-bottom","disabled-icon",3,"matTooltip"]],template:function(e,t){1&e&&i.YNc(0,NI,3,3,"mat-icon",0),2&e&&i.Q6J("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[b.O5,xn,vs],pipes:[dt],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),n})();function BI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",4),i._uU(3,"check_circle_outline"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function FI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",5),i._uU(3,"block"),i.qZA(),i.qZA()}2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function qI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",3),i.NdJ("click",function(){return i.CHM(e),i.oxw().changeStatus()}),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",6),i._uU(3,"report"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.hYB("matTooltip","",i.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",e.failureCause,"")}}function jI(n,o){1&n&&(i.TgZ(0,"span",7),i.ALo(1,"translate"),i.TgZ(2,"mat-icon",8),i._uU(3,"autorenew"),i.qZA(),i.qZA()),2&n&&i.s9C("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let YI=(()=>{class n{constructor(e){this.dialog=e,this.status="",this.statusChange=new i.vpe}changeStatus(){const e=Ri();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(uL,e).afterClosed().subscribe(s=>{s&&this.statusChange.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-group-resource-status"]],inputs:{status:"status",groupId:"groupId",resourceId:"resourceId",theme:"theme",failureCause:"failureCause"},outputs:{statusChange:"statusChange"},decls:5,vars:4,consts:[[1,"flex-container"],["matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip","click"],[1,"green"],[1,"grey"],[1,"red"],["matTooltipPosition","above",3,"matTooltip"],[1,"black"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,BI,4,3,"span",1),i.YNc(2,FI,4,3,"span",1),i.YNc(3,qI,4,4,"span",1),i.YNc(4,jI,4,3,"span",2),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngIf","ACTIVE"===t.status),i.xp6(1),i.Q6J("ngIf","INACTIVE"===t.status),i.xp6(1),i.Q6J("ngIf","FAILED"===t.status),i.xp6(1),i.Q6J("ngIf","PROCESSING"===t.status))},directives:[b.O5,vs,xn],pipes:[dt],styles:[""]}),n})(),UI=(()=>{class n{transform(e){if(null==e)return null;let s="";return e.forEach(function(a){s=s.concat(a.tagName)}),s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"resourceTagsToString",type:n,pure:!0}),n})(),VI=(()=>{class n{transform(e,t){return t?`/organizations/${e.voId}/resources/${e.id}`:`/facilities/${e.facilityId}/resources/${e.id}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getResourceRoute",type:n,pure:!0}),n})();function GI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("aria-label",e.checkboxLabel())("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function WI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"span",25),i.ALo(2,"translate"),i.TgZ(3,"mat-checkbox",26),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.itemSelectionToggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",i.lcZ(2,7,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE")),i.Q6J("matTooltipPosition","above")("matTooltipDisabled",!t.disableSelect(e)),i.xp6(2),i.Q2q("data-cy","",e.name,"-checkbox"),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))("disabled",t.disableSelect(e))}}function KI(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function ZI(n,o){if(1&n&&(i.TgZ(0,"td",28),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function $I(n,o){1&n&&i._UZ(0,"th",29)}function XI(n,o){if(1&n&&(i.TgZ(0,"td",30),i._UZ(1,"perun-web-apps-recently-viewed-icon",31),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("recentIds",t.recentIds)("id",e.id)}}function QI(n,o){1&n&&i._UZ(0,"th",29)}function JI(n,o){1&n&&(i.TgZ(0,"mat-icon",33),i.ALo(1,"translate"),i._uU(2,"account_tree"),i.qZA()),2&n&&i.Q6J("matTooltip",i.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function e3(n,o){if(1&n&&(i.TgZ(0,"td",30),i.YNc(1,JI,3,3,"mat-icon",32),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngIf",e.sourceGroupId)}}function t3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function n3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.name)}}function s3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function o3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.vo.name)}}function r3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function a3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",30),i.TgZ(1,"perun-web-apps-group-resource-status",34),i.NdJ("mouseenter",function(){return i.CHM(e),i.oxw().disabledRouting=!0})("mouseleave",function(){i.CHM(e);const s=i.oxw();return s.disabledRouting=s.disableRouting})("statusChange",function(){return i.CHM(e),i.oxw().refreshTable.emit()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("theme","group-theme")("resourceId",e.id)("groupId",t.groupId)("failureCause",e.failureCause)("status",e.status)}}function c3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function l3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.facility.name)}}function u3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function d3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.ALo(2,"resourceTagsToString"),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.resourceTags)," ")}}function h3(n,o){1&n&&(i.TgZ(0,"th",27),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function f3(n,o){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.description)}}function p3(n,o){1&n&&i._UZ(0,"tr",35)}const g3=function(n){return[n]};function m3(n,o){if(1&n&&(i._UZ(0,"tr",36),i.ALo(1,"getResourceRoute"),i.ALo(2,"getResourceRoute")),2&n){const e=o.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",i.VKq(12,g3,t.disabledRouting?null:i.xi3(1,6,e,t.routingVo)))("routerLink",t.disabledRouting?null:i.xi3(2,9,e,t.routingVo))}}function _3(n,o){1&n&&(i.TgZ(0,"app-alert",37),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function b3(n,o){1&n&&(i.TgZ(0,"app-alert",37),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let y3=(()=>{class n{constructor(e,t){this.guiAuthResolver=e,this.tableCheckbox=t,this.resources=[],this.selection=new Gn(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","status","facility","tags","description"],this.pageSizeOptions=Q0,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new i.vpe,this.allSelected=new i.vpe,this.removeAuth=!1,this.addAuth=!1,this.canBeSelected=s=>!this.disableSelect(s)}set matSort(e){this.sort=e}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.setDataSource(),this.setAuth()}getDataForColumn(e,t,s){switch(t){case"id":return e.id.toString();case"vo":return e.vo.name;case"name":return e.name;case"facility":return e.facility.name;case"description":return e.description;case"recent":return s.recentIds&&s.recentIds.indexOf(e.id)>-1?"#".repeat(s.recentIds.indexOf(e.id)):e.name;case"tags":{if(!e.resourceTags)return e[t];let r="";return e.resourceTags.forEach(function(c){r=r.concat(c.tagName)}),r}case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.dataSource||(this.dataSource=new $c,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns,this.getDataForColumn,this,!0),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const e=this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected);return this.allSelected.emit(e),e}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected),this.setAuth()}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const e=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((t,s)=>t&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([s])),!0),this.addAuth=this.selection.selected.reduce((t,s)=>t&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([s])),!0)}itemSelectionToggle(e){this.selection.toggle(e),this.setAuth()}disableSelect(e){return this.resourcesToDisableCheckbox.has(e.id)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Va),i.Y36(kS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{resources:"resources",selection:"selection",filterValue:"filterValue",disableRouting:"disableRouting",routingVo:"routingVo",displayedColumns:"displayedColumns",groupToResource:"groupToResource",pageSizeOptions:"pageSizeOptions",recentIds:"recentIds",groupId:"groupId",resourcesToDisableCheckbox:"resourcesToDisableCheckbox",tableId:"tableId"},outputs:{refreshTable:"refreshTable",allSelected:"allSelected"},features:[i.TTD],decls:37,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"dataLength","tableId","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","recent","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","recent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","indirectResourceAssigment"],["matColumnDef","name"],["matColumnDef","vo"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","tags"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"cursor-pointer","disable-outline","perunWebAppsMiddleClickRouterLink","routerLink",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"aria-label","checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],[3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-header-cell",""],["mat-cell",""],[3,"recentIds","id"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"],[3,"theme","resourceId","groupId","failureCause","status","mouseenter","mouseleave","statusChange"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,GI,2,3,"th",4),i.YNc(5,WI,4,9,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,KI,3,3,"th",7),i.YNc(8,ZI,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,$I,1,0,"th",10),i.YNc(11,XI,2,2,"td",11),i.BQk(),i.ynx(12,12),i.YNc(13,QI,1,0,"th",10),i.YNc(14,e3,2,1,"td",11),i.BQk(),i.ynx(15,13),i.YNc(16,t3,3,3,"th",7),i.YNc(17,n3,2,1,"td",11),i.BQk(),i.ynx(18,14),i.YNc(19,s3,3,3,"th",7),i.YNc(20,o3,2,1,"td",11),i.BQk(),i.ynx(21,15),i.YNc(22,r3,3,3,"th",7),i.YNc(23,a3,2,5,"td",11),i.BQk(),i.ynx(24,16),i.YNc(25,c3,3,3,"th",7),i.YNc(26,l3,2,1,"td",11),i.BQk(),i.ynx(27,17),i.YNc(28,u3,3,3,"th",7),i.YNc(29,d3,3,3,"td",11),i.BQk(),i.ynx(30,18),i.YNc(31,h3,3,3,"th",7),i.YNc(32,f3,2,1,"td",11),i.BQk(),i.YNc(33,p3,1,0,"tr",19),i.YNc(34,m3,3,14,"tr",20),i.qZA(),i.qZA(),i.qZA(),i.YNc(35,_3,3,3,"app-alert",21),i.YNc(36,b3,3,3,"app-alert",21)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length||0===t.resources.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length)("tableId",t.tableId)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(31),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.resources.length),i.xp6(1),i.Q6J("ngIf",0===t.resources.length))},directives:[La,Ra,Na,Br,Hr,Fr,au,Nr,qr,vs,Uy,HI,b.O5,xn,YI,Oa,za,Pa,Ia,pk,It,Jn],pipes:[dt,UI,VI],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.filter-input[_ngcontent-%COMP%]{width:300px!important}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important}"]}),n})();function A3(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const w3=function(){return["name","description"]};function M3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-resources-list",9),2&n){const e=i.oxw(3);i.Q6J("resources",e.resources)("displayedColumns",i.DdM(3,w3))("disableRouting",!0)}}function v3(n,o){if(1&n&&(i.YNc(0,A3,1,0,"mat-spinner",6),i.YNc(1,M3,1,4,"perun-web-apps-resources-list",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",!e.loading)}}function T3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",4),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMemberData(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,v3,2,2,"ng-template",5),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let C3=(()=>{class n{constructor(e,t,s,a){this.usersManagerService=e,this.membersManagerService=t,this.resourcesManagerService=s,this.storage=a,this.resources=[],this.filteredVos=[]}ngOnInit(){this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMemberData(e){this.loading=!0,this.membersManagerService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{this.resources=s,this.loading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-services-page"]],decls:10,vars:11,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"resources","displayedColumns","disableRouting",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"resources","displayedColumns","disableRouting"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"perun-web-apps-immediate-filter",2),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"mat-accordion"),i.YNc(9,T3,5,1,"mat-expansion-panel",3),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"SERVICES.TITLE"))),i.xp6(4),i.Q6J("placeholder",i.lcZ(6,7,i.lcZ(7,9,"SERVICES.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Gy,b.sg,d1,h1,Vy,u1,b.O5,fs,y3],pipes:[dt,Ci],styles:[""]}),n})();function S3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(s){return i.CHM(e),i.oxw().applyFilter(s)}),i.qZA()}2&n&&i.Q6J("placeholder","ORGANIZATIONS.FILTER")}function E3(n,o){1&n&&i._UZ(0,"mat-spinner",6)}const k3=function(){return["name","expirationAttribute","extend"]};function D3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-membership-list",11),i.NdJ("extendMembership",function(s){return i.CHM(e),i.oxw(2).extendMembership(s)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("members",e.userMemberships)("selection",e.selection)("filterValue",e.filterValue)("displayedColumns",i.DdM(4,k3))}}function x3(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}function L3(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,D3,2,5,"div",9),i.YNc(6,x3,4,5,"app-alert",10),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"ORGANIZATIONS.IS_MEMBER"))),i.xp6(3),i.Q6J("ngIf",0!==e.userMemberships.length),i.xp6(1),i.Q6J("ngIf",0===e.userMemberships.length)}}function R3(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"ORGANIZATIONS.NO_VOS_ALERT"))))}const O3=function(){return["name"]};function P3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-membership-list",14),2&n){const e=i.oxw(2);i.Q6J("members",e.adminMemberships)("filterValue",e.filterValue)("displayedColumns",i.DdM(3,O3))}}function z3(n,o){if(1&n&&(i.TgZ(0,"div",7),i.TgZ(1,"h1",8),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,R3,4,5,"app-alert",10),i.YNc(6,P3,1,4,"perun-web-apps-membership-list",13),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"ORGANIZATIONS.IS_ADMIN"))),i.xp6(3),i.Q6J("ngIf",!e.adminMemberships.length),i.xp6(1),i.Q6J("ngIf",e.adminMemberships.length)}}let I3=(()=>{class n{constructor(e,t,s){this.usersService=e,this.store=t,this.membersService=s,this.filterValue="",this.selection=new Gn(!1,[]),this.userMemberships=[],this.adminMemberships=[],this.vosCount=0}ngOnInit(){this.principal=this.store.getPerunPrincipal(),this.userId=this.principal.user.id,this.refreshTable()}refreshTable(){this.loading=!0,this.usersService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.usersService.getVosWhereUserIsAdmin(this.userId).subscribe(t=>{this.vosCount=e.length+t.length,this.fillMemberships(e,this.userMemberships),this.fillMemberships(t,this.adminMemberships)})})}applyFilter(e){this.filterValue=e}isEverythingLoaded(){this.vosCount--,this.loading=0!==this.vosCount}fillMemberships(e,t){this.membersService.getMembersByUser(this.userId).subscribe(s=>{e.forEach(a=>{const r=s.find(c=>c.voId===a.id);r?this.membersService.getRichMemberWithAttributes(r.id).subscribe(c=>{const d=c.memberAttributes.find(h=>"membershipExpiration"===h.friendlyName);t.push({entity:a,expirationAttribute:d}),this.isEverythingLoaded()}):(t.push({entity:a,expirationAttribute:null}),this.isEverythingLoaded())})})}extendMembership(e){const t=this.store.get("registrar_base_url");window.location.href=`${t}?vo=${e.entity.shortName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(ti),i.Y36(Be))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-vos-page"]],decls:9,vars:9,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter",4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["class","mt-5",4,"ngIf"],[3,"placeholder","filter"],[1,"mr-auto","ml-auto"],[1,"mt-5"],[1,"page-subtitle"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[3,"members","selection","filterValue","displayedColumns","extendMembership"],["alert_type","warn"],[3,"members","filterValue","displayedColumns",4,"ngIf"],[3,"members","filterValue","displayedColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,S3,1,1,"perun-web-apps-immediate-filter",2),i.YNc(6,E3,1,0,"mat-spinner",3),i.YNc(7,L3,7,7,"div",4),i.YNc(8,z3,7,7,"div",4),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"ORGANIZATIONS.TITLE"))),i.xp6(4),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[b.O5,l1,fs,yk,Jn],pipes:[dt,Ci],styles:[""]}),n})(),N3=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-page"]],decls:2,vars:0,consts:[[1,"user-theme"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._UZ(1,"router-outlet"),i.qZA())},directives:[Go],styles:[""]}),n})(),H3=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t,this.password=""}ngOnInit(){this.password=this.data.password}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-generated-password-dialog"]],decls:20,vars:22,consts:[["mat-dialog-title","",1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],["disabled","",1,"center-text",3,"value"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"cdkCopyToClipboard"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"label"),i._UZ(10,"input",2),i.qZA(),i.qZA(),i.TgZ(11,"div",3),i.TgZ(12,"button",4),i.NdJ("click",function(){return t.onClose()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.TgZ(16,"button",5),i._uU(17),i.ALo(18,"translate"),i.ALo(19,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,6,i.lcZ(3,8,"DIALOGS.SHOW_PASSWORD.TITLE")),"\n"),i.xp6(5),i.Oqu(i.lcZ(7,10,i.lcZ(8,12,"DIALOGS.SHOW_PASSWORD.LABEL"))),i.xp6(4),i.Q6J("value",t.password),i.xp6(3),i.hij(" ",i.lcZ(14,14,i.lcZ(15,16,"DIALOGS.SHOW_PASSWORD.CLOSE"))," "),i.xp6(3),i.Q6J("cdkCopyToClipboard",t.password),i.xp6(1),i.hij(" ",i.lcZ(18,18,i.lcZ(19,20,"DIALOGS.SHOW_PASSWORD.COPY"))," "))},directives:[Sn,Fn,En,Yt,qv],pipes:[dt,Ci],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),n})();function B3(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function F3(n,o){1&n&&i._UZ(0,"th",16)}function q3(n,o){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function j3(n,o){1&n&&i._UZ(0,"tr",18)}function Y3(n,o){1&n&&i._UZ(0,"tr",19)}function U3(n,o){if(1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"div",9),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"table",10),i.ynx(10,11),i.YNc(11,F3,1,0,"th",12),i.YNc(12,q3,2,1,"td",13),i.BQk(),i.YNc(13,j3,1,0,"tr",14),i.YNc(14,Y3,1,0,"tr",15),i.qZA(),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,5,i.lcZ(4,7,"DIALOGS.REMOVE_ALT_PASSWORD.DESCRIPTION"))," "),i.xp6(4),i.hij(" ",i.lcZ(7,9,i.lcZ(8,11,"DIALOGS.REMOVE_ALT_PASSWORD.ASK"))," "),i.xp6(3),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}let V3=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.usersManagerService=s,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new $c(this.data.description)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.usersManagerService.deleteAlternativePassword(this.data.userId,"einfra",this.data.passwordId).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(Tt))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-alt-password-dialog"]],decls:16,vars:17,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","user-theme",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"user-theme"],[1,"font-weight-bold"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","description"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,B3,1,0,"mat-spinner",2),i.qZA(),i.YNc(6,U3,15,13,"div",3),i.TgZ(7,"div",4),i.TgZ(8,"button",5),i.NdJ("click",function(){return t.onCancel()}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.TgZ(12,"button",6),i.NdJ("click",function(){return t.onSubmit()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"DIALOGS.REMOVE_ALT_PASSWORD.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(10,9,i.lcZ(11,11,"DIALOGS.REMOVE_ALT_PASSWORD.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(14,13,i.lcZ(15,15,"DIALOGS.REMOVE_ALT_PASSWORD.REMOVE"))," "))},directives:[Sn,b.O5,fs,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function G3(n,o){1&n&&i._UZ(0,"th",12)}function W3(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",13),i.TgZ(1,"mat-checkbox",14),i.NdJ("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null})("click",function(s){return s.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function K3(n,o){if(1&n&&(i.TgZ(0,"th",15),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.headerColumnText)}}function Z3(n,o){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function $3(n,o){1&n&&i._UZ(0,"tr",17)}function X3(n,o){1&n&&i._UZ(0,"tr",18)}function Q3(n,o){if(1&n&&(i.TgZ(0,"app-alert",19),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.alertText,"\n")}}let vk=(()=>{class n{constructor(){this.values=[],this.selection=new Gn(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"]}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new $c(this.values),this.setDataSource()}getExportDataForColumn(e){return e}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumn,this),e)}setDataSource(){this.dataSource&&(this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}checkboxLabel(e){return(this.selection.isSelected(e)?"deselect":"select")+" row"}ngAfterViewInit(){this.setDataSource()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-string-list"]],viewQuery:function(e,t){if(1&e&&i.Gf(La,7),2&e){let s;i.iGM(s=i.CRH())&&(t.child=s.first)}},inputs:{values:"values",selection:"selection",alertText:"alertText",headerColumnText:"headerColumnText"},features:[i.TTD],decls:12,vars:6,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","exportData"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["class","static-column-size align-checkbox","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","pl-3","mat-header-cell","",4,"matHeaderCellDef"],["class","truncate pl-3","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"aria-label","checked","change","click"],["mat-header-cell","",1,"pl-3"],["mat-cell","",1,"truncate","pl-3"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,G3,1,0,"th",4),i.YNc(5,W3,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,K3,2,1,"th",7),i.YNc(8,Z3,2,1,"td",8),i.BQk(),i.YNc(9,$3,1,0,"tr",9),i.YNc(10,X3,1,0,"tr",10),i.qZA(),i.qZA(),i.qZA(),i.YNc(11,Q3,2,1,"app-alert",11)),2&e&&(i.Q6J("hidden",!t.values.length),i.xp6(1),i.Q6J("dataLength",t.dataSource.filteredData.length),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(7),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.values.length))},directives:[La,Ra,Br,Hr,Fr,Nr,qr,au,Oa,za,Pa,Ia,b.O5,Jn],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),n})();function J3(n,o){if(1&n&&i._UZ(0,"perun-web-apps-string-list",10),2&n){const e=i.oxw();i.Q6J("values",e.displayedValues)("selection",e.selection)("alertText",e.alertText)("headerColumnText",e.headerColumnText)}}function eN(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let tN=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.usersManagerService=r,this.altPasswordCtrl=new us(null,[kn.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new Gn(!1,[]),a.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),a.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(c=>this.alertText=c),a.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}ngOnInit(){this.getAltPasswords()}createPassword(){const e=this.generatePassword();this.usersManagerService.createAlternativePassword(this.userId,this.altPasswordCtrl.value,"einfra",e).subscribe(()=>{const t=Ri();t.width="600px",t.data={password:e},this.dialog.open(H3,t),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let s="",a=0;const r=t.length;for(;a<16;++a)s+=t.charAt(Math.random()*r);return s.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),s}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(e=>{if(this.altPasswordsAttribute=e,e.value){const t=Object.keys(e.value);this.passwordDescriptions=new Set(t),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}alreadyContainsValue(e){return this.passwordDescriptions.has(e)}removeAltPasswords(){const e=Ri();e.width="600px",e.data={description:this.selection.selected,passwordId:this.altPasswordsAttribute.value[this.selection.selected[0]],userId:this.userId},this.dialog.open(V3,e).afterClosed().subscribe(s=>{s&&(this.getAltPasswords(),this.selection.clear())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai),i.Y36(Tt))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-alternative-passwords"]],decls:28,vars:35,consts:[[1,"ml-3"],[1,"page-title"],[1,"input-width"],["matInput","","type","text",3,"placeholder","formControl"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],["alert_type","info"],[1,"page-subtitle"],["mat-flat-button","","color","warn",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"values","selection","alertText","headerColumnText"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"mat-form-field",2),i.TgZ(6,"label",2),i._UZ(7,"input",3),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(10,"button",4),i.NdJ("click",function(){return t.createPassword()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"app-alert",5),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"h1",6),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.TgZ(22,"button",7),i.NdJ("click",function(){return t.removeAltPasswords()}),i._uU(23),i.ALo(24,"translate"),i.ALo(25,"customTranslate"),i.qZA(),i.YNc(26,J3,1,4,"perun-web-apps-string-list",8),i.YNc(27,eN,1,0,"mat-spinner",9),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,11,i.lcZ(4,13,"ALT_PASSWORDS.TITLE_GENERATE"))),i.xp6(5),i.s9C("placeholder",i.lcZ(8,15,i.lcZ(9,17,"ALT_PASSWORDS.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.altPasswordCtrl),i.xp6(3),i.Q6J("disabled",!t.altPasswordCtrl.valid||t.alreadyContainsValue(t.altPasswordCtrl.value)),i.xp6(1),i.hij(" ",i.lcZ(12,19,i.lcZ(13,21,"ALT_PASSWORDS.GENERATE"))," "),i.xp6(4),i.Oqu(i.lcZ(16,23,i.lcZ(17,25,"ALT_PASSWORDS.EXAMPLE_DESCRIPTIONS"))),i.xp6(4),i.Oqu(i.lcZ(20,27,i.lcZ(21,29,"ALT_PASSWORDS.TITLE_PASSWORDS"))),i.xp6(3),i.Q6J("disabled",t.selection.isEmpty()),i.xp6(1),i.hij(" ",i.lcZ(24,31,i.lcZ(25,33,"ALT_PASSWORDS.REMOVE"))," "),i.xp6(3),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[un,qn,bn,dn,so,Yt,Jn,b.O5,vk,fs],pipes:[dt,Ci],styles:[""]}),n})();function iN(n,o){if(1&n&&(i.TgZ(0,"mat-list-item",1),i.TgZ(1,"mat-icon"),i._uU(2),i.qZA(),i.TgZ(3,"p",2),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.Q6J("routerLink",e.url),i.xp6(2),i.Oqu(e.icon),i.xp6(2),i.Oqu(i.lcZ(5,3,i.lcZ(6,5,e.label)))}}let nN=(()=>{class n{constructor(e){this.storeService=e,this.items=[]}ngOnInit(){this.initItems();const e=this.storeService.get("displayed_tabs");this.items=this.items.filter(t=>e.includes(t.tabName))}initItems(){this.items=[{icon:"lock_open",url:"/profile/settings/altPasswords",label:"SETTINGS.ALTERNATIVE_PASSWORDS",tabName:"alt_passwords"},{icon:"admin_panel_settings",url:"/profile/settings/auth",label:"SETTINGS.AUTHENTICATION",tabName:"auth"},{icon:"storage",url:"/profile/settings/dataQuotas",label:"SETTINGS.DATA_QUOTAS",tabName:"data_quotas"},{icon:"unsubscribe",url:"/profile/settings/mailingLists",label:"SETTINGS.MAILING_LISTS",tabName:"opt_out"},{icon:"chevron_right",url:"/profile/settings/prefShells",label:"SETTINGS.PREFERRED_SHELLS",tabName:"pref_shells"},{icon:"group",url:"/profile/settings/prefGroupNames",label:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES",tabName:"pref_group_names"},{icon:"lock_open",url:"/profile/settings/sambaPassword",label:"SETTINGS.SAMBA_PASSWORD",tabName:"samba"},{icon:"vpn_key",url:"/profile/settings/sshKeys",label:"SETTINGS.SSH_KEYS",tabName:"ssh_keys"},{icon:"lock",url:"/profile/settings/passwordReset",label:"SETTINGS.PASSWORD_RESET",tabName:"password_reset"}]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-overview"]],decls:2,vars:1,consts:[["matRipple","","queryParamsHandling","merge",3,"routerLink",4,"ngFor","ngForOf"],["matRipple","","queryParamsHandling","merge",3,"routerLink"],[1,"ml-2","mt-auto","mb-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-list"),i.YNc(1,iN,7,7,"mat-list-item",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Jv,b.sg,Hy,Ns,It,xn],pipes:[dt,Ci],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),n})(),sN=(()=>{class n extends yn{buildStyles(e,{display:t}){const s=$S(e);return Object.assign(Object.assign({},s),{display:"none"===t?t:s.display})}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oN=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let rN=(()=>{class n extends hn{constructor(e,t,s,a,r){super(e,s,t,a),this._config=r,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var t;const a=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(t=Ck.get(a))&&void 0!==t?t:new Map,Ck.set(a,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:a}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Gi),i.Y36(sN),i.Y36(Qi),i.Y36(jr))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),Tk=(()=>{class n extends rN{constructor(){super(...arguments),this.inputs=oN}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.qOj]}),n})();const Ck=new Map;let BN=(()=>{class n extends yn{buildStyles(e){const t={};switch(e=e||"stretch"){case"start":t["align-self"]="flex-start";break;case"end":t["align-self"]="flex-end";break;default:t["align-self"]=e}return t}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const FN=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let qN=(()=>{class n extends hn{constructor(e,t,s,a){super(e,s,t,a),this.DIRECTIVE_KEY="flex-align",this.styleCache=jN,this.init()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Gi),i.Y36(BN),i.Y36(Qi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const jN=new Map;let kk=(()=>{class n extends qN{constructor(){super(...arguments),this.inputs=FN}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[i.qOj]}),n})(),Dk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv,El]]}),n})();function oH(n,o){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.Q6J("value",t.selectedUnit),i.xp6(1),i.hij(" ",e," ")}}let rH=(()=>{class n{constructor(e,t,s,a,r){this.dialogRef=e,this.data=t,this.rtMessagesService=s,this.notificator=a,this.translate=r,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",r.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(c=>this.successMessage=c)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new us(null,[kn.required]),this.newValueControl=new us(null,[kn.required,kn.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const s=`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${(new wy).transform(this.data.user)} (user ID: ${this.data.user.id})\u21b5 VO: ${this.data.vo.shortName} / ${this.data.vo.name} (vo ID: ${this.data.vo.id})\u21b5 Resource: ${this.data.resource.name} (resource ID: ${this.data.resource.id})\u21b5 Data quota\u21b5 Requested quota: ${this.newValueControl.value}\u21b5 Reason: ${this.reasonControl.value}\u21b5 \u21b5 \u21b5 -------------------------------------\u21b5 Sent from Perun GUI`;this.rtMessagesService.sentMessageToRTWithVo(this.data.vo.id,"QUOTA: Change request",s).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(ni),i.Y36(sr),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-request-change-data-quota-dialog"]],decls:42,vars:42,consts:[["mat-dialog-title","",1,"mb-3"],[1,"user-theme"],[1,"column-size"],["fxLayout","row","fxFlexAlign","center center"],[1,"label-width"],["matInput","","required","","type","number",3,"placeholder","formControl"],[1,"select-width","mt-auto","mb-auto","ml-2",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[1,"form-width"],["matInput","","required","","rows","4",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[3,"value"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"div"),i.TgZ(6,"p",2),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"p"),i._uU(11),i.qZA(),i.qZA(),i.TgZ(12,"div"),i.TgZ(13,"p",2),i._uU(14),i.ALo(15,"translate"),i.ALo(16,"customTranslate"),i.qZA(),i.TgZ(17,"p"),i._uU(18),i.qZA(),i.qZA(),i.TgZ(19,"div",3),i.TgZ(20,"mat-form-field"),i.TgZ(21,"label",4),i._UZ(22,"input",5),i.ALo(23,"translate"),i.ALo(24,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(25,"mat-select",6),i.NdJ("valueChange",function(a){return t.selectedUnit=a}),i.YNc(26,oH,2,2,"mat-option",7),i.qZA(),i.qZA(),i.TgZ(27,"div"),i.TgZ(28,"mat-form-field",8),i.TgZ(29,"label",4),i._UZ(30,"textarea",9),i.ALo(31,"translate"),i.ALo(32,"customTranslate"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(33,"div",10),i.TgZ(34,"button",11),i.NdJ("click",function(){return t.onCancel()}),i._uU(35),i.ALo(36,"translate"),i.ALo(37,"customTranslate"),i.qZA(),i.TgZ(38,"button",12),i.NdJ("click",function(){return t.onSubmit()}),i._uU(39),i.ALo(40,"translate"),i.ALo(41,"customTranslate"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,14,i.lcZ(3,16,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.TITLE")),"\n"),i.xp6(6),i.hij(" ",i.lcZ(8,18,i.lcZ(9,20,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.RESOURCE"))," "),i.xp6(4),i.Oqu(t.resource),i.xp6(3),i.hij(" ",i.lcZ(15,22,i.lcZ(16,24,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CURRENT_QUOTA"))," "),i.xp6(4),i.Oqu(t.currentQuota),i.xp6(4),i.s9C("placeholder",i.lcZ(23,26,i.lcZ(24,28,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REQUESTED_QUOTA"))),i.Q6J("formControl",t.newValueControl),i.xp6(3),i.Q6J("value",t.selectedUnit),i.xp6(1),i.Q6J("ngForOf",t.units),i.xp6(4),i.s9C("placeholder",i.lcZ(31,30,i.lcZ(32,32,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.REASON"))),i.Q6J("formControl",t.reasonControl),i.xp6(5),i.hij(" ",i.lcZ(36,34,i.lcZ(37,36,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",t.reasonControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(40,38,i.lcZ(41,40,"DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SEND"))," "))},directives:[Sn,Tk,kk,un,qn,iu,bn,Ms,dn,so,Kf,b.sg,Ca,En,Yt],pipes:[dt,Ci],styles:[".column-size[_ngcontent-%COMP%]{width:10rem!important;font-weight:700}.form-width[_ngcontent-%COMP%]{width:100%;overflow:hidden}.label-width[_ngcontent-%COMP%]{width:100%}.select-width[_ngcontent-%COMP%]{width:4rem}.mat-input-underline.mat-form-field-underline[_ngcontent-%COMP%], .mat-input-ripple.mat-form-field-ripple[_ngcontent-%COMP%]{display:none}"]}),n})();function aH(n,o){1&n&&i._UZ(0,"mat-spinner",8)}function cH(n,o){1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function lH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"p"),i.TgZ(2,"strong"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i._uU(6),i.qZA(),i.TgZ(7,"p",10),i._uU(8),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.TgZ(11,"button",11),i.NdJ("click",function(){i.CHM(e);const s=i.oxw().$implicit,a=i.oxw(3).$implicit;return i.oxw().requestChangeQuota(a,s)}),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(5);i.xp6(3),i.Oqu(i.lcZ(4,4,i.lcZ(5,6,"DATA_QUOTAS.QUOTA"))),i.xp6(3),i.hij(" ",e.quotasMarkup," "),i.xp6(2),i.Oqu(i.lcZ(9,8,i.lcZ(10,10,"DATA_QUOTAS.QUOTA_INFO"))),i.xp6(4),i.hij(" ",i.lcZ(13,12,i.lcZ(14,14,"DATA_QUOTAS.CHANGE"))," ")}}function uH(n,o){1&n&&(i.TgZ(0,"p"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DATA_QUOTAS.NO_QUOTAS"))))}function dH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(4).getResAttributes(a.id)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,lH,15,16,"div",7),i.YNc(5,uH,4,5,"p",7),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw(4);i.xp6(3),i.hij(" ",e.name," "),i.xp6(1),i.Q6J("ngIf",t.defaultQuota),i.xp6(1),i.Q6J("ngIf",!t.defaultQuota)}}function hH(n,o){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,dH,6,3,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function fH(n,o){if(1&n&&(i.YNc(0,aH,1,0,"mat-spinner",5),i.YNc(1,cH,4,5,"app-alert",6),i.YNc(2,hH,2,1,"mat-accordion",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",0===e.resources.length&&!e.loading),i.xp6(1),i.Q6J("ngIf",e.resources.length&&!e.loading)}}function pH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMembersResources(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,fH,3,3,"ng-template",4),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let gH=(()=>{class n{constructor(e,t,s,a,r,c){this.store=e,this.usersManagerService=t,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.dialog=c,this.vos=[],this.resources=[],this.quotasMarkup="",this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMembersResources(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getResourceAttributes(r.id).subscribe(c=>{a--,c.find(d=>"defaultDataQuotas"===d.friendlyName)&&this.resources.push(r),this.loading=0!==a})})})})}getResAttributes(e){this.attributesManagerService.getResourceAttributes(e).subscribe(t=>{let s=t.find(a=>"dataQuotas"===a.friendlyName);if(s&&s.value){const a=Object.keys(s.value);this.currentQuota=s.value[a[0]]}else this.currentQuota="";if(s=t.find(a=>"defaultDataQuotas"===a.friendlyName),s){const a=Object.keys(s.value);this.defaultQuota=s.value[a[0]]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}parseMarkup(){let e="";e+=this.currentQuota,e+=` (default: ${this.defaultQuota})`,e=e.split(":").join(" : ").split("K").join(" KiB").split("M").join(" MiB").split("G").join(" GiB").split("T").join(" TiB").split("E").join(" EiB"),this.quotasMarkup=e}requestChangeQuota(e,t){const s=Ri();s.width="400px",s.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(rH,s)}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(si),i.Y36(Ii))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-data-quotas"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[2,"color","gray"],["mat-flat-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"perun-web-apps-immediate-filter",1),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,pH,5,1,"mat-expansion-panel",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"DATA_QUOTAS.TITLE"))),i.xp6(3),i.Q6J("placeholder",i.lcZ(5,7,i.lcZ(6,9,"DATA_QUOTAS.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Gy,b.sg,d1,h1,Vy,u1,b.O5,fs,Jn,Yt],pipes:[dt,Ci],styles:[""]}),n})();function mH(n,o){1&n&&i._UZ(0,"mat-spinner",8)}function _H(n,o){1&n&&(i.TgZ(0,"app-alert",9),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"OPT_OUT_MAILING_LISTS.NO_MAILING_LISTS_ALERT"))))}function bH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(4).getOptOutAttribute(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"div",10),i.TgZ(5,"p"),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i.TgZ(9,"mat-checkbox",11),i.NdJ("change",function(){return i.CHM(e),i.oxw(4).setOptOut()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw(4);i.xp6(3),i.hij(" ",e.name," "),i.xp6(3),i.Oqu(i.lcZ(7,3,i.lcZ(8,5,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL"))),i.xp6(3),i.Q6J("checked",t.optOutAttribute&&null!==t.optOutAttribute.value)}}function yH(n,o){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,bH,10,7,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function AH(n,o){if(1&n&&(i.YNc(0,mH,1,0,"mat-spinner",5),i.YNc(1,_H,4,5,"app-alert",6),i.YNc(2,yH,2,1,"mat-accordion",7)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.loading),i.xp6(1),i.Q6J("ngIf",0===e.resources.length&&!e.loading),i.xp6(1),i.Q6J("ngIf",e.resources.length&&!e.loading)}}function wH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw().getMailingLists(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,AH,3,3,"ng-template",4),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let MH=(()=>{class n{constructor(e,t,s,a,r){this.store=e,this.usersManagerService=t,this.membersService=s,this.resourcesManagerService=a,this.attributesManagerService=r,this.vos=[],this.resources=[],this.mailingLists=[],this.optOuts=[],this.filteredVos=[]}ngOnInit(){this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(e=>{this.vos=e,this.filteredVos=e})}getMailingLists(e){this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getAssignedRichResourcesWithMember(t.id).subscribe(s=>{let a=s.length;a||(this.loading=!1),s.forEach(r=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,r.id).subscribe(c=>{this.attributesManagerService.getResourceAttributeByName(r.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(d=>{a--;const h=c.find(g=>"optOutMailingList"===g.friendlyName);h&&!(d&&"true"===d.value)&&(this.optOuts.push({resource:r.id,member:t.id,attribute:h}),this.resources.push(r)),this.loading=0!==a})})})})})}getOptOutAttribute(e){this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}setOptOut(){this.optOuts[this.index].attribute.value=this.optOutAttribute.value?null:"true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{console.log("done")})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(Tt),i.Y36(Be),i.Y36(ei),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-mailing-lists"]],decls:9,vars:11,consts:[[1,"page-title"],[3,"placeholder","filter"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["matExpansionPanelContent",""],["class","ml-auto mr-auto",4,"ngIf"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["alert_type","warn"],[1,"row"],[1,"ml-3",3,"checked","change"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"perun-web-apps-immediate-filter",1),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,wH,5,1,"mat-expansion-panel",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"OPT_OUT_MAILING_LISTS.TITLE"))),i.xp6(3),i.Q6J("placeholder",i.lcZ(5,7,i.lcZ(6,9,"OPT_OUT_MAILING_LISTS.FILTER"))),i.xp6(4),i.Q6J("ngForOf",t.filteredVos))},directives:[l1,Gy,b.sg,d1,h1,Vy,u1,b.O5,fs,Jn,au],pipes:[dt,Ci],styles:[""]}),n})();function vH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function TH(n,o){1&n&&i._UZ(0,"th",17)}function CH(n,o){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e)}}function SH(n,o){1&n&&i._UZ(0,"tr",19)}function EH(n,o){1&n&&i._UZ(0,"tr",20)}function kH(n,o){if(1&n&&(i.TgZ(0,"table",11),i.ynx(1,12),i.YNc(2,TH,1,0,"th",13),i.YNc(3,CH,2,1,"td",14),i.BQk(),i.YNc(4,SH,1,0,"tr",15),i.YNc(5,EH,1,0,"tr",16),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns)}}function DH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",1),i.TgZ(1,"div",5),i.TgZ(2,"p"),i._uU(3),i.qZA(),i.TgZ(4,"div",6),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,kH,6,3,"table",7),i.qZA(),i.TgZ(9,"div",8),i.TgZ(10,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.TgZ(14,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(3),i.hij(" ",e.description," "),i.xp6(2),i.hij(" ",i.lcZ(6,5,i.lcZ(7,7,"DIALOGS.REMOVE_STRING_VALUE.ASK"))," "),i.xp6(3),i.Q6J("ngIf",e.dataSource.data.length),i.xp6(3),i.hij(" ",i.lcZ(12,9,i.lcZ(13,11,"DIALOGS.REMOVE_STRING_VALUE.CANCEL"))," "),i.xp6(4),i.hij(" ",i.lcZ(16,13,i.lcZ(17,15,"DIALOGS.REMOVE_STRING_VALUE.REMOVE"))," ")}}let Ky=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new $c(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let e=this.data.attribute.value?this.data.attribute.value:[];void 0!==this.data.valueIndex?e.splice(this.data.valueIndex,1):e=e.filter(t=>!this.data.values.find(s=>s===t)),this.data.attribute.value=e}this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-remove-string-value-dialog"]],decls:5,vars:3,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],["class","user-theme",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],[1,"font-weight-bold"],["class","w-100","mat-table","",3,"dataSource",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","","class","font-weight-bolder",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.qZA(),i.TgZ(2,"div",1),i.YNc(3,vH,1,0,"mat-spinner",2),i.qZA(),i.YNc(4,DH,18,17,"div",3)),2&e&&(i.xp6(1),i.Oqu(t.title),i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,fs,Fn,Ra,Br,Hr,Fr,Nr,qr,Oa,za,Pa,Ia,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function xH(n,o){1&n&&(i.TgZ(0,"app-alert",5),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"PREFERRED_SHELLS.NO_SHELLS"))))}function LH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",11),i.NdJ("click",function(){return i.CHM(e),i.oxw(3).changeValue()}),i._uU(1),i.qZA()}if(2&n){const e=o.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e)}}function RH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item"),i.TgZ(1,"mat-form-field",7),i.TgZ(2,"mat-select",8),i.NdJ("valueChange",function(s){const r=i.CHM(e).index;return i.oxw(2).shells[r]=s}),i.YNc(3,LH,2,2,"mat-option",9),i.qZA(),i.qZA(),i.TgZ(4,"button",10),i.NdJ("click",function(){const a=i.CHM(e).index;return i.oxw(2).removeShell(a)}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.index,t=i.oxw(2);i.xp6(2),i.Q6J("value",t.shells[e]),i.xp6(1),i.Q6J("ngForOf",t.defaultShells),i.xp6(2),i.hij(" ",i.lcZ(6,3,i.lcZ(7,5,"PREFERRED_SHELLS.REMOVE_BUTTON"))," ")}}function OH(n,o){if(1&n&&(i.TgZ(0,"mat-list"),i.YNc(1,RH,8,7,"mat-list-item",6),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.shells)}}let PH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],a.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e)}),this.getAttribute()}addShell(){this.shells.push("/bin/bash"),this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{console.log("done")})}removeShell(e){const t=Ri();t.width="600px",t.data={valueIndex:e,values:[this.shells[e]],attribute:this.prefShellsAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,t).afterClosed().subscribe(a=>{a&&this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(e=>{this.prefShellsAttribute=e,this.shells=this.prefShellsAttribute.value?this.prefShellsAttribute.value:[],this.loading=!1})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-shells"]],decls:14,vars:17,consts:[[1,"page-title"],["alert_type","info"],["mat-flat-button","","color","accent",3,"click"],["alert_type","warn",4,"ngIf"],[4,"ngIf"],["alert_type","warn"],[4,"ngFor","ngForOf"],[1,"w-100"],[3,"value","valueChange"],[3,"value","click",4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"ml-2",3,"click"],[3,"value","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"app-alert",1),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"button",2),i.NdJ("click",function(){return t.addShell()}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.YNc(12,xH,4,5,"app-alert",3),i.YNc(13,OH,2,1,"mat-list",4)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,5,i.lcZ(3,7,"PREFERRED_SHELLS.TITLE"))),i.xp6(4),i.hij(" ",i.lcZ(6,9,i.lcZ(7,11,"PREFERRED_SHELLS.DESCRIPTION")),"\n"),i.xp6(4),i.hij(" ",i.lcZ(10,13,i.lcZ(11,15,"PREFERRED_SHELLS.NEW_BUTTON")),"\n"),i.xp6(3),i.Q6J("ngIf",!t.loading&&0===t.shells.length),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Jn,Yt,b.O5,Jv,b.sg,Hy,un,Kf,Ca],pipes:[dt,Ci],styles:[""]}),n})();function zH(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function IH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",5),i.TgZ(2,"mat-form-field",6),i.TgZ(3,"label",6),i._UZ(4,"input",7),i.qZA(),i.qZA(),i.qZA(),i.TgZ(5,"div",8),i.TgZ(6,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().onCancel()}),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.TgZ(10,"button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(11),i.ALo(12,"translate"),i.ALo(13,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.Q6J("formControl",e.inputControl),i.xp6(3),i.hij(" ",i.lcZ(8,4,i.lcZ(9,6,"DIALOGS.ADD_UNIX_GROUP.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",!e.inputControl.valid||e.groups.includes(e.inputControl.value)),i.xp6(1),i.hij(" ",i.lcZ(12,8,i.lcZ(13,10,"DIALOGS.ADD_UNIX_GROUP.ADD"))," ")}}let NH=(()=>{class n{constructor(e,t,s){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.groups=[]}ngOnInit(){this.inputControl=new us(null,kn.required),this.groups=this.data.groups}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.data.userId,`urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:${this.data.namespace}`).subscribe(e=>{const t=e.value?e.value:[];t.push(this.inputControl.value),e.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:e}).subscribe(()=>{this.loading=!1,this.dialogRef.close(!0)})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-add-unix-group-dialog"]],decls:7,vars:7,consts:[["mat-dialog-title",""],[1,"user-theme"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],[1,"w-100"],["matInput","","required","",1,"w-100",3,"formControl"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.YNc(5,zH,1,0,"mat-spinner",2),i.YNc(6,IH,14,12,"div",3),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"DIALOGS.ADD_UNIX_GROUP.TITLE"))),i.xp6(4),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[Sn,b.O5,fs,Fn,un,qn,bn,Ms,dn,so,En,Yt],pipes:[dt,Ci],styles:[""]}),n})();function HH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",2),i.TgZ(1,"h4"),i._uU(2),i.qZA(),i.TgZ(3,"button",3),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().addGroupName(a)}),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"button",4),i.NdJ("click",function(){const s=i.CHM(e),a=s.$implicit,r=s.index;return i.oxw().removeGroupName(a,r)}),i._uU(8),i.ALo(9,"translate"),i.qZA(),i._UZ(10,"perun-web-apps-string-list",5),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,s=i.oxw();i.xp6(2),i.Oqu(e),i.xp6(2),i.hij(" ",i.lcZ(5,8,i.lcZ(6,10,"PREFERRED_UNIX_GROUP_NAMES.NEW_BUTTON"))," "),i.xp6(3),i.Q6J("disabled",0===s.selectionList[t].selected.length),i.xp6(1),i.hij(" ",i.lcZ(9,12,"PREFERRED_UNIX_GROUP_NAMES.REMOVE_BUTTON")," "),i.xp6(2),i.Q6J("values",s.groupNames.get(e))("selection",s.selectionList[t])("alertText",s.alertText)("headerColumnText",s.headerColumnText)}}let BH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(r=>this.alertText=r),a.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.namespaces=this.store.get("preferred_unix_group_names"),this.translateService.onLangChange.subscribe(()=>{this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(e=>this.alertText=e),this.translateService.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.initSelection(),this.namespaces.forEach(e=>{this.getAttribute(e)})}initSelection(){for(let e=0;e{this.groupNames.set(e,t.value?t.value:[]),this.groupNameAttributes.push(t)})}addGroupName(e){const t=this.groupNames.get(e),s=Ri();s.width="400px",s.data={groups:t,namespace:e,userId:this.userId},this.dialog.open(NH,s).afterClosed().subscribe(r=>{r&&this.getAttribute(e)})}removeGroupName(e,t){const s=Ri();s.width="600px",s.data={values:this.selectionList[t].selected,attribute:this.groupNameAttributes[t],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,s).afterClosed().subscribe(r=>{r&&(this.selectionList[t].clear(),this.getAttribute(e))})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-preferred-unix-group-names"]],decls:5,vars:6,consts:[[1,"page-title"],["class","mt-4",4,"ngFor","ngForOf"],[1,"mt-4"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],[3,"values","selection","alertText","headerColumnText"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,HH,11,14,"div",1)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,2,i.lcZ(3,4,"PREFERRED_UNIX_GROUP_NAMES.TITLE"))),i.xp6(3),i.Q6J("ngForOf",t.namespaces))},directives:[b.sg,Yt,vk],pipes:[dt,Ci],styles:[""]}),n})();function FH(n,o){1&n&&(i.TgZ(0,"app-alert",7),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"ALERTS.NO_SAMBA")),"\n"))}function qH(n,o){1&n&&(i.TgZ(0,"app-alert",7),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"ALERTS.SAMBA_EXISTS")),"\n"))}function jH(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"SAMBA_PASSWORD.PASSWORD_VALIDATION"))))}let YH=(()=>{class n{constructor(e,t,s,a,r){this.attributesManagerService=e,this.store=t,this.usersManagerService=s,this.notificator=a,this.translate=r,r.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(c=>this.successMessage=c),r.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(c=>this.showPwdTooltip=c),r.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(c=>this.hidePwdTooltip=c)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new us("",[kn.pattern("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")]),this.getSambaAttribute()}setSambaPassword(){this.sambaAttribute.value=this.sambaControl.value;const e=(new Date).getTime().toString();this.usersManagerService.createAlternativePassword(this.userId,e,"samba-du",this.sambaControl.value).subscribe(()=>{this.sambaControl.setValue(""),this.getSambaAttribute(),this.notificator.showSuccess(this.successMessage)})}getSambaAttribute(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:samba-du").subscribe(e=>{this.sambaExists=!!e.value,this.sambaAttribute=e})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(si),i.Y36(ti),i.Y36(Tt),i.Y36(sr),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-samba-password"]],decls:19,vars:23,consts:[[1,"page-title"],["alert_type","warn",4,"ngIf"],[1,"input-width"],["matInput","",3,"formControl","type","placeholder"],["disableRipple","","mat-icon-button","",3,"matTooltip","click"],["color","accent","mat-flat-button","",3,"disabled","click"],["alert_type","error",4,"ngIf"],["alert_type","warn"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,FH,4,5,"app-alert",1),i.YNc(5,qH,4,5,"app-alert",1),i.TgZ(6,"mat-form-field",2),i.TgZ(7,"label",2),i._UZ(8,"input",3),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.qZA(),i.qZA(),i.TgZ(11,"button",4),i.NdJ("click",function(){return t.showPassword=!t.showPassword}),i.TgZ(12,"mat-icon"),i._uU(13),i.qZA(),i.qZA(),i.TgZ(14,"button",5),i.NdJ("click",function(){return t.setSambaPassword()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.YNc(18,jH,4,5,"app-alert",6)),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,11,i.lcZ(3,13,"SAMBA_PASSWORD.TITLE"))),i.xp6(3),i.Q6J("ngIf",!t.sambaExists),i.xp6(1),i.Q6J("ngIf",t.sambaExists),i.xp6(3),i.s9C("placeholder",i.lcZ(9,15,i.lcZ(10,17,"SAMBA_PASSWORD.INPUT_PLACEHOLDER"))),i.Q6J("formControl",t.sambaControl)("type",t.showPassword?"text":"password"),i.xp6(3),i.Q6J("matTooltip",t.showPassword?t.hidePwdTooltip:t.showPwdTooltip),i.xp6(2),i.Oqu(t.showPassword?"visibility_off":"visibility"),i.xp6(1),i.Q6J("disabled",0===t.sambaControl.value.length||t.sambaControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(16,19,i.lcZ(17,21,"SAMBA_PASSWORD.SET_PASSWORD")),"\n"),i.xp6(3),i.Q6J("ngIf",t.sambaControl.invalid))},directives:[b.O5,Jn,un,qn,bn,dn,so,Yt,vs,xn],pipes:[dt,Ci],styles:[""]}),n})();function UH(n,o){1&n&&(i.TgZ(0,"mat-error",8),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_SSH.INVALID_TYPE"))))}class Ha{constructor(o,e,t){this.dialogRef=o,this.data=e,this.attributesManagerService=t}ngOnInit(){this.sshControl=new us(null,[kn.required,kn.pattern(Ha.sshKeyPattern)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){const o=this.data.attribute.value?this.data.attribute.value:[];o.includes(this.sshControl.value)||o.push(this.sshControl.value),this.data.attribute.value=o,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)},()=>{o.pop()})}}Ha.allowedSshKeys=["ssh-ed25519","ssh-ed25519-cert-v01@openssh.com","sk-ssh-ed25519@openssh.com","sk-ssh-ed25519-cert-v01@openssh.com","ssh-rsa","ssh-dss","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521","sk-ecdsa-sha2-nistp256@openssh.com","ssh-rsa-cert-v01@openssh.com","ssh-dss-cert-v01@openssh.com","ecdsa-sha2-nistp256-cert-v01@openssh.com","ecdsa-sha2-nistp384-cert-v01@openssh.com","ecdsa-sha2-nistp521-cert-v01@openssh.com","sk-ecdsa-sha2-nistp256-cert-v01@openssh.com"],Ha.sshKeyPattern="^("+Ha.allowedSshKeys.join("|")+").+$",Ha.\u0275fac=function(o){return new(o||Ha)(i.Y36(zi),i.Y36(Xi),i.Y36(si))},Ha.\u0275cmp=i.Xpm({type:Ha,selectors:[["perun-web-apps-add-ssh-dialog"]],decls:20,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"dialog-container","user-theme"],[1,"input-width"],["matInput","","required","","cdkTextareaAutosize","","cdkAutosizeMinRows","4",3,"placeholder","formControl"],["class","white-space-pre",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"],[1,"white-space-pre"]],template:function(o,e){1&o&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"mat-form-field",2),i.TgZ(6,"label",2),i._UZ(7,"textarea",3),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.YNc(10,UH,4,5,"mat-error",4),i.qZA(),i.qZA(),i.TgZ(11,"div",5),i.TgZ(12,"button",6),i.NdJ("click",function(){return e.onCancel()}),i._uU(13),i.ALo(14,"translate"),i.ALo(15,"customTranslate"),i.qZA(),i.TgZ(16,"button",7),i.NdJ("click",function(){return e.onSubmit()}),i._uU(17),i.ALo(18,"translate"),i.ALo(19,"customTranslate"),i.qZA(),i.qZA()),2&o&&(i.xp6(1),i.Oqu(i.lcZ(2,7,i.lcZ(3,9,"DIALOGS.ADD_SSH.TITLE"))),i.xp6(6),i.s9C("placeholder",i.lcZ(8,11,i.lcZ(9,13,"DIALOGS.ADD_SSH.INPUT_PLACEHOLDER"))),i.Q6J("formControl",e.sshControl),i.xp6(3),i.Q6J("ngIf",e.sshControl.invalid&&e.sshControl.dirty),i.xp6(3),i.hij(" ",i.lcZ(14,15,i.lcZ(15,17,"DIALOGS.ADD_SSH.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",e.sshControl.invalid),i.xp6(1),i.hij(" ",i.lcZ(18,19,i.lcZ(19,21,"DIALOGS.ADD_SSH.ADD"))," "))},directives:[Sn,Fn,un,qn,My,bn,Ms,dn,so,b.O5,Zl,En,Yt],pipes:[dt,Ci],styles:[".input-width{width:100%}.white-space-pre{white-space:pre-wrap}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper{padding-bottom:0}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-underline{position:static!important;position:initial!important;display:block;margin-top:-1px}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper,perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-ripple{position:static!important;position:initial!important;display:table}perun-web-apps-add-ssh-dialog .mat-form-field .mat-form-field-wrapper .mat-form-field-subscript-wrapper{min-height:calc(1em + 1px)}\n"],encapsulation:2});let VH=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.sshKey=this.data.value}onClose(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(zi),i.Y36(Xi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-show-ssh-dialog"]],decls:8,vars:6,consts:[[1,"user-theme"],["matInput","","cdkTextareaAutosize","","readonly","",1,"w-100","display-fix"],["mat-flat-button","","color","warn",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"textarea",1),i._uU(2),i.qZA(),i.qZA(),i.TgZ(3,"mat-dialog-actions"),i.TgZ(4,"button",2),i.NdJ("click",function(){return t.onClose()}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Oqu(t.sshKey),i.xp6(3),i.hij(" ",i.lcZ(6,2,i.lcZ(7,4,"DIALOGS.SHOW_SSH.CLOSE"))," "))},directives:[qn,My,En,Yt],pipes:[dt,Ci],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}*[_ngcontent-%COMP%]:focus{outline:none}"]}),n})();function GH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"p",5),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showWholeKey(a)}),i._uU(2),i.qZA(),i.TgZ(3,"button",6),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.TgZ(6,"mat-icon"),i._uU(7," file_copy "),i.qZA(),i.qZA(),i.TgZ(8,"button",7),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().removeKey(a,!1)}),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.TgZ(11,"mat-icon"),i._uU(12," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.s9C("matTooltip",i.lcZ(4,4,i.lcZ(5,6,"SSH_KEYS.COPY_TOOLTIP"))),i.Q6J("cdkCopyToClipboard",e),i.xp6(5),i.s9C("matTooltip",i.lcZ(9,8,i.lcZ(10,10,"SSH_KEYS.REMOVE_TOOLTIP")))}}function WH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"label",8),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().showWholeKey(a)}),i._uU(2),i.qZA(),i.TgZ(3,"button",9),i.TgZ(4,"mat-icon"),i._uU(5," file_copy "),i.qZA(),i.qZA(),i.TgZ(6,"button",10),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().removeKey(a,!0)}),i.TgZ(7,"mat-icon"),i._uU(8," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.Q6J("cdkCopyToClipboard",e)}}let KH=(()=>{class n{constructor(e,t,s,a){this.store=e,this.attributesManagerService=t,this.dialog=s,this.translateService=a,this.adminKeys=[],this.userKeys=[],this.userUrn="urn:perun:user:attribute-def:def:sshPublicKey",this.adminUrn="urn:perun:user:attribute-def:def:sshPublicAdminKey",this.selection=new Gn(!1,[]),this.selectionAdmin=new Gn(!1,[]),a.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(r=>this.removeDialogDescription=r),a.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("ALERTS.NO_ALT_PASSWORDS").subscribe(r=>this.alertText=r),a.get("SSH_KEYS.HEADER_COLUMN").subscribe(r=>this.headerColumnText=r)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.translateService.onLangChange.subscribe(()=>{this.translateService.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(e=>this.removeDialogDescription=e),this.translateService.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translateService.get("ALERTS.NO_ALT_PASSWORDS").subscribe(e=>this.alertText=e),this.translateService.get("SSH_KEYS.HEADER_COLUMN").subscribe(e=>this.headerColumnText=e)}),this.loading=!0,this.getUserSSH(),this.getAdminSSH()}addKey(e){const t=Ri();t.width="850px",t.data={attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(Ha,t).afterClosed().subscribe(a=>{a&&(e?this.getAdminSSH():this.getUserSSH())})}removeKey(e,t){const s=Ri();s.width="600px",s.data={values:[e],attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,s).afterClosed().subscribe(r=>{r&&(this.loading=!0,t?(this.getAdminSSH(),this.selectionAdmin.clear()):(this.getUserSSH(),this.selection.clear()))})}getUserSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.userUrn).subscribe(e=>{this.userKeyAttribute=e,this.userKeys=e.value,this.loading=!1})}getAdminSSH(){this.attributesManagerService.getUserAttributeByName(this.userId,this.adminUrn).subscribe(e=>{this.adminKeyAttribute=e,this.adminKeys=e.value,this.loading=!1})}showWholeKey(e){const t=Ri();t.width="600px",t.data={value:e},this.dialog.open(VH,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ti),i.Y36(si),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-ssh-keys"]],decls:28,vars:32,consts:[[1,"page-title"],["mat-flat-button","","color","accent",1,"action-button",3,"click"],["class","dark-hover-list-item","matRipple","","style","width: auto",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item",2,"width","auto"],[1,"truncate","center-content","cursor-pointer",3,"click"],["color","accent","mat-icon-button","",1,"ml-auto","center-content",3,"cdkCopyToClipboard","matTooltip"],["color","warn","mat-icon-button","",1,"ml-2","center-content",3,"matTooltip","click"],[1,"truncate","center-content",3,"click"],["mat-icon-button","","color","accent",1,"ml-auto","center-content",3,"cdkCopyToClipboard"],["mat-icon-button","","color","warn",1,"ml-2","center-content",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"p"),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"button",1),i.NdJ("click",function(){return t.addKey(!1)}),i._uU(9),i.ALo(10,"translate"),i.ALo(11,"customTranslate"),i.qZA(),i.TgZ(12,"mat-list"),i.YNc(13,GH,13,12,"mat-list-item",2),i.qZA(),i.TgZ(14,"h1",3),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"p"),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.TgZ(22,"button",1),i.NdJ("click",function(){return t.addKey(!0)}),i._uU(23),i.ALo(24,"translate"),i.ALo(25,"customTranslate"),i.qZA(),i.TgZ(26,"mat-list"),i.YNc(27,WH,9,2,"mat-list-item",2),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,8,i.lcZ(3,10,"SSH_KEYS.SSH_KEYS_TITLE"))),i.xp6(4),i.Oqu(i.lcZ(6,12,i.lcZ(7,14,"SSH_KEYS.SSH_KEYS_DESCRIPTION"))),i.xp6(4),i.hij(" ",i.lcZ(10,16,i.lcZ(11,18,"SSH_KEYS.NEW_KEY")),"\n"),i.xp6(4),i.Q6J("ngForOf",t.userKeys),i.xp6(2),i.Oqu(i.lcZ(16,20,i.lcZ(17,22,"SSH_KEYS.ADMIN_SSH_KEYS_TITLE"))),i.xp6(4),i.Oqu(i.lcZ(20,24,i.lcZ(21,26,"SSH_KEYS.ADMIN_SSH_KEYS_DESCRIPTION"))),i.xp6(4),i.hij(" ",i.lcZ(24,28,i.lcZ(25,30,"SSH_KEYS.NEW_KEY")),"\n"),i.xp6(4),i.Q6J("ngForOf",t.adminKeys))},directives:[Yt,Jv,b.sg,Hy,Ns,qv,vs,xn],pipes:[dt,Ci],styles:[".truncate[_ngcontent-%COMP%]{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap}.center-content[_ngcontent-%COMP%]{margin-bottom:auto;margin-top:auto}label[_ngcontent-%COMP%]:hover, .cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})(),ZH=(()=>{class n{transform(e){return"virt"===e.namespace.split(":")[4]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"isVirtualAttribute",type:n,pure:!0}),n})();function $H(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(s){i.CHM(e);const a=i.oxw();return s?a.masterToggle():null}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(1),i.Q6J("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())("aria-label",e.checkboxLabel())}}function XH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"mat-checkbox",20),i.NdJ("click",function(s){return s.stopPropagation()})("change",function(s){const r=i.CHM(e).$implicit,c=i.oxw();return s?c.selection.toggle(r):null}),i.ALo(2,"multiWordDataCy"),i.ALo(3,"isVirtualAttribute"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q2q("data-cy","",i.lcZ(2,4,e.displayName),"-checkbox"),i.Q6J("checked",t.selection.isSelected(e))("disabled",i.lcZ(3,6,e)||!e.writable)("aria-label",t.checkboxLabel(e))}}function QH(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function JH(n,o){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.id)}}function eB(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function tB(n,o){if(1&n&&(i.TgZ(0,"td",23),i.TgZ(1,"div",24),i._uU(2),i.qZA(),i.qZA()),2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",t.getAttributeFullName(e)),i.xp6(1),i.hij(" ",e.displayName," ")}}function iB(n,o){1&n&&(i.TgZ(0,"th",25),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function nB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",23),i.TgZ(1,"perun-web-apps-attribute-value",26),i.NdJ("sendEventToParent2",function(){const a=i.CHM(e).$implicit;return i.oxw().onValueChange(a)}),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("attribute",e)("readonly",t.readonly||!e.writable)}}function sB(n,o){1&n&&(i.TgZ(0,"th",21),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function oB(n,o){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.description)}}function rB(n,o){1&n&&i._UZ(0,"tr",27)}function aB(n,o){if(1&n&&(i._UZ(0,"tr",28),i.ALo(1,"translate")),2&n){const e=o.$implicit,t=i.oxw();i.s9C("matTooltip",i.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),i.Q6J("matTooltipPosition","before")("matTooltipDisabled",e.writable||t.readonly)}}function cB(n,o){1&n&&(i.TgZ(0,"app-alert",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function lB(n,o){if(1&n&&(i.TgZ(0,"app-alert",29),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",i.lcZ(2,1,e.emptyListText),"\n")}}let uB=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.attributes=[],this.selection=new Gn(!0,[]),this.displayedColumns=["select","id","displayName","value","description"],this.inDialog=!1,this.filterValue="",this.readonly=!1,this.hiddenColumns=[],this.emptyListText="SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.EMPTY_SETTINGS",this.pageSizeOptions=Q0}set matSort(e){this.sort=e,this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new $c(function qD(n){return n.filter(o=>!o.namespace.includes("def:core"))}(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}getDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"displayName":return e.displayName;case"description":return e.description;case"value":return JSON.stringify(e.value);case"urn":return e.namespace+":"+e.baseFriendlyName;default:return""}}exportData(e){e1(J0(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumn,this),e)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(e=>!this.hiddenColumns.includes(e)),this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Ay(e,t,this.displayedColumns.concat("urn"),this.getDataForColumn,this),this.dataSource.sortData=(e,t)=>yy(e,t,this.getDataForColumn,this),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}isAllSelected(){return this.tableCheckbox.isAllSelectedWithDisabledCheckbox(this.selection.selected.length,this.filterValue,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.child.paginator.pageIndex,this.dataSource,this.sort,this.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,this.canBeSelected)}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const e of this.items.toArray())"java.util.LinkedHashMap"===e.attribute.type&&e.updateMapAttribute()}onValueChange(e){this.canBeSelected(e)&&this.selection.select(e)}canBeSelected(e){return!Vd(e)&&e.writable}getAttributeFullName(e){return`${e.namespace}:${e.friendlyName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Va),i.Y36(kS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Na,7),i.Gf(La,7),i.Gf(cT,5)),2&e){let s;i.iGM(s=i.CRH())&&(t.matSort=s.first),i.iGM(s=i.CRH())&&(t.child=s.first),i.iGM(s=i.CRH())&&(t.items=s)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[i.TTD],decls:22,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["mat-header-cell","","class","align-checkbox",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size align-checkbox",4,"matCellDef"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","class","static-column-size",4,"matCellDef"],["matColumnDef","displayName"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","disabled","aria-label","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"static-column-size"],["mat-cell",""],["matTooltipClass","urn-tooltip",3,"matTooltip"],["mat-header-cell",""],[3,"attribute","readonly","sendEventToParent2"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],["alert_type","warn"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"perun-web-apps-table-wrapper",1),i.NdJ("exportData",function(a){return t.exportData(a)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,$H,2,3,"th",4),i.YNc(5,XH,4,8,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,QH,3,3,"th",7),i.YNc(8,JH,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,eB,3,3,"th",7),i.YNc(11,tB,3,2,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,iB,3,3,"th",12),i.YNc(14,nB,2,2,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,sB,3,3,"th",7),i.YNc(17,oB,2,1,"td",10),i.BQk(),i.YNc(18,rB,1,0,"tr",14),i.YNc(19,aB,2,5,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,cB,3,3,"app-alert",16),i.YNc(21,lB,3,3,"app-alert",16)),2&e&&(i.Q6J("hidden",0===t.dataSource.filteredData.length),i.xp6(1),i.Q6J("tableId",t.tableId)("dataLength",t.dataSource.filteredData.length)("pageSizeOptions",t.pageSizeOptions),i.xp6(1),i.Q6J("dataSource",t.dataSource),i.xp6(16),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.filteredData.length&&0!==t.dataSource.data.length),i.xp6(1),i.Q6J("ngIf",0===t.dataSource.data.length))},directives:[La,Ra,Na,Br,Hr,Fr,au,Nr,qr,Uy,vs,cT,Oa,za,Pa,Ia,b.O5,Jn],pipes:[tT,ZH,dt],styles:["table[_ngcontent-%COMP%]{width:100%!important}.mat-row[_ngcontent-%COMP%]{height:auto}.mat-cell[_ngcontent-%COMP%]{padding:8px 8px 8px 0}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:50px!important}.mat-column-id[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:60px!important}.mat-column-value[_ngcontent-%COMP%]{flex:0 0 25%!important;min-width:300px!important}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:.25rem!important} .urn-tooltip{max-width:800px!important}"]}),n})();function dB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function hB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function fB(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=i.oxw(3);i.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function pB(n,o){if(1&n&&(i.YNc(0,hB,1,0,"mat-spinner",3),i.YNc(1,fB,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=i.oxw(2);i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function gB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function mB(n,o){if(1&n&&i._UZ(0,"perun-web-apps-attributes-list",10),2&n){const e=i.oxw(4);i.Q6J("attributes",e.attributes)("readonly",!0)("hiddenColumns",e.hiddenColumns)}}function _B(n,o){if(1&n&&(i.YNc(0,gB,1,0,"mat-spinner",3),i.YNc(1,mB,1,3,"perun-web-apps-attributes-list",9)),2&n){const e=i.oxw(3);i.Q6J("ngIf",e.innerLoading),i.xp6(1),i.Q6J("ngIf",!e.innerLoading)}}function bB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",6),i.NdJ("opened",function(){const a=i.CHM(e).$implicit;return i.oxw(2).getMemberData(a)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA(),i.YNc(6,_B,2,2,"ng-template",7),i.qZA()}if(2&n){const e=o.$implicit;i.xp6(3),i.AsE(" ",i.lcZ(4,2,i.lcZ(5,4,"PRIVACY.DATA")),"",e.name," ")}}function yB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-accordion"),i.TgZ(1,"mat-expansion-panel",6),i.NdJ("opened",function(){return i.CHM(e),i.oxw().getUserData()}),i.TgZ(2,"mat-expansion-panel-header"),i.TgZ(3,"mat-panel-title"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA(),i.YNc(7,pB,2,2,"ng-template",7),i.qZA(),i.YNc(8,bB,7,6,"mat-expansion-panel",8),i.qZA()}if(2&n){const e=i.oxw();i.xp6(4),i.hij(" ",i.lcZ(5,2,i.lcZ(6,4,"PRIVACY.USER_INFO"))," "),i.xp6(4),i.Q6J("ngForOf",e.filteredVos)}}let AB=(()=>{class n{constructor(e,t,s,a){this.usersManagerService=e,this.membersService=t,this.attributesManagerService=s,this.storage=a,this.vos=[],this.attributes=[],this.username="",this.hiddenColumns=["select","id"],this.filteredVos=[]}ngOnInit(){this.outerLoading=!0,this.userId=this.storage.getPerunPrincipal().userId,this.usersManagerService.getVosWhereUserIsMember(this.userId).subscribe(e=>{this.vos=e,this.filteredVos=e,this.outerLoading=!1})}getUserData(){this.innerLoading=!0,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(e=>{this.user=e,this.attributes=e.userAttributes,this.username=(new wy).transform(e),this.innerLoading=!1})}getMemberData(e){this.innerLoading=!0,this.membersService.getMemberByUser(e.id,this.userId).subscribe(t=>{this.membersService.getRichMemberWithAttributes(t.id).subscribe(s=>{this.attributes=s.memberAttributes,this.innerLoading=!1})})}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Tt),i.Y36(Be),i.Y36(si),i.Y36(ti))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-privacy-page"]],decls:10,vars:12,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened"],["matExpansionPanelContent",""],[3,"opened",4,"ngFor","ngForOf"],[3,"attributes","readonly","hiddenColumns",4,"ngIf"],[3,"attributes","readonly","hiddenColumns"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.TgZ(4,"div",1),i.TgZ(5,"perun-web-apps-immediate-filter",2),i.NdJ("filter",function(a){return t.applyFilter(a)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,dB,1,0,"mat-spinner",3),i.YNc(9,yB,9,6,"mat-accordion",4),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,4,i.lcZ(3,6,"PRIVACY.TITLE"))),i.xp6(4),i.Q6J("placeholder",i.lcZ(6,8,i.lcZ(7,10,"SERVICES.FILTER"))),i.xp6(3),i.Q6J("ngIf",t.outerLoading),i.xp6(1),i.Q6J("ngIf",!t.outerLoading))},directives:[l1,b.O5,fs,Gy,d1,h1,Vy,u1,uB,b.sg],pipes:[dt,Ci],styles:[""]}),n})(),wB=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-home-page"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Go],styles:[""]}),n})(),dT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Jf,b.ez]]}),n})(),SB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),PB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[SB,gt],gt]}),n})(),UB=(()=>{class n{constructor(){this.changes=new De.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const WB={provide:new i.OlP("mat-datepicker-scroll-strategy"),deps:[$i],useFactory:function GB(n){return()=>n.scrollStrategies.reposition()}};let QB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[UB,WB],imports:[[b.ez,Lr,Ll,yw,Rh,gt],Cn]}),n})(),tF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,su,Lr,eT,Jf,xv,U0]]}),n})(),iF=(()=>{class n extends P_{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let o;return function(t){return(o||(o=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const nF={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Ok=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Do,useClass:iF},{provide:hf,useValue:nF}],imports:[[b.ez,eT,FS,ny,kP,_P,vf,Sh,fk,C,xv,dT,Jf,Tv,Lr,U0,xo,su,kv,io,xS,qS,PB,QB,KS,Td,q0,tF,kl,oM,vS]]}),n})();function sF(n,o){1&n&&(i.TgZ(0,"app-alert"),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function oF(n,o){1&n&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function rF(n,o){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.friendlyNameParameter)}}function aF(n,o){1&n&&(i.TgZ(0,"th",16),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function cF(n,o){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Oqu(e.value)}}function lF(n,o){1&n&&i._UZ(0,"th",16)}function uF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",20),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().resetPassword(a.friendlyNameParameter)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("disabled",!t.logins.includes(e)),i.xp6(1),i.hij(" ",i.lcZ(3,2,i.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function dF(n,o){1&n&&i._UZ(0,"th",16)}function hF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",21),i.NdJ("click",function(){const a=i.CHM(e).$implicit;return i.oxw().changePassword(a)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=i.oxw();i.xp6(1),i.Q6J("disabled",!t.logins.includes(e)),i.xp6(1),i.hij(" ",i.lcZ(3,2,i.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function fF(n,o){1&n&&i._UZ(0,"tr",22)}function pF(n,o){1&n&&i._UZ(0,"tr",23)}let gF=(()=>{class n{constructor(e,t,s,a,r,c){this.attributesManagerService=e,this.store=t,this.dialog=s,this.route=a,this.router=r,this.otherApplicationService=c,this.nameSpaces=[],this.logins=[],this.displayedColumns=["namespace","value","reset","change"]}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.nameSpaces=this.store.get("password_namespace_attributes"),this.attributesManagerService.getLogins(this.userId).subscribe(e=>{const t=this.nameSpaces.map(r=>{const c=r.split(":");return c[c.length-1]});this.logins=e.filter(r=>t.includes(r.friendlyNameParameter)),this.dataSource=new $c(e);const a=this.route.snapshot.queryParamMap.get("namespace");if(a){const r=this.logins.find(c=>c.friendlyNameParameter===a);r&&this.changePassword(r)}})}resetPassword(e){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",e),"_blank")}changePassword(e){this.router.navigate([],{queryParams:{namespace:e.friendlyNameParameter},queryParamsHandling:"merge"});const t=Ri();t.width="600px",t.data={login:e.value,namespace:e.friendlyName.split(":")[1]},this.dialog.open(Vx,t).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(si),i.Y36(ti),i.Y36(Ii),i.Y36(Xn),i.Y36(ji),i.Y36(DS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-reset"]],decls:23,vars:9,consts:[[1,"page-subtitle"],[4,"ngIf"],[1,"card","mt-2","table-size-fix"],[1,"card-body"],[1,"overflow-auto"],["mat-table","","matSort","","matSortActive","value","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["class","w-25","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","w-50","mat-cell","",4,"matCellDef"],["matColumnDef","reset"],["mat-cell","",4,"matCellDef"],["matColumnDef","change"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"w-25"],["mat-cell","",1,"w-50"],["mat-cell",""],["color","accent","mat-flat-button","",3,"disabled","click"],["color","accent","mat-flat-button","",1,"action-button",3,"disabled","click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item"]],template:function(e,t){1&e&&(i.TgZ(0,"h1",0),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA(),i.YNc(4,sF,4,5,"app-alert",1),i.TgZ(5,"div",2),i.TgZ(6,"div",3),i.TgZ(7,"div",4),i.TgZ(8,"table",5),i.ynx(9,6),i.YNc(10,oF,4,5,"th",7),i.YNc(11,rF,2,1,"td",8),i.BQk(),i.ynx(12,9),i.YNc(13,aF,4,5,"th",7),i.YNc(14,cF,2,1,"td",10),i.BQk(),i.ynx(15,11),i.YNc(16,lF,1,0,"th",7),i.YNc(17,uF,5,6,"td",12),i.BQk(),i.ynx(18,13),i.YNc(19,dF,1,0,"th",7),i.YNc(20,hF,5,6,"td",12),i.BQk(),i.YNc(21,fF,1,0,"tr",14),i.YNc(22,pF,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,5,i.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),i.xp6(3),i.Q6J("ngIf",!t.logins.length),i.xp6(4),i.Q6J("dataSource",t.dataSource),i.xp6(13),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns))},directives:[b.O5,Jn,Ra,Na,Br,Hr,Fr,Nr,qr,Yt,Oa,za,Pa,Ia],pipes:[dt,Ci],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),n})();function RF(n,o){1&n&&(i.TgZ(0,"app-alert",11),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.INFO"))))}function OF(n,o){1&n&&(i.TgZ(0,"app-alert",12),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.IMG_TOO_LONG"))))}function PF(n,o){if(1&n&&(i.TgZ(0,"div",13),i._UZ(1,"img",14),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("src",e.newImage,i.LSH)}}function zF(n,o){1&n&&(i.TgZ(0,"app-alert",11),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()),2&n&&(i.xp6(1),i.Oqu(i.lcZ(2,1,i.lcZ(3,3,"DIALOGS.ADD_AUTH_IMG.DELAY_INFO"))))}let IF=(()=>{class n{constructor(e,t,s,a){this.dialogRef=e,this.data=t,this.attributesManagerService=s,this.store=a,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(e){const t=e.dataTransfer?e.dataTransfer.files[0]:e.target.files[0],a=new FileReader;t.type.match(/image-*/)?(a.onload=this._handleReaderLoaded.bind(this),a.readAsDataURL(t)):alert("invalid format")}_handleReaderLoaded(e){const t=e.target;this.imgTooLong=t.result.length>=5120,this.newImage=t.result}onAdd(){this.attribute.value=this.newImage,this.attributesManagerService.setUserAttribute({attribute:this.attribute,user:this.store.getPerunPrincipal().userId}).subscribe(()=>{this.dialogRef.close(!0)})}onCancel(){this.dialogRef.close(!1)}generateImg(){const c=100;function g(oe,be,ve,Le){Le.beginPath(),Le.rect(20*oe,20*be,20,20),Le.fillStyle="rgb("+ve.join(",")+")",Le.fill()}this.newImage=function $(){const oe=function h(){const oe=document.createElement("canvas");oe.width=c,oe.height=c;const be=oe.getContext("2d");return be.beginPath(),be.rect(0,0,c,c),be.fillStyle="#FFFFFF",be.fill(),oe}(),be=oe.getContext("2d"),ve=function O(){const oe=[];for(let be=0;be<3;be++){const ve=Math.floor(256*Math.random()),Le=Math.max(120,ve),et=Math.min(200,Le);oe.push(et)}return oe}();for(let Le=0;Le{class n{constructor(e,t,s,a){this.dialog=e,this.attributesManagerService=t,this.store=s,this.translate=a,this.imageSrc="",this.mfaUrl="",a.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(r=>this.removeDialogTitle=r),a.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(r=>this.removeDialogDescription=r)}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(e=>this.removeDialogTitle=e),this.translate.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(e=>this.removeDialogDescription=e),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang)}),this.mfaUrl=this.store.get("mfa","url_"+this.translate.currentLang),this.loadImage()}onAddImg(){const e=Ri();e.width="500px",e.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(IF,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}onDeleteImg(){const e=Ri();e.width="600px",e.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(Ky,e).afterClosed().subscribe(s=>{s&&this.loadImage()})}loadImage(){const e=this.store.get("mfa","security_image_attribute");this.displayImageBlock=this.store.get("mfa","enable_security_image"),this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?(this.imgAtt=t,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(s=>{this.imgAtt=s})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ii),i.Y36(si),i.Y36(ti),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-authentication"]],decls:10,vars:11,consts:[["class","mb-5",4,"ngIf"],[1,"page-subtitle"],[3,"href"],[1,"mb-5"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"m-1","action-button",3,"click"],["color","warn","mat-flat-button","",1,"m-1",3,"disabled","click"],["alt","",1,"img-size",3,"src"]],template:function(e,t){1&e&&(i.YNc(0,HF,18,22,"div",0),i.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"span"),i._uU(6),i.ALo(7,"translate"),i.TgZ(8,"a",2),i._uU(9),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngIf",t.displayImageBlock),i.xp6(2),i.Oqu(i.lcZ(3,5,i.lcZ(4,7,"AUTHENTICATION.MFA"))),i.xp6(4),i.Oqu(i.lcZ(7,9,"AUTHENTICATION.MFA_INFO")),i.xp6(2),i.Q6J("href",t.mfaUrl,i.LSH),i.xp6(1),i.Oqu(t.mfaUrl))},directives:[b.O5,Yt],pipes:[dt,Ci],styles:[".img-size[_ngcontent-%COMP%]{width:100px;height:100px}"]}),n})(),FF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[b.ez,Lr,Jf,Sh,Ok,vf,xo,su,kv,dT]]}),n})();function jF(n,o){1&n&&(i.TgZ(0,"app-alert",8),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const YF=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:(()=>{class n{constructor(e){this.auth=e}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Dr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen"]],decls:11,vars:6,consts:[[1,"container","login-con"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],[1,"mb-3"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h4",3),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"button",4),i.NdJ("click",function(){return t.startAuth()}),i._uU(7),i.ALo(8,"translate"),i.TgZ(9,"mat-icon"),i._uU(10," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[Yt,xn],pipes:[dt],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})()},{path:"service-access",component:(()=>{class n{constructor(e,t,s){this.authzService=e,this.dialog=t,this.translate=s,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new us(null,[kn.required]),this.passwordCtrl=new us(null,[kn.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(e=>{sessionStorage.setItem("baPrincipal",JSON.stringify(e)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ki),i.Y36(Ii),i.Y36(Ai))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-service-access"]],decls:28,vars:23,consts:[[1,"container","login-con","vo-theme","top-padding"],[1,"row"],[1,"ml-auto","mr-auto","d-flex","flex-column","align-items-center"],["alert_type","error",4,"ngIf"],["appearance","outline"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"formControl","type"],["mat-raised-button","",1,"black",3,"disabled","click"],["alert_type","error"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"h2"),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,jF,3,3,"app-alert",3),i.TgZ(7,"mat-form-field",4),i.TgZ(8,"mat-label"),i._uU(9),i.ALo(10,"translate"),i.qZA(),i._UZ(11,"input",5),i.TgZ(12,"mat-error"),i._uU(13),i.ALo(14,"translate"),i.qZA(),i.qZA(),i.TgZ(15,"mat-form-field",4),i.TgZ(16,"mat-label"),i._uU(17),i.ALo(18,"translate"),i.qZA(),i._UZ(19,"input",6),i.TgZ(20,"mat-error"),i._uU(21),i.ALo(22,"translate"),i.qZA(),i.qZA(),i.TgZ(23,"button",7),i.NdJ("click",function(){return t.startAuth()}),i._uU(24),i.ALo(25,"translate"),i.TgZ(26,"mat-icon"),i._uU(27," login "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.Oqu(i.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),i.xp6(2),i.Q6J("ngIf",t.wrongUsernameOrPassword),i.xp6(3),i.Oqu(i.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),i.xp6(2),i.Q6J("formControl",t.usernameCtrl),i.xp6(2),i.hij(" ",i.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),i.xp6(4),i.Oqu(i.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),i.xp6(2),i.Q6J("formControl",t.passwordCtrl)("type","password"),i.xp6(2),i.hij(" ",i.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),i.xp6(2),i.Q6J("disabled",t.usernameCtrl.invalid||t.passwordCtrl.invalid),i.xp6(1),i.hij(" ",i.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[b.O5,Jn,un,no,qn,bn,Ms,dn,so,Zl,Yt,xn],pipes:[dt],styles:[".top-padding[_ngcontent-%COMP%]{padding:120px 0}mat-form-field.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:250px}.black[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]}),n})()},{path:"profile",component:wB,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:nz,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:zz,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:bI,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:C3,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:I3,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:AB,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"settings",component:N3,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:nN,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:tN,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:BF,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:gH,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"mailingLists",component:MH,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:PH,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:BH,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:YH,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:KH,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:gF,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let UF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Sh.forRoot(YF,{preloadingStrategy:re,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),n})();class VF{constructor(o,e="/assets/i18n/",t=".json"){this.http=o,this.prefix=e,this.suffix=t}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}let GF=(()=>{class n{constructor(e,t,s,a,r){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=a,this.utilsService=r}initializeColors(e,t){return new Promise(s=>{t.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r)}),e.forEach(a=>{const r=this.storeService.get("theme",a.configValue);document.documentElement.style.setProperty(a.cssVariable,r),this.setEntityTheme(a.entity,r)}),s()})}setEntityTheme(e,t){const s=function WF(n){return[oo(tinycolor(n).lighten(52),"50"),oo(tinycolor(n).lighten(37),"100"),oo(tinycolor(n).lighten(26),"200"),oo(tinycolor(n).lighten(12),"300"),oo(tinycolor(n).lighten(6),"400"),oo(tinycolor(n),"500"),oo(tinycolor(n).darken(6),"600"),oo(tinycolor(n).darken(12),"700"),oo(tinycolor(n).darken(18),"800"),oo(tinycolor(n).darken(24),"900"),oo(tinycolor(n).lighten(50).saturate(30),"A100"),oo(tinycolor(n).lighten(30).saturate(30),"A200"),oo(tinycolor(n).lighten(10).saturate(15),"A400"),oo(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const a of s){const d=`--${e}-theme-primary-contrast-${a.name}`,h=a.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${a.name}`,`${a.red},${a.green},${a.blue}`),document.documentElement.style.setProperty(d,h)}}loadAppDefaultConfig(){return new Promise(e=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setDefaultConfig(t),e()})})}loadAppInstanceConfig(){return new Promise(e=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(t=>{this.storeService.setInstanceConfig(t);const s=document.location.hostname;void 0!==t.brandings&&void 0!==t.brandings[s]&&this.storeService.setBanding(s),e()},()=>{console.log("instance config not detected"),e()})})}getNoCacheHeaders(){return new D.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(e=>{const t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(t),e()})}setApiUrl(){return new Promise(e=>{let t=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(t=t.replace("oauth","ba")),this.authzSevice.configuration.basePath=t,this.titleService.setTitle(this.storeService.get("document_title")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(D.eN),i.LFG(ti),i.LFG(Ki),i.LFG(nt),i.LFG(js))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function oo(n,o){const e=tinycolor(n),t=e.toRgb();return{name:o,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let KF=(()=>{class n{constructor(e,t,s){this.initAuthService=e,this.appConfigService=t,this.location=s,this.entityColorConfigs=[{entity:"user",configValue:"user_color",cssVariable:"--user-color"}],this.colorConfigs=[{configValue:"sidemenu_bg_color",cssVariable:"--side-bg"},{configValue:"sidemenu_hover_color",cssVariable:"--side-hover"},{configValue:"sidemenu-link-active",cssVariable:"--side-active"},{configValue:"sidemenu_active_text_color",cssVariable:"--side-text-active"}]}initialize(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.appConfigService.initializeColors(this.entityColorConfigs,this.colorConfigs)).then(()=>this.appConfigService.setInstanceFavicon()).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.loadPrincipal().then(()=>this.appConfigService.loadAppsConfig()):this.initAuthService.handleAuthStart())}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Cv),i.LFG(GF),i.LFG(b.Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yv]]}),n})(),_q=(()=>{class n{constructor(e,t){(0,b.PM)(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,t=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:jr,useValue:Object.assign(Object.assign({},Uv),e)},{provide:Vv,useValue:t,multi:!0},{provide:np,useValue:!0}]:[{provide:jr,useValue:Object.assign(Object.assign({},Uv),e)},{provide:Vv,useValue:t,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(np),i.LFG(i.Lbi))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Dk,_E,jk],Dk,_E,jk]}),n})(),bq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[gt],gt]}),n})();const yq=new i.OlP("perun-api-service");let Yk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Oq=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yk,io,gt,Rl],Yk,gt]}),n})();const Pq={provide:D.TP,useExisting:(0,i.Gpc)(()=>SS),multi:!0};function zq(n){return new VF(n,"./assets/i18n/",".json")}function Iq(n){const o={basePath:n.get("api_url")};return new Qe(o)}const Nq=n=>()=>n.initialize();let Hq=(()=>{class n{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(CS),i.LFG(Ai))},n.\u0275mod=i.oAB({type:n,bootstrap:[OO]}),n.\u0275inj=i.cJS({providers:[CS,{provide:i.ip1,useFactory:Nq,multi:!0,deps:[KF]},{provide:Qe,useFactory:Iq,deps:[ti]},wy,SS,Pq,{provide:yq,useClass:n2}],imports:[[le,S_,D.JF,vf.forRoot({loader:{provide:Ed,useFactory:zq,deps:[D.eN]}}),UF,Jf,PR,$R,Sh,Lr,_q,ML,Ok,dT,II,xo,q0,oM,FS,kv,su,eT,C,xv,fk,bq,qS,xS,Zz,io,U0,Oq,KS,ny,FF,vS,Tv,Wg.zr.forRoot()]]}),n})();(0,i.G48)(),Fs().bootstrapModule(Hq).catch(n=>console.error(n))},1302:function(q,Y,w){var b;!function(i,T){var M={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function M(Q,ae,ee,ce,he){for(var ze,He,Ze,bt,St,$e,Wi,wt,mt,de,ge,Ae,_e;he>=64;){for(ze=ae[0],He=ae[1],Ze=ae[2],bt=ae[3],St=ae[4],$e=ae[5],Wi=ae[6],wt=ae[7],de=0;de<16;de++)Q[de]=(255&ee[ge=ce+4*de])<<24|(255&ee[ge+1])<<16|(255&ee[ge+2])<<8|255&ee[ge+3];for(de=16;de<64;de++)Q[de]=((Ae=((mt=Q[de-2])>>>17|mt<<15)^(mt>>>19|mt<<13)^mt>>>10)+Q[de-7]|0)+((_e=((mt=Q[de-15])>>>7|mt<<25)^(mt>>>18|mt<<14)^mt>>>3)+Q[de-16]|0);for(de=0;de<64;de++)Ae=(((St>>>6|St<<26)^(St>>>11|St<<21)^(St>>>25|St<<7))+(St&$e^~St&Wi)|0)+(wt+(T[de]+Q[de]|0)|0)|0,_e=((ze>>>2|ze<<30)^(ze>>>13|ze<<19)^(ze>>>22|ze<<10))+(ze&He^ze&Ze^He&Ze)|0,wt=Wi,Wi=$e,$e=St,St=bt+Ae|0,bt=Ze,Ze=He,He=ze,ze=Ae+_e|0;ae[0]+=ze,ae[1]+=He,ae[2]+=Ze,ae[3]+=bt,ae[4]+=St,ae[5]+=$e,ae[6]+=Wi,ae[7]+=wt,ce+=64,he-=64}return ce}var v=function(){function Q(){this.digestLength=i.digestLength,this.blockSize=i.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return Q.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},Q.prototype.clean=function(){for(var ae=0;ae0){for(;this.bufferLength<64&&ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;64===this.bufferLength&&(M(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ee>=64&&(ce=M(this.temp,this.state,ae,ce,ee),ee%=64);ee>0;)this.buffer[this.bufferLength++]=ae[ce++],ee--;return this},Q.prototype.finish=function(ae){if(!this.finished){var ee=this.bytesHashed,ce=this.bufferLength,he=ee/536870912|0,ze=ee<<3,He=ee%64<56?64:128;this.buffer[ce]=128;for(var Ze=ce+1;Ze>>24&255,this.buffer[He-7]=he>>>16&255,this.buffer[He-6]=he>>>8&255,this.buffer[He-5]=he>>>0&255,this.buffer[He-4]=ze>>>24&255,this.buffer[He-3]=ze>>>16&255,this.buffer[He-2]=ze>>>8&255,this.buffer[He-1]=ze>>>0&255,M(this.temp,this.state,this.buffer,0,He),this.finished=!0}for(Ze=0;Ze<8;Ze++)ae[4*Ze+0]=this.state[Ze]>>>24&255,ae[4*Ze+1]=this.state[Ze]>>>16&255,ae[4*Ze+2]=this.state[Ze]>>>8&255,ae[4*Ze+3]=this.state[Ze]>>>0&255;return this},Q.prototype.digest=function(){var ae=new Uint8Array(this.digestLength);return this.finish(ae),ae},Q.prototype._saveState=function(ae){for(var ee=0;eethis.blockSize)(new v).update(ae).finish(ee).clean();else for(var ce=0;ce1&&ae.update(Q),ee&&ae.update(ee),ae.update(ce),ae.finish(Q),ce[0]++}i.HMAC=k,i.hash=L,i.default=L,i.hmac=I;var F=new Uint8Array(i.digestLength);i.hkdf=function U(Q,ae,ee,ce){void 0===ae&&(ae=F),void 0===ce&&(ce=32);for(var he=new Uint8Array([1]),ze=I(ae,Q),He=new k(ze),Ze=new Uint8Array(He.digestLength),bt=Ze.length,St=new Uint8Array(ce),$e=0;$e>>24&255,He[1]=Wi>>>16&255,He[2]=Wi>>>8&255,He[3]=Wi>>>0&255,he.reset(),he.update(ae),he.update(He),he.finish(bt);for(var wt=0;wt=U.status}function k(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(X){var U=document.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(U)}}var L="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,I=L.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=L.saveAs||("object"!=typeof window||window!==L?function(){}:"download"in HTMLAnchorElement.prototype&&!I?function(F,U,X){var Q=L.URL||L.webkitURL,ae=document.createElement("a");ae.download=U=U||F.name||"download",ae.rel="noopener","string"==typeof F?(ae.href=F,ae.origin===location.origin?k(ae):v(ae.href)?M(F,U,X):k(ae,ae.target="_blank")):(ae.href=Q.createObjectURL(F),setTimeout(function(){Q.revokeObjectURL(ae.href)},4e4),setTimeout(function(){k(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(F,U,X){if(U=U||F.name||"download","string"!=typeof F)navigator.msSaveOrOpenBlob(function T(F,U){return void 0===U?U={autoBom:!1}:"object"!=typeof U&&(console.warn("Deprecated: Expected third argument to be a object"),U={autoBom:!U}),U.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob(["\ufeff",F],{type:F.type}):F}(F,X),U);else if(v(F))M(F,U,X);else{var Q=document.createElement("a");Q.href=F,Q.target="_blank",setTimeout(function(){k(Q)})}}:function(F,U,X,Q){if((Q=Q||open("","_blank"))&&(Q.document.title=Q.document.body.innerText="downloading..."),"string"==typeof F)return M(F,U,X);var ae="application/octet-stream"===F.type,ee=/constructor/i.test(L.HTMLElement)||L.safari,ce=/CriOS\/[\d]+/.test(navigator.userAgent);if((ce||ae&&ee||I)&&"undefined"!=typeof FileReader){var he=new FileReader;he.onloadend=function(){var Ze=he.result;Ze=ce?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),Q?Q.location.href=Ze:location=Ze,Q=null},he.readAsDataURL(F)}else{var ze=L.URL||L.webkitURL,He=ze.createObjectURL(F);Q?Q.location=He:location.href=He,Q=null,setTimeout(function(){ze.revokeObjectURL(He)},4e4)}});L.saveAs=B.saveAs=B,q.exports=B}.apply(Y,[]))&&(q.exports=i)},1158:(q,Y,w)=>{(q.exports=w(7867)).tz.load(w(1128))},7867:function(q,Y,w){var b,i,T;!function(M,v){"use strict";q.exports?q.exports=v(w(5439)):(i=[w(5439)],void 0!==(T="function"==typeof(b=v)?b.apply(Y,i):b)&&(q.exports=T))}(0,function(M){"use strict";void 0===M.version&&M.default&&(M=M.default);var U,k={},L={},I={},B={},F={};(!M||"string"!=typeof M.version)&&ui("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var X=M.version.split("."),Q=+X[0],ae=+X[1];function ee(le){return le>96?le-87:le>64?le-29:le-48}function ce(le){var xe=0,pe=le.split("."),Ue=pe[0],Ve=pe[1]||"",nt=1,we=0,te=1;for(45===le.charCodeAt(0)&&(xe=1,te=-1);xe= 2.6.0. You are using Moment.js "+M.version+". See momentjs.com"),bt.prototype={_set:function(le){this.name=le.name,this.abbrs=le.abbrs,this.untils=le.untils,this.offsets=le.offsets,this.population=le.population},_index:function(le){var Ue,xe=+le,pe=this.untils;for(Ue=0;Uewe&&Wt.moveInvalidForward&&(nt=we),xe3){var xe=B[fe(le)];if(xe)return xe;ui("Moment Timezone found "+le+" from the Intl api, but did not have that data loaded.")}}catch(se){}var Jt,we,te,pe=function mt(){var Ue,Ve,nt,le=(new Date).getFullYear()-2,xe=new $e(new Date(le,0,1)),pe=[xe];for(nt=1;nt<48;nt++)(Ve=new $e(new Date(le,nt,1))).offset!==xe.offset&&(Ue=wt(xe,Ve),pe.push(Ue),pe.push(new $e(new Date(Ue.at+6e4)))),xe=Ve;for(nt=0;nt<4;nt++)pe.push(new $e(new Date(le+nt,0,1))),pe.push(new $e(new Date(le+nt,6,1)));return pe}(),Ue=pe.length,Ve=function Ae(le){var Ve,nt,Jt,xe=le.length,pe={},Ue=[];for(Ve=0;Ve0?nt[0].zone.name:void 0}()),U},Wt.names=function wi(){var le,xe=[];for(le in B)B.hasOwnProperty(le)&&(k[le]||k[L[le]])&&B[le]&&xe.push(B[le]);return xe.sort()},Wt.Zone=bt,Wt.unpack=Ze,Wt.unpackBase60=ce,Wt.needsOffset=pn,Wt.moveInvalidForward=!0,Wt.moveAmbiguousForward=!1,Wt.countries=function ot(){return Object.keys(I)},Wt.zonesForCountry=function Xe(le,xe){if(!(le=function gi(le){return le=le.toUpperCase(),I[le]||null}(le)))return null;var pe=le.zones.sort();return xe?pe.map(function(Ue){return{name:Ue,offset:vt(Ue).utcOffset(new Date)}}):pe};var gn=M.fn;function ro(le){return function(){return this._z?this._z.abbr(this):le.call(this)}}function ao(le){return function(){return this._z=null,le.apply(this,arguments)}}M.tz=Wt,M.defaultZone=null,M.updateOffset=function(le,xe){var Ue,pe=M.defaultZone;if(void 0===le._z&&(pe&&pn(le)&&!le._isUTC&&(le._d=M.utc(le._a)._d,le.utc().add(pe.parse(le),"minutes")),le._z=pe),le._z)if(Ue=le._z.utcOffset(le),Math.abs(Ue)<16&&(Ue/=60),void 0!==le.utcOffset){var Ve=le._z;le.utcOffset(-Ue,xe),le._z=Ve}else le.zone(Ue,xe)},gn.tz=function(le,xe){if(le){if("string"!=typeof le)throw new Error("Time zone name must be a string, got "+le+" ["+typeof le+"]");return this._z=vt(le),this._z?M.updateOffset(this,xe):ui("Moment Timezone has no data for "+le+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},gn.zoneName=ro(gn.zoneName),gn.zoneAbbr=ro(gn.zoneAbbr),gn.utc=ao(gn.utc),gn.local=ao(gn.local),gn.utcOffset=function Fs(le){return function(){return arguments.length>0&&(this._z=null),le.apply(this,arguments)}}(gn.utcOffset),M.tz.setDefault=function(le){return(Q<2||2===Q&&ae<9)&&ui("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+M.version+"."),M.defaultZone=le?vt(le):null,M};var Yn=M.momentProperties;return"[object Array]"===Object.prototype.toString.call(Yn)?(Yn.push("_z"),Yn.push("_a")):Yn&&(Yn._z=null),M})},7088:function(q,Y,w){!function(b){"use strict";b.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(T){return/^nm$/i.test(T)},meridiem:function(T,M,v){return T<12?v?"vm":"VM":v?"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(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},2502:function(q,Y,w){!function(b){"use strict";var i=function(L){return 0===L?0:1===L?1:2===L?2:L%100>=3&&L%100<=10?3:L%100>=11?4:5},T={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"]},M=function(L){return function(I,B,F,U){var X=i(I),Q=T[L][i(I)];return 2===X&&(Q=Q[B?0:1]),Q.replace(/%d/i,I)}},v=["\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"];b.defineLocale("ar-dz",{months:v,monthsShort:v,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(L){return"\u0645"===L},meridiem:function(L,I,B){return L<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:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(w(5439))},128:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},4519:function(q,Y,w){!function(b){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},T=function(I){return 0===I?0:1===I?1:2===I?2:I%100>=3&&I%100<=10?3:I%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"]},v=function(I){return function(B,F,U,X){var Q=T(B),ae=M[I][T(B)];return 2===Q&&(ae=ae[F?0:1]),ae.replace(/%d/i,B)}},k=["\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"];b.defineLocale("ar-ly",{months:k,monthsShort:k,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(I){return"\u0645"===I},meridiem:function(I,B,F){return I<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:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(I){return I.replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(B){return i[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},5443:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},7642:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};b.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(v){return"\u0645"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return T[k]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(w(5439))},8592:function(q,Y,w){!function(b){"use strict";b.defineLocale("ar-tn",{months:"\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("_"),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}})}(w(5439))},7038:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},v={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"]},k=function(B){return function(F,U,X,Q){var ae=M(F),ee=v[B][M(F)];return 2===ae&&(ee=ee[U?0:1]),ee.replace(/%d/i,F)}},L=["\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"];b.defineLocale("ar",{months:L,monthsShort:L,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(B){return"\u0645"===B},meridiem:function(B,F,U){return B<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:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return T[F]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(F){return i[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},1213:function(q,Y,w){!function(b){"use strict";var i={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"};b.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\u0259nb\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(M){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(M)},meridiem:function(M,v,k){return M<4?"gec\u0259":M<12?"s\u0259h\u0259r":M<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(M){if(0===M)return M+"-\u0131nc\u0131";var v=M%10;return M+(i[v]||i[M%100-v]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9191:function(q,Y,w){!function(b){"use strict";function T(v,k,L){return"m"===L?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":v+" "+function i(v,k){var L=v.split("_");return k%10==1&&k%100!=11?L[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?L[1]:L[2]}({ss:k?"\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:k?"\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:k?"\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"}[L],+v)}b.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".split("_"),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:T,mm:T,h:T,hh:T,d:"\u0434\u0437\u0435\u043d\u044c",dd:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(v){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(v)},meridiem:function(v,k,L){return v<4?"\u043d\u043e\u0447\u044b":v<12?"\u0440\u0430\u043d\u0456\u0446\u044b":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(v,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return v%10!=2&&v%10!=3||v%100==12||v%100==13?v+"-\u044b":v+"-\u0456";case"D":return v+"-\u0433\u0430";default:return v}},week:{dow:1,doy:7}})}(w(5439))},322:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===M?T+"-\u0432\u0438":2===M?T+"-\u0440\u0438":7===M||8===M?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},8042:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},5903:function(q,Y,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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_\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(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===k?v<4?v:v+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?v:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?v>=3?v:v+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u09b0\u09be\u09a4":v<6?"\u09ad\u09cb\u09b0":v<12?"\u09b8\u0995\u09be\u09b2":v<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<18?"\u09ac\u09bf\u0995\u09be\u09b2":v<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9620:function(q,Y,w){!function(b){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},T={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};b.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_\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(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===k&&v>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&v<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?v+12:v},meridiem:function(v,k,L){return v<4?"\u09b0\u09be\u09a4":v<10?"\u09b8\u0995\u09be\u09b2":v<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(w(5439))},9645:function(q,Y,w){!function(b){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},T={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};b.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_\u0f63\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(v){return v.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k){return 12===v&&(v=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&v>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&v<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?v+12:v},meridiem:function(v,k,L){return v<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":v<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":v<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":v<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(w(5439))},5020:function(q,Y,w){!function(b){"use strict";function i(ee,ce,he){return ee+" "+function v(ee,ce){return 2===ce?function k(ee){var ce={m:"v",b:"v",d:"z"};return void 0===ce[ee.charAt(0)]?ee:ce[ee.charAt(0)]+ee.substring(1)}(ee):ee}({mm:"munutenn",MM:"miz",dd:"devezh"}[he],ee)}function M(ee){return ee>9?M(ee%10):ee}var L=[/^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],I=/^(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];b.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:I,monthsShortRegex:I,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:L,longMonthsParse:L,shortMonthsParse:L,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:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function T(ee){switch(M(ee)){case 1:case 3:case 4:case 5:case 9:return ee+" bloaz";default:return ee+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(ee){return ee+(1===ee?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ee){return"g.m."===ee},meridiem:function(ee,ce,he){return ee<12?"a.m.":"g.m."}})}(w(5439))},4792:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var L=M+" ";switch(k){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===M?"sat":2===M||3===M||4===M?"sata":"sati");case"dd":return L+(1===M?"dan":"dana");case"MM":return L+(1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci");case"yy":return L+(1===M?"godina":2===M||3===M||4===M?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7980:function(q,Y,w){!function(b){"use strict";b.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:"%d 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(T,M){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===M||"W"===M)&&(v="a"),T+v},week:{dow:1,doy:4}})}(w(5439))},7322:function(q,Y,w){!function(b){"use strict";var i="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),T="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),M=[/^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],v=/^(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 k(B){return B>1&&B<5&&1!=~~(B/10)}function L(B,F,U,X){var Q=B+" ";switch(U){case"s":return F||X?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return F||X?Q+(k(B)?"sekundy":"sekund"):Q+"sekundami";case"m":return F?"minuta":X?"minutu":"minutou";case"mm":return F||X?Q+(k(B)?"minuty":"minut"):Q+"minutami";case"h":return F?"hodina":X?"hodinu":"hodinou";case"hh":return F||X?Q+(k(B)?"hodiny":"hodin"):Q+"hodinami";case"d":return F||X?"den":"dnem";case"dd":return F||X?Q+(k(B)?"dny":"dn\xed"):Q+"dny";case"M":return F||X?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return F||X?Q+(k(B)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Q+"m\u011bs\xedci";case"y":return F||X?"rok":"rokem";case"yy":return F||X?Q+(k(B)?"roky":"let"):Q+"lety"}}b.defineLocale("cs",{months:i,monthsShort:T,monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},365:function(q,Y,w){!function(b){"use strict";b.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(T){return T+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(T)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(T)?"\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}})}(w(5439))},2092:function(q,Y,w){!function(b){"use strict";b.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(T){var v="";return T>20?v=40===T||50===T||60===T||80===T||100===T?"fed":"ain":T>0&&(v=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][T]),T+v},week:{dow:1,doy:4}})}(w(5439))},7387:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},9459:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3694:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},4307:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return v?I[k][0]:I[k][1]}b.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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9659:function(q,Y,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("dv",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,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(v){return"\u0789\u078a"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(w(5439))},3460:function(q,Y,w){!function(b){"use strict";b.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(M,v){return M?"string"==typeof v&&/D/.test(v.substring(0,v.indexOf("MMMM")))?this._monthsGenitiveEl[M.month()]:this._monthsNominativeEl[M.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(M,v,k){return M>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(M){return"\u03bc"===(M+"").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(M,v){var k=this._calendarEl[M],L=v&&v.hours();return function i(M){return"undefined"!=typeof Function&&M instanceof Function||"[object Function]"===Object.prototype.toString.call(M)}(k)&&(k=k.apply(v)),k.replace("{}",L%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}})}(w(5439))},4369:function(q,Y,w){!function(b){"use strict";b.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",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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:4}})}(w(5439))},530:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(w(5439))},9998:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3391:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},5414:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(w(5439))},9615:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:6}})}(w(5439))},1248:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},3767:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},4530:function(q,Y,w){!function(b){"use strict";b.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(T){return"p"===T.charAt(0).toLowerCase()},meridiem:function(T,M,v){return T>11?v?"p.t.m.":"P.T.M.":v?"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}})}(w(5439))},8944:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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}})}(w(5439))},9116:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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"})}(w(5439))},3609:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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}})}(w(5439))},6866:function(q,Y,w){!function(b){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),T="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(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;b.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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"})}(w(5439))},6725:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[M+"sekundi",M+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[M+" minuti",M+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[M+" tunni",M+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[M+" kuu",M+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[M+" aasta",M+" aastat"]};return v?I[k][2]?I[k][2]:I[k][1]:L?I[k][0]:I[k][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},7931:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},6417:function(q,Y,w){!function(b){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},T={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};b.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(v){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(v)},meridiem:function(v,k,L){return v<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"},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(v){return v.replace(/[\u06f0-\u06f9]/g,function(k){return T[k]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(w(5439))},944:function(q,Y,w){!function(b){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),T=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function M(L,I,B,F){var U="";switch(B){case"s":return F?"muutaman sekunnin":"muutama sekunti";case"ss":U=F?"sekunnin":"sekuntia";break;case"m":return F?"minuutin":"minuutti";case"mm":U=F?"minuutin":"minuuttia";break;case"h":return F?"tunnin":"tunti";case"hh":U=F?"tunnin":"tuntia";break;case"d":return F?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":U=F?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return F?"kuukauden":"kuukausi";case"MM":U=F?"kuukauden":"kuukautta";break;case"y":return F?"vuoden":"vuosi";case"yy":U=F?"vuoden":"vuotta"}return function v(L,I){return L<10?I?T[L]:i[L]:L}(L,F)+" "+U}b.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1766:function(q,Y,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5867:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},6848:function(q,Y,w){!function(b){"use strict";b.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(T,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}}})}(w(5439))},7773:function(q,Y,w){!function(b){"use strict";b.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(T,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return T+(1===T?"er":"e");case"w":case"W":return T+(1===T?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},1636:function(q,Y,w){!function(b){"use strict";var M=/(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,v=[/^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];b.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:M,monthsShortRegex:M,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:v,longMonthsParse:v,shortMonthsParse:v,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(L,I){switch(I){case"D":return L+(1===L?"er":"");default:case"M":case"Q":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(w(5439))},4940:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),T="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");b.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(v,k){return v?/-MMM-/.test(k)?T[v.month()]:i[v.month()]:i},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(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1402:function(q,Y,w){!function(b){"use strict";b.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(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6924:function(q,Y,w){!function(b){"use strict";b.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(I){return I+(1===I?"d":I%10==2?"na":"mh")},week:{dow:1,doy:4}})}(w(5439))},6398:function(q,Y,w){!function(b){"use strict";b.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".split("_"),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(T){return 0===T.indexOf("un")?"n"+T:"en "+T},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}})}(w(5439))},2457:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={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:[M+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",M+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[M+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",M+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[M+" \u0935\u0930\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[M+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",M+" \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:[M+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",M+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[M+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return L?I[k][0]:I[k][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(M,v){return"D"===v?M+"\u0935\u0947\u0930":M},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(M,v){return 12===M&&(M=0),"\u0930\u093e\u0924\u0940"===v?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===v?M:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===v?M>12?M:M+12:"\u0938\u093e\u0902\u091c\u0947"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"\u0930\u093e\u0924\u0940":M<12?"\u0938\u0915\u093e\u0933\u0940\u0902":M<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":M<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(w(5439))},2545:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I={s:["thoddea sekondamni","thodde sekond"],ss:[M+" sekondamni",M+" sekond"],m:["eka mintan","ek minut"],mm:[M+" mintamni",M+" mintam"],h:["eka voran","ek vor"],hh:[M+" voramni",M+" voram"],d:["eka disan","ek dis"],dd:[M+" disamni",M+" dis"],M:["eka mhoinean","ek mhoino"],MM:[M+" mhoineamni",M+" mhoine"],y:["eka vorsan","ek voros"],yy:[M+" vorsamni",M+" vorsam"]};return L?I[k][0]:I[k][1]}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(M,v){return"D"===v?M+"er":M},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(M,v){return 12===M&&(M=0),"rati"===v?M<4?M:M+12:"sokallim"===v?M:"donparam"===v?M>12?M:M+12:"sanje"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"rati":M<12?"sokallim":M<16?"donparam":M<20?"sanje":"rati"}})}(w(5439))},2641:function(q,Y,w){!function(b){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},T={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};b.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:"%d \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(v){return v.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0ab0\u0abe\u0aa4"===k?v<4?v:v+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?v:"\u0aac\u0aaa\u0acb\u0ab0"===k?v>=10?v:v+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0ab0\u0abe\u0aa4":v<10?"\u0ab8\u0ab5\u0abe\u0ab0":v<17?"\u0aac\u0aaa\u0acb\u0ab0":v<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(w(5439))},7536:function(q,Y,w){!function(b){"use strict";b.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\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(T){return 2===T?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":T+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(T){return 2===T?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":T+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(T){return 2===T?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":T+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(T){return 2===T?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":T%10==0&&10!==T?T+" \u05e9\u05e0\u05d4":T+" \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(T){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(T)},meridiem:function(T,M,v){return T<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":T<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":T<12?v?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":T<18?v?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(w(5439))},6335:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},M=[/^\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];b.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\u0932_\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:M,longMonthsParse:M,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(L){return L.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return T[I]})},postformat:function(L){return L.replace(/\d/g,function(I){return i[I]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,I){return 12===L&&(L=0),"\u0930\u093e\u0924"===I?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===I?L:"\u0926\u094b\u092a\u0939\u0930"===I?L>=10?L:L+12:"\u0936\u093e\u092e"===I?L+12:void 0},meridiem:function(L,I,B){return L<4?"\u0930\u093e\u0924":L<10?"\u0938\u0941\u092c\u0939":L<17?"\u0926\u094b\u092a\u0939\u0930":L<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(w(5439))},7458:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var L=M+" ";switch(k){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return L+(1===M?"sat":2===M||3===M||4===M?"sata":"sati");case"dd":return L+(1===M?"dan":"dana");case"MM":return L+(1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci");case"yy":return L+(1===M?"godina":2===M||3===M||4===M?"godine":"godina")}}b.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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6540:function(q,Y,w){!function(b){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function T(k,L,I,B){var F=k;switch(I){case"s":return B||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return F+(B||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(B||L?" perc":" perce");case"mm":return F+(B||L?" perc":" perce");case"h":return"egy"+(B||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return F+(B||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(B||L?" nap":" napja");case"dd":return F+(B||L?" nap":" napja");case"M":return"egy"+(B||L?" h\xf3nap":" h\xf3napja");case"MM":return F+(B||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(B||L?" \xe9v":" \xe9ve");case"yy":return F+(B||L?" \xe9v":" \xe9ve")}return""}function M(k){return(k?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}b.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(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,L,I){return k<12?!0===I?"de":"DE":!0===I?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return M.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return M.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3165:function(q,Y,w){!function(b){"use strict";b.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(T){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(T)},meridiem:function(T){return T<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":T<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":T<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(T,M){switch(M){case"DDD":case"w":case"W":case"DDDo":return 1===T?T+"-\u056b\u0576":T+"-\u0580\u0564";default:return T}},week:{dow:1,doy:7}})}(w(5439))},8780:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"pagi"===M?T:"siang"===M?T>=11?T:T+12:"sore"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"siang":T<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}})}(w(5439))},4205:function(q,Y,w){!function(b){"use strict";function i(v){return v%100==11||v%10!=1}function T(v,k,L,I){var B=v+" ";switch(L){case"s":return k||I?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(v)?B+(k||I?"sek\xfandur":"sek\xfandum"):B+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(v)?B+(k||I?"m\xedn\xfatur":"m\xedn\xfatum"):k?B+"m\xedn\xfata":B+"m\xedn\xfatu";case"hh":return i(v)?B+(k||I?"klukkustundir":"klukkustundum"):B+"klukkustund";case"d":return k?"dagur":I?"dag":"degi";case"dd":return i(v)?k?B+"dagar":B+(I?"daga":"d\xf6gum"):k?B+"dagur":B+(I?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":I?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(v)?k?B+"m\xe1nu\xf0ir":B+(I?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?B+"m\xe1nu\xf0ur":B+(I?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||I?"\xe1r":"\xe1ri";case"yy":return i(v)?B+(k||I?"\xe1r":"\xe1rum"):B+(k||I?"\xe1r":"\xe1ri")}}b.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:T,ss:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},9985:function(q,Y,w){!function(b){"use strict";b.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(T){return(/^[0-9].+$/.test(T)?"tra":"in")+" "+T},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}})}(w(5439))},4211:function(q,Y,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},1003:function(q,Y,w){!function(b){"use strict";b.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(T,M){return"\u5143"===M[1]?1:parseInt(M[1]||T,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(T){return"\u5348\u5f8c"===T},meridiem:function(T,M,v){return T<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(T){return T.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(T){return this.week()!==T.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(T,M){switch(M){case"y":return 1===T?"\u5143\u5e74":T+"\u5e74";case"d":case"D":case"DDD":return T+"\u65e5";default:return T}},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"}})}(w(5439))},420:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"enjing"===M?T:"siyang"===M?T>=11?T:T+12:"sonten"===M||"ndalu"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"enjing":T<15?"siyang":T<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}})}(w(5439))},851:function(q,Y,w){!function(b){"use strict";b.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:"\u10d9\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(T){return T.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(M,v,k){return"\u10d8"===k?v+"\u10e8\u10d8":v+k+"\u10e8\u10d8"})},past:function(T){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(T)?T.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(T)?T.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):T},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(T){return 0===T?T:1===T?T+"-\u10da\u10d8":T<20||T<=100&&T%20==0||T%100==0?"\u10db\u10d4-"+T:T+"-\u10d4"},week:{dow:1,doy:7}})}(w(5439))},6074:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},3343:function(q,Y,w){!function(b){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},T={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};b.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:"\u17a2\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(v){return"\u179b\u17d2\u1784\u17b6\u1785"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(w(5439))},4799:function(q,Y,w){!function(b){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},T={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};b.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:"%d \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(v){return v.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k){return 12===v&&(v=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?v<4?v:v+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?v:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?v>=10?v:v+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":v<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":v<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":v<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(v){return v+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(w(5439))},3549:function(q,Y,w){!function(b){"use strict";b.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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\uc77c";case"M":return T+"\uc6d4";case"w":case"W":return T+"\uc8fc";default:return T}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(T){return"\uc624\ud6c4"===T},meridiem:function(T,M,v){return T<12?"\uc624\uc804":"\uc624\ud6c4"}})}(w(5439))},1037:function(q,Y,w){!function(b){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},T={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=["\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"];b.defineLocale("ku",{months:M,monthsShort:M,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(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,L,I){return k<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(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return T[L]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(L){return i[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(w(5439))},3125:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},9586:function(q,Y,w){!function(b){"use strict";function i(L,I,B,F){var U={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 I?U[B][0]:U[B][1]}function v(L){if(L=parseInt(L,10),isNaN(L))return!1;if(L<0)return!0;if(L<10)return 4<=L&&L<=7;if(L<100){var I=L%10;return v(0===I?L/10:I)}if(L<1e4){for(;L>=10;)L/=10;return v(L)}return v(L/=1e3)}b.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 T(L){return v(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function M(L){return v(L.substr(0,L.indexOf(" ")))?"viru "+L:"virun "+L},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},2349:function(q,Y,w){!function(b){"use strict";b.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(T){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===T},meridiem:function(T,M,v){return T<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(T){return"\u0e97\u0eb5\u0ec8"+T}})}(w(5439))},2400:function(q,Y,w){!function(b){"use strict";var i={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_dien\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 M(B,F,U,X){return F?k(U)[0]:X?k(U)[1]:k(U)[2]}function v(B){return B%10==0||B>10&&B<20}function k(B){return i[B].split("_")}function L(B,F,U,X){var Q=B+" ";return 1===B?Q+M(0,F,U[0],X):F?Q+(v(B)?k(U)[1]:k(U)[0]):X?Q+k(U)[1]:Q+(v(B)?k(U)[1]:k(U)[2])}b.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 T(B,F,U,X){return F?"kelios sekund\u0117s":X?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:L,m:M,mm:L,h:M,hh:L,d:M,dd:L,M,MM:L,y:M,yy:L},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(B){return B+"-oji"},week:{dow:1,doy:4}})}(w(5439))},9991:function(q,Y,w){!function(b){"use strict";var i={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 T(I,B,F){return F?B%10==1&&B%100!=11?I[2]:I[3]:B%10==1&&B%100!=11?I[0]:I[1]}function M(I,B,F){return I+" "+T(i[F],I,B)}function v(I,B,F){return T(i[F],I,B)}b.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 k(I,B){return B?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:M,m:v,mm:M,h:v,hh:M,d:v,dd:M,M:v,MM:M,y:v,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8477:function(q,Y,w){!function(b){"use strict";var i={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(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},5118:function(q,Y,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5943:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10,v=T%100;return 0===T?T+"-\u0435\u0432":0===v?T+"-\u0435\u043d":v>10&&v<20?T+"-\u0442\u0438":1===M?T+"-\u0432\u0438":2===M?T+"-\u0440\u0438":7===M||8===M?T+"-\u043c\u0438":T+"-\u0442\u0438"},week:{dow:1,doy:7}})}(w(5439))},3849:function(q,Y,w){!function(b){"use strict";b.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:"%d \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(T,M){return 12===T&&(T=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===M&&T>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===M||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===M?T+12:T},meridiem:function(T,M,v){return T<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":T<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":T<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":T<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(w(5439))},1977:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){switch(k){case"s":return v?"\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 M+(v?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return M+(v?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return M+(v?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return M+(v?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return M+(v?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return M+(v?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return M}}b.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(M){return"\u04ae\u0425"===M},meridiem:function(M,v,k){return M<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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(M,v){switch(v){case"d":case"D":case"DDD":return M+" \u04e9\u0434\u04e9\u0440";default:return M}}})}(w(5439))},6184:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function M(k,L,I,B){var F="";if(L)switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":F="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":F="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":F="%d \u0924\u093e\u0938";break;case"d":F="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":F="%d \u0926\u093f\u0935\u0938";break;case"M":F="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":F="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u0947"}else switch(I){case"s":F="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":F="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":F="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":F="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":F="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":F="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":F="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":F="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":F="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":F="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":F="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":F="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return F.replace(/%d/i,k)}b.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return T[L]})},postformat:function(k){return k.replace(/\d/g,function(L){return i[L]})},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(k,L){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?k>=12?k:k+12:void 0},meridiem:function(k,L,I){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(w(5439))},4524:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"pagi"===M?T:"tengahari"===M?T>=11?T:T+12:"petang"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},485:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"pagi"===M?T:"tengahari"===M?T>=11?T:T+12:"petang"===M||"malam"===M?T+12:void 0},meridiem:function(T,M,v){return T<11?"pagi":T<15?"tengahari":T<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}})}(w(5439))},6681:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2024:function(q,Y,w){!function(b){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},T={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};b.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(v){return v.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(w(5439))},2688:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},8914:function(q,Y,w){!function(b){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},T={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};b.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(v){return v.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0930\u093e\u0924\u093f"===k?v<4?v:v+12:"\u092c\u093f\u0939\u093e\u0928"===k?v:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?v>=10?v:v+12:"\u0938\u093e\u0901\u091d"===k?v+12:void 0},meridiem:function(v,k,L){return v<3?"\u0930\u093e\u0924\u093f":v<12?"\u092c\u093f\u0939\u093e\u0928":v<16?"\u0926\u093f\u0909\u0901\u0938\u094b":v<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}})}(w(5439))},2272:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^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],v=/^(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;b.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1758:function(q,Y,w){!function(b){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),T="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^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],v=/^(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;b.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,I){return L?/-MMM-/.test(I)?T[L.month()]:i[L.month()]:i},monthsRegex:v,monthsShortRegex:v,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:M,longMonthsParse:M,shortMonthsParse:M,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(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(w(5439))},1510:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2797:function(q,Y,w){!function(b){"use strict";b.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:"%d 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(T,M){var v=1===T?"r":2===T?"n":3===T?"r":4===T?"t":"\xe8";return("w"===M||"W"===M)&&(v="a"),T+v},week:{dow:1,doy:4}})}(w(5439))},7944:function(q,Y,w){!function(b){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},T={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};b.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(v){return v.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(v,k){return 12===v&&(v=0),"\u0a30\u0a3e\u0a24"===k?v<4?v:v+12:"\u0a38\u0a35\u0a47\u0a30"===k?v:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?v>=10?v:v+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?v+12:void 0},meridiem:function(v,k,L){return v<4?"\u0a30\u0a3e\u0a24":v<10?"\u0a38\u0a35\u0a47\u0a30":v<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":v<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(w(5439))},1605:function(q,Y,w){!function(b){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),T="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),M=[/^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 v(I){return I%10<5&&I%10>1&&~~(I/10)%10!=1}function k(I,B,F){var U=I+" ";switch(F){case"ss":return U+(v(I)?"sekundy":"sekund");case"m":return B?"minuta":"minut\u0119";case"mm":return U+(v(I)?"minuty":"minut");case"h":return B?"godzina":"godzin\u0119";case"hh":return U+(v(I)?"godziny":"godzin");case"ww":return U+(v(I)?"tygodnie":"tygodni");case"MM":return U+(v(I)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return U+(v(I)?"lata":"lat")}}b.defineLocale("pl",{months:function(I,B){return I?/D MMMM/.test(B)?T[I.month()]:i[I.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:M,longMonthsParse:M,shortMonthsParse:M,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:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},3840:function(q,Y,w){!function(b){"use strict";b.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"})}(w(5439))},4225:function(q,Y,w){!function(b){"use strict";b.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:"%d 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}})}(w(5439))},5128:function(q,Y,w){!function(b){"use strict";function i(M,v,k){var I=" ";return(M%100>=20||M>=100&&M%100==0)&&(I=" de "),M+I+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}b.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:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(w(5439))},5127:function(q,Y,w){!function(b){"use strict";function T(k,L,I){return"m"===I?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function i(k,L){var I=k.split("_");return L%10==1&&L%100!=11?I[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?I[1]:I[2]}({ss:L?"\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:L?"\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"}[I],+k)}var M=[/^\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];b.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:M,longMonthsParse:M,shortMonthsParse:M,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?\.|\u043c\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(k){if(k.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(k){if(k.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:T,m:T,mm:T,h:"\u0447\u0430\u0441",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:T,M:"\u043c\u0435\u0441\u044f\u0446",MM:T,y:"\u0433\u043e\u0434",yy:T},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,L,I){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,L){switch(L){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(w(5439))},2525:function(q,Y,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("sd",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},9893:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},3123:function(q,Y,w){!function(b){"use strict";b.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(T){return T+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(T){return"\u0db4.\u0dc0."===T||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===T},meridiem:function(T,M,v){return T>11?v?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":v?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(w(5439))},9635:function(q,Y,w){!function(b){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),T="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function M(L){return L>1&&L<5}function v(L,I,B,F){var U=L+" ";switch(B){case"s":return I||F?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return I||F?U+(M(L)?"sekundy":"sek\xfand"):U+"sekundami";case"m":return I?"min\xfata":F?"min\xfatu":"min\xfatou";case"mm":return I||F?U+(M(L)?"min\xfaty":"min\xfat"):U+"min\xfatami";case"h":return I?"hodina":F?"hodinu":"hodinou";case"hh":return I||F?U+(M(L)?"hodiny":"hod\xedn"):U+"hodinami";case"d":return I||F?"de\u0148":"d\u0148om";case"dd":return I||F?U+(M(L)?"dni":"dn\xed"):U+"d\u0148ami";case"M":return I||F?"mesiac":"mesiacom";case"MM":return I||F?U+(M(L)?"mesiace":"mesiacov"):U+"mesiacmi";case"y":return I||F?"rok":"rokom";case"yy":return I||F?U+(M(L)?"roky":"rokov"):U+"rokmi"}}b.defineLocale("sk",{months:i,monthsShort:T,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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8106:function(q,Y,w){!function(b){"use strict";function i(M,v,k,L){var I=M+" ";switch(k){case"s":return v||L?"nekaj sekund":"nekaj sekundami";case"ss":return I+(1===M?v?"sekundo":"sekundi":2===M?v||L?"sekundi":"sekundah":M<5?v||L?"sekunde":"sekundah":"sekund");case"m":return v?"ena minuta":"eno minuto";case"mm":return I+(1===M?v?"minuta":"minuto":2===M?v||L?"minuti":"minutama":M<5?v||L?"minute":"minutami":v||L?"minut":"minutami");case"h":return v?"ena ura":"eno uro";case"hh":return I+(1===M?v?"ura":"uro":2===M?v||L?"uri":"urama":M<5?v||L?"ure":"urami":v||L?"ur":"urami");case"d":return v||L?"en dan":"enim dnem";case"dd":return I+(1===M?v||L?"dan":"dnem":2===M?v||L?"dni":"dnevoma":v||L?"dni":"dnevi");case"M":return v||L?"en mesec":"enim mesecem";case"MM":return I+(1===M?v||L?"mesec":"mesecem":2===M?v||L?"meseca":"mesecema":M<5?v||L?"mesece":"meseci":v||L?"mesecev":"meseci");case"y":return v||L?"eno leto":"enim letom";case"yy":return I+(1===M?v||L?"leto":"letom":2===M?v||L?"leti":"letoma":M<5?v||L?"leta":"leti":v||L?"let":"leti")}}b.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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},8799:function(q,Y,w){!function(b){"use strict";b.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(T){return"M"===T.charAt(0)},meridiem:function(T,M,v){return T<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}})}(w(5439))},2872:function(q,Y,w){!function(b){"use strict";var i={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(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.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\u0432._\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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"\u0434\u0430\u043d",dd:i.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:i.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},7949:function(q,Y,w){!function(b){"use strict";var i={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(M,v){return 1===M?v[0]:M>=2&&M<=4?v[1]:v[2]},translate:function(M,v,k){var L=i.words[k];return 1===k.length?v?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};b.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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(w(5439))},6167:function(q,Y,w){!function(b){"use strict";b.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",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:"[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(T,M,v){return T<11?"ekuseni":T<15?"emini":T<19?"entsambama":"ebusuku"},meridiemHour:function(T,M){return 12===T&&(T=0),"ekuseni"===M?T:"emini"===M?T>=11?T:T+12:"entsambama"===M||"ebusuku"===M?0===T?0:T+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(w(5439))},9713:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?":e":1===M||2===M?":a":":e")},week:{dow:1,doy:4}})}(w(5439))},1982:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2732:function(q,Y,w){!function(b){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},T={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};b.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(v){return v+"\u0bb5\u0ba4\u0bc1"},preparse:function(v){return v.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return T[k]})},postformat:function(v){return v.replace(/\d/g,function(k){return i[k]})},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(v,k,L){return v<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":v<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":v<10?" \u0b95\u0bbe\u0bb2\u0bc8":v<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":v<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":v<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(v,k){return 12===v&&(v=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?v<2?v:v+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&v>=10?v:v+12},week:{dow:0,doy:6}})}(w(5439))},3636:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===M?T<4?T:T+12:"\u0c09\u0c26\u0c2f\u0c02"===M?T:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===M?T>=10?T:T+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===M?T+12:void 0},meridiem:function(T,M,v){return T<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":T<10?"\u0c09\u0c26\u0c2f\u0c02":T<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":T<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(w(5439))},2115:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9801:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M,v){return 12===M&&(M=0),"\u0448\u0430\u0431"===v?M<4?M:M+12:"\u0441\u0443\u0431\u04b3"===v?M:"\u0440\u04ef\u0437"===v?M>=11?M:M+12:"\u0431\u0435\u0433\u043e\u04b3"===v?M+12:void 0},meridiem:function(M,v,k){return M<4?"\u0448\u0430\u0431":M<11?"\u0441\u0443\u0431\u04b3":M<16?"\u0440\u04ef\u0437":M<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(M){return M+(i[M]||i[M%10]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(w(5439))},4486:function(q,Y,w){!function(b){"use strict";b.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(T){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===T},meridiem:function(T,M,v){return T<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"}})}(w(5439))},1310:function(q,Y,w){!function(b){"use strict";var i={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"};b.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] LT",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(M,v){switch(v){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'unjy";var k=M%10;return M+(i[k]||i[M%100-k]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},2360:function(q,Y,w){!function(b){"use strict";b.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(T){return T},week:{dow:1,doy:4}})}(w(5439))},6645:function(q,Y,w){!function(b){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function v(I,B,F,U){var X=function k(I){var B=Math.floor(I%1e3/100),F=Math.floor(I%100/10),U=I%10,X="";return B>0&&(X+=i[B]+"vatlh"),F>0&&(X+=(""!==X?" ":"")+i[F]+"maH"),U>0&&(X+=(""!==X?" ":"")+i[U]),""===X?"pagh":X}(I);switch(F){case"ss":return X+" lup";case"mm":return X+" tup";case"hh":return X+" rep";case"dd":return X+" jaj";case"MM":return X+" jar";case"yy":return X+" DIS"}}b.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 T(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"leS":-1!==I.indexOf("jar")?B.slice(0,-3)+"waQ":-1!==I.indexOf("DIS")?B.slice(0,-3)+"nem":B+" pIq"},past:function M(I){var B=I;return-1!==I.indexOf("jaj")?B.slice(0,-3)+"Hu\u2019":-1!==I.indexOf("jar")?B.slice(0,-3)+"wen":-1!==I.indexOf("DIS")?B.slice(0,-3)+"ben":B+" ret"},s:"puS lup",ss:v,m:"wa\u2019 tup",mm:v,h:"wa\u2019 rep",hh:v,d:"wa\u2019 jaj",dd:v,M:"wa\u2019 jar",MM:v,y:"wa\u2019 DIS",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},8374:function(q,Y,w){!function(b){"use strict";var i={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"};b.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(M,v,k){return M<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(M){return"\xf6s"===M||"\xd6S"===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, 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(M,v){switch(v){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'\u0131nc\u0131";var k=M%10;return M+(i[k]||i[M%100-k]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(w(5439))},256:function(q,Y,w){!function(b){"use strict";function T(M,v,k,L){var I={s:["viensas secunds","'iensas secunds"],ss:[M+" secunds",M+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[M+" m\xeduts",M+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[M+" \xfeoras",M+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[M+" ziuas",M+" ziuas"],M:["'n mes","'iens mes"],MM:[M+" mesen",M+" mesen"],y:["'n ar","'iens ar"],yy:[M+" ars",M+" ars"]};return L||v?I[k][0]:I[k][1]}b.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_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(M){return"d'o"===M.toLowerCase()},meridiem:function(M,v,k){return M>11?k?"d'o":"D'O":k?"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:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(w(5439))},1631:function(q,Y,w){!function(b){"use strict";b.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\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}})}(w(5439))},1595:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},6050:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===M||"\u0633\u06d5\u06be\u06d5\u0631"===M||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===M?T:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===M||"\u0643\u06d5\u0686"===M?T+12:T>=11?T:T+12},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<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:"%d \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(T,M){switch(M){case"d":case"D":case"DDD":return T+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return T+"-\u06be\u06d5\u067e\u062a\u06d5";default:return T}},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(w(5439))},5610:function(q,Y,w){!function(b){"use strict";function T(L,I,B){return"m"===B?I?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===B?I?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function i(L,I){var B=L.split("_");return I%10==1&&I%100!=11?B[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?B[1]:B[2]}({ss:I?"\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:I?"\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:I?"\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"}[B],+L)}function v(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}b.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 M(L,I){var B={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===L?B.nominative.slice(1,7).concat(B.nominative.slice(0,1)):L?B[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(I)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(I)?"genitive":"nominative"][L.day()]:B.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:v("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:v("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:v("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:v("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return v("[\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:T,m:T,mm:T,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:T,d:"\u0434\u0435\u043d\u044c",dd:T,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:T,y:"\u0440\u0456\u043a",yy:T},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(L){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(L)},meridiem:function(L,I,B){return L<4?"\u043d\u043e\u0447\u0456":L<12?"\u0440\u0430\u043d\u043a\u0443":L<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(L,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return L+"-\u0439";case"D":return L+"-\u0433\u043e";default:return L}},week:{dow:1,doy:7}})}(w(5439))},6077:function(q,Y,w){!function(b){"use strict";var i=["\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"],T=["\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"];b.defineLocale("ur",{months:i,monthsShort:i,weekdays:T,weekdaysShort:T,weekdaysMin:T,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(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,k,L){return v<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(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(w(5439))},2207:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},2862:function(q,Y,w){!function(b){"use strict";b.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}})}(w(5439))},8093:function(q,Y,w){!function(b){"use strict";b.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(T){return/^ch$/i.test(T)},meridiem:function(T,M,v){return T<12?v?"sa":"SA":v?"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(T){return T},week:{dow:1,doy:4}})}(w(5439))},5590:function(q,Y,w){!function(b){"use strict";b.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(T){var M=T%10;return T+(1==~~(T%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(w(5439))},9058:function(q,Y,w){!function(b){"use strict";b.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_\u1eb8t_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}})}(w(5439))},7908:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:T>=11?T:T+12},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(T){return T.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(T){return this.week()!==T.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u5468";default:return T}},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}})}(w(5439))},8867:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},1133:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},3291:function(q,Y,w){!function(b){"use strict";b.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(T,M){return 12===T&&(T=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?T:"\u4e2d\u5348"===M?T>=11?T:T+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?T+12:void 0},meridiem:function(T,M,v){var k=100*T+M;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<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(T,M){switch(M){case"d":case"D":case"DDD":return T+"\u65e5";case"M":return T+"\u6708";case"w":case"W":return T+"\u9031";default:return T}},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"}})}(w(5439))},5439:function(q,Y,w){(q=w.nmd(q)).exports=function(){"use strict";var b,ce;function i(){return b.apply(null,arguments)}function M(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function v(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function k(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function L(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(k(_,S))return!1;return!0}function I(_){return void 0===_}function B(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function F(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function U(_,S){var N,R=[];for(N=0;N<_.length;++N)R.push(S(_[N],N));return R}function X(_,S){for(var R in S)k(S,R)&&(_[R]=S[R]);return k(S,"toString")&&(_.toString=S.toString),k(S,"valueOf")&&(_.valueOf=S.valueOf),_}function Q(_,S,R,N){return mu(_,S,R,N,!0).utc()}function ee(_){return null==_._pf&&(_._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}),_._pf}function he(_){if(null==_._isValid){var S=ee(_),R=ce.call(S.parsedDateParts,function(G){return null!=G}),N=!isNaN(_._d.getTime())&&S.overflow<0&&!S.empty&&!S.invalidEra&&!S.invalidMonth&&!S.invalidWeekday&&!S.weekdayMismatch&&!S.nullInput&&!S.invalidFormat&&!S.userInvalidated&&(!S.meridiem||S.meridiem&&R);if(_._strict&&(N=N&&0===S.charsLeftOver&&0===S.unusedTokens.length&&void 0===S.bigHour),null!=Object.isFrozen&&Object.isFrozen(_))return N;_._isValid=N}return _._isValid}function ze(_){var S=Q(NaN);return null!=_?X(ee(S),_):ee(S).userInvalidated=!0,S}ce=Array.prototype.some?Array.prototype.some:function(_){var N,S=Object(this),R=S.length>>>0;for(N=0;N0)for(R=0;R=0?R?"+":"":"-")+Math.pow(10,Math.max(0,S-N.length)).toString().substr(1)+N}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}|x|X|zz?|ZZ?|.)/g,ft=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jn={},gi={};function Xe(_,S,R,N){var G=N;"string"==typeof N&&(G=function(){return this[N]()}),_&&(gi[_]=G),S&&(gi[S[0]]=function(){return wi(G.apply(this,arguments),S[1],S[2])}),R&&(gi[R]=function(){return this.localeData().ordinal(G.apply(this,arguments),_)})}function ai(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function pn(_,S){return _.isValid()?(S=ui(S,_.localeData()),jn[S]=jn[S]||function ps(_){var R,N,S=_.match(ot);for(R=0,N=S.length;R=0&&ft.test(_);)_=_.replace(ft,N),ft.lastIndex=0,R-=1;return _}var Ve={};function nt(_,S){var R=_.toLowerCase();Ve[R]=Ve[R+"s"]=Ve[S]=_}function Jt(_){return"string"==typeof _?Ve[_]||Ve[_.toLowerCase()]:void 0}function we(_){var R,N,S={};for(N in _)k(_,N)&&(R=Jt(N))&&(S[R]=_[N]);return S}var te={};function se(_,S){te[_]=S}function ke(_){return _%4==0&&_%100!=0||_%400==0}function Fe(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Ce(_){var S=+_,R=0;return 0!==S&&isFinite(S)&&(R=Fe(S)),R}function Ge(_,S){return function(R){return null!=R?(Ni(this,_,R),i.updateOffset(this,S),this):xt(this,_)}}function xt(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function Ni(_,S,R){_.isValid()&&!isNaN(R)&&("FullYear"===S&&ke(_.year())&&1===_.month()&&29===_.date()?(R=Ce(R),_._d["set"+(_._isUTC?"UTC":"")+S](R,_.month(),Di(R,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](R))}var D,Hi=/\d/,ct=/\d\d/,We=/\d{3}/,Kn=/\d{4}/,Kt=/[+-]?\d{6}/,Mt=/\d\d?/,gs=/\d\d\d\d?/,ts=/\d\d\d\d\d\d?/,Zn=/\d{1,3}/,nl=/\d{1,4}/,zo=/[+-]?\d{1,6}/,co=/\d+/,lo=/[+-]?\d+/,ms=/Z|[+-]\d\d:?\d\d/gi,or=/Z|[+-]\d\d(?::?\d\d)?/gi,Yr=/[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 Ie(_,S,R){D[_]=ge(S)?S:function(N,G){return N&&R?R:S}}function ki(_,S){return k(D,_)?D[_](S._strict,S._locale):new RegExp(function mn(_){return Qe(_.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(S,R,N,G,re){return R||N||G||re}))}(_))}function Qe(_){return _.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}D={};var si={};function At(_,S){var R,N=S;for("string"==typeof _&&(_=[_]),B(S)&&(N=function(G,re){re[S]=Ce(G)}),R=0;R<_.length;R++)si[_[R]]=N}function Ki(_,S){At(_,function(R,N,G,re){G._w=G._w||{},S(R,G._w,G,re)})}function ja(_,S,R){null!=S&&k(si,_)&&si[_](S,R._a,R,_)}var ei;function Di(_,S){if(isNaN(_)||isNaN(S))return NaN;var R=function Rn(_,S){return(_%S+S)%S}(S,12);return _+=(S-R)/12,1===R?ke(_)?29:28:31-R%7%2}ei=Array.prototype.indexOf?Array.prototype.indexOf:function(_){var S;for(S=0;S68?1900:2e3)};var Un=Ge("FullYear",!0);function Ua(_,S,R,N,G,re,ye){var rt;return _<100&&_>=0?(rt=new Date(_+400,S,R,N,G,re,ye),isFinite(rt.getFullYear())&&rt.setFullYear(_)):rt=new Date(_,S,R,N,G,re,ye),rt}function Bo(_){var S,R;return _<100&&_>=0?((R=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,R)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function ho(_,S,R){var N=7+S-R;return-(7+Bo(_,0,N).getUTCDay()-S)%7+N-1}function ss(_,S,R,N,G){var Nt,bi,rt=1+7*(S-1)+(7+R-N)%7+ho(_,N,G);return rt<=0?bi=Ho(Nt=_-1)+rt:rt>Ho(_)?(Nt=_+1,bi=rt-Ho(_)):(Nt=_,bi=rt),{year:Nt,dayOfYear:bi}}function cr(_,S,R){var re,ye,N=ho(_.year(),S,R),G=Math.floor((_.dayOfYear()-N-1)/7)+1;return G<1?re=G+fo(ye=_.year()-1,S,R):G>fo(_.year(),S,R)?(re=G-fo(_.year(),S,R),ye=_.year()+1):(ye=_.year(),re=G),{week:re,year:ye}}function fo(_,S,R){var N=ho(_,S,R),G=ho(_+1,S,R);return(Ho(_)-N+G)/7}Xe("w",["ww",2],"wo","week"),Xe("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),se("week",5),se("isoWeek",5),Ie("w",Mt),Ie("ww",Mt,ct),Ie("W",Mt),Ie("WW",Mt,ct),Ki(["w","ww","W","WW"],function(_,S,R,N){S[N.substr(0,1)]=Ce(_)});function De(_,S){return _.slice(S,7).concat(_.slice(0,S))}Xe("d",0,"do","day"),Xe("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Xe("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Xe("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Xe("e",0,0,"weekday"),Xe("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Ie("d",Mt),Ie("e",Mt),Ie("E",Mt),Ie("dd",function(_,S){return S.weekdaysMinRegex(_)}),Ie("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Ie("dddd",function(_,S){return S.weekdaysRegex(_)}),Ki(["dd","ddd","dddd"],function(_,S,R,N){var G=R._locale.weekdaysParse(_,N,R._strict);null!=G?S.d=G:ee(R).invalidWeekday=_}),Ki(["d","e","E"],function(_,S,R,N){S[N]=Ce(_)});var hu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fi=Yr,fu=Yr,Ga=Yr;function Fo(_,S,R){var N,G,re,ye=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],N=0;N<7;++N)re=Q([2e3,1]).day(N),this._minWeekdaysParse[N]=this.weekdaysMin(re,"").toLocaleLowerCase(),this._shortWeekdaysParse[N]=this.weekdaysShort(re,"").toLocaleLowerCase(),this._weekdaysParse[N]=this.weekdays(re,"").toLocaleLowerCase();return R?"dddd"===S?-1!==(G=ei.call(this._weekdaysParse,ye))?G:null:"ddd"===S?-1!==(G=ei.call(this._shortWeekdaysParse,ye))?G:null:-1!==(G=ei.call(this._minWeekdaysParse,ye))?G:null:"dddd"===S?-1!==(G=ei.call(this._weekdaysParse,ye))||-1!==(G=ei.call(this._shortWeekdaysParse,ye))||-1!==(G=ei.call(this._minWeekdaysParse,ye))?G:null:"ddd"===S?-1!==(G=ei.call(this._shortWeekdaysParse,ye))||-1!==(G=ei.call(this._weekdaysParse,ye))||-1!==(G=ei.call(this._minWeekdaysParse,ye))?G:null:-1!==(G=ei.call(this._minWeekdaysParse,ye))||-1!==(G=ei.call(this._weekdaysParse,ye))||-1!==(G=ei.call(this._shortWeekdaysParse,ye))?G:null}function Wa(){function _(Tn,Nn){return Nn.length-Tn.length}var re,ye,rt,Nt,bi,S=[],R=[],N=[],G=[];for(re=0;re<7;re++)ye=Q([2e3,1]).day(re),rt=Qe(this.weekdaysMin(ye,"")),Nt=Qe(this.weekdaysShort(ye,"")),bi=Qe(this.weekdays(ye,"")),S.push(rt),R.push(Nt),N.push(bi),G.push(rt),G.push(Nt),G.push(bi);S.sort(_),R.sort(_),N.sort(_),G.sort(_),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Gr(){return this.hours()%12||12}function On(_,S){Xe(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function Cs(_,S){return S._meridiemParse}Xe("H",["HH",2],0,"hour"),Xe("h",["hh",2],0,Gr),Xe("k",["kk",2],0,function Ka(){return this.hours()||24}),Xe("hmm",0,0,function(){return""+Gr.apply(this)+wi(this.minutes(),2)}),Xe("hmmss",0,0,function(){return""+Gr.apply(this)+wi(this.minutes(),2)+wi(this.seconds(),2)}),Xe("Hmm",0,0,function(){return""+this.hours()+wi(this.minutes(),2)}),Xe("Hmmss",0,0,function(){return""+this.hours()+wi(this.minutes(),2)+wi(this.seconds(),2)}),On("a",!0),On("A",!1),nt("hour","h"),se("hour",13),Ie("a",Cs),Ie("A",Cs),Ie("H",Mt),Ie("h",Mt),Ie("k",Mt),Ie("HH",Mt,ct),Ie("hh",Mt,ct),Ie("kk",Mt,ct),Ie("hmm",gs),Ie("hmmss",ts),Ie("Hmm",gs),Ie("Hmmss",ts),At(["H","HH"],3),At(["k","kk"],function(_,S,R){var N=Ce(_);S[3]=24===N?0:N}),At(["a","A"],function(_,S,R){R._isPm=R._locale.isPM(_),R._meridiem=_}),At(["h","hh"],function(_,S,R){S[3]=Ce(_),ee(R).bigHour=!0}),At("hmm",function(_,S,R){var N=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N)),ee(R).bigHour=!0}),At("hmmss",function(_,S,R){var N=_.length-4,G=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N,2)),S[5]=Ce(_.substr(G)),ee(R).bigHour=!0}),At("Hmm",function(_,S,R){var N=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N))}),At("Hmmss",function(_,S,R){var N=_.length-4,G=_.length-2;S[3]=Ce(_.substr(0,N)),S[4]=Ce(_.substr(N,2)),S[5]=Ce(_.substr(G))});var Za=Ge("Hours",!0);var mo,$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"},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:Ts,monthsShort:Tt,week:{dow:0,doy:6},weekdays:hu,weekdaysMin:Vr,weekdaysShort:Bi,meridiemParse:/[ap]\.?m?\.?/i},Mi={},lr={};function _o(_,S){var R,N=Math.min(_.length,S.length);for(R=0;R0;){if(G=hi(re.slice(0,R).join("-")))return G;if(N&&N.length>=R&&_o(re,N)>=R-1)break;R--}S++}return mo}(_)}function me(_){var S,R=_._a;return R&&-2===ee(_).overflow&&(S=R[1]<0||R[1]>11?1:R[2]<1||R[2]>Di(R[0],R[1])?2:R[3]<0||R[3]>24||24===R[3]&&(0!==R[4]||0!==R[5]||0!==R[6])?3:R[4]<0||R[4]>59?4:R[5]<0||R[5]>59?5:R[6]<0||R[6]>999?6:-1,ee(_)._overflowDayOfYear&&(S<0||S>2)&&(S=2),ee(_)._overflowWeeks&&-1===S&&(S=7),ee(_)._overflowWeekday&&-1===S&&(S=8),ee(_).overflow=S),_}var Te=/^\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)?)?$/,tt=/^\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)?)?$/,li=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["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]],Ot=[["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/]],Zt=/^\/?Date\((-?\d+)/i,Zi=/^(?:(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}))$/,vi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _i(_){var S,R,re,ye,rt,Nt,N=_._i,G=Te.exec(N)||tt.exec(N);if(G){for(ee(_).iso=!0,S=0,R=Xt.length;S7)&&(Nt=!0)):(re=_._locale._week.dow,ye=_._locale._week.doy,bi=cr(Pt(),re,ye),R=hr(S.gg,_._a[0],bi.year),N=hr(S.w,bi.week),null!=S.d?((G=S.d)<0||G>6)&&(Nt=!0):null!=S.e?(G=S.e+re,(S.e<0||S.e>6)&&(Nt=!0)):G=re),N<1||N>fo(R,re,ye)?ee(_)._overflowWeeks=!0:null!=Nt?ee(_)._overflowWeekday=!0:(rt=ss(R,N,G,re,ye),_._a[0]=rt.year,_._dayOfYear=rt.dayOfYear)}(_),null!=_._dayOfYear&&(ye=hr(_._a[0],G[0]),(_._dayOfYear>Ho(ye)||0===_._dayOfYear)&&(ee(_)._overflowDayOfYear=!0),R=Bo(ye,0,_._dayOfYear),_._a[1]=R.getUTCMonth(),_._a[2]=R.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=N[S]=G[S];for(;S<7;S++)_._a[S]=N[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[3]&&0===_._a[4]&&0===_._a[5]&&0===_._a[6]&&(_._nextDay=!0,_._a[3]=0),_._d=(_._useUTC?Bo:Ua).apply(null,N),re=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[3]=24),_._w&&void 0!==_._w.d&&_._w.d!==re&&(ee(_).weekdayMismatch=!0)}}function Vt(_){if(_._f!==i.ISO_8601)if(_._f!==i.RFC_2822){_._a=[],ee(_).empty=!0;var R,N,G,re,ye,bi,S=""+_._i,rt=S.length,Nt=0;for(G=ui(_._f,_._locale).match(ot)||[],R=0;R0&&ee(_).unusedInput.push(ye),S=S.slice(S.indexOf(N)+N.length),Nt+=N.length),gi[re]?(N?ee(_).empty=!1:ee(_).unusedTokens.push(re),ja(re,N,_)):_._strict&&!N&&ee(_).unusedTokens.push(re);ee(_).charsLeftOver=rt-Nt,S.length>0&&ee(_).unusedInput.push(S),_._a[3]<=12&&!0===ee(_).bigHour&&_._a[3]>0&&(ee(_).bigHour=void 0),ee(_).parsedDateParts=_._a.slice(0),ee(_).meridiem=_._meridiem,_._a[3]=function Qd(_,S,R){var N;return null==R?S:null!=_.meridiemHour?_.meridiemHour(S,R):(null!=_.isPM&&((N=_.isPM(R))&&S<12&&(S+=12),!N&&12===S&&(S=0)),S)}(_._locale,_._a[3],_._meridiem),null!==(bi=ee(_).era)&&(_._a[0]=_._locale.erasConvertYear(bi,_._a[0])),al(_),me(_)}else dr(_);else _i(_)}function bs(_){var S=_._i,R=_._f;return _._locale=_._locale||W(_._l),null===S||void 0===R&&""===S?ze({nullInput:!0}):("string"==typeof S&&(_._i=S=_._locale.preparse(S)),$e(S)?new St(me(S)):(F(S)?_._d=S:M(R)?function tn(_){var S,R,N,G,re,ye,rt=!1;if(0===_._f.length)return ee(_).invalidFormat=!0,void(_._d=new Date(NaN));for(G=0;G<_._f.length;G++)re=0,ye=!1,S=bt({},_),null!=_._useUTC&&(S._useUTC=_._useUTC),S._f=_._f[G],Vt(S),he(S)&&(ye=!0),re+=ee(S).charsLeftOver,re+=10*ee(S).unusedTokens.length,ee(S).score=re,rt?rethis?this:_:ze()});function Xa(_,S){var R,N;if(1===S.length&&M(S[0])&&(S=S[0]),!S.length)return Pt();for(R=S[0],N=1;N=0?new Date(_+400,S,R)-na:new Date(_,S,R).valueOf()}function oc(_,S,R){return _<100&&_>=0?Date.UTC(_+400,S,R)-na:Date.UTC(_,S,R)}function Si(_,S){return S.erasAbbrRegex(_)}function xu(){var G,re,_=[],S=[],R=[],N=[],ye=this.eras();for(G=0,re=ye.length;G(re=fo(_,N,G))&&(S=re),yp.call(this,_,S,R,N,G))}function yp(_,S,R,N,G){var re=ss(_,S,R,N,G),ye=Bo(re.year,0,re.dayOfYear);return this.year(ye.getUTCFullYear()),this.month(ye.getUTCMonth()),this.date(ye.getUTCDate()),this}Xe("N",0,0,"eraAbbr"),Xe("NN",0,0,"eraAbbr"),Xe("NNN",0,0,"eraAbbr"),Xe("NNNN",0,0,"eraName"),Xe("NNNNN",0,0,"eraNarrow"),Xe("y",["y",1],"yo","eraYear"),Xe("y",["yy",2],0,"eraYear"),Xe("y",["yyy",3],0,"eraYear"),Xe("y",["yyyy",4],0,"eraYear"),Ie("N",Si),Ie("NN",Si),Ie("NNN",Si),Ie("NNNN",function bp(_,S){return S.erasNameRegex(_)}),Ie("NNNNN",function ph(_,S){return S.erasNarrowRegex(_)}),At(["N","NN","NNN","NNNN","NNNNN"],function(_,S,R,N){var G=R._locale.erasParse(_,N,R._strict);G?ee(R).era=G:ee(R).invalidEra=_}),Ie("y",co),Ie("yy",co),Ie("yyy",co),Ie("yyyy",co),Ie("yo",function Ds(_,S){return S._eraYearOrdinalRegex||co}),At(["y","yy","yyy","yyyy"],0),At(["yo"],function(_,S,R,N){var G;R._locale._eraYearOrdinalRegex&&(G=_.match(R._locale._eraYearOrdinalRegex)),S[0]=R._locale.eraYearOrdinalParse?R._locale.eraYearOrdinalParse(_,G):parseInt(_,10)}),Xe(0,["gg",2],0,function(){return this.weekYear()%100}),Xe(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_l("gggg","weekYear"),_l("ggggg","weekYear"),_l("GGGG","isoWeekYear"),_l("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Ie("G",lo),Ie("g",lo),Ie("GG",Mt,ct),Ie("gg",Mt,ct),Ie("GGGG",nl,Kn),Ie("gggg",nl,Kn),Ie("GGGGG",zo,Kt),Ie("ggggg",zo,Kt),Ki(["gggg","ggggg","GGGG","GGGGG"],function(_,S,R,N){S[N.substr(0,2)]=Ce(_)}),Ki(["gg","GG"],function(_,S,R,N){S[N]=i.parseTwoDigitYear(_)}),Xe("Q",0,"Qo","quarter"),nt("quarter","Q"),se("quarter",7),Ie("Q",Hi),At("Q",function(_,S){S[1]=3*(Ce(_)-1)}),Xe("D",["DD",2],"Do","date"),nt("date","D"),se("date",9),Ie("D",Mt),Ie("DD",Mt,ct),Ie("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),At(["D","DD"],2),At("Do",function(_,S){S[2]=Ce(_.match(Mt)[0])});var vn=Ge("Date",!0);Xe("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),se("dayOfYear",4),Ie("DDD",Zn),Ie("DDDD",We),At(["DDD","DDDD"],function(_,S,R){R._dayOfYear=Ce(_)}),Xe("m",["mm",2],0,"minute"),nt("minute","m"),se("minute",14),Ie("m",Mt),Ie("mm",Mt,ct),At(["m","mm"],4);var ac=Ge("Minutes",!1);Xe("s",["ss",2],0,"second"),nt("second","s"),se("second",15),Ie("s",Mt),Ie("ss",Mt,ct),At(["s","ss"],5);var As,Pu,cc=Ge("Seconds",!1);for(Xe("S",0,0,function(){return~~(this.millisecond()/100)}),Xe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Xe(0,["SSS",3],0,"millisecond"),Xe(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Xe(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Xe(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Xe(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Xe(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Xe(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),nt("millisecond","ms"),se("millisecond",16),Ie("S",Zn,Hi),Ie("SS",Zn,ct),Ie("SSS",Zn,We),As="SSSS";As.length<=9;As+="S")Ie(As,co);function Ap(_,S){S[6]=Ce(1e3*("0."+_))}for(As="S";As.length<=9;As+="S")At(As,Ap);Pu=Ge("Milliseconds",!1),Xe("z",0,0,"zoneAbbr"),Xe("zz",0,0,"zoneName");var Pe=St.prototype;function yr(_){return _}Pe.add=dl,Pe.calendar=function Xn(_,S){1===arguments.length&&(arguments[0]?In(arguments[0])?(_=arguments[0],S=void 0):oh(arguments[0])&&(S=arguments[0],_=void 0):(_=void 0,S=void 0));var R=_||Pt(),N=Qa(R,this).startOf("day"),G=i.calendarFormat(this,N)||"sameElse",re=S&&(ge(S[G])?S[G].call(this,R):S[G]);return this.format(re||this.localeData().calendar(G,this,Pt(R)))},Pe.clone=function rh(){return new St(this)},Pe.diff=function Xr(_,S,R){var N,G,re;if(!this.isValid())return NaN;if(!(N=Qa(_,this)).isValid())return NaN;switch(G=6e4*(N.utcOffset()-this.utcOffset()),S=Jt(S)){case"year":re=sc(this,N)/12;break;case"month":re=sc(this,N);break;case"quarter":re=sc(this,N)/3;break;case"second":re=(this-N)/1e3;break;case"minute":re=(this-N)/6e4;break;case"hour":re=(this-N)/36e5;break;case"day":re=(this-N-G)/864e5;break;case"week":re=(this-N-G)/6048e5;break;default:re=this-N}return R?re:Fe(re)},Pe.endOf=function Su(_){var S,R;if(void 0===(_=Jt(_))||"millisecond"===_||!this.isValid())return this;switch(R=this._isUTC?oc:lh,_){case"year":S=R(this.year()+1,0,1)-1;break;case"quarter":S=R(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=R(this.year(),this.month()+1,1)-1;break;case"week":S=R(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=R(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=R(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=ia-ys(S+(this._isUTC?0:this.utcOffset()*Yo),ia)-1;break;case"minute":S=this._d.valueOf(),S+=Yo-ys(S,Yo)-1;break;case"second":S=this._d.valueOf(),S+=1e3-ys(S,1e3)-1}return this._d.setTime(S),i.updateOffset(this,!0),this},Pe.format=function ea(_){_||(_=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var S=pn(this,_);return this.localeData().postformat(S)},Pe.from=function ta(_,S){return this.isValid()&&($e(_)&&_.isValid()||Pt(_).isValid())?$n({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.fromNow=function qo(_){return this.from(Pt(),_)},Pe.to=function ah(_,S){return this.isValid()&&($e(_)&&_.isValid()||Pt(_).isValid())?$n({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()},Pe.toNow=function Cu(_){return this.to(Pt(),_)},Pe.get=function Ft(_){return ge(this[_=Jt(_)])?this[_]():this},Pe.invalidAt=function sa(){return ee(this).overflow},Pe.isAfter=function hp(_,S){var R=$e(_)?_:Pt(_);return!(!this.isValid()||!R.isValid())&&("millisecond"===(S=Jt(S)||"millisecond")?this.valueOf()>R.valueOf():R.valueOf()9999?pn(R,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",pn(R,"Z")):pn(R,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Pe.inspect=function pp(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var R,N,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),R="["+_+'("]',N=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(R+N+"-MM-DD[T]HH:mm:ss.SSS"+S+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Pe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Pe.toJSON=function Uo(){return this.isValid()?this.toISOString():null},Pe.toString=function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Pe.unix=function gp(){return Math.floor(this.valueOf()/1e3)},Pe.valueOf=function Eu(){return this._d.valueOf()-6e4*(this._offset||0)},Pe.creationData=function hh(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Pe.eraName=function Zs(){var _,S,R,N=this.localeData().eras();for(_=0,S=N.length;_this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Pe.isLocal=function wo(){return!!this.isValid()&&!this._isUTC},Pe.isUtcOffset=function xi(){return!!this.isValid()&&this._isUTC},Pe.isUtc=Mu,Pe.isUTC=Mu,Pe.zoneAbbr=function wp(){return this._isUTC?"UTC":""},Pe.zoneName=function m1(){return this._isUTC?"Coordinated Universal Time":""},Pe.dates=wt("dates accessor is deprecated. Use date instead.",vn),Pe.months=wt("months accessor is deprecated. Use month instead",No),Pe.years=wt("years accessor is deprecated. Use year instead",Un),Pe.zone=wt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ja(_,S){return null!=_?("string"!=typeof _&&(_=-_),this.utcOffset(_,S),this):-this.utcOffset()}),Pe.isDSTShifted=wt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function _n(){if(!I(this._isDSTShifted))return this._isDSTShifted;var S,_={};return bt(_,this),(_=bs(_))._a?(S=_._isUTC?Q(_._a):Pt(_._a),this._isDSTShifted=this.isValid()&&function pr(_,S,R){var ye,N=Math.min(_.length,S.length),G=Math.abs(_.length-S.length),re=0;for(ye=0;ye0):this._isDSTShifted=!1,this._isDSTShifted});var jt=Re.prototype;function zu(_,S,R,N){var G=W(),re=Q().set(N,S);return G[R](re,_)}function ca(_,S,R){if(B(_)&&(S=_,_=void 0),_=_||"",null!=S)return zu(_,S,R,"month");var N,G=[];for(N=0;N<12;N++)G[N]=zu(_,N,R,"month");return G}function Iu(_,S,R,N){"boolean"==typeof _?(B(S)&&(R=S,S=void 0),S=S||""):(R=S=_,_=!1,B(S)&&(R=S,S=void 0),S=S||"");var ye,G=W(),re=_?G._week.dow:0,rt=[];if(null!=R)return zu(S,(R+re)%7,N,"day");for(ye=0;ye<7;ye++)rt[ye]=zu(S,(ye+re)%7,N,"day");return rt}jt.calendar=function vt(_,S,R){var N=this._calendar[_]||this._calendar.sameElse;return ge(N)?N.call(S,R):N},jt.longDateFormat=function gn(_){var S=this._longDateFormat[_],R=this._longDateFormat[_.toUpperCase()];return S||!R?S:(this._longDateFormat[_]=R.match(ot).map(function(N){return"MMMM"===N||"MM"===N||"DD"===N||"dddd"===N?N.slice(1):N}).join(""),this._longDateFormat[_])},jt.invalidDate=function ao(){return this._invalidDate},jt.ordinal=function le(_){return this._ordinal.replace("%d",_)},jt.preparse=yr,jt.postformat=yr,jt.relativeTime=function pe(_,S,R,N){var G=this._relativeTime[R];return ge(G)?G(_,S,R,N):G.replace(/%d/i,_)},jt.pastFuture=function Ue(_,S){var R=this._relativeTime[_>0?"future":"past"];return ge(R)?R(S):R.replace(/%s/i,S)},jt.set=function Ae(_){var S,R;for(R in _)k(_,R)&&(ge(S=_[R])?this[R]=S:this["_"+R]=S);this._config=_,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},jt.eras=function ku(_,S){var R,N,G,re=this._eras||W("en")._eras;for(R=0,N=re.length;R=0)return re[N]},jt.erasConvertYear=function Ks(_,S){var R=_.since<=_.until?1:-1;return void 0===S?i(_.since).year():i(_.since).year()+(S-_.offset)*R},jt.erasAbbrRegex=function _p(_){return k(this,"_erasAbbrRegex")||xu.call(this),_?this._erasAbbrRegex:this._erasRegex},jt.erasNameRegex=function aa(_){return k(this,"_erasNameRegex")||xu.call(this),_?this._erasNameRegex:this._erasRegex},jt.erasNarrowRegex=function fh(_){return k(this,"_erasNarrowRegex")||xu.call(this),_?this._erasNarrowRegex:this._erasRegex},jt.months=function Ya(_,S){return _?M(this._months)?this._months[_.month()]:this._months[(this._months.isFormat||js).test(S)?"format":"standalone"][_.month()]:M(this._months)?this._months:this._months.standalone},jt.monthsShort=function Io(_,S){return _?M(this._monthsShort)?this._monthsShort[_.month()]:this._monthsShort[js.test(S)?"format":"standalone"][_.month()]:M(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},jt.monthsParse=function ar(_,S,R){var N,G,re;if(this._monthsParseExact)return sl.call(this,_,S,R);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),N=0;N<12;N++){if(G=Q([2e3,N]),R&&!this._longMonthsParse[N]&&(this._longMonthsParse[N]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[N]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!R&&!this._monthsParse[N]&&(re="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[N]=new RegExp(re.replace(".",""),"i")),R&&"MMMM"===S&&this._longMonthsParse[N].test(_))return N;if(R&&"MMM"===S&&this._shortMonthsParse[N].test(_))return N;if(!R&&this._monthsParse[N].test(_))return N}},jt.monthsRegex=function di(_){return this._monthsParseExact?(k(this,"_monthsRegex")||ol.call(this),_?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&_?this._monthsStrictRegex:this._monthsRegex)},jt.monthsShortRegex=function is(_){return this._monthsParseExact?(k(this,"_monthsRegex")||ol.call(this),_?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=uo),this._monthsShortStrictRegex&&_?this._monthsShortStrictRegex:this._monthsShortRegex)},jt.week=function cp(_){return cr(_,this._week.dow,this._week.doy).week},jt.firstDayOfYear=function Rt(){return this._week.doy},jt.firstDayOfWeek=function lp(){return this._week.dow},jt.weekdays=function $d(_,S){var R=M(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?De(R,this._week.dow):_?R[_.day()]:R},jt.weekdaysMin=function os(_){return!0===_?De(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin},jt.weekdaysShort=function po(_){return!0===_?De(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort},jt.weekdaysParse=function pu(_,S,R){var N,G,re;if(this._weekdaysParseExact)return Fo.call(this,_,S,R);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),N=0;N<7;N++){if(G=Q([2e3,1]).day(N),R&&!this._fullWeekdaysParse[N]&&(this._fullWeekdaysParse[N]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[N]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[N]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[N]||(re="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[N]=new RegExp(re.replace(".",""),"i")),R&&"dddd"===S&&this._fullWeekdaysParse[N].test(_))return N;if(R&&"ddd"===S&&this._shortWeekdaysParse[N].test(_))return N;if(R&&"dd"===S&&this._minWeekdaysParse[N].test(_))return N;if(!R&&this._weekdaysParse[N].test(_))return N}},jt.weekdaysRegex=function go(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Fi),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)},jt.weekdaysShortRegex=function ci(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fu),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},jt.weekdaysMinRegex=function Ys(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Wa.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ga),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},jt.isPM=function gu(_){return"p"===(_+"").toLowerCase().charAt(0)},jt.meridiem=function Xd(_,S,R){return _>11?R?"pm":"PM":R?"am":"AM"},P("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(_){var S=_%10;return _+(1===Ce(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),i.lang=wt("moment.lang is deprecated. Use moment.locale instead.",P),i.langData=wt("moment.langData is deprecated. Use moment.localeData instead.",W);var Ls=Math.abs;function Tp(_,S,R,N){var G=$n(S,R);return _._milliseconds+=N*G._milliseconds,_._days+=N*G._days,_._months+=N*G._months,_._bubble()}function hc(_){return _<0?Math.floor(_):Math.ceil(_)}function bh(_){return 4800*_/146097}function yl(_){return 146097*_/4800}function rs(_){return function(){return this.as(_)}}var Ah=rs("ms"),Ep=rs("s"),sn=rs("m"),kp=rs("h"),wh=rs("d"),Al=rs("w"),la=rs("M"),Mh=rs("Q"),Dp=rs("y");function as(_){return function(){return this.isValid()?this._data[_]:NaN}}var Hu=as("milliseconds"),ua=as("seconds"),Bu=as("minutes"),vh=as("hours"),Fu=as("days"),wl=as("months"),Ml=as("years");var vo=Math.round,Rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function pc(_,S,R,N,G){return G.relativeTime(S||1,!!R,_,N)}var ji=Math.abs;function da(_){return(_>0)-(_<0)||+_}function Ar(){if(!this.isValid())return this.localeData().invalidDate();var N,G,re,ye,Nt,bi,Tn,Nn,_=ji(this._milliseconds)/1e3,S=ji(this._days),R=ji(this._months),rt=this.asSeconds();return rt?(N=Fe(_/60),G=Fe(N/60),_%=60,N%=60,re=Fe(R/12),R%=12,ye=_?_.toFixed(3).replace(/\.?0+$/,""):"",Nt=rt<0?"-":"",bi=da(this._months)!==da(rt)?"-":"",Tn=da(this._days)!==da(rt)?"-":"",Nn=da(this._milliseconds)!==da(rt)?"-":"",Nt+"P"+(re?bi+re+"Y":"")+(R?bi+R+"M":"")+(S?Tn+S+"D":"")+(G||N||_?"T":"")+(G?Nn+G+"H":"")+(N?Nn+N+"M":"")+(_?Nn+ye+"S":"")):"P0D"}var It=fr.prototype;return It.isValid=function eh(){return this._isValid},It.abs=function bl(){var _=this._data;return this._milliseconds=Ls(this._milliseconds),this._days=Ls(this._days),this._months=Ls(this._months),_.milliseconds=Ls(_.milliseconds),_.seconds=Ls(_.seconds),_.minutes=Ls(_.minutes),_.hours=Ls(_.hours),_.months=Ls(_.months),_.years=Ls(_.years),this},It.add=function dc(_,S){return Tp(this,_,S,1)},It.subtract=function Nu(_,S){return Tp(this,_,S,-1)},It.as=function yh(_){if(!this.isValid())return NaN;var S,R,N=this._milliseconds;if("month"===(_=Jt(_))||"quarter"===_||"year"===_)switch(S=this._days+N/864e5,R=this._months+bh(S),_){case"month":return R;case"quarter":return R/3;case"year":return R/12}else switch(S=this._days+Math.round(yl(this._months)),_){case"week":return S/7+N/6048e5;case"day":return S+N/864e5;case"hour":return 24*S+N/36e5;case"minute":return 1440*S+N/6e4;case"second":return 86400*S+N/1e3;case"millisecond":return Math.floor(864e5*S)+N;default:throw new Error("Unknown unit "+_)}},It.asMilliseconds=Ah,It.asSeconds=Ep,It.asMinutes=sn,It.asHours=kp,It.asDays=wh,It.asWeeks=Al,It.asMonths=la,It.asQuarters=Mh,It.asYears=Dp,It.valueOf=function Sp(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ce(this._months/12):NaN},It._bubble=function Cp(){var G,re,ye,rt,Nt,_=this._milliseconds,S=this._days,R=this._months,N=this._data;return _>=0&&S>=0&&R>=0||_<=0&&S<=0&&R<=0||(_+=864e5*hc(yl(R)+S),S=0,R=0),N.milliseconds=_%1e3,G=Fe(_/1e3),N.seconds=G%60,re=Fe(G/60),N.minutes=re%60,ye=Fe(re/60),N.hours=ye%24,S+=Fe(ye/24),R+=Nt=Fe(bh(S)),S-=hc(yl(Nt)),rt=Fe(R/12),R%=12,N.days=S,N.months=R,N.years=rt,this},It.clone=function xp(){return $n(this)},It.get=function fc(_){return _=Jt(_),this.isValid()?this[_+"s"]():NaN},It.milliseconds=Hu,It.seconds=ua,It.minutes=Bu,It.hours=vh,It.days=Fu,It.weeks=function Th(){return Fe(this.days()/7)},It.months=wl,It.years=Ml,It.humanize=function Op(_,S){if(!this.isValid())return this.localeData().invalidDate();var G,re,R=!1,N=Rs;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(R=_),"object"==typeof S&&(N=Object.assign({},Rs,S),null!=S.s&&null==S.ss&&(N.ss=S.s-1)),re=function Lp(_,S,R,N){var G=$n(_).abs(),re=vo(G.as("s")),ye=vo(G.as("m")),rt=vo(G.as("h")),Nt=vo(G.as("d")),bi=vo(G.as("M")),Tn=vo(G.as("w")),Nn=vo(G.as("y")),Wo=re<=R.ss&&["s",re]||re0,Wo[4]=N,pc.apply(null,Wo)}(this,!R,N,G=this.localeData()),R&&(re=G.pastFuture(+this,re)),G.postformat(re)},It.toISOString=Ar,It.toString=Ar,It.toJSON=Ar,It.locale=pl,It.localeData=gl,It.toIsoString=wt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ar),It.lang=ch,Xe("X",0,0,"unix"),Xe("x",0,0,"valueOf"),Ie("x",lo),Ie("X",/[+-]?\d+(\.\d{1,3})?/),At("X",function(_,S,R){R._d=new Date(1e3*parseFloat(_))}),At("x",function(_,S,R){R._d=new Date(Ce(_))}),i.version="2.29.1",function T(_){b=_}(Pt),i.fn=Pe,i.min=function zn(){return Xa("isBefore",[].slice.call(arguments,0))},i.max=function Vs(){return Xa("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=Q,i.unix=function mh(_){return Pt(1e3*_)},i.months=function lc(_,S){return ca(_,S,"months")},i.isDate=F,i.locale=P,i.invalid=ze,i.duration=$n,i.isMoment=$e,i.weekdays=function vp(_,S,R){return Iu(_,S,R,"weekdays")},i.parseZone=function Qn(){return Pt.apply(null,arguments).parseZone()},i.localeData=W,i.isDuration=Gs,i.monthsShort=function Mp(_,S){return ca(_,S,"monthsShort")},i.weekdaysMin=function _h(_,S,R){return Iu(_,S,R,"weekdaysMin")},i.defineLocale=V,i.updateLocale=function z(_,S){if(null!=S){var R,N,G=$a;null!=Mi[_]&&null!=Mi[_].parentLocale?Mi[_].set(_e(Mi[_]._config,S)):(null!=(N=hi(_))&&(G=N._config),S=_e(G,S),null==N&&(S.abbr=_),(R=new Re(S)).parentLocale=Mi[_],Mi[_]=R),P(_)}else null!=Mi[_]&&(null!=Mi[_].parentLocale?(Mi[_]=Mi[_].parentLocale,_===P()&&P(_)):null!=Mi[_]&&delete Mi[_]);return Mi[_]},i.locales=function ne(){return fe(Mi)},i.weekdaysShort=function uc(_,S,R){return Iu(_,S,R,"weekdaysShort")},i.normalizeUnits=Jt,i.relativeTimeRounding=function Rp(_){return void 0===_?vo:"function"==typeof _&&(vo=_,!0)},i.relativeTimeThreshold=function Ch(_,S){return void 0!==Rs[_]&&(void 0===S?Rs[_]:(Rs[_]=S,"s"===_&&(Rs.ss=S-1),!0))},i.calendarFormat=function ic(_,S){var R=_.diff(S,"days",!0);return R<-6?"sameElse":R<-1?"lastWeek":R<0?"lastDay":R<1?"sameDay":R<2?"nextDay":R<7?"nextWeek":"sameElse"},i.prototype=Pe,i.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"},i}()},1869:(q,Y,w)=>{"use strict";w.d(Y,{d:()=>i});var b=w(3489);class i extends b.L{constructor(M,v,k){super(),this.parent=M,this.outerValue=v,this.outerIndex=k,this.index=0}_next(M){this.parent.notifyNext(this.outerValue,M,this.outerIndex,this.index++,this)}_error(M){this.parent.notifyError(M,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>v});var b=w(8896),i=w(1086),T=w(1737);class v{constructor(L,I,B){this.kind=L,this.value=I,this.error=B,this.hasValue="N"===L}observe(L){switch(this.kind){case"N":return L.next&&L.next(this.value);case"E":return L.error&&L.error(this.error);case"C":return L.complete&&L.complete()}}do(L,I,B){switch(this.kind){case"N":return L&&L(this.value);case"E":return I&&I(this.error);case"C":return B&&B()}}accept(L,I,B){return L&&"function"==typeof L.next?this.observe(L):this.do(L,I,B)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,b.c)()}throw new Error("unexpected notification kind value")}static createNext(L){return void 0!==L?new v("N",L):v.undefinedValueNotification}static createError(L){return new v("E",void 0,L)}static createComplete(){return v.completeNotification}}v.completeNotification=new v("C"),v.undefinedValueNotification=new v("N",void 0)},2916:(q,Y,w)=>{"use strict";w.d(Y,{y:()=>U});var b=w(3489),T=w(7668),M=w(3292),k=w(3821),L=w(5379);var F=w(2830);let U=(()=>{class Q{constructor(ee){this._isScalar=!1,ee&&(this._subscribe=ee)}lift(ee){const ce=new Q;return ce.source=this,ce.operator=ee,ce}subscribe(ee,ce,he){const{operator:ze}=this,He=function v(Q,ae,ee){if(Q){if(Q instanceof b.L)return Q;if(Q[T.b])return Q[T.b]()}return Q||ae||ee?new b.L(Q,ae,ee):new b.L(M.c)}(ee,ce,he);if(He.add(ze?ze.call(He,this.source):this.source||F.v.useDeprecatedSynchronousErrorHandling&&!He.syncErrorThrowable?this._subscribe(He):this._trySubscribe(He)),F.v.useDeprecatedSynchronousErrorHandling&&He.syncErrorThrowable&&(He.syncErrorThrowable=!1,He.syncErrorThrown))throw He.syncErrorValue;return He}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ce){F.v.useDeprecatedSynchronousErrorHandling&&(ee.syncErrorThrown=!0,ee.syncErrorValue=ce),function i(Q){for(;Q;){const{closed:ae,destination:ee,isStopped:ce}=Q;if(ae||ce)return!1;Q=ee&&ee instanceof b.L?ee:null}return!0}(ee)?ee.error(ce):console.warn(ce)}}forEach(ee,ce){return new(ce=X(ce))((he,ze)=>{let He;He=this.subscribe(Ze=>{try{ee(Ze)}catch(bt){ze(bt),He&&He.unsubscribe()}},ze,he)})}_subscribe(ee){const{source:ce}=this;return ce&&ce.subscribe(ee)}[k.L](){return this}pipe(...ee){return 0===ee.length?this:function B(Q){return 0===Q.length?L.y:1===Q.length?Q[0]:function(ee){return Q.reduce((ce,he)=>he(ce),ee)}}(ee)(this)}toPromise(ee){return new(ee=X(ee))((ce,he)=>{let ze;this.subscribe(He=>ze=He,He=>he(He),()=>ce(ze))})}}return Q.create=ae=>new Q(ae),Q})();function X(Q){if(Q||(Q=F.v.Promise||Promise),!Q)throw new Error("no Promise impl found");return Q}},3292:(q,Y,w)=>{"use strict";w.d(Y,{c:()=>T});var b=w(2830),i=w(2782);const T={closed:!0,next(M){},error(M){if(b.v.useDeprecatedSynchronousErrorHandling)throw M;(0,i.z)(M)},complete(){}}},826:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>i});var b=w(3489);class i extends b.L{notifyNext(M,v,k,L,I){this.destination.next(v)}notifyError(M,v){this.destination.error(M)}notifyComplete(M){this.destination.complete()}}},8929:(q,Y,w)=>{"use strict";w.d(Y,{Yc:()=>L,xQ:()=>I});var b=w(2916),i=w(3489),T=w(2654),M=w(5279),v=w(5283),k=w(7668);class L extends i.L{constructor(U){super(U),this.destination=U}}let I=(()=>{class F extends b.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k.b](){return new L(this)}lift(X){const Q=new B(this,this);return Q.operator=X,Q}next(X){if(this.closed)throw new M.N;if(!this.isStopped){const{observers:Q}=this,ae=Q.length,ee=Q.slice();for(let ce=0;cenew B(U,X),F})();class B extends I{constructor(U,X){super(),this.destination=U,this.source=X}next(U){const{destination:X}=this;X&&X.next&&X.next(U)}error(U){const{destination:X}=this;X&&X.error&&this.destination.error(U)}complete(){const{destination:U}=this;U&&U.complete&&this.destination.complete()}_subscribe(U){const{source:X}=this;return X?this.source.subscribe(U):T.w.EMPTY}}},5283:(q,Y,w)=>{"use strict";w.d(Y,{W:()=>i});var b=w(2654);class i extends b.w{constructor(M,v){super(),this.subject=M,this.subscriber=v,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const M=this.subject,v=M.observers;if(this.subject=null,!v||0===v.length||M.isStopped||M.closed)return;const k=v.indexOf(this.subscriber);-1!==k&&v.splice(k,1)}}},3489:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>L});var b=w(7043),i=w(3292),T=w(2654),M=w(7668),v=w(2830),k=w(2782);class L extends T.w{constructor(F,U,X){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!F){this.destination=i.c;break}if("object"==typeof F){F instanceof L?(this.syncErrorThrowable=F.syncErrorThrowable,this.destination=F,F.add(this)):(this.syncErrorThrowable=!0,this.destination=new I(this,F));break}default:this.syncErrorThrowable=!0,this.destination=new I(this,F,U,X)}}[M.b](){return this}static create(F,U,X){const Q=new L(F,U,X);return Q.syncErrorThrowable=!1,Q}next(F){this.isStopped||this._next(F)}error(F){this.isStopped||(this.isStopped=!0,this._error(F))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(F){this.destination.next(F)}_error(F){this.destination.error(F),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:F}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=F,this}}class I extends L{constructor(F,U,X,Q){super(),this._parentSubscriber=F;let ae,ee=this;(0,b.m)(U)?ae=U:U&&(ae=U.next,X=U.error,Q=U.complete,U!==i.c&&(ee=Object.create(U),(0,b.m)(ee.unsubscribe)&&this.add(ee.unsubscribe.bind(ee)),ee.unsubscribe=this.unsubscribe.bind(this))),this._context=ee,this._next=ae,this._error=X,this._complete=Q}next(F){if(!this.isStopped&&this._next){const{_parentSubscriber:U}=this;v.v.useDeprecatedSynchronousErrorHandling&&U.syncErrorThrowable?this.__tryOrSetError(U,this._next,F)&&this.unsubscribe():this.__tryOrUnsub(this._next,F)}}error(F){if(!this.isStopped){const{_parentSubscriber:U}=this,{useDeprecatedSynchronousErrorHandling:X}=v.v;if(this._error)X&&U.syncErrorThrowable?(this.__tryOrSetError(U,this._error,F),this.unsubscribe()):(this.__tryOrUnsub(this._error,F),this.unsubscribe());else if(U.syncErrorThrowable)X?(U.syncErrorValue=F,U.syncErrorThrown=!0):(0,k.z)(F),this.unsubscribe();else{if(this.unsubscribe(),X)throw F;(0,k.z)(F)}}}complete(){if(!this.isStopped){const{_parentSubscriber:F}=this;if(this._complete){const U=()=>this._complete.call(this._context);v.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,U),this.unsubscribe()):(this.__tryOrUnsub(U),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(F,U){try{F.call(this._context,U)}catch(X){if(this.unsubscribe(),v.v.useDeprecatedSynchronousErrorHandling)throw X;(0,k.z)(X)}}__tryOrSetError(F,U,X){if(!v.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{U.call(this._context,X)}catch(Q){return v.v.useDeprecatedSynchronousErrorHandling?(F.syncErrorValue=Q,F.syncErrorThrown=!0,!0):((0,k.z)(Q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:F}=this;this._context=null,this._parentSubscriber=null,F.unsubscribe()}}},2654:(q,Y,w)=>{"use strict";w.d(Y,{w:()=>k});var b=w(6688),i=w(7830),T=w(7043);const v=(()=>{function I(B){return Error.call(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((F,U)=>`${U+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B,this}return I.prototype=Object.create(Error.prototype),I})();class k{constructor(B){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,B&&(this._unsubscribe=B)}unsubscribe(){let B;if(this.closed)return;let{_parentOrParents:F,_unsubscribe:U,_subscriptions:X}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,F instanceof k)F.remove(this);else if(null!==F)for(let Q=0;QB.concat(F instanceof v?F.errors:F),[])}k.EMPTY=((I=new k).closed=!0,I)},2830:(q,Y,w)=>{"use strict";w.d(Y,{v:()=>i});let b=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(T){if(T){const M=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+M.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=T},get useDeprecatedSynchronousErrorHandling(){return b}}},1762:(q,Y,w)=>{"use strict";w.d(Y,{c:()=>v,N:()=>k});var b=w(8929),i=w(2916),T=w(2654),M=w(4327);class v extends i.y{constructor(U,X){super(),this.source=U,this.subjectFactory=X,this._refCount=0,this._isComplete=!1}_subscribe(U){return this.getSubject().subscribe(U)}getSubject(){const U=this._subject;return(!U||U.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let U=this._connection;return U||(this._isComplete=!1,U=this._connection=new T.w,U.add(this.source.subscribe(new L(this.getSubject(),this))),U.closed&&(this._connection=null,U=T.w.EMPTY)),U}refCount(){return(0,M.x)()(this)}}const k=(()=>{const F=v.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:F._subscribe},_isComplete:{value:F._isComplete,writable:!0},getSubject:{value:F.getSubject},connect:{value:F.connect},refCount:{value:F.refCount}}})();class L extends b.Yc{constructor(U,X){super(U),this.connectable=X}_error(U){this._unsubscribe(),super._error(U)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const U=this.connectable;if(U){this.connectable=null;const X=U._connection;U._refCount=0,U._subject=null,U._connection=null,X&&X.unsubscribe()}}}},6053:(q,Y,w)=>{"use strict";w.d(Y,{aj:()=>L});var b=w(2866),i=w(6688),T=w(826),M=w(9054),v=w(3009);const k={};function L(...F){let U=null,X=null;return(0,b.K)(F[F.length-1])&&(X=F.pop()),"function"==typeof F[F.length-1]&&(U=F.pop()),1===F.length&&(0,i.k)(F[0])&&(F=F[0]),(0,v.n)(F,X).lift(new I(U))}class I{constructor(U){this.resultSelector=U}call(U,X){return X.subscribe(new B(U,this.resultSelector))}}class B extends T.L{constructor(U,X){super(U),this.resultSelector=X,this.active=0,this.values=[],this.observables=[]}_next(U){this.values.push(k),this.observables.push(U)}_complete(){const U=this.observables,X=U.length;if(0===X)this.destination.complete();else{this.active=X,this.toRespond=X;for(let Q=0;Q{"use strict";w.d(Y,{E:()=>i,c:()=>T});var b=w(2916);const i=new b.y(v=>v.complete());function T(v){return v?function M(v){return new b.y(k=>v.schedule(()=>k.complete()))}(v):i}},5254:(q,Y,w)=>{"use strict";w.d(Y,{D:()=>ee});var b=w(2916),i=w(9249),T=w(2654),M=w(3821),L=w(6454),I=w(5430),U=w(8955),X=w(8515);function ee(ce,he){return he?function ae(ce,he){if(null!=ce){if(function F(ce){return ce&&"function"==typeof ce[M.L]}(ce))return function v(ce,he){return new b.y(ze=>{const He=new T.w;return He.add(he.schedule(()=>{const Ze=ce[M.L]();He.add(Ze.subscribe({next(bt){He.add(he.schedule(()=>ze.next(bt)))},error(bt){He.add(he.schedule(()=>ze.error(bt)))},complete(){He.add(he.schedule(()=>ze.complete()))}}))})),He})}(ce,he);if((0,U.t)(ce))return function k(ce,he){return new b.y(ze=>{const He=new T.w;return He.add(he.schedule(()=>ce.then(Ze=>{He.add(he.schedule(()=>{ze.next(Ze),He.add(he.schedule(()=>ze.complete()))}))},Ze=>{He.add(he.schedule(()=>ze.error(Ze)))}))),He})}(ce,he);if((0,X.z)(ce))return(0,L.r)(ce,he);if(function Q(ce){return ce&&"function"==typeof ce[I.hZ]}(ce)||"string"==typeof ce)return function B(ce,he){if(!ce)throw new Error("Iterable cannot be null");return new b.y(ze=>{const He=new T.w;let Ze;return He.add(()=>{Ze&&"function"==typeof Ze.return&&Ze.return()}),He.add(he.schedule(()=>{Ze=ce[I.hZ](),He.add(he.schedule(function(){if(ze.closed)return;let bt,St;try{const $e=Ze.next();bt=$e.value,St=$e.done}catch($e){return void ze.error($e)}St?ze.complete():(ze.next(bt),this.schedule())}))})),He})}(ce,he)}throw new TypeError((null!==ce&&typeof ce||ce)+" is not observable")}(ce,he):ce instanceof b.y?ce:new b.y((0,i.s)(ce))}},3009:(q,Y,w)=>{"use strict";w.d(Y,{n:()=>M});var b=w(2916),i=w(3650),T=w(6454);function M(v,k){return k?(0,T.r)(v,k):new b.y((0,i.V)(v))}},6787:(q,Y,w)=>{"use strict";w.d(Y,{T:()=>v});var b=w(2916),i=w(2866),T=w(9146),M=w(3009);function v(...k){let L=Number.POSITIVE_INFINITY,I=null,B=k[k.length-1];return(0,i.K)(B)?(I=k.pop(),k.length>1&&"number"==typeof k[k.length-1]&&(L=k.pop())):"number"==typeof B&&(L=k.pop()),null===I&&1===k.length&&k[0]instanceof b.y?k[0]:(0,T.J)(L)((0,M.n)(k,I))}},1086:(q,Y,w)=>{"use strict";w.d(Y,{of:()=>M});var b=w(2866),i=w(3009),T=w(6454);function M(...v){let k=v[v.length-1];return(0,b.K)(k)?(v.pop(),(0,T.r)(v,k)):(0,i.n)(v)}},1946:(q,Y,w)=>{"use strict";w.d(Y,{S3:()=>v});var b=w(6688),i=w(3009),T=w(826),M=w(9054);function v(...I){if(1===I.length){if(!(0,b.k)(I[0]))return I[0];I=I[0]}return(0,i.n)(I,void 0).lift(new k)}class k{call(B,F){return F.subscribe(new L(B))}}class L extends T.L{constructor(B){super(B),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(B){this.observables.push(B)}_complete(){const B=this.observables,F=B.length;if(0===F)this.destination.complete();else{for(let U=0;U{"use strict";w.d(Y,{_:()=>i});var b=w(2916);function i(M,v){return new b.y(v?k=>v.schedule(T,0,{error:M,subscriber:k}):k=>k.error(M))}function T({error:M,subscriber:v}){v.error(M)}},7221:(q,Y,w)=>{"use strict";w.d(Y,{K:()=>M});var b=w(826),i=w(1869),T=w(9054);function M(L){return function(B){const F=new v(L),U=B.lift(F);return F.caught=U}}class v{constructor(I){this.selector=I}call(I,B){return B.subscribe(new k(I,this.selector,this.caught))}}class k extends b.L{constructor(I,B,F){super(I),this.selector=B,this.caught=F}error(I){if(!this.isStopped){let B;try{B=this.selector(I,this.caught)}catch(X){return void super.error(X)}this._unsubscribeAndRecycle();const F=new i.d(this,void 0,void 0);this.add(F);const U=(0,T.D)(this,B,void 0,void 0,F);U!==F&&this.add(U)}}}},1406:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>i});var b=w(1709);function i(T,M){return(0,b.zg)(T,M,1)}},13:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>T});var b=w(3489),i=w(353);function T(L,I=i.P){return B=>B.lift(new M(L,I))}class M{constructor(I,B){this.dueTime=I,this.scheduler=B}call(I,B){return B.subscribe(new v(I,this.dueTime,this.scheduler))}}class v extends b.L{constructor(I,B,F){super(I),this.dueTime=B,this.scheduler=F,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(I){this.clearDebounce(),this.lastValue=I,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(k,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:I}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(I)}}clearDebounce(){const I=this.debouncedSubscription;null!==I&&(this.remove(I),I.unsubscribe(),this.debouncedSubscription=null)}}function k(L){L.debouncedNext()}},7314:(q,Y,w)=>{"use strict";w.d(Y,{d:()=>i});var b=w(3489);function i(v=null){return k=>k.lift(new T(v))}class T{constructor(k){this.defaultValue=k}call(k,L){return L.subscribe(new M(k,this.defaultValue))}}class M extends b.L{constructor(k,L){super(k),this.defaultValue=L,this.isEmpty=!0}_next(k){this.isEmpty=!1,this.destination.next(k)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(q,Y,w)=>{"use strict";w.d(Y,{g:()=>v});var b=w(353),i=w(2697),T=w(3489),M=w(9312);function v(B,F=b.P){const X=(0,i.J)(B)?+B-F.now():Math.abs(B);return Q=>Q.lift(new k(X,F))}class k{constructor(F,U){this.delay=F,this.scheduler=U}call(F,U){return U.subscribe(new L(F,this.delay,this.scheduler))}}class L extends T.L{constructor(F,U,X){super(F),this.delay=U,this.scheduler=X,this.queue=[],this.active=!1,this.errored=!1}static dispatch(F){const U=F.source,X=U.queue,Q=F.scheduler,ae=F.destination;for(;X.length>0&&X[0].time-Q.now()<=0;)X.shift().notification.observe(ae);if(X.length>0){const ee=Math.max(0,X[0].time-Q.now());this.schedule(F,ee)}else this.unsubscribe(),U.active=!1}_schedule(F){this.active=!0,this.destination.add(F.schedule(L.dispatch,this.delay,{source:this,destination:this.destination,scheduler:F}))}scheduleNotification(F){if(!0===this.errored)return;const U=this.scheduler,X=new I(U.now()+this.delay,F);this.queue.push(X),!1===this.active&&this._schedule(U)}_next(F){this.scheduleNotification(M.P.createNext(F))}_error(F){this.errored=!0,this.queue=[],this.destination.error(F),this.unsubscribe()}_complete(){this.scheduleNotification(M.P.createComplete()),this.unsubscribe()}}class I{constructor(F,U){this.time=F,this.notification=U}}},2198:(q,Y,w)=>{"use strict";w.d(Y,{h:()=>i});var b=w(3489);function i(v,k){return function(I){return I.lift(new T(v,k))}}class T{constructor(k,L){this.predicate=k,this.thisArg=L}call(k,L){return L.subscribe(new M(k,this.predicate,this.thisArg))}}class M extends b.L{constructor(k,L,I){super(k),this.predicate=L,this.thisArg=I,this.count=0}_next(k){let L;try{L=this.predicate.call(this.thisArg,k,this.count++)}catch(I){return void this.destination.error(I)}L&&this.destination.next(k)}}},7224:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>L});var b=w(4450),i=w(2198),T=w(2986),M=w(7314),v=w(4907),k=w(5379);function L(I,B){const F=arguments.length>=2;return U=>U.pipe(I?(0,i.h)((X,Q)=>I(X,Q,U)):k.y,(0,T.q)(1),F?(0,M.d)(B):(0,v.T)(()=>new b.K))}},4850:(q,Y,w)=>{"use strict";w.d(Y,{U:()=>i});var b=w(3489);function i(v,k){return function(I){if("function"!=typeof v)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return I.lift(new T(v,k))}}class T{constructor(k,L){this.project=k,this.thisArg=L}call(k,L){return L.subscribe(new M(k,this.project,this.thisArg))}}class M extends b.L{constructor(k,L,I){super(k),this.project=L,this.count=0,this.thisArg=I||this}_next(k){let L;try{L=this.project.call(this.thisArg,k,this.count++)}catch(I){return void this.destination.error(I)}this.destination.next(L)}}},9146:(q,Y,w)=>{"use strict";w.d(Y,{J:()=>T});var b=w(1709),i=w(5379);function T(M=Number.POSITIVE_INFINITY){return(0,b.zg)(i.y,M)}},1709:(q,Y,w)=>{"use strict";w.d(Y,{zg:()=>k});var b=w(9054),i=w(826),T=w(1869),M=w(4850),v=w(5254);function k(B,F,U=Number.POSITIVE_INFINITY){return"function"==typeof F?X=>X.pipe(k((Q,ae)=>(0,v.D)(B(Q,ae)).pipe((0,M.U)((ee,ce)=>F(Q,ee,ae,ce))),U)):("number"==typeof F&&(U=F),X=>X.lift(new L(B,U)))}class L{constructor(F,U=Number.POSITIVE_INFINITY){this.project=F,this.concurrent=U}call(F,U){return U.subscribe(new I(F,this.project,this.concurrent))}}class I extends i.L{constructor(F,U,X=Number.POSITIVE_INFINITY){super(F),this.project=U,this.concurrent=X,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(F){this.active0?this._next(U.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(q,Y,w)=>{"use strict";w.d(Y,{x:()=>i});var b=w(3489);function i(){return function(k){return k.lift(new T(k))}}class T{constructor(k){this.connectable=k}call(k,L){const{connectable:I}=this;I._refCount++;const B=new M(k,I),F=L.subscribe(B);return B.closed||(B.connection=I.connect()),F}}class M extends b.L{constructor(k,L){super(k),this.connectable=L}_unsubscribe(){const{connectable:k}=this;if(!k)return void(this.connection=null);this.connectable=null;const L=k._refCount;if(L<=0)return void(this.connection=null);if(k._refCount=L-1,L>1)return void(this.connection=null);const{connection:I}=this,B=k._connection;this.connection=null,B&&(!I||B===I)&&B.unsubscribe()}}},2474:(q,Y,w)=>{"use strict";w.d(Y,{B:()=>L});var b=w(1762);class T{constructor(B,F){this.subjectFactory=B,this.selector=F}call(B,F){const{selector:U}=this,X=this.subjectFactory(),Q=U(X).subscribe(B);return Q.add(F.subscribe(X)),Q}}var M=w(4327),v=w(8929);function k(){return new v.xQ}function L(){return I=>(0,M.x)()(function i(I,B){return function(U){let X;if(X="function"==typeof I?I:function(){return I},"function"==typeof B)return U.lift(new T(X,B));const Q=Object.create(U,b.N);return Q.source=U,Q.subjectFactory=X,Q}}(k)(I))}},7545:(q,Y,w)=>{"use strict";w.d(Y,{w:()=>k});var b=w(826),i=w(1869),T=w(9054),M=w(4850),v=w(5254);function k(B,F){return"function"==typeof F?U=>U.pipe(k((X,Q)=>(0,v.D)(B(X,Q)).pipe((0,M.U)((ae,ee)=>F(X,ae,Q,ee))))):U=>U.lift(new L(B))}class L{constructor(F){this.project=F}call(F,U){return U.subscribe(new I(F,this.project))}}class I extends b.L{constructor(F,U){super(F),this.project=U,this.index=0}_next(F){let U;const X=this.index++;try{U=this.project(F,X)}catch(Q){return void this.destination.error(Q)}this._innerSub(U,F,X)}_innerSub(F,U,X){const Q=this.innerSubscription;Q&&Q.unsubscribe();const ae=new i.d(this,U,X),ee=this.destination;ee.add(ae),this.innerSubscription=(0,T.D)(this,F,void 0,void 0,ae),this.innerSubscription!==ae&&ee.add(this.innerSubscription)}_complete(){const{innerSubscription:F}=this;(!F||F.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(F){this.destination.remove(F),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(F,U,X,Q,ae){this.destination.next(U)}}},2986:(q,Y,w)=>{"use strict";w.d(Y,{q:()=>M});var b=w(3489),i=w(4231),T=w(8896);function M(L){return I=>0===L?(0,T.c)():I.lift(new v(L))}class v{constructor(I){if(this.total=I,this.total<0)throw new i.W}call(I,B){return B.subscribe(new k(I,this.total))}}class k extends b.L{constructor(I,B){super(I),this.total=B,this.count=0}_next(I){const B=this.total,F=++this.count;F<=B&&(this.destination.next(I),F===B&&(this.destination.complete(),this.unsubscribe()))}}},2868:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>M});var b=w(3489);function i(){}var T=w(7043);function M(L,I,B){return function(U){return U.lift(new v(L,I,B))}}class v{constructor(I,B,F){this.nextOrObserver=I,this.error=B,this.complete=F}call(I,B){return B.subscribe(new k(I,this.nextOrObserver,this.error,this.complete))}}class k extends b.L{constructor(I,B,F,U){super(I),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=F||i,this._tapComplete=U||i,(0,T.m)(B)?(this._context=this,this._tapNext=B):B&&(this._context=B,this._tapNext=B.next||i,this._tapError=B.error||i,this._tapComplete=B.complete||i)}_next(I){try{this._tapNext.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.next(I)}_error(I){try{this._tapError.call(this._context,I)}catch(B){return void this.destination.error(B)}this.destination.error(I)}_complete(){try{this._tapComplete.call(this._context)}catch(I){return void this.destination.error(I)}return this.destination.complete()}}},4907:(q,Y,w)=>{"use strict";w.d(Y,{T:()=>T});var b=w(4450),i=w(3489);function T(L=k){return I=>I.lift(new M(L))}class M{constructor(I){this.errorFactory=I}call(I,B){return B.subscribe(new v(I,this.errorFactory))}}class v extends i.L{constructor(I,B){super(I),this.errorFactory=B,this.hasValue=!1}_next(I){this.hasValue=!0,this.destination.next(I)}_complete(){if(this.hasValue)return this.destination.complete();{let I;try{I=this.errorFactory()}catch(B){I=B}this.destination.error(I)}}}function k(){return new b.K}},6227:(q,Y,w)=>{"use strict";w.d(Y,{V:()=>U});var b=w(353);const T=(()=>{function X(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return X.prototype=Object.create(Error.prototype),X})();var M=w(2697),v=w(826),k=w(9054);class I{constructor(Q,ae,ee,ce){this.waitFor=Q,this.absoluteTimeout=ae,this.withObservable=ee,this.scheduler=ce}call(Q,ae){return ae.subscribe(new B(Q,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class B extends v.L{constructor(Q,ae,ee,ce,he){super(Q),this.absoluteTimeout=ae,this.waitFor=ee,this.withObservable=ce,this.scheduler=he,this.action=null,this.scheduleTimeout()}static dispatchTimeout(Q){const{withObservable:ae}=Q;Q._unsubscribeAndRecycle(),Q.add((0,k.D)(Q,ae))}scheduleTimeout(){const{action:Q}=this;Q?this.action=Q.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(B.dispatchTimeout,this.waitFor,this))}_next(Q){this.absoluteTimeout||this.scheduleTimeout(),super._next(Q)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var F=w(1737);function U(X,Q=b.P){return function L(X,Q,ae=b.P){return ee=>{let ce=(0,M.J)(X),he=ce?+X-ae.now():Math.abs(X);return ee.lift(new I(he,ce,Q,ae))}}(X,(0,F._)(new T),Q)}},6454:(q,Y,w)=>{"use strict";w.d(Y,{r:()=>T});var b=w(2916),i=w(2654);function T(M,v){return new b.y(k=>{const L=new i.w;let I=0;return L.add(v.schedule(function(){I!==M.length?(k.next(M[I++]),k.closed||L.add(this.schedule())):k.complete()})),L})}},6686:(q,Y,w)=>{"use strict";w.d(Y,{o:()=>T});var b=w(2654);class i extends b.w{constructor(v,k){super()}schedule(v,k=0){return this}}class T extends i{constructor(v,k){super(v,k),this.scheduler=v,this.work=k,this.pending=!1}schedule(v,k=0){if(this.closed)return this;this.state=v;const L=this.id,I=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(I,L,k)),this.pending=!0,this.delay=k,this.id=this.id||this.requestAsyncId(I,this.id,k),this}requestAsyncId(v,k,L=0){return setInterval(v.flush.bind(v,this),L)}recycleAsyncId(v,k,L=0){if(null!==L&&this.delay===L&&!1===this.pending)return k;clearInterval(k)}execute(v,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const L=this._execute(v,k);if(L)return L;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(v,k){let I,L=!1;try{this.work(v)}catch(B){L=!0,I=!!B&&B||new Error(B)}if(L)return this.unsubscribe(),I}_unsubscribe(){const v=this.id,k=this.scheduler,L=k.actions,I=L.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==I&&L.splice(I,1),null!=v&&(this.id=this.recycleAsyncId(k,v,null)),this.delay=null}}},2268:(q,Y,w)=>{"use strict";w.d(Y,{v:()=>i});let b=(()=>{class T{constructor(v,k=T.now){this.SchedulerAction=v,this.now=k}schedule(v,k=0,L){return new this.SchedulerAction(this,v).schedule(L,k)}}return T.now=()=>Date.now(),T})();class i extends b{constructor(M,v=b.now){super(M,()=>i.delegate&&i.delegate!==this?i.delegate.now():v()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(M,v=0,k){return i.delegate&&i.delegate!==this?i.delegate.schedule(M,v,k):super.schedule(M,v,k)}flush(M){const{actions:v}=this;if(this.active)return void v.push(M);let k;this.active=!0;do{if(k=M.execute(M.state,M.delay))break}while(M=v.shift());if(this.active=!1,k){for(;M=v.shift();)M.unsubscribe();throw k}}}},353:(q,Y,w)=>{"use strict";w.d(Y,{P:()=>T});var b=w(6686);const T=new(w(2268).v)(b.o)},5430:(q,Y,w)=>{"use strict";w.d(Y,{hZ:()=>i});const i=function b(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(q,Y,w)=>{"use strict";w.d(Y,{L:()=>b});const b="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(q,Y,w)=>{"use strict";w.d(Y,{b:()=>b});const b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(q,Y,w)=>{"use strict";w.d(Y,{W:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return T.prototype=Object.create(Error.prototype),T})()},4450:(q,Y,w)=>{"use strict";w.d(Y,{K:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return T.prototype=Object.create(Error.prototype),T})()},5279:(q,Y,w)=>{"use strict";w.d(Y,{N:()=>i});const i=(()=>{function T(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return T.prototype=Object.create(Error.prototype),T})()},2782:(q,Y,w)=>{"use strict";function b(i){setTimeout(()=>{throw i},0)}w.d(Y,{z:()=>b})},5379:(q,Y,w)=>{"use strict";function b(i){return i}w.d(Y,{y:()=>b})},6688:(q,Y,w)=>{"use strict";w.d(Y,{k:()=>b});const b=Array.isArray||(i=>i&&"number"==typeof i.length)},8515:(q,Y,w)=>{"use strict";w.d(Y,{z:()=>b});const b=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2697:(q,Y,w)=>{"use strict";function b(i){return i instanceof Date&&!isNaN(+i)}w.d(Y,{J:()=>b})},7043:(q,Y,w)=>{"use strict";function b(i){return"function"==typeof i}w.d(Y,{m:()=>b})},7830:(q,Y,w)=>{"use strict";function b(i){return null!==i&&"object"==typeof i}w.d(Y,{K:()=>b})},8955:(q,Y,w)=>{"use strict";function b(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}w.d(Y,{t:()=>b})},2866:(q,Y,w)=>{"use strict";function b(i){return i&&"function"==typeof i.schedule}w.d(Y,{K:()=>b})},9249:(q,Y,w)=>{"use strict";w.d(Y,{s:()=>U});var b=w(3650),i=w(2782),M=w(5430),k=w(3821),I=w(8515),B=w(8955),F=w(7830);const U=X=>{if(X&&"function"==typeof X[k.L])return(X=>Q=>{const ae=X[k.L]();if("function"!=typeof ae.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ae.subscribe(Q)})(X);if((0,I.z)(X))return(0,b.V)(X);if((0,B.t)(X))return(X=>Q=>(X.then(ae=>{Q.closed||(Q.next(ae),Q.complete())},ae=>Q.error(ae)).then(null,i.z),Q))(X);if(X&&"function"==typeof X[M.hZ])return(X=>Q=>{const ae=X[M.hZ]();for(;;){const ee=ae.next();if(ee.done){Q.complete();break}if(Q.next(ee.value),Q.closed)break}return"function"==typeof ae.return&&Q.add(()=>{ae.return&&ae.return()}),Q})(X);{const ae=`You provided ${(0,F.K)(X)?"an invalid object":`'${X}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ae)}}},3650:(q,Y,w)=>{"use strict";w.d(Y,{V:()=>b});const b=i=>T=>{for(let M=0,v=i.length;M{"use strict";w.d(Y,{D:()=>M});var b=w(1869),i=w(9249),T=w(2916);function M(v,k,L,I,B=new b.d(v,L,I)){if(!B.closed)return k instanceof T.y?k.subscribe(B):(0,i.s)(k)(B)}},6700:(q,Y,w)=>{var b={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":3165,"./hy-am.js":3165,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":4486,"./th.js":4486,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function i(M){var v=T(M);return w(v)}function T(M){if(!w.o(b,M)){var v=new Error("Cannot find module '"+M+"'");throw v.code="MODULE_NOT_FOUND",v}return b[M]}i.keys=function(){return Object.keys(b)},i.resolve=T,q.exports=i,i.id=6700},655:(q,Y,w)=>{"use strict";function I(de,ge,Ae,_e){return new(Ae||(Ae=Promise))(function(fe,yt){function vt(ft){try{ot(_e.next(ft))}catch(jn){yt(jn)}}function wi(ft){try{ot(_e.throw(ft))}catch(jn){yt(jn)}}function ot(ft){ft.done?fe(ft.value):function Re(fe){return fe instanceof Ae?fe:new Ae(function(yt){yt(fe)})}(ft.value).then(vt,wi)}ot((_e=_e.apply(de,ge||[])).next())})}w.d(Y,{mG:()=>I})},9808:(q,Y,w)=>{"use strict";w.d(Y,{mr:()=>He,Ov:()=>Mn,ez:()=>Gr,K0:()=>L,uU:()=>Fi,Do:()=>bt,V_:()=>F,Ye:()=>St,S$:()=>he,mk:()=>Io,sg:()=>wn,O5:()=>is,PC:()=>cr,RF:()=>Un,n9:()=>ns,ED:()=>Ua,b0:()=>Ze,lw:()=>I,gd:()=>Bi,EM:()=>lr,JF:()=>hi,NF:()=>Pn,PM:()=>Za,w_:()=>k,bD:()=>Ka,q:()=>T,Mx:()=>Ya,HT:()=>v});var b=w(5e3);let i=null;function T(){return i}function v(P){i||(i=P)}class k{}const L=new b.OlP("DocumentToken");let I=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function B(){return(0,b.LFG)(U)}()},providedIn:"platform"}),P})();const F=new b.OlP("Location Initialized");let U=(()=>{class P extends I{constructor(z){super(),this._doc=z,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(z){const W=T().getGlobalEventTarget(this._doc,"window");return W.addEventListener("popstate",z,!1),()=>W.removeEventListener("popstate",z)}onHashChange(z){const W=T().getGlobalEventTarget(this._doc,"window");return W.addEventListener("hashchange",z,!1),()=>W.removeEventListener("hashchange",z)}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(z){this.location.pathname=z}pushState(z,W,ne){X()?this._history.pushState(z,W,ne):this.location.hash=ne}replaceState(z,W,ne){X()?this._history.replaceState(z,W,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(z=0){this._history.go(z)}getState(){return this._history.state}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(L))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function Q(){return new U((0,b.LFG)(L))}()},providedIn:"platform"}),P})();function X(){return!!window.history.pushState}function ae(P,V){if(0==P.length)return V;if(0==V.length)return P;let z=0;return P.endsWith("/")&&z++,V.startsWith("/")&&z++,2==z?P+V.substring(1):1==z?P+V:P+"/"+V}function ee(P){const V=P.match(/#|\?|$/),z=V&&V.index||P.length;return P.slice(0,z-("/"===P[z-1]?1:0))+P.slice(z)}function ce(P){return P&&"?"!==P[0]?"?"+P:P}let he=(()=>{class P{historyGo(z){throw new Error("Not implemented")}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275prov=b.Yz7({token:P,factory:function(){return function ze(P){const V=(0,b.LFG)(L).location;return new Ze((0,b.LFG)(I),V&&V.origin||"")}()},providedIn:"root"}),P})();const He=new b.OlP("appBaseHref");let Ze=(()=>{class P extends he{constructor(z,W){if(super(),this._platformLocation=z,this._removeListenerFns=[],null==W&&(W=this._platformLocation.getBaseHrefFromDOM()),null==W)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=W}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}prepareExternalUrl(z){return ae(this._baseHref,z)}path(z=!1){const W=this._platformLocation.pathname+ce(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&z?`${W}${ne}`:W}pushState(z,W,ne,me){const Te=this.prepareExternalUrl(ne+ce(me));this._platformLocation.pushState(z,W,Te)}replaceState(z,W,ne,me){const Te=this.prepareExternalUrl(ne+ce(me));this._platformLocation.replaceState(z,W,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformLocation).historyGo)||void 0===ne||ne.call(W,z)}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(I),b.LFG(He,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),bt=(()=>{class P extends he{constructor(z,W){super(),this._platformLocation=z,this._baseHref="",this._removeListenerFns=[],null!=W&&(this._baseHref=W)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(z){this._removeListenerFns.push(this._platformLocation.onPopState(z),this._platformLocation.onHashChange(z))}getBaseHref(){return this._baseHref}path(z=!1){let W=this._platformLocation.hash;return null==W&&(W="#"),W.length>0?W.substring(1):W}prepareExternalUrl(z){const W=ae(this._baseHref,z);return W.length>0?"#"+W:W}pushState(z,W,ne,me){let Te=this.prepareExternalUrl(ne+ce(me));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.pushState(z,W,Te)}replaceState(z,W,ne,me){let Te=this.prepareExternalUrl(ne+ce(me));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.replaceState(z,W,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformLocation).historyGo)||void 0===ne||ne.call(W,z)}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(I),b.LFG(He,8))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})(),St=(()=>{class P{constructor(z,W){this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=z;const ne=this._platformStrategy.getBaseHref();this._platformLocation=W,this._baseHref=ee(wt(ne)),this._platformStrategy.onPopState(me=>{this._subject.emit({url:this.path(!0),pop:!0,state:me.state,type:me.type})})}path(z=!1){return this.normalize(this._platformStrategy.path(z))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(z,W=""){return this.path()==this.normalize(z+ce(W))}normalize(z){return P.stripTrailingSlash(function Wi(P,V){return P&&V.startsWith(P)?V.substring(P.length):V}(this._baseHref,wt(z)))}prepareExternalUrl(z){return z&&"/"!==z[0]&&(z="/"+z),this._platformStrategy.prepareExternalUrl(z)}go(z,W="",ne=null){this._platformStrategy.pushState(ne,"",z,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(W)),ne)}replaceState(z,W="",ne=null){this._platformStrategy.replaceState(ne,"",z,W),this._notifyUrlChangeListeners(this.prepareExternalUrl(z+ce(W)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(z=0){var W,ne;null===(ne=(W=this._platformStrategy).historyGo)||void 0===ne||ne.call(W,z)}onUrlChange(z){this._urlChangeListeners.push(z),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(W=>{this._notifyUrlChangeListeners(W.url,W.state)}))}_notifyUrlChangeListeners(z="",W){this._urlChangeListeners.forEach(ne=>ne(z,W))}subscribe(z,W,ne){return this._subject.subscribe({next:z,error:W,complete:ne})}}return P.normalizeQueryParams=ce,P.joinWithSlash=ae,P.stripTrailingSlash=ee,P.\u0275fac=function(z){return new(z||P)(b.LFG(he),b.LFG(I))},P.\u0275prov=b.Yz7({token:P,factory:function(){return function $e(){return new St((0,b.LFG)(he),(0,b.LFG)(I))}()},providedIn:"root"}),P})();function wt(P){return P.replace(/\/index.html$/,"")}var ge=(()=>((ge=ge||{})[ge.Zero=0]="Zero",ge[ge.One=1]="One",ge[ge.Two=2]="Two",ge[ge.Few=3]="Few",ge[ge.Many=4]="Many",ge[ge.Other=5]="Other",ge))(),Ae=(()=>((Ae=Ae||{})[Ae.Format=0]="Format",Ae[Ae.Standalone=1]="Standalone",Ae))(),_e=(()=>((_e=_e||{})[_e.Narrow=0]="Narrow",_e[_e.Abbreviated=1]="Abbreviated",_e[_e.Wide=2]="Wide",_e[_e.Short=3]="Short",_e))(),Re=(()=>((Re=Re||{})[Re.Short=0]="Short",Re[Re.Medium=1]="Medium",Re[Re.Long=2]="Long",Re[Re.Full=3]="Full",Re))(),fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Group=1]="Group",fe[fe.List=2]="List",fe[fe.PercentSign=3]="PercentSign",fe[fe.PlusSign=4]="PlusSign",fe[fe.MinusSign=5]="MinusSign",fe[fe.Exponential=6]="Exponential",fe[fe.SuperscriptingExponent=7]="SuperscriptingExponent",fe[fe.PerMille=8]="PerMille",fe[fe.Infinity=9]="Infinity",fe[fe.NaN=10]="NaN",fe[fe.TimeSeparator=11]="TimeSeparator",fe[fe.CurrencyDecimal=12]="CurrencyDecimal",fe[fe.CurrencyGroup=13]="CurrencyGroup",fe))();function ai(P,V){return Ve((0,b.cg1)(P)[b.wAp.DateFormat],V)}function ps(P,V){return Ve((0,b.cg1)(P)[b.wAp.TimeFormat],V)}function pn(P,V){return Ve((0,b.cg1)(P)[b.wAp.DateTimeFormat],V)}function ui(P,V){const z=(0,b.cg1)(P),W=z[b.wAp.NumberSymbols][V];if(void 0===W){if(V===fe.CurrencyDecimal)return z[b.wAp.NumberSymbols][fe.Decimal];if(V===fe.CurrencyGroup)return z[b.wAp.NumberSymbols][fe.Group]}return W}const Yn=b.kL8;function le(P){if(!P[b.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${P[b.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ve(P,V){for(let z=V;z>-1;z--)if(void 0!==P[z])return P[z];throw new Error("Locale data API: locale data undefined")}function nt(P){const[V,z]=P.split(":");return{hours:+V,minutes:+z}}const se=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Oe={},ke=/((?:[^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 Fe=(()=>((Fe=Fe||{})[Fe.Short=0]="Short",Fe[Fe.ShortGMT=1]="ShortGMT",Fe[Fe.Long=2]="Long",Fe[Fe.Extended=3]="Extended",Fe))(),Ce=(()=>((Ce=Ce||{})[Ce.FullYear=0]="FullYear",Ce[Ce.Month=1]="Month",Ce[Ce.Date=2]="Date",Ce[Ce.Hours=3]="Hours",Ce[Ce.Minutes=4]="Minutes",Ce[Ce.Seconds=5]="Seconds",Ce[Ce.FractionalSeconds=6]="FractionalSeconds",Ce[Ce.Day=7]="Day",Ce))(),Ge=(()=>((Ge=Ge||{})[Ge.DayPeriods=0]="DayPeriods",Ge[Ge.Days=1]="Days",Ge[Ge.Months=2]="Months",Ge[Ge.Eras=3]="Eras",Ge))();function xt(P,V,z,W){let ne=function Ie(P){if(mn(P))return P;if("number"==typeof P&&!isNaN(P))return new Date(P);if("string"==typeof P){if(P=P.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(P)){const[ne,me=1,Te=1]=P.split("-").map(tt=>+tt);return Ni(ne,me-1,Te)}const z=parseFloat(P);if(!isNaN(P-z))return new Date(z);let W;if(W=P.match(se))return function ki(P){const V=new Date(0);let z=0,W=0;const ne=P[8]?V.setUTCFullYear:V.setFullYear,me=P[8]?V.setUTCHours:V.setHours;P[9]&&(z=Number(P[9]+P[10]),W=Number(P[9]+P[11])),ne.call(V,Number(P[1]),Number(P[2])-1,Number(P[3]));const Te=Number(P[4]||0)-z,tt=Number(P[5]||0)-W,li=Number(P[6]||0),Xt=Math.floor(1e3*parseFloat("0."+(P[7]||0)));return me.call(V,Te,tt,li,Xt),V}(W)}const V=new Date(P);if(!mn(V))throw new Error(`Unable to convert "${P}" into a date`);return V}(P);V=Ft(z,V)||V;let tt,Te=[];for(;V;){if(tt=ke.exec(V),!tt){Te.push(V);break}{Te=Te.concat(tt.slice(1));const Ot=Te.pop();if(!Ot)break;V=Ot}}let li=ne.getTimezoneOffset();W&&(li=rr(W,li),ne=function D(P,V,z){const W=z?-1:1,ne=P.getTimezoneOffset();return function Yr(P,V){return(P=new Date(P.getTime())).setMinutes(P.getMinutes()+V),P}(P,W*(rr(V,ne)-ne))}(ne,W,!0));let Xt="";return Te.forEach(Ot=>{const Zt=function or(P){if(ms[P])return ms[P];let V;switch(P){case"G":case"GG":case"GGG":V=Kt(Ge.Eras,_e.Abbreviated);break;case"GGGG":V=Kt(Ge.Eras,_e.Wide);break;case"GGGGG":V=Kt(Ge.Eras,_e.Narrow);break;case"y":V=We(Ce.FullYear,1,0,!1,!0);break;case"yy":V=We(Ce.FullYear,2,0,!0,!0);break;case"yyy":V=We(Ce.FullYear,3,0,!1,!0);break;case"yyyy":V=We(Ce.FullYear,4,0,!1,!0);break;case"Y":V=lo(1);break;case"YY":V=lo(2,!0);break;case"YYY":V=lo(3);break;case"YYYY":V=lo(4);break;case"M":case"L":V=We(Ce.Month,1,1);break;case"MM":case"LL":V=We(Ce.Month,2,1);break;case"MMM":V=Kt(Ge.Months,_e.Abbreviated);break;case"MMMM":V=Kt(Ge.Months,_e.Wide);break;case"MMMMM":V=Kt(Ge.Months,_e.Narrow);break;case"LLL":V=Kt(Ge.Months,_e.Abbreviated,Ae.Standalone);break;case"LLLL":V=Kt(Ge.Months,_e.Wide,Ae.Standalone);break;case"LLLLL":V=Kt(Ge.Months,_e.Narrow,Ae.Standalone);break;case"w":V=co(1);break;case"ww":V=co(2);break;case"W":V=co(1,!0);break;case"d":V=We(Ce.Date,1);break;case"dd":V=We(Ce.Date,2);break;case"c":case"cc":V=We(Ce.Day,1);break;case"ccc":V=Kt(Ge.Days,_e.Abbreviated,Ae.Standalone);break;case"cccc":V=Kt(Ge.Days,_e.Wide,Ae.Standalone);break;case"ccccc":V=Kt(Ge.Days,_e.Narrow,Ae.Standalone);break;case"cccccc":V=Kt(Ge.Days,_e.Short,Ae.Standalone);break;case"E":case"EE":case"EEE":V=Kt(Ge.Days,_e.Abbreviated);break;case"EEEE":V=Kt(Ge.Days,_e.Wide);break;case"EEEEE":V=Kt(Ge.Days,_e.Narrow);break;case"EEEEEE":V=Kt(Ge.Days,_e.Short);break;case"a":case"aa":case"aaa":V=Kt(Ge.DayPeriods,_e.Abbreviated);break;case"aaaa":V=Kt(Ge.DayPeriods,_e.Wide);break;case"aaaaa":V=Kt(Ge.DayPeriods,_e.Narrow);break;case"b":case"bb":case"bbb":V=Kt(Ge.DayPeriods,_e.Abbreviated,Ae.Standalone,!0);break;case"bbbb":V=Kt(Ge.DayPeriods,_e.Wide,Ae.Standalone,!0);break;case"bbbbb":V=Kt(Ge.DayPeriods,_e.Narrow,Ae.Standalone,!0);break;case"B":case"BB":case"BBB":V=Kt(Ge.DayPeriods,_e.Abbreviated,Ae.Format,!0);break;case"BBBB":V=Kt(Ge.DayPeriods,_e.Wide,Ae.Format,!0);break;case"BBBBB":V=Kt(Ge.DayPeriods,_e.Narrow,Ae.Format,!0);break;case"h":V=We(Ce.Hours,1,-12);break;case"hh":V=We(Ce.Hours,2,-12);break;case"H":V=We(Ce.Hours,1);break;case"HH":V=We(Ce.Hours,2);break;case"m":V=We(Ce.Minutes,1);break;case"mm":V=We(Ce.Minutes,2);break;case"s":V=We(Ce.Seconds,1);break;case"ss":V=We(Ce.Seconds,2);break;case"S":V=We(Ce.FractionalSeconds,1);break;case"SS":V=We(Ce.FractionalSeconds,2);break;case"SSS":V=We(Ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":V=gs(Fe.Short);break;case"ZZZZZ":V=gs(Fe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":V=gs(Fe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":V=gs(Fe.Long);break;default:return null}return ms[P]=V,V}(Ot);Xt+=Zt?Zt(ne,z,li):"''"===Ot?"'":Ot.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xt}function Ni(P,V,z){const W=new Date(0);return W.setFullYear(P,V,z),W.setHours(0,0,0),W}function Ft(P,V){const z=function vt(P){return(0,b.cg1)(P)[b.wAp.LocaleId]}(P);if(Oe[z]=Oe[z]||{},Oe[z][V])return Oe[z][V];let W="";switch(V){case"shortDate":W=ai(P,Re.Short);break;case"mediumDate":W=ai(P,Re.Medium);break;case"longDate":W=ai(P,Re.Long);break;case"fullDate":W=ai(P,Re.Full);break;case"shortTime":W=ps(P,Re.Short);break;case"mediumTime":W=ps(P,Re.Medium);break;case"longTime":W=ps(P,Re.Long);break;case"fullTime":W=ps(P,Re.Full);break;case"short":const ne=Ft(P,"shortTime"),me=Ft(P,"shortDate");W=qs(pn(P,Re.Short),[ne,me]);break;case"medium":const Te=Ft(P,"mediumTime"),tt=Ft(P,"mediumDate");W=qs(pn(P,Re.Medium),[Te,tt]);break;case"long":const li=Ft(P,"longTime"),Xt=Ft(P,"longDate");W=qs(pn(P,Re.Long),[li,Xt]);break;case"full":const Ot=Ft(P,"fullTime"),Zt=Ft(P,"fullDate");W=qs(pn(P,Re.Full),[Ot,Zt])}return W&&(Oe[z][V]=W),W}function qs(P,V){return V&&(P=P.replace(/\{([^}]+)}/g,function(z,W){return null!=V&&W in V?V[W]:z})),P}function Hi(P,V,z="-",W,ne){let me="";(P<0||ne&&P<=0)&&(ne?P=1-P:(P=-P,me=z));let Te=String(P);for(;Te.length0||tt>-z)&&(tt+=z),P===Ce.Hours)0===tt&&-12===z&&(tt=12);else if(P===Ce.FractionalSeconds)return function ct(P,V){return Hi(P,3).substr(0,V)}(tt,V);const li=ui(Te,fe.MinusSign);return Hi(tt,V,li,W,ne)}}function Kt(P,V,z=Ae.Format,W=!1){return function(ne,me){return function Mt(P,V,z,W,ne,me){switch(z){case Ge.Months:return function ft(P,V,z){const W=(0,b.cg1)(P),me=Ve([W[b.wAp.MonthsFormat],W[b.wAp.MonthsStandalone]],V);return Ve(me,z)}(V,ne,W)[P.getMonth()];case Ge.Days:return function ot(P,V,z){const W=(0,b.cg1)(P),me=Ve([W[b.wAp.DaysFormat],W[b.wAp.DaysStandalone]],V);return Ve(me,z)}(V,ne,W)[P.getDay()];case Ge.DayPeriods:const Te=P.getHours(),tt=P.getMinutes();if(me){const Xt=function xe(P){const V=(0,b.cg1)(P);return le(V),(V[b.wAp.ExtraData][2]||[]).map(W=>"string"==typeof W?nt(W):[nt(W[0]),nt(W[1])])}(V),Ot=function pe(P,V,z){const W=(0,b.cg1)(P);le(W);const me=Ve([W[b.wAp.ExtraData][0],W[b.wAp.ExtraData][1]],V)||[];return Ve(me,z)||[]}(V,ne,W),Zt=Xt.findIndex(Zi=>{if(Array.isArray(Zi)){const[vi,_i]=Zi,bo=Te>=vi.hours&&tt>=vi.minutes,Ss=Te<_i.hours||Te===_i.hours&&tt<_i.minutes;if(vi.hours<_i.hours){if(bo&&Ss)return!0}else if(bo||Ss)return!0}else if(Zi.hours===Te&&Zi.minutes===tt)return!0;return!1});if(-1!==Zt)return Ot[Zt]}return function wi(P,V,z){const W=(0,b.cg1)(P),me=Ve([W[b.wAp.DayPeriodsFormat],W[b.wAp.DayPeriodsStandalone]],V);return Ve(me,z)}(V,ne,W)[Te<12?0:1];case Ge.Eras:return function jn(P,V){return Ve((0,b.cg1)(P)[b.wAp.Eras],V)}(V,W)[P.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${z}`)}}(ne,me,P,V,z,W)}}function gs(P){return function(V,z,W){const ne=-1*W,me=ui(z,fe.MinusSign),Te=ne>0?Math.floor(ne/60):Math.ceil(ne/60);switch(P){case Fe.Short:return(ne>=0?"+":"")+Hi(Te,2,me)+Hi(Math.abs(ne%60),2,me);case Fe.ShortGMT:return"GMT"+(ne>=0?"+":"")+Hi(Te,1,me);case Fe.Long:return"GMT"+(ne>=0?"+":"")+Hi(Te,2,me)+":"+Hi(Math.abs(ne%60),2,me);case Fe.Extended:return 0===W?"Z":(ne>=0?"+":"")+Hi(Te,2,me)+":"+Hi(Math.abs(ne%60),2,me);default:throw new Error(`Unknown zone width "${P}"`)}}}function zo(P){return Ni(P.getFullYear(),P.getMonth(),P.getDate()+(4-P.getDay()))}function co(P,V=!1){return function(z,W){let ne;if(V){const me=new Date(z.getFullYear(),z.getMonth(),1).getDay()-1,Te=z.getDate();ne=1+Math.floor((Te+me)/7)}else{const me=zo(z),Te=function nl(P){const V=Ni(P,0,1).getDay();return Ni(P,0,1+(V<=4?4:11)-V)}(me.getFullYear()),tt=me.getTime()-Te.getTime();ne=1+Math.round(tt/6048e5)}return Hi(ne,P,ui(W,fe.MinusSign))}}function lo(P,V=!1){return function(z,W){return Hi(zo(z).getFullYear(),P,ui(W,fe.MinusSign),V)}}const ms={};function rr(P,V){P=P.replace(/:/g,"");const z=Date.parse("Jan 01, 1970 00:00:00 "+P)/6e4;return isNaN(z)?V:z}function mn(P){return P instanceof Date&&!isNaN(P.valueOf())}class Tt{}let uo=(()=>{class P extends Tt{constructor(z){super(),this.locale=z}getPluralCategory(z,W){switch(Yn(W||this.locale)(z)){case ge.Zero:return"zero";case ge.One:return"one";case ge.Two:return"two";case ge.Few:return"few";case ge.Many:return"many";default:return"other"}}}return P.\u0275fac=function(z){return new(z||P)(b.LFG(b.soG))},P.\u0275prov=b.Yz7({token:P,factory:P.\u0275fac}),P})();function Ya(P,V){V=encodeURIComponent(V);for(const z of P.split(";")){const W=z.indexOf("="),[ne,me]=-1==W?[z,""]:[z.slice(0,W),z.slice(W+1)];if(ne.trim()===V)return decodeURIComponent(me)}return null}let Io=(()=>{class P{constructor(z,W,ne,me){this._iterableDiffers=z,this._keyValueDiffers=W,this._ngEl=ne,this._renderer=me,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(z){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof z?z.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(z){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof z?z.split(/\s+/):z,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const z=this._iterableDiffer.diff(this._rawClass);z&&this._applyIterableChanges(z)}else if(this._keyValueDiffer){const z=this._keyValueDiffer.diff(this._rawClass);z&&this._applyKeyValueChanges(z)}}_applyKeyValueChanges(z){z.forEachAddedItem(W=>this._toggleClass(W.key,W.currentValue)),z.forEachChangedItem(W=>this._toggleClass(W.key,W.currentValue)),z.forEachRemovedItem(W=>{W.previousValue&&this._toggleClass(W.key,!1)})}_applyIterableChanges(z){z.forEachAddedItem(W=>{if("string"!=typeof W.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,b.AaK)(W.item)}`);this._toggleClass(W.item,!0)}),z.forEachRemovedItem(W=>this._toggleClass(W.item,!1))}_applyClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(W=>this._toggleClass(W,!0)):Object.keys(z).forEach(W=>this._toggleClass(W,!!z[W])))}_removeClasses(z){z&&(Array.isArray(z)||z instanceof Set?z.forEach(W=>this._toggleClass(W,!1)):Object.keys(z).forEach(W=>this._toggleClass(W,!1)))}_toggleClass(z,W){(z=z.trim())&&z.split(/\s+/g).forEach(ne=>{W?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),P})();class ar{constructor(V,z,W,ne){this.$implicit=V,this.ngForOf=z,this.index=W,this.count=ne}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 wn=(()=>{class P{constructor(z,W,ne){this._viewContainer=z,this._template=W,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(z){this._ngForOf=z,this._ngForOfDirty=!0}set ngForTrackBy(z){this._trackByFn=z}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(z){z&&(this._template=z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const z=this._ngForOf;!this._differ&&z&&(this._differ=this._differs.find(z).create(this.ngForTrackBy))}if(this._differ){const z=this._differ.diff(this._ngForOf);z&&this._applyChanges(z)}}_applyChanges(z){const W=this._viewContainer;z.forEachOperation((ne,me,Te)=>{if(null==ne.previousIndex)W.createEmbeddedView(this._template,new ar(ne.item,this._ngForOf,-1,-1),null===Te?void 0:Te);else if(null==Te)W.remove(null===me?void 0:me);else if(null!==me){const tt=W.get(me);W.move(tt,Te),No(tt,ne)}});for(let ne=0,me=W.length;ne{No(W.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(z,W){return!0}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),P})();function No(P,V){P.context.$implicit=V.item}let is=(()=>{class P{constructor(z,W){this._viewContainer=z,this._context=new di,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=W}set ngIf(z){this._context.$implicit=this._context.ngIf=z,this._updateView()}set ngIfThen(z){ol("ngIfThen",z),this._thenTemplateRef=z,this._thenViewRef=null,this._updateView()}set ngIfElse(z){ol("ngIfElse",z),this._elseTemplateRef=z,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(z,W){return!0}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),P})();class di{constructor(){this.$implicit=null,this.ngIf=null}}function ol(P,V){if(V&&!V.createEmbeddedView)throw new Error(`${P} must be a TemplateRef, but received '${(0,b.AaK)(V)}'.`)}class Ho{constructor(V,z){this._viewContainerRef=V,this._templateRef=z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(V){V&&!this._created?this.create():!V&&this._created&&this.destroy()}}let Un=(()=>{class P{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(z){this._ngSwitch=z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(z){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(z)}_matchCase(z){const W=z==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||W,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),W}_updateDefaultCases(z){if(this._defaultViews&&z!==this._defaultUsed){this._defaultUsed=z;for(let W=0;W{class P{constructor(z,W,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Ho(z,W)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Un,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),P})(),Ua=(()=>{class P{constructor(z,W,ne){ne._addDefault(new Ho(z,W))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Un,9))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngSwitchDefault",""]]}),P})(),cr=(()=>{class P{constructor(z,W,ne){this._ngEl=z,this._differs=W,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(z){this._ngStyle=z,!this._differ&&z&&(this._differ=this._differs.find(z).create())}ngDoCheck(){if(this._differ){const z=this._differ.diff(this._ngStyle);z&&this._applyChanges(z)}}_setStyle(z,W){const[ne,me]=z.split(".");null!=(W=null!=W&&me?`${W}${me}`:W)?this._renderer.setStyle(this._ngEl.nativeElement,ne,W):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(z){z.forEachRemovedItem(W=>this._setStyle(W.key,null)),z.forEachAddedItem(W=>this._setStyle(W.key,W.currentValue)),z.forEachChangedItem(W=>this._setStyle(W.key,W.currentValue))}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},P.\u0275dir=b.lG2({type:P,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),P})();function _s(P,V){return new b.vHH(2100,"")}class lp{createSubscription(V,z){return V.subscribe({next:z,error:W=>{throw W}})}dispose(V){V.unsubscribe()}onDestroy(V){V.unsubscribe()}}class Rt{createSubscription(V,z){return V.then(z,W=>{throw W})}dispose(V){}onDestroy(V){}}const Va=new Rt,qt=new lp;let Mn=(()=>{class P{constructor(z){this._ref=z,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(z){return this._obj?z!==this._obj?(this._dispose(),this.transform(z)):this._latestValue:(z&&this._subscribe(z),this._latestValue)}_subscribe(z){this._obj=z,this._strategy=this._selectStrategy(z),this._subscription=this._strategy.createSubscription(z,W=>this._updateLatestValue(z,W))}_selectStrategy(z){if((0,b.QGY)(z))return Va;if((0,b.F4k)(z))return qt;throw _s()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(z,W){z===this._obj&&(this._latestValue=W,this._ref.markForCheck())}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.sBO,16))},P.\u0275pipe=b.Yjl({name:"async",type:P,pure:!1}),P})(),Bi=(()=>{class P{transform(z){if(null==z)return null;if("string"!=typeof z)throw _s();return z.toUpperCase()}}return P.\u0275fac=function(z){return new(z||P)},P.\u0275pipe=b.Yjl({name:"uppercase",type:P,pure:!0}),P})();const Vr=new b.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Fi=(()=>{class P{constructor(z,W){this.locale=z,this.defaultTimezone=W}transform(z,W="mediumDate",ne,me){var Te;if(null==z||""===z||z!=z)return null;try{return xt(z,W,me||this.locale,null!==(Te=null!=ne?ne:this.defaultTimezone)&&void 0!==Te?Te:void 0)}catch(tt){throw _s()}}}return P.\u0275fac=function(z){return new(z||P)(b.Y36(b.soG,16),b.Y36(Vr,24))},P.\u0275pipe=b.Yjl({name:"date",type:P,pure:!0}),P})(),Gr=(()=>{class P{}return P.\u0275fac=function(z){return new(z||P)},P.\u0275mod=b.oAB({type:P}),P.\u0275inj=b.cJS({providers:[{provide:Tt,useClass:uo}]}),P})();const Ka="browser";function Pn(P){return P===Ka}function Za(P){return"server"===P}let lr=(()=>{class P{}return P.\u0275prov=(0,b.Yz7)({token:P,providedIn:"root",factory:()=>new mo((0,b.LFG)(L),window)}),P})();class mo{constructor(V,z){this.document=V,this.window=z,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const z=function en(P,V){const z=P.getElementById(V)||P.getElementsByName(V)[0];if(z)return z;if("function"==typeof P.createTreeWalker&&P.body&&(P.body.createShadowRoot||P.body.attachShadow)){const W=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT);let ne=W.currentNode;for(;ne;){const me=ne.shadowRoot;if(me){const Te=me.getElementById(V)||me.querySelector(`[name="${V}"]`);if(Te)return Te}ne=W.nextNode()}}return null}(this.document,V);z&&(this.scrollToElement(z),z.focus())}setHistoryScrollRestoration(V){if(this.supportScrollRestoration()){const z=this.window.history;z&&z.scrollRestoration&&(z.scrollRestoration=V)}}scrollToElement(V){const z=V.getBoundingClientRect(),W=z.left+this.window.pageXOffset,ne=z.top+this.window.pageYOffset,me=this.offset();this.window.scrollTo(W-me[0],ne-me[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const V=_o(this.window.history)||_o(Object.getPrototypeOf(this.window.history));return!(!V||!V.writable&&!V.set)}catch(V){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(V){return!1}}}function _o(P){return Object.getOwnPropertyDescriptor(P,"scrollRestoration")}class hi{}},520:(q,Y,w)=>{"use strict";w.d(Y,{TP:()=>vt,eN:()=>fe,JF:()=>Ve,WM:()=>F,LE:()=>he,Zn:()=>Ae});var b=w(9808),i=w(5e3),T=w(1086),M=w(2916),v=w(1406),k=w(2198),L=w(4850);class I{}class B{}class F{constructor(te){this.normalizedNames=new Map,this.lazyUpdate=null,te?this.lazyInit="string"==typeof te?()=>{this.headers=new Map,te.split("\n").forEach(se=>{const Oe=se.indexOf(":");if(Oe>0){const ke=se.slice(0,Oe),Fe=ke.toLowerCase(),Ce=se.slice(Oe+1).trim();this.maybeSetNormalizedName(ke,Fe),this.headers.has(Fe)?this.headers.get(Fe).push(Ce):this.headers.set(Fe,[Ce])}})}:()=>{this.headers=new Map,Object.keys(te).forEach(se=>{let Oe=te[se];const ke=se.toLowerCase();"string"==typeof Oe&&(Oe=[Oe]),Oe.length>0&&(this.headers.set(ke,Oe),this.maybeSetNormalizedName(se,ke))})}:this.headers=new Map}has(te){return this.init(),this.headers.has(te.toLowerCase())}get(te){this.init();const se=this.headers.get(te.toLowerCase());return se&&se.length>0?se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(te){return this.init(),this.headers.get(te.toLowerCase())||null}append(te,se){return this.clone({name:te,value:se,op:"a"})}set(te,se){return this.clone({name:te,value:se,op:"s"})}delete(te,se){return this.clone({name:te,value:se,op:"d"})}maybeSetNormalizedName(te,se){this.normalizedNames.has(se)||this.normalizedNames.set(se,te)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(te=>this.applyUpdate(te)),this.lazyUpdate=null))}copyFrom(te){te.init(),Array.from(te.headers.keys()).forEach(se=>{this.headers.set(se,te.headers.get(se)),this.normalizedNames.set(se,te.normalizedNames.get(se))})}clone(te){const se=new F;return se.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,se.lazyUpdate=(this.lazyUpdate||[]).concat([te]),se}applyUpdate(te){const se=te.name.toLowerCase();switch(te.op){case"a":case"s":let Oe=te.value;if("string"==typeof Oe&&(Oe=[Oe]),0===Oe.length)return;this.maybeSetNormalizedName(te.name,se);const ke=("a"===te.op?this.headers.get(se):void 0)||[];ke.push(...Oe),this.headers.set(se,ke);break;case"d":const Fe=te.value;if(Fe){let Ce=this.headers.get(se);if(!Ce)return;Ce=Ce.filter(Ge=>-1===Fe.indexOf(Ge)),0===Ce.length?(this.headers.delete(se),this.normalizedNames.delete(se)):this.headers.set(se,Ce)}else this.headers.delete(se),this.normalizedNames.delete(se)}}forEach(te){this.init(),Array.from(this.normalizedNames.keys()).forEach(se=>te(this.normalizedNames.get(se),this.headers.get(se)))}}class U{encodeKey(te){return ee(te)}encodeValue(te){return ee(te)}decodeKey(te){return decodeURIComponent(te)}decodeValue(te){return decodeURIComponent(te)}}const Q=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ee(we){return encodeURIComponent(we).replace(Q,(te,se)=>{var Oe;return null!==(Oe=ae[se])&&void 0!==Oe?Oe:te})}function ce(we){return`${we}`}class he{constructor(te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=te.encoder||new U,te.fromString){if(te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function X(we,te){const se=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(ke=>{const Fe=ke.indexOf("="),[Ce,Ge]=-1==Fe?[te.decodeKey(ke),""]:[te.decodeKey(ke.slice(0,Fe)),te.decodeValue(ke.slice(Fe+1))],xt=se.get(Ce)||[];xt.push(Ge),se.set(Ce,xt)}),se}(te.fromString,this.encoder)}else te.fromObject?(this.map=new Map,Object.keys(te.fromObject).forEach(se=>{const Oe=te.fromObject[se];this.map.set(se,Array.isArray(Oe)?Oe:[Oe])})):this.map=null}has(te){return this.init(),this.map.has(te)}get(te){this.init();const se=this.map.get(te);return se?se[0]:null}getAll(te){return this.init(),this.map.get(te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(te,se){return this.clone({param:te,value:se,op:"a"})}appendAll(te){const se=[];return Object.keys(te).forEach(Oe=>{const ke=te[Oe];Array.isArray(ke)?ke.forEach(Fe=>{se.push({param:Oe,value:Fe,op:"a"})}):se.push({param:Oe,value:ke,op:"a"})}),this.clone(se)}set(te,se){return this.clone({param:te,value:se,op:"s"})}delete(te,se){return this.clone({param:te,value:se,op:"d"})}toString(){return this.init(),this.keys().map(te=>{const se=this.encoder.encodeKey(te);return this.map.get(te).map(Oe=>se+"="+this.encoder.encodeValue(Oe)).join("&")}).filter(te=>""!==te).join("&")}clone(te){const se=new he({encoder:this.encoder});return se.cloneFrom=this.cloneFrom||this,se.updates=(this.updates||[]).concat(te),se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(te=>this.map.set(te,this.cloneFrom.map.get(te))),this.updates.forEach(te=>{switch(te.op){case"a":case"s":const se=("a"===te.op?this.map.get(te.param):void 0)||[];se.push(ce(te.value)),this.map.set(te.param,se);break;case"d":if(void 0===te.value){this.map.delete(te.param);break}{let Oe=this.map.get(te.param)||[];const ke=Oe.indexOf(ce(te.value));-1!==ke&&Oe.splice(ke,1),Oe.length>0?this.map.set(te.param,Oe):this.map.delete(te.param)}}}),this.cloneFrom=this.updates=null)}}class He{constructor(){this.map=new Map}set(te,se){return this.map.set(te,se),this}get(te){return this.map.has(te)||this.map.set(te,te.defaultValue()),this.map.get(te)}delete(te){return this.map.delete(te),this}has(te){return this.map.has(te)}keys(){return this.map.keys()}}function bt(we){return"undefined"!=typeof ArrayBuffer&&we instanceof ArrayBuffer}function St(we){return"undefined"!=typeof Blob&&we instanceof Blob}function $e(we){return"undefined"!=typeof FormData&&we instanceof FormData}class wt{constructor(te,se,Oe,ke){let Fe;if(this.url=se,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=te.toUpperCase(),function Ze(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==Oe?Oe:null,Fe=ke):Fe=Oe,Fe&&(this.reportProgress=!!Fe.reportProgress,this.withCredentials=!!Fe.withCredentials,Fe.responseType&&(this.responseType=Fe.responseType),Fe.headers&&(this.headers=Fe.headers),Fe.context&&(this.context=Fe.context),Fe.params&&(this.params=Fe.params)),this.headers||(this.headers=new F),this.context||(this.context=new He),this.params){const Ce=this.params.toString();if(0===Ce.length)this.urlWithParams=se;else{const Ge=se.indexOf("?");this.urlWithParams=se+(-1===Ge?"?":GeHi.set(ct,te.setHeaders[ct]),Ni)),te.setParams&&(Ft=Object.keys(te.setParams).reduce((Hi,ct)=>Hi.set(ct,te.setParams[ct]),Ft)),new wt(Oe,ke,Ce,{params:Ft,headers:Ni,context:qs,reportProgress:xt,responseType:Fe,withCredentials:Ge})}}var mt=(()=>((mt=mt||{})[mt.Sent=0]="Sent",mt[mt.UploadProgress=1]="UploadProgress",mt[mt.ResponseHeader=2]="ResponseHeader",mt[mt.DownloadProgress=3]="DownloadProgress",mt[mt.Response=4]="Response",mt[mt.User=5]="User",mt))();class de{constructor(te,se=200,Oe="OK"){this.headers=te.headers||new F,this.status=void 0!==te.status?te.status:se,this.statusText=te.statusText||Oe,this.url=te.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends de{constructor(te={}){super(te),this.type=mt.ResponseHeader}clone(te={}){return new ge({headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class Ae extends de{constructor(te={}){super(te),this.type=mt.Response,this.body=void 0!==te.body?te.body:null}clone(te={}){return new Ae({body:void 0!==te.body?te.body:this.body,headers:te.headers||this.headers,status:void 0!==te.status?te.status:this.status,statusText:te.statusText||this.statusText,url:te.url||this.url||void 0})}}class _e extends de{constructor(te){super(te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${te.url||"(unknown url)"}`:`Http failure response for ${te.url||"(unknown url)"}: ${te.status} ${te.statusText}`,this.error=te.error||null}}function Re(we,te){return{body:te,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let fe=(()=>{class we{constructor(se){this.handler=se}request(se,Oe,ke={}){let Fe;if(se instanceof wt)Fe=se;else{let xt,Ni;xt=ke.headers instanceof F?ke.headers:new F(ke.headers),ke.params&&(Ni=ke.params instanceof he?ke.params:new he({fromObject:ke.params})),Fe=new wt(se,Oe,void 0!==ke.body?ke.body:null,{headers:xt,context:ke.context,params:Ni,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const Ce=(0,T.of)(Fe).pipe((0,v.b)(xt=>this.handler.handle(xt)));if(se instanceof wt||"events"===ke.observe)return Ce;const Ge=Ce.pipe((0,k.h)(xt=>xt instanceof Ae));switch(ke.observe||"body"){case"body":switch(Fe.responseType){case"arraybuffer":return Ge.pipe((0,L.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return Ge.pipe((0,L.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return Ge.pipe((0,L.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return Ge.pipe((0,L.U)(xt=>xt.body))}case"response":return Ge;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(se,Oe={}){return this.request("DELETE",se,Oe)}get(se,Oe={}){return this.request("GET",se,Oe)}head(se,Oe={}){return this.request("HEAD",se,Oe)}jsonp(se,Oe){return this.request("JSONP",se,{params:(new he).append(Oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(se,Oe={}){return this.request("OPTIONS",se,Oe)}patch(se,Oe,ke={}){return this.request("PATCH",se,Re(ke,Oe))}post(se,Oe,ke={}){return this.request("POST",se,Re(ke,Oe))}put(se,Oe,ke={}){return this.request("PUT",se,Re(ke,Oe))}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(I))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();class yt{constructor(te,se){this.next=te,this.interceptor=se}handle(te){return this.interceptor.intercept(te,this.next)}}const vt=new i.OlP("HTTP_INTERCEPTORS");let wi=(()=>{class we{intercept(se,Oe){return Oe.handle(se)}}return we.\u0275fac=function(se){return new(se||we)},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();const pn=/^\)\]\}',?\n/;let Wt=(()=>{class we{constructor(se){this.xhrFactory=se}handle(se){if("JSONP"===se.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new M.y(Oe=>{const ke=this.xhrFactory.build();if(ke.open(se.method,se.urlWithParams),se.withCredentials&&(ke.withCredentials=!0),se.headers.forEach((ct,We)=>ke.setRequestHeader(ct,We.join(","))),se.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!se.headers.has("Content-Type")){const ct=se.detectContentTypeHeader();null!==ct&&ke.setRequestHeader("Content-Type",ct)}if(se.responseType){const ct=se.responseType.toLowerCase();ke.responseType="json"!==ct?ct:"text"}const Fe=se.serializeBody();let Ce=null;const Ge=()=>{if(null!==Ce)return Ce;const ct=ke.statusText||"OK",We=new F(ke.getAllResponseHeaders()),Kn=function ui(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(ke)||se.url;return Ce=new ge({headers:We,status:ke.status,statusText:ct,url:Kn}),Ce},xt=()=>{let{headers:ct,status:We,statusText:Kn,url:Kt}=Ge(),Mt=null;204!==We&&(Mt=void 0===ke.response?ke.responseText:ke.response),0===We&&(We=Mt?200:0);let gs=We>=200&&We<300;if("json"===se.responseType&&"string"==typeof Mt){const ts=Mt;Mt=Mt.replace(pn,"");try{Mt=""!==Mt?JSON.parse(Mt):null}catch(Zn){Mt=ts,gs&&(gs=!1,Mt={error:Zn,text:Mt})}}gs?(Oe.next(new Ae({body:Mt,headers:ct,status:We,statusText:Kn,url:Kt||void 0})),Oe.complete()):Oe.error(new _e({error:Mt,headers:ct,status:We,statusText:Kn,url:Kt||void 0}))},Ni=ct=>{const{url:We}=Ge(),Kn=new _e({error:ct,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:We||void 0});Oe.error(Kn)};let Ft=!1;const qs=ct=>{Ft||(Oe.next(Ge()),Ft=!0);let We={type:mt.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(We.total=ct.total),"text"===se.responseType&&!!ke.responseText&&(We.partialText=ke.responseText),Oe.next(We)},Hi=ct=>{let We={type:mt.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(We.total=ct.total),Oe.next(We)};return ke.addEventListener("load",xt),ke.addEventListener("error",Ni),ke.addEventListener("timeout",Ni),ke.addEventListener("abort",Ni),se.reportProgress&&(ke.addEventListener("progress",qs),null!==Fe&&ke.upload&&ke.upload.addEventListener("progress",Hi)),ke.send(Fe),Oe.next({type:mt.Sent}),()=>{ke.removeEventListener("error",Ni),ke.removeEventListener("abort",Ni),ke.removeEventListener("load",xt),ke.removeEventListener("timeout",Ni),se.reportProgress&&(ke.removeEventListener("progress",qs),null!==Fe&&ke.upload&&ke.upload.removeEventListener("progress",Hi)),ke.readyState!==ke.DONE&&ke.abort()}})}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(b.JF))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})();const gn=new i.OlP("XSRF_COOKIE_NAME"),ro=new i.OlP("XSRF_HEADER_NAME");class ao{}let Fs=(()=>{class we{constructor(se,Oe,ke){this.doc=se,this.platform=Oe,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const se=this.doc.cookie||"";return se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(se,this.cookieName),this.lastCookieString=se),this.lastToken}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(b.K0),i.LFG(i.Lbi),i.LFG(gn))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),Yn=(()=>{class we{constructor(se,Oe){this.tokenService=se,this.headerName=Oe}intercept(se,Oe){const ke=se.url.toLowerCase();if("GET"===se.method||"HEAD"===se.method||ke.startsWith("http://")||ke.startsWith("https://"))return Oe.handle(se);const Fe=this.tokenService.getToken();return null!==Fe&&!se.headers.has(this.headerName)&&(se=se.clone({headers:se.headers.set(this.headerName,Fe)})),Oe.handle(se)}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(ao),i.LFG(ro))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),le=(()=>{class we{constructor(se,Oe){this.backend=se,this.injector=Oe,this.chain=null}handle(se){if(null===this.chain){const Oe=this.injector.get(vt,[]);this.chain=Oe.reduceRight((ke,Fe)=>new yt(ke,Fe),this.backend)}return this.chain.handle(se)}}return we.\u0275fac=function(se){return new(se||we)(i.LFG(B),i.LFG(i.zs3))},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac}),we})(),Ue=(()=>{class we{static disable(){return{ngModule:we,providers:[{provide:Yn,useClass:wi}]}}static withOptions(se={}){return{ngModule:we,providers:[se.cookieName?{provide:gn,useValue:se.cookieName}:[],se.headerName?{provide:ro,useValue:se.headerName}:[]]}}}return we.\u0275fac=function(se){return new(se||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[Yn,{provide:vt,useExisting:Yn,multi:!0},{provide:ao,useClass:Fs},{provide:gn,useValue:"XSRF-TOKEN"},{provide:ro,useValue:"X-XSRF-TOKEN"}]}),we})(),Ve=(()=>{class we{}return we.\u0275fac=function(se){return new(se||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[fe,{provide:I,useClass:le},Wt,{provide:B,useExisting:Wt}],imports:[[Ue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),we})()},5e3:(q,Y,w)=>{"use strict";w.d(Y,{deG:()=>bp,tb:()=>Hf,AFp:()=>KM,ip1:()=>iu,CZH:()=>nu,hGG:()=>Mv,z2F:()=>Vf,sBO:()=>cv,Sil:()=>Ff,_Vd:()=>kd,EJc:()=>Ir,SBq:()=>Dd,qLn:()=>$u,vpe:()=>Lo,tBr:()=>fc,XFs:()=>pe,OlP:()=>Si,zs3:()=>Co,ZZ4:()=>Zf,aQg:()=>Y0,soG:()=>Bf,YKP:()=>mb,h0i:()=>xo,PXZ:()=>Uf,R0b:()=>ds,FiY:()=>as,Lbi:()=>x0,g9A:()=>Gb,n_E:()=>Od,Qsj:()=>xd,FYo:()=>db,JOm:()=>Cn,q3G:()=>Yi,tp0:()=>ua,Rgc:()=>Ql,dDg:()=>Qb,GfV:()=>hb,s_b:()=>zd,ifc:()=>Fe,eFA:()=>z0,G48:()=>ZC,Gpc:()=>U,f3M:()=>wh,_c5:()=>mv,VLi:()=>tv,c2e:()=>so,zSh:()=>Am,wAp:()=>ut,vHH:()=>ee,EiD:()=>hA,mCW:()=>Mr,qzn:()=>gc,JVY:()=>nA,pB0:()=>rA,eBb:()=>Pp,L6k:()=>sA,LAX:()=>oA,cg1:()=>qg,kL8:()=>jg,yhl:()=>_1,dqk:()=>Ft,sIi:()=>Cc,CqO:()=>kw,QGY:()=>n_,F4k:()=>ef,RDi:()=>_o,AaK:()=>I,z3N:()=>wr,qOj:()=>Sr,TTD:()=>go,_Bn:()=>ab,xp6:()=>NA,uIk:()=>Hm,Q2q:()=>hd,Tol:()=>wd,Gre:()=>x_,ekj:()=>cf,Suo:()=>NM,Xpm:()=>zo,lG2:()=>Ie,Yz7:()=>ai,cJS:()=>pn,oAB:()=>rr,Yjl:()=>ki,Y36:()=>wa,_UZ:()=>t_,GkF:()=>Dg,BQk:()=>kg,ynx:()=>ql,qZA:()=>bd,TgZ:()=>Cg,EpF:()=>i_,n5z:()=>hh,Ikx:()=>Nc,LFG:()=>sn,$8M:()=>Du,$Z:()=>e_,NdJ:()=>xg,CRH:()=>HM,kcU:()=>ih,O4$:()=>Mu,oxw:()=>s_,ALo:()=>u0,lcZ:()=>d0,xi3:()=>h0,Dn7:()=>f0,Hsn:()=>r_,F$t:()=>o_,Q6J:()=>vg,s9C:()=>Og,MGl:()=>yd,hYB:()=>Pg,DdM:()=>Ea,VKq:()=>Wn,WLB:()=>yb,iGM:()=>zM,MAs:()=>md,Jf7:()=>mc,CHM:()=>Qd,oJD:()=>Vu,LSH:()=>kh,Udp:()=>Hg,WFA:()=>Lg,d8E:()=>pf,YNc:()=>Aa,_uU:()=>T_,Oqu:()=>Bn,hij:()=>Md,AsE:()=>df,xDo:()=>E_,Gf:()=>IM});var b=w(8929),i=w(2654),T=w(2916),M=w(6787),v=w(2474);function k(l){for(let u in l)if(l[u]===k)return u;throw Error("Could not find renamed property on target object.")}function L(l,u){for(const f in u)u.hasOwnProperty(f)&&!l.hasOwnProperty(f)&&(l[f]=u[f])}function I(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(I).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const f=u.indexOf("\n");return-1===f?u:u.substring(0,f)}function B(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const F=k({__forward_ref__:k});function U(l){return l.__forward_ref__=U,l.toString=function(){return I(this())},l}function X(l){return Q(l)?l():l}function Q(l){return"function"==typeof l&&l.hasOwnProperty(F)&&l.__forward_ref__===U}class ee extends Error{constructor(u,f){super(function ce(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}(u,f)),this.code=u}}function he(l){return"string"==typeof l?l:null==l?"":String(l)}function ze(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():he(l)}function St(l,u){const f=u?` in ${u}`:"";throw new ee(-201,`No provider for ${ze(l)} found${f}`)}function ot(l,u){null==l&&function ft(l,u,f,p){throw new Error(`ASSERTION ERROR: ${l}`+(null==p?"":` [Expected=> ${f} ${p} ${u} <=Actual]`))}(u,l,null,"!=")}function ai(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function pn(l){return{providers:l.providers||[],imports:l.imports||[]}}function ui(l){return Wt(l,Fs)||Wt(l,le)}function Wt(l,u){return l.hasOwnProperty(u)?l[u]:null}function ao(l){return l&&(l.hasOwnProperty(Yn)||l.hasOwnProperty(xe))?l[Yn]:null}const Fs=k({\u0275prov:k}),Yn=k({\u0275inj:k}),le=k({ngInjectableDef:k}),xe=k({ngInjectorDef:k});var pe=(()=>((pe=pe||{})[pe.Default=0]="Default",pe[pe.Host=1]="Host",pe[pe.Self=2]="Self",pe[pe.SkipSelf=4]="SkipSelf",pe[pe.Optional=8]="Optional",pe))();let Ue;function nt(l){const u=Ue;return Ue=l,u}function Jt(l,u,f){const p=ui(l);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:f&pe.Optional?null:void 0!==u?u:void St(I(l),"Injector")}function te(l){return{toString:l}.toString()}var se=(()=>((se=se||{})[se.OnPush=0]="OnPush",se[se.Default=1]="Default",se))(),Fe=(()=>{return(l=Fe||(Fe={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",Fe;var l})();const Ce="undefined"!=typeof globalThis&&globalThis,Ge="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ft=Ce||"undefined"!=typeof global&&global||Ge||xt,ct={},We=[],Kn=k({\u0275cmp:k}),Kt=k({\u0275dir:k}),Mt=k({\u0275pipe:k}),gs=k({\u0275mod:k}),ts=k({\u0275fac:k}),Zn=k({__NG_ELEMENT_ID__:k});let nl=0;function zo(l){return te(()=>{const f={},p={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===se.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||We,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||Fe.Emulated,id:"c",styles:l.styles||We,_:null,setInput:null,schemas:l.schemas||null,tView:null},m=l.directives,y=l.features,C=l.pipes;return p.id+=nl++,p.inputs=D(l.inputs,f),p.outputs=D(l.outputs),y&&y.forEach(E=>E(p)),p.directiveDefs=m?()=>("function"==typeof m?m():m).map(lo):null,p.pipeDefs=C?()=>("function"==typeof C?C():C).map(ms):null,p})}function lo(l){return mn(l)||function Qe(l){return l[Kt]||null}(l)}function ms(l){return function si(l){return l[Mt]||null}(l)}const or={};function rr(l){return te(()=>{const u={type:l.type,bootstrap:l.bootstrap||We,declarations:l.declarations||We,imports:l.imports||We,exports:l.exports||We,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(or[l.id]=l.type),u})}function D(l,u){if(null==l)return ct;const f={};for(const p in l)if(l.hasOwnProperty(p)){let m=l[p],y=m;Array.isArray(m)&&(y=m[1],m=m[0]),f[m]=p,u&&(u[m]=y)}return f}const Ie=zo;function ki(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function mn(l){return l[Kn]||null}function At(l,u){const f=l[gs]||null;if(!f&&!0===u)throw new Error(`Type ${I(l)} does not have '\u0275mod' property.`);return f}function Un(l){return Array.isArray(l)&&"object"==typeof l[1]}function ns(l){return Array.isArray(l)&&!0===l[1]}function Ua(l){return 0!=(8&l.flags)}function Bo(l){return 2==(2&l.flags)}function ho(l){return 1==(1&l.flags)}function ss(l){return null!==l.template}function cr(l){return 0!=(512&l[2])}function mi(l,u){return l.hasOwnProperty(ts)?l[ts]:null}class $t{constructor(u,f,p){this.previousValue=u,this.currentValue=f,this.firstChange=p}isFirstChange(){return this.firstChange}}function go(){return ci}function ci(l){return l.type.prototype.ngOnChanges&&(l.setInput=Wa),Ys}function Ys(){const l=Ka(this),u=null==l?void 0:l.current;if(u){const f=l.previous;if(f===ct)l.previous=u;else for(let p in u)f[p]=u[p];l.current=null,this.ngOnChanges(u)}}function Wa(l,u,f,p){const m=Ka(l)||function On(l,u){return l[Gr]=u}(l,{previous:ct,current:null}),y=m.current||(m.current={}),C=m.previous,E=this.declaredInputs[f],x=C[E];y[E]=new $t(x&&x.currentValue,u,C===ct),l[p]=u}go.ngInherit=!0;const Gr="__ngSimpleChanges__";function Ka(l){return l[Gr]||null}let mo;function _o(l){mo=l}function en(){return void 0!==mo?mo:"undefined"!=typeof document?document:void 0}function hi(l){return!!l.listen}const P={createRenderer:(l,u)=>en()};function z(l){for(;Array.isArray(l);)l=l[0];return l}function me(l,u){return z(u[l])}function Te(l,u){return z(u[l.index])}function li(l,u){return l.data[u]}function Xt(l,u){return l[u]}function Ot(l,u){const f=u[l];return Un(f)?f:f[0]}function Zt(l){return 4==(4&l[2])}function Zi(l){return 128==(128&l[2])}function _i(l,u){return null==u?null:l[u]}function bo(l){l[18]=0}function Ss(l,u){l[5]+=u;let f=l,p=l[3];for(;null!==p&&(1===u&&1===f[5]||-1===u&&0===f[5]);)p[5]+=u,f=p,p=p[3]}const lt={lFrame:Ja(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function hr(){return lt.bindingsEnabled}function Ee(){return lt.lFrame.lView}function Vt(){return lt.lFrame.tView}function Qd(l){return lt.lFrame.contextLView=l,l[8]}function tn(){let l=Es();for(;null!==l&&64===l.type;)l=l.parent;return l}function Es(){return lt.lFrame.currentTNode}function bs(l,u){const f=lt.lFrame;f.currentTNode=l,f.isParent=u}function cl(){return lt.lFrame.isParent}function mu(){lt.lFrame.isParent=!1}function ll(){return lt.isInCheckNoChangesMode}function Xa(l){lt.isInCheckNoChangesMode=l}function zn(){const l=lt.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function Vs(){return lt.lFrame.bindingIndex}function ks(){return lt.lFrame.bindingIndex++}function yo(l){const u=lt.lFrame,f=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,f}function fr(l,u){const f=lt.lFrame;f.bindingIndex=f.bindingRootIndex=l,zt(u)}function zt(l){lt.lFrame.currentDirectiveIndex=l}function pr(l){const u=lt.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function bu(){return lt.lFrame.currentQueryIndex}function Ao(l){lt.lFrame.currentQueryIndex=l}function yu(l){const u=l[1];return 2===u.type?u.declTNode:1===u.type?l[6]:null}function Qa(l,u,f){if(f&pe.SkipSelf){let m=u,y=l;for(;!(m=m.parent,null!==m||f&pe.Host||(m=yu(y),null===m||(y=y[15],10&m.type))););if(null===m)return!1;u=m,l=y}const p=lt.lFrame=th();return p.currentTNode=u,p.lView=l,!0}function gr(l){const u=th(),f=l[1];lt.lFrame=u,u.currentTNode=f.firstChild,u.lView=l,u.tView=f,u.contextLView=l,u.bindingIndex=f.bindingStartIndex,u.inI18n=!1}function th(){const l=lt.lFrame,u=null===l?null:l.child;return null===u?Ja(l):u}function Ja(l){const u={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:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function Zr(){const l=lt.lFrame;return lt.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const Au=Zr;function mr(){const l=Zr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function _n(){return lt.lFrame.selectedIndex}function wo(l){lt.lFrame.selectedIndex=l}function xi(){const l=lt.lFrame;return li(l.tView,l.selectedIndex)}function Mu(){lt.lFrame.currentNamespace="svg"}function ih(){!function $n(){lt.lFrame.currentNamespace=null}()}function ul(l,u){for(let f=u.directiveStart,p=u.directiveEnd;f=p)break}else u[x]<0&&(l[18]+=65536),(E>11>16&&(3&l[2])===u){l[2]+=2048;try{y.call(E)}finally{}}}else try{y.call(E)}finally{}}class Ws{constructor(u,f,p){this.factory=u,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=p}}function $r(l,u,f){const p=hi(l);let m=0;for(;mu){C=y-1;break}}}for(;y>16}(l),p=u;for(;f>0;)p=p[15],f--;return p}let ta=!0;function qo(l){const u=ta;return ta=l,u}let ch=0;function jo(l,u){const f=ia(l,u);if(-1!==f)return f;const p=u[1];p.firstCreatePass&&(l.injectorIndex=u.length,Yo(p.data,l),Yo(u,null),Yo(p.blueprint,null));const m=na(l,u),y=l.injectorIndex;if(Qr(m)){const C=Jr(m),E=ea(m,u),x=E[1].data;for(let H=0;H<8;H++)u[y+H]=E[C+H]|x[C+H]}return u[y+8]=m,y}function Yo(l,u){l.push(0,0,0,0,0,0,0,0,u)}function ia(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function na(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let f=0,p=null,m=u;for(;null!==m;){const y=m[1],C=y.type;if(p=2===C?y.declTNode:1===C?m[6]:null,null===p)return-1;if(f++,m=m[15],-1!==p.injectorIndex)return p.injectorIndex|f<<16}return-1}function ys(l,u,f){!function gl(l,u,f){let p;"string"==typeof f?p=f.charCodeAt(0)||0:f.hasOwnProperty(Zn)&&(p=f[Zn]),null==p&&(p=f[Zn]=ch++);const m=255&p;u.data[l+(m>>5)]|=1<=0?255&u:gp:u}(f);if("function"==typeof y){if(!Qa(u,l,p))return p&pe.Host?oc(m,f,p):uh(u,f,p,m);try{const C=y(p);if(null!=C||p&pe.Optional)return C;St(f)}finally{Au()}}else if("number"==typeof y){let C=null,E=ia(l,u),x=-1,H=p&pe.Host?u[16][6]:null;for((-1===E||p&pe.SkipSelf)&&(x=-1===E?na(l,u):u[E+8],-1!==x&&Vo(p,!1)?(C=u[1],E=Jr(x),u=ea(x,u)):E=-1);-1!==E;){const j=u[1];if(dh(y,E,j.data)){const J=mp(E,u,f,C,p,H);if(J!==Eu)return J}x=u[E+8],-1!==x&&Vo(p,u[1].data[E+8]===H)&&dh(y,E,u)?(C=j,E=Jr(x),u=ea(x,u)):E=-1}}}return uh(u,f,p,m)}const Eu={};function gp(){return new sa(tn(),Ee())}function mp(l,u,f,p,m,y){const C=u[1],E=C.data[l+8],j=ml(E,C,f,null==p?Bo(E)&&ta:p!=C&&0!=(3&E.type),m&pe.Host&&y===E);return null!==j?br(u,C,j,E):Eu}function ml(l,u,f,p,m){const y=l.providerIndexes,C=u.data,E=1048575&y,x=l.directiveStart,j=y>>20,ie=m?E+j:l.directiveEnd;for(let ue=p?E:E+j;ue=x&&Me.type===f)return ue}if(m){const ue=C[x];if(ue&&ss(ue)&&ue.type===f)return x}return null}function br(l,u,f,p){let m=l[f];const y=u.data;if(function sh(l){return l instanceof Ws}(m)){const C=m;C.resolving&&function He(l,u){const f=u?`. Dependency path: ${u.join(" > ")} > ${l}`:"";throw new ee(-200,`Circular dependency in DI detected for ${l}${f}`)}(ze(y[f]));const E=qo(C.canSeeViewProviders);C.resolving=!0;const x=C.injectImpl?nt(C.injectImpl):null;Qa(l,p,pe.Default);try{m=l[f]=C.factory(void 0,y,l,p),u.firstCreatePass&&f>=p.directiveStart&&function nh(l,u,f){const{ngOnChanges:p,ngOnInit:m,ngDoCheck:y}=u.type.prototype;if(p){const C=ci(u);(f.preOrderHooks||(f.preOrderHooks=[])).push(l,C),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,C)}m&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-l,m),y&&((f.preOrderHooks||(f.preOrderHooks=[])).push(l,y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(l,y))}(f,y[f],u)}finally{null!==x&&nt(x),qo(E),C.resolving=!1,Au()}}return m}function dh(l,u,f){return!!(f[u+(l>>5)]&1<{const u=l.prototype.constructor,f=u[ts]||ku(u),p=Object.prototype;let m=Object.getPrototypeOf(l.prototype).constructor;for(;m&&m!==p;){const y=m[ts]||ku(m);if(y&&y!==f)return y;m=Object.getPrototypeOf(m)}return y=>new y})}function ku(l){return Q(l)?()=>{const u=ku(X(l));return u&&u()}:mi(l)}function Du(l){return function lh(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const f=l.attrs;if(f){const p=f.length;let m=0;for(;m{const p=function Go(l){return function(...f){if(l){const p=l(...f);for(const m in p)this[m]=p[m]}}}(u);function m(...y){if(this instanceof m)return p.apply(this,y),this;const C=new m(...y);return E.annotation=C,E;function E(x,H,j){const J=x.hasOwnProperty(Zs)?x[Zs]:Object.defineProperty(x,Zs,{value:[]})[Zs];for(;J.length<=j;)J.push(null);return(J[j]=J[j]||[]).push(C),x}}return f&&(m.prototype=Object.create(f.prototype)),m.prototype.ngMetadataName=l,m.annotationCls=m,m})}class Si{constructor(u,f){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=ai({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}const bp=new Si("AnalyzeForEntryComponents");function vn(l,u){void 0===u&&(u=l);for(let f=0;fArray.isArray(f)?xs(f,u):u(f))}function ac(l,u,f){u>=l.length?l.push(f):l.splice(u,0,f)}function cc(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function As(l,u){const f=[];for(let p=0;p=0?l[1|p]=f:(p=~p,function wp(l,u,f,p){let m=l.length;if(m==u)l.push(f,p);else if(1===m)l.push(p,l[0]),l[0]=f;else{for(m--,l.push(l[m-1],l[m]);m>u;)l[m]=l[m-2],m--;l[u]=f,l[u+1]=p}}(l,p,u,f)),p}function yr(l,u){const f=jt(l,u);if(f>=0)return l[1|f]}function jt(l,u){return function ca(l,u,f){let p=0,m=l.length>>f;for(;m!==p;){const y=p+(m-p>>1),C=l[y<u?m=y:p=y+1}return~(m<({token:l})),-1),as=la(aa("Optional"),8),ua=la(aa("SkipSelf"),4);let _,ye;function R(l){var u;return(null===(u=function S(){if(void 0===_&&(_=null,Ft.trustedTypes))try{_=Ft.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return _}())||void 0===u?void 0:u.createHTML(l))||l}function Nt(l){var u;return(null===(u=function rt(){if(void 0===ye&&(ye=null,Ft.trustedTypes))try{ye=Ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch(l){}return ye}())||void 0===u?void 0:u.createHTML(l))||l}class Nn{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wo extends Nn{getTypeName(){return"HTML"}}class eA extends Nn{getTypeName(){return"Style"}}class Sh extends Nn{getTypeName(){return"Script"}}class tA extends Nn{getTypeName(){return"URL"}}class iA extends Nn{getTypeName(){return"ResourceURL"}}function wr(l){return l instanceof Nn?l.changingThisBreaksApplicationSecurity:l}function gc(l,u){const f=_1(l);if(null!=f&&f!==u){if("ResourceURL"===f&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===u}function _1(l){return l instanceof Nn&&l.getTypeName()||null}function nA(l){return new Wo(l)}function sA(l){return new eA(l)}function Pp(l){return new Sh(l)}function oA(l){return new tA(l)}function rA(l){return new iA(l)}class aA{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u=""+u;try{const f=(new window.DOMParser).parseFromString(R(u),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(u):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class _T{constructor(u){if(this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const p=this.inertDocument.createElement("body");f.appendChild(p)}}getInertBodyElement(u){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=R(u),f;const p=this.inertDocument.createElement("body");return p.innerHTML=R(u),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(p),p}stripCustomNsAttrs(u){const f=u.attributes;for(let m=f.length-1;0Mr(u.trim())).join(", ")),this.buf.push(" ",C,'="',Hp(x),'"')}var l;return this.buf.push(">"),!0}endElement(u){const f=u.nodeName.toLowerCase();Ip.hasOwnProperty(f)&&!ju.hasOwnProperty(f)&&(this.buf.push(""))}chars(u){this.buf.push(Hp(u))}checkClobberedElement(u,f){if(f&&(u.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`);return f}}const dA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eh=/([^\#-~ |!])/g;function Hp(l){return l.replace(/&/g,"&").replace(dA,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Eh,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function hA(l,u){let f=null;try{Uu=Uu||function zp(l){const u=new _T(l);return function ti(){try{return!!(new window.DOMParser).parseFromString(R(""),"text/html")}catch(l){return!1}}()?new aA(u):u}(l);let p=u?String(u):"";f=Uu.getInertBodyElement(p);let m=5,y=p;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,p=y,y=f.innerHTML,f=Uu.getInertBodyElement(p)}while(p!==y);return R((new uA).sanitizeChildren(Bp(f)||f))}finally{if(f){const p=Bp(f)||f;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Bp(l){return"content"in l&&function fA(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Yi=(()=>((Yi=Yi||{})[Yi.NONE=0]="NONE",Yi[Yi.HTML=1]="HTML",Yi[Yi.STYLE=2]="STYLE",Yi[Yi.SCRIPT=3]="SCRIPT",Yi[Yi.URL=4]="URL",Yi[Yi.RESOURCE_URL=5]="RESOURCE_URL",Yi))();function Vu(l){const u=Gu();return u?Nt(u.sanitize(Yi.HTML,l)||""):gc(l,"HTML")?Nt(wr(l)):hA(en(),he(l))}function kh(l){const u=Gu();return u?u.sanitize(Yi.URL,l)||"":gc(l,"URL")?wr(l):Mr(he(l))}function Gu(){const l=Ee();return l&&l[12]}const vl="__ngContext__";function an(l,u){l[vl]=u}function Dh(l){const u=function Tl(l){return l[vl]||null}(l);return u?Array.isArray(u)?u:u.lView:null}function Zu(l){return l.ngOriginalError}function AA(l,...u){l.error(...u)}class $u{constructor(){this._console=console}handleError(u){const f=this._findOriginalError(u),p=function yA(l){return l&&l.ngErrorLogger||AA}(u);p(this._console,"ERROR",u),f&&p(this._console,"ORIGINAL ERROR",f)}_findOriginalError(u){let f=u&&Zu(u);for(;f&&Zu(f);)f=Zu(f);return f||null}}const k1=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ft))();function mc(l){return l.ownerDocument.defaultView}function vr(l){return l instanceof Function?l():l}var Cn=(()=>((Cn=Cn||{})[Cn.Important=1]="Important",Cn[Cn.DashCase=2]="DashCase",Cn))();function D1(l,u){return undefined(l,u)}function Lh(l){const u=l[3];return ns(u)?u[3]:u}function Qu(l){return _c(l[13])}function Dl(l){return _c(l[4])}function _c(l){for(;null!==l&&!ns(l);)l=l[4];return l}function pa(l,u,f,p,m){if(null!=p){let y,C=!1;ns(p)?y=p:Un(p)&&(C=!0,p=p[0]);const E=z(p);0===l&&null!==f?null==m?I1(u,f,E):bc(u,f,E,m||null,!0):1===l&&null!==f?bc(u,f,E,m||null,!0):2===l?function LA(l,u,f){const p=Wp(l,u);p&&function RT(l,u,f,p){hi(l)?l.removeChild(u,f,p):u.removeChild(f)}(l,p,u,f)}(u,E,C):3===l&&u.destroyNode(E),null!=y&&function OT(l,u,f,p,m){const y=f[7];y!==z(f)&&pa(u,l,p,y,m);for(let E=10;E0&&(l[f-1][4]=p[4]);const y=cc(l,10+u);!function DT(l,u){Oh(l,u,u[11],2,null,null),u[0]=null,u[6]=null}(p[1],p);const C=y[19];null!==C&&C.detachView(y[1]),p[3]=null,p[4]=null,p[2]&=-129}return p}function P1(l,u){if(!(256&u[2])){const f=u[11];hi(f)&&f.destroyNode&&Oh(l,u,f,3,null,null),function Rh(l){let u=l[13];if(!u)return z1(l[1],l);for(;u;){let f=null;if(Un(u))f=u[13];else{const p=u[10];p&&(f=p)}if(!f){for(;u&&!u[4]&&u!==l;)Un(u)&&z1(u[1],u),u=u[3];null===u&&(u=l),Un(u)&&z1(u[1],u),f=u&&u[4]}u=f}}(u)}}function z1(l,u){if(!(256&u[2])){u[2]&=-129,u[2]|=256,function Gp(l,u){let f;if(null!=l&&null!=(f=l.destroyHooks))for(let p=0;p=0?p[m=H]():p[m=-H].unsubscribe(),y+=2}else{const C=p[m=f[y+1]];f[y].call(C)}if(null!==p){for(let y=m+1;yy?"":m[J+1].toLowerCase();const ue=8&p?ie:null;if(ue&&-1!==PA(ue,H,0)||2&p&&H!==ie){if($o(p))return!1;C=!0}}}}else{if(!C&&!$o(p)&&!$o(x))return!1;if(C&&$o(x))continue;C=!1,p=x|1&p}}return $o(p)||C}function $o(l){return 0==(1&l)}function HT(l,u,f,p){if(null===u)return-1;let m=0;if(p||!f){let y=!1;for(;m-1)for(f++;f0?'="'+E+'"':"")+"]"}else 8&p?m+="."+C:4&p&&(m+=" "+C);else""!==m&&!$o(C)&&(u+=IA(y,m),m=""),p=C,y=y||!$o(p);f++}return""!==m&&(u+=IA(y,m)),u}const Dt={};function NA(l){HA(Vt(),Ee(),_n()+l,ll())}function HA(l,u,f,p){if(!p)if(3==(3&u[2])){const y=l.preOrderCheckHooks;null!==y&&ec(u,y,f)}else{const y=l.preOrderHooks;null!==y&&tc(u,y,0,f)}wo(f)}function Zp(l,u){return l<<17|u<<2}function Xo(l){return l>>17&32767}function Y1(l){return 2|l}function ga(l){return(131068&l)>>2}function U1(l,u){return-131069&l|u<<2}function V1(l){return 1|l}function ZA(l,u){const f=l.contentQueries;if(null!==f)for(let p=0;p20&&HA(l,u,20,ll()),f(p,m)}finally{wo(y)}}function XA(l,u,f){if(Ua(u)){const m=u.directiveEnd;for(let y=u.directiveStart;y0;){const f=l[--u];if("number"==typeof f&&f<0)return f}return 0})(E)!=x&&E.push(x),E.push(p,m,C)}}function eg(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function um(l,u){u.flags|=2,(l.components||(l.components=[])).push(u.index)}function dm(l,u,f){if(f){if(u.exportAs)for(let p=0;p0&&Fh(f)}}function Fh(l){for(let p=Qu(l);null!==p;p=Dl(p))for(let m=10;m0&&Fh(y)}const f=l[1].components;if(null!==f)for(let p=0;p0&&Fh(m)}}function qh(l,u){const f=Ot(u,l),p=f[1];(function _m(l,u){for(let f=u.length;fPromise.resolve(null))();function bm(l){return l[7]||(l[7]=[])}function id(l){return l.cleanup||(l.cleanup=[])}function lw(l,u,f){return(null===l||ss(l))&&(f=function W(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(f[u.index])),f[11]}function ag(l,u){const f=l[9],p=f?f.get($u,null):null;p&&p.handleError(u)}function nd(l,u,f,p,m){for(let y=0;ythis.processProvider(E,u,f)),xs([u],E=>this.processInjectorType(E,[],y)),this.records.set(Uh,Ol(void 0,this));const C=this.records.get(Am);this.scope=null!=C?C.value:null,this.source=m||("object"==typeof u?null:I(u))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(u=>u.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(u,f=dc,p=pe.Default){this.assertNotDestroyed();const m=Ah(this),y=nt(void 0);try{if(!(p&pe.SkipSelf)){let E=this.records.get(u);if(void 0===E){const x=function pC(l){return"function"==typeof l||"object"==typeof l&&l instanceof Si}(u)&&ui(u);E=x&&this.injectableDefInScope(x)?Ol(ug(u),Tc):null,this.records.set(u,E)}if(null!=E)return this.hydrate(u,E)}return(p&pe.Self?wm():this.parent).get(u,f=p&pe.Optional&&f===dc?null:f)}catch(C){if("NullInjectorError"===C.name){if((C[hc]=C[hc]||[]).unshift(I(u)),m)throw C;return function Dp(l,u,f,p){const m=l[hc];throw u[yh]&&m.unshift(u[yh]),l.message=function xp(l,u,f,p=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;let m=I(u);if(Array.isArray(u))m=u.map(I).join(" -> ");else if("object"==typeof u){let y=[];for(let C in u)if(u.hasOwnProperty(C)){let E=u[C];y.push(C+":"+("string"==typeof E?JSON.stringify(E):I(E)))}m=`{${y.join(", ")}}`}return`${f}${p?"("+p+")":""}[${m}]: ${l.replace(bh,"\n ")}`}("\n"+l.message,m,f,p),l.ngTokenPath=m,l[hc]=null,l}(C,u,"R3InjectorError",this.source)}throw C}finally{nt(y),Ah(m)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(u=>this.get(u))}toString(){const u=[];return this.records.forEach((p,m)=>u.push(I(m))),`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processInjectorType(u,f,p){if(!(u=X(u)))return!1;let m=ao(u);const y=null==m&&u.ngModule||void 0,C=void 0===y?u:y,E=-1!==p.indexOf(C);if(void 0!==y&&(m=ao(y)),null==m)return!1;if(null!=m.imports&&!E){let j;p.push(C);try{xs(m.imports,J=>{this.processInjectorType(J,f,p)&&(void 0===j&&(j=[]),j.push(J))})}finally{}if(void 0!==j)for(let J=0;Jthis.processProvider(Me,ie,ue||We))}}this.injectorDefTypes.add(C);const x=mi(C)||(()=>new C);this.records.set(C,Ol(x,Tc));const H=m.providers;if(null!=H&&!E){const j=u;xs(H,J=>this.processProvider(J,j,H))}return void 0!==y&&void 0!==u.providers}processProvider(u,f,p){let m=rd(u=X(u))?u:X(u&&u.provide);const y=function Cm(l,u,f){return Em(l)?Ol(void 0,l.useValue):Ol(Sm(l),Tc)}(u);if(rd(u)||!0!==u.multi)this.records.get(m);else{let C=this.records.get(m);C||(C=Ol(void 0,Tc,!0),C.factory=()=>Al(C.multi),this.records.set(m,C)),m=u,C.multi.push(u)}this.records.set(m,y)}hydrate(u,f){return f.value===Tc&&(f.value=dw,f.value=f.factory()),"object"==typeof f.value&&f.value&&function fC(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(u){if(!u.providedIn)return!1;const f=X(u.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function ug(l){const u=ui(l),f=null!==u?u.factory:mi(l);if(null!==f)return f;if(l instanceof Si)throw new ee(204,!1);if(l instanceof Function)return function Tm(l){const u=l.length;if(u>0)throw As(u,"?"),new ee(204,!1);const f=function gn(l){const u=l&&(l[Fs]||l[le]);if(u){const f=function ro(l){if(l.hasOwnProperty("name"))return l.name;const u=(""+l).match(/^function\s*([^\s(]+)/);return null===u?"":u[1]}(l);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),u}return null}(l);return null!==f?()=>f.factory(l):()=>new l}(l);throw new ee(204,!1)}function Sm(l,u,f){let p;if(rd(l)){const m=X(l);return mi(m)||ug(m)}if(Em(l))p=()=>X(l.useValue);else if(function km(l){return!(!l||!l.useFactory)}(l))p=()=>l.useFactory(...Al(l.deps||[]));else if(function fw(l){return!(!l||!l.useExisting)}(l))p=()=>sn(X(l.useExisting));else{const m=X(l&&(l.useClass||l.provide));if(!function hC(l){return!!l.deps}(l))return mi(m)||ug(m);p=()=>new m(...Al(l.deps))}return p}function Ol(l,u,f=!1){return{factory:l,value:u,multi:f?[]:void 0}}function Em(l){return null!==l&&"object"==typeof l&&Sp in l}function rd(l){return"function"==typeof l}let Co=(()=>{class l{static create(f,p){var m;if(Array.isArray(f))return Mm({name:""},p,f,"");{const y=null!==(m=f.name)&&void 0!==m?m:"";return Mm({name:y},f.parent,f.providers,y)}}}return l.THROW_IF_NOT_FOUND=dc,l.NULL=new od,l.\u0275prov=ai({token:l,providedIn:"any",factory:()=>sn(Uh)}),l.__NG_ELEMENT_ID__=-1,l})();function Om(l,u){ul(Dh(l)[1],tn())}function Sr(l){let u=function ii(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),f=!0;const p=[l];for(;u;){let m;if(ss(l))m=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new ee(903,"");m=u.\u0275dir}if(m){if(f){p.push(m);const C=l;C.inputs=Pm(l.inputs),C.declaredInputs=Pm(l.declaredInputs),C.outputs=Pm(l.outputs);const E=m.hostBindings;E&&Eo(l,E);const x=m.viewQuery,H=m.contentQueries;if(x&&zm(l,x),H&&_C(l,H),L(l.inputs,m.inputs),L(l.declaredInputs,m.declaredInputs),L(l.outputs,m.outputs),ss(m)&&m.data.animation){const j=l.data;j.animation=(j.animation||[]).concat(m.data.animation)}}const y=m.features;if(y)for(let C=0;C=0;p--){const m=l[p];m.hostVars=u+=m.hostVars,m.hostAttrs=Xr(m.hostAttrs,f=Xr(f,m.hostAttrs))}}(p)}function Pm(l){return l===ct?{}:l===We?[]:l}function zm(l,u){const f=l.viewQuery;l.viewQuery=f?(p,m)=>{u(p,m),f(p,m)}:u}function _C(l,u){const f=l.contentQueries;l.contentQueries=f?(p,m,y)=>{u(p,m,y),f(p,m,y)}:u}function Eo(l,u){const f=l.hostBindings;l.hostBindings=f?(p,m)=>{u(p,m),f(p,m)}:u}let ld=null;function _a(){if(!ld){const l=Ft.Symbol;if(l&&l.iterator)ld=l.iterator;else{const u=Object.getOwnPropertyNames(Map.prototype);for(let f=0;fE(z(Qt[p.index])):p.index;if(hi(f)){let Qt=null;if(!E&&x&&(Qt=function Dw(l,u,f,p){const m=l.cleanup;if(null!=m)for(let y=0;yx?E[x]:null}"string"==typeof C&&(y+=2)}return null}(l,u,m,p.index)),null!==Qt)(Qt.__ngLastListenerFn__||Qt).__ngNextListenerFn__=y,Qt.__ngLastListenerFn__=y,ue=!1;else{y=nf(p,u,J,y,!1);const fi=f.listen(Je,m,y);ie.push(y,fi),j&&j.push(m,at,Se,Se+1)}}else y=nf(p,u,J,y,!0),Je.addEventListener(m,y,C),ie.push(y),j&&j.push(m,at,Se,C)}else y=nf(p,u,J,y,!1);const Me=p.outputs;let Ne;if(ue&&null!==Me&&(Ne=Me[m])){const Ye=Ne.length;if(Ye)for(let Je=0;Je0;)u=u[15],l--;return u}(l,lt.lFrame.contextLView))[8]}(l)}function xw(l,u){let f=null;const p=function BT(l){const u=l.attrs;if(null!=u){const f=u.indexOf(5);if(0==(1&f))return u[f+1]}return null}(l);for(let m=0;m=0}const Ui={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rf(l){return l.substring(Ui.key,Ui.keyEnd)}function af(l,u){const f=Ui.textEnd;return f===u?-1:(u=Ui.keyEnd=function p_(l,u,f){for(;u32;)u++;return u}(l,Ui.key=u,f),jl(l,u,f))}function jl(l,u,f){for(;u=0;f=af(u,f))Qn(l,rf(u),!0)}function ko(l,u,f,p){const m=Ee(),y=Vt(),C=yo(2);y.firstUpdatePass&&Bg(y,l,C,p),u!==Dt&&yi(m,C,u)&&w_(y,y.data[_n()],m,m[11],l,m[C+1]=function Bw(l,u){return null==l||("string"==typeof u?l+=u:"object"==typeof l&&(l=I(wr(l)))),l}(u,f),p,C)}function Is(l,u,f,p){const m=Vt(),y=yo(2);m.firstUpdatePass&&Bg(m,null,y,p);const C=Ee();if(f!==Dt&&yi(C,y,f)){const E=m.data[_n()];if(v_(E,p)&&!__(m,y)){let x=p?E.classesWithoutHost:E.stylesWithoutHost;null!==x&&(f=B(x,f||"")),Tg(m,E,C,f,p)}else!function A_(l,u,f,p,m,y,C,E){m===Dt&&(m=We);let x=0,H=0,j=0=l.expandoStartIndex}function Bg(l,u,f,p){const m=l.data;if(null===m[f+1]){const y=m[_n()],C=__(l,f);v_(y,p)&&null===u&&!C&&(u=!1),u=function zw(l,u,f,p){const m=pr(l);let y=p?u.residualClasses:u.residualStyles;if(null===m)0===(p?u.classBindings:u.styleBindings)&&(f=Ma(f=lf(null,l,u,f,p),u.attrs,p),y=null);else{const C=u.directiveStylingLast;if(-1===C||l[C]!==m)if(f=lf(m,l,u,f,p),null===y){let x=function Iw(l,u,f){const p=f?u.classBindings:u.styleBindings;if(0!==ga(p))return l[Xo(p)]}(l,u,p);void 0!==x&&Array.isArray(x)&&(x=lf(null,l,u,x[1],p),x=Ma(x,u.attrs,p),function Nw(l,u,f,p){l[Xo(f?u.classBindings:u.styleBindings)]=p}(l,u,p,x))}else y=function Hw(l,u,f){let p;const m=u.directiveEnd;for(let y=1+u.directiveStylingLast;y0)&&(H=!0)}else j=f;if(m)if(0!==x){const ie=Xo(l[E+1]);l[p+1]=Zp(ie,E),0!==ie&&(l[ie+1]=U1(l[ie+1],p)),l[E+1]=function GT(l,u){return 131071&l|u<<17}(l[E+1],p)}else l[p+1]=Zp(E,0),0!==E&&(l[E+1]=U1(l[E+1],p)),E=p;else l[p+1]=Zp(x,0),0===E?E=p:l[x+1]=U1(l[x+1],p),x=p;H&&(l[p+1]=Y1(l[p+1])),zs(l,j,p,!0),zs(l,j,p,!1),function Lw(l,u,f,p,m){const y=m?l.residualClasses:l.residualStyles;null!=y&&"string"==typeof u&&jt(y,u)>=0&&(f[p+1]=V1(f[p+1]))}(u,j,l,p,y),C=Zp(E,x),y?u.classBindings=C:u.styleBindings=C}(m,y,u,f,C,p)}}function lf(l,u,f,p,m){let y=null;const C=f.directiveEnd;let E=f.directiveStylingLast;for(-1===E?E=f.directiveStart:E++;E0;){const x=l[m],H=Array.isArray(x),j=H?x[1]:x,J=null===j;let ie=f[m+1];ie===Dt&&(ie=J?We:void 0);let ue=J?yr(ie,p):j===p?ie:void 0;if(H&&!uf(ue)&&(ue=yr(x,p)),uf(ue)&&(E=ue,C))return E;const Me=l[m+1];m=C?Xo(Me):ga(Me)}if(null!==u){let x=y?u.residualClasses:u.residualStyles;null!=x&&(E=yr(x,p))}return E}function uf(l){return void 0!==l}function v_(l,u){return 0!=(l.flags&(u?16:32))}function T_(l,u=""){const f=Ee(),p=Vt(),m=l+20,y=p.firstCreatePass?xl(p,m,1,u,null):p.data[m],C=f[m]=function x1(l,u){return hi(l)?l.createText(u):l.createTextNode(u)}(f[11],u);Ac(p,f,C,y),bs(y,!1)}function Bn(l){return Md("",l,""),Bn}function Md(l,u,f){const p=Ee(),m=Js(p,l,u,f);return m!==Dt&&Qo(p,_n(),m),Md}function df(l,u,f,p,m){const y=Ee(),C=Ec(y,l,u,f,p,m);return C!==Dt&&Qo(y,_n(),C),df}function E_(l,u,f,p,m,y,C,E,x,H,j){const J=Ee(),ie=Dc(J,l,u,f,p,m,y,C,E,x,H,j);return ie!==Dt&&Qo(J,_n(),ie),E_}function x_(l,u,f){Is(Qn,tr,Js(Ee(),l,u,f),!0)}function Nc(l,u,f){const p=Ee();return yi(p,ks(),u)&&Vn(Vt(),xi(),p,l,u,p[11],f,!0),Nc}function pf(l,u,f){const p=Ee();if(yi(p,ks(),u)){const y=Vt(),C=xi();Vn(y,C,p,l,u,lw(pr(y.data),C,p),f,!0)}return pf}const Ta=void 0;var z_=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["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"]],Ta,[["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"]],Ta,[["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}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function vd(l){const f=Math.floor(Math.abs(l)),p=l.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}];let Yl={};function qg(l){const u=function eM(l){return l.toLowerCase().replace(/_/g,"-")}(l);let f=Yg(u);if(f)return f;const p=u.split("-")[0];if(f=Yg(p),f)return f;if("en"===p)return z_;throw new Error(`Missing locale data for the locale "${l}".`)}function jg(l){return qg(l)[ut.PluralCase]}function Yg(l){return l in Yl||(Yl[l]=Ft.ng&&Ft.ng.common&&Ft.ng.common.locales&&Ft.ng.common.locales[l]),Yl[l]}var ut=(()=>((ut=ut||{})[ut.LocaleId=0]="LocaleId",ut[ut.DayPeriodsFormat=1]="DayPeriodsFormat",ut[ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",ut[ut.DaysFormat=3]="DaysFormat",ut[ut.DaysStandalone=4]="DaysStandalone",ut[ut.MonthsFormat=5]="MonthsFormat",ut[ut.MonthsStandalone=6]="MonthsStandalone",ut[ut.Eras=7]="Eras",ut[ut.FirstDayOfWeek=8]="FirstDayOfWeek",ut[ut.WeekendRange=9]="WeekendRange",ut[ut.DateFormat=10]="DateFormat",ut[ut.TimeFormat=11]="TimeFormat",ut[ut.DateTimeFormat=12]="DateTimeFormat",ut[ut.NumberSymbols=13]="NumberSymbols",ut[ut.NumberFormats=14]="NumberFormats",ut[ut.CurrencyCode=15]="CurrencyCode",ut[ut.CurrencySymbol=16]="CurrencySymbol",ut[ut.CurrencyName=17]="CurrencyName",ut[ut.Currencies=18]="Currencies",ut[ut.Directionality=19]="Directionality",ut[ut.PluralCase=20]="PluralCase",ut[ut.ExtraData=21]="ExtraData",ut))();const io="en-US";let tM=io;function ob(l,u,f,p,m){if(l=X(l),Array.isArray(l))for(let y=0;y>20;if(rd(l)||!l.multi){const ue=new Ws(x,m,wa),Me=n0(E,u,m?j:j+ie,J);-1===Me?(ys(jo(H,C),y,E),Lr(y,l,u.length),u.push(E),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(ue),C.push(ue)):(f[Me]=ue,C[Me]=ue)}else{const ue=n0(E,u,j+ie,J),Me=n0(E,u,j,j+ie),Ne=ue>=0&&f[ue],Ye=Me>=0&&f[Me];if(m&&!Ye||!m&&!Ne){ys(jo(H,C),y,E);const Je=function _M(l,u,f,p,m){const y=new Ws(l,f,wa);return y.multi=[],y.index=u,y.componentProviders=0,rb(y,m,p&&!f),y}(m?mM:gM,f.length,m,p,x);!m&&Ye&&(f[Me].providerFactory=Je),Lr(y,l,u.length,0),u.push(E),H.directiveStart++,H.directiveEnd++,m&&(H.providerIndexes+=1048576),f.push(Je),C.push(Je)}else Lr(y,l,ue>-1?ue:Me,rb(f[m?Me:ue],x,!m&&p));!m&&p&&Ye&&f[Me].componentProviders++}}}function Lr(l,u,f,p){const m=rd(u),y=function dC(l){return!!l.useClass}(u);if(m||y){const x=(y?X(u.useClass):u).prototype.ngOnDestroy;if(x){const H=l.destroyHooks||(l.destroyHooks=[]);if(!m&&u.multi){const j=H.indexOf(f);-1===j?H.push(f,[p,x]):H[j+1].push(p,x)}else H.push(f,x)}}}function rb(l,u,f){return f&&l.componentProviders++,l.multi.push(u)-1}function n0(l,u,f,p){for(let m=f;m{f.providersResolver=(p,m)=>function Yt(l,u,f){const p=Vt();if(p.firstCreatePass){const m=ss(l);ob(f,p.data,p.blueprint,m,!0),ob(u,p.data,p.blueprint,m,!1)}}(p,m?m(l):l,u)}}class cb{}class AM{resolveComponentFactory(u){throw function yM(l){const u=Error(`No component factory found for ${I(l)}. Did you add it to @NgModule.entryComponents?`);return u.ngComponent=l,u}(u)}}let kd=(()=>{class l{}return l.NULL=new AM,l})();function wM(){return Kl(tn(),Ee())}function Kl(l,u){return new Dd(Te(l,u))}let Dd=(()=>{class l{constructor(f){this.nativeElement=f}}return l.__NG_ELEMENT_ID__=wM,l})();function ub(l){return l instanceof Dd?l.nativeElement:l}class db{}let xd=(()=>{class l{}return l.__NG_ELEMENT_ID__=()=>function NC(){const l=Ee(),f=Ot(tn().index,l);return function IC(l){return l[11]}(Un(f)?f:l)}(),l})(),HC=(()=>{class l{}return l.\u0275prov=ai({token:l,providedIn:"root",factory:()=>null}),l})();class hb{constructor(u){this.full=u,this.major=u.split(".")[0],this.minor=u.split(".")[1],this.patch=u.split(".").slice(2).join(".")}}const fb=new hb("13.2.2"),o0={};function no(l,u,f,p,m=!1){for(;null!==f;){const y=u[f.index];if(null!==y&&p.push(z(y)),ns(y))for(let E=10;E-1&&(Up(u,p),cc(f,p))}this._attachedToViewContainer=!1}P1(this._lView[1],this._lView)}onDestroy(u){$p(this._lView[1],this._lView,null,u)}markForCheck(){ig(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){sg(this._lView[1],this._lView,this.context)}checkNoChanges(){!function rw(l,u,f){Xa(!0);try{sg(l,u,f)}finally{Xa(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ee(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function xT(l,u){Oh(l,u,u[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ee(902,"");this._appRef=u}}class MM extends Ld{constructor(u){super(u),this._view=u}detectChanges(){og(this._view)}checkNoChanges(){!function rg(l){Xa(!0);try{og(l)}finally{Xa(!1)}}(this._view)}get context(){return null}}class vM extends kd{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const f=mn(u);return new Tf(f,this.ngModule)}}function r0(l){const u=[];for(let f in l)l.hasOwnProperty(f)&&u.push({propName:l[f],templateName:f});return u}const gb=new Si("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>k1});class Tf extends cb{constructor(u,f){super(),this.componentDef=u,this.ngModule=f,this.componentType=u.type,this.selector=function UT(l){return l.map(YT).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return r0(this.componentDef.inputs)}get outputs(){return r0(this.componentDef.outputs)}create(u,f,p,m){const y=(m=m||this.ngModule)?function TM(l,u){return{get:(f,p,m)=>{const y=l.get(f,o0,m);return y!==o0||p===o0?y:u.get(f,p,m)}}}(u,m.injector):u,C=y.get(db,P),E=y.get(HC,null),x=C.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",j=p?function rm(l,u,f){if(hi(l))return l.selectRootElement(u,f===Fe.ShadowDom);let p="string"==typeof u?l.querySelector(u):u;return p.textContent="",p}(x,p,this.componentDef.encapsulation):R1(C.createRenderer(null,this.componentDef),H,function pb(l){const u=l.toLowerCase();return"svg"===u?"svg":"math"===u?"math":null}(H)),J=this.componentDef.onPush?576:528,ie=function fg(l,u){return{components:[],scheduler:l||k1,clean:cw,playerHandler:u||null,flags:0}}(),ue=cn(0,null,null,1,0,null,null,null,null,null),Me=Nh(null,ue,ie,J,null,null,C,x,E,y);let Ne,Ye;gr(Me);try{const Je=function Ti(l,u,f,p,m,y){const C=f[1];f[20]=l;const x=xl(C,20,2,"#host",null),H=x.mergedAttrs=u.hostAttrs;null!==H&&(sd(x,H,!0),null!==l&&($r(m,l,H),null!==x.classes&&q1(m,l,x.classes),null!==x.styles&&OA(m,l,x.styles)));const j=p.createRenderer(l,u),J=Nh(f,nm(u),null,u.onPush?64:16,f[20],x,p,j,y||null,null);return C.firstCreatePass&&(ys(jo(x,f),C,u.type),um(C,x),hm(x,f.length,1)),jh(f,J),f[20]=J}(j,this.componentDef,Me,C,x);if(j)if(p)$r(x,j,["ng-version",fb.full]);else{const{attrs:Se,classes:at}=function VT(l){const u=[],f=[];let p=1,m=2;for(;p0&&q1(x,j,at.join(" "))}if(Ye=li(ue,20),void 0!==f){const Se=Ye.projection=[];for(let at=0;atx(C,u)),u.contentQueries){const x=tn();u.contentQueries(1,C,x.directiveStart)}const E=tn();return!y.firstCreatePass||null===u.hostBindings&&null===u.hostAttrs||(wo(E.index),am(f[1],E,0,E.directiveStart,E.directiveEnd,u),eg(u,C)),C}(Je,this.componentDef,Me,ie,[Om]),Hh(ue,Me,null)}finally{mr()}return new Rd(this.componentType,Ne,Kl(Ye,Me),Me,Ye)}}class Rd extends class bM{}{constructor(u,f,p,m,y){super(),this.location=p,this._rootLView=m,this._tNode=y,this.instance=f,this.hostView=this.changeDetectorRef=new MM(m),this.componentType=u}get injector(){return new sa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}class xo{}class mb{}const Rr=new Map;class $l extends xo{constructor(u,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new vM(this);const p=At(u);this._bootstrapComponents=vr(p.bootstrap),this._r3Injector=vm(u,f,[{provide:xo,useValue:this},{provide:kd,useValue:this.componentFactoryResolver}],I(u)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(u)}get(u,f=Co.THROW_IF_NOT_FOUND,p=pe.Default){return u===Co||u===xo||u===Uh?this:this._r3Injector.get(u,f,p)}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class Cf extends mb{constructor(u){super(),this.moduleType=u,null!==At(u)&&function _b(l){const u=new Set;!function f(p){const m=At(p,!0),y=m.id;null!==y&&(function a0(l,u,f){if(u&&u!==f)throw new Error(`Duplicate module registered for ${l} - ${I(u)} vs ${I(u.name)}`)}(y,Rr.get(y),p),Rr.set(y,p));const C=vr(m.imports);for(const E of C)u.has(E)||(u.add(E),f(E))}(l)}(u)}create(u){return new $l(this.moduleType,u)}}function Ea(l,u,f){const p=zn()+l,m=Ee();return m[p]===Dt?Qs(m,p,f?u.call(f):u()):function Sc(l,u){return l[u]}(m,p)}function Wn(l,u,f,p){return Or(Ee(),zn(),l,u,f,p)}function yb(l,u,f,p,m){return Mb(Ee(),zn(),l,u,f,p,m)}function Vi(l,u){const f=l[u];return f===Dt?void 0:f}function Or(l,u,f,p,m,y){const C=u+f;return yi(l,C,m)?Qs(l,C+1,y?p.call(y,m):p(m)):Vi(l,C+1)}function Mb(l,u,f,p,m,y,C){const E=u+f;return ya(l,E,m,y)?Qs(l,E+2,C?p.call(C,m,y):p(m,y)):Vi(l,E+2)}function kn(l,u,f,p,m,y,C,E){const x=u+f;return function Il(l,u,f,p,m){const y=ya(l,u,f,p);return yi(l,u+2,m)||y}(l,x,m,y,C)?Qs(l,x+3,E?p.call(E,m,y,C):p(m,y,C)):Vi(l,x+3)}function u0(l,u){const f=Vt();let p;const m=l+20;f.firstCreatePass?(p=function vb(l,u){if(u)for(let f=u.length-1;f>=0;f--){const p=u[f];if(l===p.name)return p}}(u,f.pipeRegistry),f.data[m]=p,p.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(m,p.onDestroy)):p=f.data[m];const y=p.factory||(p.factory=mi(p.type)),C=nt(wa);try{const E=qo(!1),x=y();return qo(E),function _g(l,u,f,p){f>=l.data.length&&(l.data[f]=null,l.blueprint[f]=null),u[f]=p}(f,Ee(),m,x),x}finally{nt(C)}}function d0(l,u,f){const p=l+20,m=Ee(),y=Xt(m,p);return Xl(m,p)?Or(m,zn(),u,y.transform,f,y):y.transform(f)}function h0(l,u,f,p){const m=l+20,y=Ee(),C=Xt(y,m);return Xl(y,m)?Mb(y,zn(),u,C.transform,f,p,C):C.transform(f,p)}function f0(l,u,f,p,m){const y=l+20,C=Ee(),E=Xt(C,y);return Xl(C,y)?kn(C,zn(),u,E.transform,f,p,m,E):E.transform(f,p,m)}function Xl(l,u){return l[1].data[u].pure}function Ef(l){return u=>{setTimeout(l,void 0,u)}}const Lo=class Cb extends b.xQ{constructor(u=!1){super(),this.__isAsync=u}emit(u){super.next(u)}subscribe(u,f,p){var m,y,C;let E=u,x=f||(()=>null),H=p;if(u&&"object"==typeof u){const J=u;E=null===(m=J.next)||void 0===m?void 0:m.bind(J),x=null===(y=J.error)||void 0===y?void 0:y.bind(J),H=null===(C=J.complete)||void 0===C?void 0:C.bind(J)}this.__isAsync&&(x=Ef(x),E&&(E=Ef(E)),H&&(H=Ef(H)));const j=super.subscribe({next:E,error:x,complete:H});return u instanceof i.w&&u.add(j),j}};function xM(){return this._results[_a()]()}class Od{constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=_a(),p=Od.prototype;p[f]||(p[f]=xM)}get changes(){return this._changes||(this._changes=new Lo)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,f){return this._results.reduce(u,f)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,f){const p=this;p.dirty=!1;const m=vn(u);(this._changesDetected=!function gh(l,u,f){if(l.length!==u.length)return!1;for(let p=0;p{class l{}return l.__NG_ELEMENT_ID__=g0,l})();const p0=Ql,Sb=class extends p0{constructor(u,f,p){super(),this._declarationLView=u,this._declarationTContainer=f,this.elementRef=p}createEmbeddedView(u){const f=this._declarationTContainer.tViews,p=Nh(this._declarationLView,f,u,16,null,f.declTNode,null,null,null,null);p[17]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[19];return null!==y&&(p[19]=y.createEmbeddedView(f)),Hh(f,p,u),new Ld(p)}};function g0(){return Pd(tn(),Ee())}function Pd(l,u){return 4&l.type?new Sb(u,l,Kl(l,u)):null}let zd=(()=>{class l{}return l.__NG_ELEMENT_ID__=Eb,l})();function Eb(){return b0(tn(),Ee())}const m0=zd,Id=class extends m0{constructor(u,f,p){super(),this._lContainer=u,this._hostTNode=f,this._hostLView=p}get element(){return Kl(this._hostTNode,this._hostLView)}get injector(){return new sa(this._hostTNode,this._hostLView)}get parentInjector(){const u=na(this._hostTNode,this._hostLView);if(Qr(u)){const f=ea(u,this._hostLView),p=Jr(u);return new sa(f[1].data[p+8],f)}return new sa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const f=_0(this._lContainer);return null!==f&&f[u]||null}get length(){return this._lContainer.length-10}createEmbeddedView(u,f,p){const m=u.createEmbeddedView(f||{});return this.insert(m,p),m}createComponent(u,f,p,m,y){const C=u&&!function Mo(l){return"function"==typeof l}(u);let E;if(C)E=f;else{const J=f||{};E=J.index,p=J.injector,m=J.projectableNodes,y=J.ngModuleRef}const x=C?u:new Tf(mn(u)),H=p||this.parentInjector;if(!y&&null==x.ngModule&&H){const J=H.get(xo,null);J&&(y=J)}const j=x.create(H,m,void 0,y);return this.insert(j.hostView,E),j}insert(u,f){const p=u._lView,m=p[1];if(function vi(l){return ns(l[3])}(p)){const j=this.indexOf(u);if(-1!==j)this.detach(j);else{const J=p[3],ie=new Id(J,J[6],J[3]);ie.detach(ie.indexOf(u))}}const y=this._adjustIndex(f),C=this._lContainer;!function LT(l,u,f,p){const m=10+p,y=f.length;p>0&&(f[m-1][4]=u),p0)p.push(C[E/2]);else{const H=y[E+1],j=u[-x];for(let J=10;J{class l{constructor(f){this.appInits=f,this.resolve=tu,this.reject=tu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,m)=>{this.resolve=p,this.reject=m})}runInitializers(){if(this.initialized)return;const f=[],p=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{y.subscribe({complete:E,error:x})});f.push(C)}}Promise.all(f).then(()=>{p()}).catch(m=>{this.reject(m)}),0===f.length&&p(),this.initialized=!0}}return l.\u0275fac=function(f){return new(f||l)(sn(iu,8))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const KM=new Si("AppId"),ZM={provide:KM,useFactory:function Vb(){return`${Nf()}${Nf()}${Nf()}`},deps:[]};function Nf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gb=new Si("Platform Initializer"),x0=new Si("Platform ID"),Hf=new Si("appBootstrapListener");let so=(()=>{class l{log(f){console.log(f)}warn(f){console.warn(f)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const Bf=new Si("LocaleId"),Ir=new Si("DefaultCurrencyCode");class L0{constructor(u,f){this.ngModuleFactory=u,this.componentFactories=f}}let Ff=(()=>{class l{compileModuleSync(f){return new Cf(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const p=this.compileModuleSync(f),y=vr(At(f).declarations).reduce((C,E)=>{const x=mn(E);return x&&C.push(new Tf(x)),C},[]);return new L0(p,y)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();const XM=(()=>Promise.resolve(0))();function qf(l){"undefined"==typeof Zone?XM.then(()=>{l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}class ds{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Lo(!1),this.onMicrotaskEmpty=new Lo(!1),this.onStable=new Lo(!1),this.onError=new Lo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!p&&f,m.shouldCoalesceRunChangeDetection=p,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function QM(){let l=Ft.requestAnimationFrame,u=Ft.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&u){const f=l[Zone.__symbol__("OriginalDelegate")];f&&(l=f);const p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:u}}().nativeRequestAnimationFrame,function ev(l){const u=()=>{!function Kb(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Ft,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,Zb(l),l.isCheckStableRunning=!0,O0(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),Zb(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,p,m,y,C,E)=>{try{return jf(l),f.invokeTask(m,y,C,E)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||l.shouldCoalesceRunChangeDetection)&&u(),$b(l)}},onInvoke:(f,p,m,y,C,E,x)=>{try{return jf(l),f.invoke(m,y,C,E,x)}finally{l.shouldCoalesceRunChangeDetection&&u(),$b(l)}},onHasTask:(f,p,m,y)=>{f.hasTask(m,y),p===m&&("microTask"==y.change?(l._hasPendingMicrotasks=y.microTask,Zb(l),O0(l)):"macroTask"==y.change&&(l.hasPendingMacrotasks=y.macroTask))},onHandleError:(f,p,m,y)=>(f.handleError(m,y),l.runOutsideAngular(()=>l.onError.emit(y)),!1)})}(m)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ds.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ds.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(u,f,p){return this._inner.run(u,f,p)}runTask(u,f,p,m){const y=this._inner,C=y.scheduleEventTask("NgZoneEvent: "+m,u,JM,tu,tu);try{return y.runTask(C,f,p)}finally{y.cancelTask(C)}}runGuarded(u,f,p){return this._inner.runGuarded(u,f,p)}runOutsideAngular(u){return this._outer.run(u)}}const JM={};function O0(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function Zb(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function jf(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function $b(l){l._nesting--,O0(l)}class Xb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Lo,this.onMicrotaskEmpty=new Lo,this.onStable=new Lo,this.onError=new Lo}run(u,f,p){return u.apply(f,p)}runGuarded(u,f,p){return u.apply(f,p)}runOutsideAngular(u){return u()}runTask(u,f,p,m){return u.apply(f,p)}}let Qb=(()=>{class l{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ds.assertNotInAngularZone(),qf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())qf(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(f)||(clearTimeout(p.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,p,m){let y=-1;p&&p>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==y),f(this._didWork,this.getPendingTasks())},p)),this._callbacks.push({doneCb:f,timeoutId:y,updateCb:m})}whenStable(f,p,m){if(m&&!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(f,p,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,p,m){return[]}}return l.\u0275fac=function(f){return new(f||l)(sn(ds))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})(),P0=(()=>{class l{constructor(){this._applications=new Map,Yf.addToWindow(this)}registerApplication(f,p){this._applications.set(f,p)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,p=!0){return Yf.findTestabilityInTree(this,f,p)}}return l.\u0275fac=function(f){return new(f||l)},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();class Fc{addToWindow(u){}findTestabilityInTree(u,f,p){return null}}function tv(l){Yf=l}let Oo,Yf=new Fc;const Ms=new Si("AllowMultipleToken");class Uf{constructor(u,f){this.name=u,this.token=f}}function z0(l,u,f=[]){const p=`Platform: ${u}`,m=new Si(p);return(y=[])=>{let C=ey();if(!C||C.injector.get(Ms,!1))if(l)l(f.concat(y).concat({provide:m,useValue:!0}));else{const E=f.concat(y).concat({provide:m,useValue:!0},{provide:Am,useValue:"platform"});!function nv(l){if(Oo&&!Oo.destroyed&&!Oo.injector.get(Ms,!1))throw new ee(400,"");Oo=l.get(I0);const u=l.get(Gb,null);u&&u.forEach(f=>f())}(Co.create({providers:E,name:p}))}return function sv(l){const u=ey();if(!u)throw new ee(401,"");return u}()}}function ey(){return Oo&&!Oo.destroyed?Oo:null}let I0=(()=>{class l{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,p){const E=function rv(l,u){let f;return f="noop"===l?new Xb:("zone.js"===l?void 0:l)||new ds({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==u?void 0:u.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==u?void 0:u.ngZoneRunCoalescing)}),f}(p?p.ngZone:void 0,{ngZoneEventCoalescing:p&&p.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:p&&p.ngZoneRunCoalescing||!1}),x=[{provide:ds,useValue:E}];return E.run(()=>{const H=Co.create({providers:x,parent:this.injector,name:f.moduleType.name}),j=f.create(H),J=j.injector.get($u,null);if(!J)throw new ee(402,"");return E.runOutsideAngular(()=>{const ie=E.onError.subscribe({next:ue=>{J.handleError(ue)}});j.onDestroy(()=>{iy(this._modules,j),ie.unsubscribe()})}),function ty(l,u,f){try{const p=f();return n_(p)?p.catch(m=>{throw u.runOutsideAngular(()=>l.handleError(m)),m}):p}catch(p){throw u.runOutsideAngular(()=>l.handleError(p)),p}}(J,E,()=>{const ie=j.injector.get(nu);return ie.runInitializers(),ie.donePromise.then(()=>(function Ug(l){ot(l,"Expected localeId to be defined"),"string"==typeof l&&(tM=l.toLowerCase().replace(/_/g,"-"))}(j.injector.get(Bf,io)||io),this._moduleDoBootstrap(j),j))})})}bootstrapModule(f,p=[]){const m=av({},p);return function Jb(l,u,f){const p=new Cf(f);return Promise.resolve(p)}(0,0,f).then(y=>this.bootstrapModuleFactory(y,m))}_moduleDoBootstrap(f){const p=f.injector.get(Vf);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(m=>p.bootstrap(m));else{if(!f.instance.ngDoBootstrap)throw new ee(403,"");f.instance.ngDoBootstrap(p)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,"");this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f()),this._destroyed=!0}get destroyed(){return this._destroyed}}return l.\u0275fac=function(f){return new(f||l)(sn(Co))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function av(l,u){return Array.isArray(u)?u.reduce(av,l):Object.assign(Object.assign({},l),u)}let Vf=(()=>{class l{constructor(f,p,m,y,C){this._zone=f,this._injector=p,this._exceptionHandler=m,this._componentFactoryResolver=y,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const E=new T.y(H=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{H.next(this._stable),H.complete()})}),x=new T.y(H=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{ds.assertNotInAngularZone(),qf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,H.next(!0))})})});const J=this._zone.onUnstable.subscribe(()=>{ds.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{H.next(!1)}))});return()=>{j.unsubscribe(),J.unsubscribe()}});this.isStable=(0,M.T)(E,x.pipe((0,v.B)()))}bootstrap(f,p){if(!this._initStatus.done)throw new ee(405,"");let m;m=f instanceof cb?f:this._componentFactoryResolver.resolveComponentFactory(f),this.componentTypes.push(m.componentType);const y=function iv(l){return l.isBoundToModule}(m)?void 0:this._injector.get(xo),E=m.create(Co.NULL,[],p||m.selector,y),x=E.location.nativeElement,H=E.injector.get(Qb,null),j=H&&E.injector.get(P0);return H&&j&&j.registerApplication(x,H),E.onDestroy(()=>{this.detachView(E.hostView),iy(this.components,E),j&&j.unregisterApplication(x)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new ee(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const p=f;this._views.push(p),p.attachToAppRef(this)}detachView(f){const p=f;iy(this._views,p),p.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(Hf,[]).concat(this._bootstrapListeners).forEach(m=>m(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return l.\u0275fac=function(f){return new(f||l)(sn(ds),sn(Co),sn($u),sn(kd),sn(nu))},l.\u0275prov=ai({token:l,factory:l.\u0275fac}),l})();function iy(l,u){const f=l.indexOf(u);f>-1&&l.splice(f,1)}let su=!0;function ZC(){su=!1}let cv=(()=>{class l{}return l.__NG_ELEMENT_ID__=lv,l})();function lv(l){return function uv(l,u,f){if(Bo(l)&&!f){const p=Ot(l.index,u);return new Ld(p,p)}return 47&l.type?new Ld(u[16],u):null}(tn(),Ee(),16==(16&l))}class ly{constructor(){}supports(u){return Cc(u)}create(u){return new q0(u)}}const Kf=(l,u)=>u;class q0{constructor(u){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=u||Kf}forEachItem(u){let f;for(f=this._itHead;null!==f;f=f._next)u(f)}forEachOperation(u){let f=this._itHead,p=this._removalsHead,m=0,y=null;for(;f||p;){const C=!p||f&&f.currentIndex{C=this._trackByFn(m,E),null!==f&&Object.is(f.trackById,C)?(p&&(f=this._verifyReinsertion(f,E,C,m)),Object.is(f.item,E)||this._addIdentityChange(f,E)):(f=this._mismatch(f,E,C,m),p=!0),f=f._next,m++}),this.length=m;return this._truncate(f),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,f,p,m){let y;return null===u?y=this._itTail:(y=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._reinsertAfter(u,y,m)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(p,m))?(Object.is(u.item,f)||this._addIdentityChange(u,f),this._moveAfter(u,y,m)):u=this._addAfter(new oS(f,p),y,m),u}_verifyReinsertion(u,f,p,m){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==y?u=this._reinsertAfter(y,u._prev,m):u.currentIndex!=m&&(u.currentIndex=m,this._addToMoves(u,m)),u}_truncate(u){for(;null!==u;){const f=u._next;this._addToRemovals(this._unlink(u)),u=f}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(u,f,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const m=u._prevRemoved,y=u._nextRemoved;return null===m?this._removalsHead=y:m._nextRemoved=y,null===y?this._removalsTail=m:y._prevRemoved=m,this._insertAfter(u,f,p),this._addToMoves(u,p),u}_moveAfter(u,f,p){return this._unlink(u),this._insertAfter(u,f,p),this._addToMoves(u,p),u}_addAfter(u,f,p){return this._insertAfter(u,f,p),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,f,p){const m=null===f?this._itHead:f._next;return u._next=m,u._prev=f,null===m?this._itTail=u:m._prev=u,null===f?this._itHead=u:f._next=u,null===this._linkedRecords&&(this._linkedRecords=new Yc),this._linkedRecords.put(u),u.currentIndex=p,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const f=u._prev,p=u._next;return null===f?this._itHead=p:f._next=p,null===p?this._itTail=f:p._prev=f,u}_addToMoves(u,f){return u.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yc),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,f){return u.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class oS{constructor(u,f){this.item=u,this.trackById=f,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 uy{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,f){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===f||f<=p.currentIndex)&&Object.is(p.trackById,u))return p;return null}remove(u){const f=u._prevDup,p=u._nextDup;return null===f?this._head=p:f._nextDup=p,null===p?this._tail=f:p._prevDup=f,null===this._head}}class Yc{constructor(){this.map=new Map}put(u){const f=u.trackById;let p=this.map.get(f);p||(p=new uy,this.map.set(f,p)),p.add(u)}get(u,f){const m=this.map.get(u);return m?m.get(u,f):null}remove(u){const f=u.trackById;return this.map.get(f).remove(u)&&this.map.delete(f),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dy(l,u,f){const p=l.previousIndex;if(null===p)return p;let m=0;return f&&p{if(f&&f.key===m)this._maybeAddToChanges(f,p),this._appendAfter=f,f=f._next;else{const y=this._getOrCreateRecordForKey(m,p);f=this._insertBeforeOrAppend(f,y)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let p=f;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,f){if(u){const p=u._prev;return f._next=u,f._prev=p,u._prev=f,p&&(p._next=f),u===this._mapHead&&(this._mapHead=f),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(u,f){if(this._records.has(u)){const m=this._records.get(u);this._maybeAddToChanges(m,f);const y=m._prev,C=m._next;return y&&(y._next=C),C&&(C._prev=y),m._next=null,m._prev=null,m}const p=new fv(u);return this._records.set(u,p),p.currentValue=f,this._addToAdditions(p),p}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,f){Object.is(f,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=f,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,f){u instanceof Map?u.forEach(f):Object.keys(u).forEach(p=>f(u[p],p))}}class fv{constructor(u){this.key=u,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 j0(){return new Zf([new ly])}let Zf=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(null!=p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||j0()),deps:[[l,new ua,new as]]}}find(f){const p=this.factories.find(m=>m.supports(f));if(null!=p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:j0}),l})();function fy(){return new Y0([new hy])}let Y0=(()=>{class l{constructor(f){this.factories=f}static create(f,p){if(p){const m=p.factories.slice();f=f.concat(m)}return new l(f)}static extend(f){return{provide:l,useFactory:p=>l.create(f,p||fy()),deps:[[l,new ua,new as]]}}find(f){const p=this.factories.find(y=>y.supports(f));if(p)return p;throw new ee(901,"")}}return l.\u0275prov=ai({token:l,providedIn:"root",factory:fy}),l})();const py=[new hy],pv=new Zf([new ly]),aS=new Y0(py),mv=z0(null,"core",[{provide:x0,useValue:"unknown"},{provide:I0,deps:[Co]},{provide:P0,deps:[]},{provide:so,deps:[]}]),vs=[{provide:Vf,useClass:Vf,deps:[ds,Co,$u,kd,nu]},{provide:gb,deps:[ds],useFactory:function wv(l){let u=[];return l.onStable.subscribe(()=>{for(;u.length;)u.pop()()}),function(f){u.push(f)}}},{provide:nu,useClass:nu,deps:[[new as,iu]]},{provide:Ff,useClass:Ff,deps:[]},ZM,{provide:Zf,useFactory:function _v(){return pv},deps:[]},{provide:Y0,useFactory:function bv(){return aS},deps:[]},{provide:Bf,useFactory:function yv(l){return l||function Av(){return"undefined"!=typeof $localize&&$localize.locale||io}()},deps:[[new fc(Bf),new as,new ua]]},{provide:Ir,useValue:"USD"}];let Mv=(()=>{class l{constructor(f){}}return l.\u0275fac=function(f){return new(f||l)(sn(Vf))},l.\u0275mod=rr({type:l}),l.\u0275inj=pn({providers:vs}),l})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(6227),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class q extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return q.\u0275fac=function(){let Y;return function(b){return(Y||(Y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(q)))(b||q)}}(),q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class q{constructor(){this.data=new Map}getItem(w){return this.data.get(w)}removeItem(w){this.data.delete(w)}setItem(w,b){this.data.set(w,b)}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class ReceivedTokens{}class OAuthEvent{constructor(Y){this.type=Y}}class OAuthSuccessEvent extends OAuthEvent{constructor(Y,w=null){super(Y),this.info=w}}class OAuthInfoEvent extends OAuthEvent{constructor(Y,w=null){super(Y),this.info=w}}class OAuthErrorEvent extends OAuthEvent{constructor(Y,w,b=null){super(Y),this.reason=w,this.params=b}}function b64DecodeUnicode(q){const Y=q.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Y).split("").map(function(w){return"%"+("00"+w.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(q){return btoa(q).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(Y){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=w=>{location.href=w},Y&&Object.assign(this,Y)}}class WebHttpUrlEncodingCodec{encodeKey(Y){return encodeURIComponent(Y)}encodeValue(Y){return encodeURIComponent(Y)}decodeKey(Y){return decodeURIComponent(Y)}decodeValue(Y){return decodeURIComponent(Y)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(Y){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let w=this.inferHashAlgorithm(Y.idTokenHeader),b=yield this.calcHash(Y.accessToken,w),T=base64UrlEncode(b.substr(0,b.length/2)),M=Y.idTokenClaims.at_hash.replace(/=/g,"");return T!==M&&(console.error("exptected at_hash: "+T),console.error("actual at_hash: "+M)),T===M})}inferHashAlgorithm(Y){let w=Y.alg;if(!w.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+w);return"sha-"+w.substr(2)}}let UrlHelperService=(()=>{class q{getHashFragmentParams(w){let b=w||window.location.hash;if(b=decodeURIComponent(b),0!==b.indexOf("#"))return{};const i=b.indexOf("?");return b=b.substr(i>-1?i+1:1),this.parseQueryString(b)}parseQueryString(w){const b={};let i,T,M,v,k,L,I;if(null===w)return b;i=w.split("&");for(let B=0;B>6,T[v++]=128|63&k):k<55296||k>=57344?(T[v++]=224|k>>12,T[v++]=128|k>>6&63,T[v++]=128|63&k):(k=65536+((1023&k)<<10|1023&q.charCodeAt(++b)),T[v++]=240|k>>18,T[v++]=128|k>>12&63,T[v++]=128|k>>6&63,T[v++]=128|63&k);q=T}else{if("object"!==i)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR)}q.length>64&&(q=new Sha256(Y,!0).update(q).array());var L=[],I=[];for(b=0;b<64;++b){var B=q[b]||0;L[b]=92^B,I[b]=54^B}Sha256.call(this,Y,w),this.update(I),this.oKeyPad=L,this.inner=!0,this.sharedMemory=w}Sha256.prototype.update=function(q){if(!this.finalized){var Y,w=typeof q;if("string"!==w){if("object"!==w)throw new Error(ERROR);if(null===q)throw new Error(ERROR);if(ARRAY_BUFFER&&q.constructor===ArrayBuffer)q=new Uint8Array(q);else if(!(Array.isArray(q)||ARRAY_BUFFER&&ArrayBuffer.isView(q)))throw new Error(ERROR);Y=!0}for(var b,T,i=0,M=q.length,v=this.blocks;i>2]|=q[i]<>2]|=b<>2]|=(192|b>>6)<>2]|=(128|63&b)<=57344?(v[T>>2]|=(224|b>>12)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<>2]|=(240|b>>18)<>2]|=(128|b>>12&63)<>2]|=(128|b>>6&63)<>2]|=(128|63&b)<=64?(this.block=v[16],this.start=T-64,this.hash(),this.hashed=!0):this.start=T}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var q=this.blocks,Y=this.lastByteIndex;q[16]=this.block,q[Y>>2]|=EXTRA[3&Y],this.block=q[16],Y>=56&&(this.hashed||this.hash(),q[0]=this.block,q[16]=q[1]=q[2]=q[3]=q[4]=q[5]=q[6]=q[7]=q[8]=q[9]=q[10]=q[11]=q[12]=q[13]=q[14]=q[15]=0),q[14]=this.hBytes<<3|this.bytes>>>29,q[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var L,U,ae,ee,ce,he,q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=this.blocks;for(L=16;L<64;++L)k[L]=k[L-16]+(((U=k[L-15])>>>7|U<<25)^(U>>>18|U<<14)^U>>>3)+k[L-7]+(((U=k[L-2])>>>17|U<<15)^(U>>>19|U<<13)^U>>>10)<<0;for(he=Y&w,L=0;L<64;L+=4)this.first?(this.is224?(ae=300032,v=(U=k[0]-1413257819)-150054599<<0,b=U+24177077<<0):(ae=704751109,v=(U=k[0]-210244248)-1521486534<<0,b=U+143694565<<0),this.first=!1):(v=b+(U=v+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&T^~i&M)+K[L]+k[L])<<0,b=U+(((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+((ae=q&Y)^q&w^he))<<0),M=w+(U=M+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&i^~v&T)+K[L+1]+k[L+1])<<0,w=U+(((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+((ee=b&q)^b&Y^ae))<<0,T=Y+(U=T+((M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7))+(M&v^~M&i)+K[L+2]+k[L+2])<<0,Y=U+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((ce=w&b)^w&q^ee))<<0,i=q+(U=i+((T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7))+(T&M^~T&v)+K[L+3]+k[L+3])<<0,q=U+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((he=Y&w)^Y&b^ce))<<0;this.h0=this.h0+q<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+w<<0,this.h3=this.h3+b<<0,this.h4=this.h4+i<<0,this.h5=this.h5+T<<0,this.h6=this.h6+M<<0,this.h7=this.h7+v<<0},Sha256.prototype.hex=function(){this.finalize();var q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=HEX_CHARS[q>>28&15]+HEX_CHARS[q>>24&15]+HEX_CHARS[q>>20&15]+HEX_CHARS[q>>16&15]+HEX_CHARS[q>>12&15]+HEX_CHARS[q>>8&15]+HEX_CHARS[q>>4&15]+HEX_CHARS[15&q]+HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[w>>28&15]+HEX_CHARS[w>>24&15]+HEX_CHARS[w>>20&15]+HEX_CHARS[w>>16&15]+HEX_CHARS[w>>12&15]+HEX_CHARS[w>>8&15]+HEX_CHARS[w>>4&15]+HEX_CHARS[15&w]+HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[15&b]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[T>>28&15]+HEX_CHARS[T>>24&15]+HEX_CHARS[T>>20&15]+HEX_CHARS[T>>16&15]+HEX_CHARS[T>>12&15]+HEX_CHARS[T>>8&15]+HEX_CHARS[T>>4&15]+HEX_CHARS[15&T]+HEX_CHARS[M>>28&15]+HEX_CHARS[M>>24&15]+HEX_CHARS[M>>20&15]+HEX_CHARS[M>>16&15]+HEX_CHARS[M>>12&15]+HEX_CHARS[M>>8&15]+HEX_CHARS[M>>4&15]+HEX_CHARS[15&M];return this.is224||(k+=HEX_CHARS[v>>28&15]+HEX_CHARS[v>>24&15]+HEX_CHARS[v>>20&15]+HEX_CHARS[v>>16&15]+HEX_CHARS[v>>12&15]+HEX_CHARS[v>>8&15]+HEX_CHARS[v>>4&15]+HEX_CHARS[15&v]),k},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var q=this.h0,Y=this.h1,w=this.h2,b=this.h3,i=this.h4,T=this.h5,M=this.h6,v=this.h7,k=[q>>24&255,q>>16&255,q>>8&255,255&q,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,w>>24&255,w>>16&255,w>>8&255,255&w,b>>24&255,b>>16&255,b>>8&255,255&b,i>>24&255,i>>16&255,i>>8&255,255&i,T>>24&255,T>>16&255,T>>8&255,255&T,M>>24&255,M>>16&255,M>>8&255,255&M];return this.is224||k.push(v>>24&255,v>>16&255,v>>8&255,255&v),k},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var q=new ArrayBuffer(this.is224?28:32),Y=new DataView(q);return Y.setUint32(0,this.h0),Y.setUint32(4,this.h1),Y.setUint32(8,this.h2),Y.setUint32(12,this.h3),Y.setUint32(16,this.h4),Y.setUint32(20,this.h5),Y.setUint32(24,this.h6),this.is224||Y.setUint32(28,this.h7),q},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var q=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(q),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(q){if("string"!=typeof q)throw new TypeError("expected string");var Y,w=q,b=new Uint8Array(w.length);for(Y=0;Y{class q{calcHash(w,b){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(w)))})}toHashString2(w){let b="";for(let i of w)b+=String.fromCharCode(i);return b}toHashString(w){const b=new Uint8Array(w);let i="";for(let T of b)i+=String.fromCharCode(T);return i}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})(),OAuthService=(()=>{class q extends AuthConfig{constructor(w,b,i,T,M,v,k,L,I,B){var F;super(),this.ngZone=w,this.http=b,this.config=M,this.urlHelper=v,this.logger=k,this.crypto=L,this.dateTimeService=B,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=I,M||(M={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),T&&(this.tokenValidationHandler=T),M&&this.configure(M);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(U){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",U)}if(this.checkLocalStorageAccessable()){const U=null===(F=null==window?void 0:window.navigator)||void 0===F?void 0:F.userAgent;((null==U?void 0:U.includes("MSIE "))||(null==U?void 0:U.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const w="test";try{return void 0!==window.localStorage&&(localStorage.setItem(w,w),localStorage.removeItem(w),!0)}catch(b){return!1}}configure(w){Object.assign(this,new AuthConfig,w),this.config=Object.assign({},new AuthConfig,w),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(w={},b,i=!0){let T=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(M=>{"token_received"===M.type?T=!0:"logout"===M.type&&(T=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_expires"===M.type&&(null==b||"any"===b||M.info===b)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(M=>{T&&this.refreshInternal(w,i).catch(v=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(w,b){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(w,b):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(w=null){return this.loadDiscoveryDocument().then(b=>this.tryLogin(w))}loadDiscoveryDocumentAndLogin(w=null){return this.loadDiscoveryDocumentAndTryLogin(w=w||{}).then(b=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof w.state?w.state:""),!1))}debug(...w){this.showDebugInformation&&this.logger.debug.apply(this.logger,w)}validateUrlFromDiscoveryDocument(w){const b=[],i=this.validateUrlForHttps(w),T=this.validateUrlAgainstIssuer(w);return i||b.push("https for all urls required. Also for urls received by discovery."),T||b.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),b}validateUrlForHttps(w){if(!w)return!0;const b=w.toLowerCase();return!(!1!==this.requireHttps&&(!b.match(/^http:\/\/localhost($|[:\/])/)&&!b.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||b.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(w,b){if(!w)throw new Error(`'${b}' should not be null`);if(!this.validateUrlForHttps(w))throw new Error(`'${b}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(w){return!this.strictDiscoveryDocumentValidation||!w||w.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type)).subscribe(w=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const w=this.getAccessTokenExpiration(),b=this.getAccessTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}setupIdTokenTimer(){const w=this.getIdTokenExpiration(),b=this.getIdTokenStoredAt(),i=this.calcTimeout(b,w);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(i)).subscribe(T=>{this.ngZone.run(()=>{this.eventsSubject.next(T)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(w,b){const i=this.dateTimeService.now();return Math.max(0,(b-w)*this.timeoutFactor-(i-w))}setStorage(w){this._storage=w,this.configChanged()}loadDiscoveryDocument(w=null){return new Promise((b,i)=>{w||((w=this.issuer||"").endsWith("/")||(w+="/"),w+=".well-known/openid-configuration"),this.validateUrlForHttps(w)?this.http.get(w).subscribe(T=>{if(!this.validateDiscoveryDocument(T))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=T.authorization_endpoint,this.logoutUrl=T.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=T.grant_types_supported,this.issuer=T.issuer,this.tokenEndpoint=T.token_endpoint,this.userinfoEndpoint=T.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=T.jwks_uri,this.sessionCheckIFrameUrl=T.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(T),this.revocationEndpoint=T.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(M=>{const k=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:T,jwks:M});this.eventsSubject.next(k),b(k)}).catch(M=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",M)),i(M)})},T=>{this.logger.error("error loading discovery document",T),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",T)),i(T)}):i("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((w,b)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),w(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),b(i)}):w(null)})}validateDiscoveryDocument(w){let b;return this.skipIssuerCheck||w.issuer===this.issuer?(b=this.validateUrlFromDiscoveryDocument(w.authorization_endpoint),b.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.end_session_endpoint),b.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.token_endpoint),b.length>0&&this.logger.error("error validating token_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.revocation_endpoint),b.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",b),b=this.validateUrlFromDiscoveryDocument(w.userinfo_endpoint),b.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",b),!1):(b=this.validateUrlFromDiscoveryDocument(w.jwks_uri),b.length>0?(this.logger.error("error validating jwks_uri in discovery document",b),!1):(this.sessionChecksEnabled&&!w.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+w.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(w,b,i).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((w,b)=>{const i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:i,observe:"response",responseType:"text"}).subscribe(T=>{if(this.debug("userinfo received",JSON.stringify(T)),T.headers.get("content-type").startsWith("application/json")){let M=JSON.parse(T.body);const v=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!v.sub||M.sub!==v.sub))return void b("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");M=Object.assign({},v,M),this._storage.setItem("id_token_claims_obj",JSON.stringify(M)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w({info:M})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),w(JSON.parse(T.body))},T=>{this.logger.error("error loading user info",T),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",T)),b(T)})})}fetchTokenUsingPasswordFlow(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:w,password:b},i)}fetchTokenUsingGrant(w,b,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let T=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",w).set("scope",this.scope);if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(M,this.customQueryParams[M]);for(const M of Object.keys(b))T=T.set(M,b[M]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((M,v)=>{this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(k=>{this.debug("tokenResponse",k),this.storeAccessTokenResponse(k.access_token,k.refresh_token,k.expires_in||this.fallbackAccessTokenExpirationTimeInSec,k.scope,this.extractRecognizedCustomParameters(k)),this.oidc&&k.id_token&&this.processIdToken(k.id_token,k.access_token).then(L=>{this.storeIdToken(L),M(k)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),M(k)},k=>{this.logger.error("Error performing ${grantType} flow",k),this.eventsSubject.next(new OAuthErrorEvent("token_error",k)),v(k)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((w,b)=>{let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),T=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);T=T.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(M,this.customQueryParams[M]);this.http.post(this.tokenEndpoint,i,{headers:T}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(M=>M.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(M.id_token,M.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(v=>this.storeIdToken(v)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(v=>M)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(M))).subscribe(M=>{this.debug("refresh tokenResponse",M),this.storeAccessTokenResponse(M.access_token,M.refresh_token,M.expires_in||this.fallbackAccessTokenExpirationTimeInSec,M.scope,this.extractRecognizedCustomParameters(M)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),w(M)},M=>{this.logger.error("Error refreshing token",M),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",M)),b(M)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=w=>{const b=this.processMessageEventMessage(w);this.tryLogin({customHashFragment:b,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(w={},b=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(w.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const T=this.document.getElementById(this.silentRefreshIFrameName);T&&this.document.body.removeChild(T),this.silentRefreshSubject=i.sub;const M=this.document.createElement("iframe");M.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,b,w).then(B=>{M.setAttribute("src",B),this.silentRefreshShowIFrame||(M.style.display="none"),this.document.body.appendChild(M)});const k=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>B instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),L=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(B=>"token_received"===B.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),I=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([k,L,I]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>{if(B instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===B.type||(B=new OAuthErrorEvent("silent_refresh_error",B)),this.eventsSubject.next(B),B;return"token_received"===B.type&&(B=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(B)),B})).toPromise()}initImplicitFlowInPopup(w){return this.initLoginFlowInPopup(w)}initLoginFlowInPopup(w){return w=w||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(b=>new Promise((i,T)=>{let k,v=null;w.windowRef?w.windowRef&&!w.windowRef.closed&&(v=w.windowRef,v.location.href=b):v=window.open(b,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(w));const L=X=>{this.tryLogin({customHashFragment:X,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{B(),i(!0)},Q=>{B(),T(Q)})};v?k=window.setInterval(()=>{(!v||v.closed)&&(B(),T(new OAuthErrorEvent("popup_closed",{})))},500):T(new OAuthErrorEvent("popup_blocked",{}));const B=()=>{window.clearInterval(k),window.removeEventListener("storage",U),window.removeEventListener("message",F),null!==v&&v.close(),v=null},F=X=>{const Q=this.processMessageEventMessage(X);Q&&null!==Q?(window.removeEventListener("storage",U),L(Q)):console.log("false event firing")},U=X=>{"auth_hash"===X.key&&(window.removeEventListener("message",F),L(X.newValue))};window.addEventListener("message",F),window.addEventListener("storage",U)}))}calculatePopupFeatures(w){const b=w.height||470,i=w.width||500,T=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${b},top=${window.screenTop+(window.outerHeight-b)/2},left=${T}`}processMessageEventMessage(w){let b="#";if(this.silentRefreshMessagePrefix&&(b+=this.silentRefreshMessagePrefix),!w||!w.data||"string"!=typeof w.data)return;const i=w.data;return i.startsWith(b)?"#"+i.substr(b.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=w=>{const b=w.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(b)){switch(w.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",w)}else this.debug("sessionCheckEventListener","wrong origin",b,"expected",i,"event",w)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(w=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(w=>{this.debug("token refresh after session change worked")}).catch(w=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"silently_refreshed"===w.type||"silent_refresh_timeout"===w.type||"silent_refresh_error"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(w=>{"silently_refreshed"!==w.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const w=this.document.getElementById(this.sessionCheckIFrameName);w&&this.document.body.removeChild(w);const b=this.document.createElement("iframe");b.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),b.setAttribute("src",this.sessionCheckIFrameUrl),b.style.display="none",this.document.body.appendChild(b),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const w=this.document.getElementById(this.sessionCheckIFrameName);w||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const b=this.getSessionState();b||this.stopSessionCheckTimer(),w.contentWindow.postMessage(this.clientId+" "+b,this.issuer)}createLoginUrl(w="",b="",i="",T=!1,M={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const v=this;let k;k=i||this.redirectUri;const L=yield this.createAndSaveNonce();if(w=w?L+this.config.nonceStateSeparator+encodeURIComponent(w):L,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const I=v.loginUrl.indexOf("?")>-1?"&":"?";let B=v.scope;this.oidc&&!B.match(/(^|\s)openid($|\s)/)&&(B="openid "+B);let F=v.loginUrl+I+"response_type="+encodeURIComponent(v.responseType)+"&client_id="+encodeURIComponent(v.clientId)+"&state="+encodeURIComponent(w)+"&redirect_uri="+encodeURIComponent(k)+"&scope="+encodeURIComponent(B);if(this.responseType.includes("code")&&!this.disablePKCE){const[U,X]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",X):this._storage.setItem("PKCE_verifier",X),F+="&code_challenge="+U,F+="&code_challenge_method=S256"}b&&(F+="&login_hint="+encodeURIComponent(b)),v.resource&&(F+="&resource="+encodeURIComponent(v.resource)),v.oidc&&(F+="&nonce="+encodeURIComponent(L)),T&&(F+="&prompt=none");for(const U of Object.keys(M))F+="&"+encodeURIComponent(U)+"="+encodeURIComponent(M[U]);if(this.customQueryParams)for(const U of Object.getOwnPropertyNames(this.customQueryParams))F+="&"+U+"="+encodeURIComponent(this.customQueryParams[U]);return F})}initImplicitFlowInternal(w="",b=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initImplicitFlow",M),this.inImplicitFlow=!1})}initImplicitFlow(w="",b=""){""!==this.loginUrl?this.initImplicitFlowInternal(w,b):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(w,b))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(w){const b=this;if(w.onTokenReceived){const i={idClaims:b.getIdentityClaims(),idToken:b.getIdToken(),accessToken:b.getAccessToken(),state:b.state};w.onTokenReceived(i)}}storeAccessTokenResponse(w,b,i,T,M){if(this._storage.setItem("access_token",w),T&&!Array.isArray(T)?this._storage.setItem("granted_scopes",JSON.stringify(T.split(" "))):T&&Array.isArray(T)&&this._storage.setItem("granted_scopes",JSON.stringify(T)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const v=1e3*i,L=this.dateTimeService.new().getTime()+v;this._storage.setItem("expires_at",""+L)}b&&this._storage.setItem("refresh_token",b),M&&M.forEach((v,k)=>{this._storage.setItem(k,v)})}tryLogin(w=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(w).then(b=>!0):this.tryLoginImplicitFlow(w)}parseQueryString(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):{}}tryLoginCodeFlow(w=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const b=(w=w||{}).customHashFragment?w.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(b),T=i.code,M=i.state,v=i.session_state;if(!w.preventClearHashAfterLogin){const I=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,I)}let[k,L]=this.parseState(M);if(this.state=L,i.error){this.debug("error trying to login"),this.handleLoginError(w,i);const I=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(I),Promise.reject(I)}if(!w.disableNonceCheck){if(!k)return this.saveRequestedRoute(),Promise.resolve();if(!w.disableOAuth2StateCheck&&!this.validateNonce(k)){const B=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(B),Promise.reject(B)}return this.storeSessionState(v),T&&(yield this.getTokenFromCode(T,w),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const w=this._storage.getItem("requested_route");w&&history.replaceState(null,"",window.location.origin+w)}getCodePartsFromUrl(w){return w&&0!==w.length?("?"===w.charAt(0)&&(w=w.substr(1)),this.urlHelper.parseQueryString(w)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(w,b){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",w).set("redirect_uri",b.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let T;T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),T?i=i.set("code_verifier",T):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,b)}fetchAndProcessToken(w,b){b=b||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const T=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+T)}return this.useHttpBasicAuth||(w=w.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(w=w.set("client_secret",this.dummyClientSecret)),new Promise((T,M)=>{if(this.customQueryParams)for(let v of Object.getOwnPropertyNames(this.customQueryParams))w=w.set(v,this.customQueryParams[v]);this.http.post(this.tokenEndpoint,w,{headers:i}).subscribe(v=>{this.debug("refresh tokenResponse",v),this.storeAccessTokenResponse(v.access_token,v.refresh_token,v.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v.scope,this.extractRecognizedCustomParameters(v)),this.oidc&&v.id_token?this.processIdToken(v.id_token,v.access_token,b.disableNonceCheck).then(k=>{this.storeIdToken(k),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v)}).catch(k=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",k)),console.error("Error validating tokens"),console.error(k),M(k)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(v))},v=>{console.error("Error getting token",v),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",v)),M(v)})})}tryLoginImplicitFlow(w=null){let b;b=(w=w||{}).customHashFragment?this.urlHelper.getHashFragmentParams(w.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",b);const i=b.state;let[T,M]=this.parseState(i);if(this.state=M,b.error){this.debug("error trying to login"),this.handleLoginError(w,b);const B=new OAuthErrorEvent("token_error",{},b);return this.eventsSubject.next(B),Promise.reject(B)}const v=b.access_token,k=b.id_token,L=b.session_state,I=b.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!v||this.requestAccessToken&&!w.disableOAuth2StateCheck&&!i||this.oidc&&!k)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!L&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!w.disableNonceCheck&&!this.validateNonce(T)){const F=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(F),Promise.reject(F)}return this.requestAccessToken&&this.storeAccessTokenResponse(v,null,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,I),this.oidc?this.processIdToken(k,v,w.disableNonceCheck).then(B=>w.validationHandler?w.validationHandler({accessToken:v,idClaims:B.idTokenClaims,idToken:B.idToken,state:i}).then(F=>B):B).then(B=>(this.storeIdToken(B),this.storeSessionState(L),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(w),this.inImplicitFlow=!1,!0)).catch(B=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",B)),this.logger.error("Error validating tokens"),this.logger.error(B),Promise.reject(B))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(w),Promise.resolve(!0))}parseState(w){let b=w,i="";if(w){const T=w.indexOf(this.config.nonceStateSeparator);T>-1&&(b=w.substr(0,T),i=w.substr(T+this.config.nonceStateSeparator.length))}return[b,i]}validateNonce(w){let b;return b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),b===w||(console.error("Validating access_token failed, wrong state/nonce.",b,w),!1)}storeIdToken(w){this._storage.setItem("id_token",w.idToken),this._storage.setItem("id_token_claims_obj",w.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+w.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(w){this._storage.setItem("session_state",w)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(w,b){w.onLoginError&&w.onLoginError(b),this.clearHashAfterLogin&&!w.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(w=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:w}processIdToken(w,b,i=!1){const T=w.split("."),v=b64DecodeUnicode(this.padBase64(T[0])),k=JSON.parse(v),I=b64DecodeUnicode(this.padBase64(T[1])),B=JSON.parse(I);let F;if(F=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(B.aud)){if(B.aud.every(ce=>ce!==this.clientId)){const ce="Wrong audience: "+B.aud.join(",");return this.logger.warn(ce),Promise.reject(ce)}}else if(B.aud!==this.clientId){const ce="Wrong audience: "+B.aud;return this.logger.warn(ce),Promise.reject(ce)}if(!B.sub){const ce="No sub claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==B.sub){const ce=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${B.sub}`;return this.logger.warn(ce),Promise.reject(ce)}if(!B.iat){const ce="No iat claim in id_token";return this.logger.warn(ce),Promise.reject(ce)}if(!this.skipIssuerCheck&&B.iss!==this.issuer){const ce="Wrong issuer: "+B.iss;return this.logger.warn(ce),Promise.reject(ce)}if(!i&&B.nonce!==F){const ce="Wrong nonce: "+B.nonce;return this.logger.warn(ce),Promise.reject(ce)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!B.at_hash){const ce="An at_hash is needed!";return this.logger.warn(ce),Promise.reject(ce)}const U=this.dateTimeService.now(),X=1e3*B.iat,Q=1e3*B.exp,ae=this.getClockSkewInMsec();if(X-ae>=U||Q+ae<=U){const ce="Token has expired";return console.error(ce),console.error({now:U,issuedAtMSec:X,expiresAtMSec:Q}),Promise.reject(ce)}const ee={accessToken:b,idToken:w,jwks:this.jwks,idTokenClaims:B,idTokenHeader:k,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ee).then(ce=>({idToken:w,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:k,idTokenHeaderJson:v,idTokenExpiresAt:Q})):this.checkAtHash(ee).then(ce=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ce){const he="Wrong at_hash";return this.logger.warn(he),Promise.reject(he)}return this.checkSignature(ee).then(he=>{const He={idToken:w,idTokenClaims:B,idTokenClaimsJson:I,idTokenHeader:k,idTokenHeaderJson:v,idTokenExpiresAt:Q};return this.disableAtHashCheck?He:this.checkAtHash(ee).then(Ze=>{if(this.requestAccessToken&&!Ze){const bt="Wrong at_hash";return this.logger.warn(bt),Promise.reject(bt)}return He})})})}getIdentityClaims(){const w=this._storage.getItem("id_token_claims_obj");return w?JSON.parse(w):null}getGrantedScopes(){const w=this._storage.getItem("granted_scopes");return w?JSON.parse(w):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(w){for(;w.length%4!=0;)w+="=";return w}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const w=this._storage.getItem("expires_at"),b=this.dateTimeService.new();return!(w&&parseInt(w,10)=0&&null!==this._storage.getItem(w)?JSON.parse(this._storage.getItem(w)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(w={},b=""){let i=!1;"boolean"==typeof w&&(i=w,w={});const T=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(v=>this._storage.removeItem(v)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!T&&!this.postLogoutRedirectUri)return;let M;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)M=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(T)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});T&&(v=v.set("id_token_hint",T));const k=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";k&&(v=v.set("post_logout_redirect_uri",k),b&&(v=v.set("state",b)));for(let L in w)v=v.set(L,w[L]);M=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+v.toString()}this.config.openUri(M)}createAndSaveNonce(){const w=this;return this.createNonce().then(function(b){return w.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",b):w._storage.setItem("nonce",b),b})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const w=this.document.getElementById(this.silentRefreshIFrameName);w&&w.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const b=this.document.getElementById(this.sessionCheckIFrameName);b&&b.remove()}createNonce(){return new Promise(w=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,T="";const M="undefined"==typeof self?null:self.crypto||self.msCrypto;if(M){let v=new Uint8Array(i);M.getRandomValues(v),v.map||(v.map=Array.prototype.map),v=v.map(k=>b.charCodeAt(k%b.length)),T=String.fromCharCode.apply(null,v)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(w,b))}initCodeFlowInternal(w="",b={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let i={},T=null;"string"==typeof b?T=b:"object"==typeof b&&(i=b),this.createLoginUrl(w,T,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initAuthorizationCodeFlow"),console.error(M)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const w=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(w,"sha-256")),w]})}extractRecognizedCustomParameters(w){let b=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{w[i]&&b.set(i,JSON.stringify(w[i]))}),b}revokeTokenAndLogout(w={},b=!1){let i=this.revocationEndpoint,T=this.getAccessToken(),M=this.getRefreshToken();if(!T)return;let v=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const L=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(v=v.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(v=v.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))v=v.set(L,this.customQueryParams[L]);return new Promise((L,I)=>{let B,F;if(T){let U=v.set("token",T).set("token_type_hint","access_token");B=this.http.post(i,U,{headers:k})}else B=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(M){let U=v.set("token",M).set("token_type_hint","refresh_token");F=this.http.post(i,U,{headers:k})}else F=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);b&&(B=B.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(U=>0===U.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U))),F=F.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(U=>0===U.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(U)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([B,F]).subscribe(U=>{this.logOut(w),L(U),this.logger.info("Token successfully revoked")},U=>{this.logger.error("Error revoking token",U),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",U)),I(U)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return q.\u0275fac=function(w){return new(w||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_1__.R0b),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(_angular_common__WEBPACK_IMPORTED_MODULE_18__.K0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(DateTimeProvider))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(Y){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Y)}}let DefaultOAuthInterceptor=(()=>{class q{constructor(w,b,i){this.oAuthService=w,this.errorHandler=b,this.moduleConfig=i}checkUrl(w){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(w):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(b=>w.toLowerCase().startsWith(b.toLowerCase()))}intercept(w,b){const i=w.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(i)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>!!M)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_received"===M.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(M=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(M=>{if(M){const k=w.headers.set("Authorization","Bearer "+M);w=w.clone({headers:k})}return b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(v=>this.errorHandler.handleError(v)))})):b.handle(w).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>this.errorHandler.handleError(M))):b.handle(w)}}return q.\u0275fac=function(w){return new(w||q)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LFG(OAuthModuleConfig,8))},q.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:q,factory:q.\u0275fac}),q})();class NullValidationHandler{validateSignature(Y){return Promise.resolve(null)}validateAtHash(Y){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class q{static forRoot(w=null,b=NullValidationHandler){return{ngModule:q,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:b},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:w},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return q.\u0275fac=function(w){return new(w||q)},q.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:q}),q.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),q})();const err="PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.OlP("AUTH_CONFIG")},1128:q=>{"use strict";q.exports=JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')},4147:q=>{"use strict";q.exports={i8:"6.0.0"}}},q=>{q(q.s=9510)}]); \ No newline at end of file